/* =========================================================
   Pilot Hero – Designsystem der Website
   Farben, Maße und Bausteine. Keine Fremdbibliothek.
   ========================================================= */

:root {
  --navy: #0b1b3a;
  --navy-2: #122653;
  --navy-3: #1b3470;
  --ink: #0f172a;
  --text: #1e293b;
  --muted: #5b6b85;
  --accent: #ff6a2b;
  --accent-dunkel: #e5551a;
  --accent-hell: #fff1ea;
  --gelb: #ffc83d;
  --mint: #22c55e;
  --mint-hell: #e8f9ee;
  --sky: #38bdf8;
  --rot: #ef4444;
  --bg: #f6f8fc;
  --weiss: #ffffff;
  --rand: #e5eaf2;
  --radius: 18px;
  --radius-klein: 10px;
  --schatten: 0 10px 30px rgba(11, 27, 58, 0.10);
  --schatten-gross: 0 30px 80px rgba(11, 27, 58, 0.22);
  --schrift: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --breite: 1180px;
  --uebergang: 220ms cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--weiss);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; color: var(--ink); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 850; }
h3 { font-size: 1.32rem; font-weight: 750; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); }
.container { width: min(var(--breite), 100% - 2.5rem); margin-inline: auto; }
.nur-lesegeraet { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--uebergang), box-shadow var(--uebergang);
}
.kopf.geschrumpft { border-color: var(--rand); box-shadow: 0 6px 24px rgba(11,27,58,.06); }
.kopf__zeile { display: flex; align-items: center; gap: 2rem; height: 76px; }
.logo { display: flex; align-items: center; gap: .6rem; font-weight: 900; font-size: 1.28rem; color: var(--ink); letter-spacing: -0.02em; }
.logo svg { width: 40px; height: 40px; }
.logo span em { font-style: normal; color: var(--accent); }
.navigation { display: flex; gap: 1.4rem; margin-left: auto; font-weight: 600; font-size: .96rem; }
.navigation a { position: relative; padding: .3rem 0; color: var(--text); white-space: nowrap; }
.navigation a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--uebergang); }
.navigation a:hover::after, .navigation a.aktiv::after { transform: scaleX(1); }
.kopf__aktionen { display: flex; gap: .7rem; align-items: center; }
.kopf__schalter { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--rand); border-radius: 12px; background: #fff; cursor: pointer; }
.kopf__schalter span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: transform var(--uebergang), opacity var(--uebergang); }
.kopf__schalter[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.kopf__schalter[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.kopf__schalter[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.45rem; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform var(--uebergang), box-shadow var(--uebergang), background var(--uebergang), color var(--uebergang);
}
.knopf:hover { transform: translateY(-2px); }
.knopf--primaer { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(255,106,43,.35); }
.knopf--primaer:hover { background: var(--accent-dunkel); box-shadow: 0 14px 30px rgba(255,106,43,.45); }
.knopf--hell { background: #fff; color: var(--ink); border-color: var(--rand); }
.knopf--hell:hover { border-color: var(--ink); }
.knopf--geist { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.knopf--geist:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.knopf--gross { padding: 1.05rem 1.9rem; font-size: 1.08rem; }
.knopf svg { width: 18px; height: 18px; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(4rem, 8vw, 7rem) 0; }
.abschnitt--grau { background: var(--bg); }
.abschnitt--dunkel { background: var(--navy); color: #cbd5e1; }
.abschnitt--dunkel h2, .abschnitt--dunkel h3 { color: #fff; }
.abschnitt--dunkel strong { color: #fff; }
.abschnitt--eng { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.abschnitt__kopf { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.abschnitt__kopf p { font-size: 1.15rem; color: var(--muted); }
.abschnitt--dunkel .abschnitt__kopf p { color: #a9b6cc; }
.vorzeile { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem; padding: .35rem .85rem; border-radius: 999px; background: var(--accent-hell); color: var(--accent-dunkel); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.abschnitt--dunkel .vorzeile { background: rgba(255,255,255,.1); color: var(--gelb); }
.vorzeile::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* ---------- Held (Startbereich) ---------- */
.held { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 80% -10%, #1f3d8a 0%, var(--navy) 55%, #08132b 100%); color: #fff; padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 7rem); }
.held::before, .held::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.held::before { width: 520px; height: 520px; left: -160px; bottom: -220px; background: var(--accent); animation: schweben 14s ease-in-out infinite; }
.held::after { width: 420px; height: 420px; right: -120px; top: -160px; background: #2563eb; animation: schweben 18s ease-in-out infinite reverse; }
@keyframes schweben { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px,-30px); } }
.held__raster { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.held .container { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.held h1 { color: #fff; margin-bottom: 1.2rem; }
.held h1 .markiert { position: relative; display: inline-block; color: var(--gelb); }
.held h1 .markiert::after { content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .28em; background: var(--accent); opacity: .55; border-radius: 4px; z-index: -1; transform: scaleX(0); transform-origin: left; animation: unterstreichen .9s .5s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes unterstreichen { to { transform: scaleX(1); } }
.held__text { font-size: 1.22rem; color: #c7d2e6; max-width: 560px; }
.held__knoepfe { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.8rem; }
.held__hinweise { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.8rem; font-size: .92rem; color: #a9b6cc; }
.held__hinweise li { display: flex; align-items: center; gap: .45rem; }
.held__hinweise svg { width: 18px; height: 18px; color: var(--mint); }
.held__slogan { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; padding: .45rem 1rem .45rem .6rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); font-weight: 700; font-size: .95rem; }
.held__slogan .abzeichen { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); font-size: .85rem; }

/* ---------- Geräte-Rahmen (Mockups) ---------- */
.geraet { position: relative; background: #fff; border-radius: 16px; box-shadow: var(--schatten-gross); overflow: hidden; color: var(--text); }
.geraet__leiste { display: flex; align-items: center; gap: .5rem; padding: .6rem .9rem; background: #eef2f8; border-bottom: 1px solid var(--rand); }
.geraet__leiste i { width: 10px; height: 10px; border-radius: 50%; background: #d3dae6; }
.geraet__leiste i:nth-child(1) { background: #ff5f57; } .geraet__leiste i:nth-child(2) { background: #febc2e; } .geraet__leiste i:nth-child(3) { background: #28c840; }
.geraet__adresse { flex: 1; margin-left: .6rem; padding: .25rem .7rem; border-radius: 6px; background: #fff; font-size: .72rem; color: var(--muted); }
.geraet__inhalt { padding: 1rem; }
.held .geraet { animation: hereinschweben 1s .2s cubic-bezier(.2,.7,.2,1) both; transform-origin: center; }
@keyframes hereinschweben { from { opacity: 0; transform: translateY(30px) rotate(-1deg); } to { opacity: 1; transform: none; } }

/* Dashboard-Mockup im Held */
.dash { display: grid; grid-template-columns: 150px 1fr; min-height: 380px; font-size: .78rem; }
.dash__menue { background: var(--navy); color: #a9b6cc; padding: .9rem .7rem; display: flex; flex-direction: column; gap: .35rem; }
.dash__menue b { color: #fff; font-size: .82rem; margin-bottom: .5rem; display: flex; align-items: center; gap: .4rem; }
.dash__menue span { padding: .35rem .5rem; border-radius: 6px; }
.dash__menue span.aktiv { background: rgba(255,255,255,.12); color: #fff; }
.dash__haupt { padding: .9rem; background: var(--bg); display: flex; flex-direction: column; gap: .7rem; }
.dash__kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.kachel { background: #fff; border: 1px solid var(--rand); border-radius: 10px; padding: .7rem .8rem; }
.kachel small { display: block; color: var(--muted); font-size: .68rem; }
.kachel b { font-size: 1.15rem; color: var(--ink); }
.kachel .trend { color: var(--mint); font-weight: 700; font-size: .68rem; margin-left: .3rem; }
.dash__diagramm { background: #fff; border: 1px solid var(--rand); border-radius: 10px; padding: .7rem .8rem; }
.balken { display: flex; align-items: flex-end; gap: 6px; height: 90px; margin-top: .4rem; }
.balken i { flex: 1; background: linear-gradient(180deg, var(--accent), #ffb08a); border-radius: 4px 4px 0 0; transform-origin: bottom; animation: wachsen 1.2s cubic-bezier(.2,.7,.2,1) both; height: var(--h); }
.balken i:nth-child(odd) { background: linear-gradient(180deg, var(--navy-3), #7aa2ff); }
@keyframes wachsen { from { transform: scaleY(0); } }
.dash__liste { background: #fff; border: 1px solid var(--rand); border-radius: 10px; padding: .5rem .8rem; }
.dash__liste div { display: flex; justify-content: space-between; padding: .3rem 0; border-bottom: 1px dashed var(--rand); }
.dash__liste div:last-child { border-bottom: 0; }
.status { padding: .12rem .5rem; border-radius: 999px; font-size: .66rem; font-weight: 700; }
.status--gruen { background: var(--mint-hell); color: #15803d; }
.status--gelb { background: #fff7db; color: #a16207; }
.status--rot { background: #fee2e2; color: #b91c1c; }
.status--blau { background: #e0f2fe; color: #0369a1; }
.hinweis-schwebend { position: absolute; display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; background: #fff; border-radius: 12px; box-shadow: var(--schatten); font-size: .8rem; font-weight: 600; color: var(--ink); animation: einblenden .6s cubic-bezier(.2,.7,.2,1) both; }
.hinweis-schwebend .punkt { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .8rem; }
.hinweis-schwebend--1 { right: -14px; top: -18px; animation-delay: 1.1s; }
.hinweis-schwebend--2 { left: -22px; bottom: 70px; animation-delay: 1.6s; }
.hinweis-schwebend--3 { right: 30px; bottom: -14px; animation-delay: 2.1s; }
@keyframes einblenden { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
.held__bild { position: relative; }

/* ---------- Vertrauensleiste ---------- */
.vertrauen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.vertrauen li { text-align: center; padding: 1.4rem 1rem; background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); }
.vertrauen b { display: block; font-size: 2.1rem; font-weight: 900; color: var(--navy); letter-spacing: -0.03em; }
.vertrauen b em { font-style: normal; color: var(--accent); }
.vertrauen span { color: var(--muted); font-size: .95rem; }

/* ---------- Karten und Raster ---------- */
.raster { display: grid; gap: 1.4rem; }
.raster--3 { grid-template-columns: repeat(3, 1fr); }
.raster--2 { grid-template-columns: repeat(2, 1fr); }
.raster--4 { grid-template-columns: repeat(4, 1fr); }
.karte { position: relative; background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); padding: 1.7rem; transition: transform var(--uebergang), box-shadow var(--uebergang), border-color var(--uebergang); }
.karte:hover { transform: translateY(-4px); box-shadow: var(--schatten); border-color: #d4dceb; }
.karte__symbol { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-hell); color: var(--accent-dunkel); margin-bottom: 1.1rem; }
.karte__symbol svg { width: 26px; height: 26px; }
.karte__symbol--blau { background: #e6edff; color: var(--navy-3); }
.karte__symbol--gruen { background: var(--mint-hell); color: #15803d; }
.karte__symbol--gelb { background: #fff4d6; color: #a16207; }
.karte__symbol--himmel { background: #e0f2fe; color: #0369a1; }
.karte p { color: var(--muted); margin-bottom: .8rem; }
.karte .besser { margin-top: auto; }
.abschnitt--dunkel .karte { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.abschnitt--dunkel .karte p { color: #a9b6cc; }
.abschnitt--dunkel .karte:hover { border-color: rgba(255,255,255,.25); box-shadow: none; }

/* „Besser als andere“-Hinweis */
.besser { display: flex; gap: .6rem; align-items: flex-start; padding: .75rem .9rem; border-radius: 12px; background: var(--mint-hell); color: #14532d; font-size: .92rem; line-height: 1.45; }
.besser svg { flex: none; width: 18px; height: 18px; margin-top: .15rem; color: #16a34a; }
.besser b { color: #14532d; }
.abschnitt--dunkel .besser { background: rgba(34,197,94,.14); color: #bbf7d0; }
.abschnitt--dunkel .besser b { color: #dcfce7; }

/* ---------- Wechselnde Merkmalsabschnitte ---------- */
.merkmal { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.merkmal + .merkmal { border-top: 1px solid var(--rand); }
.merkmal--umgekehrt .merkmal__text { order: 2; }
.merkmal__text h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.merkmal__text > p { font-size: 1.08rem; color: var(--muted); }
.merkmal__liste { margin: 1.2rem 0 1.4rem; display: grid; gap: .6rem; }
.merkmal__liste li { display: flex; gap: .65rem; align-items: flex-start; }
.merkmal__liste svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: .1rem; }
.merkmal__bild { position: relative; }

/* ---------- Belegfluss-Animation ---------- */
.fluss { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 1.4rem; background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); box-shadow: var(--schatten); }
.fluss__schritt { flex: 1; text-align: center; font-size: .82rem; font-weight: 700; color: var(--muted); position: relative; }
.fluss__schritt i { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto .5rem; border-radius: 50%; background: var(--bg); border: 2px solid var(--rand); color: var(--muted); transition: all .4s; }
.fluss__schritt i svg { width: 24px; height: 24px; }
.fluss__schritt.aktiv i { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.1); box-shadow: 0 8px 20px rgba(255,106,43,.4); }
.fluss__schritt.aktiv { color: var(--ink); }
.fluss__schritt.fertig i { background: var(--mint); border-color: var(--mint); color: #fff; }
.fluss__pfeil { width: 40px; height: 2px; background: var(--rand); position: relative; overflow: hidden; flex: none; }
.fluss__pfeil::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateX(-100%); }
.fluss__pfeil.laeuft::after { animation: fliessen .8s linear forwards; }
@keyframes fliessen { to { transform: translateX(0); } }

/* Beleg-Mockup (Rechnung) */
.beleg { background: #fff; border: 1px solid var(--rand); border-radius: 14px; padding: 1.3rem; box-shadow: var(--schatten); font-size: .8rem; position: relative; overflow: hidden; }
.beleg__kopf { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.beleg__kopf b { font-size: 1rem; color: var(--ink); }
.beleg__kopf small { color: var(--muted); display: block; }
.beleg table { width: 100%; border-collapse: collapse; }
.beleg td { padding: .35rem 0; border-bottom: 1px solid var(--rand); }
.beleg td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.beleg tr.summe td { font-weight: 800; border-bottom: 0; color: var(--ink); font-size: .9rem; }
.beleg tr { animation: zeile-erscheinen .5s both; }
.beleg tr:nth-child(1) { animation-delay: .2s } .beleg tr:nth-child(2) { animation-delay: .5s } .beleg tr:nth-child(3) { animation-delay: .8s } .beleg tr:nth-child(4) { animation-delay: 1.1s } .beleg tr:nth-child(5) { animation-delay: 1.4s }
@keyframes zeile-erscheinen { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.beleg__stempel { position: absolute; right: 22px; bottom: 60px; padding: .4rem .9rem; border: 3px solid var(--mint); color: var(--mint); border-radius: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-12deg) scale(0); animation: stempeln .5s 2s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes stempeln { to { transform: rotate(-12deg) scale(1); } }
.beleg__qr { position: absolute; right: 22px; top: 22px; width: 54px; height: 54px; background:
  linear-gradient(#0f172a,#0f172a) 0 0/16px 16px no-repeat, linear-gradient(#0f172a,#0f172a) 100% 0/16px 16px no-repeat, linear-gradient(#0f172a,#0f172a) 0 100%/16px 16px no-repeat,
  repeating-linear-gradient(90deg,#0f172a 0 4px,transparent 4px 8px) 20px 20px/30px 4px no-repeat, repeating-linear-gradient(0deg,#0f172a 0 4px,transparent 4px 8px) 22px 22px/4px 30px no-repeat,
  repeating-linear-gradient(45deg,#0f172a 0 3px,transparent 3px 7px) 30px 30px/24px 24px no-repeat; border: 3px solid #fff; outline: 1px solid var(--rand); }

/* ---------- Plantafel-Mockup ---------- */
.plantafel { background: #fff; border: 1px solid var(--rand); border-radius: 14px; box-shadow: var(--schatten); overflow: hidden; font-size: .74rem; }
.plantafel__kopf { display: grid; grid-template-columns: 110px repeat(5, 1fr); background: var(--bg); border-bottom: 1px solid var(--rand); }
.plantafel__kopf div { padding: .5rem .6rem; font-weight: 700; color: var(--muted); text-align: center; border-left: 1px solid var(--rand); }
.plantafel__kopf div:first-child { border-left: 0; text-align: left; }
.plantafel__zeile { display: grid; grid-template-columns: 110px repeat(5, 1fr); border-bottom: 1px solid var(--rand); min-height: 46px; }
.plantafel__zeile > div { border-left: 1px solid var(--rand); position: relative; padding: .3rem; }
.plantafel__zeile > div:first-child { border-left: 0; display: flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--ink); }
.avatar { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .62rem; font-weight: 800; }
.plan-kachel { border-radius: 6px; padding: .25rem .45rem; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: einblenden .5s both; }
.plan-kachel--rot { outline: 2px solid var(--rot); outline-offset: -2px; background: #fecaca !important; color: #7f1d1d; }
.plan-kachel--abwesend { background: repeating-linear-gradient(135deg,#e2e8f0 0 6px,#f1f5f9 6px 12px) !important; color: var(--muted); }
.plan-kachel.zieht { animation: ziehen 4s ease-in-out infinite; }
@keyframes ziehen { 0%,25% { transform: translate(0,0); } 45%,75% { transform: translate(calc(100% + 8px), 0); box-shadow: 0 10px 20px rgba(0,0,0,.2); } 95%,100% { transform: translate(0,0); } }
.auslastung { display: grid; grid-template-columns: 110px repeat(5, 1fr); background: var(--bg); }
.auslastung div { padding: .35rem; border-left: 1px solid var(--rand); }
.auslastung div:first-child { border-left: 0; font-weight: 700; color: var(--muted); }
.auslastung i { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--mint) var(--p), var(--rand) 0); }

/* ---------- Karten-Mockup ---------- */
.landkarte { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--schatten); background: #e8eef5; aspect-ratio: 4/3; }
.landkarte svg { width: 100%; height: 100%; }
.nadel { position: absolute; transform: translate(-50%, -100%); }
.nadel__kopf { width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .7rem; box-shadow: 0 6px 14px rgba(0,0,0,.25); animation: nadel-fallen .6s cubic-bezier(.2,.7,.2,1) both; }
.nadel__kopf span { transform: rotate(45deg); }
.nadel::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 22px; height: 8px; border-radius: 50%; background: rgba(0,0,0,.2); transform: translateX(-50%); animation: pulsieren 2s ease-out infinite; }
@keyframes nadel-fallen { from { opacity: 0; transform: translateY(-40px) rotate(-45deg); } to { opacity: 1; transform: rotate(-45deg); } }
@keyframes pulsieren { 0% { transform: translateX(-50%) scale(.6); opacity: .6; } 100% { transform: translateX(-50%) scale(2.2); opacity: 0; } }
.landkarte__blase { position: absolute; background: #fff; border-radius: 10px; padding: .6rem .8rem; font-size: .75rem; box-shadow: var(--schatten); min-width: 160px; animation: einblenden .5s 1.2s both; }
.landkarte__blase b { display: block; color: var(--ink); }
.landkarte__regler { position: absolute; left: 12px; right: 12px; bottom: 12px; background: #fff; border-radius: 10px; padding: .5rem .8rem; font-size: .72rem; display: flex; align-items: center; gap: .6rem; box-shadow: var(--schatten); }
.landkarte__regler i { flex: 1; height: 6px; border-radius: 3px; background: var(--rand); position: relative; }
.landkarte__regler i::after { content: ""; position: absolute; top: -5px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 2px 6px rgba(0,0,0,.25); animation: regler 6s ease-in-out infinite; }
@keyframes regler { 0%,100% { left: 10%; } 50% { left: 70%; } }

/* ---------- Zeichnungen (Aufmaß / Elektro) ---------- */
.zeichnung { background: #fff; border: 1px solid var(--rand); border-radius: 14px; box-shadow: var(--schatten); padding: 1rem; }
.zeichnung svg { width: 100%; height: auto; }
.zeichnung .strich { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.sichtbar .zeichnung .strich, .zeichnung.sofort .strich { animation: zeichnen 2.2s ease forwards; }
.zeichnung .strich--2 { animation-delay: .4s !important; } .zeichnung .strich--3 { animation-delay: .8s !important; } .zeichnung .strich--4 { animation-delay: 1.2s !important; } .zeichnung .strich--5 { animation-delay: 1.6s !important; }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
.zeichnung .mass { font-size: 11px; fill: var(--muted); font-family: var(--schrift); }
.zeichnung .masslinie { stroke: var(--accent); stroke-width: 1.2; }
.zeichnung .glas { fill: #dbeafe; opacity: 0; }
.sichtbar .zeichnung .glas, .zeichnung.sofort .glas { animation: einblenden .6s 2s both; }
.befund { display: flex; gap: .5rem; align-items: center; margin-top: .6rem; padding: .5rem .7rem; border-radius: 8px; font-size: .78rem; font-weight: 600; opacity: 0; }
.befund svg, .zeichnung .befund svg { width: 16px; height: 16px; flex: none; }
.sichtbar .befund, .sofort .befund { animation: einblenden .5s 2.4s both; }
.befund--hinweis { background: #fff7db; color: #a16207; }
.befund--fehler { background: #fee2e2; color: #b91c1c; }
.befund--ok { background: var(--mint-hell); color: #15803d; }

/* ---------- Telefon-Mockup ---------- */
.telefon { width: 300px; margin: 0 auto; background: #0f172a; border-radius: 40px; padding: 12px; box-shadow: var(--schatten-gross), inset 0 0 0 2px #334155; position: relative; }
.telefon::before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 14px; background: #0f172a; z-index: 2; }
.telefon__schirm { background: var(--bg); border-radius: 30px; overflow: hidden; height: 600px; display: flex; flex-direction: column; font-size: .78rem; position: relative; }
.telefon__status { display: flex; justify-content: space-between; padding: .8rem 1.3rem .3rem; font-size: .7rem; font-weight: 700; color: var(--ink); }
.telefon__kopf { padding: .6rem 1rem; background: var(--navy); color: #fff; font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.netz { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .55rem; border-radius: 999px; font-size: .66rem; font-weight: 700; }
.netz--offline { background: #fee2e2; color: #b91c1c; }
.netz--online { background: var(--mint-hell); color: #15803d; }
.netz i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.telefon__inhalt { padding: .8rem .8rem 150px; display: flex; flex-direction: column; gap: .6rem; flex: 1; overflow: hidden; }
.app-kachel { background: #fff; border-radius: 12px; padding: .7rem .8rem; border: 1px solid var(--rand); display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.app-kachel b { color: var(--ink); display: block; }
.app-kachel small { color: var(--muted); }
.mappe { position: absolute; left: .8rem; right: .8rem; bottom: .8rem; background: #fff; border-radius: 12px; padding: .7rem .8rem; border: 1px solid var(--rand); box-shadow: var(--schatten); }
.mappe__zeile { display: flex; justify-content: space-between; align-items: center; padding: .25rem 0; }
.mappe__zeile .status { transition: all .4s; }
.telefon__leiste { display: flex; justify-content: space-around; padding: .6rem; background: #fff; border-top: 1px solid var(--rand); color: var(--muted); font-size: .64rem; font-weight: 700; }
.telefon__leiste span.aktiv { color: var(--accent); }
.sync-pfad { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); pointer-events: none; }

/* ---------- Chat-Mockup ---------- */
.chat { background: #fff; border: 1px solid var(--rand); border-radius: 14px; box-shadow: var(--schatten); overflow: hidden; font-size: .82rem; }
.chat__kopf { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; background: var(--navy); color: #fff; font-weight: 700; }
.chat__kopf .avatar { background: var(--accent); }
.chat__verlauf { padding: 1rem; display: flex; flex-direction: column; gap: .6rem; min-height: 300px; background: #f8fafc; }
.blase { max-width: 82%; padding: .6rem .8rem; border-radius: 14px; line-height: 1.45; opacity: 0; animation: einblenden .4s both; }
.blase--ich { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.blase--held { align-self: flex-start; background: #fff; border: 1px solid var(--rand); border-bottom-left-radius: 4px; }
.blase--held ul { margin-top: .4rem; display: grid; gap: .25rem; }
.blase--held li { padding: .3rem .5rem; background: var(--bg); border-radius: 6px; display: flex; justify-content: space-between; gap: .6rem; }
.blase--kanal { align-self: center; font-size: .7rem; color: var(--muted); background: transparent; padding: .2rem .6rem; border: 1px dashed var(--rand); border-radius: 999px; }
.tippt { display: inline-flex; gap: 3px; }
.tippt i { width: 6px; height: 6px; border-radius: 50%; background: #94a3b8; animation: huepfen 1s infinite; }
.tippt i:nth-child(2) { animation-delay: .15s } .tippt i:nth-child(3) { animation-delay: .3s }
@keyframes huepfen { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }

/* ---------- Vergleichstabelle ---------- */
.vergleich { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); }
.vergleich th, .vergleich td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--rand); vertical-align: top; }
.vergleich th { background: var(--bg); font-size: .9rem; color: var(--muted); }
.vergleich th.held-spalte { background: var(--navy); color: #fff; font-size: 1rem; }
.vergleich td.held-spalte { background: #fff8f4; font-weight: 600; color: var(--ink); }
.vergleich tr:last-child td { border-bottom: 0; }
.vergleich td small { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; }
.haken, .kreuz, .halb { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; margin-right: .5rem; vertical-align: middle; font-size: .8rem; font-weight: 800; }
.haken { background: var(--mint-hell); color: #15803d; }
.kreuz { background: #fee2e2; color: #b91c1c; }
.halb { background: #fff7db; color: #a16207; }
.tabelle-rollen { overflow-x: auto; }

/* ---------- Reiter ---------- */
.reiter { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.reiter button { padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid var(--rand); background: #fff; font: inherit; font-weight: 700; font-size: .92rem; color: var(--muted); cursor: pointer; transition: all var(--uebergang); }
.reiter button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.reiter-tafel[hidden] { display: none; }
.reiter-tafel { animation: einblenden .4s both; }

/* ---------- Preise ---------- */
.preise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.preis { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); padding: 2rem; position: relative; }
.preis--empfohlen { border-color: var(--accent); box-shadow: 0 20px 50px rgba(255,106,43,.18); transform: translateY(-8px); }
.preis__abzeichen { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: .3rem .9rem; border-radius: 999px; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 800; }
.preis h3 { font-size: 1.4rem; }
.preis__betrag { font-size: 2.8rem; font-weight: 900; color: var(--navy); letter-spacing: -0.03em; margin: .6rem 0 .2rem; }
.preis__betrag small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.preis__hinweis { color: var(--muted); font-size: .9rem; min-height: 2.6em; }
.preis ul { margin: 1.4rem 0 1.8rem; display: grid; gap: .55rem; }
.preis li { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; }
.preis li svg { flex: none; width: 18px; height: 18px; color: var(--mint); margin-top: .2rem; }
.preis .knopf { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--rand); border-radius: 14px; padding: 0 1.4rem; }
.faq summary { cursor: pointer; padding: 1.1rem 0; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); transition: transform var(--uebergang); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.1rem; }

/* ---------- Aufruf ---------- */
.aufruf { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(2.5rem, 6vw, 4.5rem); background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 60%, #312e81 100%); color: #fff; text-align: center; }
.aufruf::before { content: ""; position: absolute; width: 500px; height: 500px; right: -150px; top: -250px; border-radius: 50%; background: var(--accent); filter: blur(80px); opacity: .5; }
.aufruf h2 { color: #fff; position: relative; }
.aufruf p { position: relative; color: #c7d2e6; font-size: 1.15rem; max-width: 620px; margin-inline: auto; }
.aufruf .held__knoepfe { justify-content: center; position: relative; }

/* ---------- Fußzeile ---------- */
.fuss { background: #08132b; color: #a9b6cc; padding: 4rem 0 2rem; font-size: .93rem; }
.fuss__raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.fuss h4 { color: #fff; font-size: .95rem; margin-bottom: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.fuss ul { display: grid; gap: .45rem; }
.fuss a:hover { color: #fff; }
.fuss .logo { color: #fff; margin-bottom: .8rem; }
.fuss__unten { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

/* ---------- Inhaltsseiten ---------- */
.seitenkopf { background: linear-gradient(180deg, #0b1b3a, #122653); color: #fff; padding: clamp(3rem, 6vw, 5rem) 0; text-align: center; position: relative; overflow: hidden; }
.seitenkopf h1 { color: #fff; font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.seitenkopf p { color: #c7d2e6; font-size: 1.15rem; max-width: 720px; margin-inline: auto; }
.sprungleiste { position: sticky; top: 76px; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rand); }
.sprungleiste ul { display: flex; gap: .3rem; overflow-x: auto; padding: .6rem 0; scrollbar-width: none; }
.sprungleiste a { display: block; padding: .45rem .9rem; border-radius: 999px; font-size: .88rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.sprungleiste a:hover, .sprungleiste a.aktiv { background: var(--accent-hell); color: var(--accent-dunkel); }
.gruppe { padding: clamp(3rem, 6vw, 5rem) 0; }
.gruppe + .gruppe { border-top: 1px solid var(--rand); }
.gruppe__kopf { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; margin-bottom: 2rem; }
.gruppe__kopf .karte__symbol { margin: 0; width: 60px; height: 60px; }
.gruppe__kopf p { margin: 0; color: var(--muted); }
.merkmal-klein { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.merkmal-klein .karte { display: flex; flex-direction: column; }
.merkmal-klein h3 { display: flex; align-items: center; gap: .6rem; }
.merkmal-klein ul.punkte { margin: 0 0 1rem; display: grid; gap: .35rem; color: var(--text); font-size: .95rem; }
.merkmal-klein ul.punkte li { padding-left: 1.2rem; position: relative; }
.merkmal-klein ul.punkte li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.formular { display: grid; gap: 1rem; background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); padding: 2rem; box-shadow: var(--schatten); }
.formular label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; }
.formular input, .formular textarea, .formular select { font: inherit; padding: .8rem .9rem; border: 1px solid var(--rand); border-radius: 10px; background: #fff; }
.formular input:focus, .formular textarea:focus, .formular select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.formular .zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.prosa { max-width: 820px; margin-inline: auto; }
.prosa h2 { font-size: 1.5rem; margin-top: 2rem; }
.prosa p, .prosa li { color: var(--text); }
.prosa ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .3rem; }
.platzhalter { background: #fff7db; border: 1px dashed #f59e0b; color: #92400e; padding: .8rem 1rem; border-radius: 10px; font-size: .92rem; }

/* ---------- Erscheinen beim Rollen ---------- */
.erscheint { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.erscheint.sichtbar { opacity: 1; transform: none; }
.erscheint[data-verzoegerung="1"] { transition-delay: .12s } .erscheint[data-verzoegerung="2"] { transition-delay: .24s } .erscheint[data-verzoegerung="3"] { transition-delay: .36s } .erscheint[data-verzoegerung="4"] { transition-delay: .48s }

/* ---------- Laufband der Gewerke ---------- */
.laufband { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.laufband ul { display: flex; gap: .8rem; width: max-content; animation: laufen 40s linear infinite; }
.laufband li { padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); font-weight: 600; white-space: nowrap; color: #dbe4f3; }
@keyframes laufen { to { transform: translateX(-50%); } }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .navigation { gap: 1rem; font-size: .9rem; }
  .kopf__aktionen .knopf { padding: .65rem 1rem; font-size: .9rem; }
  .kopf__zeile { gap: 1.2rem; }
}
@media (max-width: 1024px) {
  .held .container { grid-template-columns: 1fr; }
  .held__bild { max-width: 640px; margin: 1rem auto 0; }
  .raster--3, .raster--4 { grid-template-columns: repeat(2, 1fr); }
  .vertrauen { grid-template-columns: repeat(2, 1fr); }
  .fuss__raster { grid-template-columns: 1fr 1fr; }
  .preise { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .preis--empfohlen { transform: none; }
}
@media (max-width: 800px) {
  .navigation, .kopf__aktionen { display: none; }
  .kopf__schalter { display: block; }
  .kopf.offen .navigation { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--rand); padding: .6rem 1.25rem 1rem; box-shadow: var(--schatten); }
  .kopf.offen .navigation a { padding: .8rem 0; border-bottom: 1px solid var(--rand); }
  .kopf.offen .kopf__aktionen { display: flex; padding-top: 1rem; }
  .kopf.offen .kopf__aktionen .knopf { flex: 1; }
  .hinweis-schwebend--1 { right: 8px; top: -14px; }
  .vergleich { min-width: 720px; }
  .telefon { width: 300px; }
  .telefon__schirm { height: 600px; }
  .merkmal, .merkmal-klein, .raster--2, .raster--3, .raster--4 { grid-template-columns: 1fr; }
  .merkmal--umgekehrt .merkmal__text { order: 0; }
  .dash { grid-template-columns: 1fr; }
  .dash__menue { display: none; }
  .hinweis-schwebend--2 { left: 8px; }
  .hinweis-schwebend--1 { right: 8px; }
  .formular .zwei { grid-template-columns: 1fr; }
  .fluss { flex-wrap: wrap; }
  .fluss__pfeil { display: none; }
  .fluss__schritt { flex: 1 1 40%; margin-bottom: 1rem; }
  .gruppe__kopf { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .erscheint { opacity: 1; transform: none; }
}
