/* ==========================================================================
   VEREINT – Netzwerk für Tierschutzvereine
   Apple-Design (orientiert an den Human Interface Guidelines):
   Systemschrift · semantische Farben hell/dunkel · gruppierte Listen ·
   Material (Glas) nur auf der Navigationsebene · 44-pt-Bedienflächen
   ========================================================================== */

:root {
  color-scheme: light;
  /* Marke */
  --petrol: #006d7a;          /* Tint: Links, aktive Elemente – 6,05:1 auf Weiß */
  --petrol-fill: #006d7a;     /* gefüllte Buttons, weiße Schrift */
  --petrol-soft: rgba(0, 109, 122, .1);
  --orange: #ff8a3d;          /* Signaturfarbe: nur Logo, Zentrum des Netzwerks */
  --orange-ink: #b93a00;      /* Orange als Text – 5,3:1 */
  --orange-soft: #fff4ec;
  --badge: #c2410c;           /* Zähler-Badges – Weiß 5,2:1 */
  /* Systemflächen */
  --bg: #f5f5f7;              /* gruppierter Hintergrund */
  --bg-2: #ebebef;
  --card: #ffffff;
  --card-2: #f5f5f7;
  --fill: rgba(120, 120, 128, .12);
  --fill-2: rgba(120, 120, 128, .2);
  --ink: #1d1d1f;
  --muted: #6e6e73;           /* 4,66:1 auf #f5f5f7 */
  --sep: rgba(60, 60, 67, .16);
  --ok: #1a7f37; --ok-soft: #e9f6ec;
  --err: #c9302c; --err-soft: #fdeceb;
  --info: #0a62b0; --info-soft: #eaf2fb;
  --material: rgba(250, 250, 252, .72);
  --material-solid: #fafafc;
  --shadow: 0 1px 1px rgba(0,0,0,.03), 0 4px 18px rgba(0,0,0,.05);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.18);
  --r: 18px; --r-md: 14px; --r-sm: 10px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Inter, Arial, sans-serif;
  --font-round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.25, .8, .25, 1);
  --sidebar: 268px;
  --tabbar-h: 58px;
}

@media (prefers-contrast: more) {
  :root { --muted: #48484a; --sep: rgba(60, 60, 67, .45); --petrol: #00525c; }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.47 var(--font); letter-spacing: -.022em; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--petrol); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .15em; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .45em; font-weight: 700; letter-spacing: -.028em; }
h1 { font-size: clamp(1.75rem, 2.6vw, 2.125rem); }          /* Large Title 34 */
h2 { font-size: 1.375rem; letter-spacing: -.024em; }          /* Title 2 22 */
h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.02em; } /* Headline 17 */
p { margin: 0 0 1em; }
small { font-size: .8125rem; letter-spacing: -.005em; }          /* Footnote 13 */
code { background: var(--fill); padding: .1em .4em; border-radius: 6px; font-size: .9em; }
hr { border: 0; border-top: .5px solid var(--sep); margin: 1.4rem 0; }
::selection { background: rgba(0, 109, 122, .22); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--petrol) 70%, transparent); outline-offset: 2px; border-radius: 8px; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--card); padding: .6rem 1rem; border-radius: 10px; box-shadow: var(--shadow-lg); }
.skip:focus { left: 12px; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); }
.auth-narrow { width: min(460px, 100% - 2rem); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.grow { flex: 1; }
[hidden] { display: none !important; }

/* ---------- Marke ---------- */
.brand { display: flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none !important; min-height: 44px; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; flex: none; display: block; }
.brand-mark.sm { width: 28px; height: 28px; }
.brand-mark.big { width: 64px; height: 64px; margin-bottom: 1rem; }
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-size: 1rem; font-weight: 700; letter-spacing: .12em; }
.brand-text small { color: var(--muted); font-size: .75rem; letter-spacing: 0; }

/* ---------- Navigationsleiste (Glas) ---------- */
.navbar { position: sticky; top: 0; z-index: 60; background: var(--material); border-bottom: .5px solid var(--sep);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); padding-top: env(safe-area-inset-top); }
.navbar-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 56px; }
.topnav { display: flex; gap: .15rem; margin-left: auto; }
.topnav a { color: var(--ink); font-size: .875rem; padding: .5rem .8rem; border-radius: 99px; opacity: .85; min-height: 36px; display: inline-flex; align-items: center; }
.topnav a:hover { opacity: 1; text-decoration: none; background: var(--fill); }
.topnav a.active { opacity: 1; font-weight: 600; background: var(--fill); }
.navbar-actions { display: flex; align-items: center; gap: .4rem; }
.icon-btn { position: relative; width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: var(--petrol); cursor: pointer; }
.icon-btn:hover { background: var(--fill); }
.icon-btn .ico { width: 24px; height: 24px; }
.menu-btn { display: none; }
.dot-badge { position: absolute; top: 9px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--badge); border: 2px solid var(--material-solid); }
.navbar.compact-only { display: none; }

/* ---------- App-Rahmen (intern) ---------- */
.has-app .app { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: .5rem;
  padding: 1rem .75rem; background: var(--material); border-right: .5px solid var(--sep);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.sidebar .brand { padding: .25rem .6rem .75rem; }
.side-list { display: grid; gap: 2px; }
.side-title { font-size: .75rem; font-weight: 600; color: var(--muted); padding: 1rem .75rem .35rem; letter-spacing: 0; }
.side-list a { display: flex; align-items: center; gap: .7rem; min-height: 40px; padding: .4rem .75rem; border-radius: 10px; color: var(--ink); font-size: .9375rem; text-decoration: none; }
.side-list a .ico { color: var(--petrol); width: 21px; height: 21px; }
.side-list a span:first-of-type { flex: 1; }
.side-list a:hover { background: var(--fill); }
.side-list a.active { background: var(--petrol-fill); color: #fff; font-weight: 600; }
.side-list a.active .ico { color: #fff; }
.side-list a.active .badge { background: #fff; color: var(--petrol-fill); }
.side-foot { margin-top: auto; display: grid; gap: .5rem; padding: .75rem .4rem 0; border-top: .5px solid var(--sep); }
.side-user { display: flex; align-items: center; gap: .6rem; padding: .25rem .35rem; min-width: 0; }
.side-user span { display: grid; min-width: 0; line-height: 1.25; }
.side-user strong, .side-user small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .875rem; }
.side-user strong { font-weight: 600; }
.side-user small { color: var(--muted); font-size: .75rem; }
.side-foot .btn { justify-content: flex-start; color: var(--muted); }
.app-main { min-width: 0; display: flex; flex-direction: column; }
.app-main > .page { flex: 1; }

.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--badge); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: 0; font-variant-numeric: tabular-nums; }

/* Tab-Leiste (Smartphone) */
.tabbar { display: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .55rem 1.15rem;
  border-radius: 12px; border: 0; background: var(--petrol-fill); color: #fff; font: inherit; font-size: 1rem; font-weight: 600; letter-spacing: -.01em;
  cursor: pointer; text-decoration: none !important; transition: background .15s var(--ease), transform .1s var(--ease), opacity .15s; -webkit-tap-highlight-color: transparent; }
.btn:hover { background: color-mix(in srgb, var(--petrol-fill) 88%, #000); }
.btn:active { transform: scale(.98); opacity: .85; }
.btn .ico { width: 19px; height: 19px; }
.btn-filled { background: var(--petrol-fill); color: #fff; }
.btn-ghost, .btn-tinted { background: var(--petrol-soft); color: var(--petrol); }
.btn-ghost:hover, .btn-tinted:hover { background: color-mix(in srgb, var(--petrol) 20%, transparent); }
.btn-plain { background: transparent; color: var(--petrol); padding-inline: .7rem; }
.btn-plain:hover { background: var(--fill); }
.btn-light { background: #fff; color: #00434c; }
.btn-light:hover { background: #f0f0f3; }
.btn-danger { background: var(--err-soft); color: var(--err); }
.btn-danger:hover { background: color-mix(in srgb, var(--err) 22%, transparent); }
.btn-sm { min-height: 34px; padding: .35rem .9rem; font-size: .875rem; border-radius: 99px; }
.btn-lg { min-height: 52px; padding: .75rem 1.6rem; font-size: 1.0625rem; border-radius: 99px; }
.btn-block { width: 100%; }
button.link { background: none; border: 0; padding: .35rem .4rem; min-height: 32px; color: var(--petrol); cursor: pointer; font: inherit; font-size: .875rem; border-radius: 8px; }
button.link:hover { background: var(--fill); }
button.link.danger, a.danger { color: var(--err); }
form.inline { display: inline; }

/* ---------- Formulare (gruppiert wie in den Einstellungen) ---------- */
.form { display: grid; gap: 1.1rem; }
.form label { display: grid; gap: .35rem; font-weight: 500; font-size: .9375rem; }
.form label small { font-weight: 400; color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0 0 .5rem; display: grid; gap: 1rem; min-width: 0; }
legend { font-weight: 700; font-size: 1.25rem; letter-spacing: -.024em; margin-bottom: .8rem; padding: 0; }
input, select, textarea { width: 100%; font: inherit; font-size: 1.0625rem; color: inherit; min-height: 44px; padding: .6rem .85rem; letter-spacing: -.015em;
  border: 1px solid transparent; border-radius: 12px; background: var(--fill); transition: background .15s, box-shadow .15s, border-color .15s; -webkit-appearance: none; appearance: none; }
.card input, .card select, .card textarea, .auth-card input, .auth-card select, .auth-card textarea { background: var(--card-2); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .8; }
input:focus, select:focus, textarea:focus { outline: none; background: var(--card); border-color: var(--petrol); box-shadow: 0 0 0 4px var(--petrol-soft); }
input:disabled, select:disabled, textarea:disabled { opacity: .55; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .7rem center; background-size: 18px; padding-right: 2.4rem; }
input[type=file] { padding: .45rem; font-size: .9375rem; }
input[type=file]::file-selector-button { font: inherit; font-weight: 600; border: 0; border-radius: 99px; padding: .4rem .9rem; margin-right: .8rem; background: var(--petrol-soft); color: var(--petrol); cursor: pointer; }
input[type=checkbox], input[type=radio] { width: 22px; height: 22px; min-height: 0; padding: 0; accent-color: var(--petrol-fill); -webkit-appearance: auto; appearance: auto; }
textarea { resize: vertical; min-height: 3rem; line-height: 1.45; }
input.xs { width: 80px; }
.form label.check, label.check { display: flex; align-items: flex-start; gap: .65rem; font-weight: 400; cursor: pointer; }
label.check input { flex: none; margin-top: .1rem; }
label.check.inline { align-items: center; white-space: nowrap; }
label.check.inline input { margin: 0; }
.grid2, .grid3, .grid4 { display: grid; gap: 1rem; }
.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hint { font-size: .875rem; color: var(--muted); margin: 0; }
.actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.stack { display: grid; gap: .6rem; }

/* Segmentierte Steuerung */
.segmented, .seg-links { display: inline-flex; background: var(--fill); padding: 2px; border-radius: 10px; gap: 2px; width: max-content; max-width: 100%; overflow-x: auto; }
.segmented label { display: block; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span, .seg-links a { display: block; padding: .4rem 1rem; min-height: 32px; border-radius: 8px; font-weight: 500; font-size: .875rem; color: var(--ink); text-decoration: none; white-space: nowrap; transition: background .2s var(--ease); }
.segmented input:checked + span, .seg-links a.active { background: var(--card); box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 0 0 .5px rgba(0,0,0,.04); font-weight: 600; }
.segmented input:focus-visible + span { outline: 3px solid var(--petrol); }

/* ---------- Hinweise ---------- */
.flashes { padding-top: 1rem; }
.alert { display: flex; gap: .6rem; padding: .85rem 1.1rem; border-radius: var(--r-md); margin-bottom: .75rem; font-size: .9375rem; background: var(--card); box-shadow: var(--shadow); }
.alert::before { content: ""; width: 4px; border-radius: 4px; flex: none; background: currentColor; }
.alert.ok { background: var(--ok-soft); } .alert.ok::before { background: var(--ok); }
.alert.err { background: var(--err-soft); } .alert.err::before { background: var(--err); }
.alert.info { background: var(--info-soft); } .alert.info::before { background: var(--info); }
.empty { padding: 2.2rem 1.2rem; text-align: center; color: var(--muted); }
.empty.big { padding: 5rem 2rem; }

/* ---------- Karten & gruppierte Listen ---------- */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); margin-bottom: 1.25rem; overflow: hidden; }
.card.pad, .pad { padding: 1.5rem; }
.card-body { padding: 1rem 1.2rem 1.2rem; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.1rem 1.25rem .35rem; }
.card-head h2 { font-size: 1.25rem; margin: 0; }
.card-head.sub { border-top: .5px solid var(--sep); margin-top: .5rem; }
.card-head a { font-size: .9375rem; }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.meta { display: flex; align-items: center; gap: .45rem; font-size: .8125rem; color: var(--muted); flex-wrap: wrap; margin-bottom: .5rem; }
.tags { display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: .7rem; }
.tag { display: inline-block; padding: .15rem .6rem; border-radius: 99px; background: var(--fill); color: var(--ink); font-size: .75rem; font-weight: 500; letter-spacing: 0; }
.pill { display: inline-block; padding: .2rem .6rem; border-radius: 99px; font-size: .75rem; font-weight: 700; letter-spacing: 0; flex: none; }
.pill.biete { background: var(--petrol-fill); color: #fff; }
.pill.suche { background: var(--badge); color: #fff; }
.pill.grey { background: var(--fill-2); color: var(--ink); }
.back { display: inline-flex; align-items: center; gap: .15rem; margin-bottom: 1rem; font-size: 1rem; min-height: 44px; }
.back::before { content: "‹"; font-size: 1.6rem; line-height: 1; margin-top: -.15rem; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.2rem; margin: 1rem 0 0; font-size: .9375rem; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; }
.dl.cols { grid-template-columns: max-content 1fr max-content 1fr; }
.prose { overflow-wrap: anywhere; }
.prose > :last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
ul.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.status { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--fill-2); margin-right: .5rem; }
.status.on { background: var(--ok); }

/* Avatare: abgerundete Quadrate wie App-Symbole */
.avatar { --h: 180; width: 40px; height: 40px; border-radius: 10px; display: inline-grid; place-items: center; flex: none; object-fit: cover;
  background: hsl(var(--h) 42% 88%); color: hsl(var(--h) 60% 24%); font-family: var(--font-round); font-weight: 700; font-size: .875rem; letter-spacing: 0; }
.avatar.xs { width: 22px; height: 22px; font-size: .625rem; border-radius: 6px; }
.avatar.sm { width: 32px; height: 32px; font-size: .75rem; border-radius: 8px; }
.avatar.md { width: 48px; height: 48px; font-size: 1rem; border-radius: 12px; }
.avatar.lg { width: 84px; height: 84px; font-size: 1.6rem; border-radius: 20px; }

/* Liste mit eingerückten Trennlinien */
.list { list-style: none; margin: 0; padding: 0 0 .4rem; }
.list li { position: relative; }
.list li + li::before { content: ""; position: absolute; top: 0; left: 4.1rem; right: 0; border-top: .5px solid var(--sep); }
.list li a { display: flex; align-items: center; gap: .8rem; padding: .7rem 1.25rem; min-height: 56px; color: var(--ink); text-decoration: none; }
.list li a:hover { background: var(--fill); }
.list li a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--fill-2); border-top: 2px solid var(--fill-2); transform: rotate(45deg); flex: none; margin-left: .2rem; }
.list-main { display: grid; min-width: 0; flex: 1; }
.list-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.list-main small { color: var(--muted); font-size: .8125rem; }
.list.compact li a { min-height: 44px; padding: .5rem 1.25rem; }
.list.topics { padding: 0; }
.count { display: grid; text-align: right; flex: none; font-size: .75rem; color: var(--muted); }
.count strong { font-size: 1.0625rem; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Öffentlich: Hero ---------- */
.hero { position: relative; overflow: hidden; background: #f3f3f5; text-align: center; } /* = Hintergrund des Herobilds */
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--sep); }
.hero-inner { display: grid; justify-items: center; padding: clamp(3.5rem, 8vw, 6.5rem) 0 0; }
.hero-text { max-width: 820px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.75rem); line-height: 1.03; letter-spacing: -.045em; font-weight: 700; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--orange-ink); }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.45; color: var(--muted); max-width: 60ch; letter-spacing: -.02em; }
.hero .lead { margin-inline: auto; }
.eyebrow { display: block; font-size: 1.0625rem; font-weight: 600; color: var(--orange-ink); margin-bottom: .6rem; letter-spacing: -.015em; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }

/* Signatur: das Netzwerk – jeder Punkt ein Verein, das orange Zentrum seid ihr */
.hero-visual { width: 100%; margin: 1rem 0 0; }
.hero-visual img { width: 100%; height: auto; display: block; }
@media (max-width: 600px) { .hero-visual { margin-top: .5rem; } .hero-visual img { aspect-ratio: 4 / 3; } }
.net { position: relative; aspect-ratio: 2 / 1; border-radius: 28px 28px 0 0; overflow: hidden;
  background: radial-gradient(60% 90% at 50% 100%, #0a8a99 0%, #005f6b 45%, #00363d 100%); }
.net-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.net-lines line { stroke: rgba(255,255,255,.3); stroke-width: 1.2; stroke-dasharray: 3 7; animation: dash 22s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -200; } }
.node { position: absolute; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.12); animation: pulse 4s ease-in-out infinite; }
.node.n0 { left: 50%; top: 62%; width: 54px; height: 54px; margin: -27px; background: var(--orange); box-shadow: 0 0 0 12px rgba(255,138,61,.22), 0 0 0 26px rgba(255,138,61,.08); }
.node.n1 { left: 18%; top: 30%; animation-delay: .3s; } .node.n2 { left: 80%; top: 26%; animation-delay: .9s; }
.node.n3 { left: 89%; top: 66%; animation-delay: 1.4s; } .node.n4 { left: 70%; top: 90%; animation-delay: .6s; }
.node.n5 { left: 30%; top: 88%; animation-delay: 1.9s; } .node.n6 { left: 9%; top: 68%; animation-delay: 1.1s; }
.node.n7 { left: 50%; top: 14%; animation-delay: 2.2s; background: var(--orange); }
.node.n8 { left: 36%; top: 44%; animation-delay: 2.6s; width: 9px; height: 9px; margin: -4.5px; }
@keyframes pulse { 50% { transform: scale(1.16); } }
.net-label { position: absolute; left: 50%; top: 62%; transform: translate(-50%, 46px); color: #fff; font-size: .8125rem; font-weight: 600; white-space: nowrap; opacity: .9; }

.stats { background: var(--bg); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 2.5rem 0 .5rem; gap: 1rem; }
.stats-grid div { display: grid; gap: .1rem; }
.stats-grid strong { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stats-grid span { color: var(--muted); font-size: .9375rem; }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-sm { padding: 1.75rem 0 3rem; }
.section.alt { background: var(--card); }
.section h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; line-height: 1.07; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.split .prose { font-size: 1.1875rem; line-height: 1.5; color: var(--muted); }
.split .prose strong { color: var(--ink); }

/* Funktionen als Bento-Raster */
.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin-top: 2.75rem; }
.feature { grid-column: span 2; background: var(--bg); border-radius: 24px; padding: 1.75rem; display: grid; align-content: start; gap: .25rem; }
.section:not(.alt) .feature { background: var(--card); box-shadow: var(--shadow); }
.features .feature:nth-child(1) { grid-column: span 4; background: linear-gradient(160deg, #00434c, #006d7a); color: #fff; }
.feature:nth-child(1) p { color: rgba(255,255,255,.82); }
.feature:nth-child(1) .ficon { background: rgba(255,255,255,.14); color: #fff; }
.feature:nth-child(6) { grid-column: span 6; grid-template-columns: auto 1fr; column-gap: 1.25rem; align-items: center; }
.feature:nth-child(6) .ficon { grid-row: span 2; }
.feature:nth-child(6) h3 { margin: 0; }
.feature h3 { font-size: 1.3125rem; margin: .6rem 0 .3rem; }
.feature p { color: var(--muted); margin: 0; font-size: 1rem; }
.ficon { width: 48px; height: 48px; border-radius: 13px; background: var(--petrol-soft); color: var(--petrol); display: grid; place-items: center; }
.ficon .ico { width: 26px; height: 26px; }

.steps { list-style: none; padding: 0; margin: 2.75rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: s; }
.steps li { counter-increment: s; background: var(--card); border-radius: 24px; padding: 1.75rem; box-shadow: var(--shadow); display: grid; gap: .3rem; }
.steps li::before { content: counter(s); font-size: 2.75rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--petrol); margin-bottom: .6rem; font-variant-numeric: tabular-nums; }
.steps strong { font-size: 1.3125rem; letter-spacing: -.024em; }
.steps span { color: var(--muted); }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.news-card { margin: 0; border-radius: 22px; }
.section.alt .news-card { background: var(--bg); box-shadow: none; }
.news-card h3 { margin-top: .3rem; font-size: 1.1875rem; }
.news-card p { color: var(--muted); font-size: .9375rem; margin: 0; }
.verein-strip { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin: 2.5rem 0; }
.verein-chip { display: flex; align-items: center; gap: .7rem; background: var(--card); padding: .5rem 1.1rem .5rem .5rem; border-radius: 99px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none !important; min-height: 48px; }
.verein-chip:hover { background: var(--card-2); }
.verein-chip span { display: grid; line-height: 1.25; text-align: left; }
.verein-chip strong { font-weight: 600; font-size: .9375rem; }
.verein-chip small { color: var(--muted); }
.cta { background: var(--card); border-top: .5px solid var(--sep); }
.cta-inner { padding: clamp(3.5rem, 7vw, 5.5rem) 0; text-align: center; }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; }
.cta p { font-size: 1.1875rem; color: var(--muted); max-width: 52ch; margin: 0 auto 1.75rem; }
.cta .btn-light { background: var(--petrol-fill); color: #fff; }
.big-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); font-size: 2.2rem; display: grid; place-items: center; margin: 0 auto 1rem; }

/* ---------- Verzeichnis ---------- */
.filterbar { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin: 1.25rem 0; }
.filterbar input[name=q] { flex: 1 1 240px; padding-left: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.4-4.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: .8rem center; background-size: 19px; }
.filterbar select { flex: 0 1 220px; width: auto; }
.verein-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; }
.verein-card { display: flex; gap: 1rem; padding: 1.25rem; color: var(--ink); text-decoration: none !important; margin: 0; transition: transform .2s var(--ease), box-shadow .2s; }
.verein-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.verein-card h3 { margin: 0 0 .15rem; }
.verein-card p { margin: 0 0 .2rem; }
.profile-head { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.profile-head h1 { margin-bottom: .2rem; }
.profile-head p { margin-bottom: .4rem; }
.verein-mini { display: flex; align-items: center; gap: .8rem; color: var(--ink); text-decoration: none !important; }
.verein-mini span { display: grid; }
.verein-mini small { color: var(--muted); }

/* ---------- Intern ---------- */
.welcome { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.welcome h1 { margin-bottom: .1rem; font-size: clamp(2rem, 3vw, 2.125rem); }
.welcome p { margin: 0; }
.quick { display: flex; gap: .5rem; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-bottom: 1.5rem; }
.kpi { background: var(--card); border-radius: var(--r); padding: 1rem 1.15rem; box-shadow: var(--shadow); display: grid; gap: .1rem; color: var(--ink); text-decoration: none !important; min-height: 92px; transition: transform .15s var(--ease); }
.kpi:hover { transform: translateY(-1px); }
.kpi:active { transform: scale(.98); }
.kpi strong { font-size: 2rem; line-height: 1.1; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--petrol); }
.kpi:nth-child(1) strong { color: var(--orange-ink); }
.kpi span { color: var(--muted); font-size: .875rem; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.online { display: flex; flex-wrap: wrap; gap: .4rem; padding: .4rem 1.25rem 1.25rem; font-size: .8125rem; }
.online span { display: inline-flex; align-items: center; gap: .35rem; background: var(--fill); padding: .2rem .65rem .2rem .2rem; border-radius: 99px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.page-head h1 { margin-bottom: .15rem; }
.page-head p { margin: 0; }
.with-side { display: grid; grid-template-columns: 240px 1fr; gap: 1.5rem; align-items: start; }
.side-nav { padding: .4rem; position: sticky; top: 1.25rem; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding: .45rem .8rem; border-radius: 10px; color: var(--ink); font-size: .9375rem; text-decoration: none; }
.side-nav a span { color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.side-nav a:hover { background: var(--fill); }
.side-nav a.active { background: var(--petrol-soft); color: var(--petrol); font-weight: 600; }
.pager { display: flex; gap: .35rem; justify-content: center; margin: 1.5rem 0; flex-wrap: wrap; }
.pager a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--card); box-shadow: var(--shadow); color: var(--ink); font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; }
.pager a.active { background: var(--petrol-fill); color: #fff; }

/* Suche & Biete */
.markt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.markt-card { margin: 0; color: var(--ink); text-decoration: none !important; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s; }
.markt-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.09); }
.markt-card.done { opacity: .55; }
.markt-card h3 { margin: .15rem 0 .35rem; font-size: 1.0625rem; }
.markt-card .card-body { display: flex; flex-direction: column; flex: 1; }
.markt-card .meta { margin: auto 0 0; padding-top: .6rem; line-height: 1.3; }
.markt-img { position: relative; aspect-ratio: 4/3; background: linear-gradient(150deg, var(--petrol-soft), var(--fill)); display: grid; place-items: center; }
.markt-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.markt-img > span:first-child { font-size: 2.6rem; font-weight: 700; color: var(--petrol); opacity: .3; }
.markt-img .pill { position: absolute; top: .7rem; left: .7rem; }
.markt-img .pill.grey { left: auto; right: .7rem; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 1.5rem; align-items: start; }
.detail-img { width: 100%; max-height: 500px; object-fit: cover; }
.thumb-row { display: flex; align-items: center; gap: 1rem; }
.thumb { width: 110px; height: 80px; object-fit: cover; border-radius: 10px; }
.logo-row { display: flex; align-items: center; gap: 1.2rem; }
.logo-row label { flex: 1; }

/* Ideenbörse */
.post { padding: 1.35rem 1.5rem; }
.post.first h1 { font-size: 1.75rem; margin-top: .6rem; }
.post-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; font-size: .9375rem; }
.post-tools { margin-left: auto; display: flex; gap: .3rem; }
.replies-title { font-size: .8125rem; font-weight: 600; color: var(--muted); margin: 1.6rem 1.25rem .6rem; }

/* Chat */
.chat { display: grid; grid-template-columns: 250px 1fr; gap: 1.25rem; height: calc(100vh - 7.5rem); min-height: 480px; }
.chat .card { margin: 0; }
.chat-side { padding: .6rem; overflow-y: auto; }
.chat-side h3 { font-size: .75rem; font-weight: 600; color: var(--muted); margin: .75rem .6rem .35rem; }
.chat-side a { display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding: .4rem .75rem; border-radius: 10px; color: var(--ink); font-size: .9375rem; text-decoration: none; }
.chat-side a:hover { background: var(--fill); }
.chat-side a.active { background: var(--petrol-fill); color: #fff; font-weight: 600; }
.chat-side .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--badge); }
.chat-online { display: grid; gap: .3rem; padding: 0 .6rem; font-size: .8125rem; }
.chat-online div { display: flex; align-items: baseline; gap: .4rem; }
.chat-online small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-main { display: flex; flex-direction: column; }
.chat-head { padding: .85rem 1.25rem; border-bottom: .5px solid var(--sep); background: var(--material); }
.chat-head small { display: block; color: var(--muted); }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .15rem; }
.chat-loading { margin: auto; color: var(--muted); }
.cmsg { display: flex; gap: .65rem; padding: .3rem .5rem; border-radius: 12px; position: relative; }
.cmsg:hover { background: var(--fill); }
.cmsg.cont { padding-top: .05rem; }
.cmsg.cont .avatar { visibility: hidden; height: 0; }
.cmsg .body { min-width: 0; flex: 1; }
.cmsg .who { font-size: .8125rem; }
.cmsg .who strong { margin-right: .35rem; font-weight: 600; }
.cmsg .who small { color: var(--muted); }
.cmsg .txt { white-space: pre-wrap; overflow-wrap: anywhere; }
.cmsg.mine .who strong { color: var(--petrol); }
.cmsg .del { position: absolute; right: .4rem; top: .25rem; opacity: 0; font-size: .75rem; }
.cmsg:hover .del, .cmsg .del:focus { opacity: 1; }
.chat-form, .thread-form { display: flex; gap: .5rem; padding: .6rem .7rem; border-top: .5px solid var(--sep); align-items: flex-end; background: var(--material); }
.chat-form textarea, .thread-form textarea { max-height: 160px; border-radius: 22px; min-height: 44px; padding: .6rem 1rem; background: var(--card-2); }
.chat-form .btn, .thread-form .btn { border-radius: 99px; flex: none; }
.day-sep { text-align: center; margin: .9rem 0 .5rem; font-size: .75rem; font-weight: 600; color: var(--muted); }

/* Nachrichten (wie Mail/Nachrichten-App) */
.inbox { display: grid; grid-template-columns: 340px 1fr; gap: 1.25rem; align-items: start; }
.inbox .card { margin: 0; }
.inbox-list { max-height: calc(100vh - 12rem); overflow-y: auto; padding: .35rem; }
.inbox-list a { display: flex; gap: .7rem; padding: .7rem .75rem; border-radius: 12px; color: var(--ink); text-decoration: none; align-items: flex-start; }
.inbox-list a:hover { background: var(--fill); }
.inbox-list a.active { background: var(--petrol-fill); color: #fff; }
.inbox-list a.active small, .inbox-list a.active .count, .inbox-list a.active .list-main > span { color: rgba(255,255,255,.85); }
.inbox-list a.unread strong { font-weight: 700; }
.inbox-list a.unread .list-main > span { font-weight: 600; color: var(--ink); }
.inbox-list .list-main > span { font-size: .875rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-list .count { gap: .3rem; justify-items: end; }
.inbox-view { min-height: 420px; display: flex; flex-direction: column; }
.thread-head { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.25rem; border-bottom: .5px solid var(--sep); }
.thread-head small { display: block; color: var(--muted); }
.thread { flex: 1; padding: 1rem 1.1rem; overflow-y: auto; max-height: calc(100vh - 22rem); min-height: 260px; display: flex; flex-direction: column; gap: .55rem; }
.bubble { max-width: 76%; align-self: flex-start; }
.bubble.mine { align-self: flex-end; }
.bubble-meta { font-size: .6875rem; color: var(--muted); margin: 0 .6rem .2rem; }
.bubble.mine .bubble-meta { text-align: right; }
.bubble-text { background: var(--card-2); padding: .55rem .95rem; border-radius: 20px; overflow-wrap: anywhere; line-height: 1.38; }
.bubble.mine .bubble-text { background: var(--petrol-fill); color: #fff; }
.bubble.mine .bubble-text a { color: #fff; text-decoration: underline; }
.mobile-only { display: none; }

/* Tabellen, Admin */
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.table th { text-align: left; font-size: .75rem; font-weight: 600; color: var(--muted); padding: .75rem 1rem; border-bottom: .5px solid var(--sep); }
.table td { padding: .7rem 1rem; border-bottom: .5px solid var(--sep); vertical-align: middle; }
.table tr:last-child td { border: 0; }
.table tr.inactive td { color: var(--muted); }
.card .table { margin: 0; }
.card.pad .table { margin: 0 -1.5rem 1rem; width: calc(100% + 3rem); }
.tabs { display: inline-flex; gap: 2px; padding: 2px; border-radius: 10px; background: var(--fill); margin-bottom: 1.25rem; overflow-x: auto; max-width: 100%; }
.tabs a { padding: .45rem 1rem; min-height: 34px; display: inline-flex; align-items: center; gap: .35rem; color: var(--ink); font-size: .875rem; font-weight: 500; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.tabs a.active { background: var(--card); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.review { display: grid; grid-template-columns: 1fr 200px; gap: 1.5rem; }

/* Anmeldung / Installer */
.auth-page { background: var(--bg); min-height: 100vh; }
.auth-wrap { width: min(480px, 100% - 2rem); margin: clamp(1.5rem, 6vw, 4rem) auto; }
.auth-wrap.wide { width: min(760px, 100% - 2rem); }
.auth-card { background: var(--card); padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: 24px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.75rem; }

/* Footer */
.footer { border-top: .5px solid var(--sep); color: var(--muted); padding: 1.75rem 0 2rem; font-size: .8125rem; background: var(--bg); }
.footer-inner { display: flex; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: .65rem; }
.footer-brand span { display: grid; line-height: 1.3; }
.footer strong { color: var(--ink); letter-spacing: .1em; font-size: .8125rem; }
.footer nav { display: flex; gap: .25rem 1.25rem; flex-wrap: wrap; }
.footer a { color: var(--muted); display: inline-flex; min-height: 32px; align-items: center; }
.footer a:hover { color: var(--ink); }

/* ---------- Sheet (Menü als Blatt von unten) ---------- */
.sheet { border: 0; padding: 0 0 calc(1rem + env(safe-area-inset-bottom)); margin: auto auto 0; width: min(560px, 100%); max-height: 88vh;
  border-radius: 22px 22px 0 0; background: var(--bg); color: var(--ink); box-shadow: var(--shadow-lg); overflow-y: auto; }
.sheet::backdrop { background: rgba(0,0,0,.35); }
.sheet[open] { animation: sheet-in .35s var(--ease); }
@keyframes sheet-in { from { transform: translateY(40%); opacity: .4; } }
@media (min-width: 700px) { .sheet { margin: auto; border-radius: 22px; } }
.sheet-grabber { width: 36px; height: 5px; border-radius: 3px; background: var(--fill-2); margin: 6px auto 0; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: .25rem .5rem 0 1.25rem; }
.sheet-head strong { font-size: 1.0625rem; font-weight: 600; }
.sheet-user { display: flex; align-items: center; gap: .8rem; padding: .5rem 1.25rem 1rem; }
.sheet-user span { display: grid; }
.sheet-user small { color: var(--muted); }
.group { margin: 0 1rem 1rem; background: var(--card); border-radius: 12px; overflow: hidden; }
.group a { display: flex; align-items: center; gap: .8rem; min-height: 48px; padding: .55rem 1rem; color: var(--ink); text-decoration: none; position: relative; }
.group a + a::before { content: ""; position: absolute; top: 0; left: 3.2rem; right: 0; border-top: .5px solid var(--sep); }
.group a:hover { background: var(--fill); }
.group a > span { flex: 1; }
.group a .ico:first-child { color: var(--petrol); }
.group a .chev { width: 16px; height: 16px; color: var(--muted); opacity: .6; }
.group a.destructive, .group a.destructive .ico { color: var(--err); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --sidebar: 236px; }
  .topnav { display: none; }
  .menu-btn { display: inline-grid; }
  .navbar-actions { margin-left: auto; }
}
@media (max-width: 900px) {
  /* Smartphone & kleines Tablet: Tab-Leiste statt Seitenleiste */
  .has-app .app { display: block; }
  .sidebar { display: none; }
  .navbar.compact-only { display: flex; align-items: center; gap: .5rem; min-height: 52px; padding-left: max(1rem, env(safe-area-inset-left)); padding-right: max(.25rem, env(safe-area-inset-right)); }
  .navbar.compact-only .brand-text { display: none; }
  .navbar.compact-only .brand-mark { width: 30px; height: 30px; border-radius: 8px; }
  .navbar-title { flex: 1; text-align: center; font-weight: 600; font-size: 1.0625rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .has-app { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--material); border-top: .5px solid var(--sep);
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
  .tabbar a { flex: 1; display: grid; justify-items: center; align-content: center; gap: 2px; min-height: var(--tabbar-h); color: var(--muted); font-size: .6875rem; font-weight: 500; letter-spacing: 0; text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .tabbar a.active { color: var(--petrol); }
  .tabbar a.active .ico { fill: var(--petrol-soft); stroke-width: 2.1; }
  .tab-ico { position: relative; }
  .tab-ico .ico { width: 26px; height: 26px; }
  .tab-ico .badge { position: absolute; top: -4px; left: 16px; min-width: 18px; height: 18px; font-size: .6875rem; padding: 0 5px; }
  .hero-visual { margin-top: 2.5rem; }
  .split, .detail-grid, .with-side, .dash-grid, .review { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature, .feature:nth-child(1) { grid-column: span 1; }
  .feature:nth-child(1), .feature:nth-child(6) { grid-column: span 2; }
  .cards3, .steps { grid-template-columns: 1fr 1fr; }
  .kpis, .stats-grid { grid-template-columns: 1fr 1fr; }
  .grid3, .grid4 { grid-template-columns: 1fr 1fr; }
  .side-nav { position: static; display: flex; overflow-x: auto; gap: .25rem; }
  .side-nav a { white-space: nowrap; gap: .5rem; flex: none; }
  .chat { grid-template-columns: 1fr; height: auto; }
  .chat-side { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: .3rem; }
  .chat-side h3, .chat-online { display: none; }
  .chat-side a { white-space: nowrap; flex: none; }
  .chat-main { height: calc(100dvh - 15rem - env(safe-area-inset-bottom)); min-height: 380px; }
  .inbox { grid-template-columns: 1fr; }
  .inbox.has-open .inbox-list { display: none; }
  .inbox:not(.has-open) .inbox-view { display: none; }
  .inbox-list { max-height: none; }
  .thread { max-height: calc(100dvh - 21rem); }
  .mobile-only { display: inline-flex; }
  .dl.cols { grid-template-columns: max-content 1fr; }
}
@media (max-width: 600px) {
  .container, .narrow { width: calc(100% - 2rem); }
  .features, .cards3, .steps, .grid2, .grid3, .grid4 { grid-template-columns: 1fr; }
  .feature:nth-child(1), .feature:nth-child(6) { grid-column: span 1; }
  .feature:nth-child(6) { grid-template-columns: 1fr; }
  .feature:nth-child(6) h3 { margin: .6rem 0 .3rem; }
  .hide-xs { display: none; }
  .navbar.public .brand-text small { display: none; }
  .card.pad, .pad { padding: 1.15rem; }
  .net { aspect-ratio: 4 / 3; border-radius: 22px 22px 0 0; }
  .table { font-size: .875rem; }
  .table th, .table td { padding: .55rem .65rem; }
  .card .table { display: block; overflow-x: auto; }
  .bubble { max-width: 88%; }
  .filterbar select { flex: 1 1 100%; }
  .welcome .quick { width: 100%; }
  .welcome .quick .btn { flex: 1; white-space: nowrap; padding-inline: .5rem; font-size: .9375rem; }
  .kpi { min-height: 0; padding: .85rem 1rem; }
  .kpi strong { font-size: 1.75rem; }
  .list li + li::before { left: 1.25rem; }
}


/* ---------- Testbetrieb ---------- */
.testbanner { background: var(--orange-soft); border-bottom: .5px solid rgba(185, 58, 0, .18); color: var(--ink); font-size: .875rem; }
.testbanner-inner { display: flex; align-items: center; gap: .6rem; min-height: 40px; padding: .35rem 0; flex-wrap: wrap; }
.testbanner p { margin: 0; flex: 1; min-width: 200px; }
.testbanner strong { color: var(--orange-ink); }
.testbanner a { font-weight: 600; color: var(--orange-ink); }
.test-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,138,61,.22); flex: none; animation: pulse 2.4s ease-in-out infinite; }
.test-section { background: var(--bg); padding-top: 2.5rem; }
.test-card { background: var(--card); border-radius: 28px; padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow); }
.test-card-head h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.035em; margin: .9rem 0 .5rem; }
.test-card-head .lead { margin-bottom: 1.75rem; }
.test-badge { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .85rem .35rem .7rem; border-radius: 99px; background: var(--orange-soft); color: var(--orange-ink); font-weight: 600; font-size: .875rem; }
.test-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.test-list li { display: flex; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: 18px; background: var(--bg); }
.test-list .ico { color: var(--petrol); width: 26px; height: 26px; margin-top: .1rem; }
.test-list span { display: grid; gap: .15rem; color: var(--muted); font-size: .9375rem; }
.test-list strong { color: var(--ink); font-size: 1.0625rem; }
.info-icon { background: var(--petrol-soft); color: var(--petrol); }
.info-icon .ico { width: 34px; height: 34px; }

/* Alltags-Beispiele */
.scenarios { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.scenario { background: var(--card); border-radius: 22px; padding: 1.5rem; box-shadow: var(--shadow); display: grid; align-content: start; gap: .35rem; }
.scenario .pill { justify-self: start; }
.scenario h3 { font-size: 1.1875rem; margin: .5rem 0 .1rem; }
.scenario p { color: var(--muted); font-size: .9375rem; margin: 0; }

/* Zielgruppe */
.audience { list-style: none; margin: 0 0 1rem; padding: 0; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.audience li { display: flex; align-items: center; gap: .9rem; min-height: 54px; padding: .6rem 1.25rem; position: relative; font-size: 1.0625rem; }
.audience li + li::before { content: ""; position: absolute; top: 0; left: 3.6rem; right: 0; border-top: .5px solid var(--sep); }
.audience .ico { color: var(--petrol); }

/* Vertrauen */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 2.5rem 0 2rem; }
.trust > div { background: var(--bg); border-radius: 22px; padding: 1.5rem; }
.trust h3 { font-size: 1.1875rem; margin: .9rem 0 .3rem; }
.trust p { color: var(--muted); font-size: .9375rem; margin: 0; }

/* Fahrplan */
.roadmap { list-style: none; padding: 0; margin: 2.75rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: r; }
.roadmap li { counter-increment: r; position: relative; background: var(--card); border-radius: 22px; padding: 1.5rem; box-shadow: var(--shadow); display: grid; align-content: start; gap: .3rem; }
.roadmap li::before { content: counter(r); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--fill); color: var(--muted); margin-bottom: .6rem; }
.roadmap li.done::before { content: "✓"; background: var(--ok-soft); color: var(--ok); }
.roadmap li.now { box-shadow: 0 0 0 2px var(--orange), var(--shadow); }
.roadmap li.now::before { background: var(--orange); color: #1d1d1f; }
.roadmap strong { font-size: 1.1875rem; letter-spacing: -.024em; }
.roadmap span { color: var(--muted); font-size: .9375rem; }
.roadmap em { position: absolute; top: 1.6rem; right: 1.25rem; font-style: normal; font-size: .75rem; font-weight: 700; color: var(--orange-ink); background: var(--orange-soft); padding: .15rem .55rem; border-radius: 99px; }

/* FAQ als aufklappbare Liste */
.faq { margin-top: 2.25rem; background: var(--bg); border-radius: 18px; overflow: hidden; }
.faq details { position: relative; }
.faq details + details::before { content: ""; position: absolute; top: 0; left: 1.25rem; right: 0; border-top: .5px solid var(--sep); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: .8rem 1.25rem; font-weight: 600; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s var(--ease); flex: none; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq summary:hover { background: var(--fill); }
.faq details p { margin: 0; padding: 0 1.25rem 1.2rem; color: var(--muted); }

@media (max-width: 900px) {
  .scenarios, .trust, .roadmap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .scenarios, .trust, .roadmap, .test-list { grid-template-columns: 1fr; }
}

/* ---------- Bedienungshilfen ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .navbar, .sidebar, .tabbar, .chat-head, .chat-form, .thread-form { background: var(--material-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .navbar, .sidebar, .tabbar { background: var(--material-solid); }
}
@media print {
  .navbar, .sidebar, .tabbar, .footer, .sheet { display: none !important; }
  .has-app .app { display: block; }
  body { background: #fff; }
}

/* ---------- Testzugang (nur ansehen) ---------- */
.gastbanner { background: var(--info-soft); border-bottom: .5px solid rgba(0, 0, 0, .08); color: var(--ink); font-size: .875rem; }
.gastbanner .ico { width: 18px; height: 18px; flex: none; color: var(--info); }
.gastbanner p { margin: 0; flex: 1; min-width: 200px; }
.gast-toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 1000;
  max-width: min(92vw, 460px); padding: .8rem 1.1rem; border-radius: 14px; background: rgba(29, 29, 31, .94); color: #fff;
  font-size: .9375rem; line-height: 1.35; text-align: center; box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.gast-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .gast-toast { transition: none; } }

/* ======================================================================
   SAARLORLUX-RESCUE – Notfälle, SOS, Karten, Börsen, Wissen, App
   Notfallrot #b3261e: Weiß darauf 6,6:1 · Rot als Text auf Weiß 6,6:1
   ====================================================================== */
:root { --sos: #b3261e; --sos-soft: #fdecea; --warn: #8a5a00; --warn-soft: #fff4d6; }

/* Status-Pillen & Badges */
.pill.red { background: var(--sos); color: #fff; }
.pill.ok { background: var(--ok); color: #fff; }
.badge.red { background: var(--sos); }
.count-pill { display: inline-grid; place-items: center; min-width: 20px; height: 18px; padding: 0 6px; border-radius: 99px; background: var(--fill-2); font-size: .7rem; font-weight: 700; }
.h-section { font-size: 1.25rem; margin: 1.6rem 0 .7rem; letter-spacing: -.02em; }
.right { text-align: right; } .break { word-break: break-all; }
.btn-ok { background: var(--ok); color: #fff; } .btn-ok:hover { background: color-mix(in srgb, var(--ok) 85%, #000); }
.btn-sos-sm { background: var(--sos); color: #fff; font-weight: 700; letter-spacing: .02em; }
.btn-sos-sm:hover { background: color-mix(in srgb, var(--sos) 85%, #000); }

/* Notfall-Leiste oben */
.notfallbar { display: block; background: var(--sos); color: #fff; text-decoration: none; font-size: .9375rem; }
.notfallbar .testbanner-inner { min-height: 44px; }
.notfallbar span { color: #fff; } .notfallbar .ico { color: #fff; width: 18px; height: 18px; margin-left: auto; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #fff; flex: none; animation: puls 1.4s ease-in-out infinite; }
@keyframes puls { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.75); } }

/* SOS-Knopf (schwebend) – bewusst kein Tab: Tab-Leisten dienen der Navigation (Apple HIG) */
.sos-fab { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60;
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--sos); color: #fff; text-decoration: none;
  font: 800 1rem/1 var(--font-round); letter-spacing: .04em; box-shadow: 0 6px 20px rgba(179, 38, 30, .45), 0 0 0 4px #fff; }
.sos-fab:hover { background: color-mix(in srgb, var(--sos) 88%, #000); }
.sos-fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (max-width: 900px) { .has-app .sos-fab { bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); width: 58px; height: 58px; } }

/* SOS-Seite */
.sos-head { display: flex; gap: 1rem; align-items: center; margin: .5rem 0 1rem; }
.sos-symbol { flex: none; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--sos); color: #fff; font: 800 1.15rem/1 var(--font-round); letter-spacing: .05em; }
.sos-head h1 { margin: 0 0 .25rem; }
.sos-gruende, .eta-wahl, .art-wahl { display: flex; flex-wrap: wrap; gap: .5rem; }
.sos-chip, .art-chip { position: relative; }
.sos-chip input, .art-chip input { position: absolute; opacity: 0; inset: 0; }
.sos-chip span, .art-chip span { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem .95rem; border-radius: 12px; background: var(--fill); font-size: .9375rem; font-weight: 500; cursor: pointer; }
.sos-chip input:checked + span { background: var(--sos); color: #fff; }
.art-chip input:checked + span { background: var(--petrol-fill); color: #fff; }
.sos-chip input:focus-visible + span, .art-chip input:focus-visible + span { outline: 3px solid var(--petrol); outline-offset: 2px; }
.btn-sos { display: grid; gap: .15rem; min-height: 72px; border-radius: 18px; background: var(--sos); color: #fff; font: 800 1.35rem/1.1 var(--font-round); letter-spacing: .04em; }
.btn-sos small { font: 500 .875rem var(--font); letter-spacing: 0; opacity: .9; }
.btn-sos:hover { background: color-mix(in srgb, var(--sos) 88%, #000); }
.geo-row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-bottom: .5rem; }

/* SOS-Hinweis in der App */
.sos-overlay { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; background: rgba(120, 10, 5, .55); }
.sos-overlay[hidden] { display: none; }
.sos-ov-card { width: min(420px, 100%); background: var(--card); border-radius: 24px; padding: 1.75rem 1.5rem; text-align: center; box-shadow: var(--shadow-lg); }
.sos-ov-card .sos-symbol { margin: 0 auto 1rem; animation: puls 1s ease-in-out infinite; }
.sos-ov-card h2 { margin: 0 0 .5rem; color: var(--sos); }

/* Notfall-Karten (Liste) */
.notfall-list, .fahrt-list { display: grid; gap: .6rem; }
.notfall-card, .fahrt-card { display: flex; gap: .9rem; align-items: center; padding: .95rem 1.1rem; color: var(--ink); text-decoration: none; border-left: 5px solid var(--fill-2); }
.notfall-card:hover, .fahrt-card:hover { background: var(--card-2); }
.notfall-card.st-offen { border-left-color: var(--sos); }
.notfall-card.sos.st-offen { background: var(--sos-soft); }
.notfall-card.st-uebernommen { border-left-color: var(--ok); }
.notfall-card.st-erledigt, .fahrt-card.done { opacity: .62; }
.nf-sym { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--fill); font-size: 1.35rem; }
.nf-sym.big { width: 56px; height: 56px; font-size: 1.7rem; }
.nf-main, .fahrt-main { display: grid; gap: .15rem; flex: 1; min-width: 0; }
.nf-main strong, .fahrt-main strong { font-size: 1.0625rem; line-height: 1.3; }
.nf-art { font-size: .8125rem; color: var(--muted); }
.nf-count { flex: none; display: grid; justify-items: center; line-height: 1.1; }
.nf-count strong { font-size: 1.35rem; color: var(--ok); } .nf-count small { font-size: .75rem; color: var(--muted); }

/* Notfall-Detail */
.nf-head-top { display: flex; gap: 1rem; align-items: flex-start; }
.nf-head h1 { margin: .2rem 0 .3rem; font-size: clamp(1.5rem, 3.4vw, 2rem); line-height: 1.15; }
.nf-detail.sos .nf-head { box-shadow: inset 0 0 0 2px var(--sos), var(--shadow); }
.nf-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.nf-bild { max-width: 100%; border-radius: 12px; }
.route-box { background: var(--ok-soft); }
.route-box h2 { margin-top: 0; }
.feed { list-style: none; margin: 0; padding: 0 1.25rem .5rem; }
.feed li { display: flex; gap: .75rem; padding: .8rem 0; border-top: .5px solid var(--sep); align-items: flex-start; }
.feed li:first-child { border-top: 0; }
.feed-meta { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; font-size: .9375rem; }
.feed-komme { background: linear-gradient(90deg, var(--ok-soft), transparent 70%); margin: 0 -1.25rem; padding-inline: 1.25rem !important; }
.komme-form, .msg-form { margin-bottom: .75rem; }
.msg-form { display: flex; gap: .6rem; align-items: flex-end; } .msg-form textarea { flex: 1; }
.grow { flex: 1; min-width: 0; }

/* Karten */
.karte { width: 100%; border-radius: 14px; overflow: hidden; background: var(--bg-2); z-index: 0; }
.karte-card { padding: 0; overflow: hidden; }
.karte-card .karte { border-radius: 0; }
.karte-fuss { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; padding: .7rem 1rem; }
.karte-wahl { height: 260px; margin: .25rem 0 .25rem; border: .5px solid var(--sep); }
.pin { display: grid !important; place-items: center; }
.pin span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); color: #fff; font: 800 .8rem/1 var(--font-round); box-shadow: 0 3px 10px rgba(0,0,0,.3); }
.pin-sos span { background: var(--sos); } .pin-nf span { background: var(--badge); }
.leaflet-container a { color: var(--petrol); }

/* Fahrdienst */
.fahrt-when { flex: none; width: 64px; text-align: center; display: grid; line-height: 1.15; }
.fahrt-when strong { font-size: 1.05rem; } .fahrt-when small { font-size: .75rem; color: var(--muted); }
.route { font-size: 1.0625rem; } .route-big { font-size: clamp(1.5rem, 4vw, 2.1rem); margin: .4rem 0; line-height: 1.15; }
.route-grid { display: grid; grid-template-columns: 2fr 1fr 2fr 1fr; gap: 1rem; }
@media (max-width: 720px) { .route-grid { grid-template-columns: 1fr 1fr; } }

/* Adress- und Börsen-Karten */
.adr-list { display: grid; gap: .6rem; }
.adr-card { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.15rem; flex-wrap: wrap; }
.adr-card.done { opacity: .6; }
.adr-main { flex: 1 1 260px; min-width: 0; }
.adr-main h3 { margin: 0 0 .2rem; font-size: 1.0625rem; } .adr-main p { margin: .15rem 0; }
.adr-actions { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.notdienst-card { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.15rem; margin-bottom: 1rem; color: var(--ink); text-decoration: none; background: var(--info-soft); }
.notdienst-card strong { display: block; } .notdienst-card small { color: var(--muted); }
.quelle { font-size: .8125rem; color: var(--muted); margin-top: 1rem; }
.pp-zahl { flex: none; width: 60px; height: 60px; border-radius: 14px; background: var(--ok-soft); display: grid; place-content: center; text-align: center; line-height: 1.05; }
.pp-zahl strong { font-size: 1.5rem; color: var(--ok); } .pp-zahl small { font-size: .7rem; color: var(--muted); }
.pp-zahl.fund { background: var(--info-soft); } .pp-zahl.fund strong { font-size: 1.3rem; }
.gesuch { margin-bottom: .6rem; border-left: 5px solid var(--badge); } .gesuch.dringend { border-left-color: var(--sos); }
.gesuch h3 { margin: .35rem 0; }
.aufnehmen-form { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; } .aufnehmen-form input { flex: 1 1 220px; }
.stepper { display: flex; gap: .4rem; align-items: center; }
.stepper input { width: 80px; text-align: center; font-size: 1.25rem; font-weight: 600; }
.stepper .btn { width: 44px; padding: 0; font-size: 1.3rem; }
.detail-grid.rev { grid-template-columns: minmax(0, 1fr) 340px; }
@media (max-width: 900px) { .detail-grid.rev { grid-template-columns: 1fr; } .detail-grid.rev aside { order: -1; } }
.check.strong { font-weight: 600; }

/* Formulare */
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .25rem .9rem; margin-bottom: .6rem; }
.label-text { display: block; font-size: .875rem; font-weight: 600; margin: .4rem 0 .35rem; }
.weg-wahl { display: grid; gap: .55rem; }
.weg { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 14px; background: var(--card-2); border: 2px solid transparent; cursor: pointer; }
.weg input { margin-top: .3rem; accent-color: var(--petrol-fill); width: 20px; height: 20px; }
.weg strong { display: block; } .weg small { color: var(--muted); }
.weg:has(input:checked) { border-color: var(--petrol); background: var(--petrol-soft); }
.reg-form .nur-team, .reg-form .nur-org, .reg-form .nur-person { display: none; }
.reg-form[data-weg="team"] .nur-team, .reg-form[data-weg="org"] .nur-org, .reg-form[data-weg="person"] .nur-person { display: block; }
.reg-form[data-weg="person"] .nicht-person { display: none; }
.reg-form .ausland-box { display: none; padding: .9rem 1rem; border-radius: 12px; background: var(--warn-soft); margin-bottom: .75rem; }
.reg-form.mit-ausland .ausland-box { display: block; }
.vertraulich { background: var(--info-soft); border-radius: 14px; padding: 1rem 1.15rem; }
.vertraulich ul { padding-left: 1.2rem; margin: .5rem 0 .9rem; } .vertraulich li { margin-bottom: .35rem; font-size: .9375rem; }
/* ---------- Sprachwahl mit Länderflaggen ---------- */
.flagge { width: 22px; height: 16px; flex: none; border-radius: 3px; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.18), 0 0 0 .5px rgba(0,0,0,.12); display: block; overflow: hidden; }
.sprachwahl { position: relative; display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--fill); margin: 0 0 1rem; }
.sprachwahl a { min-height: 40px; display: inline-flex; align-items: center; gap: .5rem; padding: 0 .85rem; border-radius: 9px; font-size: .875rem; font-weight: 600; color: var(--ink); text-decoration: none; transition: background .25s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease); }
.sprachwahl a:hover { background: rgba(255,255,255,.55); }
.sprachwahl a:active { transform: scale(.97); }
.sprachwahl a.active { background: var(--card); box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 0 0 .5px rgba(0,0,0,.04); }
.sprachwahl a:not(.active) .flagge { filter: saturate(.85); opacity: .9; }
.sprachwahl a:focus-visible, .sprachmenue summary:focus-visible, .sprachmenue-liste a:focus-visible { outline: 3px solid var(--petrol); outline-offset: 2px; }
.sprachwahl .sw-kurz { display: none; }
@media (max-width: 420px) { .sprachwahl a { padding: 0 .7rem; } .sprachwahl .sw-name { display: none; } .sprachwahl .sw-kurz { display: inline; } }
/* kompaktes Menü in der Kopfzeile */
.sprachmenue { position: relative; }
.sprachmenue summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; min-width: 44px; padding: 0 .55rem; border-radius: 10px; font-size: .8125rem; font-weight: 600; color: var(--ink); transition: background .2s var(--ease); }
.sprachmenue summary::-webkit-details-marker { display: none; }
.sprachmenue summary:hover, .sprachmenue[open] summary { background: var(--fill); }
.sprachmenue .chev { width: 12px; height: 12px; color: var(--muted); transition: transform .25s var(--ease); }
.sprachmenue[open] .chev { transform: rotate(180deg); }
.sprachmenue-liste { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 220px; padding: 6px; border-radius: 14px; background: var(--material); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); box-shadow: 0 0 0 .5px var(--sep), var(--shadow-lg); transform-origin: top right; animation: sprachmenue-auf .22s var(--ease); }
.sprachmenue-liste a { display: flex; align-items: center; gap: .7rem; min-height: 44px; padding: 0 .75rem; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: .9375rem; }
.sprachmenue-liste a:hover { background: var(--fill); }
.sprachmenue-liste a.active { font-weight: 600; }
.sprachmenue-liste .haken { width: 14px; height: 14px; margin-left: auto; color: var(--petrol); }
@keyframes sprachmenue-auf { from { opacity: 0; transform: scale(.96) translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sprachmenue-liste { animation: none; } .sprachmenue .chev, .sprachwahl a { transition: none; } }
@media (prefers-reduced-transparency: reduce) { .sprachmenue-liste { background: var(--material-solid); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (max-width: 480px) { .sprachmenue-kurz { display: none; } .sprachmenue summary { padding: 0 .45rem; } }
.ablehnen summary { list-style: none; cursor: pointer; } .ablehnen summary::-webkit-details-marker { display: none; }
.ablehnen[open] summary { margin-bottom: .5rem; }

/* Einsatzbereitschaft */
.vstatus { display: inline-flex; align-items: center; gap: .35rem; font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.vstatus i { width: 9px; height: 9px; border-radius: 50%; background: var(--fill-2); }
.v-ok i { background: var(--ok); } .v-ok { color: var(--ok); }
.v-warn i { background: #d97706; } .v-warn { color: var(--warn); }
.v-grey { color: var(--muted); } .v-off i { background: var(--err); } .v-off { color: var(--err); }
.side-status { display: block; padding: .25rem .2rem .6rem; text-decoration: none; }
.status-wahl { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .5rem; }
.status-btn { display: flex; align-items: center; gap: .55rem; min-height: 52px; padding: .6rem 1rem; border-radius: 14px; border: 2px solid transparent; background: var(--fill); font: 600 .9375rem var(--font); color: var(--ink); cursor: pointer; text-align: left; }
.status-btn i { width: 12px; height: 12px; border-radius: 50%; background: var(--fill-2); flex: none; }
.status-btn.v-ok i { background: var(--ok); } .status-btn.v-warn i { background: #d97706; } .status-btn.v-off i { background: var(--err); }
.status-btn.active { border-color: var(--petrol); background: var(--petrol-soft); }
.team-liste li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .5rem 0; border-top: .5px solid var(--sep); }
.team-liste li:first-child { border-top: 0; }
.small-kpis { margin-top: .75rem; } .small-kpis .kpi strong { font-size: 1.4rem; }

/* Einstellungen */
.push-status { font-weight: 600; padding: .75rem 1rem; border-radius: 12px; background: var(--fill); }
.push-status.an { background: var(--ok-soft); color: var(--ok); } .push-status.err { background: var(--err-soft); color: var(--err); } .push-status.info { background: var(--info-soft); }
.toggle-list { display: grid; margin-bottom: 1rem; border-radius: 14px; background: var(--card-2); }
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: .6rem 1rem; border-top: .5px solid var(--sep); }
.toggle-row:first-child { border-top: 0; }
.toggle-row strong { display: block; font-size: 1rem; } .toggle-row small { color: var(--muted); }
.switch { appearance: none; -webkit-appearance: none; flex: none; width: 51px; height: 31px; border-radius: 99px; background: var(--fill-2); position: relative; cursor: pointer; transition: background .2s var(--ease); margin: 0; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.switch:checked { background: var(--ok); } .switch:checked::after { transform: translateX(20px); }
.switch:focus-visible { outline: 3px solid var(--petrol); outline-offset: 2px; }
.geraete li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .55rem 0; border-top: .5px solid var(--sep); }
.geraete small { display: block; }

/* Kalender */
.termin { display: flex; gap: 1rem; padding: 1rem 1.15rem; margin-bottom: .6rem; align-items: flex-start; }
.termin-datum { flex: none; width: 58px; border-radius: 14px; background: var(--petrol-soft); display: grid; text-align: center; padding: .45rem 0; line-height: 1.1; }
.termin-datum strong { font-size: 1.6rem; color: var(--petrol); } .termin-datum small { font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; }
.termin-main { flex: 1; min-width: 0; } .termin-main h3 { margin: .15rem 0 .3rem; }

/* Wissen */
.doc-card .doc-ext { flex: none; width: 48px; height: 56px; border-radius: 8px; display: grid; place-items: center; background: var(--err-soft); color: var(--err); font: 800 .75rem var(--font-round); }
.upload-box summary { cursor: pointer; min-height: 32px; } .upload-box[open] summary { margin-bottom: .8rem; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .6rem; margin-top: 1rem; }
.info-card { display: grid; gap: .2rem; padding: 1rem 1.1rem; color: var(--ink); text-decoration: none; }
.info-card:hover { background: var(--card-2); } .info-card small { color: var(--muted); }
.chip-nav { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.chip-nav a { padding: .45rem .85rem; min-height: 36px; display: inline-flex; align-items: center; border-radius: 99px; background: var(--fill); color: var(--ink); font-size: .875rem; font-weight: 500; text-decoration: none; }
.seuche { scroll-margin-top: 80px; } .seuche h2 { margin-top: 0; }
.qref { font-size: .75em; vertical-align: super; text-decoration: none; margin-left: 1px; }
.quellen ol { font-size: .875rem; padding-left: 1.4rem; } .quellen li { margin-bottom: .25rem; word-break: break-word; }
.quellen li:target { background: var(--warn-soft); }
.hilfe-angebot { background: var(--ok-soft); } .hilfe-angebot h2 { margin-top: 0; }
.krisen h3 { font-size: 1rem; margin: 1rem 0 .2rem; } .krisen a { font-weight: 700; white-space: nowrap; }

/* Übersetzen */
.tr-wahl { position: relative; display: inline-block; margin: .15rem 0 .25rem; }
.tr-btn { border: 0; background: none; padding: .25rem 0; color: var(--petrol); font: 500 .8125rem var(--font); cursor: pointer; min-height: 28px; }
.tr-btn::before { content: "🌐 "; }
.tr-menue { position: absolute; z-index: 20; top: 100%; left: 0; display: grid; min-width: 170px; padding: 4px; border-radius: 12px; background: var(--material-solid); box-shadow: var(--shadow-lg); }
.tr-menue[hidden] { display: none; }
.tr-menue button { border: 0; background: none; text-align: left; padding: .55rem .8rem; min-height: 40px; border-radius: 8px; font: 500 .9375rem var(--font); color: var(--ink); cursor: pointer; }
.tr-menue button:hover, .tr-menue button:focus-visible { background: var(--fill); }
.tr-ergebnis { margin: .35rem 0; padding: .6rem .8rem; border-radius: 10px; background: var(--info-soft); font-size: .9375rem; white-space: pre-line; }
.tr-ergebnis small { display: block; color: var(--muted); font-size: .75rem; margin-top: .25rem; }

/* App-Anleitung */
.app-schritte { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.app-schritte .card.meine-plattform { box-shadow: inset 0 0 0 2px var(--petrol), var(--shadow); }
.app-schritte ol { padding-left: 1.2rem; } .app-schritte li { margin-bottom: .4rem; }

@media (prefers-reduced-motion: reduce) { .pulse, .sos-ov-card .sos-symbol { animation: none; } .switch, .switch::after { transition: none; } }
@media (prefers-contrast: more) { .notfall-card { border-left-width: 7px; } .vstatus i, .status-btn i { outline: 1px solid var(--ink); } }

/* Logo SAARLORLUX-RESCUE */
.brand-img { width: 44px; height: auto; object-fit: contain; border-radius: 0; background: none; }
.brand-mark.sm.brand-img { width: 36px; }
.brand-text strong { color: #014037; letter-spacing: .02em; }
.logo-gross { display: block; width: min(260px, 70vw); height: auto; margin: 0 auto 1rem; }
.logo-mittel { display: block; width: 140px; height: auto; margin: 0 auto .75rem; }
.pad-x { padding: 0 1.25rem 1rem; }

/* ---------- App-Anleitung & Startseite SAARLORLUX ---------- */
.app-kopf { display: flex; gap: 1.5rem; align-items: flex-start; margin-bottom: 1.5rem; }
.app-icon-gross { border-radius: 22px; box-shadow: var(--shadow); flex: none; }
@media (max-width: 600px) { .app-kopf { flex-direction: column; } }
.plattformen { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 1rem; }
.plattform.meine-plattform { box-shadow: inset 0 0 0 2px var(--petrol), var(--shadow); order: -1; }
.schritte { padding-left: 1.3rem; margin: .5rem 0 1rem; }
.schritte li { margin: .45rem 0; }
.haken li { display: flex; gap: .6rem; align-items: flex-start; padding: .35rem 0; }
.haken li svg { color: var(--ok, #1f7a3a); flex: none; margin-top: .15rem; }
.app-teaser { display: flex; gap: 1.25rem; align-items: center; }
.app-teaser img { border-radius: 18px; flex: none; }
.app-teaser h2 { margin: 0 0 .25rem; font-size: 1.25rem; }
@media (max-width: 600px) { .app-teaser { flex-direction: column; text-align: center; } }
.hero-sll .hero-inner { grid-template-columns: 1fr; text-align: center; }
.hero-sll .hero-text { max-width: 44rem; margin: 0 auto; }
.hero-sll .hero-actions { justify-content: center; }
.chat-fehler { margin: 0 0 .5rem; padding: .6rem .8rem; border-radius: 12px; background: rgba(179, 38, 30, .08); color: var(--sos); font-size: .9375rem; }

/* Funktionskacheln SAARLORLUX (9 Kacheln): Desktop 3 Spalten, Tablet 2, Handy 1 */
.features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.features .feature, .features .feature:nth-child(1), .features .feature:nth-child(6) { grid-column: auto; grid-template-columns: none; }
.features .feature:nth-child(6) { background: var(--bg); color: inherit; }
.section:not(.alt) .features .feature:nth-child(6) { background: var(--card); }
.features .feature:nth-child(1) { grid-column: span 2; }
.features .feature:nth-child(9) { grid-column: span 3; grid-template-columns: auto 1fr; column-gap: 1.25rem; align-items: center; }
.features .feature:nth-child(9) .ficon { grid-row: span 2; }
@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features .feature:nth-child(9) { grid-column: auto; grid-template-columns: none; }
}
@media (max-width: 600px) {
  .features { grid-template-columns: minmax(0, 1fr); }
  .features .feature:nth-child(1) { grid-column: auto; }
}

/* ---------- Wortmarke SAARLORLUX-RESCUE ---------- */
.wortmarke { display: flex; flex-direction: column; align-items: center; gap: .35rem; margin: 0 auto 1.25rem; text-align: center; }
.wortmarke img { display: block; width: 100%; height: auto; }
.wortmarke-text { font-weight: 900; color: #014037; letter-spacing: .01em; line-height: 1; text-transform: uppercase; }
.wortmarke-text span { display: block; color: #014037; letter-spacing: .32em; margin-right: -.32em; font-weight: 800; }
.wortmarke.gross picture, .wortmarke.gross > img { width: min(300px, 72vw); }
.wortmarke.gross .wortmarke-text { font-size: clamp(2rem, 7vw, 3rem); }
.wortmarke.gross .wortmarke-text span { font-size: .62em; margin-top: .2em; }
.wortmarke.mittel picture, .wortmarke.mittel > img { width: 150px; }
.wortmarke.mittel .wortmarke-text { font-size: 1.45rem; }
.wortmarke.mittel .wortmarke-text span { font-size: .66em; margin-top: .2em; }

/* ---------- Logo SAARLORLUX-RESCUE ---------- */
.logo-bild { display: block; margin: 0 auto 1rem; }
.logo-bild img { display: block; width: 100%; height: auto; }
.logo-bild.gross { width: min(300px, 74vw); }
.logo-bild.mittel { width: 160px; }
.brand-text strong { letter-spacing: 0; }
@media (max-width: 380px) { .brand-text strong { font-size: .95rem; } }

/* ---------- Startseite SAARLORLUX-RESCUE ---------- */
.hero-sprache { display: flex; justify-content: center; margin-bottom: 1.25rem; }
.hero-actions .btn svg { width: 1em; height: 1em; margin-left: .15em; vertical-align: -.1em; }
.laenderband { background: #014037; color: #fff; }
.laender { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.5rem 0; text-align: center; }
.laender div { display: grid; justify-items: center; gap: .15rem; }
.laender strong { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.laender span:last-child { font-size: .875rem; color: rgba(255,255,255,.78); }
.flagge { width: 34px; height: 22px; border-radius: 5px; box-shadow: 0 0 0 1px rgba(255,255,255,.35); margin-bottom: .45rem; }
.flagge-de { background: linear-gradient(#000 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%); }
.flagge-fr { background: linear-gradient(90deg, #0055a4 0 33.3%, #fff 33.3% 66.6%, #ef4135 66.6%); }
.flagge-lu { background: linear-gradient(#ed2939 0 33.3%, #fff 33.3% 66.6%, #00a1de 66.6%); }
.stats-3 { grid-template-columns: repeat(3, 1fr); }
.ablauf { list-style: none; padding: 0; margin: 2.75rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: a; position: relative; }
.ablauf li { counter-increment: a; background: var(--card); border-radius: 24px; padding: 1.5rem; box-shadow: var(--shadow); display: grid; align-content: start; gap: .35rem; position: relative; }
.ablauf li::before { content: counter(a); position: absolute; top: 1.25rem; right: 1.35rem; font-size: 2rem; font-weight: 700; letter-spacing: -.04em; color: var(--fill, #e8e8ed); font-variant-numeric: tabular-nums; line-height: 1; }
.ablauf-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--petrol-soft); color: var(--petrol); margin-bottom: .5rem; }
.ablauf li:first-child .ablauf-icon { background: rgba(179, 38, 30, .1); color: var(--sos); }
.ablauf h3 { margin: 0; font-size: 1.125rem; }
.ablauf p { margin: 0; color: var(--muted); }
.steps-kompakt { margin: 0 0 2rem; }
.steps-kompakt li { padding: 1.25rem 1.4rem; }
.steps-kompakt li::before { font-size: 2rem; margin-bottom: .3rem; }
.steps-kompakt h3 { margin: 0; font-size: 1.0625rem; }
.steps-kompakt p { margin: 0; font-size: .9375rem; }
.mitmachen .sprachwahl { margin-bottom: 1.25rem; }
.schluss { padding: 4rem 0 5rem; background: linear-gradient(180deg, transparent, var(--petrol-soft)); }
.schluss h2 { margin: 0 0 .5rem; }
@media (max-width: 900px) { .ablauf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .ablauf, .stats-3, .steps-kompakt { grid-template-columns: minmax(0, 1fr); }
  .laender { gap: .5rem; } .laender strong { font-size: 1.0625rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html { scroll-behavior: smooth; }
.hero-sll { padding-bottom: 3.5rem; }
h2.h1 { font-size: clamp(1.75rem, 2.6vw, 2.125rem); }

/* ---------- Parallax-Bildflächen (Startseite) ---------- */
.pband { position: relative; overflow: hidden; isolation: isolate; display: grid; align-items: center; min-height: min(78vh, 720px); padding: 5rem 0; }
.pband-bild { position: absolute; left: 0; right: 0; top: -12%; height: 124%; z-index: -2; display: block; will-change: transform; }
.pband-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pband::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pband-links::after { background: linear-gradient(90deg, rgba(0,0,0,.42), rgba(0,0,0,0) 65%); }
.pband-rechts::after { background: linear-gradient(270deg, rgba(0,0,0,.42), rgba(0,0,0,0) 65%); }
.pband-laender::after { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.28)); }
.pband-inhalt { display: flex; position: relative; }
.pband-rechts .pband-inhalt { justify-content: flex-end; }
.pband-laender .pband-inhalt, .pband-mitte .pband-inhalt { justify-content: center; }

/* Glas (Apple-Material): Text bleibt auf jedem Bildausschnitt lesbar */
.glas { border-radius: 28px; padding: clamp(1.4rem, 3vw, 2.25rem); max-width: 34rem; -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); }
.glas-hell { background: rgba(255,255,255,.78); box-shadow: 0 20px 60px rgba(0,0,0,.18); color: var(--ink); }
.glas-dunkel { background: rgba(18,22,24,.52); color: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glas-hell { background: rgba(255,255,255,.94); } .glas-dunkel { background: rgba(18,22,24,.82); } }
@media (prefers-reduced-transparency: reduce) { .glas-hell { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } .glas-dunkel { background: #121618; -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-contrast: more) { .glas-dunkel { background: rgba(0,0,0,.86); } .glas-hell { background: #fff; } }
.pband-titel { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; margin: 0 0 .6rem; }
.pband-text { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.45; margin: 0; color: rgba(255,255,255,.9); }

/* Hero mit Foto */
.hero-foto { min-height: calc(100svh - 52px); padding: 2.5rem 0 3rem; background: #c9d6dd; }
.hero-foto::after { background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.25)); }
.hero-foto .hero-inner { display: flex; justify-content: center; }
.hero-foto .hero-text { max-width: 40rem; text-align: center; }
.hero-foto .logo-bild.gross { width: min(230px, 56vw); margin-bottom: .75rem; }
.hero-foto h1 { margin-top: .25rem; }
.hero-foto .lead { color: #3a3a3c; }
.hero-foto .hint { color: #48484a; margin-bottom: 0; }
.hero-foto .hero-sprache { margin-bottom: 1rem; }

/* Länder auf Glas */
.laender-glas { max-width: 46rem; width: 100%; text-align: center; }
.laender-glas .pband-titel { font-size: clamp(1.375rem, 3vw, 1.875rem); }
.laender-glas .laender { padding: .5rem 0 0; }
.laenderband { display: none; }

/* Abschluss mit Foto */
.schluss.pband { background: none; padding: 5rem 0; }
.schluss .glas { margin: 0 auto; }
.schluss .lead { color: #3a3a3c; }

@media (max-width: 700px) {
  .pband { min-height: 88vh; align-items: end; padding: 3rem 0 2.5rem; }
  .pband-links::after, .pband-rechts::after, .pband-laender::after { background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.45)); }
  .pband-rechts .pband-inhalt { justify-content: flex-start; }
  .glas { border-radius: 24px; }
  .hero-foto { align-items: center; min-height: auto; padding: 1.5rem 0 2.5rem; }
  .laender { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .pband-bild { top: 0; height: 100%; transform: none !important; } }
.schluss h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -.03em; }

/* ---------- NOTFALL-Knopf (Tiernotruf Saarland) ---------- */
.btn-notfall { display: inline-flex; align-items: center; gap: .45rem; min-height: 36px; padding: 0 .9rem; border-radius: 999px; background: var(--sos, #b3261e); color: #fff !important; font-weight: 800; font-size: .8125rem; letter-spacing: .06em; text-decoration: none; white-space: nowrap; box-shadow: 0 2px 10px rgba(179,38,30,.35); transition: transform .15s var(--ease, ease), box-shadow .15s; }
.btn-notfall:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(179,38,30,.45); text-decoration: none; }
.btn-notfall:focus-visible { outline: 3px solid rgba(179,38,30,.45); outline-offset: 2px; }
.btn-notfall .pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; flex: none; animation: notfall-puls 1.6s ease-out infinite; }
@keyframes notfall-puls { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.8); } 100% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) { .btn-notfall .pulse { animation: none; } }
.btn-notfall-block { display: flex; justify-content: center; margin: .25rem .75rem 1rem; min-height: 44px; font-size: .875rem; }
.navbar.compact-only .btn-notfall { margin-left: auto; margin-right: .35rem; }
@media (max-width: 480px) {
  .navbar.public .navbar-actions .btn-filled { display: none; }
  .btn-notfall { padding: 0 .75rem; }
}

/* ---------- Startseite: Worum es geht ---------- */
.worum-raster { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2.5rem; margin-top: 2.25rem; align-items: start; }
.worum-text p { color: var(--muted); font-size: 1.0625rem; line-height: 1.6; }
.worum-text .lead { color: var(--ink); font-size: 1.25rem; }
.worum-karten { display: grid; gap: 1rem; }
.worum-karte { background: var(--card); border-radius: 24px; padding: 1.5rem; box-shadow: var(--shadow); }
.worum-karte h3 { margin: .5rem 0 .4rem; font-size: 1.125rem; }
.worum-karte ul { margin: 0; padding-left: 1.1rem; color: var(--muted); display: grid; gap: .35rem; }
.ablauf-icon.nicht { background: rgba(179,38,30,.1); color: var(--sos); }
@media (max-width: 860px) { .worum-raster { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Gebietskarte ---------- */
.gebiet-lead { max-width: 40rem; margin: 0 auto; }
.gebiet-karte-wrap { position: relative; margin-top: 2rem; }
.gebiet-karte { height: min(70vh, 560px); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: #dfe7ea; }
.gebiet-filter { position: absolute; top: 1rem; right: 1rem; z-index: 500; display: grid; gap: .35rem; padding: .85rem 1rem; border-radius: 18px; font-size: .9375rem; max-width: none; }
.gebiet-filter label { display: flex; align-items: center; gap: .5rem; min-height: 32px; cursor: pointer; }
.gebiet-filter input { width: 18px; height: 18px; accent-color: var(--petrol); }
.punkt { width: 12px; height: 12px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 2px #fff, 0 1px 3px rgba(0,0,0,.3); }
.punkt-praxis { background: #006d7a; } .punkt-klinik { background: #b3261e; } .punkt-station { background: #e07b00; }
.gebiet-hinweis { text-align: center; color: var(--muted); font-size: .875rem; margin-top: .75rem; }
.gebiet-stadt { background: none; border: 0; box-shadow: none; font-weight: 700; font-size: 12px; color: #1d1d1f; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; white-space: nowrap; }
@media (max-width: 600px) { .gebiet-filter { position: static; margin-top: .75rem; grid-auto-flow: column; justify-content: center; font-size: .8125rem; } .gebiet-karte { height: 62vh; border-radius: 22px; } }

/* ---------- Interaktive Notfall-Demo ---------- */
.demo { display: grid; grid-template-columns: 1fr minmax(260px, 320px); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; margin-top: 2.75rem; }
.demo-schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.demo-schritt { width: 100%; text-align: left; display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; align-items: start; background: var(--card); border: 0; border-radius: 22px; padding: 1.1rem 1.25rem 1.25rem; box-shadow: var(--shadow); cursor: pointer; font: inherit; color: inherit; position: relative; overflow: hidden; transition: transform .25s var(--ease, ease), box-shadow .25s, opacity .25s; opacity: .62; }
.demo-schritt:hover { opacity: .9; }
.demo-schritt.aktiv { opacity: 1; transform: scale(1.015); box-shadow: 0 14px 40px rgba(0,0,0,.12); }
.demo-schritt .ablauf-icon { margin: 0; grid-row: span 2; }
.demo-text { display: grid; gap: .2rem; }
.demo-text strong { font-size: 1.125rem; }
.demo-text span { color: var(--muted); }
.demo-fortschritt { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.demo-fortschritt span { display: block; height: 100%; width: 0; background: var(--petrol); }
.demo-schritt.aktiv .demo-fortschritt span { animation: demo-lauf var(--demo-dauer, 4.2s) linear forwards; }
.demo.pausiert .demo-schritt.aktiv .demo-fortschritt span { animation-play-state: paused; }
@keyframes demo-lauf { to { width: 100%; } }

.handy { justify-self: center; width: 100%; max-width: 300px; }
.handy-rahmen { position: relative; aspect-ratio: 9 / 19; border-radius: 46px; background: #1d1d1f; padding: 11px; box-shadow: 0 30px 80px rgba(0,0,0,.25), inset 0 0 0 2px #3a3a3c; }
.handy-insel { position: absolute; top: 20px; left: 50%; width: 90px; height: 26px; margin-left: -45px; border-radius: 20px; background: #000; z-index: 3; }
.handy-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #f2f2f7; }
.hs { position: absolute; inset: 0; padding: 56px 16px 18px; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .45s var(--ease, ease), transform .45s var(--ease, ease); }
.handy-screen[data-zeige="0"] .hs-0, .handy-screen[data-zeige="1"] .hs-1, .handy-screen[data-zeige="2"] .hs-2, .handy-screen[data-zeige="3"] .hs-3 { opacity: 1; transform: none; }
.hs-kopf { font-weight: 700; font-size: 17px; display: flex; gap: 8px; align-items: center; }
.hs-zurueck { color: var(--petrol); font-size: 24px; line-height: 1; }
.hs-feld { background: #fff; border-radius: 12px; padding: 8px 12px; display: grid; font-size: 14px; }
.hs-feld small { color: #8e8e93; font-size: 11px; }
.tippen { overflow: hidden; white-space: nowrap; border-right: 2px solid var(--petrol); width: 0; }
.handy-screen[data-zeige="0"] .tippen { animation: tippen 1.6s steps(26) .3s forwards, cursor .8s step-end infinite; }
@keyframes tippen { to { width: 100%; } }
@keyframes cursor { 50% { border-color: transparent; } }
.hs-karte { position: relative; border-radius: 14px; overflow: hidden; background:
  radial-gradient(circle at 30% 70%, rgba(0,161,222,.35) 0 18%, transparent 19%),
  linear-gradient(120deg, transparent 46%, rgba(0,161,222,.5) 47% 51%, transparent 52%),
  linear-gradient(0deg, rgba(255,255,255,.5) 1px, transparent 1px) 0 0 / 22px 22px,
  linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px) 0 0 / 22px 22px, #dfe9d8; }
.hs-karte.klein { height: 90px; }
.hs-karte.gross { flex: 1; min-height: 200px; }
.hs-pin { position: absolute; left: 58%; top: 40%; width: 22px; height: 22px; margin: -22px 0 0 -11px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--sos); box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.hs-pin.puls::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--sos); animation: pinpuls 1.4s ease-out infinite; }
@keyframes pinpuls { from { opacity: .9; transform: scale(.5); } to { opacity: 0; transform: scale(1.6); } }
.hs-ich { position: absolute; left: 22%; top: 82%; width: 14px; height: 14px; border-radius: 50%; background: #0a84ff; box-shadow: 0 0 0 4px rgba(10,132,255,.25); }
.hs-karte.route svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hs-karte.route path { fill: none; stroke: #0a84ff; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; }
.handy-screen[data-zeige="3"] .hs-karte.route path { animation: route 1.4s .2s ease forwards; }
@keyframes route { to { stroke-dashoffset: 0; } }
.hs-pin.ziel { left: 82%; top: 20%; }
.hs-ich.start { left: 15%; top: 85%; }
.hs-info { background: #fff; border-radius: 14px; padding: 10px 12px; display: grid; font-size: 13px; }
.hs-info strong { font-size: 15px; }
.hs-knopf { border-radius: 14px; padding: 12px; text-align: center; font-weight: 700; color: #fff; font-size: 15px; }
.hs-knopf.rot { background: var(--sos); } .hs-knopf.gruen { background: #248a3d; } .hs-knopf.blau { background: #0a84ff; }
.handy-screen[data-zeige="2"] .hs-knopf.gruen { animation: tipp 1.2s 1.2s ease; }
@keyframes tipp { 40% { transform: scale(.94); filter: brightness(.9); } 100% { transform: none; } }
.hs-1 { background: linear-gradient(160deg, #0b3d3a, #014037 40%, #1f5f7a); padding-top: 70px; }
.hs-sperre { color: #fff; text-align: center; display: grid; margin-bottom: 12px; }
.hs-uhr { font-size: 54px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.hs-datum { font-size: 14px; opacity: .85; }
.hs-push { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: 18px; padding: 10px 12px; font-size: 12px; opacity: 0; transform: translateY(-20px); }
.hs-push img { border-radius: 8px; flex: none; }
.hs-push div { display: grid; } .hs-push strong { font-size: 13px; } .hs-push span { color: #3a3a3c; }
.handy-screen[data-zeige="1"] .hs-push { animation: push-rein .6s .35s cubic-bezier(.2,.9,.3,1.2) forwards; }
.handy-screen[data-zeige="1"] .hs-push-2 { animation-delay: 1.4s; }
@keyframes push-rein { to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; } .handy { order: -1; max-width: 250px; } }

/* ---------- Registrierungs-Kacheln ---------- */
.weg-kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0 2.5rem; }
.weg-kachel { text-align: left; background: var(--card); border: 0; border-radius: 22px; padding: 1.4rem; box-shadow: var(--shadow); display: grid; gap: .4rem; align-content: start; cursor: pointer; font: inherit; color: inherit; transition: transform .2s var(--ease, ease), box-shadow .2s; }
.weg-kachel:hover, .weg-kachel:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.weg-kachel strong { font-size: 1.0625rem; }
.weg-kachel > span:not(.ablauf-icon):not(.weg-los) { color: var(--muted); font-size: .9375rem; }
.weg-los { color: var(--petrol); font-weight: 600; display: inline-flex; align-items: center; gap: .2rem; margin-top: .3rem; }
.weg-los svg { width: 1em; height: 1em; }
.reg-form.hervorheben { animation: hervor 1.2s ease; }
@keyframes hervor { 0% { box-shadow: 0 0 0 0 rgba(0,109,122,.5); } 100% { box-shadow: 0 0 0 18px rgba(0,109,122,0); } }
@media (max-width: 760px) { .weg-kacheln { grid-template-columns: 1fr; } }

/* Mitmachen-Leiste (Handy) */
.mitmach-leiste { position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 60; display: flex; justify-content: center; align-items: center; gap: .3rem; min-height: 50px; border-radius: 16px; background: var(--petrol-fill, #006d7a); color: #fff !important; font-weight: 700; text-decoration: none; box-shadow: 0 12px 30px rgba(0,0,0,.25); transform: translateY(140%); transition: transform .35s var(--ease, ease); }
.mitmach-leiste.zeigen { transform: none; }
.mitmach-leiste svg { width: 1em; height: 1em; }
@media (min-width: 761px) { .mitmach-leiste { display: none !important; } }

/* ---------- FAQ mit Suche ---------- */
.faq-bereich { margin-top: 3.5rem; }
.faq-suche { max-width: 32rem; margin: 1.25rem auto 1.5rem; }
.faq-suche input { width: 100%; min-height: 48px; border-radius: 14px; border: 0; background: var(--fill, #e9e9ee); padding: 0 1rem; font: inherit; font-size: 1.0625rem; }
.faq-leer { text-align: center; color: var(--muted); }
.faq-gruppe { margin: 2rem 0 .25rem; font-size: 1.25rem; }
.faq-bereich .faq { margin-top: .75rem; }
.faq details p { line-height: 1.55; }
.faq summary:focus-visible { outline: 3px solid var(--petrol-soft); outline-offset: -3px; }

/* ---------- Einblenden beim Scrollen ---------- */
.anim .einblenden { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease, cubic-bezier(.2,.7,.2,1)), transform .8s var(--ease, cubic-bezier(.2,.7,.2,1)); transition-delay: calc(var(--i, 0) * 80ms); }
.anim .einblenden.sichtbar { opacity: 1; transform: none; }
.anim .hero-foto .hero-text > * { animation: hero-rein .9s var(--ease, cubic-bezier(.2,.7,.2,1)) both; }
.anim .hero-foto .hero-text > *:nth-child(2) { animation-delay: .08s; } .anim .hero-foto .hero-text > *:nth-child(3) { animation-delay: .16s; }
.anim .hero-foto .hero-text > *:nth-child(4) { animation-delay: .24s; } .anim .hero-foto .hero-text > *:nth-child(5) { animation-delay: .32s; }
.anim .hero-foto .hero-text > *:nth-child(6) { animation-delay: .40s; } .anim .hero-foto .hero-text > *:nth-child(7) { animation-delay: .48s; }
@keyframes hero-rein { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.anim .hero-foto .pband-bild img { animation: kenburns 18s ease-out both; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
/* Lichtschein unter dem Mauszeiger auf Kacheln */
.feature, .scenario, .weg-kachel, .worum-karte { position: relative; }
.feature::after, .scenario::after, .worum-karte::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(0,109,122,.12), transparent 60%); }
.feature:hover::after, .scenario:hover::after, .worum-karte:hover::after { opacity: 1; }
.feature, .scenario { transition: transform .3s var(--ease, ease), box-shadow .3s; }
.feature:hover, .scenario:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
  .anim .einblenden { opacity: 1; transform: none; transition: none; }
  .anim .hero-foto .hero-text > *, .anim .hero-foto .pband-bild img { animation: none; }
  .hs, .hs-push, .tippen, .hs-karte.route path, .demo-fortschritt span { animation: none !important; transition: none !important; }
  .hs-push { opacity: 1; transform: none; } .tippen { width: auto; border: 0; } .hs-karte.route path { stroke-dashoffset: 0; }
  .feature:hover, .scenario:hover, .weg-kachel:hover { transform: none; }
}
.besucher { flex-basis: 100%; margin: .75rem 0 0; font-size: .8125rem; color: var(--muted); display: flex; align-items: center; gap: .45rem; font-variant-numeric: tabular-nums; }
.besucher strong { color: var(--ink); font-weight: 600; }
.besucher-punkt { width: 7px; height: 7px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 3px rgba(52,199,89,.2); }
.balken { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 4px; align-items: end; height: 180px; margin: 1rem 0; }
.balken-spalte { height: 100%; display: grid; grid-template-rows: 1fr auto; align-items: end; justify-items: center; gap: 4px; }
.balken-spalte span { width: 100%; border-radius: 6px 6px 2px 2px; background: var(--petrol); min-height: 2px; }
.balken-spalte:last-child span { background: #34c759; }
.balken-spalte small { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .balken-spalte small { display: none; } .balken { gap: 2px; } }

/* ---------- Resilienz ---------- */
.resilienz-hero { background: linear-gradient(135deg, rgba(52,199,89,.10), rgba(0,109,122,.08)); }
.resilienz-hero h1 { margin-top: .2rem; }
.resilienz-hero .chip-nav { margin-top: 1rem; }
.selbstcheck { display: grid; gap: .35rem; margin: 1rem 0; }
.check-zeile { display: flex; gap: .75rem; align-items: flex-start; padding: .65rem .8rem; border-radius: 12px; background: var(--fill, #f2f2f7); cursor: pointer; min-height: 44px; }
.check-zeile input { width: 22px; height: 22px; flex: none; margin-top: .05rem; accent-color: var(--petrol); }
.check-zeile:has(input:checked) { background: var(--petrol-soft); }
.check-ergebnis { border-radius: 16px; padding: 1rem 1.1rem; background: var(--bg); display: grid; gap: .6rem; }
.check-ergebnis p { margin: 0; }
.check-leiste { height: 8px; border-radius: 99px; background: var(--fill, #e5e5ea); overflow: hidden; }
.check-leiste span { display: block; height: 100%; width: 0; border-radius: inherit; background: #34c759; transition: width .35s var(--ease, ease), background .35s; }
.check-ergebnis[data-stufe="2"] .check-leiste span { background: #ff9f0a; }
.check-ergebnis[data-stufe="3"] .check-leiste span { background: var(--sos); }
.check-ergebnis[data-stufe="3"] { background: rgba(179,38,30,.07); }
.check-ergebnis .btn { justify-self: start; }
.begriffe dt { font-weight: 700; margin-top: 1rem; }
.begriffe dd { margin: .25rem 0 0; color: var(--muted); }

/* =========================================================
   Text direkt auf den Bildern – ohne Kacheln
   Lesbarkeit über Verlauf (Scrim) + weichen Textschatten
   ========================================================= */
.bild-text { max-width: 36rem; color: #fff; padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; text-shadow: 0 1px 2px rgba(0,0,0,.35), 0 4px 24px rgba(0,0,0,.35); }
.bild-text .pband-text, .bild-text .lead { color: rgba(255,255,255,.92); }
.bild-text .btn { text-shadow: none; }
.pband-links::after  { background: linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.42) 38%, rgba(0,0,0,0) 72%); }
.pband-rechts::after { background: linear-gradient(270deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.42) 38%, rgba(0,0,0,0) 72%); }
.pband-laender::after { background: radial-gradient(ellipse 70% 65% at 50% 55%, rgba(0,0,0,.55), rgba(0,0,0,.18) 75%, rgba(0,0,0,.05)); }
.pband-mitte::after  { background: radial-gradient(ellipse 65% 70% at 50% 50%, rgba(0,0,0,.58), rgba(0,0,0,.2) 80%); }
.laender-glas { max-width: 50rem; }
.laender strong { color: #fff; }
.laender .flagge { width: 44px; height: 30px; border-radius: 6px; margin-bottom: .45rem; box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 6px 18px rgba(0,0,0,.35); }
.schluss .bild-text { margin: 0 auto; max-width: 40rem; }
.schluss .bild-text h2 { color: #fff; }

/* Hero */
.hero-foto::after { background: radial-gradient(ellipse 75% 70% at 50% 50%, rgba(0,0,0,.6), rgba(0,0,0,.3) 70%, rgba(0,0,0,.15)), linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,0) 30%, rgba(0,0,0,.35)); }
.hero-foto .hero-text { color: #fff; max-width: 44rem; }
.hero-foto .hero-text h1 { color: #fff; }
.hero-foto .lead { color: rgba(255,255,255,.92); }
.hero-foto .hint { color: rgba(255,255,255,.8); }
.hero-foto .eyebrow { color: #ffd2b3; }
.hero-foto .logo-bild.gross img { filter: drop-shadow(0 8px 28px rgba(0,0,0,.45)); }
.hero-foto .btn-tinted { background: rgba(255,255,255,.18); color: #fff; -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.hero-foto .btn-tinted:hover { background: rgba(255,255,255,.28); }
/* Sprachwahl auf dem Foto: Bedienelement, daher eigenes dunkles Glas */
.hero-foto .sprachwahl { background: rgba(0,0,0,.32); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.25); text-shadow: none; }
.hero-foto .sprachwahl a { color: #fff; }
.hero-foto .sprachwahl a:hover { background: rgba(255,255,255,.14); }
.hero-foto .sprachwahl a.active { background: rgba(255,255,255,.95); color: var(--ink); }
.scroll-hinweis { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); z-index: 1; }
.scroll-hinweis::before { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scroll-rad 1.8s var(--ease) infinite; }
@keyframes scroll-rad { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-transparency: reduce) { .hero-foto .sprachwahl, .hero-foto .btn-tinted { background: rgba(0,0,0,.75); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-contrast: more) {
  .pband::after, .hero-foto::after { background: rgba(0,0,0,.72) !important; }
  .bild-text { text-shadow: none; }
}

/* Text gleitet beim Scrollen herein (Apple-Produktseiten-Stil) */
.anim [data-bild-text] > * { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); }
.anim [data-bild-text].sichtbar > * { opacity: 1; transform: none; filter: none; }
.anim [data-bild-text].sichtbar > *:nth-child(2) { transition-delay: .12s; }
.anim [data-bild-text].sichtbar > *:nth-child(3) { transition-delay: .24s; }

/* Lokale Navigation (schwebende Glasleiste) */
.lokalnav { position: fixed; left: 50%; top: 64px; z-index: 40; transform: translate(-50%, -14px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease), transform .45s var(--ease); max-width: calc(100vw - 1.5rem); }
.lokalnav.zeigen { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.lokalnav-inner { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--material); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); box-shadow: 0 0 0 .5px var(--sep), 0 8px 30px rgba(0,0,0,.12); overflow-x: auto; scrollbar-width: none; }
.lokalnav-inner::-webkit-scrollbar { display: none; }
.lokalnav a { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 .9rem; border-radius: 999px; font-size: .8125rem; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .25s var(--ease); }
.lokalnav a:hover { color: var(--ink); }
.lokalnav a.aktiv { color: var(--ink); font-weight: 600; }
.lokalnav a.lokalnav-cta { background: var(--petrol-fill); color: #fff; font-weight: 600; margin-left: .25rem; }
.lokalnav-pille { position: absolute; z-index: 0; top: 4px; height: 36px; border-radius: 999px; background: var(--card); box-shadow: 0 1px 3px rgba(0,0,0,.12); transition: left .4s var(--ease), width .4s var(--ease), opacity .3s; opacity: 0; }
.lokalnav a:focus-visible { outline: 3px solid var(--petrol); outline-offset: -3px; }
@media (max-width: 760px) { .lokalnav { top: 62px; } .lokalnav a:not(.lokalnav-cta) { padding: 0 .7rem; } .lokalnav-cta { display: none !important; } }
@media (prefers-reduced-transparency: reduce) { .lokalnav-inner { background: var(--material-solid); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* Fortschrittsbalken oben */
.scroll-fortschritt { position: fixed; left: 0; top: 0; z-index: 70; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--petrol), #2aa6b4 60%, var(--orange)); pointer-events: none; }

/* Interaktive Kacheln: weiches Neigen unter dem Zeiger */
@media (hover: hover) and (pointer: fine) {
  [data-neigen] { transition: transform .35s var(--ease), box-shadow .35s var(--ease); transform-style: preserve-3d; will-change: transform; }
  [data-neigen]:hover { box-shadow: 0 18px 50px rgba(0,0,0,.12); }
}
@media (prefers-reduced-motion: reduce) {
  .anim [data-bild-text] > * { opacity: 1; transform: none; filter: none; transition: none; }
  .lokalnav, .lokalnav-pille { transition: none; }
  .scroll-hinweis::before { animation: none; }
  [data-neigen] { transition: none; transform: none !important; }
}
@media (max-width: 760px) {
  .bild-text { max-width: none; }
  .pband-links::after, .pband-rechts::after { background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.78)); }
  .hero-foto { min-height: 100svh; }
}

/* Kopfzeile: nichts umbrechen, auf kleinen Bildschirmen Platz schaffen */
.navbar.public .topnav a, .navbar.public .navbar-actions .btn { white-space: nowrap; }
@media (max-width: 1360px) { .navbar.public .brand-text small { display: none; } .navbar.public .topnav a { padding-left: .55rem; padding-right: .55rem; } }
@media (max-width: 1180px) { .sprachmenue-kurz { display: none; } }
@media (max-width: 480px) { .navbar.public .brand-text { display: none; } .navbar.public .navbar-actions { gap: .25rem; } }
/* Hero-Lesbarkeit verstärken */
.hero-foto::after { background: linear-gradient(180deg, rgba(0,0,0,.38), rgba(0,0,0,.28) 40%, rgba(0,0,0,.5)), radial-gradient(ellipse 70% 60% at 50% 55%, rgba(0,0,0,.35), rgba(0,0,0,0) 75%); }
.hero-foto .eyebrow { color: #fff; opacity: .95; letter-spacing: .02em; }
@media (max-width: 600px) { .gebiet-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .9rem; } }
