/* ============================================================
   Dreherei Colak – Präzisionsdrehteile Waiblingen
   styles.css · Mobile First · DSGVO-freundlich (lokale Fonts)
   Helles Layout. Alle Farben stammen aus dem Firmenlogo:
   Futter-Blau #454fbe · Teal #5d9eac · Navy #252a40
   ============================================================ */

/* -------- Lokale Schriften --------
   Alle Fonts werden lokal geladen (keine externen CDNs, DSGVO-konform).
   Font-Dateien unter assets/fonts/ ablegen – siehe assets/fonts/README.md.
   Bis dahin greift der System-Font-Stack als Fallback. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/Inter-Variable.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("assets/fonts/Archivo-Variable.woff2") format("woff2");
}

/* ------------------------- Design Tokens ------------------------- */
:root {
  /* --- Direkt aus dem Logo entnommen --- */
  --blue-600: #454fbe;   /* Futtersegmente · Kontrast auf Weiß 6,7:1 */
  --teal-500: #5d9eac;   /* Schriftzug "olak" · nur dekorativ (3,0:1) */
  --teal-600: #4d7183;   /* dunkles Teal aus dem Logo · 5,2:1 */
  --ink-900: #252a40;    /* "Dreherei"-Schriftzug · 14,2:1 */

  /* --- Abgeleitete Abstufungen --- */
  --blue-800: #2b3382;
  --blue-700: #3a42a3;
  --blue-500: #5a64d0;
  --blue-200: #c3c7ee;
  --blue-100: #e9ebf9;
  --blue-50: #f3f4fc;

  --teal-700: #3d6575;
  --teal-400: #7fb6c2;
  --teal-200: #cbe3e9;
  --teal-100: #e6f1f4;

  --ink-800: #333a55;
  --ink-700: #414a66;

  --text: #4a5268;       /* Fließtext · ~7:1 */
  --text-soft: #646d84;  /* sekundär · ~5:1 */
  --text-dim: #858da1;   /* nur für große/dekorative Labels */
  --white: #ffffff;

  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --surface: #ffffff;
  --line: #e4e8f0;
  --line-strong: #d2d8e5;

  --brand: var(--blue-600);
  --brand-hover: var(--blue-700);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(37, 42, 64, 0.06);
  --shadow: 0 14px 34px rgba(37, 42, 64, 0.09);
  --shadow-lg: 0 26px 60px rgba(37, 42, 64, 0.14);
  --glow-blue: 0 10px 24px rgba(69, 79, 190, 0.28);

  --wrap: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.25rem);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Archivo", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Umfang der Futter-Segmente: r=22 -> U = 138.23 ; C-Bogen 280° = 107.5 */
  --seg-dash: 22.38 34.38 22.38 1000;
}

/* ------------------------- Reset / Base ------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; }
address { font-style: normal; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink-900);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.3rem, 6.4vw, 4.15rem); }
h2 { font-size: clamp(1.75rem, 4.4vw, 2.75rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.3rem); }
p { color: var(--text); }

.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--brand); color: #fff; padding: 0.7rem 1.1rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--blue-200); color: var(--ink-900); }

/* ------------------------- Logo ------------------------- */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-logo { height: 52px; width: auto; }
@media (min-width: 600px) { .brand-logo { height: 58px; } }

/* Aus dem Logo abgeleitetes Futter-Motiv (Deko: Hero, Aufzählungen) */
.seg {
  fill: none;
  stroke-width: 10;
  stroke-dasharray: var(--seg-dash);
  stroke-linecap: butt;
}
.seg--blue { stroke: var(--blue-600); }
.seg--teal { stroke: var(--teal-500); stroke-dashoffset: -28.38; }

/* ------------------------- Buttons ------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-head); font-weight: 600; font-size: 0.97rem;
  padding: 0.85rem 1.5rem; border: 1px solid transparent; border-radius: 999px;
  min-height: 48px; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--glow-blue); }
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(69, 79, 190, 0.36); }
.btn-ghost { background: var(--white); color: var(--ink-900); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--blue-600); color: var(--blue-700); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-lg { padding: 1rem 1.85rem; font-size: 1.02rem; min-height: 54px; }
.btn-block { width: 100%; }

/* ------------------------- Eyebrow / Section head ------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-mono); font-weight: 500; font-size: 0.75rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-700);
  margin-bottom: 1rem;
}
.eyebrow-line { width: 34px; height: 2px; background: linear-gradient(90deg, var(--blue-600), var(--teal-500)); flex: none; border-radius: 2px; }

.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 620px; margin: 0 auto clamp(2.4rem, 5vw, 3.6rem); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-intro { margin-top: 1rem; font-size: 1.06rem; color: var(--text-soft); }

/* ------------------------- Header ------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); background: rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 1rem; }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav-list { display: flex; align-items: center; gap: 1.5rem; }
.nav-list a {
  font-size: 0.93rem; font-weight: 500; color: var(--ink-700);
  position: relative; padding: 0.35rem 0; transition: color 0.25s var(--ease);
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--teal-500));
  border-radius: 2px; transition: width 0.3s var(--ease);
}
.nav-list a:hover { color: var(--blue-700); }
.nav-list a:hover::after { width: 100%; }

.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong);
  border-radius: 12px; background: var(--white); position: relative; flex: none;
}
.burger span {
  position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; background: var(--ink-900);
  border-radius: 2px; transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger span:nth-child(1) { transform: translate(-50%, -7px); }
.burger span:nth-child(3) { transform: translate(-50%, 7px); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, 0) rotate(-45deg); }

/* ------------------------- Hero ------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(4.5rem, 8vw, 6rem);
  min-height: min(88vh, 820px);
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(180deg, var(--blue-50), var(--white) 60%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* Technisches Messraster */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(69, 79, 190, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 79, 190, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 20%, transparent 78%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.hero-glow--blue { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; top: -14%; left: -10%; background: rgba(69, 79, 190, 0.16); }
.hero-glow--teal { width: 40vw; height: 40vw; max-width: 540px; max-height: 540px; bottom: -18%; right: -8%; background: rgba(93, 158, 172, 0.2); }

.hero-chuck {
  position: absolute; right: -14%; top: 50%; transform: translateY(-50%);
  width: min(72vw, 640px); height: min(72vw, 640px);
  opacity: 0.16; overflow: visible;
}
.hero-chuck .seg { stroke-width: 8; }
.hero-chuck-bore { fill: none; stroke: var(--teal-600); stroke-width: 1; }
.hero-chuck-spin { transform-origin: 32px 32px; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-inner { position: relative; z-index: 1; max-width: 780px; }
.hero-lead { font-size: clamp(1.05rem, 2.2vw, 1.22rem); max-width: 60ch; margin-top: 1.4rem; color: var(--text-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 3.5rem);
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  padding-top: clamp(1.6rem, 4vw, 2.2rem);
  border-top: 1px solid var(--line);
}
.hero-stats li { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-val {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 1.95rem);
  color: var(--ink-900); letter-spacing: -0.02em; line-height: 1;
  display: inline-flex; align-items: baseline; gap: 0.25rem;
}
.stat-star { color: var(--teal-600); font-size: 0.85em; }
.stat-plus { color: var(--blue-600); }
.stat-key { font-size: 0.85rem; color: var(--text-soft); }
.stat-key .mono { font-size: 0.72rem; }

.hero-scroll {
  position: relative; z-index: 1; align-self: center;
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.4rem;
  margin-top: clamp(2rem, 5vw, 3rem); color: var(--text-dim);
  transition: color 0.25s var(--ease);
}
.hero-scroll:hover { color: var(--blue-700); }
.hero-scroll svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ------------------------- Trustbar ------------------------- */
.trustbar { background: var(--white); border-block: 1px solid var(--line); padding: clamp(2rem, 4vw, 2.6rem) 0; }
.trustbar-inner { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
.trust-item { display: flex; align-items: center; gap: 0.9rem; }
.trust-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: linear-gradient(140deg, var(--blue-100), var(--teal-100));
  border: 1px solid var(--line);
}
.trust-icon svg { width: 21px; height: 21px; fill: none; stroke: var(--blue-600); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust-item div { display: flex; flex-direction: column; line-height: 1.35; }
.trust-item strong { font-family: var(--font-head); font-size: 0.98rem; color: var(--ink-900); font-weight: 600; }
.trust-item span { font-size: 0.85rem; color: var(--text-soft); }

/* ------------------------- Leistungen ------------------------- */
.services { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.service {
  position: relative; padding: 1.9rem 1.6rem 1.7rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.service::after {
  content: ""; position: absolute; left: 1.6rem; right: 1.6rem; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--teal-500));
  border-radius: 0 0 3px 3px; transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service:hover { transform: translateY(-4px); border-color: var(--blue-200); box-shadow: var(--shadow); }
.service:hover::after { transform: scaleX(1); }
.service-num {
  color: var(--blue-600); font-size: 0.75rem; letter-spacing: 0.18em;
  display: block; margin-bottom: 0.9rem;
}
.service h3 { margin-bottom: 0.6rem; }
.service p { font-size: 0.95rem; color: var(--text-soft); }
.service-list { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); display: grid; gap: 0.5rem; }
.service-list li { position: relative; padding-left: 1.35rem; font-size: 0.88rem; color: var(--text); }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px;
  border: 1.5px solid var(--teal-500); border-radius: 50%;
}

/* ------------------------- Werkstoffe ------------------------- */
.materials-layout { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); align-items: center; grid-template-columns: 1fr; }
.materials-copy p { margin-top: 1rem; color: var(--text-soft); }
.material-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.material-chips li {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em;
  padding: 0.5rem 0.95rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--white);
  color: var(--ink-700); transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.material-chips li:hover { color: var(--blue-700); border-color: var(--blue-600); background: var(--blue-50); }
.material-note { margin-top: 1.6rem; font-size: 0.92rem; color: var(--text-soft); }
.material-note a { color: var(--blue-700); font-weight: 500; border-bottom: 1px solid var(--blue-200); }
.material-note a:hover { border-color: var(--blue-700); }

.materials-media { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; }
.part-card {
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.part-card:hover { border-color: var(--teal-400); transform: translateY(-3px); box-shadow: var(--shadow); }
/* Die Teilefotos haben einen weißen Hintergrund und fügen sich direkt ein. */
.part-card img {
  width: 100%; height: 150px; object-fit: contain; padding: 1.1rem;
  background:
    radial-gradient(circle at 50% 50%, var(--bg-alt), transparent 72%),
    repeating-linear-gradient(90deg, rgba(69, 79, 190, 0.05) 0 1px, transparent 1px 22px);
}
.part-card figcaption {
  display: flex; flex-direction: column; gap: 0.2rem; padding: 1rem 1.1rem 1.2rem;
  border-top: 1px solid var(--line);
}
.part-card figcaption .mono { color: var(--blue-600); font-size: 0.68rem; }
.part-card figcaption strong { font-family: var(--font-head); color: var(--ink-900); font-size: 0.98rem; }
.part-card figcaption span:last-child { font-size: 0.82rem; color: var(--text-soft); }

/* ------------------------- Über uns ------------------------- */
.about-layout { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); grid-template-columns: 1fr; align-items: start; }
.about-copy p { margin-top: 1.1rem; color: var(--text-soft); }
.about-copy strong { color: var(--blue-700); }
.about-facts {
  display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr;
  margin-top: 2.2rem; padding-top: 2rem; border-top: 1px solid var(--line);
}
.about-facts dt { color: var(--text-dim); font-size: 0.68rem; margin-bottom: 0.3rem; }
.about-facts dd { font-family: var(--font-head); color: var(--ink-900); font-weight: 600; font-size: 0.98rem; line-height: 1.35; }

.about-side { display: grid; gap: 1rem; }
.quote-card {
  position: relative; padding: 2rem 1.7rem 1.7rem;
  background: linear-gradient(160deg, var(--blue-50), var(--teal-100));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.quote-mark {
  font-family: var(--font-head); font-size: 4rem; line-height: 0.6; color: var(--blue-600);
  opacity: 0.4; display: block; margin-bottom: 0.6rem;
}
.quote-card blockquote { color: var(--ink-800); font-size: 1rem; line-height: 1.6; }
.quote-card figcaption { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 0.2rem; }
.quote-card figcaption strong { font-family: var(--font-head); color: var(--ink-900); font-size: 0.95rem; }
.quote-card figcaption .mono { color: var(--text-soft); font-size: 0.68rem; }

.axis-card {
  padding: 1.4rem 1.5rem; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 0.8rem; background: var(--white);
}
.axis-label { color: var(--blue-600); font-size: 0.68rem; }
.axis-line { position: relative; height: 22px; display: flex; align-items: center; justify-content: space-between; }
.axis-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, var(--blue-600), var(--teal-500)); }
.axis-tick { position: relative; width: 1px; height: 9px; background: var(--line-strong); }
.axis-tick:nth-child(3) { height: 18px; background: var(--teal-600); }
.axis-hint { color: var(--text-dim); font-size: 0.65rem; }

/* ------------------------- Ablauf ------------------------- */
.steps { position: relative; display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
.steps-line { display: none; }
.step {
  position: relative; padding: 1.7rem 1.5rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.step-num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--blue-200); color: var(--blue-700); font-size: 0.78rem;
  background: var(--blue-50); margin-bottom: 1rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; color: var(--text-soft); }

/* ------------------------- Bewertungen ------------------------- */
.rating-hero {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  margin-bottom: clamp(2.2rem, 4vw, 3rem);
}
.rating-val { font-family: var(--font-head); font-size: clamp(3rem, 8vw, 4.5rem); font-weight: 800; color: var(--ink-900); line-height: 1; letter-spacing: -0.04em; }
.rating-stars { color: var(--teal-600); font-size: 1.4rem; letter-spacing: 0.15em; }
.rating-meta { color: var(--text-soft); font-size: 0.72rem; }

.reviews { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.review {
  padding: 1.7rem 1.5rem; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.review:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow); }
.review-stars { color: var(--teal-600); font-size: 0.95rem; letter-spacing: 0.12em; }
.review blockquote { color: var(--ink-800); font-size: 0.97rem; line-height: 1.6; flex: 1; }
.review--compact blockquote { color: var(--text-dim); font-style: italic; font-size: 0.9rem; }
.review figcaption { display: flex; align-items: center; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.review-avatar {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; flex: none;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: #fff;
  background: #3f7a4f;
}
.review-avatar--pink { background: #c0397a; }
.review-avatar--teal { background: var(--teal-600); }
.review-who { display: flex; flex-direction: column; line-height: 1.3; }
.review-who strong { font-family: var(--font-head); color: var(--ink-900); font-size: 0.93rem; font-weight: 600; }
.review-who .mono { color: var(--text-dim); font-size: 0.65rem; }

/* ------------------------- Kontakt ------------------------- */
.section--contact { background: var(--bg-alt); border-top: 1px solid var(--line); }
.contact-layout { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); grid-template-columns: 1fr; align-items: start; }
.contact-copy > p { margin-top: 1.1rem; color: var(--text-soft); }

.contact-list { display: grid; gap: 1.1rem; margin-top: 2.2rem; }
.contact-list li { display: flex; align-items: flex-start; gap: 0.9rem; }
.contact-ico {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; flex: none;
  border: 1px solid var(--line); background: var(--white);
}
.contact-ico svg { width: 18px; height: 18px; fill: none; stroke: var(--blue-600); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-list li > span:last-child { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-key { color: var(--text-dim); font-size: 0.65rem; }
.contact-list a { color: var(--ink-900); font-weight: 500; transition: color 0.25s var(--ease); }
.contact-list a:hover { color: var(--blue-700); }
.contact-hours { color: var(--text); font-size: 0.95rem; }
.contact-hours em { color: var(--text-dim); font-size: 0.85rem; font-style: normal; }

/* ------------------------- Formular ------------------------- */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: clamp(1.6rem, 4vw, 2.2rem); box-shadow: var(--shadow);
}
.form { display: grid; gap: 1.1rem; }
.form-title { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--ink-900); }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: 0.82rem; color: var(--text); font-weight: 500; }
.field label span[aria-hidden] { color: var(--blue-600); }
.field input, .field textarea {
  font: inherit; font-size: 0.95rem; color: var(--ink-900);
  background: var(--bg-alt); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); padding: 0.8rem 0.95rem; min-height: 48px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-600); background: var(--white);
  box-shadow: 0 0 0 3px rgba(69, 79, 190, 0.15);
}
.field-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.field--captcha label { display: flex; align-items: center; gap: 0.4rem; }
.field--captcha .mono { color: var(--blue-700); font-size: 0.85rem; text-transform: none; }
.field--check { flex-direction: row; align-items: flex-start; gap: 0.65rem; }
.field--check input { min-height: 0; width: 18px; height: 18px; margin-top: 0.2rem; flex: none; accent-color: var(--blue-600); }
.field--check label { font-size: 0.82rem; line-height: 1.5; color: var(--text-soft); }
.field--check a { color: var(--blue-700); border-bottom: 1px solid var(--blue-200); }
.field--check a:hover { border-color: var(--blue-700); }

.form-status { font-size: 0.88rem; min-height: 1.2em; }
.form-status.is-success { color: #1c7a4a; }
.form-status.is-error { color: #c0392b; }
.form-hint { color: var(--text-dim); font-size: 0.66rem; }

/* ------------------------- Footer ------------------------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4rem); }
.footer-top { display: grid; gap: 2.4rem; grid-template-columns: 1fr; padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.footer-claim { margin-top: 1.2rem; font-size: 0.9rem; max-width: 34ch; color: var(--text-soft); }
.footer-head { color: var(--text-dim); font-size: 0.66rem; margin-bottom: 1rem; }
.footer-nav ul { display: grid; gap: 0.6rem; }
.footer-nav a, .footer-contact a { font-size: 0.9rem; color: var(--text); transition: color 0.25s var(--ease); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--blue-700); }
.footer-contact address { font-size: 0.9rem; color: var(--text); line-height: 1.7; }

.footer-bottom {
  display: flex; flex-direction: column; gap: 0.9rem; align-items: center; text-align: center;
  padding-block: 1.5rem; border-top: 1px solid var(--line);
}
.copyright, .powered { font-size: 0.8rem; color: var(--text-dim); }
.footer-legal { display: flex; gap: 1.2rem; }
.footer-legal a { font-size: 0.8rem; color: var(--text-soft); }
.footer-legal a:hover { color: var(--blue-700); }
.wowobot { color: var(--blue-700); font-weight: 600; }
.wowobot:hover { color: var(--ink-900); }

/* ------------------------- Rechtstexte ------------------------- */
.legal { padding: clamp(3rem, 7vw, 5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.legal h1 { margin-bottom: 2rem; }
.legal h2 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); margin: 2.2rem 0 0.7rem; }
.legal p, .legal li { color: var(--text); font-size: 0.95rem; }
.legal ul { margin: 0.6rem 0 0 1.1rem; list-style: disc; }
.legal li { margin-bottom: 0.4rem; padding-left: 0.2rem; }
.legal a { color: var(--blue-700); border-bottom: 1px solid var(--blue-200); }
.legal a:hover { border-color: var(--blue-700); }
.legal .wrap { max-width: 780px; }
.legal-note {
  border: 1px dashed var(--blue-600); background: var(--blue-50);
  border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 2rem; font-size: 0.9rem; color: var(--text);
}
.legal-note strong { color: var(--blue-800); }

/* ------------------------- Reveal ------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------- Breakpoints ------------------------- */
@media (min-width: 620px) {
  .trustbar-inner { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .trustbar-inner { grid-template-columns: repeat(4, 1fr); }
  .services { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .materials-layout { grid-template-columns: 1fr 1fr; }
  .about-layout { grid-template-columns: 1.35fr 1fr; }
  .contact-layout { grid-template-columns: 1fr 1.05fr; }
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }

  /* Ablauf mit Fortschrittslinie */
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; padding-top: 2.5rem; }
  .steps-line {
    display: block; position: absolute; top: 0.6rem; left: 4%; right: 4%; height: 2px;
    background: var(--line); border-radius: 2px;
  }
  .steps-line-fill {
    display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left;
    background: linear-gradient(90deg, var(--blue-600), var(--teal-500));
    border-radius: 2px; transition: transform 0.1s linear;
  }
  .step::before {
    content: ""; position: absolute; top: -2.5rem; left: 1.5rem; width: 9px; height: 9px;
    border-radius: 50%; background: var(--teal-500); transform: translateY(-4px);
    border: 2px solid var(--white); box-sizing: content-box;
  }
}

@media (max-width: 899px) {
  .nav {
    position: fixed; inset: 84px 0 auto; z-index: 90;
    flex-direction: column; align-items: stretch; gap: 0;
    /* Deckend: darunterliegende Inhalte dürfen nicht durchscheinen. */
    background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 1rem var(--gutter) 1.6rem;
    transform: translateY(-130%); opacity: 0; pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
    max-height: calc(100dvh - 84px); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { display: block; padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav-list a::after { display: none; }
  .nav-cta { margin-top: 1.2rem; width: 100%; }
  .burger { display: block; }
  body.nav-locked { overflow: hidden; }
  .hero-chuck { right: -35%; opacity: 0.12; }
}

@media (max-width: 520px) {
  .materials-media { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  .brand-logo { height: 46px; }
  .header-inner { height: 76px; }
  .nav { inset: 76px 0 auto; max-height: calc(100dvh - 76px); }
}

/* ------------------------- Reduced Motion ------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
