/* ==========================================================================
   EASY WERKE – Stylesheet
   Farbwelt: Nacht-Schwarz + Logo-Lila (Neon), sparsam Amber als "Statuslampe".
   Schrift:  Big Shoulders Display (Schilder/Überschriften) · IBM Plex Sans (Text) · IBM Plex Mono (Typenschilder)
   ========================================================================== */

/* ---------- Schriften (selbst gehostet, DSGVO-sauber) ---------- */
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/BigShouldersDisplay-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/BigShouldersDisplay-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/BigShouldersDisplay-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/IBMPlexSans-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/IBMPlexSans-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/IBMPlexSans-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/IBMPlexMono-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/IBMPlexMono-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Token ---------- */
:root {
  --nacht: #08060d;
  --halle: #0f0a18;
  --karte: #150f22;
  --kante: #2a1f3f;
  --kante-hell: #3f2f61;
  --lila: #7c3aed;
  --lila-tief: #5b21b6;
  --lila-hell: #a855f7;
  --neon: #c084fc;
  --neon-glow: rgba(168, 85, 247, .55);
  --amber: #f6b73c;
  --amber-glow: rgba(246, 183, 60, .55);
  --kreide: #f4effb;
  --staub: #ab9fc2;
  --staub-dunkel: #7d6f98;
  --fehler: #ff8a7a;

  --f-display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", Consolas, "Courier New", monospace;

  --gutter: clamp(20px, 5vw, 56px);
  --breite: 1180px;
  --radius: 14px;
  --nav-h: 72px;

  --p: 0;          /* Scroll-Fortschritt der Leitlinie (0–1), setzt site.js */
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::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(--nacht);
  color: var(--kreide);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: var(--neon); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: #e9d5ff; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lila); color: #fff; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 800; line-height: .94; letter-spacing: .005em; text-transform: uppercase; text-wrap: balance; }
h1 { font-size: clamp(3.6rem, 10vw, 9rem); }
h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
h3 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 700; }
h4 { font-size: 1.35rem; font-weight: 700; letter-spacing: .02em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--staub); max-width: 58ch; }
.hell { color: var(--kreide); }
.neon { color: var(--neon); }
.mark { color: var(--neon); text-shadow: 0 0 22px var(--neon-glow); }

.wrap { width: min(100% - 2 * var(--gutter), var(--breite)); margin-inline: auto; }

/* Typenschild (Eyebrow mit Lampe) */
.plate {
  display: inline-flex; align-items: center; gap: .7em;
  margin: 0 0 1.1rem;
  font-family: var(--f-mono); font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--neon);
}
.lamp {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: var(--kante-hell);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  transition: background .5s, box-shadow .5s;
}
.on .lamp, .lamp.on { background: var(--amber); box-shadow: 0 0 0 2px rgba(246,183,60,.18), 0 0 14px var(--amber-glow); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.55em; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer;
  color: #fff; background: linear-gradient(180deg, #8f5cf7 0%, var(--lila) 55%, var(--lila-tief) 100%);
  box-shadow: 0 8px 28px -10px var(--neon-glow), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 14px 34px -10px var(--neon-glow), inset 0 1px 0 rgba(255,255,255,.2); color: #fff; }
.btn:active { transform: translateY(0); }
.btn-ghost { background: rgba(21,15,34,.55); border-color: var(--kante-hell); box-shadow: none; color: var(--kreide); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--neon); background: rgba(124,58,237,.14); box-shadow: none; filter: none; }
.btn svg { width: 1.05em; height: 1.05em; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(8,6,13,.82); backdrop-filter: blur(14px); border-color: var(--kante); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--kreide); }
.logo svg { width: 38px; height: 30px; }
.logo b { font-family: var(--f-display); font-weight: 800; font-size: 1.55rem; letter-spacing: .06em; line-height: 1; }
.logo b span { background: linear-gradient(180deg, #d8b4fe, #a855f7 55%, #6d28d9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: var(--staub); text-decoration: none; font-weight: 500; font-size: .97rem; transition: color .2s; }
.nav-links a:hover { color: var(--kreide); }
.nav .btn { padding: .75em 1.2em; font-size: .93rem; }
/* Button-Paar im Kopf (Anmelden + Haupt-CTA) – bleibt als eine Einheit rechts stehen */
.nav-cta { display: flex; align-items: center; gap: .6rem; }
/* Das Logo ist der einzige schrumpfbare Artikel in der Kopfzeile – es darf nie umbrechen. */
.logo { flex: 0 0 auto; }
.logo b { white-space: nowrap; }
/* Enger Bereich: volle Leiste passt nur knapp – Abstaende und Schrift leicht zusammenziehen,
   damit weder das Logo umbricht noch die Buttons ueber den Rand laufen. */
@media (min-width: 861px) and (max-width: 1100px) {
  .nav .wrap { gap: 1rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: .92rem; }
  .nav .btn { padding: .62em .9em; font-size: .86rem; }
  .logo b { font-size: 1.3rem; }
  .logo svg { width: 32px; height: 25px; }
}
.nav-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--kante-hell); border-radius: 10px; background: rgba(21,15,34,.6); cursor: pointer; place-items: center; }
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--kreide); position: relative; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--kreide); transition: transform .25s; }
.nav-burger span::before { top: -6px; } .nav-burger span::after { top: 6px; }
.nav.open .nav-burger span { background: transparent; }
.nav.open .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav-burger { display: grid; }
  .nav-menu {
    position: fixed; inset: var(--nav-h) 0 0 0; background: rgba(8,6,13,.96); backdrop-filter: blur(16px);
    display: none; flex-direction: column; padding: 2rem var(--gutter); gap: 1.5rem;
    /* Muss scrollen koennen: im Querformat passt sonst der letzte Button nicht mehr ins Bild
       (das Body-Scrollen ist waehrend des offenen Menues gesperrt, site.js). */
    overflow-y: auto; overscroll-behavior: contain;
  }
  .nav.open .nav-menu { display: flex; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .nav-links a { font-size: 1.4rem; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
  .nav-menu .btn { align-self: flex-start; font-size: 1rem; }
  .nav-cta { flex-direction: column; align-items: stretch; gap: .9rem; width: 100%; }
  .nav-cta .btn { align-self: stretch; text-align: center; justify-content: center; min-height: 44px; }
}
@media (min-width: 861px) { .nav-menu { display: contents; } }

/* ---------- Hero (Scroll-Clip) ---------- */
.hero { position: relative; height: 240vh; height: 240svh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #050309; }
.hero-poster, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-canvas { opacity: 0; transition: opacity .4s; }
.hero-canvas.ready { opacity: 1; }
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,6,13,.55) 0%, rgba(8,6,13,.05) 30%, rgba(8,6,13,.1) 65%, var(--nacht) 100%),
    radial-gradient(120% 80% at 50% 60%, transparent 40%, rgba(8,6,13,.55) 100%);
}
.hero-copy {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--nav-h);
  transform: translateY(calc(var(--hp, 0) * -40px));
  opacity: calc(1 - var(--hp, 0) * 3.2);
  will-change: transform, opacity;
}
.hero-copy .wrap { max-width: 900px; margin-inline: auto; }
.hero-copy h1 { margin: .35rem 0 1.2rem; text-shadow: 0 6px 40px rgba(0,0,0,.55); }
.hero-copy h1 em { font-style: normal; color: var(--neon); text-shadow: 0 0 34px var(--neon-glow), 0 6px 40px rgba(0,0,0,.55); }
.hero-copy .lead { color: #d9d0e8; max-width: 52ch; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-statement {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 0 var(--gutter); text-align: center; pointer-events: none;
  opacity: var(--hs, 0); transform: translateY(calc((1 - var(--hs, 0)) * 26px));
}
.hero-statement p { margin: 0; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 5.6vw, 4.6rem); line-height: 1; max-width: 16ch; text-shadow: 0 8px 50px rgba(0,0,0,.7); }
.hero-statement p span { color: var(--neon); }
.hero-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--staub);
  opacity: calc(1 - var(--hp, 0) * 6);
}
.hero-hint i { width: 1px; height: 46px; background: linear-gradient(180deg, var(--neon), transparent); animation: hint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); opacity: 0 } 40% { opacity: 1 } 100% { transform: scaleY(1); opacity: 0 } }
.hero-loading { position: absolute; right: 22px; bottom: 22px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em; color: var(--staub-dunkel); opacity: 0; transition: opacity .3s; }
.hero-loading.show { opacity: 1; }
@media (max-width: 700px) {
  .hero { height: 200vh; height: 200svh; }
  .hero-copy { justify-content: flex-end; padding-bottom: 96px; }
  .hero-copy h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
}

/* Ohne JavaScript / reduzierte Bewegung: Hero als normales Standbild */
.static .hero { height: auto; }
.static .hero-sticky { position: relative; height: 100vh; height: 100svh; }
.static .hero-statement, .static .hero-canvas, .static .hero-loading { display: none; }
.static .hero-hint { opacity: 1; }
.static .hero-copy { transform: none; opacity: 1; }

/* ---------- Hauptteil mit Leitlinie ---------- */
main { position: relative; }
.rail {
  position: absolute; top: 0; bottom: 0; left: calc(50% - var(--breite) / 2 - 40px);
  width: 2px; pointer-events: none;
  background: linear-gradient(180deg, var(--kante) 0, var(--kante) 100%);
}
.rail::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p) * 100%);
  background: linear-gradient(180deg, transparent, var(--lila-hell) 12%, var(--neon));
  box-shadow: 0 0 12px var(--neon-glow);
}
.rail::after {
  content: ""; position: absolute; left: -4px; top: calc(var(--p) * 100%); width: 10px; height: 10px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 3px rgba(192,132,252,.35), 0 0 18px 4px var(--neon-glow);
}
@media (max-width: 1290px) { .rail { display: none; } }

section { position: relative; padding-block: clamp(76px, 10vw, 150px); }
.sec-halle { background: linear-gradient(180deg, var(--halle), var(--nacht)); }
.sec-head { max-width: 760px; margin-bottom: clamp(2.4rem, 5vw, 4.5rem); }
.sec-head h2 { margin-bottom: 1rem; }

/* Sichtbar-werden */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- Problem (Schichtbuch) ---------- */
.schicht { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.4rem; }
.schicht > div { padding: 1.6rem 1.5rem 1.4rem; border: 1px solid var(--kante); border-radius: var(--radius); background: rgba(21,15,34,.5); }
.schicht .plate { margin-bottom: .8rem; color: var(--staub); }
.schicht p { margin: 0; color: #d9d0e8; }
.schicht b { display: block; font-family: var(--f-display); font-size: 1.9rem; font-weight: 700; text-transform: uppercase; margin-bottom: .35rem; line-height: 1; }
.schluss { margin-top: clamp(3rem, 6vw, 5rem); }
.schluss h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 18ch; }
@media (max-width: 860px) { .schicht { grid-template-columns: 1fr; } }

/* ---------- Hallen (Leistungen) ---------- */
.halle {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding-block: clamp(2.4rem, 5vw, 4.5rem);
  border-top: 1px solid var(--kante);
}
.halle:first-of-type { border-top: 0; padding-top: 0; }
.halle:nth-of-type(even) .halle-bild { order: 2; }
.halle-bild { position: relative; margin: 0; }
.halle-bild img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--kante-hell); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.4); }
.halle-bild figcaption {
  position: absolute; left: 14px; bottom: 14px;
  padding: .45em .75em; border-radius: 7px;
  background: rgba(8,6,13,.72); backdrop-filter: blur(8px); border: 1px solid var(--kante-hell);
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--staub);
}
.halle-text h3 { margin-bottom: 1rem; }
.halle-text h3 span { color: var(--neon); }
.halle-text .lead { margin-bottom: 1.2rem; }
.merk { margin: 0 0 1.4rem; padding: 0; list-style: none; display: grid; gap: .55rem; }
.merk li { display: flex; gap: .75rem; align-items: flex-start; color: #d9d0e8; }
.merk li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: .3em; border-radius: 50%; background: rgba(246,183,60,.12); border: 1px solid rgba(246,183,60,.45); box-shadow: inset 0 0 0 3px var(--nacht), inset 0 0 0 6px var(--amber); }
.beispiel {
  display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start;
  padding: 1rem 1.1rem; border-radius: 10px; background: rgba(124,58,237,.08); border: 1px solid rgba(124,58,237,.28);
  font-size: .96rem; color: #d9d0e8;
}
.beispiel b { font-family: var(--f-mono); font-weight: 500; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--neon); padding-top: .35em; }
.beispiel p { margin: 0; }
.beispiel time { font-family: var(--f-mono); color: var(--amber); font-size: .9em; }
@media (max-width: 900px) {
  .halle { grid-template-columns: 1fr; gap: 1.6rem; }
  .halle:nth-of-type(even) .halle-bild { order: 0; }
}

/* ---------- Leitstand (Vorteile) ---------- */
.leitstand { padding: 0; }
.leitstand-bild { position: relative; min-height: 78vh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.leitstand-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.leitstand-bild::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--nacht) 0%, rgba(8,6,13,.35) 30%, rgba(8,6,13,.55) 70%, var(--nacht) 100%); }
.leitstand .wrap { padding-block: clamp(4rem, 8vw, 7rem); }
.tafeln { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.4rem; }
.tafel {
  padding: 1.3rem 1.3rem 1.1rem; border-radius: 12px;
  background: rgba(8,6,13,.66); border: 1px solid var(--kante-hell); backdrop-filter: blur(10px);
  display: grid; gap: .3rem;
}
.tafel .lamp { margin-bottom: .6rem; }
.tafel b { font-family: var(--f-display); font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 800; line-height: .95; color: var(--kreide); }
.tafel span { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--staub); }
@media (max-width: 900px) { .tafeln { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tafeln { grid-template-columns: 1fr; } }

/* ---------- Ablauf (drei Schritte) ---------- */
.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: s; }
.schritt { position: relative; padding: 1.8rem 1.6rem 1.6rem; border-radius: var(--radius); border: 1px solid var(--kante); background: var(--karte); }
.schritt::before { counter-increment: s; content: "0" counter(s); font-family: var(--f-display); font-size: 3.4rem; font-weight: 800; line-height: 1; color: var(--kante-hell); display: block; margin-bottom: .8rem; }
.schritt small { display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin-bottom: .6rem; }
.schritt h3 { font-size: 1.85rem; margin-bottom: .6rem; }
.schritt p { margin: 0; color: var(--staub); }
@media (max-width: 860px) { .schritte { grid-template-columns: 1fr; } }

/* ---------- Betreuung / Über ---------- */
.zweispalt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.zweispalt img { border-radius: var(--radius); border: 1px solid var(--kante-hell); }
.punkte { margin: 1.2rem 0 0; padding: 0; list-style: none; display: grid; gap: 1rem; }
.punkte li { padding-left: 1.2rem; border-left: 2px solid var(--kante-hell); }
.punkte b { display: block; color: var(--kreide); margin-bottom: .15rem; }
.punkte li p { margin: 0; color: var(--staub); }
@media (max-width: 860px) { .zweispalt { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--kante); }
.faq details:last-child { border-bottom: 1px solid var(--kante); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.15rem 0; font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--kante-hell); display: grid; place-items: center; font-family: var(--f-mono); color: var(--neon); transition: transform .25s, background .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: rgba(124,58,237,.18); }
.faq details p { margin: 0 0 1.2rem; color: var(--staub); max-width: 68ch; }

/* ---------- Kontakt (Auftragsschein) ---------- */
.kontakt { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.kontakt-info h2 { margin-bottom: 1rem; }
.naechst { margin: 1.6rem 0 0; padding: 0; list-style: none; display: grid; gap: .9rem; counter-reset: n; }
.naechst li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: baseline; color: var(--staub); }
.naechst li::before { counter-increment: n; content: counter(n); font-family: var(--f-mono); font-size: .75rem; color: var(--amber); border: 1px solid rgba(246,183,60,.4); border-radius: 50%; width: 26px; height: 26px; display: grid; place-items: center; }
.naechst b { color: var(--kreide); }
.kontakt-direkt { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--kante); color: var(--staub); font-size: .97rem; }

.schein { border-radius: var(--radius); border: 1px solid var(--kante-hell); background: var(--karte); box-shadow: 0 40px 90px -40px rgba(0,0,0,.9); overflow: hidden; }
.schein-kopf { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .95rem 1.4rem; border-bottom: 1px dashed var(--kante-hell); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--staub); background: rgba(8,6,13,.5); }
.schein-kopf b { color: var(--neon); font-weight: 500; }
.schein form { padding: 1.4rem; display: grid; gap: 1.05rem; }
.feld { display: grid; gap: .4rem; }
.feld label { font-size: .9rem; font-weight: 500; color: #d9d0e8; }
.feld label small { color: var(--staub-dunkel); font-weight: 400; }
.feld input, .feld textarea {
  width: 100%; padding: .8em .95em; border-radius: 9px;
  background: #0b0813; border: 1px solid var(--kante-hell); color: var(--kreide);
  transition: border-color .2s, box-shadow .2s;
}
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 3px rgba(192,132,252,.18); }
.feld textarea { min-height: 120px; resize: vertical; }
.feld .hint { font-size: .82rem; color: var(--fehler); display: none; }
.feld.fehler input, .feld.fehler textarea { border-color: var(--fehler); }
.feld.fehler .hint { display: block; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .zwei { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-block; padding: .5em .9em; border-radius: 999px; border: 1px solid var(--kante-hell); font-size: .9rem; color: var(--staub); transition: all .2s; }
.chips input:checked + span { border-color: var(--neon); color: var(--kreide); background: rgba(124,58,237,.18); }
.chips input:focus-visible + span { outline: 2px solid var(--neon); outline-offset: 2px; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; color: var(--staub); }
.check input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--lila-hell); flex: none; }
.check.fehler { color: var(--fehler); }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.schein-fuss { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.schein-fuss small { color: var(--staub-dunkel); font-size: .8rem; }
.status { display: none; padding: .9em 1.1em; border-radius: 9px; font-size: .95rem; }
.status.show { display: block; }
.status.gut { background: rgba(246,183,60,.1); border: 1px solid rgba(246,183,60,.4); color: #ffe4b0; }
.status.schlecht { background: rgba(255,138,122,.08); border: 1px solid rgba(255,138,122,.4); color: #ffc9c0; }
.danke { display: none; padding: 2.4rem 1.6rem; text-align: center; }
.danke.show { display: block; }
.danke h3 { margin-bottom: .8rem; }
.danke p { color: var(--staub); max-width: 40ch; margin-inline: auto; }
.schein.fertig form { display: none; }
@media (max-width: 960px) { .kontakt { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--kante); padding-block: 3.2rem 2rem; background: var(--halle); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.4rem; }
.foot p { color: var(--staub); font-size: .95rem; max-width: 36ch; }
.foot h4 { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .18em; color: var(--staub-dunkel); margin-bottom: .9rem; }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.foot a { color: var(--staub); text-decoration: none; }
.foot a:hover { color: var(--kreide); }
.foot-zeile { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--kante); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; color: var(--staub-dunkel); }
.foot-zeile .lamp { display: inline-block; vertical-align: middle; margin-right: .5em; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* ---------- Unterseiten (Impressum / Datenschutz / Danke / 404) ---------- */
.seite { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px)); padding-bottom: clamp(64px, 8vw, 110px); }
.seite .prosa { max-width: 760px; }
.prosa h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); margin-bottom: 1.6rem; }
.prosa h2 { font-size: 1.7rem; margin: 2.2rem 0 .7rem; }
.prosa p, .prosa li { color: #d9d0e8; }
.prosa ul { padding-left: 1.2rem; }
.prosa address { font-style: normal; line-height: 1.7; }
.platzhalter { background: rgba(246,183,60,.14); color: var(--amber); padding: .05em .35em; border-radius: 4px; }
.hinweis { padding: 1rem 1.2rem; border-radius: 10px; border: 1px solid rgba(246,183,60,.4); background: rgba(246,183,60,.08); color: #ffe4b0; font-size: .95rem; margin-bottom: 1.8rem; }
