/* ==========================================================================
   MailGenius – Webseite (Startseite, Rechtliches, 404) · helles Design 3.0
   Aufbau: Grundlayout ohne Bewegung (alles sichtbar, auch ohne JavaScript). Bewegung nur, wenn site.js die Klasse
   .mg-bewegt an <html> setzt (= JavaScript läuft und keine reduzierte Bewegung gewünscht).
   Farben, Raster, Schrift und Bausteine aus marke.css.
   ========================================================================== */

:root { --rand: 16px; }
@media (min-width: 700px) { :root { --rand: 32px; } }
@media (min-width: 1000px) { :root { --rand: 40px; } }

body { font-size: 1.0625rem; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; }
main { overflow-x: clip; }

.breite { width: min(100% - 2 * var(--rand), 1200px); margin-inline: auto; }
.breite.schmal { width: min(100% - 2 * var(--rand), 760px); }

.abschnitt { padding-block: var(--abstand-8); }
@media (min-width: 1000px) { .abschnitt { padding-block: var(--abstand-9); } }
.abschnitt--flaeche { background: var(--surface); border-block: 1px solid var(--line); }
.abschnitt-kopf { max-width: 760px; margin-bottom: var(--abstand-7); }
.abschnitt-kopf .einleitung { margin-top: var(--abstand-4); }
.abschnitt-kopf--mitte { margin-inline: auto; text-align: center; }
.abschnitt-kopf--mitte .einleitung { margin-inline: auto; }

/* Einblenden beim Scrollen (nur mit Bewegung) */
.zeige { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.mg-bewegt .zeige:not(.ist-sichtbar) { opacity: 0; transform: translateY(18px); }

/* Pille (kleiner Hinweis über der Überschrift) */
.pille { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 12px 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  font-size: .875rem; font-weight: 550; color: var(--text-2); text-decoration: none; transition: border-color .2s; }
.pille:hover { border-color: var(--line-strong); color: var(--text); }
.pille .ic { width: 16px; height: 16px; color: var(--muted); transition: transform .2s var(--ease); }
.pille:hover .ic { transform: translateX(2px); }

/* ── Kopf ───────────────────────────────────────────────────────────────── */
.kopf {
  position: sticky; top: 0; z-index: 100; height: var(--kopf-hoehe);
  background: rgb(245 247 251 / .82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, background-color .25s;
}
.kopf.ist-gescrollt, .kopf.ist-offen { border-bottom-color: var(--line); background: rgb(255 255 255 / .9); }
.kopf-innen { display: flex; align-items: center; gap: var(--abstand-3); height: 100%; }
.hauptnav { margin-left: auto; }
.hauptnav ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.hauptnav ul a {
  position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 10px;
  color: var(--text-2); font-weight: 550; font-size: .9375rem; text-decoration: none; transition: color .2s, background-color .2s;
}
.hauptnav ul a:hover { color: var(--text); background: var(--surface-2); }
.hauptnav ul a[aria-current="true"] { color: var(--text); }
.hauptnav ul a[aria-current="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--brand); }
.hauptnav-mobil { display: none; }
.kopf-aktionen { display: flex; align-items: center; gap: var(--abstand-2); margin-left: var(--abstand-4); }
.kopf-login { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.kopf-login:hover { background: var(--surface-2); }
.menue-knopf { display: none; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r-m); background: var(--surface); color: var(--text); cursor: pointer; }
.menue-knopf .ic { width: 22px; height: 22px; }
.menue-knopf .zu { display: none; }
.menue-knopf[aria-expanded="true"] .zu { display: block; }
.menue-knopf[aria-expanded="true"] .auf { display: none; }

@media (max-width: 959.98px) {
  .menue-knopf { display: grid; }
  .kopf-login { display: none; }
  .kopf-aktionen { margin-left: auto; }
  .hauptnav {
    position: fixed; inset: var(--kopf-hoehe) 0 auto; margin: 0; padding: var(--abstand-2) var(--rand) var(--abstand-5);
    max-height: calc(100dvh - var(--kopf-hoehe)); overflow-y: auto;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgb(14 23 48 / .35);
  }
  .kopf:not(.ist-offen) .hauptnav { display: none; }
  .kopf.ist-offen .hauptnav { animation: menue-auf .25s var(--ease); }
  .hauptnav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .hauptnav li { border-bottom: 1px solid var(--line); }
  .hauptnav ul a { width: 100%; min-height: 56px; padding: 0 4px; border-radius: 0; font-size: 1.125rem; color: var(--text); }
  .hauptnav ul a:hover { background: none; color: var(--brand); }
  .hauptnav ul a[aria-current="true"]::after { display: none; }
  .hauptnav-mobil { display: grid; gap: var(--abstand-3); margin-top: var(--abstand-5); }
}
@media (max-width: 479.98px) { .kopf-cta { display: none; } }
@keyframes menue-auf { from { opacity: 0; transform: translateY(-8px); } }

/* ── 1 · Held ───────────────────────────────────────────────────────────── */
.held { position: relative; padding: clamp(32px, 5vw, 72px) 0 var(--abstand-7); isolation: isolate; }
.held-grund { position: absolute; inset: calc(-1 * var(--kopf-hoehe)) 0 0; z-index: -1; pointer-events: none; overflow: hidden; }
.held-grund::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(55% 55% at 78% 22%, rgb(59 130 246 / .16), transparent 70%), radial-gradient(40% 45% at 10% 0%, rgb(67 56 202 / .09), transparent 70%), radial-gradient(30% 30% at 92% 70%, rgb(255 209 102 / .16), transparent 70%); }
.held-grund::after { content: ""; position: absolute; inset: 0; opacity: .7;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 70% 30%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 70% 30%, #000 0%, transparent 75%); }
.held-innen { display: grid; gap: var(--abstand-7); align-items: center; }
@media (min-width: 1000px) { .held-innen { grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr); gap: var(--abstand-8); } }
.held-text .titel-held { margin-top: var(--abstand-5); }
.held-satz { margin-top: var(--abstand-5); font-size: var(--schrift-gross); line-height: 1.55; color: var(--text-2); max-width: 34em; }
.held-aktionen { display: flex; flex-wrap: wrap; gap: var(--abstand-3); margin-top: var(--abstand-6); }
.held-fakten { list-style: none; display: flex; flex-wrap: wrap; gap: var(--abstand-2) var(--abstand-5); margin-top: var(--abstand-5); color: var(--text-2); font-size: .9375rem; }
.held-fakten li { display: inline-flex; align-items: center; gap: 6px; }
.held-fakten .ic { width: 18px; height: 18px; color: var(--ok); }
@media (max-width: 479.98px) { .held-aktionen .btn { flex: 1 1 100%; } }

/* Anbieter */
.anbieter { margin-top: var(--abstand-8); text-align: center; }
.anbieter-titel { font-size: var(--schrift-mini); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.anbieter-liste { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--abstand-2) var(--abstand-6); margin-top: var(--abstand-4); }
.anbieter-liste li { font-size: 1.0625rem; font-weight: 650; letter-spacing: -.02em; color: #5a6680; }

/* ── Live-Vorführung (nachgebautes Postfach) ─────────────────────────────── */
.demo { position: relative; }
.demo-fenster { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-3); overflow: hidden; }
.demo-leiste { display: flex; align-items: center; gap: var(--abstand-3); height: 44px; padding: 0 var(--abstand-4); border-bottom: 1px solid var(--line); background: #fafbfd; }
.demo-punkte { display: flex; gap: 6px; }
.demo-punkte i { width: 10px; height: 10px; border-radius: 50%; background: #dde2ea; }
.demo-adresse { display: inline-flex; align-items: center; gap: 6px; margin-inline: auto; padding: 3px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
.demo-adresse .ic { width: 12px; height: 12px; }
.demo-live { display: inline-flex; align-items: center; gap: 7px; font-size: .75rem; font-weight: 600; color: var(--ok); white-space: nowrap; }
.demo-live .punkt { width: 7px; height: 7px; }
.demo.ist-animiert:not(.ist-pausiert) .demo-live .punkt { animation-iteration-count: infinite; }
.demo.ist-pausiert .demo-live { color: var(--muted); }
.demo.ist-pausiert .demo-live .punkt { --s: var(--muted); animation: none; }
.demo-koerper { display: grid; grid-template-columns: 228px minmax(0, 1fr); min-height: 372px; }
.demo-ordner { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 2px; padding: 10px; border-right: 1px solid var(--line); background: #fafbfd; }
.demo-ordner li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; font-size: .8125rem; font-weight: 550; color: var(--text-2); transition: background-color .4s; }
.demo-ordner li:first-child { background: var(--surface-2); color: var(--text); }
.demo-ordner .ordner-ic { width: 26px; height: 26px; border-radius: 8px; }
.demo-ordner .ordner-ic .ic { width: 14px; height: 14px; }
.demo-ordner .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-ordner .kurz { display: none; }
.demo-ordner .zahl { min-width: 22px; text-align: right; font-size: .75rem; font-weight: 650; color: var(--muted); }
.demo-ordner li.ist-neu { background: color-mix(in srgb, var(--c) 13%, var(--surface)); }
.demo-ordner li.ist-neu .zahl { color: color-mix(in srgb, var(--c) 60%, var(--text)); animation: zahl-hupf .5s var(--ease-spring); }
@keyframes zahl-hupf { 40% { transform: scale(1.45); } }
.demo-haupt { position: relative; min-width: 0; display: flex; flex-direction: column; padding-bottom: var(--abstand-3); }
.demo.ist-animiert .demo-haupt { padding-bottom: 76px; }
.demo-kopfzeile { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 14px 16px 8px; }
.demo-kopfzeile b { font-size: .9375rem; }
.demo-kopfzeile span { font-size: .75rem; color: var(--muted); }
.demo-liste { display: flex; flex-direction: column; padding: 0 8px; }
.demo-mail { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 10px 8px; border-radius: 12px; box-shadow: inset 0 -1px 0 var(--line); }
.demo-mail .avatar { width: 34px; height: 34px; font-size: .8125rem; }
.demo-mail-text { flex: 1; min-width: 0; display: grid; }
.demo-mail-text b, .demo-mail-text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-mail-text b { font-size: .875rem; font-weight: 600; }
.demo-mail-text span { font-size: .8125rem; color: var(--muted); }
.demo-mail .ordner { flex: none; font-size: .75rem; max-width: 46%; overflow: hidden; text-overflow: ellipsis; }
.demo-mail .ordner.ist-rein { animation: chip-rein .45s var(--ease-spring) both; }
@keyframes chip-rein { from { opacity: 0; transform: scale(.6); } }
.demo-mail.ist-neu { background: color-mix(in srgb, var(--brand-soft) 70%, transparent); animation: mail-rein .5s var(--ease) both; }
@keyframes mail-rein { from { opacity: 0; transform: translateY(-14px); } }
.demo-lesen { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; overflow: hidden;
  background: var(--brand-soft); color: var(--brand); font-size: .75rem; font-weight: 600; white-space: nowrap; }
.demo-lesen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .75), transparent); transform: translateX(-100%); animation: schimmer 1.1s linear infinite; }
@keyframes schimmer { to { transform: translateX(100%); } }
.demo-lesen .ic { width: 13px; height: 13px; }
.demo-flug { position: absolute; z-index: 5; width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--brand)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--brand)) 25%, transparent); pointer-events: none; }
.demo-alarm { position: relative; display: flex; align-items: center; gap: 10px; margin: 0 14px 14px;
  padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--c-danger) 40%, var(--line)); box-shadow: var(--shadow-2);
  transition: opacity .35s var(--ease), transform .35s var(--ease); }
.demo-alarm-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--err-soft); color: var(--err); }
.demo-alarm-ic .ic { width: 18px; height: 18px; }
.demo-alarm b { display: block; font-size: .875rem; }
.demo-alarm span span { display: block; font-size: .75rem; color: var(--muted); }
.demo.ist-animiert .demo-alarm { position: absolute; left: 50%; bottom: 14px; width: max-content; max-width: calc(100% - 28px); margin: 0; transform: translateX(-50%); }
.demo.ist-animiert .demo-alarm:not(.ist-sichtbar) { opacity: 0; transform: translate(-50%, 14px); pointer-events: none; }
.demo-alarm.ist-sichtbar .demo-alarm-ic { animation: alarm-wackeln .6s var(--ease) .1s; }
@keyframes alarm-wackeln { 20%, 60% { transform: rotate(-9deg); } 40%, 80% { transform: rotate(9deg); } }

.demo-steuerung { display: flex; flex-wrap: wrap; align-items: center; gap: var(--abstand-2) var(--abstand-3); margin-top: var(--abstand-4); }
.demo-probier { width: 100%; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.demo-knoepfe { display: flex; flex-wrap: wrap; gap: var(--abstand-2); }
.demo-knopf { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-size: .8125rem; font-weight: 600; cursor: pointer; transition: border-color .2s, background-color .2s, transform .15s; }
.demo-knopf .ic { width: 16px; height: 16px; color: color-mix(in srgb, var(--c) 65%, var(--text)); }
.demo-knopf:hover { border-color: color-mix(in srgb, var(--c) 55%, var(--line)); background: color-mix(in srgb, var(--c) 8%, var(--surface)); }
.demo-knopf:active { transform: scale(.97); }
.demo-pause { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin-left: auto; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: .8125rem; font-weight: 600; cursor: pointer; }
.demo-pause:hover { background: var(--surface-2); color: var(--text); }
.demo-pause .ic { width: 15px; height: 15px; }
.demo-pause .ic-play, .demo-pause[aria-pressed="true"] .ic-pause { display: none; }
.demo-pause[aria-pressed="true"] .ic-play { display: block; }

@media (max-width: 639.98px) {
  .demo-adresse { display: none; }
  .demo-live { margin-left: auto; }
  .demo-koerper { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .demo-ordner { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .demo-ordner li { position: relative; flex-direction: column; gap: 3px; padding: 6px 2px 5px; text-align: center; font-size: .6875rem; }
  .demo-ordner li:first-child { background: transparent; }
  .demo-ordner .lang { display: none; }
  .demo-ordner .kurz { display: inline; }
  .demo-ordner .name { width: 100%; }
  .demo-ordner .zahl { position: absolute; top: 1px; left: calc(50% + 6px); min-width: 18px; padding: 0 4px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-align: center; font-size: .625rem; line-height: 16px; }
  .demo.ist-animiert .demo-haupt { padding-bottom: 84px; }
  .demo-mail { min-height: 56px; gap: 8px; }
  .demo-mail .avatar { width: 30px; height: 30px; }
  .demo-mail .ordner { font-size: .6875rem; max-width: 42%; }
}

/* ── 2 · Ordner erkunden ─────────────────────────────────────────────────── */
.erkunden { display: grid; gap: var(--abstand-5); }
@media (min-width: 900px) { .mg-js .erkunden { grid-template-columns: 290px minmax(0, 1fr); gap: var(--abstand-6); align-items: start; } }
.erkunden-tabs { display: grid; gap: 4px; }
.erkunden-tab { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 1px solid transparent; border-radius: var(--r-l); background: transparent; text-align: left; cursor: pointer; transition: background-color .2s, border-color .2s, box-shadow .25s; }
.erkunden-tab:hover { background: var(--surface); border-color: var(--line); }
.erkunden-tab[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-2); }
.erkunden-tab[aria-selected="true"]::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); }
.erkunden-tab-text { min-width: 0; }
.erkunden-tab-text b { display: block; font-size: .9375rem; font-weight: 600; }
.erkunden-tab-text .mono { display: block; font-size: .75rem; color: var(--muted); }
@media (max-width: 899.98px) {
  .erkunden-tabs { display: flex; flex-wrap: wrap; gap: var(--abstand-2); }
  .erkunden-tab { width: auto; padding: 4px 14px 4px 4px; border-color: var(--line); background: var(--surface); border-radius: 999px; gap: 8px; }
  .erkunden-tab .ordner-ic { width: 30px; height: 30px; border-radius: 50%; }
  .erkunden-tab .ordner-ic .ic { width: 15px; height: 15px; }
  .erkunden-tab-text b { font-size: .875rem; }
  .erkunden-tab-text .mono { display: none; }
  .erkunden-tab[aria-selected="true"] { border-color: color-mix(in srgb, var(--c) 55%, var(--line)); background: color-mix(in srgb, var(--c) 9%, var(--surface)); box-shadow: none; }
  .erkunden-tab[aria-selected="true"]::before { display: none; }
}
.erkunden-panels { display: grid; gap: var(--abstand-4); }
.erkunden-panel { display: grid; gap: var(--abstand-5); padding: clamp(20px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
@media (min-width: 700px) { .erkunden-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: var(--abstand-6); } }
.erkunden-panel:focus-visible { outline-offset: 4px; border-radius: var(--r-xl); }
.mg-bewegt .erkunden-panel.ist-neu .ep-info { animation: panel-rein .45s var(--ease) both; }
.mg-bewegt .erkunden-panel.ist-neu .ep-mail { animation: panel-rein .5s var(--ease) .06s both; }
@keyframes panel-rein { from { opacity: 0; transform: translateY(10px); } }
.ep-titel { display: flex; align-items: center; gap: 12px; font-size: 1.375rem; letter-spacing: -.025em; }
.ep-titel .ordner-ic { width: 40px; height: 40px; border-radius: 12px; }
.ep-titel .ordner-ic .ic { width: 20px; height: 20px; }
.ep-info > p { margin-top: var(--abstand-3); color: var(--text-2); }
.ep-info > .ep-gruende-titel { margin-top: var(--abstand-5); font-size: var(--schrift-mini); font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ep-gruende { list-style: none; display: grid; gap: 10px; margin-top: var(--abstand-3); counter-reset: grund; }
.ep-gruende li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: .9375rem; }
.ep-gruende li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: color-mix(in srgb, var(--c) 15%, var(--surface)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1730' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ep-gruende--nummern li::before { counter-increment: grund; content: counter(grund); display: grid; place-items: center; background: var(--err); color: #fff; font-size: .6875rem; font-weight: 700; }
.ep-mail { position: relative; display: grid; gap: 10px; padding: var(--abstand-4); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-l); }
.ep-mail-kopf { display: flex; align-items: center; gap: 10px; }
.ep-mail-von { flex: 1; min-width: 0; }
.ep-mail-von b { display: block; font-size: .9375rem; }
.ep-mail-von span { display: block; font-size: .8125rem; color: var(--muted); overflow-wrap: anywhere; }
.ep-mail-zeit { align-self: flex-start; font-size: .75rem; color: var(--muted); }
.ep-mail-betreff { font-weight: 650; font-size: 1rem; }
.ep-mail-text { font-size: .9375rem; color: var(--text-2); }
.ep-mail-knopf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8125rem; }
.ep-mail-knopf > span { display: inline-block; padding: 6px 12px; border-radius: 8px; background: #1e40af; color: #fff; font-weight: 600; }
.ep-mail-anhang { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; width: fit-content; padding: 6px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: .8125rem; font-family: var(--mono); }
.ep-mail-anhang .ic { width: 15px; height: 15px; color: var(--muted); }
.ep-gelesen { display: inline-flex; align-items: center; gap: 3px; font-family: var(--font); font-weight: 600; color: var(--ok); }
.ep-gelesen .ic { color: var(--ok); width: 14px; height: 14px; }
.ep-mail-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; padding-top: 12px; border-top: 1px dashed var(--line-strong); font-size: .8125rem; color: var(--muted); }
.ep-mail-fuss > .ic { width: 16px; height: 16px; }
.ep-mg { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text-2); }
.ep-zeichen { width: 20px; height: 20px; }
mark[data-n] { position: relative; padding: 0 3px; border-radius: 4px; background: rgb(239 68 68 / .14); color: inherit; box-shadow: inset 0 -2px 0 var(--err); }
mark[data-n]::after { content: attr(data-n); position: absolute; top: -10px; right: -9px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; background: var(--err); color: #fff; font: 700 10px/1 var(--font); box-shadow: 0 0 0 2px var(--bg); }

/* ── 3 · Ablauf mit klebender Bühne ──────────────────────────────────────── */
.ablauf-raster { display: grid; gap: var(--abstand-6); }
@media (min-width: 1000px) { .ablauf-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--abstand-8); } }
.ablauf-schritte { list-style: none; display: grid; }
.ablauf-schritt { position: relative; padding: var(--abstand-5) 0 var(--abstand-5) var(--abstand-5); border-left: 2px solid var(--line); }
.ablauf-schritt h3, .ablauf-schritt p, .schritt-nr { transition: color .35s; }
.ablauf-schritt::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--brand); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.ablauf-schritt.ist-aktiv::before { transform: scaleY(1); }
.schritt-nr { font-size: var(--schrift-mini); font-weight: 600; color: var(--brand); }
.ablauf-schritt h3 { margin-top: var(--abstand-2); }
.ablauf-schritt p { margin-top: var(--abstand-2); color: var(--text-2); max-width: 36em; }
.ablauf[data-bereit] .ablauf-schritt:not(.ist-aktiv) h3 { color: var(--text-2); }
.ablauf[data-bereit] .ablauf-schritt:not(.ist-aktiv) p, .ablauf[data-bereit] .ablauf-schritt:not(.ist-aktiv) .schritt-nr { color: var(--muted); }
@media (min-width: 1000px) {
  .ablauf[data-bereit] .ablauf-schritt { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; }
  .ablauf[data-bereit] .ablauf-schritt:first-child { min-height: 46vh; justify-content: flex-start; }
  .ablauf .buehne { position: sticky; top: calc(var(--kopf-hoehe) + 8vh); }
}
@media (max-width: 999.98px) {
  .ablauf[data-bereit] .buehne-halter { display: contents; }
  .ablauf[data-bereit] .buehne { order: -1; position: sticky; top: calc(var(--kopf-hoehe) + 8px); z-index: 2; align-self: start; box-shadow: 0 -12px 0 var(--surface), var(--shadow-3); }
  .ablauf[data-bereit] .ablauf-schritt { min-height: 62vh; padding-top: var(--abstand-6); }
  .ablauf[data-bereit] .ablauf-schritt:last-child { min-height: 50vh; }
}

.buehne { position: relative; display: flex; flex-direction: column; gap: var(--abstand-3); padding: var(--abstand-4); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-3); overflow: hidden; }
@media (min-width: 1000px) { .buehne { min-height: 470px; padding: var(--abstand-5); } }
.b-kopf { display: flex; align-items: center; gap: 8px; min-height: 24px; font-size: .8125rem; font-weight: 600; color: var(--text-2); }
.b-status { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-fortschritt { list-style: none; display: flex; gap: 4px; margin-left: auto; }
.b-fortschritt li { width: 18px; height: 4px; border-radius: 4px; background: var(--surface-3); transition: background-color .3s; }
.buehne:not(.bereit) .b-fortschritt li, .buehne.ist-1 .b-fortschritt li:nth-child(1), .buehne.ist-2 .b-fortschritt li:nth-child(-n+2),
.buehne.ist-3 .b-fortschritt li:nth-child(-n+3), .buehne.ist-4 .b-fortschritt li { background: var(--brand); }
.b-mail { position: relative; overflow: hidden; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); transition: transform .5s var(--ease), opacity .5s; }
.buehne.ist-1 .b-mail { animation: b-ankunft .7s var(--ease) both; }
@keyframes b-ankunft { from { opacity: 0; transform: translateY(-24px) scale(.97); } }
.buehne.ist-3 .b-mail { transform: scale(.98); opacity: .8; }
.b-mail-kopf { display: flex; align-items: center; gap: 10px; }
.b-mail-von { flex: 1; min-width: 0; }
.b-mail-von b { display: block; font-size: .9375rem; }
.b-mail-von span { display: block; font-size: .8125rem; color: var(--muted); }
.b-mail-zeit { font-size: .75rem; color: var(--muted); }
.b-mail-inhalt { display: grid; gap: 8px; margin-top: 12px; }
.b-zeile { display: block; height: 8px; border-radius: 4px; background: var(--surface-2); }
.b-zeile--kurz { width: 62%; }
.b-fakten { font-size: .8125rem; color: var(--text-2); }
.b-fakten mark { padding: 0 2px; border-radius: 4px; background: transparent; color: inherit; font-weight: 600; transition: background-color .5s; }
.buehne:not(.bereit) .b-fakten mark, .buehne.ist-2 .b-fakten mark, .buehne.ist-3 .b-fakten mark, .buehne.ist-4 .b-fakten mark { background: rgb(245 158 11 / .22); }
.b-anhang { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 10px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: .8125rem; }
.b-anhang .mono { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-pdf { flex: none; padding: 2px 6px; border-radius: 5px; background: #d6342b; color: #fff; font-size: .6875rem; font-weight: 700; }
.b-lese { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: var(--ok); font-weight: 600; white-space: nowrap; }
.b-lese .ic { width: 14px; height: 14px; }
.b-scanner { position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent 0%, rgb(36 86 214 / .06) 40%, rgb(36 86 214 / .28) 49%, rgb(36 86 214 / .5) 50%, transparent 51%); }
.mg-bewegt .buehne.ist-2 .b-scanner { animation: b-scan 1.5s var(--ease-in-out) .15s 2 both; }
@keyframes b-scan { 0% { opacity: 1; transform: translateY(-55%); } 100% { opacity: 1; transform: translateY(50%); } }
.b-pruefung { list-style: none; display: grid; gap: 6px; }
.b-pruefung li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: .875rem; font-weight: 550; }
.b-pruefung .ic { width: 18px; height: 18px; color: var(--ok); }
.b-ziel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.b-ordner { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; font-weight: 650; font-size: .9375rem;
  background: color-mix(in srgb, var(--c) 14%, var(--surface)); color: color-mix(in srgb, var(--c) 55%, var(--text)); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.b-ordner .ic, .b-weiter .ic { width: 18px; height: 18px; }
.b-weiter .kurz { display: none; }
@media (max-width: 999.98px) { .b-weiter .kurz { display: inline; } }
.b-weiter { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--line-strong); background: var(--surface); font-size: .875rem; color: var(--text-2); }
.mg-bewegt .buehne.ist-3 .b-ordner { animation: chip-rein .5s var(--ease-spring) .1s both; }
.mg-bewegt .buehne.ist-3 .b-weiter { animation: weiter-rein .5s var(--ease) .45s both; }
@keyframes weiter-rein { from { opacity: 0; transform: translateX(-12px); } }
.b-portal { padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }
.b-portal-kopf { display: flex; align-items: center; gap: 8px; font-size: .9375rem; }
.b-portal-zeichen { width: 22px; height: 22px; }
.b-portal-zahl { margin-left: auto; font-size: .8125rem; color: var(--muted); }
.b-portal-zahl b { font-size: 1rem; color: var(--text); }
.b-portal-liste { list-style: none; display: grid; margin-top: 10px; }
.b-portal-liste li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 18px; align-items: center; gap: 10px; padding: 10px 6px; border-top: 1px solid var(--line); font-size: .8125rem; }
.b-portal-liste .mono { font-size: .75rem; color: var(--muted); }
.b-pl-text { min-width: 0; }
.b-pl-text b, .b-pl-text span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-pl-text span { color: var(--muted); }
.b-pl-weiter { color: var(--brand); }
.b-pl-weiter .ic { width: 16px; height: 16px; }
.b-portal-liste li.ist-neu { border-radius: 10px; background: var(--brand-soft); border-top-color: transparent; }
/* Stufen: nur mit JavaScript (Klasse .bereit) – ohne bleibt der Endzustand stehen */
.buehne.bereit [data-ab] { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.buehne.bereit [data-ab]:not(.b-portal) { opacity: 0; transform: translateY(10px); }
.buehne.bereit.ist-2 [data-ab="2"]:not(.b-portal), .buehne.bereit.ist-3 [data-ab="2"]:not(.b-portal), .buehne.bereit.ist-3 [data-ab="3"]:not(.b-portal), .buehne.bereit.ist-4 [data-ab]:not(.b-portal) { opacity: 1; transform: none; }
.buehne.bereit .b-pruefung li { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.mg-bewegt .buehne.ist-2 .b-pruefung li { animation: panel-rein .45s var(--ease) both; }
.mg-bewegt .buehne.ist-2 .b-pruefung li:nth-child(2) { animation-delay: .35s; }
.mg-bewegt .buehne.ist-2 .b-pruefung li:nth-child(3) { animation-delay: .7s; }
.buehne.bereit .b-portal { position: absolute; left: var(--abstand-4); right: var(--abstand-4); bottom: var(--abstand-4); top: 52px; z-index: 3; box-shadow: var(--shadow-3);
  opacity: 0; transform: translateY(28px); pointer-events: none; transition: opacity .45s var(--ease), transform .5s var(--ease); }
.buehne.bereit.ist-4 .b-portal { opacity: 1; transform: none; }
.mg-bewegt .buehne.ist-4 .b-portal-liste li.ist-neu { animation: panel-rein .5s var(--ease) .3s both; }
@media (min-width: 1000px) { .buehne.bereit .b-portal { left: var(--abstand-5); right: var(--abstand-5); bottom: var(--abstand-5); top: 60px; } }
@media (max-width: 999.98px) {
  .buehne { gap: 10px; }
  .b-mail { padding: 12px; }
  .b-mail-inhalt .b-zeile { display: none; }
  .b-mail-inhalt { margin-top: 8px; }
  .b-anhang { margin-top: 8px; padding: 6px 8px; }
  .b-mail-von b { font-size: .875rem; }
  .b-fakten { font-size: .75rem; }
  .b-pruefung { display: flex; flex-wrap: wrap; gap: 6px; }
  .b-pruefung li { padding: 3px 9px 3px 5px; border-radius: 999px; font-size: .75rem; }
  .b-ziel { flex-wrap: nowrap; }
  .b-weiter .lang { display: none; }
  .b-pruefung .ic { width: 15px; height: 15px; }
  .b-ordner { padding: 8px 12px; font-size: .875rem; }
  .b-weiter { padding: 8px 10px; font-size: .8125rem; }
  .b-portal-liste li { grid-template-columns: 38px minmax(0, 1fr) auto; }
  .b-pl-weiter { display: none; }
}

/* ── 4 · Funktionen (Bento) ──────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--abstand-4); }
.kachel { grid-column: span 6; display: flex; flex-direction: column; gap: var(--abstand-2); padding: var(--abstand-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; transition: border-color .2s, box-shadow .3s, opacity .7s var(--ease), transform .7s var(--ease); }
.kachel:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); }
.kachel p { color: var(--text-2); font-size: .9375rem; }
@media (min-width: 700px) { .kachel { grid-column: span 3; } .kachel--protokoll { grid-column: span 6; } }
@media (min-width: 1000px) {
  .kachel--protokoll { grid-column: span 4; }
  .kachel--whitelist, .kachel--weiter, .kachel--anhang, .kachel--handy { grid-column: span 2; }
  .kachel--tempo, .kachel--sicher { grid-column: span 3; }
}
.kachel-ui { position: relative; display: grid; place-items: center; height: 176px; margin-bottom: var(--abstand-3); padding: var(--abstand-4); overflow: hidden;
  border-radius: var(--r-l); border: 1px solid var(--line); background: var(--bg) radial-gradient(circle at 1px 1px, rgb(14 23 48 / .07) 1px, transparent 0) 0 0 / 14px 14px; }
/* Bewegung in den Mini-Oberflächen: beim ersten Erscheinen (.spielt), mit der Maus noch einmal */
.mg-bewegt .kachel:not(.spielt) .mp-zeile, .mg-bewegt .kachel:not(.spielt) .mini-chips .chip, .mg-bewegt .kachel:not(.spielt) .mr-zeile,
.mg-bewegt .kachel:not(.spielt) .datei { opacity: 0; transform: translateY(10px); }
.mp-zeile, .mini-chips .chip, .mr-zeile, .datei { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.mp-zeile:nth-child(3), .mini-chips .chip:nth-child(2), .mr-zeile:nth-child(2), .datei:nth-child(2) { transition-delay: .1s; }
.mp-zeile:nth-child(4), .mini-chips .chip:nth-child(3), .datei:nth-child(3) { transition-delay: .2s; }
.mp-zeile:nth-child(5) { transition-delay: .3s; }

.mini-protokoll { width: 100%; max-width: 560px; display: grid; gap: 6px; }
.mp-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
.mp-kopf > span { display: inline-flex; align-items: center; gap: 6px; }
.mp-kopf .ic { width: 14px; height: 14px; }
.mp-filter .ordner, .mp-filter .chip { font-size: .6875rem; padding-block: 1px; }
.mp-zeile { display: grid; grid-template-columns: 52px minmax(0, .9fr) minmax(0, 1.2fr) auto; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: .75rem; }
.mp-zeile .mono { color: var(--muted); font-size: .6875rem; }
.mp-zeile b, .mp-betreff { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-betreff { color: var(--muted); }
.mp-zeile .ordner { font-size: .6875rem; padding-block: 1px; }
@media (max-width: 559.98px) { .mp-zeile { grid-template-columns: 46px minmax(0, 1fr) auto; } .mp-betreff { display: none; } }
.mini-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mini-chips .chip { background: var(--surface); padding: 6px 12px; }
.mini-chips .chip .ic { width: 14px; height: 14px; color: var(--ok); }
.mini-chips .chip--neu { border-style: dashed; color: var(--brand); }
.mini-chips .chip--neu .ic { color: var(--brand); }
.mini-regeln { width: 100%; display: grid; gap: 8px; }
.mr-zeile { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: .75rem; }
.mr-zeile > .ic { width: 14px; height: 14px; color: var(--muted); flex: none; }
.mr-zeile .mono { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.mr-zeile .ordner { font-size: .6875rem; }
.mini-schalter { flex: none; position: relative; width: 30px; height: 18px; margin-left: auto; border-radius: 999px; background: var(--surface-3); transition: background-color .3s .5s; }
.mini-schalter::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(14 23 48 / .3); transition: transform .3s var(--ease-spring) .5s; }
.mini-schalter.ist-an { background: var(--brand); }
.mini-schalter.ist-an::after { transform: translateX(12px); }
.mg-bewegt .kachel:not(.spielt) .mini-schalter.ist-an { background: var(--surface-3); }
.mg-bewegt .kachel:not(.spielt) .mini-schalter.ist-an::after { transform: none; }
.mini-dateien { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.datei { position: relative; display: grid; justify-items: center; gap: 4px; width: 72px; padding: 14px 6px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: .6875rem; color: var(--muted); }
.datei b { padding: 1px 6px; border-radius: 4px; color: #fff; font-size: .625rem; letter-spacing: .04em; }
.datei[data-typ="pdf"] b { background: #d6342b; }
.datei[data-typ="doc"] b { background: #2456d6; }
.datei[data-typ="bild"] b { background: #0b7553; }
.datei > .ic { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--ok); color: #fff; box-shadow: 0 0 0 2px var(--bg); }
.mini-handy { width: 150px; height: 210px; margin-bottom: -70px; padding: 8px; border-radius: 26px; background: var(--mg-tinte); box-shadow: var(--shadow-2); }
.mh-schirm { height: 100%; border-radius: 19px; padding: 10px 8px; background: linear-gradient(160deg, #dbe6ff, #f2f5fb 60%); display: grid; align-content: start; gap: 10px; }
.mh-zeit { text-align: center; font-size: .875rem; font-weight: 600; color: var(--text); }
.mh-push { display: flex; gap: 6px; align-items: flex-start; padding: 7px; border-radius: 12px; background: rgb(255 255 255 / .92); box-shadow: 0 6px 16px -8px rgb(14 23 48 / .4); font-size: .5625rem; line-height: 1.35; transition: opacity .5s var(--ease) .2s, transform .5s var(--ease) .2s; }
.mh-push b { display: block; font-size: .625rem; }
.mh-push span span { display: block; color: var(--muted); }
.mh-zeichen { width: 18px; height: 18px; flex: none; }
.mg-bewegt .kachel:not(.spielt) .mh-push { opacity: 0; transform: translateY(-14px); }
.mini-tempo { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 420px; }
.mt-punkt { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: .6875rem; color: var(--muted); white-space: nowrap; }
.mt-punkt b { font-size: .8125rem; color: var(--text); }
.mt-punkt:last-child { border-color: color-mix(in srgb, var(--c-invoice) 45%, var(--line)); }
.mt-linie { position: relative; flex: 1; height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.mt-linie i { position: absolute; inset: 0; border-radius: inherit; background: var(--mg-verlauf); transform-origin: left; transition: transform 1.2s var(--ease-in-out) .2s; }
.mg-bewegt .kachel:not(.spielt) .mt-linie i { transform: scaleX(0); }
.mini-zurueck { display: grid; gap: 10px; justify-items: center; }
.mz-mail { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: .75rem; box-shadow: var(--shadow-1); }
.mz-mail .avatar { width: 28px; height: 28px; font-size: .75rem; }
.mz-mail b { display: block; font-size: .8125rem; }
.mz-mail span span { color: var(--muted); }
.mz-weg { display: flex; align-items: center; gap: 6px; }
.mz-weg .ordner { font-size: .6875rem; }
.mz-weg .ic { width: 16px; height: 16px; color: var(--muted); }
.mg-bewegt .kachel--sicher .mz-mail { transition: transform .6s var(--ease) .2s; }
.mg-bewegt .kachel--sicher:not(.spielt) .mz-mail { transform: translateX(-24px) rotate(-3deg); }

/* ── 5 · Datenschutz ─────────────────────────────────────────────────────── */
.sicher-raster { display: grid; gap: var(--abstand-7); }
@media (min-width: 1000px) { .sicher-raster { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--abstand-8); align-items: center; } }
.sicher .einleitung { margin-top: var(--abstand-4); }
.sicher-fakten { list-style: none; display: grid; gap: var(--abstand-5); margin-top: var(--abstand-6); }
.sicher-fakten li { display: flex; gap: 14px; }
.sf-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.sf-ic .ic { width: 20px; height: 20px; }
.sicher-fakten b { display: block; font-size: 1rem; }
.sicher-fakten span { color: var(--text-2); font-size: .9375rem; }
.weg-karte { padding: clamp(20px, 3vw, 32px); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); }
.weg-knoten { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }
.weg-knoten b { display: block; font-size: .9375rem; }
.weg-knoten span span { display: block; font-size: .8125rem; color: var(--muted); }
.weg-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); }
.weg-ic .ic { width: 22px; height: 22px; }
.weg-knoten--ki { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); box-shadow: 0 0 0 4px var(--brand-soft); }
.weg-knoten--ki .weg-ic { background: var(--mg-verlauf); color: #fff; }
.weg-ram { flex: none; margin-left: auto; padding: 3px 8px; border-radius: 999px; background: var(--ok-soft); color: #11692f; font-size: .6875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.weg-linie { position: relative; display: flex; align-items: center; height: 52px; margin-left: 37px; border-left: 2px dashed var(--line-strong); }
.weg-linie > span { margin-left: 16px; font-size: .75rem; font-weight: 600; color: var(--muted); }
.weg-paket { position: absolute; left: -7px; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); opacity: 0; }
.mg-bewegt .weg.ist-sichtbar .weg-paket { animation: paket 1.5s var(--ease-in-out) .4s 2; }
.mg-bewegt .weg.ist-sichtbar .weg-linie + .weg-knoten + .weg-linie .weg-paket { animation-delay: 1.15s; }
@keyframes paket { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: calc(100% - 12px); opacity: 0; } }
.weg-fuss { display: flex; align-items: center; gap: 10px; margin-top: var(--abstand-5); font-size: .875rem; font-weight: 600; color: var(--text-2); }
.flagge { flex: none; display: grid; width: 22px; height: 15px; overflow: hidden; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); }
.flagge i:nth-child(1) { background: #000; }
.flagge i:nth-child(2) { background: #dd0000; }
.flagge i:nth-child(3) { background: #ffce00; }

/* ── 6 · Drei Schritte ───────────────────────────────────────────────────── */
.drei-schritte { list-style: none; display: grid; gap: var(--abstand-4); }
@media (min-width: 900px) { .drei-schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--abstand-5); } }
.drei-schritte > li { position: relative; display: flex; flex-direction: column; gap: var(--abstand-2); padding: var(--abstand-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
.drei-schritte p { color: var(--text-2); font-size: .9375rem; }
.ds-nr { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: var(--abstand-2); border-radius: 12px; background: var(--knopf); color: #fff; font-weight: 700; }
@media (min-width: 900px) { .drei-schritte > li:not(:last-child)::after { content: ""; position: absolute; top: 41px; right: -25px; width: 26px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 4px, transparent 4px 8px); } }
.mini-ui { display: grid; gap: 8px; margin-top: auto; padding-top: var(--abstand-4); }
.mu-feld { padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); }
.mu-label { display: block; font-size: .6875rem; font-weight: 600; color: var(--muted); }
.mu-wert { font-size: .875rem; font-weight: 550; }
.mu-knopf { padding: 9px; border-radius: 10px; background: var(--knopf); color: #fff; text-align: center; font-size: .875rem; font-weight: 600; }
.mu-ok { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); font-size: .8125rem; font-weight: 600; }
.mu-ok .ic { width: 16px; height: 16px; }
.mini-ui--ordner { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── 7 · Preise ──────────────────────────────────────────────────────────── */
.intervall { margin-top: var(--abstand-6); }
.preis-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--abstand-4); align-items: stretch; }
.preis { position: relative; display: flex; flex-direction: column; padding: var(--abstand-5); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); transition: border-color .2s, box-shadow .3s, opacity .7s var(--ease), transform .7s var(--ease); }
.preis:hover { border-color: var(--line-strong); }
.preis--top { background: var(--surface); border-color: var(--knopf); box-shadow: var(--shadow-3); }
.preis--top:hover { border-color: var(--knopf); }
.preis--aktuell { border-color: var(--ok); }
.preis-band { position: absolute; top: -12px; left: var(--abstand-5); display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: var(--knopf); color: #fff; font-size: .75rem; font-weight: 650; }
.preis-band .ic { width: 12px; height: 12px; color: var(--mg-funke); fill: var(--mg-funke); }
.preis-band--aktuell { left: auto; right: var(--abstand-5); background: var(--ok); }
.preis-name { font-size: 1.25rem; letter-spacing: -.02em; }
.preis-zeile { margin-top: 4px; min-height: 3.1em; font-size: .875rem; color: var(--muted); }
.preis-betrag { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 4px; margin-top: var(--abstand-4); }
.preis-wert { font-size: 2.625rem; font-weight: 700; letter-spacing: -.045em; line-height: 1.05; }
.preis-eur { font-size: 1.5rem; font-weight: 650; letter-spacing: -.02em; }
.preis-pro { margin-left: 4px; font-size: .875rem; color: var(--muted); }
.preis-unter { min-height: 1.5em; margin: 4px 0 var(--abstand-5); font-size: .8125rem; color: var(--muted); }
.preis.wechselt .preis-wert, .preis.wechselt .preis-pro, .preis.wechselt .preis-unter { animation: preis-wechsel .4s var(--ease); }
@keyframes preis-wechsel { from { opacity: 0; transform: translateY(6px); } }
.preis-liste { list-style: none; display: grid; gap: 8px; margin-top: var(--abstand-5); padding-top: var(--abstand-4); border-top: 1px solid var(--line); font-size: .9375rem; }
.preis-liste li { display: flex; align-items: center; gap: 8px; }
.preis-liste .ic { width: 18px; height: 18px; color: var(--ok); }
.preis-alle { display: flex; flex-wrap: wrap; align-items: center; gap: var(--abstand-3) var(--abstand-5); margin-top: var(--abstand-5); padding: var(--abstand-5); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--bg); }
.preis-alle-titel { font-weight: 650; }
.preis-alle ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--abstand-2) var(--abstand-5); }
.preis-alle li { display: inline-flex; align-items: center; gap: 6px; font-size: .9375rem; color: var(--text-2); }
.preis-alle .ic { width: 16px; height: 16px; color: var(--ok); }
.preis-fuss { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--abstand-2) var(--abstand-5); margin-top: var(--abstand-5); font-size: .875rem; color: var(--muted); text-align: center; }
.preis-fuss span { display: inline-flex; align-items: center; gap: 6px; }
.preis-fuss .ic { width: 16px; height: 16px; }

/* ── 8 · Fragen ──────────────────────────────────────────────────────────── */
.fragen-raster { display: grid; gap: var(--abstand-6); }
@media (min-width: 1000px) {
  .fragen-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: var(--abstand-8); align-items: start; }
  .fragen-raster .abschnitt-kopf { position: sticky; top: calc(var(--kopf-hoehe) + 32px); margin-bottom: 0; }
}
.faq { border-top: 1px solid var(--line); }
.frage { border-bottom: 1px solid var(--line); }
.frage summary { display: flex; align-items: center; justify-content: space-between; gap: var(--abstand-4); min-height: 64px; padding: var(--abstand-4) 0; cursor: pointer; list-style: none; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary:hover { color: var(--brand); }
.frage summary:focus-visible { outline-offset: 4px; }
.frage-ic { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--text); transition: transform .35s var(--ease), background-color .25s, border-color .25s, color .25s; }
.frage-ic .ic { width: 16px; height: 16px; }
.frage[open] .frage-ic { transform: rotate(45deg); background: var(--knopf); border-color: var(--knopf); color: #fff; }
.frage-antwort p { padding: 0 var(--abstand-7) var(--abstand-5) 0; color: var(--text-2); }
@media (max-width: 559.98px) { .frage-antwort p { padding-right: 0; } }
/* weiches Aufklappen, wo der Browser es kann (sonst sofort) */
.frage::details-content { block-size: 0; overflow: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.frage[open]::details-content { block-size: auto; }

/* ── 9 · Kontakt ─────────────────────────────────────────────────────────── */
.kontakt-raster { display: grid; gap: var(--abstand-7); }
@media (min-width: 1000px) { .kontakt-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--abstand-8); align-items: start; } }
.ueber .einleitung { margin-top: var(--abstand-4); }
.partner { display: flex; gap: var(--abstand-4); margin-top: var(--abstand-6); padding: var(--abstand-5); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); }
.partner-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--mg-funke-soft); color: #7a5200; }
.partner-ic .ic { width: 20px; height: 20px; }
.partner p { margin-top: 6px; color: var(--text-2); font-size: .9375rem; }
.partner .textlink { margin-top: 4px; }
.kontakt-form { display: grid; gap: var(--abstand-4); background: var(--bg); }
.kontakt-unter { margin-top: -8px; color: var(--muted); font-size: .875rem; }
.kontakt-felder { display: grid; gap: var(--abstand-4); }
.kontakt-direkt { text-align: center; font-size: .875rem; color: var(--muted); }
.kontakt-danke { display: grid; justify-items: center; gap: 8px; padding: var(--abstand-6) var(--abstand-4); text-align: center; }
.kontakt-danke b { font-size: 1.25rem; }
.kontakt-danke > span:last-child { color: var(--text-2); }
.kd-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); animation: plopp .5s var(--ease-spring); }
.kd-ic .ic { width: 28px; height: 28px; }
@keyframes plopp { from { transform: scale(.5); opacity: 0; } }

/* ── 10 · Schluss-Aufruf (einziges dunkles Band) ──────────────────────────── */
.schluss { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 9vw, 112px) 0; background: var(--mg-tinte); color: #fff; text-align: center; }
.schluss-grund { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 70% at 50% 0%, rgb(59 130 246 / .34), transparent 70%), radial-gradient(35% 50% at 85% 100%, rgb(67 56 202 / .4), transparent 70%), radial-gradient(25% 40% at 10% 90%, rgb(255 209 102 / .12), transparent 70%); }
.schluss-grund::after { content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px); background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 75%); }
.schluss-zeichen { width: 64px; height: 64px; margin: 0 auto var(--abstand-5); filter: drop-shadow(0 14px 30px rgb(59 130 246 / .5)); }
.schluss h2 { max-width: 18ch; margin-inline: auto; color: #fff; }
.schluss .einleitung { margin: var(--abstand-4) auto 0; color: #c9d3e8; }
.schluss-aktionen { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--abstand-3) var(--abstand-5); margin-top: var(--abstand-6); }
.schluss-link { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 600; }
.schluss :focus-visible { outline-color: #a9c1ff; }

/* ── Fuß ─────────────────────────────────────────────────────────────────── */
.fuss { padding-top: var(--abstand-8); background: var(--surface); border-top: 1px solid var(--line); }
.schluss + .fuss { border-top: 0; }
.fuss-innen { display: grid; gap: var(--abstand-7); }
@media (min-width: 1000px) { .fuss-innen { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: var(--abstand-8); } }
.fuss-marke p { max-width: 34ch; margin-top: var(--abstand-3); color: var(--text-2); font-size: .9375rem; }
.fuss-marke .fuss-klein { font-size: .875rem; color: var(--muted); }
.fuss-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--abstand-6) var(--abstand-5); }
@media (min-width: 700px) { .fuss-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fuss-nav h2 { margin-bottom: var(--abstand-3); font-size: var(--schrift-mini); font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fuss-nav ul { list-style: none; display: grid; gap: 2px; }
.fuss-nav a { display: inline-flex; align-items: center; min-height: 32px; color: var(--text-2); font-size: .9375rem; text-decoration: none; }
.fuss-nav a:hover { color: var(--brand); text-decoration: underline; }
.fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--abstand-2) var(--abstand-5); margin-top: var(--abstand-7); padding: var(--abstand-5) 0 var(--abstand-6); border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.fuss-unten span { display: inline-flex; align-items: center; gap: 6px; }
.fuss-unten a { color: var(--text-2); font-weight: 600; }
.fuss-nav a.fuss-kuendigen { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.fuss-nav a.fuss-kuendigen:hover { color: var(--brand); text-decoration-color: currentColor; }
.fuss-unten .ic { width: 14px; height: 14px; }

/* ── Rechtstexte (.lesen) ─────────────────────────────────────────────────── */
.lesen { padding: clamp(40px, 6vw, 72px) 0 var(--abstand-9); }
.lesen-kopf { margin-bottom: var(--abstand-6); padding-bottom: var(--abstand-5); border-bottom: 1px solid var(--line); }
.lesen-kopf .titel-2 { margin-top: 2px; }
.lesen-kopf .stand { margin-top: var(--abstand-2); font-size: .875rem; color: var(--muted); }
.lesen-inhalt { margin: 0 0 var(--abstand-7); padding: var(--abstand-5) var(--abstand-5) var(--abstand-5) calc(var(--abstand-5) + 1.25em); list-style: decimal; columns: 2 240px; column-gap: var(--abstand-6);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); font-size: .9375rem; }
.lesen-inhalt li { padding: 3px 0; break-inside: avoid; color: var(--muted); }
.lesen-inhalt a { color: var(--text-2); text-decoration: none; }
.lesen-inhalt a:hover { color: var(--brand); text-decoration: underline; }
.lesen-text { max-width: 70ch; font-size: 1.0625rem; line-height: 1.7; color: var(--text-2); }
.lesen-text h2 { margin: var(--abstand-7) 0 var(--abstand-3); font-size: 1.3125rem; color: var(--text); scroll-margin-top: calc(var(--kopf-hoehe) + 24px); }
.lesen-text > h2:first-child { margin-top: 0; }
.lesen-text h3 { margin: var(--abstand-5) 0 var(--abstand-2); font-size: 1.0625rem; color: var(--text); }
.lesen-text p, .lesen-text ul, .lesen-text ol, .lesen-text address, .lesen-text table, .lesen-text .kasten { margin: 0 0 var(--abstand-4); }
.lesen-text address { font-style: normal; }
.lesen-text ul, .lesen-text ol { padding-left: 1.3em; }
.lesen-text li { margin: 4px 0; }
.lesen-text li::marker { color: var(--muted); }
.lesen-text a { overflow-wrap: anywhere; }
.lesen-text strong, .lesen-text b { color: var(--text); }
.lesen-text .kasten { padding: var(--abstand-4) var(--abstand-5); border-radius: var(--r-l); background: var(--brand-soft); border: 1px solid rgb(36 86 214 / .15); color: var(--text); }
.lesen-text .kasten > :last-child { margin-bottom: 0; }
.lesen-text table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.lesen-text th, .lesen-text td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.lesen-text th { color: var(--text); font-weight: 650; background: var(--surface-2); }
.lesen-text .formular { max-width: 560px; margin-top: var(--abstand-5); padding: clamp(20px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); line-height: 1.5; }
.lesen-text .formular p { margin: 0; }
.lesen-text .formular .btn { justify-self: start; }
.lesen-text .formular + .kasten, .lesen-text [data-bestaetigung] { margin-top: var(--abstand-5); }
.pruefen { padding: 1px 6px; border-radius: 4px; background: #fff7dc; border: 1px dashed #e3c35c; color: #6b4e00; font-size: .8125rem; font-weight: 500; }

/* ── 404 ─────────────────────────────────────────────────────────────────── */
.nicht-da { position: relative; isolation: isolate; padding: clamp(48px, 10vw, 120px) 0 var(--abstand-9); text-align: center; }
.nicht-da .held-grund { inset: calc(-1 * var(--kopf-hoehe)) 0 0; }
.nd-bild { position: relative; width: min(340px, 100%); margin: 0 auto var(--abstand-6); }
.nd-mail { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-3); text-align: left; }
.nd-mail .avatar { width: 34px; height: 34px; }
.nd-mail b { display: block; font-size: .9375rem; }
.nd-mail span span { display: block; font-size: .8125rem; color: var(--muted); }
.nd-mail .ordner { margin-left: auto; }
.mg-bewegt .nd-mail { animation: nd-schweben 4s var(--ease-in-out) 2 alternate; }
@keyframes nd-schweben { 50% { transform: translateY(-6px) rotate(-1deg); } }
.nd-code { font-size: var(--schrift-mini); font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.nicht-da h1 { max-width: 20ch; margin: var(--abstand-3) auto 0; }
.nicht-da .einleitung { margin: var(--abstand-4) auto 0; }
.nd-aktionen { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--abstand-3); margin-top: var(--abstand-6); }
.nd-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--abstand-2) var(--abstand-5); margin-top: var(--abstand-6); font-size: .9375rem; }
