/* =========================================================================
   ZetPlan – Website
   Farben aus dem Logo-Paket: Navy #0B2A5B · Blau #3B82F6 · Hellblau #93C5FD
   Schrift: Sora (SIL OFL), selbst gehostet
   ========================================================================= */

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/sora-latin-wght-normal.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: "Sora";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/sora-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/sora-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #0b2a5b;
  --navy-950: #050f24;
  --navy-900: #081c3f;
  --navy-800: #0e2f66;
  --blau: #3b82f6;
  --blau-700: #1d4ed8;
  --blau-600: #2563eb;
  --blau-300: #93c5fd;
  --blau-100: #dbeafe;
  --blau-50: #eff5ff;
  --gruen: #10b981;
  --gruen-50: #e7f8f1;
  --orange: #f59e0b;
  --orange-50: #fef4e2;
  --rot: #ef4444;
  --rot-50: #fdecec;

  --tinte: #0d1730;
  --text: #33415c;
  --leise: #5a6680;
  --linie: #e3e9f3;
  --linie-2: #d3dcea;
  --flaeche: #ffffff;
  --flaeche-2: #f6f9fe;
  --flaeche-3: #eef3fb;
  --kopf-bg: rgba(255, 255, 255, .72);
  --kopf-bg-2: rgba(255, 255, 255, .88);
  --glas: rgba(255, 255, 255, .92);
  --raster: rgba(11, 42, 91, .05);
  --rot-tint: #fff7f7;
  color-scheme: light;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --radius-xl: 32px;

  --schatten-s: 0 1px 2px rgba(11, 42, 91, .06), 0 1px 1px rgba(11, 42, 91, .04);
  --schatten: 0 10px 30px -12px rgba(11, 42, 91, .18), 0 2px 6px rgba(11, 42, 91, .06);
  --schatten-l: 0 40px 80px -30px rgba(11, 42, 91, .35), 0 12px 30px -12px rgba(11, 42, 91, .18);

  --breite: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --kopf-h: 72px;

  --schrift: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + 16px); }
body {
  margin: 0;
  transition: background-color .3s, color .3s;
  font-family: var(--schrift);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--flaeche);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blau-700); text-decoration: none; }
a:hover { color: var(--blau-600); }
h1, h2, h3, h4 { color: var(--tinte); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); letter-spacing: -.035em; line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); letter-spacing: -.03em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blau-100); color: var(--navy); }

.wrap { width: 100%; max-width: calc(var(--breite) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Knöpfe ---------- */
.btn {
  --b: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: inherit; font-weight: 600; font-size: .95rem; line-height: 1;
  padding: .95em 1.4em; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn .ic { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: linear-gradient(180deg, #3d86fb, var(--blau-600)); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 20px -8px rgba(37, 99, 235, .7); }
.btn--primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 14px 28px -10px rgba(37, 99, 235, .75); }
.btn--dunkel { background: var(--navy); color: #fff; }
.btn--dunkel:hover { background: var(--navy-800); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: var(--flaeche); color: var(--tinte); border-color: var(--linie-2); }
.btn--ghost:hover { color: var(--tinte); border-color: var(--blau-300); background: var(--blau-50); }
.btn--weiss { background: #fff; color: var(--navy); }
.btn--weiss:hover { color: var(--navy); transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); }
.btn--glas { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.btn--glas:hover { color: #fff; background: rgba(255,255,255,.16); }
.btn--sm { padding: .7em 1.1em; font-size: .88rem; }
.btn--lg { padding: 1.1em 1.7em; font-size: 1rem; }
.btn--block { width: 100%; }

.link-pfeil { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--blau-700); }
.link-pfeil .ic { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.link-pfeil:hover .ic { transform: translateX(3px); }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  height: var(--kopf-h);
  background: var(--kopf-bg);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.kopf.is-scrolled { border-bottom-color: var(--linie); background: var(--kopf-bg-2); box-shadow: 0 6px 24px -18px rgba(11,42,91,.35); }
.kopf__innen { height: 100%; display: flex; align-items: center; gap: 28px; }
.kopf__logo { flex: none; display: flex; }
.kopf__logo img { height: 34px; width: auto; }
.kopf__nav { flex: 1; display: flex; justify-content: center; }
.kopf__nav ul { list-style: none; display: flex; gap: 4px; }
.kopf__nav ul a { display: block; padding: 8px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--text); transition: background .2s, color .2s; }
.kopf__nav ul a:hover { color: var(--tinte); background: var(--flaeche-3); }
.kopf__nav ul a[aria-current="page"] { color: var(--blau-700); background: var(--blau-50); }
.kopf__aktionen { display: flex; align-items: center; gap: 10px; flex: none; }
.kopf__login { font-size: .92rem; font-weight: 600; color: var(--tinte); padding: 8px 12px; border-radius: 999px; }
.kopf__login:hover { color: var(--blau-700); background: var(--flaeche-3); }
.kopf__mobil-cta { display: none; }
.kopf__burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--linie-2); background: var(--flaeche); cursor: pointer; position: relative; }
.kopf__burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--tinte); transition: transform .3s var(--ease), opacity .2s; }
.kopf__burger span:nth-child(1) { top: 15px; }
.kopf__burger span:nth-child(2) { top: 21px; }
.kopf__burger span:nth-child(3) { top: 27px; }
.nav-offen .kopf__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-offen .kopf__burger span:nth-child(2) { opacity: 0; }
.nav-offen .kopf__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .kopf__nav {
    position: fixed; inset: var(--kopf-h) 0 0 0; z-index: 49;
    flex-direction: column; justify-content: flex-start;
    padding: 24px var(--gutter) 32px; background: var(--flaeche);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
    overflow-y: auto;
  }
  .nav-offen .kopf__nav { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .3s var(--ease); }
  .kopf__nav ul { flex-direction: column; gap: 2px; }
  .kopf__nav ul a { font-size: 1.25rem; font-weight: 600; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--linie); color: var(--tinte); }
  .kopf__nav ul a:hover, .kopf__nav ul a[aria-current="page"] { background: none; }
  .kopf__mobil-cta { display: grid; gap: 10px; margin-top: 28px; }
  .kopf__mobil-cta .btn { padding: 1.05em; font-size: 1rem; }
  .kopf__burger { display: block; }
  .kopf__login { display: none; }
  .nav-offen { overflow: hidden; }
}
@media (max-width: 480px) {
  .kopf__aktionen .btn--sm { display: none; }
}

/* ---------- Bausteine ---------- */
.abschnitt { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.abschnitt--weich { background: var(--flaeche-2); }
.abschnitt--eng { padding-block: clamp(48px, 7vw, 80px); }
.kopfzeile { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.kopfzeile--mitte { margin-inline: auto; text-align: center; }
.kopfzeile p { font-size: 1.1rem; color: var(--leise); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blau-700); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.kopfzeile--mitte .eyebrow::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.verlauf { background: linear-gradient(100deg, var(--blau-600) 10%, #5aa0ff 55%, var(--blau-700) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--leise); line-height: 1.6; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--blau-50); color: var(--blau-700); }
.chip--gruen { background: var(--gruen-50); color: #047857; }
.chip--orange { background: var(--orange-50); color: #b45309; }
.chip--grau { background: var(--flaeche-3); color: var(--leise); }
.chip .ic { width: 14px; height: 14px; }
.punkt { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.punkt--puls { position: relative; }
.punkt--puls::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: puls 2s infinite; }
@keyframes puls { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }

.haken-liste { list-style: none; display: grid; gap: 12px; margin: 0 0 1.5em; }
.haken-liste li { display: flex; gap: 12px; align-items: flex-start; }
.haken-liste li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--blau-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.haken-liste strong { color: var(--tinte); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(64px, 9vw, 120px); overflow: hidden; isolation: isolate; }
.hero__hintergrund { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__hintergrund::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%;
  background:
    radial-gradient(40% 50% at 15% 20%, rgba(59,130,246,.18), transparent 70%),
    radial-gradient(35% 45% at 85% 10%, rgba(147,197,253,.35), transparent 70%),
    radial-gradient(40% 40% at 70% 80%, rgba(29,78,216,.10), transparent 70%);
}
.hero__hintergrund::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--raster) 1px, transparent 1px), linear-gradient(90deg, var(--raster) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.hero__text { max-width: 860px; margin-inline: auto; text-align: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 28px;
  border-radius: 999px; background: var(--flaeche); border: 1px solid var(--linie); box-shadow: var(--schatten-s);
  font-size: .85rem; font-weight: 500; color: var(--text);
}
.hero__badge b { background: var(--navy); color: #fff; font-weight: 600; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 640px; margin: 0 auto 36px; }
.hero__aktionen { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.hero__vertrauen { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; font-size: .88rem; color: var(--leise); }
.hero__vertrauen li { display: inline-flex; align-items: center; gap: 8px; }
.hero__vertrauen .ic { color: var(--blau); width: 18px; height: 18px; }

/* Bühne mit Bildschirm + Handy */
.buehne { position: relative; width: 100%; max-width: 1100px; margin-inline: auto; perspective: 1800px; }
.buehne__glow { position: absolute; inset: 8% 6% -6%; background: radial-gradient(50% 60% at 50% 50%, rgba(59,130,246,.35), transparent 70%); filter: blur(40px); z-index: -1; }
.buehne .mock-browser { transform: rotateX(8deg); transform-origin: 50% 0; transition: transform .8s var(--ease); }
.buehne.is-visible .mock-browser { transform: rotateX(0); }
.buehne .mock-phone { position: absolute; right: -3%; bottom: -12%; width: min(22%, 240px); }
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  background: var(--glas); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.8); box-shadow: var(--schatten-l);
  font-size: .82rem; line-height: 1.35; color: var(--text);
  animation: schweben 6s ease-in-out infinite;
}
.float-card b { display: block; color: var(--tinte); font-size: .88rem; font-weight: 600; }
.float-card__ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--gruen-50); color: #059669; }
.float-card__ic .ic { width: 20px; height: 20px; }
.float-card__ic--blau { background: var(--blau-50); color: var(--blau-700); }
.float-card__ic--orange { background: var(--orange-50); color: #d97706; }
.float-card--1 { left: -5%; top: 30%; }
.float-card--2 { left: 4%; bottom: -6%; animation-delay: -2s; }
.float-card--3 { right: -4%; top: 14%; animation-delay: -4s; }
@keyframes schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 860px) {
  .float-card--1, .float-card--3 { display: none; }
  .float-card--2 { left: 0; bottom: -14%; }
  .buehne .mock-phone { width: 34%; right: -2%; bottom: -16%; }
}
@media (max-width: 560px) {
  .float-card--2 { display: none; }
}

/* ---------- Mockup: Browser ---------- */
.mock-browser {
  border-radius: 18px; background: #fff; overflow: hidden;
  border: 1px solid rgba(11,42,91,.10);
  box-shadow: var(--schatten-l), 0 0 0 8px rgba(255,255,255,.5);
}
.mock-browser__leiste { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #f4f7fc; border-bottom: 1px solid var(--linie); }
.mock-browser__punkte { display: flex; gap: 6px; }
.mock-browser__punkte i { width: 11px; height: 11px; border-radius: 50%; background: #d7deea; }
.mock-browser__punkte i:nth-child(1) { background: #ff6159; }
.mock-browser__punkte i:nth-child(2) { background: #ffbd2e; }
.mock-browser__punkte i:nth-child(3) { background: #28c941; }
.mock-browser__adresse {
  flex: 1; max-width: 360px; margin-inline: auto; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 6px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--linie);
  font-size: .72rem; color: var(--leise); font-family: var(--mono);
}
.mock-browser__adresse .ic { width: 12px; height: 12px; color: var(--gruen); }

/* App-Oberfläche im Mockup */
.mock-app { display: grid; grid-template-columns: 190px 1fr; min-height: 440px; font-size: 12px; line-height: 1.4; color: var(--text); text-align: left; }
.mock-app__seite { background: #eaf1fd; padding: 16px 12px; border-right: 1px solid #d9e4f7; }
.mock-app__seite img { height: 22px; width: auto; margin: 2px 6px 18px; }
.mock-app__gruppe { font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #6b7a98; margin: 14px 8px 6px; }
.mock-app__punkt { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; color: #33415c; font-weight: 500; }
.mock-app__punkt .ic { width: 14px; height: 14px; color: #5a6680; }
.mock-app__punkt.is-aktiv { background: #fff; color: var(--blau-700); box-shadow: var(--schatten-s); }
.mock-app__punkt.is-aktiv .ic { color: var(--blau-700); }
.mock-app__haupt { padding: 18px 20px; background: #fff; min-width: 0; }
.mock-app__titel { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mock-app__titel b { font-size: 15px; color: var(--tinte); font-weight: 700; letter-spacing: -.01em; }
.mock-app__titel span { color: var(--leise); font-size: 11px; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.mock-kpi { border: 1px solid var(--linie); border-radius: 10px; padding: 10px 12px; }
.mock-kpi small { display: block; color: var(--leise); font-size: 10px; margin-bottom: 2px; }
.mock-kpi b { font-size: 18px; color: var(--tinte); font-weight: 700; letter-spacing: -.02em; }
.mock-kpi em { font-style: normal; font-size: 10px; font-weight: 600; margin-left: 4px; color: #059669; }
.mock-kpi em.warn { color: #d97706; }

.mock-plan { border: 1px solid var(--linie); border-radius: 10px; overflow: hidden; }
.mock-plan__kopf, .mock-plan__zeile { display: grid; grid-template-columns: 128px repeat(12, 1fr); align-items: center; }
.mock-plan__kopf { background: #f6f9fe; border-bottom: 1px solid var(--linie); font-size: 9.5px; color: var(--leise); font-weight: 600; }
.mock-plan__kopf span { padding: 7px 0; text-align: center; border-left: 1px dashed #e8edf6; }
.mock-plan__kopf span:first-child { text-align: left; padding-left: 10px; border: 0; }
.mock-plan__zeile { position: relative; height: 38px; border-bottom: 1px solid #f0f3f9; }
.mock-plan__zeile:last-child { border-bottom: 0; }
.mock-plan__name { padding-left: 10px; font-weight: 600; color: var(--tinte); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
.mock-plan__name i { width: 6px; height: 6px; border-radius: 50%; background: var(--gruen); flex: none; }
.mock-plan__name i.warn { background: var(--orange); }
.mock-schicht {
  position: absolute; top: 7px; bottom: 7px; border-radius: 7px; padding: 0 8px;
  display: flex; align-items: center; gap: 5px; overflow: hidden; white-space: nowrap;
  font-size: 10px; font-weight: 600; color: #fff; background: var(--blau);
  box-shadow: 0 4px 10px -4px rgba(37,99,235,.6);
}
.mock-schicht--navy { background: var(--navy); box-shadow: 0 4px 10px -4px rgba(11,42,91,.6); }
.mock-schicht--hell { background: var(--blau-100); color: var(--blau-700); box-shadow: none; }
.mock-schicht--offen { background: repeating-linear-gradient(-45deg, #fff4e0, #fff4e0 6px, #ffe9c2 6px, #ffe9c2 12px); color: #b45309; box-shadow: none; border: 1px dashed #f59e0b; }
.mock-schicht--gruen { background: #10b981; box-shadow: 0 4px 10px -4px rgba(16,185,129,.6); }
.mock-schicht .ava { width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.3); display: grid; place-items: center; font-size: 8px; flex: none; }
/* Positionen auf der Zeitleiste: Spalte 128px + 12 Spalten à 2 Std. (00–24 Uhr) */
.mock-schicht.s-a { left: calc(128px + (100% - 128px) * 6 / 24);  width: calc((100% - 128px) * 8 / 24); }
.mock-schicht.s-b { left: calc(128px + (100% - 128px) * 14 / 24); width: calc((100% - 128px) * 8 / 24); }
.mock-schicht.s-c { left: calc(128px + (100% - 128px) * 0 / 24);  width: calc((100% - 128px) * 6 / 24); }
.mock-schicht.s-d { left: calc(128px + (100% - 128px) * 18 / 24); width: calc((100% - 128px) * 6 / 24); }
.mock-schicht.s-e { left: calc(128px + (100% - 128px) * 8 / 24);  width: calc((100% - 128px) * 10 / 24); }
.mock-schicht.s-f { left: calc(128px + (100% - 128px) * 16 / 24); width: calc((100% - 128px) * 7 / 24); }
.mock-schicht.s-g { left: calc(128px + (100% - 128px) * 7 / 24);  width: calc((100% - 128px) * 5 / 24); }
.mock-schicht.s-h { left: calc(128px + (100% - 128px) * 12 / 24); width: calc((100% - 128px) * 6 / 24); }
.mock-jetzt { position: absolute; top: 0; bottom: 0; left: calc(128px + (100% - 128px) * 11.2 / 24); width: 2px; background: var(--rot); z-index: 2; }
.mock-jetzt::before { content: ""; position: absolute; top: -3px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--rot); }
.mock-plan__koerper { position: relative; }

@media (max-width: 760px) {
  .mock-app { grid-template-columns: 1fr; min-height: 0; }
  .mock-app__seite { display: none; }
  .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .mock-plan__kopf, .mock-plan__zeile { grid-template-columns: 92px repeat(12, 1fr); }
  .mock-plan__kopf span:nth-child(odd):not(:first-child) { color: transparent; }
  .mock-schicht.s-a { left: calc(92px + (100% - 92px) * 6 / 24);  width: calc((100% - 92px) * 8 / 24); }
  .mock-schicht.s-b { left: calc(92px + (100% - 92px) * 14 / 24); width: calc((100% - 92px) * 8 / 24); }
  .mock-schicht.s-c { left: calc(92px + (100% - 92px) * 0 / 24);  width: calc((100% - 92px) * 6 / 24); }
  .mock-schicht.s-d { left: calc(92px + (100% - 92px) * 18 / 24); width: calc((100% - 92px) * 6 / 24); }
  .mock-schicht.s-e { left: calc(92px + (100% - 92px) * 8 / 24);  width: calc((100% - 92px) * 10 / 24); }
  .mock-schicht.s-f { left: calc(92px + (100% - 92px) * 16 / 24); width: calc((100% - 92px) * 7 / 24); }
  .mock-schicht.s-g { left: calc(92px + (100% - 92px) * 7 / 24);  width: calc((100% - 92px) * 5 / 24); }
  .mock-schicht.s-h { left: calc(92px + (100% - 92px) * 12 / 24); width: calc((100% - 92px) * 6 / 24); }
  .mock-jetzt { left: calc(92px + (100% - 92px) * 11.2 / 24); }
  .mock-schicht span.lang { display: none; }
}

/* ---------- Mockup: Handy ---------- */
.mock-phone {
  aspect-ratio: 9 / 19.2; border-radius: 38px; padding: 9px;
  background: linear-gradient(145deg, #1c2539, #0a0f1c);
  box-shadow: var(--schatten-l), 0 0 0 1px rgba(255,255,255,.08) inset;
  z-index: 4;
}
.mock-phone__screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: #f4f7fc; display: flex; flex-direction: column; font-size: 10px; line-height: 1.35; color: var(--text); text-align: left; }
.mock-phone__notch { position: absolute; top: 7px; left: 50%; width: 32%; height: 18px; transform: translateX(-50%); border-radius: 999px; background: #0a0f1c; z-index: 2; }
.mock-phone__status { display: flex; justify-content: space-between; padding: 9px 18px 0; font-size: 9px; font-weight: 600; color: var(--tinte); height: 30px; }
.mock-phone__kopf { padding: 6px 14px 10px; display: flex; align-items: center; justify-content: space-between; }
.mock-phone__kopf b { font-size: 13px; color: var(--tinte); font-weight: 700; }
.mock-phone__ava { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 9px; font-weight: 700; }
.mock-phone__inhalt { flex: 1; padding: 0 12px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.mock-phone__karte { background: #fff; border-radius: 14px; padding: 11px 12px; box-shadow: var(--schatten-s); }
.mock-phone__karte--blau { background: linear-gradient(150deg, var(--blau-600), var(--navy)); color: #dbeafe; }
.mock-phone__karte--blau b { color: #fff; }
.mock-phone__karte small { display: block; font-size: 8.5px; opacity: .8; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: 3px; }
.mock-phone__karte b { display: block; font-size: 12px; color: var(--tinte); font-weight: 700; }
.mock-phone__uhr { font-size: 22px !important; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin: 4px 0 2px; }
.mock-phone__knopf { margin-top: 9px; display: flex; align-items: center; justify-content: center; gap: 6px; height: 30px; border-radius: 10px; background: #fff; color: var(--navy); font-weight: 700; font-size: 10px; }
.mock-phone__knopf .ic { width: 13px; height: 13px; }
.mock-phone__zeile { display: flex; align-items: center; gap: 8px; }
.mock-phone__zeile + .mock-phone__zeile { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--linie); }
.mock-phone__datum { width: 28px; height: 30px; border-radius: 8px; background: var(--blau-50); color: var(--blau-700); display: grid; place-items: center; text-align: center; font-weight: 700; font-size: 10px; line-height: 1; flex: none; }
.mock-phone__datum small { font-size: 7px; margin: 0; opacity: 1; letter-spacing: 0; }
.mock-phone__zeile div { min-width: 0; }
.mock-phone__zeile div b { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-phone__zeile div span { color: var(--leise); font-size: 9px; }
.mock-phone__tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 6px 14px; background: #fff; border-top: 1px solid var(--linie); }
.mock-phone__tabs span { display: grid; justify-items: center; gap: 2px; font-size: 7px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #8a96ae; font-weight: 600; }
.mock-phone__tabs span .ic { width: 15px; height: 15px; }
.mock-phone__tabs span.is-aktiv { color: var(--blau-700); }
.mock-phone__fortschritt { height: 6px; border-radius: 6px; background: var(--flaeche-3); overflow: hidden; margin-top: 7px; }
.mock-phone__fortschritt i { display: block; height: 100%; width: 58%; border-radius: 6px; background: linear-gradient(90deg, var(--blau), var(--gruen)); }

/* ---------- Branchen-Leiste ---------- */
.leiste { padding-block: 34px; border-block: 1px solid var(--linie); background: var(--flaeche); }
.leiste__innen { display: flex; align-items: center; gap: 32px; }
.leiste__titel { flex: none; font-size: .8rem; font-weight: 600; color: var(--leise); text-transform: uppercase; letter-spacing: .1em; }
.laufband { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.laufband__spur { display: flex; gap: 14px; width: max-content; animation: laufen 40s linear infinite; }
.laufband:hover .laufband__spur { animation-play-state: paused; }
.laufband__spur span { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--linie); background: var(--flaeche-2); font-weight: 600; font-size: .92rem; color: var(--tinte); white-space: nowrap; }
.laufband__spur .ic { color: var(--blau); width: 18px; height: 18px; }
@keyframes laufen { to { transform: translateX(-50%); } }
@media (max-width: 700px) { .leiste__innen { flex-direction: column; align-items: stretch; gap: 16px; } .leiste__titel { text-align: center; } }

/* ---------- Ablauf (Plan → Ist → Geld) ---------- */
.ablauf { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; counter-reset: schritt; }
.ablauf::before { content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--blau-100), var(--blau), var(--blau-100)); z-index: 0; }
.ablauf__schritt { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.ablauf__ic {
  width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center;
  background: var(--flaeche); color: var(--blau-700); border: 1px solid var(--linie); box-shadow: var(--schatten);
  position: relative; transition: transform .3s var(--ease);
}
.ablauf__schritt:hover .ablauf__ic { transform: translateY(-4px); }
.ablauf__ic .ic { width: 28px; height: 28px; }
.ablauf__ic::after { counter-increment: schritt; content: counter(schritt); position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; border: 3px solid var(--flaeche-2); }
.ablauf__schritt h3 { font-size: 1.02rem; margin-bottom: 6px; }
.ablauf__schritt p { font-size: .9rem; color: var(--leise); margin: 0; }
@media (max-width: 900px) {
  .ablauf { grid-template-columns: 1fr; gap: 0; }
  .ablauf::before { top: 34px; bottom: 34px; left: 33px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--blau-100), var(--blau), var(--blau-100)); }
  .ablauf__schritt { display: grid; grid-template-columns: 68px 1fr; gap: 0 20px; text-align: left; padding: 0 0 28px; }
  .ablauf__ic { margin: 0; grid-row: span 2; }
  .ablauf__schritt h3 { align-self: end; margin-top: 8px; }
}

/* ---------- Bento-Raster ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.kachel {
  position: relative; overflow: hidden; isolation: isolate;
  grid-column: span 2; padding: 28px; border-radius: var(--radius-l);
  background: var(--flaeche); border: 1px solid var(--linie);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  display: flex; flex-direction: column;
}
.kachel:hover { transform: translateY(-4px); box-shadow: var(--schatten); border-color: var(--linie-2); }
.kachel--breit { grid-column: span 4; }
.kachel--halb { grid-column: span 3; }
.kachel--dunkel { background: radial-gradient(120% 100% at 100% 0%, #1b4c9c 0%, var(--navy) 45%, var(--navy-900) 100%); border-color: transparent; color: #c6d6f3; }
.kachel--dunkel h3 { color: #fff; }
.kachel--dunkel .kachel__ic { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.15); }
.kachel--dunkel .link-pfeil { color: var(--blau-300); }
.kachel__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: var(--blau-50); color: var(--blau-700); border: 1px solid var(--blau-100); }
.kachel__ic .ic { width: 24px; height: 24px; }
.kachel h3 { font-size: 1.2rem; margin-bottom: 8px; }
.kachel p { color: inherit; font-size: .95rem; margin-bottom: 18px; }
.kachel:not(.kachel--dunkel) p { color: var(--leise); }
.kachel__fuss { margin-top: auto; }
.kachel__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.kachel__tags span { font-size: .74rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--flaeche-3); color: var(--leise); }
.kachel--dunkel .kachel__tags span { background: rgba(255,255,255,.08); color: #c6d6f3; }
.kachel__bild { margin: 8px -28px -28px; padding: 0 28px; }
.kachel__glow { position: absolute; z-index: -1; width: 300px; height: 300px; border-radius: 50%; right: -100px; bottom: -120px; background: radial-gradient(circle, rgba(59,130,246,.45), transparent 70%); }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .kachel, .kachel--halb { grid-column: span 1; } .kachel--breit { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .kachel, .kachel--halb, .kachel--breit { grid-column: auto; } }

/* Mini-Mockups in Kacheln */
.mini-liste { display: grid; gap: 8px; }
.mini-zeile { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--flaeche-2); border: 1px solid var(--linie); font-size: .82rem; }
.mini-zeile b { color: var(--tinte); font-weight: 600; }
.mini-zeile .chip { margin-left: auto; font-size: .7rem; padding: 4px 9px; }
.kachel--dunkel .mini-zeile { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.kachel--dunkel .mini-zeile b { color: #fff; }
.ava { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: .68rem; font-weight: 700; color: #fff; background: var(--blau); }
.ava--2 { background: var(--navy); }
.ava--3 { background: #0ea5e9; }
.ava--4 { background: #6366f1; }

.mini-balken { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding-top: 10px; }
.mini-balken i { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--blau), var(--blau-700)); opacity: .9; transform-origin: bottom; transform: scaleY(.2); transition: transform 1s var(--ease); }
.is-visible .mini-balken i { transform: scaleY(1); }
.mini-balken i:nth-child(1) { height: 45%; transition-delay: .05s; }
.mini-balken i:nth-child(2) { height: 62%; transition-delay: .1s; }
.mini-balken i:nth-child(3) { height: 54%; transition-delay: .15s; }
.mini-balken i:nth-child(4) { height: 78%; transition-delay: .2s; }
.mini-balken i:nth-child(5) { height: 70%; transition-delay: .25s; }
.mini-balken i:nth-child(6) { height: 92%; transition-delay: .3s; background: linear-gradient(180deg, #7fb2ff, var(--blau)); }
.mini-balken i:nth-child(7) { height: 84%; transition-delay: .35s; }

.mini-scan { position: relative; display: grid; place-items: center; height: 150px; }
.mini-scan__rahmen { position: relative; width: 120px; height: 120px; border-radius: 18px; display: grid; place-items: center; background: #fff; }
.mini-scan__rahmen .ic { width: 70px; height: 70px; color: var(--navy); stroke-width: 1.5; }
.mini-scan__rahmen::before { content: ""; position: absolute; inset: -10px; border-radius: 24px; border: 2px dashed rgba(147,197,253,.6); }
.mini-scan__linie { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--blau); box-shadow: 0 0 12px 2px rgba(59,130,246,.8); animation: scannen 2.4s ease-in-out infinite; }
@keyframes scannen { 0%, 100% { top: 14px; } 50% { top: 104px; } }

/* ---------- Geteilte Abschnitte (Text + Bild) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--umgekehrt .split__text { order: 2; }
.split__text h2 { margin-bottom: 18px; }
.split__text .lead { margin-bottom: 28px; }
.split__bild { position: relative; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } .split--umgekehrt .split__text { order: 0; } }

.flaeche-bild {
  position: relative; border-radius: var(--radius-xl); padding: clamp(20px, 4vw, 40px);
  background: linear-gradient(160deg, var(--blau-50), var(--flaeche) 60%);
  border: 1px solid var(--linie); overflow: hidden; isolation: isolate;
}
.flaeche-bild::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(11,42,91,.08) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(180deg, #000, transparent 80%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); }
.flaeche-bild--dunkel { background: radial-gradient(100% 100% at 0% 0%, #1b4c9c, var(--navy) 50%, var(--navy-950)); border-color: transparent; }
.flaeche-bild--dunkel::before { background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); }

/* Karten-Mockup allgemein */
.ui-karte { background: #fff; border-radius: 18px; border: 1px solid var(--linie); box-shadow: var(--schatten); padding: 18px; font-size: .85rem; }
.ui-karte + .ui-karte { margin-top: 14px; }
.ui-karte__kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.ui-karte__kopf b { color: var(--tinte); font-size: .95rem; }
.ui-karte__kopf span { color: var(--leise); font-size: .78rem; }
.ui-tabelle { width: 100%; border-collapse: collapse; font-size: .8rem; }
.ui-tabelle th { text-align: left; font-weight: 600; color: var(--leise); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding: 0 8px 8px; border-bottom: 1px solid var(--linie); }
.ui-tabelle td { padding: 10px 8px; border-bottom: 1px solid #f0f3f9; color: var(--text); }
.ui-tabelle tr:last-child td { border-bottom: 0; }
.ui-tabelle td b { color: var(--tinte); font-weight: 600; }
.ui-tabelle .zahl { text-align: right; font-variant-numeric: tabular-nums; }
.ui-tabelle .chip { font-size: .7rem; padding: 3px 8px; }
.ui-abw { color: #b45309; font-weight: 600; }
.ui-ok { color: #047857; font-weight: 600; }
.ui-fortschritt { height: 8px; border-radius: 8px; background: var(--flaeche-3); overflow: hidden; }
.ui-fortschritt i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--blau), var(--blau-700)); }
.ui-fortschritt i.w-75 { width: 75%; }
.ui-fortschritt i.w-100 { width: 100%; background: var(--gruen); }
.ui-fortschritt i.w-40 { width: 40%; background: var(--orange); }

.mock-overlay { position: absolute; z-index: 3; }
.mock-overlay--ru { right: -12px; bottom: -18px; }
.mock-overlay--lo { left: -14px; top: -18px; }
@media (max-width: 560px) { .mock-overlay { position: static; margin-top: 14px; } }

/* ---------- Funktionsliste (kleine Karten) ---------- */
.raster-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.raster-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.raster-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 980px) { .raster-3, .raster-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .raster-3, .raster-4, .raster-2 { grid-template-columns: 1fr; } }
.merkmal { padding: 24px; border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--linie); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.merkmal:hover { border-color: var(--blau-300); box-shadow: var(--schatten); transform: translateY(-2px); }
.merkmal .kachel__ic { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px; }
.merkmal .kachel__ic .ic { width: 21px; height: 21px; }
.merkmal h3 { font-size: 1.02rem; margin-bottom: 6px; }
.merkmal p { font-size: .92rem; color: var(--leise); margin: 0; }
.abschnitt--dunkel .merkmal { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.abschnitt--dunkel .merkmal:hover { border-color: rgba(147,197,253,.5); background: rgba(255,255,255,.06); }
.abschnitt--dunkel .merkmal h3 { color: #fff; }
.abschnitt--dunkel .merkmal p { color: #a9bddf; }
.abschnitt--dunkel .merkmal .kachel__ic { background: rgba(59,130,246,.15); border-color: rgba(147,197,253,.25); color: var(--blau-300); }

/* ---------- Dunkler Abschnitt ---------- */
.abschnitt--dunkel { background: var(--navy-950); color: #a9bddf; overflow: hidden; isolation: isolate; }
.abschnitt--dunkel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 80% 20%, rgba(59,130,246,.28), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(29,78,216,.25), transparent 70%); }
.abschnitt--dunkel h2, .abschnitt--dunkel h3 { color: #fff; }
.abschnitt--dunkel .eyebrow { color: var(--blau-300); }
.abschnitt--dunkel .lead { color: #a9bddf; }
.abschnitt--dunkel .haken-liste strong { color: #fff; }
.abschnitt--dunkel .haken-liste li::before { background-color: rgba(59,130,246,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.abschnitt--dunkel .verlauf { background-image: linear-gradient(100deg, #93c5fd, #fff 50%, #93c5fd); }

.app-buehne { position: relative; display: flex; justify-content: center; gap: 24px; padding-block: 20px; }
.app-buehne .mock-phone { width: min(46%, 270px); }
.app-buehne .mock-phone:nth-child(2) { margin-top: 64px; }
@media (max-width: 520px) { .app-buehne .mock-phone { width: 48%; } .app-buehne { gap: 12px; } }

/* ---------- Zahlen ---------- */
.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--linie); border-radius: var(--radius-l); background: var(--flaeche); overflow: hidden; }
.zahl-box { padding: 32px 28px; border-left: 1px solid var(--linie); }
.zahl-box:first-child { border-left: 0; }
.zahl-box b { display: block; font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 700; letter-spacing: -.04em; color: var(--tinte); line-height: 1.1; margin-bottom: 8px; }
.zahl-box b small { font-size: .5em; font-weight: 600; color: var(--blau-700); letter-spacing: 0; margin-left: 2px; }
.zahl-box span { font-size: .92rem; color: var(--leise); }
@media (max-width: 860px) { .zahlen { grid-template-columns: repeat(2, 1fr); } .zahl-box:nth-child(3) { border-left: 0; } .zahl-box:nth-child(n+3) { border-top: 1px solid var(--linie); } }
@media (max-width: 460px) { .zahlen { grid-template-columns: 1fr; } .zahl-box { border-left: 0; } .zahl-box + .zahl-box { border-top: 1px solid var(--linie); } }

/* ---------- Reiter (Tabs) ---------- */
.reiter__liste { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--flaeche-3); border: 1px solid var(--linie); margin-bottom: 36px; }
.reiter__knopf { font: inherit; font-size: .9rem; font-weight: 600; padding: 10px 18px; border-radius: 999px; border: 0; background: none; color: var(--leise); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s, box-shadow .2s; }
.reiter__knopf .ic { width: 17px; height: 17px; }
.reiter__knopf:hover { color: var(--tinte); }
.reiter__knopf[aria-selected="true"] { background: var(--flaeche); color: var(--blau-700); box-shadow: var(--schatten-s); }
.reiter__feld[hidden] { display: none; }
.reiter__feld { animation: einblenden .5s var(--ease); }
@keyframes einblenden { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) { .reiter__liste { display: flex; border-radius: 18px; } .reiter__knopf { flex: 1 1 calc(50% - 6px); justify-content: center; } }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.seitenkopf { position: relative; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(40px, 6vw, 72px); overflow: hidden; isolation: isolate; }
.seitenkopf .hero__hintergrund::before { height: 100%; }
.seitenkopf__innen { max-width: 820px; }
.seitenkopf--mitte .seitenkopf__innen { margin-inline: auto; text-align: center; }
.seitenkopf h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; }
.seitenkopf .lead { max-width: 680px; }
.seitenkopf--mitte .lead { margin-inline: auto; }
.seitenkopf .hero__aktionen { justify-content: flex-start; margin: 32px 0 0; }
.seitenkopf--mitte .hero__aktionen { justify-content: center; }
.brotkrumen { display: flex; gap: 8px; font-size: .85rem; color: var(--leise); margin-bottom: 20px; list-style: none; }
.seitenkopf--mitte .brotkrumen { justify-content: center; }
.brotkrumen li + li::before { content: "/"; margin-right: 8px; color: var(--linie-2); }
.brotkrumen a { color: var(--leise); }
.brotkrumen a:hover { color: var(--blau-700); }

/* Sprungleiste */
.sprung { position: sticky; top: var(--kopf-h); z-index: 30; background: var(--kopf-bg-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--linie); }
.sprung ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.sprung ul::-webkit-scrollbar { display: none; }
.sprung a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--leise); transition: background .2s, color .2s; }
.sprung a .ic { width: 16px; height: 16px; }
.sprung a:hover { color: var(--tinte); background: var(--flaeche-3); }
.sprung a.is-aktiv { color: var(--blau-700); background: var(--blau-50); }

.modul { padding-block: clamp(64px, 8vw, 104px); border-bottom: 1px solid var(--linie); }
.modul:last-of-type { border-bottom: 0; }
.modul__label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.modul__label .kachel__ic { margin: 0; width: 40px; height: 40px; border-radius: 12px; }
.modul__label .kachel__ic .ic { width: 20px; height: 20px; }
.modul__label span { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--blau-700); }

/* ---------- Pakete ---------- */
.pakete { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 1080px) { .pakete { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pakete { grid-template-columns: 1fr; } }
.paket { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--radius-l); background: var(--flaeche); border: 1px solid var(--linie); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.paket:hover { transform: translateY(-4px); box-shadow: var(--schatten); }
.paket--basis { background: radial-gradient(120% 90% at 100% 0%, #1b4c9c, var(--navy) 50%, var(--navy-900)); color: #c6d6f3; border-color: transparent; box-shadow: var(--schatten-l); }
.paket--basis h3, .paket--basis .paket__preis b { color: #fff; }
.paket--basis .haken-liste li::before { background-color: rgba(59,130,246,.25); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.paket--basis .kachel__ic { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.paket__band { position: absolute; top: 18px; right: 18px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--blau); color: #fff; }
.paket h3 { font-size: 1.3rem; margin-bottom: 6px; }
.paket__unter { font-size: .9rem; margin-bottom: 20px; min-height: 3em; }
.paket:not(.paket--basis) .paket__unter { color: var(--leise); }
.paket__preis { padding-block: 16px; margin-bottom: 20px; border-block: 1px solid var(--linie); font-size: .85rem; }
.paket--basis .paket__preis { border-color: rgba(255,255,255,.12); }
.paket__preis b { display: block; font-size: 1.15rem; color: var(--tinte); }
.paket .haken-liste { font-size: .9rem; gap: 10px; flex: 1; }
.paket .btn { margin-top: 8px; }

/* Rechner */
.rechner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--linie); background: var(--flaeche); box-shadow: var(--schatten); }
.rechner__eingabe { padding: clamp(24px, 4vw, 44px); }
.rechner__ausgabe { padding: clamp(24px, 4vw, 44px); background: radial-gradient(100% 100% at 100% 0%, #1b4c9c, var(--navy) 55%, var(--navy-900)); color: #c6d6f3; display: flex; flex-direction: column; }
.rechner__ausgabe h3 { color: #fff; }
.rechner__ausgabe ul { list-style: none; display: grid; gap: 10px; margin: 8px 0 28px; }
.rechner__ausgabe li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: .92rem; color: #fff; }
.rechner__ausgabe li .ic { color: var(--blau-300); width: 18px; height: 18px; }
.rechner__ausgabe .btn { margin-top: auto; }
.rechner__wert { font-size: 2.6rem; font-weight: 700; color: #fff; letter-spacing: -.03em; line-height: 1; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .rechner { grid-template-columns: 1fr; } }

.regler { margin: 8px 0 32px; }
.regler__kopf { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.regler__kopf label { font-weight: 600; color: var(--tinte); }
.regler__kopf output { font-size: 1.5rem; font-weight: 700; color: var(--blau-700); font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--blau) var(--fuell, 20%), var(--flaeche-3) var(--fuell, 20%)); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--blau); box-shadow: 0 4px 12px rgba(37,99,235,.35); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--blau); box-shadow: 0 4px 12px rgba(37,99,235,.35); cursor: grab; }
input[type="range"]:focus-visible { outline: 3px solid var(--blau-300); outline-offset: 6px; }
.regler__skala { display: flex; justify-content: space-between; font-size: .75rem; color: var(--leise); margin-top: 8px; }

.wahl { display: grid; gap: 10px; }
.wahl label { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border-radius: 14px; border: 1px solid var(--linie); cursor: pointer; transition: border-color .2s, background .2s; }
.wahl label:hover { border-color: var(--blau-300); }
.wahl input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--blau-600); flex: none; }
.wahl label:has(input:checked) { border-color: var(--blau); background: var(--blau-50); }
.wahl label:has(input:disabled) { cursor: default; opacity: .9; }
.wahl b { display: block; color: var(--tinte); font-weight: 600; }
.wahl span { font-size: .88rem; color: var(--leise); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--linie); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--blau-300); box-shadow: var(--schatten); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 600; color: var(--tinte); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--flaeche-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2a5b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 13px no-repeat; transition: transform .3s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--blau-100); }
.faq details > div { padding: 0 24px 22px; color: var(--leise); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Formulare ---------- */
.formular { display: grid; gap: 18px; }
.formular__reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .formular__reihe { grid-template-columns: 1fr; } }
.feld label { display: block; font-size: .88rem; font-weight: 600; color: var(--tinte); margin-bottom: 7px; }
.feld label small { font-weight: 400; color: var(--leise); }
.feld input, .feld select, .feld textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--tinte);
  padding: 13px 15px; border-radius: 12px; border: 1px solid var(--linie-2); background: var(--flaeche);
  transition: border-color .2s, box-shadow .2s;
}
.feld textarea { min-height: 140px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 4px rgba(59,130,246,.15); }
.feld input[aria-invalid="true"], .feld textarea[aria-invalid="true"] { border-color: var(--rot); }
.feld__fehler { color: #b91c1c; font-size: .82rem; margin-top: 6px; }
.feld--check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--leise); }
.feld--check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blau-600); flex: none; }
.feld--check label { font-weight: 400; color: var(--leise); margin: 0; }
.honig { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.eingabe-gruppe { display: flex; align-items: stretch; border: 1px solid var(--linie-2); border-radius: 14px; overflow: hidden; background: var(--flaeche); transition: border-color .2s, box-shadow .2s; }
.eingabe-gruppe:focus-within { border-color: var(--blau); box-shadow: 0 0 0 4px rgba(59,130,246,.15); }
.eingabe-gruppe span { display: flex; align-items: center; padding: 0 14px; background: var(--flaeche-2); color: var(--leise); font-size: .95rem; white-space: nowrap; }
.eingabe-gruppe span:first-child { padding-right: 4px; }
.eingabe-gruppe input { border: 0 !important; box-shadow: none !important; border-radius: 0; min-width: 0; flex: 1; padding: 15px 4px; font: inherit; font-size: 1.05rem; color: var(--tinte); }
.eingabe-gruppe input:focus { outline: none; }

.meldung { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; font-size: .95rem; margin-bottom: 24px; }
.meldung .ic { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.meldung--ok { background: var(--gruen-50); color: #065f46; border: 1px solid #a7f3d0; }
.meldung--fehler { background: var(--rot-50); color: #991b1b; border: 1px solid #fecaca; }
.meldung b { display: block; color: inherit; }

.kontakt-raster { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 920px) { .kontakt-raster { grid-template-columns: 1fr; } }
.karte-gross { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-xl); background: var(--flaeche); border: 1px solid var(--linie); box-shadow: var(--schatten); }
.seitenspalte { display: grid; gap: 16px; }
.kontakt-box { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--linie); }
.kontakt-box .kachel__ic { margin: 0; flex: none; }
.kontakt-box b { display: block; color: var(--tinte); }
.kontakt-box p { margin: 2px 0 0; font-size: .92rem; color: var(--leise); }
.kontakt-box a { font-weight: 600; }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 780px; }
.rechtstext h2 { font-size: 1.45rem; margin-top: 2.2em; padding-top: .4em; }
.rechtstext h3 { font-size: 1.08rem; margin-top: 1.6em; }
.rechtstext ul { padding-left: 1.2em; margin-bottom: 1em; }
.rechtstext li { margin-bottom: .4em; }
.rechtstext address { font-style: normal; }

/* ---------- Abschluss-Band ---------- */
.cta-band { padding-block: clamp(48px, 7vw, 96px); }
.cta-band__karte {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-xl);
  background: linear-gradient(120deg, var(--navy-900), var(--navy) 45%, #1747a6);
  color: #c6d6f3;
}
.cta-band__glanz { position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 80% at 90% 10%, rgba(147,197,253,.4), transparent 70%), radial-gradient(30% 60% at 10% 100%, rgba(59,130,246,.35), transparent 70%); }
.cta-band__glanz::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.cta-band__text { max-width: 580px; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-band__aktionen { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Fuß ---------- */
.fuss { background: var(--navy-950); color: #8ea3c8; padding-top: clamp(56px, 7vw, 88px); font-size: .92rem; }
.fuss__oben { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.fuss__marke img { height: 36px; width: auto; margin-bottom: 18px; }
.fuss__marke p { max-width: 320px; }
.fuss__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fuss__badges span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); font-size: .78rem; font-weight: 600; color: #c6d6f3; }
.fuss__badges .ic { width: 14px; height: 14px; color: var(--blau-300); }
.fuss h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.fuss ul { list-style: none; display: grid; gap: 10px; }
.fuss a { color: #8ea3c8; transition: color .2s; }
.fuss a:hover { color: #fff; }
.fuss__kontakt a, .fuss__kontakt span { display: inline-flex; align-items: center; gap: 10px; }
.fuss__kontakt .ic { width: 16px; height: 16px; color: var(--blau-300); }
.fuss__unten { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.fuss__unten p { margin: 0; }
.fuss__unten ul { display: flex; gap: 24px; }
@media (max-width: 900px) { .fuss__oben { grid-template-columns: 1fr 1fr; } .fuss__marke { grid-column: 1 / -1; } }
@media (max-width: 480px) { .fuss__oben { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.fehlerseite { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.fehlerseite__zahl { font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; margin-bottom: 8px; }

/* ---------- Anmelden ---------- */
.login-karte { max-width: 520px; margin-inline: auto; }
.login-karte .bildmarke { width: 64px; height: 64px; margin: 0 auto 20px; }
.hinweis-klein { font-size: .85rem; color: var(--leise); }

/* ---------- Einblenden beim Scrollen ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .1s; }
.js [data-reveal="3"] { transition-delay: .2s; }
.js [data-reveal="4"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .laufband__spur { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .laufband { mask-image: none; -webkit-mask-image: none; }
}

@media print {
  .kopf, .fuss, .cta-band, .sprung { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Ergänzungen ---------- */
.h-klein { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.ablauf--3 { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin-inline: auto; }
.ablauf--4 { grid-template-columns: repeat(4, 1fr); }
.ablauf--3::before { left: 16%; right: 16%; }
.ablauf--4::before { left: 12%; right: 12%; }
.abschnitt:not(.abschnitt--weich) .ablauf__ic::after { border-color: var(--flaeche); }
@media (max-width: 900px) {
  .ablauf--3, .ablauf--4 { grid-template-columns: 1fr; }
  .ablauf--3::before, .ablauf--4::before { left: 33px; right: auto; }
}
.seitenkopf.abschnitt--dunkel { padding-bottom: clamp(64px, 8vw, 104px); }
.seitenkopf.abschnitt--dunkel h1 { color: #fff; }
.abschnitt--dunkel .brotkrumen, .abschnitt--dunkel .brotkrumen a { color: #8ea3c8; }
.abschnitt--dunkel .brotkrumen li + li::before { color: rgba(255,255,255,.25); }
.abschnitt--dunkel .seitenkopf__innen .hero__aktionen { justify-content: flex-start; }
.seitenkopf .split .hero__aktionen { justify-content: flex-start; }
.seitenkopf .chip { margin-bottom: 18px; }
.login-karte { text-align: center; }
.login-karte .formular { text-align: left; margin: 28px 0 20px; }
.kopfzeile--mitte[data-reveal] .btn, p.kopfzeile--mitte { margin-top: 40px; text-align: center; max-width: none; }
.rechner__ausgabe .eyebrow { color: var(--blau-300); }
.rechner__ausgabe p { margin: 0 0 6px; }
.wahl { border: 0; padding: 0; margin: 0; }
.app-buehne .mock-phone { flex: none; }
.flaeche-bild .app-buehne .mock-phone { width: min(62%, 270px); }
.mock-phone__karte.mock-phone__karte--blau b { color: #fff; }
.float-card--3 { right: 4%; top: -28px; }
.buehne .mock-phone { right: -5%; }
.buehne .mock-app__haupt { padding-right: 16%; }
.flaeche-bild .mock-overlay--lo { left: 16px; top: 16px; }
.flaeche-bild .mock-overlay--ru { right: 16px; bottom: 16px; }
@media (max-width: 860px) { .buehne .mock-app__haupt { padding-right: 20px; } .float-card--3 { display: none; } }
.mock-browser__adresse { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mini-zeile b { white-space: nowrap; }
@media (max-width: 600px) {
  .buehne .mock-phone { display: none; }
  .mini-zeile { font-size: .76rem; gap: 8px; padding: 9px 10px; }
  .hero__badge { font-size: .78rem; text-align: left; }
  .mock-browser__adresse { font-size: .62rem; }
}

/* =========================================================================
   Extras: Seitenübergänge, Fortschritt, Lichtkegel, Glanz, Vorher/Nachher
   ========================================================================= */
@view-transition { navigation: auto; }
.kopf { view-transition-name: kopf; }
::view-transition-old(root) { animation: vt-raus .25s ease both; }
::view-transition-new(root) { animation: vt-rein .35s var(--ease) both; }
@keyframes vt-raus { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-rein { from { opacity: 0; transform: translateY(10px); } }

.kopf__fortschritt { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--blau-300), var(--blau), var(--blau-700)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* Lichtkegel auf Karten */
.spot { position: relative; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(59,130,246,.10), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.spot:hover::after { opacity: 1; }
.kachel--dunkel.spot::after, .paket--basis.spot::after, .abschnitt--dunkel .spot::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(147,197,253,.16), transparent 45%); }
.spot > * { position: relative; z-index: 1; }
.kachel__glow { z-index: -1 !important; position: absolute !important; }
.paket__band { position: absolute !important; }

/* Glanz über Haupt-Knöpfe */
.btn--primary, .btn--weiss { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after, .btn--weiss::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn--weiss::after { background: linear-gradient(100deg, transparent, rgba(59,130,246,.18), transparent); }
.btn--primary:hover::after, .btn--weiss:hover::after { left: 130%; }

/* Schimmernder Verlaufstext */
.verlauf { background-size: 200% auto; animation: schimmer 8s linear infinite; }
@keyframes schimmer { to { background-position: 200% center; } }

/* Hero-Bühne: Kippen mit der Maus, Schichten fahren ein */
.buehne { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .4s var(--ease); }
.js .buehne .mock-schicht { transform: scaleX(0); transform-origin: 0 50%; }
.js .buehne.is-visible .mock-schicht { animation: schicht-rein .8s var(--ease) both; }
.buehne.is-visible .mock-plan__zeile:nth-child(2) .mock-schicht { animation-delay: .35s; }
.buehne.is-visible .mock-plan__zeile:nth-child(3) .mock-schicht { animation-delay: .5s; }
.buehne.is-visible .mock-plan__zeile:nth-child(4) .mock-schicht { animation-delay: .65s; }
.buehne.is-visible .mock-plan__zeile:nth-child(5) .mock-schicht { animation-delay: .8s; }
.buehne.is-visible .mock-plan__zeile:nth-child(6) .mock-schicht { animation-delay: .95s; }
.buehne.is-visible .mock-schicht + .mock-schicht { animation-delay: 1.1s; }
@keyframes schicht-rein { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
.mock-jetzt { animation: jetzt 1.2s .4s var(--ease) both; transform-origin: top; }
@keyframes jetzt { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.float-card[data-ticker] > span { transition: opacity .35s, transform .35s var(--ease); }
.float-card.is-wechsel > span { opacity: 0; transform: translateY(6px); }

/* Vorher / Nachher */
.vergleich { max-width: 860px; margin-inline: auto; }
.vergleich__schalter { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 6px; margin: 0 auto 28px; max-width: 420px; border-radius: 999px; background: var(--flaeche-3); border: 1px solid var(--linie); }
.vergleich__knopf { position: relative; z-index: 1; font: inherit; font-weight: 600; font-size: .95rem; padding: 12px 16px; border: 0; border-radius: 999px; background: none; color: var(--leise); cursor: pointer; transition: color .3s, background .3s, box-shadow .3s; }
.vergleich__knopf[aria-selected="true"] { background: var(--flaeche); box-shadow: var(--schatten-s); color: var(--tinte); }
.vergleich__knopf#tab-mit[aria-selected="true"] { background: linear-gradient(180deg, #3d86fb, var(--blau-600)); color: #fff; }
.vergleich__feld { border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--linie); background: var(--flaeche); box-shadow: var(--schatten); }
.vergleich__feld ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.vergleich__feld li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; color: var(--leise); animation: einblenden .5s var(--ease) both; }
.vergleich__feld li:nth-child(2) { animation-delay: .05s; } .vergleich__feld li:nth-child(3) { animation-delay: .1s; }
.vergleich__feld li:nth-child(4) { animation-delay: .15s; } .vergleich__feld li:nth-child(5) { animation-delay: .2s; } .vergleich__feld li:nth-child(6) { animation-delay: .25s; }
.vergleich__feld li b { color: var(--tinte); font-weight: 600; }
.vergleich__feld li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: center / 12px no-repeat; }
.vergleich__feld--ohne { background: linear-gradient(160deg, var(--rot-tint), var(--flaeche) 60%); }
.vergleich__feld--ohne li::before { background-color: var(--rot-50); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.vergleich__feld--mit { background: linear-gradient(160deg, var(--blau-50), var(--flaeche) 60%); border-color: var(--blau-100); }
.vergleich__feld--mit li::before { background-color: var(--gruen-50); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
@media (max-width: 680px) { .vergleich__feld ul { grid-template-columns: 1fr; } }

/* Feste Demo-Leiste auf dem Handy */
.mobil-cta { display: none; }
@media (max-width: 700px) {
  .mobil-cta {
    display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
    transform: translateY(140%); transition: transform .4s var(--ease);
  }
  .mobil-cta .btn { padding: 1.05em; box-shadow: 0 18px 40px -12px rgba(11,42,91,.55); }
  .mobil-cta.is-sichtbar { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .verlauf { animation: none; }
  .js .buehne .mock-schicht { transform: none; }
  @view-transition { navigation: none; }
}

/* =========================================================================
   Dunkelmodus – folgt dem System, per Knopf im Kopf umschaltbar
   ========================================================================= */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --tinte: #eef3ff; --text: #c3cee3; --leise: #8e9cba;
    --linie: #1d2944; --linie-2: #2a3a5e;
    --flaeche: #0c1527; --flaeche-2: #09101f; --flaeche-3: #152139;
    --blau-50: #0f1f45; --blau-100: #1b3168; --blau-700: #93c5fd; --blau-300: #93c5fd;
    --gruen-50: #0b2a24; --orange-50: #2c2111; --rot-50: #2b1417; --rot-tint: #1a1220;
    --kopf-bg: rgba(9, 16, 31, .72); --kopf-bg-2: rgba(9, 16, 31, .9); --glas: rgba(16, 27, 50, .88);
    --raster: rgba(255, 255, 255, .045);
    --schatten-s: 0 1px 2px rgba(0, 0, 0, .4);
    --schatten: 0 12px 30px -12px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .3);
    --schatten-l: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 12px 30px -12px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --tinte: #eef3ff; --text: #c3cee3; --leise: #8e9cba;
  --linie: #1d2944; --linie-2: #2a3a5e;
  --flaeche: #0c1527; --flaeche-2: #09101f; --flaeche-3: #152139;
  --blau-50: #0f1f45; --blau-100: #1b3168; --blau-700: #93c5fd; --blau-300: #93c5fd;
  --gruen-50: #0b2a24; --orange-50: #2c2111; --rot-50: #2b1417; --rot-tint: #1a1220;
  --kopf-bg: rgba(9, 16, 31, .72); --kopf-bg-2: rgba(9, 16, 31, .9); --glas: rgba(16, 27, 50, .88);
  --raster: rgba(255, 255, 255, .045);
  --schatten-s: 0 1px 2px rgba(0, 0, 0, .4);
  --schatten: 0 12px 30px -12px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .3);
  --schatten-l: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 12px 30px -12px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

/* Produkt-Ansichten bleiben hell – wie echte Bildschirmfotos */
.mock-browser, .mock-phone__screen, .ui-karte {
  --tinte: #0d1730; --text: #33415c; --leise: #5a6680; --linie: #e3e9f3; --linie-2: #d3dcea;
  --flaeche: #fff; --flaeche-2: #f6f9fe; --flaeche-3: #eef3fb;
  --blau-50: #eff5ff; --blau-100: #dbeafe; --blau-700: #1d4ed8; --blau-300: #93c5fd;
  --gruen-50: #e7f8f1; --orange-50: #fef4e2; --rot-50: #fdecec;
  --schatten-s: 0 1px 2px rgba(11, 42, 91, .06);
  --schatten: 0 10px 30px -12px rgba(11, 42, 91, .18), 0 2px 6px rgba(11, 42, 91, .06);
  color: var(--text);
  color-scheme: light;
}

/* Logo je nach Modus */
.logo-dunkel { display: none !important; }
:root[data-theme="dark"] .logo-hell { display: none !important; }
:root[data-theme="dark"] .logo-dunkel { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-hell { display: none !important; }
  :root:not([data-theme="light"]) .logo-dunkel { display: block !important; }
}

/* Umschalter */
.kopf__thema { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--linie-2); background: var(--flaeche); color: var(--tinte); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, background .2s, transform .3s var(--ease); }
.kopf__thema:hover { border-color: var(--blau-300); background: var(--flaeche-3); }
.kopf__thema:active { transform: rotate(-30deg) scale(.95); }
.kopf__thema .ic { width: 18px; height: 18px; }
.kopf__thema .ic-mond { display: none; }
:root[data-theme="dark"] .kopf__thema .ic-sonne { display: none; }
:root[data-theme="dark"] .kopf__thema .ic-mond { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .kopf__thema .ic-sonne { display: none; }
  :root:not([data-theme="light"]) .kopf__thema .ic-mond { display: block; }
}

/* Feinheiten im Dunkeln (gilt für beide Wege in den Dunkelmodus) */
:root[data-theme="dark"] .chip--gruen { color: #34d399; }
:root[data-theme="dark"] .chip--orange { color: #fbbf24; }
:root[data-theme="dark"] .abschnitt--dunkel { border-block: 1px solid var(--linie); }
:root[data-theme="dark"] .faq summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c3cee3' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .haken-liste li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .hero__hintergrund::before { opacity: .7; }
:root[data-theme="dark"] .btn--ghost:hover { background: var(--flaeche-3); }
:root[data-theme="dark"] .ablauf__ic::after { background: var(--blau); }
:root[data-theme="dark"] .hero__badge b { background: var(--blau); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .chip--gruen { color: #34d399; }
  :root:not([data-theme="light"]) .chip--orange { color: #fbbf24; }
  :root:not([data-theme="light"]) .abschnitt--dunkel { border-block: 1px solid var(--linie); }
  :root:not([data-theme="light"]) .faq summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c3cee3' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }
  :root:not([data-theme="light"]) .haken-liste li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
  :root:not([data-theme="light"]) .hero__hintergrund::before { opacity: .7; }
  :root:not([data-theme="light"]) .btn--ghost:hover { background: var(--flaeche-3); }
  :root:not([data-theme="light"]) .ablauf__ic::after { background: var(--blau); }
  :root:not([data-theme="light"]) .hero__badge b { background: var(--blau); }
}

/* =========================================================================
   Produkt-Tour
   ========================================================================= */
.tour { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.tour__schritte { list-style: none; display: grid; gap: 6px; position: sticky; top: calc(var(--kopf-h) + 24px); }
.tour__schritt { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; border: 1px solid transparent; background: none; font: inherit; text-align: left; color: var(--leise); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.tour__schritt:hover { background: var(--flaeche-3); color: var(--tinte); }
.tour__schritt[aria-selected="true"] { background: var(--flaeche); border-color: var(--linie); box-shadow: var(--schatten); color: var(--tinte); }
.tour__nr { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--flaeche-3); color: var(--leise); transition: background .3s, color .3s; }
.tour__nr .ic { width: 19px; height: 19px; }
.tour__schritt[aria-selected="true"] .tour__nr { background: linear-gradient(180deg, #3d86fb, var(--blau-600)); color: #fff; }
.tour__schritt.is-erledigt .tour__nr { background: var(--gruen-50); color: #059669; }
.tour__titel { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.tour__titel small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); margin-bottom: 2px; }
.tour__buehne { position: relative; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--linie); background: linear-gradient(160deg, var(--blau-50), var(--flaeche) 55%); box-shadow: var(--schatten); padding: clamp(22px, 3.5vw, 40px); min-height: 560px; display: flex; flex-direction: column; }
.tour__balken { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--flaeche-3); }
.tour__balken i { display: block; height: 100%; background: linear-gradient(90deg, var(--blau), var(--blau-600)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.tour__feld { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 40px); align-items: center; flex: 1; animation: einblenden .5s var(--ease); }
.tour__text h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.tour__text p { color: var(--leise); font-size: 1.02rem; }
.tour__bild { position: relative; }
.tour__bild--handy { display: flex; justify-content: center; }
.tour__bild--handy .mock-phone { width: min(70%, 260px); }
.tour__steuerung { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--linie); }
.tour__steuerung .btn:disabled { opacity: .4; cursor: default; transform: none; }
.tour__zaehler { font-weight: 600; color: var(--leise); font-variant-numeric: tabular-nums; }
.tour__ende { flex: 1; display: grid; place-items: center; align-content: center; text-align: center; animation: einblenden .5s var(--ease); }
.tour__ende .kachel__ic { width: 64px; height: 64px; border-radius: 20px; background: var(--gruen-50); color: #059669; border: 0; }
.tour__ende .kachel__ic .ic { width: 30px; height: 30px; }
.tour__ende p { max-width: 460px; color: var(--leise); }
.tour.is-ende .tour__steuerung { justify-content: flex-start; }
.tour.is-ende .tour__zaehler { display: none; }

/* Pulsierende Punkte */
.hs-ziel { position: relative; }
.hotspot { position: absolute; top: -10px; right: -10px; z-index: 5; width: 24px; height: 24px; padding: 0; border-radius: 50%; border: 3px solid #fff; background: var(--blau-600); cursor: pointer; box-shadow: 0 0 0 0 rgba(37,99,235,.6); animation: hotspot 1.8s infinite; }
.hotspot:hover, .hotspot:focus-visible { animation-play-state: paused; transform: scale(1.15); }
@keyframes hotspot { 0% { box-shadow: 0 0 0 0 rgba(37,99,235,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,99,235,0); } 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); } }
.hotspot__tipp { position: absolute; bottom: calc(100% + 10px); right: -8px; white-space: nowrap; padding: 6px 10px; border-radius: 8px; background: var(--navy); color: #fff; font: 600 .75rem/1.2 var(--schrift); pointer-events: none; box-shadow: var(--schatten); }
.hotspot__tipp::after { content: ""; position: absolute; top: 100%; right: 14px; border: 6px solid transparent; border-top-color: var(--navy); }

/* Formular-Ansicht */
.tf-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tf-feld { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--linie); background: var(--flaeche-2); }
.tf-feld--breit { grid-column: 1 / -1; }
.tf-feld small { display: block; font-size: .7rem; color: var(--leise); font-weight: 600; margin-bottom: 4px; }
.tf-feld span { font-weight: 600; color: var(--tinte); font-size: .85rem; }
.tf-tage { display: flex; gap: 6px; flex-wrap: wrap; }
.tf-tage i { font-style: normal; width: 34px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: .75rem; background: #fff; border: 1px solid var(--linie-2); color: var(--leise); }
.tf-tage i.an { background: var(--blau-600); border-color: var(--blau-600); color: #fff; }
.tf-haken { color: #047857 !important; }
.tf-fuss { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.tf-knopf { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: var(--blau-600); color: #fff; font-weight: 600; font-size: .82rem; }
.tf-knopf .ic { width: 15px; height: 15px; }
.tf-knopf--hell { background: var(--flaeche-3); color: var(--tinte); }

/* Push-Nachricht */
.tour-push { position: absolute; z-index: 6; top: 40px; left: 50%; width: min(92%, 330px); transform: translateX(-50%); display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -12px rgba(11,42,91,.45); font-size: .8rem; line-height: 1.35; color: #33415c; animation: push-rein .7s .3s var(--ease) both; }
.tour-push b { display: block; color: #0d1730; font-size: .78rem; }
.tour-push__ic { flex: none; width: 34px; height: 34px; border-radius: 9px; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
@keyframes push-rein { from { opacity: 0; transform: translate(-50%, -24px) scale(.96); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }

/* Scan-Ansicht */
.tour-scan { background: linear-gradient(180deg, #0f1a2e, #1c2a44) !important; align-items: center; justify-content: center; gap: 18px; }
.tour-scan__sucher { display: grid; place-items: center; }
.tour-scan__sucher .mini-scan__rahmen { width: 140px; height: 140px; }
.tour-scan__sucher .mini-scan__linie { left: 10px; right: 10px; }
.tour-scan__text { color: #dbe6fb; font-weight: 600; font-size: 12px; margin: 0; }
.tour-scan__gps { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(16,185,129,.18); color: #6ee7b7; font-size: 10.5px; font-weight: 600; }
.tour-scan__gps .ic { width: 13px; height: 13px; }
.tour-scan__hs { position: absolute; left: 50%; top: 42%; width: 1px; height: 1px; }
.tour-neu td { animation: zeile-neu 2.4s .3s ease both; }
@keyframes zeile-neu { 0%, 30% { background: #dcfce7; } 100% { background: transparent; } }

@media (max-width: 980px) {
  .tour { grid-template-columns: 1fr; }
  .tour__schritte { position: static; display: flex; overflow-x: auto; scrollbar-width: none; gap: 8px; padding: 4px 2px 8px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .tour__schritte::-webkit-scrollbar { display: none; }
  .tour__schritte li { flex: none; }
  .tour__schritt { padding: 8px 14px 8px 8px; border-color: var(--linie); background: var(--flaeche); }
  .tour__nr { width: 32px; height: 32px; border-radius: 10px; }
  .tour__titel small { display: none; }
  .tour__titel { white-space: nowrap; font-size: .88rem; }
  .tour__feld { grid-template-columns: 1fr; }
  .tour__buehne { min-height: 0; }
}

/* Einstieg zur Tour auf der Startseite */
.btn .ic-play { width: 1.25em; height: 1.25em; }
.hotspot--unten .hotspot__tipp { bottom: auto; top: calc(100% + 10px); }
.hotspot--unten .hotspot__tipp::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--navy); }
.hotspot .hotspot__tipp { color: #fff !important; font-weight: 600 !important; font-size: .75rem !important; }

/* =========================================================================
   Ergänzungen November: Zuschlagsmaske, zwei Pakete, Neuigkeiten, Über uns
   ========================================================================= */
.h-mittel { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 14px 0 12px; }
.modul__zusatz { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px dashed var(--linie-2); }

/* Zuschlagsmaske */
.maske-karte { padding: 18px 18px 14px; }
.maske { display: grid; grid-template-columns: 58px repeat(24, minmax(0, 1fr)); gap: 3px; align-items: center; }
.maske__tag { font-size: .7rem; font-weight: 600; color: var(--leise); white-space: nowrap; }
.maske__h { font-size: .6rem; color: var(--leise); text-align: left; font-variant-numeric: tabular-nums; }
.maske i { display: block; aspect-ratio: 1 / 1.15; border-radius: 3px; }
.z0 { background: #eef3fb; }
.z1 { background: #93c5fd; }
.z2 { background: #3b82f6; }
.z3 { background: #0b2a5b; }
.js .maske i { opacity: 0; transform: scale(.4); transition: opacity .4s, transform .4s var(--ease); }
.js .is-visible .maske i { opacity: 1; transform: none; }
.is-visible .maske i:nth-child(4n) { transition-delay: .05s; }
.is-visible .maske i:nth-child(4n+1) { transition-delay: .12s; }
.is-visible .maske i:nth-child(4n+2) { transition-delay: .2s; }
.is-visible .maske i:nth-child(4n+3) { transition-delay: .28s; }
.maske__legende { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: .74rem; color: var(--leise); }
.maske__legende span { display: inline-flex; align-items: center; gap: 6px; }
.maske__legende i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
@media (max-width: 520px) { .maske { grid-template-columns: 46px repeat(24, minmax(0, 1fr)); gap: 2px; } .maske__tag { font-size: .62rem; } .maske__h { font-size: .5rem; } }

/* Zwei Pakete Wächterkontrolle */
.zwei-pakete { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 20px; align-items: stretch; }
.paket-wahl { padding: 28px; border-radius: var(--radius-l); background: var(--flaeche); border: 1px solid var(--linie); }
.paket-wahl h3 { margin-bottom: 4px; }
.paket-wahl > p { color: var(--leise); margin-bottom: 18px; }
.paket-wahl .haken-liste { font-size: .92rem; margin: 0; }
.schalter-karte { align-self: center; }
.schalter-zeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.schalter-zeile span { font-size: .8rem; color: var(--leise); }
.schalter-zeile b { display: block; color: var(--tinte); font-size: .88rem; }
.schalter { position: relative; flex: none; width: 40px; height: 22px; border-radius: 999px; background: var(--linie-2); }
.schalter::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .3s var(--ease); }
.schalter--an { background: var(--gruen); }
.schalter--an::after { transform: translateX(18px); }
.schalter-karte .hinweis-klein { margin: 12px 0 0; }
@media (max-width: 980px) { .zwei-pakete { grid-template-columns: 1fr 1fr; } .schalter-karte { grid-column: 1 / -1; } }
@media (max-width: 640px) { .zwei-pakete { grid-template-columns: 1fr; } }

/* Pakete: Grundpaket links groß, vier Zusatzpakete daneben */
.pakete { grid-template-columns: 1.15fr 1fr 1fr; }
.paket--basis { grid-row: span 2; }
@media (max-width: 1080px) { .pakete { grid-template-columns: 1fr 1fr; } .paket--basis { grid-row: auto; grid-column: 1 / -1; } }
@media (max-width: 620px) { .pakete { grid-template-columns: 1fr; } }

/* Neuigkeiten */
.zeitstrahl { max-width: 880px; margin-inline: auto; position: relative; }
.zeitstrahl::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(180deg, var(--blau), var(--blau-100)); }
.zeitstrahl__tag { position: relative; padding-left: 40px; margin-bottom: 44px; }
.zeitstrahl__tag::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--flaeche); border: 3px solid var(--blau); }
.zeitstrahl__datum { font-size: 1rem; color: var(--leise); letter-spacing: 0; font-weight: 600; margin-bottom: 16px; }
.zeitstrahl__liste { display: grid; gap: 14px; }
.neuigkeit { padding: 22px 24px; border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--linie); transition: border-color .25s, box-shadow .25s; }
.neuigkeit:hover { border-color: var(--blau-300); box-shadow: var(--schatten); }
.neuigkeit h3 { margin: 12px 0 6px; font-size: 1.12rem; }
.neuigkeit p { color: var(--leise); margin-bottom: 10px; }
.neuigkeit .link-pfeil { font-size: .9rem; }

.neu-teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.neu-teaser .neuigkeit { display: flex; flex-direction: column; }
.neu-teaser .neuigkeit time { font-size: .8rem; color: var(--leise); margin-left: 8px; }
.neu-teaser .link-pfeil { margin-top: auto; }
@media (max-width: 900px) { .neu-teaser { grid-template-columns: 1fr; } }

/* Über uns */
.person-karte { max-width: 420px; margin-inline: auto; padding: 32px; border-radius: var(--radius-xl); background: var(--flaeche); border: 1px solid var(--linie); box-shadow: var(--schatten-l); display: grid; gap: 18px; }
.person-karte__ava { width: 88px; height: 88px; border-radius: 26px; display: grid; place-items: center; font-size: 1.8rem; font-weight: 700; color: #fff; background: linear-gradient(145deg, var(--blau), var(--navy)); box-shadow: 0 16px 30px -12px rgba(37,99,235,.6); }
.person-karte b { display: block; font-size: 1.3rem; color: var(--tinte); }
.person-karte span { color: var(--leise); }
.person-karte ul { list-style: none; display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--linie); }
.person-karte li, .person-karte li a { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.person-karte li .ic { width: 18px; height: 18px; color: var(--blau); }
.geschichte { max-width: 820px; margin-inline: auto; display: grid; gap: 28px; position: relative; }
.geschichte::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(180deg, var(--blau-100), var(--blau), var(--blau-100)); }
.geschichte__punkt { display: grid; grid-template-columns: 56px 1fr; gap: 20px; position: relative; }
.geschichte__marke { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--flaeche); border: 1px solid var(--linie); box-shadow: var(--schatten); color: var(--blau-700); }
.geschichte__marke .ic { width: 24px; height: 24px; }
.geschichte__punkt h3 { margin: 6px 0 6px; }
.geschichte__punkt p { color: var(--leise); margin: 0; }
.split > *, .zwei-pakete > * { min-width: 0; }
.paket .haken-liste { align-content: start; }

/* Mobiles Menü: Der Unschärfe-Effekt des Kopfs würde das feste Menü an die
   72 px hohe Kopfzeile binden (statt an den Bildschirm). Bei offenem Menü aus. */
@media (max-width: 1020px) {
  .nav-offen .kopf { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--flaeche); }
  .kopf__nav { height: calc(100dvh - var(--kopf-h)); bottom: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  .nav-offen .mobil-cta { transform: translateY(140%); }
}
@media (max-width: 1020px) and (max-height: 720px) {
  .kopf__nav { padding-top: 12px; }
  .kopf__nav ul a { padding-block: 11px; font-size: 1.12rem; }
  .kopf__mobil-cta { margin-top: 18px; gap: 8px; }
  .kopf__mobil-cta .btn { padding: .9em; }
}

/* Wächterkontrolle: Anzahl der Geräte im Rechner */
.wahl__zusatz { display: grid; gap: 6px; padding: 12px 16px 14px; margin-top: -4px; border-radius: 14px; background: var(--blau-50, #eef4ff); }
.wahl__zusatz[hidden] { display: none; }
.wahl .wahl__zusatz label { display: block; padding: 0; border: 0; cursor: default; font-weight: 600; color: var(--tinte); }
.wahl__zusatz input { width: 110px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--linie); font: inherit; }
.wahl__zusatz small { color: var(--leise); }

/* Handy-Ansicht: Umschalter im Dienstplan, farbige Datumsfelder */
.mock-segment { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 3px; border-radius: 10px; background: #e6edf8; font-size: 8.5px; font-weight: 700; color: #5a6680; text-align: center; }
.mock-segment span { padding: 5px 0; border-radius: 8px; }
.mock-segment span.is-aktiv { background: #fff; color: #1d4ed8; box-shadow: 0 1px 2px rgba(11,42,91,.12); }
.mock-phone__knopf--blau { background: #2563eb; color: #fff; }
.mock-phone__datum--gruen { background: #e7f8f1 !important; color: #047857 !important; }
.mock-phone__datum--rot { background: #fdecec !important; color: #b91c1c !important; }
.abschnitt--dunkel .hinweis-klein { color: #8ea3c8; }

/* Kundenportal-Ansicht */
.portal-mock { padding: 18px 20px 16px; font-size: 12px; background: #fff; }
.mock-kpis--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .mock-kpis--3 { grid-template-columns: repeat(3, 1fr); } .portal-mock .mock-kpi b { font-size: 15px; } }

/* Anfragen-Übersicht */
.anfrage { border-left: 3px solid var(--linie-2); }
.anfrage--gelb { border-left-color: #f59e0b; }
.anfrage--rot { border-left-color: #ef4444; }
.anfrage .ic { width: 16px; height: 16px; color: var(--leise); flex: none; }
.anfrage .chip { white-space: nowrap; }
