/* IDO Fahrtenbuch – Gestaltung (Farben der IDO-Familie) */
:root {
  --marke: #0f5f56; --marke-hell: #e3efed; --marke-dunkel: #0a4740;
  --accent: #15803d; --ink: #1a2530; --ink-2: #4a5866; --ink-3: #7b8794;
  --paper: #f2f5f7; --karte: #fff; --linie: #dde3e8; --siegel: #b8730b;
  --rot: #c0392b; --rot-hell: #fdecea; --gelb-hell: #fff6e0;
  --r: 12px; --r-s: 8px;
  --schatten: 0 1px 2px rgba(16, 32, 48, .06), 0 4px 16px rgba(16, 32, 48, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.45; }
a { color: var(--marke); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.05rem; }
p { margin: .25rem 0 .75rem; }
[x-cloak] { display: none !important; }
.klein { font-size: .875rem; color: var(--ink-2); }
.leise { color: var(--ink-3); }
.mitte { text-align: center; }
.zeile { display: flex; gap: .5rem; align-items: center; }
.zeile.weit { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.stapel > * + * { margin-top: .75rem; }
.versteckt { display: none; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; border-radius: var(--r-s);
  padding: .8rem 1.2rem; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; min-height: 48px;
  background: var(--marke); color: #fff; transition: transform .06s, background .15s; -webkit-tap-highlight-color: transparent; }
.knopf:hover { background: var(--marke-dunkel); }
.knopf:active { transform: scale(.98); }
.knopf:disabled { opacity: .55; cursor: default; }
.knopf.gross { width: 100%; font-size: 1.1rem; min-height: 56px; border-radius: var(--r); }
.knopf.zweit { background: var(--karte); color: var(--marke); box-shadow: inset 0 0 0 1.5px var(--marke); }
.knopf.zweit:hover { background: var(--marke-hell); }
.knopf.still { background: transparent; color: var(--marke); padding: .5rem .75rem; min-height: 40px; }
.knopf.still:hover { background: var(--marke-hell); }
.knopf.gefahr { background: var(--rot); }
.knopf.klein { padding: .45rem .8rem; min-height: 36px; font-size: .9rem; }

/* Formulare */
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.feld { margin-bottom: 1rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=tel], input[type=search], select, textarea {
  width: 100%; font: inherit; padding: .75rem .85rem; border: 1.5px solid var(--linie); border-radius: var(--r-s); background: #fff;
  color: var(--ink); min-height: 48px; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--marke); box-shadow: 0 0 0 3px var(--marke-hell); }
.fehlerfeld input, input.fehler { border-color: var(--rot); }
.fehlertext { color: var(--rot); font-size: .85rem; margin-top: .25rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--marke); flex: none; }
.hinweis { background: var(--marke-hell); border-radius: var(--r-s); padding: .75rem 1rem; font-size: .92rem; }
.hinweis.warn { background: var(--gelb-hell); }
.hinweis.fehler { background: var(--rot-hell); color: #7d1f15; }

/* Karten */
.karte { background: var(--karte); border-radius: var(--r); box-shadow: var(--schatten); padding: 1.1rem; }
.karte + .karte { margin-top: .9rem; }
.karte h2 { font-size: 1.05rem; color: var(--ink-2); font-weight: 600; text-transform: none; }

/* Öffentliche Seiten */
.oeffentlich { min-height: 100vh; display: flex; flex-direction: column; }
.kopf { display: flex; align-items: center; justify-content: space-between; padding: 1rem clamp(1rem, 4vw, 2rem); max-width: 1100px; margin: 0 auto; width: 100%; }
.logo { display: flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.1rem; }
.logo-zeichen { width: 34px; height: 34px; border-radius: 9px; background: var(--marke); color: #fff; display: grid; place-items: center; }
.logo-zeichen svg { width: 20px; height: 20px; }
.logo small { color: var(--marke); font-weight: 700; }
.formular-seite { flex: 1; display: grid; place-items: start center; padding: 1rem 1rem 3rem; }
.formular-seite .karte { width: 100%; max-width: 440px; padding: 1.6rem; }
.fuss { text-align: center; padding: 1.5rem 1rem; font-size: .85rem; color: var(--ink-3); }
.fuss a { color: var(--ink-3); margin: 0 .5rem; }

.held { max-width: 1100px; margin: 0 auto; padding: 2rem clamp(1rem, 4vw, 2rem) 3rem; display: grid; gap: 2.5rem; grid-template-columns: 1.1fr .9fr; align-items: center; }
.held h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.02em; }
.held h1 em { font-style: normal; color: var(--marke); }
.held .unter { font-size: 1.15rem; color: var(--ink-2); max-width: 34rem; }
.vorteile { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .55rem; }
.vorteile li { display: flex; gap: .6rem; align-items: flex-start; }
.vorteile li::before { content: "✓"; color: #fff; background: var(--accent); border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; font-size: .8rem; flex: none; margin-top: 1px; }
.telefon { background: var(--ink); border-radius: 32px; padding: 12px; max-width: 320px; margin: 0 auto; box-shadow: 0 30px 60px rgba(16,32,48,.25); }
.telefon .schirm { background: var(--paper); border-radius: 22px; overflow: hidden; padding: 14px; }
.drei { max-width: 1100px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem) 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.drei .nr { width: 36px; height: 36px; border-radius: 50%; background: var(--marke-hell); color: var(--marke); display: grid; place-items: center; font-weight: 700; margin-bottom: .5rem; }
@media (max-width: 820px) { .held { grid-template-columns: 1fr; padding-top: 1rem; } .drei { grid-template-columns: 1fr; } }

/* App-Rahmen */
.app { min-height: 100vh; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.app-kopf { position: sticky; top: 0; z-index: 20; background: var(--marke); color: #fff; padding: calc(.6rem + env(safe-area-inset-top)) 1rem .6rem; display: flex; align-items: center; gap: .75rem; }
.app-kopf .titel { font-weight: 700; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-kopf .titel small { display: block; font-weight: 400; opacity: .8; font-size: .78rem; }
.app-kopf .knopf.still { color: #fff; }
.app-kopf .knopf.still:hover { background: rgba(255,255,255,.12); }
.inhalt { max-width: 720px; margin: 0 auto; padding: 1rem; }
.inhalt.breit { max-width: 1100px; }
.nav-unten { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: #fff; border-top: 1px solid var(--linie); display: flex; padding-bottom: env(safe-area-inset-bottom); }
.nav-unten a { flex: 1; text-align: center; padding: .55rem .25rem .5rem; color: var(--ink-3); text-decoration: none; font-size: .75rem; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 2px; -webkit-tap-highlight-color: transparent; }
.nav-unten a svg { width: 24px; height: 24px; }
.nav-unten a.aktiv { color: var(--marke); }
@media (min-width: 960px) {
  .app { padding-bottom: 0; padding-left: 220px; }
  .nav-unten { top: 0; right: auto; width: 220px; flex-direction: column; border-top: 0; border-right: 1px solid var(--linie); padding: 72px .75rem 1rem; gap: .25rem; }
  .nav-unten a { flex: none; flex-direction: row; gap: .75rem; font-size: .95rem; padding: .7rem .85rem; border-radius: var(--r-s); text-align: left; }
  .nav-unten a.aktiv { background: var(--marke-hell); }
  .app-kopf { margin-left: -220px; padding-left: 1.25rem; }
}

/* Fahrt erfassen */
.fz-wahl { display: flex; align-items: center; gap: .75rem; width: 100%; background: var(--karte); border: 0; border-radius: var(--r); box-shadow: var(--schatten); padding: .85rem 1rem; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.fz-wahl .icon { width: 42px; height: 42px; border-radius: 10px; background: var(--marke-hell); color: var(--marke); display: grid; place-items: center; flex: none; }
.fz-wahl .kz { font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; }
.fz-wahl .pfeil { margin-left: auto; color: var(--ink-3); }
.km-karte { text-align: center; }
.foto-knopf { width: 100%; border: 2px dashed var(--marke); background: var(--marke-hell); color: var(--marke); border-radius: var(--r); padding: 1.4rem 1rem; font: inherit; font-weight: 700; font-size: 1.15rem; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.foto-knopf svg { width: 40px; height: 40px; }
.foto-knopf small { font-weight: 400; color: var(--ink-2); font-size: .85rem; }
.km-eingabe { font-size: 2.1rem !important; font-weight: 700; text-align: center; letter-spacing: .04em; padding: .5rem !important; font-variant-numeric: tabular-nums; }
.km-start { display: flex; justify-content: space-between; align-items: center; font-size: .92rem; color: var(--ink-2); padding: .25rem 0 .75rem; }
.km-diff { font-size: 1.1rem; font-weight: 700; color: var(--accent); margin-top: .5rem; }
.km-diff.warn { color: var(--siegel); }
.vorschau { position: relative; border-radius: var(--r-s); overflow: hidden; margin-bottom: .75rem; background: #000; }
.vorschau img { width: 100%; max-height: 220px; object-fit: contain; display: block; }
.vorschau .marke { position: absolute; left: .5rem; top: .5rem; background: rgba(0,0,0,.65); color: #fff; font-size: .8rem; padding: .2rem .55rem; border-radius: 99px; }
.vorschau button { position: absolute; right: .5rem; top: .5rem; }
.erkannt { display: inline-block; background: var(--gelb-hell); color: #7a4d00; border-radius: 99px; padding: .15rem .6rem; font-size: .8rem; font-weight: 600; margin-bottom: .4rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1.5px solid var(--linie); background: #fff; border-radius: 99px; padding: .6rem 1rem; font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; color: var(--ink); }
.chip small { font-weight: 400; color: var(--ink-3); margin-left: .25rem; }
.chip.an { border-color: var(--marke); background: var(--marke); color: #fff; }
.chip.an small { color: rgba(255,255,255,.8); }
.chip.dienst { min-width: 64px; font-size: 1.1rem; }
.segment { display: flex; background: var(--paper); border-radius: var(--r-s); padding: 3px; }
.segment button { flex: 1; border: 0; background: transparent; padding: .55rem .5rem; font: inherit; font-weight: 600; font-size: .9rem; border-radius: 6px; cursor: pointer; color: var(--ink-2); min-height: 40px; }
.segment button.an { background: #fff; color: var(--marke); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.suche { position: relative; }
.suche input { padding-right: 3.2rem; }
.suche .mik { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border-radius: 8px; border: 0; background: var(--marke-hell); color: var(--marke); cursor: pointer; display: grid; place-items: center; }
.suche .mik.hoert { background: var(--rot); color: #fff; animation: puls 1s infinite; }
@keyframes puls { 50% { opacity: .6; } }
.liste-wahl { list-style: none; margin: .5rem 0 0; padding: 0; border: 1px solid var(--linie); border-radius: var(--r-s); overflow: hidden; }
.liste-wahl li { padding: .7rem .9rem; border-top: 1px solid var(--linie); cursor: pointer; background: #fff; }
.liste-wahl li:first-child { border-top: 0; }
.liste-wahl li:hover, .liste-wahl li.an { background: var(--marke-hell); }
.gewaehlt { display: flex; align-items: center; gap: .75rem; background: var(--marke-hell); border-radius: var(--r-s); padding: .7rem .9rem; }
.gewaehlt b { display: block; }
.schalter { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; font-weight: 600; margin: 0; }
.schalter input { appearance: none; width: 52px; height: 32px; background: var(--linie); border-radius: 99px; position: relative; cursor: pointer; transition: background .2s; flex: none; margin: 0; }
.schalter input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.schalter input:checked { background: var(--accent); }
.schalter input:checked::after { transform: translateX(20px); }
.speichern-leiste { position: sticky; bottom: calc(68px + env(safe-area-inset-bottom)); padding: .75rem 0 .25rem; background: linear-gradient(transparent, var(--paper) 30%); z-index: 5; }
@media (min-width: 960px) { .speichern-leiste { bottom: 0; } }
.mehr-link { background: none; border: 0; color: var(--marke); font: inherit; font-weight: 600; cursor: pointer; padding: .35rem 0; }

/* Erfolg */
.erfolg { text-align: center; padding: 2.5rem 1rem; }
.haken { width: 96px; height: 96px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin: 0 auto 1.25rem; animation: plopp .35s ease-out; }
.haken svg { width: 52px; height: 52px; }
@keyframes plopp { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Listen */
.fahrt-liste { list-style: none; margin: 0; padding: 0; }
.fahrt-liste li { background: #fff; border-radius: var(--r); box-shadow: var(--schatten); padding: .85rem 1rem; margin-bottom: .6rem; cursor: pointer; display: flex; gap: .85rem; align-items: center; }
.fahrt-liste .km { font-weight: 700; font-size: 1.15rem; min-width: 70px; text-align: right; font-variant-numeric: tabular-nums; }
.fahrt-liste .was { flex: 1; min-width: 0; }
.fahrt-liste .was b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fahrt-liste li.storniert { opacity: .55; }
.fahrt-liste li.storniert .km { text-decoration: line-through; }
.marke-tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: .1rem .45rem; border-radius: 4px; background: var(--marke-hell); color: var(--marke); vertical-align: middle; }
.marke-tag.privat { background: #eef0ff; color: #3b45a8; }
.marke-tag.storno { background: var(--rot-hell); color: var(--rot); }
.marke-tag.tank { background: var(--gelb-hell); color: #7a4d00; }
.tabelle { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tabelle th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); padding: .5rem; border-bottom: 1px solid var(--linie); }
.tabelle td { padding: .65rem .5rem; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.tabelle tr:last-child td { border-bottom: 0; }
.tabelle .zahl { text-align: right; font-variant-numeric: tabular-nums; }
.tab-scroll { overflow-x: auto; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }
.kachel { background: #fff; border-radius: var(--r); box-shadow: var(--schatten); padding: 1rem; }
.kachel .wert { font-size: 1.6rem; font-weight: 700; color: var(--marke); font-variant-numeric: tabular-nums; }
.kachel .bez { font-size: .85rem; color: var(--ink-2); }
.reiter { display: flex; gap: .25rem; overflow-x: auto; margin: 0 -1rem 1rem; padding: 0 1rem; scrollbar-width: none; }
.reiter button { border: 0; background: transparent; padding: .6rem .9rem; font: inherit; font-weight: 600; color: var(--ink-2); border-radius: 99px; cursor: pointer; white-space: nowrap; }
.reiter button.an { background: var(--marke); color: #fff; }

/* Dialog */
.dialog-hg { position: fixed; inset: 0; background: rgba(16,32,48,.45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.dialog { background: #fff; width: 100%; max-width: 520px; border-radius: 18px 18px 0 0; padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom)); max-height: 92vh; overflow-y: auto; animation: hoch .2s ease-out; }
@media (min-width: 640px) { .dialog-hg { align-items: center; } .dialog { border-radius: 18px; } }
@keyframes hoch { from { transform: translateY(40px); opacity: 0; } }
.dialog-kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.dialog-kopf h2 { margin: 0; }
.qr-bild { background: #fff; padding: .5rem; border-radius: var(--r-s); width: 240px; height: 240px; margin: 0 auto; display: block; }

/* Meldung unten */
.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: .75rem 1.1rem; border-radius: 99px; z-index: 60; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.2); max-width: calc(100% - 2rem); text-align: center; }
.toast.fehler { background: var(--rot); }
.lade { display: inline-block; width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: dreh .7s linear infinite; vertical-align: -3px; }
@keyframes dreh { to { transform: rotate(360deg); } }
.leer { text-align: center; padding: 2rem 1rem; color: var(--ink-2); }
.leer svg { width: 56px; height: 56px; color: var(--linie); }
.banner { background: var(--gelb-hell); color: #6b4300; padding: .6rem 1rem; font-size: .9rem; text-align: center; }
.banner a { color: inherit; font-weight: 700; }

/* Einrichtung */
.schritte { display: flex; gap: .4rem; margin-bottom: 1.25rem; }
.schritte span { flex: 1; height: 5px; border-radius: 99px; background: var(--linie); }
.schritte span.an { background: var(--marke); }
.wahl-karten { display: grid; gap: .6rem; }
.wahl-karte { display: flex; gap: .85rem; align-items: flex-start; border: 2px solid var(--linie); border-radius: var(--r); padding: .9rem 1rem; cursor: pointer; background: #fff; text-align: left; font: inherit; color: inherit; width: 100%; }
.wahl-karte.an { border-color: var(--marke); background: var(--marke-hell); }
.wahl-karte b { display: block; }
.wahl-karte .ico { font-size: 1.6rem; line-height: 1; }

/* Hilfe */
.hilfe-themen { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.video-platz { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--marke), var(--marke-dunkel)); border-radius: var(--r-s); display: grid; place-items: center; color: #fff; margin-bottom: .75rem; position: relative; }
.video-platz svg { width: 48px; height: 48px; opacity: .9; }
.video-platz small { position: absolute; bottom: .5rem; right: .75rem; font-size: .75rem; opacity: .85; }
details.faq { background: #fff; border-radius: var(--r-s); padding: .85rem 1rem; margin-bottom: .5rem; box-shadow: var(--schatten); }
details.faq summary { font-weight: 600; cursor: pointer; }

/* Druck */
@media print {
  body { background: #fff; font-size: 10pt; }
  .nicht-drucken { display: none !important; }
  .karte { box-shadow: none; padding: 0; }
  .tabelle td, .tabelle th { padding: 3px 4px; }
  .seitenumbruch { page-break-before: always; }
}
@media print {
  body.druck-zugang .app > *:not(.zugang-druck) { display: none !important; }
  body.druck-zugang .zugang-druck { position: static; background: none; display: block; }
  body.druck-zugang .zugang-druck .dialog { box-shadow: none; max-width: none; max-height: none; animation: none; }
  body.druck-zugang .app { padding: 0; }
}
.kopf .knopf { white-space: nowrap; }
@media (max-width: 480px) { .kopf .knopf { padding: .55rem .7rem; font-size: .92rem; min-height: 42px; } .kopf .logo span small { display: block; line-height: 1; } }
.knopf svg, .chip svg, .mik svg, .mehr-link svg { width: 20px; height: 20px; flex: none; }
.dialog-kopf .knopf svg { width: 22px; height: 22px; }
.karte.stapel .schalter { padding: .35rem 0; }
@media (min-width: 960px) { .nav-unten { top: 60px; padding-top: 1rem; } }
.km-start .wer { display: block; font-size: .8rem; }

/* ---- Runde 2: neue Bausteine ---- */
.netz-status { display: inline-flex; align-items: center; gap: .3rem; background: rgba(255,255,255,.16); border-radius: 99px; padding: .2rem .6rem; font-size: .78rem; font-weight: 600; }
.netz-status svg { width: 16px; height: 16px; }
.support-banner { background: #e0f2fe; color: #0c4a6e; }
.warte-banner { background: var(--gelb-hell); }
.warte-banner.fehler { background: var(--rot-hell); color: #7d1f15; }
.warte-eintrag { display: flex; justify-content: space-between; gap: .75rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--linie); }
.unfall-link { display: flex; align-items: center; justify-content: center; gap: .4rem; color: var(--rot); font-weight: 600; text-decoration: none; padding: .9rem 0 .2rem; font-size: .95rem; }
.unfall-link svg { width: 18px; height: 18px; }
.nav-unten a.nav-unfall { color: var(--rot); }
.motive { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .6rem; margin: .75rem 0; }
.motiv { display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center; border: 2px dashed var(--linie); border-radius: var(--r); padding: .9rem .5rem; cursor: pointer; font-weight: 600; font-size: .92rem; background: #fff; }
.motiv svg { width: 28px; height: 28px; color: var(--marke); }
.motiv small { font-weight: 400; color: var(--accent); }
.motiv.an { border-style: solid; border-color: var(--accent); background: #e9f7ee; }
.foto-reihe { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; margin-top: .75rem; }
.foto-reihe.gross { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); margin-bottom: 1rem; }
.foto-klein { position: relative; margin: 0; }
.foto-klein img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-s); display: block; cursor: zoom-in; background: #000; }
.foto-klein button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; cursor: pointer; }
.foto-klein button svg { width: 16px; height: 16px; }
.foto-klein figcaption { font-size: .78rem; color: var(--ink-2); margin-top: .2rem; }
.bild-hg { position: fixed; inset: 0; background: rgba(10, 16, 22, .92); z-index: 80; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 1rem 1rem; }
.bild-hg img { max-width: 100%; max-height: calc(100vh - 90px); object-fit: contain; border-radius: 6px; }
.bild-kopf { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; color: #fff; padding: .5rem 1rem; font-weight: 600; }
.bild-kopf .knopf.still { color: #fff; }
.bild-kopf .knopf.still:hover { background: rgba(255,255,255,.12); }
.bild-nav { position: absolute; bottom: 1rem; display: flex; gap: .75rem; }
.dialog.breit { max-width: 760px; }
.wer-hg { background: rgba(15, 95, 86, .96); z-index: 90; }
.wer-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--marke-hell); color: var(--marke); display: grid; place-items: center; font-size: 1.6rem; font-weight: 700; margin: .5rem auto 1rem; }
.punkt { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); margin-right: .3rem; vertical-align: 1px; }
.punkt.gruen { background: var(--accent); }
.marke-tag.siegel { background: #fbf3e4; color: #8a5508; }
.reiter .zaehler { background: var(--rot); color: #fff; border-radius: 99px; font-size: .7rem; padding: 0 .4rem; margin-left: .35rem; }
.chip.aus { opacity: .55; border-style: dashed; }
.schalter.gesperrt { opacity: .55; cursor: not-allowed; }
.support-zeile td { background: #f0f9ff; }
.tabelle.kompakt td, .tabelle.kompakt th { padding: .4rem .45rem; }
.code { font-family: ui-monospace, "SF Mono", Consolas, monospace; background: var(--paper); padding: .1rem .35rem; border-radius: 4px; font-size: .92em; }
.platzhalter .ph-karte { background: #fff; border-radius: var(--r); box-shadow: var(--schatten); padding: 1rem; margin-bottom: .6rem; }
.ph-zeile { height: 14px; border-radius: 6px; background: linear-gradient(90deg, #e8edf1 25%, #f4f7f9 50%, #e8edf1 75%); background-size: 200% 100%; animation: schimmer 1.2s infinite linear; margin: .35rem 0; }
.ph-zeile.halb { width: 55%; } .ph-zeile.kurz { width: 30%; height: 12px; margin-bottom: .9rem; }
@keyframes schimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.raster-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; }
.raster-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 1rem; }
.zahl-gross { font-size: 1.8rem; font-weight: 700; color: var(--marke); font-variant-numeric: tabular-nums; }
.balken-reihe { display: flex; align-items: flex-end; gap: 3px; height: 140px; padding-top: .5rem; }
.balken { flex: 1; background: var(--marke); border-radius: 3px 3px 0 0; min-height: 2px; opacity: .85; }
.balken:hover { opacity: 1; background: var(--accent); }
.plattform .reiter a { padding: .6rem .9rem; font-weight: 600; color: var(--ink-2); border-radius: 99px; text-decoration: none; white-space: nowrap; }
.plattform .reiter a.aktiv { background: var(--marke); color: #fff; }
.plattform-kopf { margin-left: 0 !important; }
.plattform details > summary { cursor: pointer; }
.kunde-karte h3 { font-size: 1.05rem; }
.bericht h2 { font-size: 1.05rem; margin-top: 1.2rem; color: var(--ink); }
.bericht-fotos { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.bericht-fotos figure { margin: 0; break-inside: avoid; }
.bericht-fotos img { width: 100%; max-height: 360px; object-fit: contain; background: #f4f4f4; border-radius: 4px; }
.bericht-fotos figcaption { font-size: .8rem; color: var(--ink-2); }
.klickbar { cursor: pointer; } .klickbar:hover td { background: var(--paper); }

/* ===== Öffentliche Seiten (Stil der IDO-Familie) ===== */
.pub-kopf { background: #fff; border-bottom: 1px solid var(--linie); position: sticky; top: 0; z-index: 30; }
.pub-nav { max-width: 1160px; margin: 0 auto; padding: .8rem clamp(1rem, 4vw, 2rem); display: flex; align-items: center; gap: 1.5rem; }
.pub-nav .logo { text-decoration: none; }
.pub-links { display: flex; gap: .25rem; margin-left: 1rem; }
.pub-links a { color: var(--ink); text-decoration: none; padding: .5rem .7rem; border-radius: var(--r-s); font-weight: 500; }
.pub-links a:hover, .pub-links a[aria-current] { background: var(--marke-hell); color: var(--marke); }
.pub-aktionen { margin-left: auto; display: flex; gap: .5rem; align-items: center; }
.pub-aktionen .knopf { min-height: 42px; padding: .55rem 1rem; }
.pub-anmelden { color: var(--ink); text-decoration: none; font-weight: 600; border: 1px solid #c9d4dc; border-radius: var(--r-s); padding: .55rem .9rem; }
.pub-anmelden:hover { border-color: var(--marke); color: var(--marke); }
.pub-menue { display: none; margin-left: auto; position: relative; }
.pub-menue summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border-radius: var(--r-s); }
.pub-menue summary::-webkit-details-marker { display: none; }
.pub-menue summary span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.pub-menue-liste { position: absolute; right: 0; top: 50px; background: #fff; border-radius: var(--r); box-shadow: 0 12px 40px rgba(16,32,48,.18); padding: .5rem; width: min(280px, 90vw); display: grid; }
.pub-menue-liste a { padding: .8rem 1rem; text-decoration: none; color: var(--ink); font-weight: 500; border-radius: var(--r-s); }
.pub-menue-liste a.knopf { color: #fff; margin-top: .4rem; }
@media (max-width: 900px) { .pub-links, .pub-aktionen { display: none; } .pub-menue { display: block; } }

.pub-abschnitt { padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem); }
.pub-abschnitt.weiss { background: #fff; }
.pub-abschnitt.wasch { background: #e7f3f1; }
.pub-innen { max-width: 1160px; margin: 0 auto; }
.pub-schmal { max-width: 780px; margin: 0 auto; }
.pub-kopfzeile { max-width: 720px; margin: 0 auto 2.25rem; text-align: center; }
.pub-kopfzeile h2, .pub-h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.pub-kopfzeile p { color: var(--ink-2); font-size: 1.08rem; }
.pub-marke { display: inline-flex; align-items: center; gap: .45rem; background: #fbf3e4; color: #7a4a05; font-weight: 800; font-size: .78rem;
  padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1.1rem; letter-spacing: .02em; }

.pub-held { background: linear-gradient(180deg, #eef6f3 0%, #fff 100%); padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 7vw, 5.5rem); }
.pub-held-raster { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.pub-held h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -.025em; line-height: 1.08; margin-bottom: 1rem; }
.pub-held h1 em { font-style: normal; color: var(--marke); }
.pub-held .pub-unter { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--ink-2); max-width: 36rem; margin-bottom: 1.5rem; }
.pub-knoepfe { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.pub-knoepfe .knopf { min-height: 52px; padding: .85rem 1.5rem; font-size: 1.02rem; }
.pub-vertrauen { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.25rem; font-size: .88rem; color: var(--ink-2); }
.pub-vertrauen span::before { content: "✓ "; color: var(--accent); font-weight: 800; }
.pub-preis-hinweis { font-size: .95rem; color: var(--ink-2); margin-top: .9rem; }
.pub-preis-hinweis b { color: var(--ink); }
@media (max-width: 860px) { .pub-held-raster { grid-template-columns: 1fr; gap: 2rem; } }

.pub-leiste { background: #fff; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); padding: 1.25rem clamp(1rem, 4vw, 2rem); }
.pub-leiste-innen { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pub-leiste-innen div { display: flex; gap: .65rem; align-items: center; font-size: .92rem; color: var(--ink-2); }
.pub-leiste-innen svg { width: 26px; height: 26px; color: var(--marke); flex: none; }
.pub-leiste-innen b { color: var(--ink); display: block; }
@media (max-width: 860px) { .pub-leiste-innen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pub-leiste-innen { grid-template-columns: 1fr; } }

.pub-schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: s; }
.pub-schritt { background: #fff; border-radius: var(--r); padding: 1.6rem; box-shadow: var(--schatten); position: relative; }
.pub-schritt::before { counter-increment: s; content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--marke); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: .9rem; }
.pub-schritt h3 { font-size: 1.12rem; font-weight: 800; }
.pub-schritt p { color: var(--ink-2); margin: 0; }
@media (max-width: 820px) { .pub-schritte { grid-template-columns: 1fr; } }

.pub-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--linie); border: 1px solid var(--linie); border-radius: var(--r); overflow: hidden; }
.pub-kachel { background: #fff; padding: 1.6rem 1.4rem; }
.pub-kachel .pub-nr { font-weight: 900; font-size: .78rem; color: var(--siegel); margin-bottom: .7rem; letter-spacing: .04em; }
.pub-kachel .pub-ic { width: 42px; height: 42px; border-radius: 10px; background: var(--marke-hell); color: var(--marke); display: grid; place-items: center; margin-bottom: .8rem; }
.pub-kachel .pub-ic svg { width: 22px; height: 22px; }
.pub-kachel h3 { font-size: 1.06rem; font-weight: 800; margin-bottom: .35rem; }
.pub-kachel p { color: var(--ink-2); font-size: .94rem; margin: 0; line-height: 1.55; }
.pub-kachel .pub-paket { display: inline-block; margin-top: .6rem; font-size: .75rem; font-weight: 700; color: var(--marke); background: var(--marke-hell); padding: .15rem .55rem; border-radius: 999px; }

.pub-zweispalt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.pub-zweispalt + .pub-zweispalt { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.pub-zweispalt h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); font-weight: 800; }
.pub-zweispalt p { color: var(--ink-2); font-size: 1.04rem; }
.pub-liste { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .55rem; }
.pub-liste li { display: flex; gap: .6rem; align-items: flex-start; }
.pub-liste li::before { content: "✓"; color: #fff; background: var(--accent); border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; font-size: .78rem; flex: none; margin-top: 1px; }
.pub-bildkarte { background: linear-gradient(140deg, var(--marke), var(--marke-dunkel)); border-radius: 18px; padding: 1.5rem; color: #fff; min-height: 240px; display: grid; place-items: center; }
@media (max-width: 820px) { .pub-zweispalt { grid-template-columns: 1fr; } .pub-zweispalt.umgekehrt > :first-child { order: 2; } }

.pub-video { max-width: 900px; margin: 0 auto; border-radius: var(--r); overflow: hidden; box-shadow: 0 20px 50px rgba(16,32,48,.2); background: #0a1a17; }
.pub-video video { width: 100%; display: block; aspect-ratio: 16/9; background: #0a1a17; }

.pub-preise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.pub-preiskarte { background: #fff; border-radius: 16px; padding: 1.8rem 1.6rem; box-shadow: var(--schatten); display: flex; flex-direction: column; border: 2px solid transparent; position: relative; }
.pub-preiskarte.empfohlen { border-color: var(--marke); }
.pub-preiskarte .pub-band { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--marke); color: #fff; font-size: .75rem; font-weight: 800; padding: .25rem .8rem; border-radius: 999px; white-space: nowrap; }
.pub-preiskarte h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: .2rem; }
.pub-preiskarte .pub-fuer { color: var(--ink-2); font-size: .94rem; min-height: 2.8em; }
.pub-betrag { font-size: 2.6rem; font-weight: 900; letter-spacing: -.02em; margin: .6rem 0 0; }
.pub-betrag small { font-size: 1rem; font-weight: 600; color: var(--ink-2); }
.pub-je { font-size: .86rem; color: var(--ink-2); margin-bottom: 1.1rem; }
.pub-preiskarte .pub-liste { margin: 0 0 1.4rem; font-size: .94rem; flex: 1; }
.pub-preiskarte .pub-liste li.plus::before { content: "+"; background: var(--marke); }
@media (max-width: 900px) { .pub-preise { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.pub-tabelle { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--schatten); font-size: .95rem; }
.pub-tabelle th, .pub-tabelle td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--linie); }
.pub-tabelle th { background: #f7fafa; font-weight: 700; }
.pub-tabelle td.j, .pub-tabelle th.j { text-align: center; width: 18%; }
.pub-tabelle td.j { color: var(--accent); font-weight: 800; }
.pub-tabelle td.n { color: var(--ink-3); text-align: center; }
.pub-tabelle-rahmen { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); }
.pub-tabelle-rahmen .pub-tabelle { min-width: 560px; }

.pub-faq details { background: #fff; border-radius: var(--r-s); margin-bottom: .6rem; box-shadow: var(--schatten); }
.pub-faq summary { font-weight: 700; cursor: pointer; padding: 1rem 1.2rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.pub-faq summary::-webkit-details-marker { display: none; }
.pub-faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--marke); flex: none; }
.pub-faq details[open] summary::after { content: "–"; }
.pub-faq details > div { padding: 0 1.2rem 1.1rem; color: var(--ink-2); }
.pub-faq details > div p { margin: 0 0 .6rem; }

.pub-schluss { background: #e7f3f1; padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem); text-align: center; }
.pub-schluss h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 900; max-width: 22ch; margin: 0 auto .8rem; }
.pub-schluss p { color: var(--ink-2); margin-bottom: 1.4rem; }
.pub-schluss .pub-knoepfe { justify-content: center; }

.pub-text { background: #fff; border-radius: var(--r); box-shadow: var(--schatten); padding: clamp(1.25rem, 4vw, 2.5rem); }
.pub-text h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 900; margin-bottom: .6rem; }
.pub-text h2 { font-size: 1.2rem; font-weight: 800; margin: 2rem 0 .5rem; scroll-margin-top: 80px; }
.pub-text h3 { font-size: 1.02rem; font-weight: 700; margin: 1.2rem 0 .3rem; }
.pub-text p, .pub-text li { color: #2b3a48; line-height: 1.65; }
.pub-text ul, .pub-text ol { padding-left: 1.3rem; }
.pub-text .pub-lead { font-size: 1.08rem; color: var(--ink-2); }
.pub-text .pub-stand { font-size: .85rem; color: var(--ink-3); }
.pub-text .pub-kasten { background: var(--marke-hell); border-radius: var(--r-s); padding: 1rem 1.2rem; margin: 1rem 0; }
.pub-text .pub-kasten.warn { background: #fbf3e4; }
.pub-text table { width: 100%; border-collapse: collapse; margin: .75rem 0; font-size: .94rem; }
.pub-text td, .pub-text th { border-bottom: 1px solid var(--linie); padding: .55rem .5rem; text-align: left; vertical-align: top; }
.pub-text dl { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1.2rem; }
.pub-text dt { font-weight: 600; color: var(--ink-2); }
.pub-text dd { margin: 0; }
.pub-inhaltsverz { columns: 2; font-size: .94rem; background: #f7fafa; border-radius: var(--r-s); padding: 1rem 1.2rem 1rem 2.4rem !important; }
@media (max-width: 600px) { .pub-inhaltsverz { columns: 1; } .pub-text dl { grid-template-columns: 1fr; } .pub-text dd { margin-bottom: .5rem; } }

.pub-fuss { background: #fff; border-top: 1px solid var(--linie); padding: 2.5rem clamp(1rem, 4vw, 2rem) 1.5rem; margin-top: auto; }
.pub-fuss-raster { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.pub-fuss-raster > div > b { display: block; margin-bottom: .6rem; font-size: .9rem; }
.pub-fuss-raster > div > a { display: block; color: var(--ink-2); text-decoration: none; font-size: .9rem; padding: .22rem 0; }
.pub-fuss-raster > div > a:hover { color: var(--marke); }
.pub-fuss .logo { margin-bottom: .6rem; }
.pub-fuss-zeile { max-width: 1160px; margin: 2rem auto 0; padding-top: 1.2rem; border-top: 1px solid var(--linie); font-size: .82rem; color: var(--ink-3); text-align: center; }
@media (max-width: 820px) { .pub-fuss-raster { grid-template-columns: 1fr 1fr; } .pub-fuss-raster > div:first-child { grid-column: 1 / -1; } }
.formular-seite { flex: 1; }
.hilfe-video { width: 100%; aspect-ratio: 16/9; border-radius: var(--r-s); background: var(--marke-dunkel); display: block; margin-bottom: .75rem; object-fit: cover; }
.hilfe-gruppe { margin: 1.2rem 0 .5rem; font-size: .95rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.pub-raster { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .pub-raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pub-raster { grid-template-columns: 1fr; } }
.pub-preiskarte .pub-liste { align-content: start; }
.pub-text table { display: block; overflow-x: auto; }
.pub-text td, .pub-text th { min-width: 110px; }
.pub-text { overflow-wrap: anywhere; }
.bs-feld { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notfallcodes { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin: .8rem 0; }
.notfallcodes code { background: var(--paper); border-radius: 6px; padding: .45rem; text-align: center; font-size: 1.05rem; letter-spacing: .05em; }
/* Videos und Bilder nie breiter als ihr Rahmen (Grid-Elemente sonst so breit wie das Video selbst) */
.hilfe-themen { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.hilfe-themen > * { min-width: 0; }
video, img { max-width: 100%; }
.hilfe-video { height: auto; }
/* Tabellen am Handy als Karten */
@media (max-width: 640px) {
  .tabelle.karten thead { display: none; }
  .tabelle.karten, .tabelle.karten tbody { display: block; }
  .tabelle.karten tr { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem .9rem; padding: .75rem .1rem; border-bottom: 1px solid var(--linie); }
  .tabelle.karten tr:last-child { border-bottom: 0; }
  .tabelle.karten td { border: 0; padding: 0; text-align: left !important; min-width: 0; overflow-wrap: anywhere; }
  .tabelle.karten td[data-label]:not([data-label=""])::before { content: attr(data-label); display: block; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
  .tabelle.karten td:first-child { grid-column: 1 / -1; }
  .tabelle.karten td:empty { display: none; }
  .tabelle.karten td:last-child:not([data-label=""]) { }
  .tabelle.karten td[data-label=""] { grid-column: 1 / -1; }
}
@media (max-width: 1000px) { .reiter { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); } }
.tabelle:not(.kompakt) td:first-child { min-width: 9.5rem; }
@media (max-width: 640px) { .tabelle.karten td:first-child { min-width: 0; } }

/* ===== Runde 3: moderner Auftritt ===== */
.pub-kopf { background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom-color: rgba(16,32,48,.08); }
.knopf { box-shadow: 0 1px 2px rgba(10,71,64,.25), 0 6px 18px -6px rgba(10,71,64,.45); }
.knopf.zweit, .knopf.still { box-shadow: inset 0 0 0 1.5px var(--marke); }
.knopf.still { box-shadow: none; }
.knopf:hover { transform: translateY(-1px); }

/* Held dunkel mit Lichtflächen */
.pub-held.dunkel { position: relative; overflow: hidden; color: #e6f4f1;
  background: radial-gradient(60rem 30rem at 85% -10%, rgba(52,211,153,.28), transparent 60%),
              radial-gradient(40rem 28rem at -10% 110%, rgba(14,165,164,.25), transparent 60%),
              linear-gradient(160deg, #0a3f39 0%, #0c4c45 45%, #083530 100%);
  padding-bottom: clamp(5rem, 10vw, 7.5rem); }
.pub-held.dunkel::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); }
.pub-held.dunkel .pub-held-raster { position: relative; }
.pub-held.dunkel h1 { color: #fff; font-size: clamp(2.3rem, 5.6vw, 4rem); }
.pub-held.dunkel h1 em { background: linear-gradient(90deg, #6ee7b7, #34d399 40%, #fbbf24); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pub-held.dunkel .pub-unter, .pub-held.dunkel .pub-preis-hinweis, .pub-held.dunkel .pub-vertrauen { color: #b9d8d2; }
.pub-held.dunkel .pub-preis-hinweis b { color: #fff; }
.pub-held.dunkel .pub-vertrauen span::before { color: #6ee7b7; }
.pub-held.dunkel .pub-marke { background: rgba(255,255,255,.1); color: #d1fae5; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.held-buehne .telefon { color: var(--ink); }
.pub-held.dunkel .pub-knoepfe .knopf:not(.zweit) { background: linear-gradient(180deg, #22c58b, #11a372); color: #052e26; box-shadow: 0 10px 30px -8px rgba(34,197,139,.6); }
.pub-held.dunkel .pub-knoepfe .knopf:not(.zweit):hover { background: linear-gradient(180deg, #34d399, #16b07c); }
.pub-held.dunkel .pub-knoepfe .knopf.zweit { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.pub-held.dunkel .pub-knoepfe .knopf.zweit:hover { background: rgba(255,255,255,.16); }
.held-buehne { position: relative; padding: 1.5rem 0; }
.held-buehne .telefon { box-shadow: 0 40px 80px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); background: #06231f; transform: rotate(-2deg); }
.schwebe { position: absolute; z-index: 2; display: flex; gap: .65rem; align-items: center; background: rgba(255,255,255,.96); color: var(--ink);
  border-radius: 14px; padding: .65rem .9rem .65rem .65rem; box-shadow: 0 18px 40px -12px rgba(0,0,0,.45); font-size: .9rem; line-height: 1.2;
  animation: schweben 6s ease-in-out infinite; }
.schwebe b { display: block; } .schwebe small { color: var(--ink-2); font-size: .78rem; }
.schwebe-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--marke-hell); color: var(--marke); flex: none; }
.schwebe-ic svg { width: 20px; height: 20px; }
.schwebe-ic.gruen { background: #dcfce7; color: #15803d; } .schwebe-ic.gold { background: #fef3c7; color: #a16207; }
.schwebe.s1 { top: 6%; left: -8%; } .schwebe.s2 { top: 48%; right: -6%; animation-delay: -2s; } .schwebe.s3 { bottom: 8%; left: 2%; animation-delay: -4s; }
@keyframes schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 860px) { .schwebe.s1 { left: 0; } .schwebe.s2 { right: 0; } .schwebe.s3 { display: none; } }
@media (max-width: 420px) { .schwebe { font-size: .8rem; padding: .5rem .7rem .5rem .5rem; } .schwebe-ic { width: 30px; height: 30px; } }

/* Zahlen als schwebende Karte am Held */
.pub-zahlen { padding: 0 clamp(1rem, 4vw, 2rem); margin-top: calc(-1 * clamp(3rem, 6vw, 4.5rem)); position: relative; z-index: 3; }
.pub-zahlen-innen { max-width: 1000px; margin: 0 auto; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px -24px rgba(16,32,48,.35), 0 0 0 1px rgba(16,32,48,.05);
  display: grid; grid-template-columns: repeat(4, 1fr); }
.pub-zahlen-innen div { padding: 1.3rem 1rem; text-align: center; }
.pub-zahlen-innen div + div { border-left: 1px solid var(--linie); }
.pub-zahlen-innen b { display: block; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; letter-spacing: -.02em; color: var(--marke); }
.pub-zahlen-innen span { font-size: .88rem; color: var(--ink-2); }
@media (max-width: 640px) { .pub-zahlen-innen { grid-template-columns: 1fr 1fr; } .pub-zahlen-innen div:nth-child(3) { border-left: 0; } .pub-zahlen-innen div:nth-child(n+3) { border-top: 1px solid var(--linie); } }
.pub-zahlen + .pub-leiste { border-top: 0; background: transparent; }

/* Abschnitte, Kacheln, Schritte */
.pub-kopfzeile h2, .pub-h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); letter-spacing: -.02em; }
.pub-raster { gap: 1rem; background: transparent; border: 0; overflow: visible; }
.pub-kachel { border-radius: 16px; box-shadow: 0 0 0 1px rgba(16,32,48,.06), 0 8px 24px -16px rgba(16,32,48,.25); transition: transform .2s, box-shadow .2s; }
.pub-kachel:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(15,95,86,.18), 0 18px 40px -18px rgba(15,95,86,.4); }
.pub-kachel .pub-ic { background: linear-gradient(135deg, #0f5f56, #14a37f); color: #fff; border-radius: 12px; box-shadow: 0 8px 18px -8px rgba(15,95,86,.7); }
.pub-schritte { position: relative; }
.pub-schritt { border-radius: 16px; box-shadow: 0 0 0 1px rgba(16,32,48,.06), 0 12px 30px -18px rgba(16,32,48,.3); }
.pub-schritt::before { background: linear-gradient(135deg, #0f5f56, #14a37f); box-shadow: 0 0 0 6px #e3efed; }
.pub-video { border-radius: 18px; box-shadow: 0 30px 70px -20px rgba(10,63,57,.5); }
.pub-schluss { position: relative; overflow: hidden; color: #e6f4f1; background: radial-gradient(40rem 20rem at 50% 0%, rgba(52,211,153,.25), transparent 70%), linear-gradient(160deg, #0a3f39, #083530); }
.pub-schluss h2 { color: #fff; } .pub-schluss p { color: #b9d8d2; }
.pub-schluss .knopf:not(.zweit) { background: linear-gradient(180deg, #22c58b, #11a372); color: #052e26; }
.pub-schluss .knopf.zweit { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }

/* Anmelden / Registrieren: breit mit Infospalte */
.auth { flex: 1; padding: clamp(1rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 6vw, 4rem);
  background: radial-gradient(50rem 26rem at 100% 0%, rgba(20,163,127,.12), transparent 60%), radial-gradient(40rem 24rem at 0% 100%, rgba(15,95,86,.08), transparent 60%), var(--paper); }
.auth-raster { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); border-radius: 24px; overflow: hidden;
  background: #fff; box-shadow: 0 40px 90px -40px rgba(16,32,48,.35), 0 0 0 1px rgba(16,32,48,.05); }
.auth-form.karte { box-shadow: none; border-radius: 0; padding: clamp(1.5rem, 4vw, 3.5rem); max-width: none; align-self: center; }
.auth-form h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 900; letter-spacing: -.02em; }
.auth-unter { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 1.25rem; }
.auth-etikett { display: inline-block; background: #dcfce7; color: #166534; font-weight: 800; font-size: .78rem; padding: .3rem .7rem; border-radius: 999px; margin-bottom: .7rem; letter-spacing: .02em; }
.auth-form .feld input, .auth-form .feld select { min-height: 52px; font-size: 1.02rem; border-radius: 10px; }
.auth-form .knopf.gross { margin-top: .5rem; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .feld-reihe { grid-template-columns: 1fr; } }
.auth-qr { display: flex; gap: .8rem; align-items: flex-start; margin-top: 1.5rem; padding: 1rem; border-radius: 12px; background: var(--marke-hell); color: var(--ink-2); font-size: .94rem; }
.auth-qr svg { width: 28px; height: 28px; color: var(--marke); flex: none; }
.auth-qr b { color: var(--ink); }
.auth-info { position: relative; overflow: hidden; color: #e6f4f1; padding: clamp(1.5rem, 4vw, 3.5rem);
  background: radial-gradient(30rem 20rem at 100% 0%, rgba(52,211,153,.3), transparent 60%), radial-gradient(26rem 18rem at 0% 100%, rgba(14,165,164,.28), transparent 60%), linear-gradient(160deg, #0a3f39, #083530);
  display: flex; align-items: center; }
.auth-info:empty { display: none; }
.auth-raster:has(.auth-info:empty) { grid-template-columns: 1fr; max-width: 560px; }
.auth-info-innen { width: 100%; max-width: 480px; margin: 0 auto; }
.auth-info h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 900; letter-spacing: -.02em; margin: 1rem 0 1.25rem; }
.illu { width: 100%; max-width: 420px; height: auto; display: block; filter: drop-shadow(0 20px 30px rgba(0,0,0,.25)); }
.illu-nadel { transform-origin: 0 0; animation: nadel 2.4s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes nadel { from { transform: rotate(-120deg); } to { transform: rotate(0); } }
.illu-haken { animation: aufpoppen .5s 1.6s both cubic-bezier(.3,1.6,.5,1); }
@keyframes aufpoppen { from { transform: translate(372px, 210px) scale(0); } to { transform: translate(372px, 210px) scale(1); } }
.auth-vorteile { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.auth-vorteile li { display: flex; gap: .85rem; color: #b9d8d2; font-size: .95rem; line-height: 1.45; }
.auth-vorteile li b { display: block; color: #fff; font-size: 1rem; }
.auth-vorteile li > span { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #6ee7b7; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.auth-vorteile li > span svg { width: 20px; height: 20px; }
.auth-schritte { list-style: none; padding: 0; margin: 0 0 1.25rem; counter-reset: a; display: grid; gap: .9rem; }
.auth-schritte li { counter-increment: a; position: relative; padding-left: 3rem; color: #b9d8d2; font-size: .95rem; }
.auth-schritte li b { display: block; color: #fff; }
.auth-schritte li::before { content: counter(a); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #34d399, #0ea5a4); color: #052e26; font-weight: 900; }
.auth-schritte li + li::after { content: ""; position: absolute; left: 16px; top: -.9rem; height: .9rem; width: 2px; background: rgba(255,255,255,.2); }
.auth-preis { background: rgba(255,255,255,.08); border-radius: 12px; padding: .9rem 1rem; color: #b9d8d2; font-size: .9rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.auth-preis b { color: #fff; font-size: 1.5rem; font-weight: 900; }
.auth-siegel { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.auth-siegel span { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; color: #d1fae5; background: rgba(255,255,255,.08); padding: .35rem .65rem; border-radius: 999px; }
.auth-siegel svg { width: 14px; height: 14px; }
@media (max-width: 900px) {
  .auth-raster { grid-template-columns: 1fr; max-width: 620px; }
  .auth-info .illu { max-width: 300px; margin: 0 auto; }
}
@media (max-width: 520px) { .auth { padding: .75rem .75rem 2rem; } .auth-raster { border-radius: 18px; } .auth-info .illu { display: none; } .auth-info h2 { margin-top: 0; } }
@media (prefers-reduced-motion: reduce) { .schwebe, .illu-nadel, .illu-haken { animation: none !important; } .pub-kachel:hover, .knopf:hover { transform: none; } }
.einst-raster { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.einst-raster .karte + .karte { margin-top: 1rem; }
@media (max-width: 900px) { .einst-raster { grid-template-columns: 1fr; } }
.einst-schritte { padding-left: 1.2rem; display: grid; gap: .4rem; margin: .5rem 0 1rem; }
.einst-schritte code { word-break: break-all; }
.status-ok, .status-aus { font-size: .75rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; vertical-align: middle; margin-left: .4rem; }
.status-ok { background: #dcfce7; color: #166534; } .status-aus { background: var(--gelb-hell); color: #8a5a00; }
.marke-chip { font-size: .7rem; font-weight: 600; background: var(--marke-hell); color: var(--marke); padding: .1rem .45rem; border-radius: 999px; margin-left: .25rem; }
.marke-chip.grau { background: #eef1f4; color: var(--ink-2); }
.abo-pakete { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem; margin: .75rem 0; }
.abo-paket { border: 1.5px solid var(--linie); border-radius: var(--r); padding: 1rem; display: flex; flex-direction: column; gap: .35rem; }
.abo-paket b { font-size: 1.05rem; } .abo-paket .preis { font-size: 1.4rem; font-weight: 900; color: var(--marke); }
.abo-paket .knopf { margin-top: auto; }

/* ===== App-Rahmen: Menü links (Desktop), wie in der IDO-Familie ===== */
.seitenleiste { display: none; }
@media (min-width: 960px) {
  .app { padding-left: 264px; }
  .nav-unten { display: none; }
  .seitenleiste { display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; width: 264px; z-index: 31; color: #cfe6e1; padding: 1rem .85rem;
    background: radial-gradient(22rem 18rem at 0% 0%, rgba(52,211,153,.18), transparent 60%), linear-gradient(180deg, #0b4741 0%, #083530 100%);
    border-right: 1px solid rgba(255,255,255,.06); overflow-y: auto; scrollbar-width: thin; }
  .app-kopf { margin-left: 0; background: rgba(242,245,247,.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--ink);
    border-bottom: 1px solid var(--linie); padding: .75rem 1.5rem; min-height: 64px; }
  .app-kopf > .logo-zeichen { display: none; }
  .app-kopf .titel { font-size: 1.15rem; font-weight: 800; }
  .app-kopf .titel small { color: var(--ink-3); opacity: 1; }
  .app-kopf .knopf.still { color: var(--ink-2); }
  .app-kopf .knopf.still:hover { background: #e3e9ed; }
  .kopf-pfad { color: var(--ink-3); font-weight: 600; } .kopf-pfad i { font-style: normal; opacity: .6; margin: 0 .15rem; }
  section > .reiter { display: none; }
  .inhalt { max-width: 1100px; padding: 1.5rem; }
}
.sl-marke { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-size: 1.12rem; padding: .35rem .5rem 1rem; }
.sl-marke b { color: #6ee7b7; font-weight: 800; }
.sl-logo { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #34d399, #0ea5a4); color: #053029; box-shadow: 0 8px 20px -8px rgba(52,211,153,.7); }
.sl-logo svg { width: 22px; height: 22px; }
.sl-firma { display: flex; align-items: center; gap: .65rem; padding: .7rem; border-radius: 12px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); margin-bottom: 1rem; min-width: 0; }
.sl-firma > div, .sl-ich > div { min-width: 0; flex: 1; }
.sl-firma b, .sl-ich b { display: block; color: #fff; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-firma small, .sl-ich small { color: #9cc7bf; font-size: .76rem; }
.sl-avatar { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; font-weight: 800; color: #053029; background: #a7f3d0; }
.sl-avatar.klein { width: 30px; height: 30px; border-radius: 50%; background: #fde68a; color: #5b3a00; font-size: .85rem; }
.sl-nav { flex: 1; display: grid; align-content: start; gap: 1rem; }
.sl-titel { font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #7fb3a9; padding: 0 .6rem .35rem; }
.sl-gruppe { display: grid; gap: 2px; }
.sl-gruppe a { display: flex; align-items: center; gap: .7rem; padding: .58rem .65rem; border-radius: 10px; color: #cfe6e1; text-decoration: none; font-weight: 600; font-size: .93rem; transition: background .15s, color .15s; position: relative; }
.sl-gruppe a svg, .sl-ic svg { width: 19px; height: 19px; flex: none; opacity: .85; }
.sl-ic { display: inline-flex; }
.sl-gruppe a:hover { background: rgba(255,255,255,.07); color: #fff; }
.sl-gruppe a.aktiv { background: #fff; color: var(--marke-dunkel); box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); }
.sl-gruppe a.aktiv svg { opacity: 1; color: var(--marke); }
.sl-gruppe a.sl-unfall { color: #fca5a5; } .sl-gruppe a.sl-unfall.aktiv { color: var(--rot); } .sl-gruppe a.sl-unfall.aktiv svg { color: var(--rot); }
.sl-zahl { margin-left: auto; background: #ef4444; color: #fff; border-radius: 99px; font-size: .7rem; padding: .05rem .45rem; }
.sl-ich { display: flex; align-items: center; gap: .6rem; margin-top: 1rem; padding: .65rem; border-radius: 12px; color: #cfe6e1; text-decoration: none; border-top: 1px solid rgba(255,255,255,.08); }
.sl-ich:hover, .sl-ich.aktiv { background: rgba(255,255,255,.07); }
@media print { .seitenleiste { display: none !important; } .app { padding-left: 0 !important; } }
/* Übersicht: Begrüßung mit Illustration, Kacheln mit Symbol */
.willkommen-karte { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr minmax(0, 340px); align-items: end; gap: 1rem; margin-bottom: .9rem;
  border-radius: 18px; color: #d7eee9; padding: 1.4rem 1.4rem 0;
  background: radial-gradient(26rem 14rem at 100% 0%, rgba(52,211,153,.3), transparent 60%), linear-gradient(135deg, #0c4c45, #083530); box-shadow: 0 20px 40px -24px rgba(10,63,57,.7); }
.wk-text { padding-bottom: 1.4rem; }
.wk-gruss { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6ee7b7; }
.willkommen-karte h2 { color: #fff; font-size: 1.6rem; font-weight: 900; margin: .2rem 0 .35rem; }
.willkommen-karte p { color: #b9d8d2; } .willkommen-karte b { color: #fff; }
.wk-knoepfe { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .8rem; }
.wk-knoepfe .knopf { min-height: 42px; padding: .5rem .95rem; }
.wk-knoepfe .knopf:not(.zweit) { background: linear-gradient(180deg, #22c58b, #11a372); color: #052e26; }
.wk-knoepfe .knopf.zweit { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.illu-strasse { width: 100%; height: auto; display: block; }
.illu-fahrbahn { animation: fahrbahn 1.6s linear infinite; }
@keyframes fahrbahn { to { stroke-dashoffset: -24; } }
@media (max-width: 640px) { .willkommen-karte { grid-template-columns: 1fr; padding-bottom: 0; } .wk-text { padding-bottom: 0; } .illu-strasse { max-height: 110px; margin: 0 -1.4rem; width: calc(100% + 2.8rem); } }
.kachel { position: relative; border-radius: 16px; box-shadow: 0 0 0 1px rgba(16,32,48,.05), 0 10px 24px -18px rgba(16,32,48,.35); }
.kachel .wert { font-weight: 900; letter-spacing: -.02em; }
.kachel-ic { position: absolute; right: .9rem; top: .9rem; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--marke-hell); color: var(--marke); }
.kachel-ic svg { width: 18px; height: 18px; }
.kachel-ic.gruen { background: #dcfce7; color: #15803d; } .kachel-ic.gold { background: #fef3c7; color: #a16207; } .kachel-ic.blau { background: #e0f2fe; color: #0369a1; }
.illu-leer { width: 170px; height: auto; display: block; margin: 0 auto .5rem; }
.karte.leer > svg.illu-leer { width: 170px; height: auto; color: inherit; }
@media (prefers-reduced-motion: reduce) { .illu-fahrbahn { animation: none; } }

/* ===== Betreiberplattform: Menü links + Dashboard ===== */
@media (min-width: 960px) {
  body.plattform { padding-left: 264px; }
  .pf-reiter { display: none !important; }
  .pf-mobil-logo { display: none; }
  .pf-kopf .titel { font-size: 1.15rem; }
  .pf-inhalt { max-width: 1280px; padding: 1.5rem; }
}
@media (max-width: 959px) { .pf-kopf { background: var(--marke); } }
.pf-kopf { position: sticky; top: 0; }
.sl-zahl.neutral { background: rgba(255,255,255,.14); color: #d1fae5; }
.sl-zahl.warn { background: #fbbf24; color: #5b3a00; }
.sl-gruppe a.aktiv .sl-zahl.neutral { background: var(--marke-hell); color: var(--marke); }
.pf-held { display: grid; grid-template-columns: 1fr minmax(0, 360px); align-items: end; gap: 1rem; border-radius: 18px; padding: 1.5rem 1.5rem 0; margin-bottom: 1rem; color: #d7eee9;
  background: radial-gradient(28rem 16rem at 100% 0%, rgba(52,211,153,.3), transparent 60%), linear-gradient(135deg, #0c4c45, #083530); box-shadow: 0 20px 40px -24px rgba(10,63,57,.7); }
.pf-held > div { padding-bottom: 1.5rem; }
.pf-held h1 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 900; margin: .2rem 0 .4rem; }
.pf-held p { color: #b9d8d2; margin: 0; } .pf-held a { color: #6ee7b7; font-weight: 700; }
@media (max-width: 760px) { .pf-held { grid-template-columns: 1fr; } .pf-held > div { padding-bottom: 0; } .pf-held .illu-strasse { max-height: 110px; } }
.pf-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 1100px) { .pf-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pf-kpis { grid-template-columns: 1fr; } }
.pf-kpi { position: relative; background: #fff; border-radius: 16px; padding: 1.1rem 1.2rem; box-shadow: 0 0 0 1px rgba(16,32,48,.05), 0 10px 24px -18px rgba(16,32,48,.35); display: grid; gap: .15rem; }
.pf-kpi small { color: var(--ink-2); font-weight: 600; font-size: .82rem; padding-right: 2.5rem; }
.pf-kpi b { font-size: 1.85rem; font-weight: 900; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: .5rem; }
.pf-kpi em { font-style: normal; font-size: .8rem; color: var(--ink-3); }
.pf-trend { font-size: .72rem; font-weight: 800; padding: .15rem .45rem; border-radius: 99px; letter-spacing: 0; }
.pf-trend.hoch { background: #dcfce7; color: #166534; } .pf-trend.runter { background: #fee2e2; color: #991b1b; }
.pf-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pf-raster > .karte { margin: 0; border-radius: 16px; box-shadow: 0 0 0 1px rgba(16,32,48,.05), 0 10px 24px -18px rgba(16,32,48,.35); }
.pf-raster > .pf-gross { grid-column: span 2; }
@media (max-width: 1100px) { .pf-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .pf-raster { grid-template-columns: 1fr; } .pf-raster > .pf-gross { grid-column: auto; } }
.pf-kopfzeile { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: .75rem; flex-wrap: wrap; }
.pf-kopfzeile h2 { margin: 0; font-size: 1rem; font-weight: 800; }
.pf-balken { display: flex; align-items: flex-end; gap: 3px; height: 150px; padding-top: .5rem; border-bottom: 1px solid var(--linie);
  background: repeating-linear-gradient(to top, transparent 0 37px, #eef2f5 37px 38px); }
.pf-balken i { flex: 1; min-width: 2px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #14a37f, #0f5f56); opacity: .9; transition: opacity .15s; }
.pf-balken i:hover { opacity: 1; filter: brightness(1.15); }
.pf-achse { display: flex; justify-content: space-between; font-size: .72rem; color: var(--ink-3); margin-top: .3rem; }
.pf-ring { width: 150px; height: 150px; border-radius: 50%; margin: .25rem auto 1rem; display: grid; place-items: center; }
.pf-ring span { width: 100px; height: 100px; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; font-size: .75rem; color: var(--ink-2); }
.pf-ring b { font-size: 1.6rem; font-weight: 900; color: var(--ink); }
.pf-legende, .pf-liste, .pf-status { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.pf-legende li { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--ink-2); }
.pf-legende i { width: 10px; height: 10px; border-radius: 3px; } .pf-legende b { margin-left: auto; color: var(--ink); }
.pf-zeile { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 2rem; gap: .6rem; align-items: center; font-size: .88rem; margin-bottom: .45rem; }
.pf-zeile small { color: var(--ink-3); } .pf-zeile b { text-align: right; }
.pf-leiste { height: 8px; border-radius: 99px; background: #eef2f5; overflow: hidden; } .pf-leiste i { display: block; height: 100%; border-radius: 99px; background: var(--marke); min-width: 4px; }
.pf-liste li { display: flex; align-items: center; gap: .65rem; padding: .35rem 0; }
.pf-liste li + li { border-top: 1px solid var(--linie); padding-top: .6rem; }
.pf-liste li > div { flex: 1; min-width: 0; } .pf-liste b { display: block; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pf-liste small { color: var(--ink-3); font-size: .78rem; }
.pf-liste .sl-avatar { background: var(--marke-hell); color: var(--marke); }
.pf-status li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--ink-2); padding: .25rem 0; }
.pf-status i { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px #dcfce7; }
.pf-status li.warn i { background: #f59e0b; box-shadow: 0 0 0 4px #fef3c7; }
.pf-status b { margin-left: auto; color: var(--ink); }
.plattform .kunde-karte { border-radius: 16px; }
.pf-raster > *, .pf-kpis > * { min-width: 0; }
.pf-raster > .karte { overflow: hidden; }
.pf-liste .marke-tag { flex: none; }
.pf-gross .pf-balken { height: 270px; background: repeating-linear-gradient(to top, transparent 0 53px, #eef2f5 53px 54px); }
.pf-inhalt { min-width: 0; overflow-x: hidden; }
.kk-kopf { display: flex; gap: .8rem; align-items: flex-start; min-width: 0; }
.kk-avatar { background: var(--marke-hell); color: var(--marke); width: 42px; height: 42px; border-radius: 12px; font-size: 1.05rem; }
.marke-tag.st-aktiv { background: #dcfce7; color: #166534; } .marke-tag.st-ido { background: #e0f2fe; color: #075985; }
.marke-tag.st-test { background: #fef3c7; color: #92400e; } .marke-tag.st-gesperrt { background: #fee2e2; color: #991b1b; }
.plattform .kunde-karte { box-shadow: 0 0 0 1px rgba(16,32,48,.05), 0 10px 24px -18px rgba(16,32,48,.35); }

/* ===== Betreiberplattform: Seitenkopf mit Unterseiten (wie Betreiber-Dashboard der IDO-Familie) ===== */
@media (min-width: 960px) {
  /* Menüspalte optisch immer bis ganz unten, auch bei langen Seiten und beim Drucken als PDF */
  body.plattform, body:has(.app .seitenleiste) { background: linear-gradient(to right, #083530 264px, var(--paper, #f2f5f7) 264px); }
  .pf-kopf { display: none; }
  .pf-seitenkopf { position: sticky; top: 0; z-index: 20; margin: -1.5rem -1.5rem 1.25rem; padding: 1.1rem 1.5rem 0; background: rgba(242,245,247,.88);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--linie); }
}
.sl-umschalter { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border-radius: 12px; background: rgba(0,0,0,.22); margin: 0 0 1.1rem; }
.sl-umschalter a { text-align: center; padding: .45rem .5rem; border-radius: 9px; color: #b9d8d2; text-decoration: none; font-weight: 700; font-size: .84rem; }
.sl-umschalter a:hover { color: #fff; }
.sl-umschalter a.aktiv { background: #fff; color: var(--marke-dunkel); box-shadow: 0 4px 12px -6px rgba(0,0,0,.5); }
.sl-ich small + b { margin-top: 1px; }
.pf-seitenkopf { margin-bottom: 1rem; }
.pf-krumen { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.pf-krumen a { color: var(--marke); text-decoration: none; } .pf-krumen i { font-style: normal; opacity: .6; margin: 0 .2rem; }
.pf-kopfreihe { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-top: .15rem; }
.pf-kopfreihe h1 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 900; letter-spacing: -.02em; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.pf-werkzeuge { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.pf-werkzeuge form { margin: 0; }
.pf-unterzeile { margin: .2rem 0 .8rem; color: var(--ink-2); font-size: .92rem; }
.pf-segment { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; margin: 0 -.25rem; padding: 0 .25rem; }
.pf-segment::-webkit-scrollbar { display: none; }
.pf-segment a { flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .6rem .85rem; color: var(--ink-2); font-weight: 700; font-size: .9rem;
  text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.pf-segment a:hover { color: var(--ink); }
.pf-segment a.aktiv { color: var(--marke); border-bottom-color: var(--marke); }
.pf-zahl { background: #ef4444; color: #fff; border-radius: 99px; font-size: .7rem; padding: .05rem .45rem; }
.pf-licht { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; } .pf-licht.aus { background: #f59e0b; }
@media (max-width: 959px) { .pf-seitenkopf { border-bottom: 1px solid var(--linie); } }
.pf-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .38rem .75rem; border-radius: 99px; background: #fff; color: var(--ink-2); font-weight: 700; font-size: .84rem;
  text-decoration: none; box-shadow: inset 0 0 0 1px var(--linie); }
.pf-chip span { color: var(--ink-3); font-weight: 600; }
.pf-chip:hover { color: var(--ink); }
.pf-chip.aktiv { background: var(--marke); color: #fff; box-shadow: none; } .pf-chip.aktiv span { color: #c7f0e4; }
.pf-filter { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pf-karte, .pf-tabelle-karte, .plattform .einst-raster > .karte, .plattform .einst-raster > div > .karte { border-radius: 16px; box-shadow: 0 0 0 1px rgba(16,32,48,.05), 0 10px 24px -18px rgba(16,32,48,.35); }
.pf-tabelle-karte { padding: 0; overflow: auto; }
.pf-tabelle { margin: 0; }
.pf-tabelle th { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); background: #f8fafb; padding: .7rem 1rem; }
.pf-tabelle td { padding: .7rem 1rem; vertical-align: middle; }
.pf-tabelle tr:hover td { background: #f8fbfa; }
.pf-firma { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); min-width: 0; }
.pf-firma > span:last-child { display: grid; min-width: 0; } .pf-firma b { font-size: .95rem; } .pf-firma small { color: var(--ink-3); font-size: .8rem; }
.pf-firma em { color: #b45309; font-style: normal; }
.pf-firma .kk-avatar { width: 36px; height: 36px; font-size: .95rem; }
.pf-bis { display: block; color: var(--ink-3); font-size: .76rem; margin-top: .15rem; }
.pf-pfeil a { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--ink-3); }
.pf-pfeil a:hover { background: var(--marke-hell); color: var(--marke); } .pf-pfeil svg { width: 18px; height: 18px; }
.pf-aktion { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-bottom: .6rem; }
.pf-aktion select, .pf-aktion input { width: auto; flex: 1 1 140px; min-width: 0; }
.pf-zahlblock { display: grid; margin-bottom: .8rem; } .pf-zahlblock b { font-size: 1.6rem; font-weight: 900; letter-spacing: -.02em; } .pf-zahlblock span { color: var(--ink-3); font-size: .82rem; }
.pf-kpi b.pf-kpi-text { font-size: 1.15rem; overflow-wrap: anywhere; }
.pf-kpi em .marke-tag { font-size: .72rem; }
.pf-hoch { height: 260px; background: repeating-linear-gradient(to top, transparent 0 51px, #eef2f5 51px 52px); }
.pf-status a { color: inherit; text-decoration: none; } .pf-status a:hover { color: var(--marke); }
.pf-liste b a { color: inherit; text-decoration: none; } .pf-liste b a:hover { color: var(--marke); }
.plattform .karte.leer { text-align: center; }
@media (max-width: 700px) { .pf-tabelle th:nth-child(5), .pf-tabelle td:nth-child(5), .pf-tabelle th:nth-child(6), .pf-tabelle td:nth-child(6) { display: none; } }
.stripe-anleitung { display: grid; gap: 1rem; margin: 1rem 0 1.25rem; }
.sa-schritt { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: .75rem; }
.sa-schritt > span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--marke); color: #fff; font-weight: 800; font-size: .9rem; }
.sa-schritt p { margin: .3rem 0; } .sa-schritt .code { white-space: nowrap; }
.sa-rechte { margin: .5rem 0; max-width: 520px; } .sa-rechte td, .sa-rechte th { font-size: .85rem; }
.sa-url { white-space: normal !important; word-break: break-all; font-size: .9rem; user-select: all; }
.ticket-liste { display: grid; gap: .35rem; margin-bottom: 1rem; }
.ticket-zeile { display: flex; align-items: center; gap: .6rem; justify-content: space-between; width: 100%; text-align: left; padding: .6rem .75rem; border-radius: 12px;
  border: 1px solid var(--linie); background: #fff; cursor: pointer; font: inherit; color: var(--ink); }
.ticket-zeile:hover { border-color: var(--marke); }
.ticket-zeile > span:first-child { display: grid; min-width: 0; } .ticket-zeile b { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket-zeile small { color: var(--ink-3); font-size: .78rem; }
.ticket-verlauf { display: grid; gap: .6rem; margin: .8rem 0 1rem; max-height: 46vh; overflow-y: auto; }
.ticket-nachricht { padding: .65rem .8rem; border-radius: 14px; background: #f1f5f4; max-width: 88%; }
.ticket-nachricht.kunde { background: var(--marke-hell); justify-self: end; }
.ticket-nachricht small { color: var(--ink-3); font-size: .76rem; } .ticket-nachricht p { margin: .2rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.pf-balken i.pf-null { background: #e6ecef; opacity: 1; }
.pf-hoch i { max-width: 40px; }
.pf-hoch { justify-content: space-between; }
.pf-zelle-leiste { display: flex; align-items: center; gap: .6rem; min-width: 140px; } .pf-zelle-leiste .pf-leiste { flex: 1; } .pf-zelle-leiste span { width: 2.5rem; text-align: right; font-variant-numeric: tabular-nums; }
.pf-bis { white-space: nowrap; }
@media (max-width: 700px) {
  .pf-tabelle th:nth-child(2), .pf-tabelle td:nth-child(2), .pf-tabelle th:nth-child(4), .pf-tabelle td:nth-child(4) { display: none; }
  .pf-tabelle td, .pf-tabelle th { padding: .6rem .7rem; }
}
/* Betreiberplattform: Inhalt links bündig an der Menüspalte, Kopf ohne Überstand (sticky ohne negative Ränder) */
@media (min-width: 960px) {
  main.inhalt.pf-inhalt { max-width: 1600px; margin: 0 auto; padding: 0 2rem 2rem; }
  .pf-seitenkopf { margin: 0 0 1.25rem; padding: 1.4rem 0 0; }
}
.pf-version { font-variant-numeric: tabular-nums; font-weight: 700; }
.pf-kpis-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .pf-kpis-3 { grid-template-columns: 1fr; } }
