/* =========================================================
   GHT Fertigung — Design System
   FDM-Druck & Zerspanung | Modernes Industrial Theme
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  /* Colors */
  --bg: #0b0d10;
  --bg-soft: #101318;
  --surface: #171b21;
  --surface-2: #1e232b;
  --border: #2a3038;
  --border-soft: rgba(255, 255, 255, 0.08);
  --text: #f5f6f8;
  --text-muted: #9aa1ac;
  --text-faint: #6b7280;
  --accent: #ff5a2e;
  --accent-strong: #ff7a4d;
  --accent-dark: #d9431a;
  --accent-2: #4fb2ff;
  --light-bg: #f6f5f2;
  --light-surface: #ffffff;
  --light-border: #e6e4df;
  --light-text: #17191c;
  --light-muted: #5b6068;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 10px 30px -12px rgba(0, 0, 0, 0.4);
  --container: 1240px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------------------- Reset ---------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
}

/* Reveal-on-scroll (progressive enhancement: only hidden once JS confirms it will reveal it) */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ---------------------------- Buttons ---------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent-dark));
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(255, 90, 46, 0.55);
}
.btn-primary:hover {
  box-shadow: 0 16px 36px -8px rgba(255, 90, 46, 0.7);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  border-color: rgba(0, 0, 0, 0.18);
  color: var(--light-text);
}
.btn-outline-dark:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.btn-sm {
  padding: 11px 22px;
  font-size: 14px;
}

.btn-block { width: 100%; }

/* ---------------------------- Navbar ---------------------------- */
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translate(-50%, 0);
  width: min(94%, 1180px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px 12px 22px;
  background: rgba(15, 17, 21, 0.72);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), top 0.35s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-soft);
  background: rgba(11, 13, 16, 0.88);
}

.site-header.is-hidden {
  transform: translate(-50%, -140%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
  letter-spacing: 0.01em;
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.brand-sub {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-left: 12px;
  margin-left: 2px;
  border-left: 1px solid var(--border-soft);
  line-height: 1.3;
  max-width: 90px;
}

.footer-brand .brand-logo {
  height: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  position: relative;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  visibility: hidden;
  pointer-events: none;
}

.mobile-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 8, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer.is-open .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(82%, 340px);
  background: var(--bg-soft);
  border-left: 1px solid var(--border-soft);
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-drawer.is-open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border-soft);
}

.mobile-drawer-panel a i {
  color: var(--accent);
  font-size: 16px;
}

.mobile-drawer-panel .btn {
  margin-top: 24px;
}

.mobile-drawer-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .header-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .site-header { top: 14px; padding: 10px 10px 10px 18px; }
}

/* ---------------------------- Hero ---------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #050607;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.05);
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 7, 0.35) 0%, rgba(5, 6, 7, 0.35) 40%, rgba(5, 6, 7, 0.95) 92%),
    linear-gradient(90deg, rgba(5, 6, 7, 0.65) 0%, rgba(5, 6, 7, 0) 55%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 200px 24px 96px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 28px;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 90, 46, 0.25);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  color: #fff;
  max-width: 900px;
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-strong);
}

.hero p {
  margin-top: 24px;
  max-width: 620px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(245, 246, 248, 0.82);
  font-weight: 400;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  right: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-scroll .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Secondary (inner-page) hero */
.hero-sm {
  min-height: 62vh;
}
.hero-sm .hero-inner {
  padding: 170px 24px 80px;
}
.hero-sm h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
}
.hero-breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}
.hero-breadcrumb a:hover { color: #fff; }

/* ---------------------------- Section headers ---------------------------- */
.section {
  padding: 120px 0;
}
.section-tight { padding: 90px 0; }

.section-light {
  background: var(--light-bg);
  color: var(--light-text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-header {
  max-width: 680px;
  margin-bottom: 64px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.section-header p {
  margin-top: 18px;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-light .section-header p { color: var(--light-muted); }

.section-foot {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

/* ---------------------------- Stats bar ---------------------------- */
.stats-bar {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-soft);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 44px 28px;
  text-align: center;
  border-left: 1px solid var(--border-soft);
}
.stat:first-child { border-left: none; }

.stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--accent-strong);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.stat-label {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border-soft); }
}

.stats-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 560px;
  margin: 0 auto;
}
@media (max-width: 560px) {
  .stats-grid-2 { max-width: 400px; }
}

/* ---------------------------- Leistungen (bento) ---------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--border-soft);
  isolation: isolate;
}

.bento-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  z-index: -2;
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 11, 0.05) 0%, rgba(8, 9, 11, 0.55) 55%, rgba(8, 9, 11, 0.96) 100%);
  z-index: -1;
}

.bento-card:hover img { transform: scale(1.06); }

.bento-content {
  padding: 40px;
  width: 100%;
}

.bento-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.bento-content h3 {
  font-size: 1.9rem;
  color: #fff;
}

.bento-content p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 420px;
  font-size: 15px;
}

.bento-link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  transition: gap 0.25s ease;
}
.bento-card:hover .bento-link { gap: 13px; }

@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card { min-height: 360px; }
}

/* ---------------------------- USP / feature grid ---------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  padding: 34px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 90, 46, 0.35);
  background: var(--surface-2);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 90, 46, 0.18), rgba(255, 90, 46, 0.05));
  color: var(--accent-strong);
  font-size: 20px;
  margin-bottom: 22px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) {
  .feature-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-grid-3 { grid-template-columns: 1fr; }
}

/* ---------------------------- Process timeline ---------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 32px 26px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-soft);
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-strong);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 90, 46, 0.12);
  margin-bottom: 22px;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.process-connector {
  display: none;
}

@media (max-width: 1000px) {
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}

/* ---------------------------- Materials split section ---------------------------- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  min-height: 460px;
}

.split-media {
  position: relative;
  min-height: 320px;
}

.split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content {
  background: var(--surface);
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 18px;
}

.split-content p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 30px;
}

.split-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 34px;
}

.split-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text);
}

.split-list i {
  color: var(--accent-strong);
  font-size: 14px;
}

.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 900px) {
  .split-section { grid-template-columns: 1fr; }
  .split-content { padding: 44px 32px; }
}

/* ---------------------------- CTA banner ---------------------------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 76px 56px;
  text-align: center;
  background: linear-gradient(135deg, #1a1006, #0b0d10 55%);
  border: 1px solid var(--border-soft);
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 90, 46, 0.35), transparent 70%);
  filter: blur(10px);
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: #fff;
}

.cta-banner p {
  margin-top: 16px;
  color: rgba(245, 246, 248, 0.78);
  font-size: 16px;
}

.cta-banner-actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------------------- Gallery ---------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border-soft);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}

.gallery-tile:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(180deg, transparent, rgba(5, 6, 7, 0.85));
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-tile:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------------------------- Spec tables ---------------------------- */
.spec-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--surface);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 18px 24px;
  text-align: left;
  font-size: 14.5px;
}

.spec-table thead th {
  background: var(--surface-2);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.spec-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid var(--border-soft);
}

.spec-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.spec-table td:first-child {
  color: var(--text);
  font-weight: 500;
}

.spec-table td:not(:first-child) {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  .spec-table th, .spec-table td { padding: 14px 16px; font-size: 13.5px; }
}

/* Intro split (text + image), used on FDM/Zerspanung pages */
.intro-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.intro-split img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.intro-split h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 20px;
}

.intro-split p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
}

.intro-split p + p { margin-top: 14px; }

@media (max-width: 860px) {
  .intro-split { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------------------------- Material gallery + modal ---------------------------- */
.material-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.material-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  aspect-ratio: 5/4;
  cursor: pointer;
}

.material-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(1.1);
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}

.material-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.62) saturate(1.15);
}

.material-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
}

.material-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: rgba(255, 90, 46, 0.16);
  border: 1px solid rgba(255, 90, 46, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.material-card h3 {
  color: #fff;
  font-size: 1.4rem;
}

.material-card-hint {
  margin-top: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 980px) {
  .material-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .material-grid { grid-template-columns: 1fr; }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(4, 5, 6, 0.82);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  width: min(960px, 100%);
  max-height: 84vh;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s var(--ease);
}

.modal-overlay.is-open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-media {
  position: relative;
  min-height: 260px;
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.modal-info {
  padding: 44px 40px;
  overflow-y: auto;
}

.modal-info h3 {
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.modal-info .material-tag {
  margin-bottom: 18px;
}

.modal-info table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.modal-info td {
  padding: 10px 4px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-muted);
}

.modal-info td:first-child { color: var(--text); font-weight: 500; }

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  font-size: 16px;
}

@media (max-width: 760px) {
  .modal-box { grid-template-columns: 1fr; max-height: 88vh; }
  .modal-media { min-height: 180px; }
  .modal-info { padding: 30px 24px; }
}

/* ---------------------------- About page ---------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--border-soft);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-media-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  padding: 20px 22px;
  background: rgba(10, 11, 13, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  color: #fff;
}

.about-media-badge strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  color: var(--accent-strong);
}

.about-media-badge span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.about-content h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 22px;
}

.about-content p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-values {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-value {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border-soft);
}

.about-value i { color: var(--accent-strong); margin-bottom: 10px; display: block; font-size: 17px; }
.about-value h4 { font-size: 14.5px; margin-bottom: 4px; }
.about-value p { font-size: 13px; color: var(--text-muted); margin: 0; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------------------------- Contact page ---------------------------- */
.contact-grid {
  max-width: 920px;
  margin: 0 auto;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-soft);
}

.contact-card .feature-icon { margin-bottom: 0; flex-shrink: 0; }

.contact-card h4 { font-size: 15px; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.contact-card a:hover { color: var(--accent-strong); }

@media (max-width: 900px) {
  .contact-cards { grid-template-columns: 1fr; }
}

/* ---------------------------- FAQ ---------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

.faq-item-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 600;
}

.faq-item-q i {
  transition: transform 0.3s var(--ease);
  color: var(--accent-strong);
  flex-shrink: 0;
}

.faq-item.is-open .faq-item-q i { transform: rotate(45deg); }

.faq-item-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-item-a-inner {
  padding: 0 26px 24px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------------------------- Legal pages ---------------------------- */
.legal {
  padding: 160px 0 120px;
}

.legal-body {
  max-width: 780px;
  margin: 0 auto;
}

.legal-body h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 12px;
}

.legal-updated {
  color: var(--text-faint);
  font-size: 13.5px;
  margin-bottom: 48px;
}

.legal-body h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--text);
}

.legal-body p, .legal-body li {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-body ul { padding-left: 22px; list-style: disc; }

.legal-body a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }

.legal-placeholder {
  display: inline;
  background: rgba(255, 90, 46, 0.14);
  border: 1px dashed rgba(255, 90, 46, 0.45);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--accent-strong);
  font-weight: 600;
}

.legal-notice {
  margin-top: 40px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: rgba(255, 90, 46, 0.08);
  border: 1px solid rgba(255, 90, 46, 0.25);
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------------------------- Footer ---------------------------- */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  padding: 80px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-soft);
}

.footer-brand p {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-social {
  margin-top: 24px;
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.footer-social a:hover { color: var(--accent-strong); border-color: var(--accent); }

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col ul { display: flex; flex-direction: column; gap: 13px; }

.footer-col a, .footer-col li {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.25s ease;
}

.footer-col a:hover { color: var(--accent-strong); }

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-faint);
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------------------------- Misc / responsive global ---------------------------- */
@media (max-width: 1024px) {
  .bento-content, .split-content { padding: 40px 32px; }
  .about-grid { gap: 40px; }
}

@media (max-width: 860px) {
  .intro-split { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .section-tight { padding: 64px 0; }
  .material-grid, .gallery-grid { gap: 16px; }
  .cta-banner { padding: 56px 28px; }
  .legal { padding: 130px 0 80px; }
}

@media (max-width: 560px) {
  .hero-inner { padding-top: 150px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* Scrollbar (webkit) */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--border); }
