/* ============================================================================
   ATM CONSTRUCTION — Design-Entwurf von AEVUM
   Ingenieurbau, Ingolstadt. Premium, technisch, klar, souverän.
   Editorial-Layout, großzügige Weißräume, ein sparsam eingesetzter Akzent.
   Schriften: Archivo (Headlines, geometrische Grotesk) + Inter (Fließtext),
   selbst gehostet — siehe fonts.css / tools/fetch_fonts.py.
   ============================================================================ */

/* ─────────────────────────────────────────────── Tokens */
:root {
  /* Flächen */
  --paper:    #F7F7F5;
  --white:    #FFFFFF;
  --paper-2:  #EFEEEB;

  /* Tiefen */
  --ink:      #1C1F22;
  --ink-2:    #2A2E32;
  --ink-3:    #565B60;
  --concrete: #8B8D8F;
  --concrete-lt: #C8C9C8;

  --line:     #E2E1DD;
  --line-2:   #CFCECA;

  /* Akzent — Sicherheitsorange, sparsam */
  --orange:    #E85D25;
  --orange-dk: #C4491A;
  --orange-lt: #FCE0D3;

  --ok:       #3E7D4C;
  --danger:   #C4321A;

  /* Typografie */
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Raster */
  --wrap-w: 1240px;
  --wrap-narrow-w: 780px;
  --radius: 4px;
  --radius-lg: 8px;

  /* Bewegung */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 340ms;

  --shadow-sm: 0 1px 3px rgba(28,31,34,.08), 0 1px 2px rgba(28,31,34,.06);
  --shadow-md: 0 8px 24px rgba(28,31,34,.10), 0 2px 6px rgba(28,31,34,.06);
  --shadow-lg: 0 20px 50px rgba(28,31,34,.16), 0 6px 16px rgba(28,31,34,.08);
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur: 1ms; }
}

/* ─────────────────────────────────────────────── Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
p { text-wrap: pretty; }
strong, b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: 0 0 6px 0;
}
.skip:focus { left: 0; }

/* ─────────────────────────────────────────────── Layout */
.wrap { max-width: var(--wrap-w); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--wrap-narrow-w); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--white); }
@media (max-width: 780px) {
  .section { padding: 56px 0; }
  .section--tight { padding: 40px 0; }
}

.section__head { max-width: 680px; margin-bottom: 48px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); display: inline-block; }
.section__head--center .eyebrow::before { display: none; }
.section__head--center .eyebrow { justify-content: center; }

h1 { font-size: 34px; }
h2 { font-size: 28px; margin-bottom: 16px; }
h3 { font-size: 20px; margin-bottom: 10px; }
.lead { font-size: 18px; color: var(--ink-3); max-width: 58ch; }
@media (min-width: 780px) {
  h1 { font-size: 56px; }
  h2 { font-size: 38px; }
  h3 { font-size: 22px; }
}

.text-block { max-width: 68ch; }
.text-block p + p { margin-top: 14px; }
.text-block--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ─────────────────────────────────────────────── Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 15px;
  padding: 15px 26px; border-radius: var(--radius); white-space: nowrap;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border: 1.5px solid transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }

.btn--orange { background: var(--orange); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--orange:hover { background: var(--orange-dk); box-shadow: var(--shadow-md); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--ink); background: var(--white); }

.btn--on-dark { background: transparent; color: var(--paper); border-color: rgba(247,247,245,.35); }
.btn--on-dark:hover { border-color: var(--paper); background: rgba(247,247,245,.08); }

.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--ink-3); border: 0; padding: 8px 4px; text-decoration: underline; text-underline-offset: 3px; }
.btn--ghost:hover { color: var(--ink); }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ─────────────────────────────────────────────── Header / Nav */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,247,245,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.hdr.is-stuck { border-color: var(--line); background: rgba(247,247,245,.96); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 24px; }

.logo { display: flex; align-items: baseline; gap: 8px; font-family: var(--display); }
.logo__mark { font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: var(--ink); }
.logo__sub { font-weight: 600; font-size: 13px; color: var(--ink-3); letter-spacing: .01em; }
@media (max-width: 480px) { .logo__sub { display: none; } }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a { font-weight: 600; font-size: 15px; color: var(--ink-2); position: relative; padding: 4px 0; }
.nav > a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--orange);
  transition: right var(--dur) var(--ease);
}
.nav > a:hover::after, .nav > a.is-active::after { right: 0; }
.nav__cta { display: none; }
.nav__meta { display: none; }
.hdr__cta { display: none; }
@media (min-width: 1000px) { .hdr__cta { display: inline-flex; } }

.burger {
  display: flex; flex-direction: column; gap: 5px; padding: 10px; margin: -10px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.burger span { width: 22px; height: 2px; background: var(--ink); transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.hdr.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr.is-open .burger span:nth-child(2) { opacity: 0; }
.hdr.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1000px) { .burger { display: none; } }

@media (max-width: 999px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 380px); height: 100dvh;
    background: var(--white); flex-direction: column; align-items: stretch; gap: 0;
    padding: 96px 28px 32px; transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
    box-shadow: -20px 0 50px rgba(28,31,34,.15);
    overflow-y: auto;
  }
  .hdr.is-open .nav { transform: translateX(0); }
  .nav > a { font-size: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav > a::after { display: none; }
  .nav__cta { display: block; margin-top: 20px; }
  .nav__meta { display: block; margin-top: 18px; font-size: 14px; color: var(--ink-3); }
  .nav__meta a { color: var(--ink-2); font-weight: 600; }
}

/* ─────────────────────────────────────────────── Hero */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero__grid { display: grid; gap: 40px; align-items: end; }
.hero__label { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); display: block; margin-bottom: 18px; }
.hero h1 { margin-bottom: 20px; }
.hero__lead { font-size: 18px; color: var(--ink-3); max-width: 52ch; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 16/10.5;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__trustbar { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--ink-3); }
.hero__trustbar span { display: flex; align-items: center; gap: 8px; }
.hero__trustbar span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex: none; }

.symbol {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: rgba(28,31,34,.78); color: var(--white); font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px); display: inline-flex; align-items: center; gap: 6px;
}

@media (min-width: 980px) {
  .hero { padding: 76px 0 96px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

/* Page hero (interior pages, no split media) */
.pagehero { padding: 52px 0 44px; border-bottom: 1px solid var(--line); }
.pagehero__crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.pagehero__crumb a:hover { color: var(--orange); }
.pagehero h1 { max-width: 18ch; }
.pagehero .lead { margin-top: 16px; }
@media (min-width: 780px) { .pagehero { padding: 68px 0 56px; } }

.pagehero__media { margin-top: 36px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; aspect-ratio: 21/9; }
.pagehero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ─────────────────────────────────────────────── Cards */
.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 720px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.cards--2 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 780px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }
.cards--4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 620px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }

.card--service { padding: 0; }
.card--service .card__num { font-family: var(--display); font-weight: 800; font-size: 40px; color: var(--orange-lt); line-height: 1; padding: 28px 28px 0; }
.card--service .card__body { padding: 12px 28px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card--service .card__body p { color: var(--ink-3); flex: 1; }
.card--service .card__link { font-weight: 700; font-size: 14px; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.card--service .card__link svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

.card--project { text-decoration: none; }
.card--project .card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card--project .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.card--project:hover .card__media img { transform: scale(1.06); }
.card--project .card__status {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: .03em;
  padding: 5px 10px; border-radius: 999px; text-transform: uppercase;
}
.card--project .card__status--done { background: var(--white); color: var(--ink); }
.card--project .card__status--live { background: var(--orange); color: var(--white); }
.card--project .card__body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.card--project .card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.card--project .card__region { font-size: 13px; color: var(--ink-3); margin-bottom: 2px; }
.card--project h3 { margin-bottom: 0; }
.card--project p { color: var(--ink-3); font-size: 14px; flex: 1; }
.card--project .card__more { font-weight: 700; font-size: 13px; color: var(--orange); margin-top: 6px; }

.tag {
  display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .02em;
  padding: 4px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink-3); text-transform: uppercase;
}

/* ─────────────────────────────────────────────── Trust / Stats */
.trust { display: grid; gap: 40px; }
@media (min-width: 900px) { .trust { grid-template-columns: 1fr 1fr; align-items: center; } }
.trust__points { display: grid; gap: 20px; margin-top: 28px; }
.trust__point { display: flex; gap: 16px; }
.trust__point .ico {
  flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--orange-lt); color: var(--orange-dk);
  display: flex; align-items: center; justify-content: center;
}
.trust__point .ico svg { width: 20px; height: 20px; }
.trust__point h3 { font-size: 17px; margin-bottom: 4px; }
.trust__point p { color: var(--ink-3); font-size: 14.5px; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; text-align: center; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-family: var(--display); font-weight: 800; font-size: 44px; color: var(--white); line-height: 1; display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.stat__num .suffix { font-size: 26px; color: var(--orange); }
.stat__label { margin-top: 10px; font-size: 14px; color: var(--concrete-lt); }

/* ─────────────────────────────────────────────── Process */
.process { counter-reset: step; display: grid; gap: 0; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.process__step { position: relative; padding: 28px 24px 28px 0; border-top: 2px solid var(--line); }
.process__step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--orange);
  display: block; margin-bottom: 14px; margin-top: -2px;
}
.process__step h3 { font-size: 18px; }
.process__step p { color: var(--ink-3); font-size: 14.5px; }
@media (min-width: 900px) {
  .process__step { padding-right: 32px; }
  .process__step:not(:last-child)::after {
    content: ""; position: absolute; top: -2px; right: 0; width: 100%; height: 2px; background: var(--orange);
    width: 0;
  }
}

/* ─────────────────────────────────────────────── CTA band */
.ctaband { background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: 48px 32px; text-align: center; }
.ctaband h2 { color: var(--white); }
.ctaband p { color: var(--concrete-lt); max-width: 52ch; margin: 0 auto 28px; }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
@media (min-width: 780px) { .ctaband { padding: 64px 60px; } }

.ctastrip { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; justify-content: space-between; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 780px) { .ctastrip { flex-direction: row; align-items: center; } }
.ctastrip h2 { margin-bottom: 6px; font-size: 24px; }
.ctastrip p { color: var(--ink-3); }

/* ─────────────────────────────────────────────── Footer */
.ft { background: var(--ink); color: var(--concrete-lt); padding: 64px 0 0; margin-top: 0; }
.ft__grid { display: grid; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(247,247,245,.12); }
@media (min-width: 780px) { .ft__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.ft__brand p { margin-top: 14px; font-size: 14px; max-width: 34ch; color: var(--concrete); }
.ft__brand .logo__mark { color: var(--white); }
.ft__brand .logo__sub { color: var(--concrete); }
.ft__col h3 { font-family: var(--display); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--concrete); margin-bottom: 16px; }
.ft__col a, .ft__col span { display: block; font-size: 14.5px; margin-bottom: 10px; color: var(--concrete-lt); }
.ft__col a:hover { color: var(--white); }
.ft__banner {
  margin: 28px 0; padding: 16px 20px; border: 1px dashed rgba(232,93,37,.5); border-radius: var(--radius);
  font-size: 13.5px; color: var(--concrete-lt); background: rgba(232,93,37,.06);
}
.ft__banner strong { color: var(--orange); }
.ft__btm { display: flex; flex-direction: column; gap: 10px; padding: 24px 0 32px; font-size: 13px; color: var(--concrete); }
@media (min-width: 620px) { .ft__btm { flex-direction: row; align-items: center; justify-content: space-between; } }
.ft__btm a { color: var(--concrete-lt); }
.ft__btm a:hover { color: var(--white); }
.ft__btm span:last-child a { margin: 0 4px; }

/* ─────────────────────────────────────────────── Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger.is-visible > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* ─────────────────────────────────────────────── Filter bar (Projekte) */
.filterbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filterbar__note { width: 100%; font-size: 13px; color: var(--ink-3); margin-bottom: 6px; }
.chip {
  font-family: var(--display); font-weight: 700; font-size: 13px;
  padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink-2);
  transition: all var(--dur) var(--ease);
}
.chip:hover { border-color: var(--orange); color: var(--orange-dk); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-3); }
.empty-state svg { width: 40px; height: 40px; margin: 0 auto 16px; color: var(--concrete); }

/* ─────────────────────────────────────────────── Forms */
.formcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.formcard__body { padding: 28px 24px; }
@media (min-width: 620px) { .formcard__body { padding: 44px; } }

.progress { display: flex; gap: 6px; margin-bottom: 8px; }
.progress__seg { height: 4px; flex: 1; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress__seg span { display: block; height: 100%; width: 0; background: var(--orange); transition: width var(--dur) var(--ease); }
.progress__seg.is-done span, .progress__seg.is-current span { width: 100%; }
.progress__meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); margin-bottom: 32px; font-weight: 600; }

.fstep { display: none; animation: fadeIn var(--dur) var(--ease); }
.fstep.is-active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.field .hint { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea, .field select {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius);
  background: var(--white); font-size: 15px; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-lt); outline: none; }
.field textarea { min-height: 110px; resize: vertical; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field__error { display: none; color: var(--danger); font-size: 12.5px; margin-top: 6px; font-weight: 600; }
.field.has-error .field__error { display: block; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .field-row--2 { grid-template-columns: 1fr 1fr; } }

.optgrid { display: grid; gap: 12px; }
@media (min-width: 560px) { .optgrid { grid-template-columns: 1fr 1fr; } }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.opt__card {
  display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--line-2); border-radius: var(--radius);
  transition: all var(--dur) var(--ease);
}
.opt__card .ico { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--paper-2); display: flex; align-items: center; justify-content: center; }
.opt__card .ico svg { width: 19px; height: 19px; color: var(--ink-3); }
.opt__card b { display: block; font-size: 14.5px; }
.opt__card span { display: block; font-size: 12.5px; color: var(--ink-3); }
.opt input:checked + .opt__card { border-color: var(--orange); background: var(--orange-lt); box-shadow: 0 0 0 1px var(--orange); }
.opt input:checked + .opt__card .ico { background: var(--orange); }
.opt input:checked + .opt__card .ico svg { color: var(--white); }
.opt input:focus-visible + .opt__card { outline: 2px solid var(--orange); outline-offset: 2px; }

.range-out { font-family: var(--display); font-weight: 800; color: var(--orange-dk); }

.upload {
  border: 1.5px dashed var(--line-2); border-radius: var(--radius); padding: 32px 20px; text-align: center;
  transition: all var(--dur) var(--ease); cursor: pointer;
}
.upload:hover, .upload.is-drag { border-color: var(--orange); background: var(--orange-lt); }
.upload svg { width: 30px; height: 30px; color: var(--ink-3); margin: 0 auto 12px; }
.upload b { display: block; margin-bottom: 4px; }
.upload span { font-size: 13px; color: var(--ink-3); }
.upload input { display: none; }
.filelist { margin-top: 16px; display: grid; gap: 8px; }
.filelist__item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--paper-2); border-radius: var(--radius); font-size: 13.5px; }
.filelist__item svg { width: 16px; height: 16px; flex: none; color: var(--ink-3); }
.filelist__item span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filelist__item button { color: var(--danger); font-weight: 700; font-size: 12px; }

.fnav { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; gap: 16px; }
.fnav .spacer { flex: 1; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--ink-3); }
.consent input { margin-top: 3px; flex: none; width: 17px; height: 17px; accent-color: var(--orange); }
.consent a { text-decoration: underline; color: var(--ink-2); }

.success { text-align: center; padding: 20px 0; }
.success__ico {
  width: 68px; height: 68px; border-radius: 50%; background: var(--ok); color: var(--white);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 22px;
  animation: popIn 420ms var(--ease);
}
.success__ico svg { width: 32px; height: 32px; }
@keyframes popIn { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success h2 { margin-bottom: 10px; }
.success p { color: var(--ink-3); max-width: 44ch; margin: 0 auto 24px; }
.success__ref { font-family: var(--display); font-weight: 700; background: var(--paper-2); display: inline-block; padding: 8px 16px; border-radius: var(--radius); font-size: 13.5px; margin-bottom: 24px; }

.summary { background: var(--paper-2); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.summary dt { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); font-weight: 700; margin-top: 12px; }
.summary dt:first-child { margin-top: 0; }
.summary dd { font-size: 14.5px; margin: 2px 0 0; }

/* ─────────────────────────────────────────────── Map / contact */
.mapbox { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
@media (min-width: 780px) { .mapbox { aspect-ratio: 21/8; } }
.mapbox iframe { width: 100%; height: 100%; border: 0; display: block; }
.mapbox__gate {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(180deg, rgba(28,31,34,.05), rgba(28,31,34,.12)), var(--paper-2);
  text-align: center; padding: 24px;
}
.mapbox__gate svg { width: 34px; height: 34px; color: var(--ink-3); }
.mapbox__gate p { font-size: 13.5px; color: var(--ink-3); max-width: 40ch; }

.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
.contact-info__item { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-info__item:first-child { border-top: 0; }
.contact-info__item .ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); display: flex; align-items: center; justify-content: center; }
.contact-info__item .ico svg { width: 18px; height: 18px; color: var(--ink-2); }
.contact-info__item b { display: block; font-size: 14px; }
.contact-info__item a, .contact-info__item span { color: var(--ink-3); font-size: 14.5px; }

/* ─────────────────────────────────────────────── Legal pages */
.legal-hdr { border-bottom: 1px solid var(--line); background: var(--paper); }
.legal-hdr .wrap { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; }
.legal-back { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.legal-back:hover { color: var(--orange); }
.legal { padding: 56px 0 88px; }
.legal h1 { margin-bottom: 28px; }
.legal h2 { font-size: 20px; margin-top: 38px; margin-bottom: 12px; }
.legal p { color: var(--ink-2); margin-bottom: 4px; }
.legal p + h2 { margin-top: 34px; }
.legal ul { list-style: disc; padding-left: 22px; color: var(--ink-2); }
.legal ul li { margin-bottom: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 2px; color: var(--ink); }
.legal__note {
  background: var(--orange-lt); border: 1px solid rgba(232,93,37,.35); border-radius: var(--radius);
  padding: 18px 20px; font-size: 14.5px; margin-bottom: 8px; color: var(--ink-2);
}

/* ─────────────────────────────────────────────── Misc components */
.placeholder-box {
  border: 1.5px dashed var(--line-2); border-radius: var(--radius-lg); padding: 40px 28px; text-align: center; background: var(--paper-2);
}
.placeholder-box svg { width: 32px; height: 32px; color: var(--concrete); margin: 0 auto 14px; }
.placeholder-box p { color: var(--ink-3); max-width: 44ch; margin: 0 auto; font-size: 14.5px; }

.timeline { position: relative; padding-left: 28px; border-left: 2px solid var(--line); display: grid; gap: 32px; }
.timeline__item { position: relative; }
.timeline__item::before { content: ""; position: absolute; left: -34px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--orange); }
.timeline__year { font-family: var(--display); font-weight: 800; color: var(--orange-dk); font-size: 14px; }
.timeline__item h3 { margin-top: 4px; }
.timeline__item p { color: var(--ink-3); font-size: 14.5px; }

.benefit { display: flex; gap: 14px; padding: 4px 0; }
.benefit .ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); display: flex; align-items: center; justify-content: center; }
.benefit .ico svg { width: 18px; height: 18px; color: var(--orange-dk); }
.benefit h3 { font-size: 16px; margin-bottom: 3px; }
.benefit p { color: var(--ink-3); font-size: 14px; }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split--rev .split__media { order: -1; }
@media (min-width: 900px) { .split--rev .split__media { order: 2; } }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; aspect-ratio: 4/3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

.kicker-list { display: grid; gap: 18px; margin-top: 24px; }
.kicker-list li { display: flex; gap: 12px; align-items: flex-start; }
.kicker-list li svg { flex: none; width: 20px; height: 20px; color: var(--orange); margin-top: 2px; }
.kicker-list b { display: block; font-size: 15px; }
.kicker-list span { color: var(--ink-3); font-size: 14px; }

.related { margin-top: 28px; }
.related__label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); margin-bottom: 14px; }

.breadcrumb-strip { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.breadcrumb-strip a:hover { color: var(--orange); }

@media print { .hdr, .ft, .burger { display: none; } }
