/* ==========================================================================
   AIS Kfz Service — Design System
   Brand: Gold on near-black. Premium, technical, trustworthy.
   Display: Sora · Body: Inter
   ========================================================================== */

:root {
  /* ---- Brand palette ---- */
  --ink:        #0B0C0E;   /* page base (dark) */
  --ink-2:      #101115;   /* raised dark surface */
  --ink-3:      #16181E;   /* card on dark */
  --ink-4:      #1E212A;   /* hover / border-lift on dark */

  --gold:       #CDA45C;   /* primary brand gold */
  --gold-bright:#E6C588;   /* highlight */
  --gold-deep:  #A57F3C;   /* shadow / gradient end */
  --gold-ghost: rgba(205,164,92,.12);
  --gold-line:  rgba(205,164,92,.32);

  --paper:      #F7F5F0;   /* warm off-white (light section) */
  --paper-2:    #FFFFFF;   /* card on light */
  --paper-3:    #EFEBE2;   /* muted light fill */

  /* ---- Text ---- */
  --on-dark:        #F3F1EA;
  --on-dark-muted:  #A2A39E;
  --on-dark-faint:  #6E7077;
  --on-light:       #14161B;
  --on-light-muted: #565A63;

  /* ---- Lines ---- */
  --line-dark:  rgba(255,255,255,.09);
  --line-dark-2:rgba(255,255,255,.16);
  --line-light: #E5E0D5;

  /* ---- Feedback ---- */
  --ok:   #3FB984;
  --warn: #E2A23B;
  --err:  #E0574C;

  /* ---- Radius ---- */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* ---- Shadow ---- */
  --sh-sm: 0 1px 2px rgba(0,0,0,.20);
  --sh-md: 0 8px 24px -10px rgba(0,0,0,.45);
  --sh-lg: 0 28px 60px -22px rgba(0,0,0,.55);
  --sh-gold: 0 18px 50px -20px rgba(205,164,92,.45);

  /* ---- Layout ---- */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 74px;

  /* ---- Type scale (fluid) ---- */
  --fs-eyebrow: .78rem;
  --fs-body:    1.0625rem;
  --fs-lead:    clamp(1.06rem, 1.4vw, 1.22rem);
  --fs-h3:      clamp(1.18rem, 1.8vw, 1.4rem);
  --fs-h2:      clamp(1.9rem, 3.6vw, 2.9rem);
  --fs-h1:      clamp(2.4rem, 5.4vw, 4.05rem);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::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; } }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.62;
  color: var(--on-dark);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.02em;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.01em; line-height: 1.18; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

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

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

.tabular { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Section rhythm & theming
   ========================================================================== */
.section { padding-block: clamp(64px, 9vw, 122px); position: relative; }
.section--dark  { background: var(--ink);   color: var(--on-dark); }
.section--ink2  { background: var(--ink-2);  color: var(--on-dark); }
.section--light { background: var(--paper);  color: var(--on-light); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 58px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "Sora", sans-serif;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.section-head--center .eyebrow::after {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(270deg, var(--gold), transparent);
}

.lead { font-size: var(--fs-lead); line-height: 1.6; }
.lead strong { color: var(--gold-bright); font-weight: 600; }
.section--dark  .lead { color: var(--on-dark-muted); }
.section--light .lead { color: var(--on-light-muted); }
.section--light h2, .section--light h3 { color: var(--on-light); }

.gold-text {
  background: linear-gradient(95deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: .96rem;
  letter-spacing: -.01em;
  padding: 14px 24px; border-radius: var(--r-pill);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease), color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 58%, var(--gold-deep));
  color: #1A1407;
  box-shadow: var(--sh-gold);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -18px rgba(205,164,92,.6); }

.btn--ghost {
  background: rgba(255,255,255,.04);
  color: var(--on-dark);
  border: 1px solid var(--line-dark-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255,255,255,.09); border-color: var(--gold-line); transform: translateY(-2px); }

.btn--onlight {
  background: var(--ink); color: var(--on-dark); border: 1px solid var(--ink);
}
.btn--onlight:hover { background: #000; transform: translateY(-2px); box-shadow: var(--sh-md); }

.btn--block { width: 100%; }
.btn--lg { padding: 17px 30px; font-size: 1rem; }

.link-cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: .9rem;
  color: var(--gold);
}
.link-cta svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-cta:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(11,12,14,.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.8);
}
.header__inner { display: flex; align-items: center; gap: 24px; width: 100%; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__logo {
  width: 42px; height: 42px; border-radius: 11px; object-fit: cover;
  border: 1px solid var(--gold-line);
  box-shadow: 0 4px 14px -6px rgba(0,0,0,.7);
}
.brand__name { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.04rem; letter-spacing: -.01em; line-height: 1; }
.brand__name span { display: block; font-size: .66rem; font-weight: 500; letter-spacing: .22em; color: var(--gold); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  padding: 9px 14px; border-radius: var(--r-pill); font-size: .92rem; font-weight: 500;
  color: var(--on-dark-muted); transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--on-dark); background: rgba(255,255,255,.05); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem;
  color: var(--on-dark);
}
.header__phone svg { width: 17px; height: 17px; color: var(--gold); }
.header__phone:hover { color: var(--gold-bright); }

.burger {
  display: none; width: 44px; height: 44px; border-radius: 11px;
  border: 1px solid var(--line-dark-2); background: rgba(255,255,255,.04);
  align-items: center; justify-content: center; margin-left: auto;
}
.burger svg { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); animation: fade .25s var(--ease); }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: var(--ink-2); border-left: 1px solid var(--line-dark);
  padding: 22px; display: flex; flex-direction: column; gap: 6px;
  animation: slideIn .28s var(--ease);
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer__close { width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line-dark-2); display: flex; align-items: center; justify-content: center; }
.drawer__close svg { width: 22px; height: 22px; }
.drawer__link { padding: 15px 14px; border-radius: var(--r-md); font-family: "Sora",sans-serif; font-weight: 600; font-size: 1.08rem; border-bottom: 1px solid var(--line-dark); }
.drawer__link:hover { background: rgba(255,255,255,.04); color: var(--gold-bright); }
.drawer__foot { margin-top: auto; display: grid; gap: 10px; }

@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; min-height: 92vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) + clamp(32px, 5vw, 60px)); padding-bottom: clamp(56px, 8vw, 104px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(98deg, rgba(11,12,14,.97) 0%, rgba(11,12,14,.9) 30%, rgba(11,12,14,.5) 58%, rgba(11,12,14,.72) 100%),
    linear-gradient(0deg, rgba(11,12,14,.92) 2%, transparent 34%),
    radial-gradient(90% 60% at 82% 6%, rgba(205,164,92,.15), transparent 60%);
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr;
}
.hero__copy { max-width: 620px; }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .sub { display: block; color: var(--on-dark); }
.hero__lead { font-size: var(--fs-lead); color: var(--on-dark-muted); max-width: 33ch; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.03); border: 1px solid var(--line-dark);
  font-size: .84rem; color: var(--on-dark-muted);
}
.trust-chip svg { width: 15px; height: 15px; color: var(--gold); flex: none; }

/* Hero figure */
.hero__figure { position: relative; }
.hero__media {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line-dark-2);
  box-shadow: var(--sh-lg);
  aspect-ratio: 4 / 4.4;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,9,11,.55) 100%),
              linear-gradient(115deg, rgba(8,9,11,.30), transparent 45%);
}
/* Marquee credibility strip */
.cred {
  border-block: 1px solid var(--line-dark);
  background: var(--ink-2);
  padding-block: 20px;
}
.cred__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; }
.cred__item { display: inline-flex; align-items: center; gap: 11px; color: var(--on-dark-muted); font-size: .92rem; }
.cred__item svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.cred__item b { color: var(--on-dark); font-weight: 600; }

/* ==========================================================================
   Problem / Situation cards
   ========================================================================== */
.sit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sit {
  padding: 26px 24px; border-radius: var(--r-lg);
  background: var(--paper-2); border: 1px solid var(--line-light);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.sit:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(20,22,27,.4); border-color: var(--gold-line); }
.sit__ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(160deg, #1B1C22, #0D0E11); margin-bottom: 18px; box-shadow: var(--sh-sm); }
.sit__ico svg { width: 23px; height: 23px; color: var(--gold-bright); }
.sit h3 { margin-bottom: 9px; }
.sit p { color: var(--on-light-muted); font-size: .96rem; }
.sit__sol { display: inline-flex; align-items: flex-start; gap: 8px; margin-top: 14px; font-size: .9rem; color: var(--on-light); font-weight: 500; }
.sit__sol svg { width: 17px; height: 17px; color: var(--ok); flex: none; margin-top: 3px; }

/* ==========================================================================
   Services
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.svc {
  position: relative; overflow: hidden;
  grid-column: span 4;
  display: flex; flex-direction: column;
  padding: 28px 26px; border-radius: var(--r-lg);
  background: var(--ink-3); border: 1px solid var(--line-dark);
  transition: transform .28s var(--ease), border-color .28s, background .28s;
}
.svc:hover { transform: translateY(-5px); border-color: var(--gold-line); background: var(--ink-4); }
.svc__ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--gold-ghost); border: 1px solid var(--gold-line); margin-bottom: 20px; }
.svc__ico svg { width: 25px; height: 25px; color: var(--gold-bright); }
.svc h3 { margin-bottom: 11px; }
.svc p { color: var(--on-dark-muted); font-size: .96rem; margin-bottom: 20px; }
.svc .link-cta { margin-top: auto; }
.svc__tag { position: absolute; top: 22px; right: 22px; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-faint); }

/* Featured service with image */
.svc--feature { grid-column: span 6; flex-direction: row; align-items: stretch; gap: 0; padding: 0; min-height: 260px; }
.svc--feature .svc__body { padding: 28px 26px; display: flex; flex-direction: column; flex: 1; }
.svc--feature .svc__img { position: relative; width: 42%; flex: none; overflow: hidden; }
.svc--feature .svc__img img { width: 100%; height: 100%; object-fit: cover; }
.svc--feature .svc__img::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, var(--ink-3), transparent 40%); }
.svc--wide { grid-column: span 12; }

@media (max-width: 900px) {
  .svc--feature { flex-direction: column; }
  .svc--feature .svc__img { width: 100%; height: 190px; order: -1; }
  .svc--feature .svc__img::after { background: linear-gradient(0deg, var(--ink-3), transparent 55%); }
}

/* ==========================================================================
   Process / Ablauf
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold-line) 0 8px, transparent 8px 18px);
  z-index: 0;
}
.step { position: relative; z-index: 1; }
.step__n {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: "Sora",sans-serif; font-weight: 700; font-size: 1.2rem;
  background: var(--ink); color: var(--gold-bright);
  border: 1px solid var(--gold-line); margin-bottom: 20px;
  box-shadow: 0 0 0 6px var(--paper);
}
.section--light .step__n { box-shadow: 0 0 0 6px var(--paper); }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--on-light-muted); font-size: .94rem; }

/* ==========================================================================
   Trust section
   ========================================================================== */
.trust { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.trust__media { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-dark-2); box-shadow: var(--sh-lg); aspect-ratio: 5/4.2; }
.trust__media img { width: 100%; height: 100%; object-fit: cover; }
.trust__media::after { content:""; position:absolute; inset:0; background: linear-gradient(200deg, transparent 50%, rgba(8,9,11,.5)); }
.trust__quote { position: absolute; left: 20px; right: 20px; bottom: 18px; font-size: .92rem; color: var(--on-dark); }
.trust__list { display: grid; gap: 14px; margin-top: 6px; }
.tpoint { display: flex; gap: 15px; padding: 18px 20px; border-radius: var(--r-md); background: rgba(255,255,255,.025); border: 1px solid var(--line-dark); transition: border-color .25s, background .25s; }
.tpoint:hover { border-color: var(--gold-line); background: rgba(255,255,255,.045); }
.tpoint__ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--gold-ghost); border: 1px solid var(--gold-line); }
.tpoint__ico svg { width: 21px; height: 21px; color: var(--gold-bright); }
.tpoint h3 { font-size: 1.06rem; margin-bottom: 4px; }
.tpoint p { font-size: .92rem; color: var(--on-dark-muted); }

/* ==========================================================================
   Gallery / Werkstatt
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { position: relative; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-dark); aspect-ratio: 1/1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 12px; bottom: 10px; font-size: .76rem; font-weight: 600; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.8); padding-right: 12px; }
.gallery figure::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent 55%); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 820px; margin-inline: auto; }
.qa { border-bottom: 1px solid var(--line-light); }
.qa__q {
  width: 100%; display: flex; align-items: center; gap: 16px; text-align: left;
  padding: 24px 4px; font-family: "Sora",sans-serif; font-weight: 600; font-size: 1.08rem;
  color: var(--on-light); letter-spacing: -.01em;
}
.qa__q:hover { color: #000; }
.qa__ico { margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: transform .3s var(--ease), background .25s, border-color .25s; }
.qa__ico svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.qa.is-open .qa__ico { background: var(--ink); border-color: var(--ink); }
.qa.is-open .qa__ico svg { transform: rotate(45deg); color: var(--gold-bright); }
.qa__a { overflow: hidden; height: 0; transition: height .3s var(--ease); }
.qa__a-inner { padding: 0 4px 24px; color: var(--on-light-muted); font-size: .98rem; max-width: 70ch; }
.qa__num { font-size: .8rem; color: var(--gold-deep); font-weight: 700; font-family: "Sora",sans-serif; flex: none; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
.contact__aside h2 { margin-bottom: 18px; }
.contact__aside .lead { margin-bottom: 28px; }
.contact__facts { display: grid; gap: 14px; margin-bottom: 26px; }
.cfact { display: flex; gap: 13px; align-items: flex-start; }
.cfact__ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--gold-ghost); border: 1px solid var(--gold-line); }
.cfact__ico svg { width: 20px; height: 20px; color: var(--gold-bright); }
.cfact b { display: block; font-family: "Sora",sans-serif; font-size: .98rem; }
.cfact span { font-size: .9rem; color: var(--on-dark-muted); }
.cfact a { color: var(--gold-bright); }

.note {
  display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-md);
  background: var(--gold-ghost); border: 1px solid var(--gold-line); font-size: .9rem; color: var(--on-dark);
}
.note svg { width: 19px; height: 19px; color: var(--gold-bright); flex: none; margin-top: 2px; }

/* Form */
.form {
  padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl);
  background: var(--ink-3); border: 1px solid var(--line-dark-2); box-shadow: var(--sh-lg);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; font-family: "Sora",sans-serif; color: var(--on-dark); }
.field label .req { color: var(--gold-bright); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.03); border: 1px solid var(--line-dark-2);
  color: var(--on-dark); font: inherit; font-size: .98rem;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 116px; }
.field input::placeholder, .field textarea::placeholder { color: var(--on-dark-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-line);
  background: rgba(255,255,255,.05); box-shadow: 0 0 0 4px rgba(205,164,92,.1);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A2A39E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field__hint { font-size: .78rem; color: var(--on-dark-faint); }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: var(--err); }
.field__err { font-size: .78rem; color: var(--err); display: none; align-items: center; gap: 6px; }
.field.is-error .field__err { display: flex; }
.field__err svg { width: 14px; height: 14px; }

.upload {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-sm);
  border: 1px dashed var(--line-dark-2); background: rgba(255,255,255,.02);
  cursor: pointer; transition: border-color .2s, background .2s;
}
.upload:hover { border-color: var(--gold-line); background: rgba(255,255,255,.04); }
.upload svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.upload b { font-family: "Sora",sans-serif; font-size: .92rem; display: block; }
.upload span { font-size: .8rem; color: var(--on-dark-muted); }
.upload input { display: none; }

.form__consent { display: flex; gap: 11px; align-items: flex-start; font-size: .84rem; color: var(--on-dark-muted); margin-top: 4px; }
.form__consent input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.form__consent a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 2px; }
.form__submit { margin-top: 4px; }
.form__ok {
  display: none; gap: 13px; align-items: center; padding: 18px 20px; border-radius: var(--r-md);
  background: rgba(63,185,132,.1); border: 1px solid rgba(63,185,132,.35);
}
.form__ok.is-visible { display: flex; }
.form__ok svg { width: 26px; height: 26px; color: var(--ok); flex: none; }
.form__ok b { font-family: "Sora",sans-serif; }
.form__ok span { font-size: .88rem; color: var(--on-dark-muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #08090B; border-top: 1px solid var(--line-dark); padding-block: clamp(48px, 6vw, 72px) 30px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer__brand .brand { margin-bottom: 16px; }
.footer__brand p { color: var(--on-dark-muted); font-size: .92rem; max-width: 34ch; }
.footer__col h4 { font-family: "Sora",sans-serif; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-faint); margin-bottom: 16px; }
.footer__col a, .footer__col li { display: block; color: var(--on-dark-muted); font-size: .92rem; padding: 5px 0; }
.footer__col a:hover { color: var(--gold-bright); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; align-items: center; padding-top: 24px; }
.footer__legal p { font-size: .82rem; color: var(--on-dark-faint); }
.footer__legal nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal nav a { font-size: .82rem; color: var(--on-dark-muted); }
.footer__legal nav a:hover { color: var(--gold-bright); }
.footer__disc { margin-top: 18px; font-size: .8rem; color: var(--on-dark-faint); line-height: 1.6; max-width: 90ch; }

/* ==========================================================================
   Mobile sticky CTA
   ========================================================================== */
.mobile-cta {
  position: fixed; inset: auto 0 0 0; z-index: 90; display: none;
  gap: 10px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(11,12,14,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-dark);
  transform: translateY(120%); transition: transform .3s var(--ease);
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta .btn { flex: 1; padding: 14px; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity .8s var(--ease), transform .9s var(--ease); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .10s; }
.reveal[data-d="2"] { transition-delay: .20s; }
.reveal[data-d="3"] { transition-delay: .30s; }
.reveal[data-d="4"] { transition-delay: .40s; }
.reveal[data-d="5"] { transition-delay: .50s; }

/* Subtle scroll-linked parallax on key media (set via JS, GPU only) */
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  [data-parallax] { transform: none !important; }
}

/* ==========================================================================
   Hero signal-net canvas
   ========================================================================== */
.hero__net {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; pointer-events: none;
  opacity: .6;
  -webkit-mask: radial-gradient(120% 90% at 70% 30%, #000 55%, transparent 100%);
          mask: radial-gradient(120% 90% at 70% 30%, #000 55%, transparent 100%);
}

/* ==========================================================================
   Brand marquee
   ========================================================================== */
.marquee { background: var(--ink-2); border-block: 1px solid var(--line-dark); padding-block: 26px 30px; overflow: hidden; }
.marquee__label {
  text-align: center; font-family: "Sora", sans-serif; font-size: .76rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-faint); margin-bottom: 20px;
}
.marquee__viewport {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 46px; padding-right: 46px; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 46px;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 1.12rem;
  color: var(--on-dark-muted); white-space: nowrap; letter-spacing: .01em;
  transition: color .25s;
}
.marquee__item::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-line); flex: none; }
.marquee:hover .marquee__item { color: var(--on-dark); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ==========================================================================
   Stat band (count-up)
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { text-align: center; padding: 8px 20px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: var(--line-dark); }
.stat__num {
  display: block; font-family: "Sora", sans-serif; font-weight: 700; line-height: 1;
  font-size: clamp(2.6rem, 5.4vw, 3.8rem); letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(95deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { display: block; margin-top: 14px; color: var(--on-dark-muted); font-size: .96rem; max-width: 26ch; margin-inline: auto; line-height: 1.5; }

/* ==========================================================================
   Card spotlight (pointer-tracked) + CTA sheen + magnetic
   ========================================================================== */
.svc, .sit { position: relative; }
.svc::before, .sit::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), var(--spot, rgba(205,164,92,.14)), transparent 60%);
  opacity: 0; transition: opacity .35s var(--ease); pointer-events: none;
}
.svc:hover::before, .sit:hover::before { opacity: 1; }
.svc > *, .sit > * { position: relative; z-index: 1; }
.svc--feature .svc__img { z-index: 1; }

.btn--primary { position: relative; overflow: hidden; }
.btn--primary > * { position: relative; z-index: 1; }
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.btn--primary:hover::after { animation: sheen .85s var(--ease); }
@keyframes sheen { to { left: 130%; } }

.magnetic { transition: translate .25s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .magnetic { translate: none !important; }
  .btn--primary:hover::after { animation: none; }
  .svc::before, .sit::before { display: none; }
}

/* ==========================================================================
   Steuergerät exploded view (scroll-scrubbed)
   ========================================================================== */
.ecu { padding: 0; background: var(--ink-2); position: relative; }
.ecu__pin { min-height: 100vh; display: flex; align-items: center; padding-block: clamp(48px, 7vw, 84px); }
.ecu__inner { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 4vw, 56px); align-items: center; width: 100%; }
.ecu__intro h2 { margin-bottom: 18px; }
.ecu__hint { display: inline-flex; align-items: center; gap: 9px; margin-top: 24px;
  font-family: "Sora", sans-serif; font-size: .76rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); }
.ecu__hint svg { width: 18px; height: 18px; animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.ecu__stage { position: relative; }
.ecu__video {
  width: 100%; height: auto; display: block; border-radius: var(--r-lg);
  border: 1px solid var(--line-dark-2); box-shadow: var(--sh-lg); background: #08090b;
}

.ecu-plate { fill: rgba(205,164,92,.05); stroke: var(--gold-line); stroke-width: 1.4; }
.ecu-plate--board { fill: rgba(205,164,92,.09); stroke: var(--gold); stroke-width: 1.6; }
.ecu-thick { fill: rgba(9,10,12,.9); stroke: rgba(120,90,45,.5); stroke-width: 1; }
.ecu-line { stroke: var(--gold-line); stroke-width: 1; fill: none; }
.ecu-chip { fill: #101216; stroke: var(--gold-line); stroke-width: 1.2; }
.ecu-chip--cpu { fill: #14100a; stroke: var(--gold); stroke-width: 1.5; }
.ecu-dot { fill: var(--gold-bright); }
.ecu-screw { fill: none; stroke: var(--gold-line); stroke-width: 1.2; }
.ecu-lead { stroke: var(--gold-line); stroke-width: 1; }
.ecu-label-t { fill: var(--gold-bright); font-family: "Sora", sans-serif; font-weight: 600; font-size: 15px; }
.ecu-label-t--lg { font-size: 17px; }
.ecu-label-s { fill: var(--on-dark-muted); font-family: "Inter", sans-serif; font-size: 11px; }

@media (max-width: 900px) {
  .ecu__pin { min-height: auto; }
  .ecu__inner { grid-template-columns: 1fr; gap: 24px; }
  .ecu__video { border-radius: var(--r-md); }
}
@media (prefers-reduced-motion: reduce) { .ecu__hint svg { animation: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header__actions { display: none; }
  .burger { display: flex; }
  .mobile-cta { display: flex; }
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { order: -1; max-width: 460px; }
  .hero__lead { max-width: 46ch; }
  .trust { grid-template-columns: 1fr; }
  .trust__media { max-width: 540px; }
  .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
  .steps::before { display: none; }
}
@media (max-width: 860px) {
  .sit-grid { grid-template-columns: 1fr 1fr; }
  .svc { grid-column: span 6 !important; }
  .svc--wide, .svc--feature { grid-column: span 12 !important; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr; gap: 34px; max-width: 400px; margin-inline: auto; }
  .stat + .stat::before { display: none; }
}
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .sit-grid { grid-template-columns: 1fr; }
  .svc { grid-column: span 12 !important; }
  .form__grid { grid-template-columns: 1fr; }
  .hero__card { left: 8px; }
  .hero__badge { right: 8px; }
  .footer__top { grid-template-columns: 1fr; }
  .cred__row { justify-content: flex-start; }
}
