/* ============================================================
   ELEGANZ VERANDA — "Anthracite Atelier"
   Dark architectural design system. The page is the anthracite
   (the aluminium profile); the glass verandas glow against it.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Surface ramp — warm near-black anthracite */
  --bg:        #14110C;
  --bg-2:      #1A160F;   /* subtly lifted section */
  --surface:   #221D14;
  --surface-2: #2B2418;
  --line:        rgba(232, 218, 191, 0.12);
  --line-strong: rgba(232, 218, 191, 0.22);

  /* Ink */
  --ink:    #F5F0E6;   /* primary text */
  --ink-2:  #CEC5B4;   /* secondary body (≥8:1 on --bg) */
  --muted:  #9A9080;   /* labels only */

  /* Bronze — the brand accent */
  --bronze:      #C9A26E;
  --bronze-lift: #E0C695;  /* links/hover on dark */
  --bronze-deep: #8A6B45;

  --danger-bg: #3a201a;
  --danger-ink: #F2B8A6;

  /* Type */
  --font-display: "Bricolage Grotesque", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-hero: clamp(2.85rem, 6.1vw, 5.1rem);
  --fs-h2:   clamp(1.95rem, 3.7vw, 3.05rem);
  --fs-h3:   clamp(1.12rem, 1.5vw, 1.35rem);
  --fs-lead: clamp(1.05rem, 1.45vw, 1.28rem);
  --fs-body: 1.02rem;
  --fs-sm:   0.83rem;

  /* Space + shape */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 44px);
  --pad-section: clamp(4.5rem, 9vw, 8.75rem);
  --r: 12px;
  --r-lg: 20px;
  --r-pill: 999px;
  --shadow: 0 34px 80px rgba(0, 0, 0, 0.55);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* z-scale */
  --z-sticky: 80;
  --z-nav: 100;
  --z-mobilecta: 90;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--bronze-lift); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.018em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--pad-section); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Section label — a hairline tick + name. Used sparingly, NOT an eyebrow on every heading. */
.klabel {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.8rem; letter-spacing: 0.02em; color: var(--muted);
  font-weight: 500; margin: 0 0 1.1rem;
}
.klabel::before { content: ""; width: 30px; height: 1px; background: var(--bronze); }

.lead { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.6; max-width: 56ch; }
.h2 { font-size: var(--fs-h2); }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--bronze); --_fg: #17130D;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.98rem;
  letter-spacing: 0.005em; line-height: 1;
  padding: 1.05em 1.7em; border-radius: var(--r); border: 1px solid transparent;
  background: var(--_bg); color: var(--_fg); text-decoration: none; cursor: pointer;
  transition: transform 0.35s var(--ease-expo), background 0.25s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--bronze-lift); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(201, 162, 110, 0.22); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  --_bg: transparent; --_fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: transparent; border-color: var(--bronze); color: var(--bronze-lift); box-shadow: none; }
.btn--lg { padding: 1.15em 2em; font-size: 1.02rem; }

/* Text link with bronze underline draw */
.tlink {
  color: var(--ink); text-decoration: none; font-weight: 600;
  background-image: linear-gradient(var(--bronze), var(--bronze));
  background-size: 0% 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size 0.4s var(--ease-expo), color 0.25s var(--ease);
  padding-bottom: 2px;
}
.tlink:hover { color: var(--bronze-lift); background-size: 100% 1.5px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-head {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-head.is-scrolled {
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  border-bottom-color: var(--line);
}
.site-head__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 15px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.brand img { width: 34px; height: 34px; }
.brand__name {
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
}
.brand__name b { color: var(--bronze); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 0.92rem; font-weight: 600; color: var(--ink-2); text-decoration: none;
  transition: color 0.25s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--bronze-lift); }
.head-actions { display: flex; align-items: center; gap: 16px; }

/* hamburger */
.navtoggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong);
  background: transparent; border-radius: 10px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.navtoggle span, .navtoggle span::before, .navtoggle span::after {
  content: ""; display: block; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.navtoggle span { position: relative; }
.navtoggle span::before { position: absolute; top: -6px; }
.navtoggle span::after { position: absolute; top: 6px; }

/* mobile drawer */
.mobile-nav { position: fixed; inset: 0; z-index: 200; display: none; }
.mobile-nav[open] { display: block; }
.mobile-nav__scrim { position: absolute; inset: 0; background: rgba(10, 8, 5, 0.7); backdrop-filter: blur(4px); }
.mobile-nav__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(84vw, 360px);
  background: var(--bg-2); border-left: 1px solid var(--line);
  padding: 26px 26px calc(26px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform 0.45s var(--ease-expo);
}
.mobile-nav[open] .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__head { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.mobile-nav__close { width: 42px; height: 42px; background: transparent; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--ink); font-size: 22px; cursor: pointer; }
.mobile-nav a {
  font-family: var(--font-display); font-size: 1.35rem; color: var(--ink);
  text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line);
  transition: color 0.2s var(--ease);
}
.mobile-nav a:hover { color: var(--bronze-lift); }
.mobile-nav .btn { margin-top: 20px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: min(92svh, 880px); display: flex; align-items: flex-end; overflow: hidden; background: var(--bg); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(95deg, var(--bg) 4%, color-mix(in srgb, var(--bg) 62%, transparent) 44%, transparent 78%),
    linear-gradient(to top, var(--bg) 2%, transparent 40%);
}
.hero__inner { position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: var(--gutter); padding-bottom: clamp(3rem, 7vw, 6rem); }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.82rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--bronze); font-weight: 600; margin: 0 0 1.4rem;
}
.hero__eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--bronze); }
.hero h1 { font-size: var(--fs-hero); max-width: 16ch; letter-spacing: -0.022em; }
.hero h1 em { font-style: normal; color: var(--bronze); }
.hero__sub { margin: 1.5rem 0 2.3rem; max-width: 46ch; font-size: var(--fs-lead); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.hero__meta { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 0.86rem; color: var(--muted); }
.hero__meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero__meta span::before { content: ""; width: 6px; height: 6px; background: var(--bronze); transform: rotate(45deg); }

/* slow ken-burns */
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: kb 26s var(--ease) infinite alternate; }
  @keyframes kb { from { transform: scale(1.06); } to { transform: scale(1.14) translateY(-1.5%); } }
}

/* ============================================================
   TRUST / STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats > div { padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1rem, 2vw, 1.6rem); border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats dt { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.stats dd { margin: 0.35rem 0 0; font-size: 0.9rem; color: var(--muted); line-height: 1.45; }

/* ============================================================
   VORTEILE — asymmetric: sticky intro + list
   ============================================================ */
.split { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2.4rem, 6vw, 6rem); align-items: start; }
.split__aside { position: sticky; top: 100px; }
.vorteile-list { display: grid; gap: 2px; border-top: 1px solid var(--line); }
.vorteil { padding: clamp(1.3rem, 2.4vw, 1.9rem) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 18px; }
.vorteil__no { font-family: var(--font-display); font-size: 0.9rem; color: var(--bronze); padding-top: 4px; }
.vorteil h3 { font-size: var(--fs-h3); margin-bottom: 6px; letter-spacing: -0.01em; }
.vorteil p { font-size: 0.98rem; color: var(--ink-2); }

/* ============================================================
   ABLAUF — legitimate numbered sequence
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(2rem, 4vw, 3.4rem); }
.step { padding: clamp(1.5rem, 2.6vw, 2.2rem) clamp(1.1rem, 1.8vw, 1.6rem) clamp(1.5rem, 2.6vw, 2.2rem) 0; border-top: 2px solid var(--bronze); position: relative; }
.step + .step { border-left: 1px solid var(--line); padding-left: clamp(1.1rem, 1.8vw, 1.6rem); }
.step__no { font-family: var(--font-display); font-size: 2.1rem; color: var(--surface-2); font-weight: 700; line-height: 1; -webkit-text-stroke: 1px var(--bronze-deep); color: transparent; }
.step h3 { font-size: 1.12rem; margin: 0.9rem 0 0.5rem; }
.step p { font-size: 0.93rem; color: var(--ink-2); }

/* ============================================================
   BEWERTUNGEN / REVIEWS
   ============================================================ */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; margin-top: clamp(2rem, 4vw, 3.4rem); }
.review {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.6rem, 2.4vw, 2.1rem); display: flex; flex-direction: column; gap: 1.15rem;
}
.review__stars { color: var(--bronze); letter-spacing: 4px; font-size: 0.95rem; }
.review__quote { margin: 0; color: var(--ink); font-size: 1.04rem; line-height: 1.62; flex: 1; }
.review__by { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.review__avatar {
  flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2);
  color: var(--bronze); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.02em;
}
.review__meta { display: flex; flex-direction: column; gap: 1px; }
.review__name { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.review__loc { font-size: 0.84rem; color: var(--muted); }

/* ============================================================
   PROJEKTE teaser — editorial
   ============================================================ */
.teaser-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.teaser-grid { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: repeat(2, auto); gap: 18px; }
.teaser-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); }
.teaser-grid figure:first-child { grid-row: span 2; }
.teaser-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.1; transition: transform 0.7s var(--ease-expo); }
.teaser-grid figure:first-child img { aspect-ratio: 4 / 5.2; }
.teaser-grid figure:hover img { transform: scale(1.045); }
.teaser-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.3rem 1.1rem;
  font-size: 0.86rem; color: var(--ink); background: linear-gradient(to top, rgba(15,12,8,0.82), transparent);
}

/* ============================================================
   FAQ — native details/summary
   ============================================================ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 0.25rem; display: flex;
  justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--bronze); font-size: 1.5rem; font-weight: 300; flex: none; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { color: var(--bronze-lift); }
.faq__a { padding: 0 3rem 1.5rem 0.25rem; color: var(--ink-2); font-size: 0.98rem; max-width: 68ch; }

/* ============================================================
   SERVICEGEBIET
   ============================================================ */
.geo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6rem; }
.chip { border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 0.55em 1.05em; font-size: 0.88rem; font-weight: 600; color: var(--ink-2); }
.geo__img { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.geo__img img { width: 100%; height: clamp(320px, 44vw, 480px); object-fit: cover; }

/* ============================================================
   KONFIGURATOR
   ============================================================ */
.konfig { text-align: center; }
.konfig__intro { max-width: 640px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.konfig__frame { max-width: 940px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-strong); background: #FAF9F6; box-shadow: var(--shadow); }
.konfig__frame iframe { width: 100%; height: 1040px; border: 0; display: block; }
.konfig__alt { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; font-size: 0.95rem; }

/* section CTA band (projekte) */
.cta-band { text-align: center; }
.cta-band .h2 { max-width: 18ch; margin-inline: auto; }
.cta-band__row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot { background: #100E09; border-top: 1px solid var(--line); }
.foot-mark { font-family: var(--font-display); font-size: clamp(2.6rem, 9vw, 6.5rem); letter-spacing: -0.03em; color: var(--surface-2); line-height: 0.9; padding: clamp(2.6rem, 6vw, 5rem) 0 clamp(1.8rem, 4vw, 3rem); }
.foot-mark b { color: var(--bronze-deep); font-weight: 600; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.foot-grid h4 { font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; font-weight: 700; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col a { color: var(--ink-2); text-decoration: none; font-size: 0.94rem; transition: color 0.2s var(--ease); }
.foot-col a:hover { color: var(--bronze-lift); }
.foot-blurb { color: var(--ink-2); font-size: 0.94rem; max-width: 32ch; }
.foot-bottom { border-top: 1px solid var(--line); }
.foot-bottom p { padding: 20px 0; font-size: 0.82rem; color: var(--muted); }
.foot-legal { background: transparent; border: 0; color: var(--ink-2); font: inherit; font-size: 0.94rem; text-align: left; padding: 0; cursor: pointer; transition: color 0.2s var(--ease); }
.foot-legal:hover { color: var(--bronze-lift); }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.mcta { position: fixed; bottom: 0; left: 0; right: 0; z-index: var(--z-mobilecta); display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.mcta .btn { flex: 1; padding: 0.95em 0.6em; }
.mcta .btn:first-child { flex: 1.4; }

/* ============================================================
   LEGAL DIALOG (native <dialog>)
   ============================================================ */
dialog.legal { border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--ink-2); border-radius: var(--r-lg); max-width: 640px; width: calc(100% - 40px); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
dialog.legal::backdrop { background: rgba(10, 8, 5, 0.72); backdrop-filter: blur(4px); }
dialog.legal h3 { font-size: 1.5rem; margin-bottom: 1.1rem; }
dialog.legal p { font-size: 0.92rem; margin-bottom: 0.9rem; color: var(--ink-2); }
dialog.legal .legal__close { position: absolute; top: 14px; right: 16px; background: transparent; border: 0; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; }
dialog.legal { position: fixed; inset: 0; margin: auto; }

/* ============================================================
   KONTAKT PAGE
   ============================================================ */
.kontakt-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2.4rem, 6vw, 5.5rem); align-items: start; }
.kontakt h1 { font-size: clamp(2.4rem, 4.6vw, 3.5rem); }
.contact-cards { display: grid; gap: 12px; max-width: 420px; margin-top: 1.8rem; }
.contact-card { display: flex; align-items: center; gap: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem; text-decoration: none; color: var(--ink); transition: border-color 0.25s var(--ease); }
a.contact-card:hover { border-color: var(--bronze); }
.contact-card .ic { font-size: 1.15rem; color: var(--bronze); flex: none; }
.contact-card b { display: block; font-size: 0.95rem; }
.contact-card span { font-size: 0.88rem; color: var(--muted); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3.5vw, 2.4rem); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.4rem; margin-bottom: 1.3rem; }
.field { display: grid; gap: 7px; margin-bottom: 1rem; }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--ink-2); letter-spacing: 0.01em; }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 0.85em 0.9em; border: 1.5px solid var(--line-strong); border-radius: 10px;
  background: var(--bg-2); width: 100%; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #857c6d; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(201, 162, 110, 0.16); }
.field textarea { resize: vertical; min-height: 120px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.83rem; color: var(--ink-2); margin: 0.4rem 0 1.1rem; cursor: pointer; line-height: 1.5; }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--bronze); flex: none; }
.form-error { margin: 0 0 1rem; font-size: 0.9rem; font-weight: 600; color: var(--danger-ink); background: var(--danger-bg); border-radius: 8px; padding: 0.7em 0.9em; }
.form-card .btn { width: 100%; }
.form-success { text-align: center; padding: 1.5rem 0.5rem; }
.form-success .check { width: 58px; height: 58px; border-radius: 50%; background: rgba(201,162,110,0.14); color: var(--bronze); font-size: 1.7rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.1rem; }
.form-success h2 { margin-bottom: 0.6rem; }
[hidden] { display: none !important; }

/* ============================================================
   PROJEKTE PAGE — masonry gallery
   ============================================================ */
.page-head { padding-top: clamp(3rem, 6vw, 5.5rem); }
.page-head h1 { font-size: clamp(2.4rem, 4.6vw, 3.5rem); max-width: 16ch; }
.gallery { columns: 3 320px; column-gap: 20px; }
.gallery figure { margin: 0 0 20px; break-inside: avoid; position: relative; overflow: hidden; border-radius: var(--r); }
.gallery img { width: 100%; transition: transform 0.7s var(--ease-expo); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.3rem 1.1rem 0.95rem; font-size: 0.82rem; color: var(--ink); background: linear-gradient(to top, rgba(15,12,8,0.82), transparent); opacity: 0; transition: opacity 0.3s var(--ease); }
.gallery figure:hover figcaption, .gallery figure:focus-within figcaption { opacity: 1; }

/* ============================================================
   REVEAL (visible by default; enhanced only when JS runs)
   ============================================================ */
html.js .reveal { opacity: 0; transform: translateY(20px); }
html.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.85s var(--ease-expo), transform 0.85s var(--ease-expo); }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal.in { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .nav, .head-actions .btn { display: none; }
  .navtoggle { display: inline-flex; }
  .split { grid-template-columns: 1fr; gap: 2.2rem; }
  .split__aside { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div { border-top: 1px solid var(--line); }
  .stats > div:nth-child(-n+2) { border-top: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3), .step:nth-child(4) { margin-top: 1px; }
  .teaser-grid { grid-template-columns: 1fr 1fr; }
  .teaser-grid figure:first-child { grid-row: auto; grid-column: 1 / -1; }
  .teaser-grid figure:first-child img { aspect-ratio: 16 / 9; }
  .geo, .kontakt-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .stats, .steps, .teaser-grid, .foot-grid { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; padding-left: 0; }
  .hero { min-height: 88svh; }
  .konfig__frame iframe { height: 820px; }
  .foot-mark { font-size: clamp(2.4rem, 14vw, 4rem); }
}

/* ============================================================
   ENHANCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  /* Hero load choreography */
  html.js .site-head { animation: fadeDown 0.7s var(--ease-expo) both; }
  html.js .hero__eyebrow { animation: heroUp 0.8s var(--ease-expo) 0.10s both; }
  html.js .hero h1       { animation: heroUp 0.9s var(--ease-expo) 0.22s both; }
  html.js .hero__sub     { animation: heroUp 0.9s var(--ease-expo) 0.36s both; }
  html.js .hero__cta     { animation: heroUp 0.9s var(--ease-expo) 0.50s both; }

  /* Staggered children when their container enters the viewport */
  html.js .stagger > * { opacity: 0; transform: translateY(20px); }
  html.js .stagger.in > * { animation: riseIn 0.7s var(--ease-expo) forwards; }
  html.js .stagger.in > *:nth-child(1) { animation-delay: 0.04s; }
  html.js .stagger.in > *:nth-child(2) { animation-delay: 0.12s; }
  html.js .stagger.in > *:nth-child(3) { animation-delay: 0.20s; }
  html.js .stagger.in > *:nth-child(4) { animation-delay: 0.28s; }
  html.js .stagger.in > *:nth-child(5) { animation-delay: 0.36s; }
  html.js .stagger.in > *:nth-child(6) { animation-delay: 0.44s; }
  html.js .stagger.in > *:nth-child(7) { animation-delay: 0.52s; }
  html.js .stagger.in > *:nth-child(8) { animation-delay: 0.60s; }

  /* FAQ open/close eases the answer in */
  .faq details[open] .faq__a { animation: heroUp 0.4s var(--ease-expo) both; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .stagger > * { opacity: 1; transform: none; }
}
@keyframes heroUp  { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
@keyframes riseIn  { to { opacity: 1; transform: none; } }
