/* blaueslaendchen.de – Design „Flachsblüte“ (Tokens: blaues-laendchen/brand/tokens) */
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url(/brand/v8af3804b3e/fonts/Figtree-Regular.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url(/brand/v8af3804b3e/fonts/Figtree-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url(/brand/v8af3804b3e/fonts/Figtree-Bold.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url(/brand/v8af3804b3e/fonts/Fraunces-SemiBoldSoft.woff2) format("woff2"); }

:root {
  --nacht: #0f2a5c;
  --blue: #1e4fa0;
  --blue-600: #2a62c4;
  --sky: #4c8dea;
  --flachs: #bcd5fa;
  --gelb: #f7c531;
  --gold: #9a6b00;
  --ink: #14233f;
  --muted: #5a6782;
  --bg: #faf7ef;
  --card: #ffffff;
  --line: #e6e0d1;
  --tint: #e8effc;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eaf0fb; --muted: #a9b6cf; --bg: #0b1f45; --card: #132c5c; --line: #26406f;
    --blue: #9dbff6; --tint: #183366; --gold: #f7c531;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--text); color: var(--ink); background: var(--bg); display: flex; flex-direction: column; min-height: 100vh; }
a { color: var(--blue); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Kopfzeile */
header.top { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 40px; width: auto; }
/* Nur die Hauptnavigation – sonst erben Footer-/Brotkrumen-<nav> die hellen Hover-Pillen. */
header.top nav { display: flex; gap: 2px; flex-wrap: wrap; }
header.top nav a { text-decoration: none; padding: 7px 12px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
header.top nav a:hover { background: var(--tint); }
header.top nav a[aria-current] { background: var(--nacht); color: #fff; }
@media (prefers-color-scheme: dark) { header.top nav a[aria-current] { background: var(--gelb); color: #14233f; } }

/* Typografie */
main { padding: 24px 16px 56px; flex: 1; width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.12; margin: 0.4em 0; }
h2 { font-size: 1.45rem; line-height: 1.2; margin: 1.8em 0 0.7em; display: flex; align-items: center; gap: 10px; }
h2::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gelb); box-shadow: 14px 0 0 var(--gelb); margin-right: 14px; }
h3 { font-size: 1.08rem; line-height: 1.3; margin: 0 0 4px; }
.muted { color: var(--muted); font-size: 0.92rem; margin: 0; }
.lead { font-size: 1.12rem; }
article { max-width: 720px; }
code { font-size: 0.9em; background: var(--tint); padding: 1px 5px; border-radius: 5px; }

/* Hero: Nachtblau, Flachsblüte, Hügelband */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 85% 10%, #1e4fa0 0%, #0f2a5c 60%); color: #fff; border-radius: 24px; padding: 40px 28px 92px; margin-top: 8px; display: flex; align-items: center; gap: 24px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 84px; background: url(/brand/v8af3804b3e/bl-hills.svg) center bottom / 100% 100% no-repeat; }
.hero-text { position: relative; z-index: 1; max-width: 600px; }
.hero h1 { margin-top: 0; color: #fff; }
.hero p { color: #dce7fb; font-size: 1.08rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem !important; font-weight: 700; color: var(--gelb) !important; margin: 0 0 6px; }
.hero-mark { position: relative; z-index: 1; margin-left: auto; width: 220px; height: 220px; flex: none; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.25)); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 720px) { .hero-mark { display: none; } .hero { padding: 28px 20px 80px; } }

/* Buttons */
.btn { display: inline-block; background: var(--nacht); color: #fff; border: 0; border-radius: 12px; padding: 11px 18px; text-decoration: none; font: 600 1rem var(--text); cursor: pointer; }
.btn:hover { background: #1e4fa0; }
.hero .btn { background: var(--gelb); color: #14233f; }
.hero .btn:hover { background: #ffd65c; }
.btn.ghost, .hero .btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.1); }
@media (prefers-color-scheme: dark) { .btn { background: var(--gelb); color: #14233f; } .btn:hover { background: #ffd65c; } }

/* Listen und Karten */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.list { display: flex; flex-direction: column; gap: 10px; }
.card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-decoration: none; color: inherit; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
.card:hover { border-color: var(--sky); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(15, 42, 92, 0.08); }
.card p { margin: 4px 0; }
.card.event { display: flex; gap: 14px; align-items: center; }
.date { min-width: 60px; text-align: center; background: var(--nacht); color: #fff; border-radius: 12px; padding: 7px 6px; }
.date b { display: block; font: 600 1.4rem/1.1 var(--display); }
.date span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gelb); font-weight: 700; }
.card.ad { padding: 0; overflow: hidden; }
.card.ad > div { padding: 10px 16px 16px; }
.card.ad img, .noimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--tint); }
.noimg { background: var(--tint) url(/brand/v8af3804b3e/bl-mark.svg) center / 64px no-repeat; opacity: 0.9; }
.price { font-weight: 700; color: var(--gold); }
.price.big { font-size: 1.5rem; font-family: var(--display); }
.adimg { max-width: 100%; width: 380px; border-radius: 16px; display: block; }

/* Formulare, Fakten, Hinweise */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.filters input, .filters select { font: inherit; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); min-width: 0; flex: 1 1 160px; }
.filters input:focus, .filters select:focus { outline: 2px solid var(--sky); border-color: transparent; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.pill.tag { background: var(--soft, #eef2fb); }
.org-img { margin: 0 0 16px; }
.org-img img { width: 100%; max-width: 640px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; background: var(--tint); }
table.hours { border-collapse: collapse; }
table.hours th { text-align: left; font-weight: 500; padding: 1px 14px 1px 0; color: var(--muted); }
table.hours td { padding: 1px 0; }
table.hours tr.today th, table.hours tr.today td { font-weight: 700; color: inherit; }
.open-now { margin: 4px 0 0; font-weight: 600; }
.open-now.yes { color: #1d7a46; }
.open-now.no { color: #a33; }
.card .thumb { width: 100%; aspect-ratio: 4 / 3; height: auto; max-height: 180px; object-fit: cover; background: var(--tint); border-radius: 8px; margin-bottom: 8px; display: block; }
.callout { background: color-mix(in srgb, var(--gelb) 18%, var(--card)); border-left: 4px solid var(--gelb); border-radius: 12px; padding: 14px 16px; margin: 20px 0; }

/* Fußzeile mit Hügelband */
.hills { height: 72px; margin-top: 24px; background: url(/brand/v8af3804b3e/bl-hills-dark.svg) center bottom / 100% 100% no-repeat; }
footer { background: var(--nacht); color: #c9d5ec; padding: 8px 0 36px; font-size: 0.92rem; }
footer a { color: #fff; }
.foot-brand { display: flex; align-items: center; gap: 10px; font: 600 1.15rem var(--display); color: #fff; }

/* Unterseiten-Kopf: wie der Hero, nur flacher */
.page-head { position: relative; overflow: hidden; background: radial-gradient(120% 160% at 90% 0%, #1e4fa0 0%, #0f2a5c 62%); color: #fff; border-radius: 24px; padding: 30px 28px 78px; margin: 8px 0 28px; }
.page-head::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: url(/brand/v8af3804b3e/bl-hills.svg) center bottom / 100% 100% no-repeat; }
.page-head > * { position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin: 0 0 6px; }
.page-head p { color: #dce7fb; max-width: 680px; margin: 0; font-size: 1.05rem; }
.page-head a { color: #fff; }
.page-head .eyebrow { margin-bottom: 6px; }
.app-head { display: flex; align-items: center; gap: 24px; }
.app-head img { margin-left: auto; border-radius: 22%; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); flex: none; }
@media (max-width: 640px) { .app-head img { display: none; } }

/* Abschnittskopf mit Link rechts */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 1.8em 0 0.7em; }
.sec-head h2 { margin: 0; }
.sec-head a { font-weight: 600; font-size: 0.95rem; white-space: nowrap; text-decoration: none; }
.sec-head a::after { content: " →"; }
/* Gemeindeseite: Vereine, Gewerbe, Ärzte, Einrichtungen je als eigener Block */
.orggroups { display: grid; gap: 6px; }
.orggroup { border-top: 1px dashed var(--line); padding-top: 4px; }
.orggroup:first-child { border-top: 0; padding-top: 0; }
.sub-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0.9em 0 0.6em; }
.sub-head h3 { margin: 0; font-size: 1.2rem; display: flex; align-items: center; gap: 8px; }
.sub-head .count { font-family: var(--text); font-size: 0.78rem; font-weight: 700; min-width: 1.7em; text-align: center; padding: 1px 8px; border-radius: 999px; background: var(--tint); color: var(--blue); }
.sub-head a { font-weight: 600; font-size: 0.92rem; white-space: nowrap; text-decoration: none; }
.sub-head a::after { content: " →"; }
.orgmissing { margin: 14px 0 0; font-size: 0.92rem; }
.ortfilter { margin: 0 0 12px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 28px; }

/* Funktionskacheln */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 22px 0 8px; }
.features-grid { margin-bottom: 8px; }
.feature { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; text-decoration: none; color: inherit; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
a.feature:hover { border-color: var(--sky); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15, 42, 92, 0.1); }
.feature h3 { margin: 12px 0 4px; font-size: 1.15rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.ico { display: inline-flex; width: 46px; height: 46px; border-radius: 14px; align-items: center; justify-content: center; background: #fde7a6; color: #0f2a5c; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Leerzustand */
.empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; background: var(--card); border: 1.5px dashed var(--line); border-radius: 18px; padding: 26px 20px; color: var(--muted); }
.empty img { opacity: 0.9; }
.empty p { margin: 0; max-width: 420px; }
.btn.small { padding: 8px 14px; font-size: 0.92rem; border-radius: 10px; }

/* App-Band auf der Startseite */
.app-band { display: flex; align-items: center; gap: 22px; margin-top: 40px; background: color-mix(in srgb, var(--gelb) 22%, var(--card)); border: 1px solid color-mix(in srgb, var(--gelb) 45%, var(--line)); border-radius: 24px; padding: 22px 26px; }
.app-band img { border-radius: 22%; flex: none; box-shadow: 0 8px 20px rgba(15, 42, 92, 0.2); }
.app-band h2 { margin: 0 0 4px; }
.app-band h2::before { display: none; }
.app-band p { margin: 0; color: var(--muted); }
.app-band .btn { margin-left: auto; flex: none; }
@media (max-width: 640px) { .app-band { flex-direction: column; align-items: flex-start; } .app-band .btn { margin-left: 0; } }
@media (prefers-color-scheme: dark) {
  .ico { background: #1e4fa0; color: #fff; }
  .app-band { background: var(--card); border-color: var(--line); }
  .page-head { box-shadow: inset 0 0 0 1px var(--line); }
}

/* Feinschliff: Dunkelmodus, schmale Displays */
@media (prefers-color-scheme: dark) {
  .date { background: var(--blue-600); }
  .hero { box-shadow: inset 0 0 0 1px var(--line); }
}
@media (max-width: 560px) {
  header.top .wrap { gap: 4px; }
  header.top nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; margin: 0 -16px; padding: 0 28px 4px 12px; scrollbar-width: none;
    /* Rand ausblenden: zeigt, dass es nach rechts weitergeht */
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
  header.top nav a { flex: none; }
}
.features-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
footer .disclaimer { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); color: #a9b6cf; font-size: 0.86rem; }

/* Vereine, Gewerbe, Registrierung */
:root { --wehr: #c62828; }
@media (prefers-color-scheme: dark) { :root { --wehr: #ff7a6e; } }
.pill { display: inline-block; font-size: 0.8rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--tint); color: var(--blue); }
.pill.wehr { background: rgba(198, 40, 40, 0.12); color: var(--wehr); }
.card.org { display: flex; gap: 14px; align-items: flex-start; }
.card.org .ico { flex: none; }
.card.org h3 { margin: 4px 0 2px; }
.card.wehr { border-left: 4px solid var(--wehr); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chips a { text-decoration: none; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; font-size: 0.92rem; }
.chips a[aria-current] { background: var(--nacht); border-color: var(--nacht); color: #fff; }
.join { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; background: var(--tint); border-radius: 18px; padding: 18px 20px; margin: 26px 0; }
.join p { margin: 0; flex: 1 1 260px; }
.form { display: grid; gap: 14px; max-width: 640px; }
.form label { display: grid; gap: 4px; font-weight: 600; }
.form label small { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); width: 100%; }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--sky); border-color: transparent; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { width: auto; margin-top: 5px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.kinds label { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-weight: 600; }
.kinds input { width: auto; }
.kinds label:has(input:checked) { border-color: var(--sky); box-shadow: inset 0 0 0 1px var(--sky); }
.note { border-radius: 14px; padding: 14px 16px; background: var(--tint); }
.note.ok { background: rgba(46, 125, 50, 0.12); }
.note.err { background: rgba(198, 40, 40, 0.12); }

/* Nachbarn im Netz */
.stats { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin: 26px 0; }
.stats p { margin: 0; }
.stats .big { font: 600 2rem/1.1 var(--display); color: var(--nacht); }
.stats > a { font-weight: 600; text-decoration: none; margin-left: auto; }
.stats > a::after { content: " →"; }
.vcount { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.vcount li { background: var(--tint); border-radius: 999px; padding: 4px 12px; font-size: 0.92rem; }
.big-num { font: 600 1.4rem var(--display); color: var(--gold); }
@media (prefers-color-scheme: dark) { .stats .big { color: var(--gelb); } }
/* Easter Egg: Lucksmith-Katze schaut ab und zu unten rechts um die Ecke.
   Reines CSS, kein JavaScript, kein Tracking. Hover hält sie fest. */
.neko { position: fixed; right: 7vw; bottom: 0; z-index: 5; width: 112px; height: 90px; display: block; transform: translateY(105%) rotate(-8deg); transform-origin: 50% 100%; animation: neko-schauen 47s 9s ease-in-out infinite; }
.neko svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: #e8714a; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.neko .neko-kopf, .neko .neko-muenze rect { fill: var(--bg); }
.neko:hover, .neko:focus-visible { animation-play-state: paused; }
.neko:focus-visible { outline: none; }
.neko:focus-visible svg { filter: drop-shadow(0 0 6px var(--gelb)); }
@keyframes neko-schauen {
  0%, 84% { transform: translateY(105%) rotate(-8deg); }
  87% { transform: translateY(46%) rotate(-8deg); }
  88.5% { transform: translateY(46%) rotate(4deg); }
  90% { transform: translateY(46%) rotate(-6deg); }
  92.5% { transform: translateY(105%) rotate(-8deg); }
  100% { transform: translateY(105%) rotate(-8deg); }
}
@media (prefers-reduced-motion: reduce) { .neko { display: none; } }
@media print { .neko { display: none; } }
footer .sponsor { margin-top: 4px; color: #a9b6cf; font-size: 0.86rem; }
footer .sponsor a { color: #dce7fb; }

/* Registrierung: Formular als Karte, Ablauf als nummerierte Schritte */
.reg { grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); align-items: start; }
@media (max-width: 820px) { .reg { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 10px 30px rgba(15, 42, 92, 0.06); }
.form.panel { max-width: none; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend { font-weight: 700; margin-bottom: 8px; }
.form .sub { font: 600 1.15rem var(--display); margin: 10px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.form .btn { justify-self: start; padding: 12px 26px; }
.kinds label { padding: 10px; gap: 10px; transition: border-color 0.15s, background 0.15s; }
.kinds label:hover { border-color: var(--sky); }
.kinds .ico { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.kinds .ico svg { width: 19px; height: 19px; }
.kinds input { position: absolute; opacity: 0; pointer-events: none; }
.kinds label { position: relative; }
.kinds label:has(input:checked) { background: var(--tint); border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.kinds label:has(input:focus-visible) { outline: 3px solid var(--gelb); outline-offset: 2px; }
.steps { position: sticky; top: 92px; background: var(--tint); border-radius: 20px; padding: 22px 22px 18px; }
.steps h2 { margin-top: 0; }
.steps ol { list-style: none; counter-reset: s; padding: 0; margin: 0 0 14px; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--gelb); color: #14233f; font: 700 0.95rem/30px var(--text); text-align: center; }

/* Konsole: Redaktion (/redaktion) und Organisationen (/verein) */
body.console .hidden { display: none !important; }
.console-tag { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--blue); }
.console-tag:empty { display: none; }
body.console main { padding-top: 28px; }
body.console #msg:not(:empty) { border-radius: 14px; padding: 12px 16px; background: var(--tint); color: var(--ink); margin: 0 0 16px; font-size: 0.95rem; }
/* Anmeldung: zentrierte Karte mit Nachtblau-Kopf und Hügelband */
.auth { display: grid; place-items: center; min-height: calc(100vh - 68px - 240px); padding: 12px 0 24px; }
.auth-card { width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 18px 50px rgba(15, 42, 92, 0.14); }
.auth-head { position: relative; background: radial-gradient(130% 160% at 85% 0%, #1e4fa0 0%, #0f2a5c 64%); color: #fff; text-align: center; padding: 26px 24px 62px; }
.auth-head::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46px; background: url(/brand/v8af3804b3e/bl-hills.svg) center bottom / 100% 100% no-repeat; }
.auth-head > * { position: relative; z-index: 1; }
.auth-head img { display: block; width: 58px; height: 58px; margin: 0 auto 10px; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25)); }
.auth-head h1 { color: #fff; font-size: 1.75rem; margin: 0; }
.auth-head p { color: #dce7fb; margin: 6px 0 0; font-size: 0.95rem; }
.auth-head .eyebrow { margin: 0 0 4px; }
.auth-body { padding: 22px 26px 24px; }
.auth-body form.ed { border: 0; padding: 0; margin: 0; background: none; box-shadow: none; max-width: none; }
.auth-body .btn { width: 100%; padding: 12px 18px; }
.auth-links { text-align: center; margin: 16px 0 0; font-size: 0.92rem; color: var(--muted); }
.auth-alt { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; }
.auth-alt .btn { background: var(--gelb); color: #14233f; }
.auth-alt .btn:hover { background: #ffd54f; }
.auth details { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.auth summary { cursor: pointer; color: var(--muted); font-size: 0.9rem; text-align: center; list-style: none; }
.auth summary::-webkit-details-marker { display: none; }
.auth summary::after { content: " ▾"; }
.auth details[open] summary { margin-bottom: 12px; }
.auth details form.ed { gap: 10px; }
/* Arbeitsbereich */
.page-head.slim { padding: 22px 24px 58px; margin: 0 0 18px; }
.page-head.slim::after { height: 46px; }
.page-head.slim h1 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); }
.page-head.slim .who { color: #dce7fb; margin: 4px 0 0; font-size: 0.95rem; }
.tabs { display: flex; gap: 4px; margin: 0 0 18px; padding: 5px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; scrollbar-width: none; }
.tabs button { font: 600 0.95rem var(--text); border: 0; background: transparent; color: var(--ink); padding: 9px 15px; border-radius: 10px; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.tabs button:hover { background: var(--tint); }
.tabs button.on { background: var(--nacht); color: #fff; }
.tabs #logout { margin-left: auto; color: var(--muted); font-weight: 500; }
@media (prefers-color-scheme: dark) { .tabs button.on { background: var(--gelb); color: #14233f; } }
form.ed { display: grid; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin: 0 0 20px; max-width: 860px; box-shadow: 0 6px 20px rgba(15, 42, 92, 0.05); }
form.ed label { display: grid; gap: 4px; font-weight: 600; font-size: 0.94rem; }
form.ed input, form.ed textarea, form.ed select { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); width: 100%; }
form.ed input[type="checkbox"] { width: auto; }
form.ed input:focus, form.ed textarea:focus, form.ed select:focus { outline: 2px solid var(--sky); border-color: transparent; }
form.ed .btn { justify-self: start; }
form.ed .row .btn { flex: 0 0 auto; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.row > * { flex: 1 1 180px; }
.btn.ghostb, form.ed .btn[type="reset"] { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn.ghostb:hover, form.ed .btn[type="reset"]:hover { background: var(--tint); }
.linkbtn { background: none; border: 0; color: var(--blue); padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
body.console table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-bottom: 24px; }
body.console th { text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); background: var(--tint); padding: 10px 14px; }
body.console td { text-align: left; padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
body.console tbody tr:hover td { background: color-mix(in srgb, var(--tint) 45%, transparent); }
body.console td:last-child { text-align: right; }
body.console td button { font: 600 0.84rem var(--text); margin: 0 0 4px 4px; padding: 6px 11px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
body.console td button:hover { border-color: var(--sky); color: var(--blue); }
body.console td button:is([data-del-news], [data-del-ev], [data-del-org], [data-staff-del], [data-del-g], [data-del-m], [data-del-n]):hover { border-color: var(--wehr); color: var(--wehr); }
.badge { display: inline-block; font-size: 0.8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--blue); white-space: nowrap; }
@media (max-width: 640px) {
  body.console td:last-child { text-align: left; }
  body.console thead { display: none; }
  body.console tr { display: block; border-top: 1px solid var(--line); }
  body.console tr:first-child { border-top: 0; }
  body.console td { display: block; border: 0; padding: 8px 14px; }
}
footer.slim { padding: 4px 0 28px; }
body.console #msg:has(~ .auth:not(.hidden)) { max-width: 440px; margin-left: auto; margin-right: auto; }
.form [hidden] { display: none !important; }
form.ed label:has(> input[type="checkbox"]) { display: flex; align-items: center; gap: 10px; font-weight: 500; }
body.console form.ed { max-width: none; }
body.console td:only-child { text-align: left; }
body.console [id^="tab-"] > p.muted { margin: 0 0 14px; max-width: 860px; }
/* Kalender: .ics-Download und Abo */
.cal-actions { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin: 14px 0 18px; }
.cal-actions .muted { flex-basis: 100%; font-size: 0.88rem; }
.cal-actions code { word-break: break-all; }

/* Werbung (gekennzeichnet als „Anzeige“) und gewerbliche Anzeigen */
.card.promo { border-style: dashed; background: var(--tint); }
.ad-label, .biz-label { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 6px; padding: 1px 6px; color: var(--muted, #5b6b80); }
.biz-label { margin-bottom: 4px; }

/* Vor Ort: Warnungen, Wetter, Notdienste, Abfall, Mängel, Umfragen */
:root { --warn-minor: #f7c531; --warn-moderate: #f08a24; --warn-severe: #d93025; --warn-extreme: #8e1b6e; }
.warnband { display: flex; gap: 12px; align-items: center; text-decoration: none; color: #14233f; background: color-mix(in srgb, var(--warn-moderate) 22%, #fff); border-left: 6px solid var(--warn-moderate); border-radius: 14px; padding: 12px 16px; margin: 16px 0; }
.warnband .ico svg, .warn .ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.warnband .small { font-size: 0.88rem; }
.warnband.sev-minor { background: color-mix(in srgb, var(--warn-minor) 25%, #fff); border-color: var(--warn-minor); }
.warnband.sev-severe { background: color-mix(in srgb, var(--warn-severe) 16%, #fff); border-color: var(--warn-severe); }
.warnband.sev-extreme { background: color-mix(in srgb, var(--warn-extreme) 16%, #fff); border-color: var(--warn-extreme); }
article.warn { border-left: 6px solid var(--warn-moderate); padding-left: 16px; margin: 24px 0; }
article.warn.sev-minor { border-color: var(--warn-minor); }
article.warn.sev-severe { border-color: var(--warn-severe); }
article.warn.sev-extreme { border-color: var(--warn-extreme); }
article.warn.sev-cleared { border-color: #2e8b57; }
article.warn h2::before { display: none; }
.service-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 16px 0; }
.chip-link { text-decoration: none; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.chip-link:hover { border-color: var(--sky); }
.wxstrip { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); background: var(--tint); border-radius: 999px; padding: 6px 16px 6px 10px; }
.wx-glyph { font-size: 1.8rem; line-height: 1; margin: 4px 0; }
.wx-glyph.big { font-size: 4rem; }
.wxnow { display: flex; gap: 20px; align-items: center; margin: 12px 0 24px; }
.wxnow p { margin: 2px 0; }
.wxdays .card { text-align: center; }
.card.tel { border-left: 5px solid var(--sky); }
.card.tel.em { border-left-color: var(--warn-severe); }
.big-tel { font: 700 1.6rem var(--text); margin: 0 0 4px; letter-spacing: 0.02em; }
.card.waste { display: flex; gap: 14px; align-items: center; }
.bin { width: 26px; height: 30px; border-radius: 4px 4px 7px 7px; background: #7a7f87; flex: none; box-shadow: inset 0 5px 0 rgba(0, 0, 0, 0.18); }
.bin.rest { background: #4a4f57; } .bin.bio { background: #7a5230; } .bin.papier { background: #2a62c4; } .bin.gelb { background: #f7c531; } .bin.glas { background: #3b8c55; }
.card.issue img { width: calc(100% + 32px); margin: -16px -16px 10px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px 16px 0 0; display: block; }
.pill.st-done { background: rgba(59, 140, 85, 0.15); color: #2f7a47; }
.pill.st-progress { background: rgba(240, 138, 36, 0.15); color: #b55d00; }
.pill.st-rejected { background: rgba(198, 40, 40, 0.12); color: var(--wehr); }
article.poll { margin: 28px 0; max-width: 640px; }
article.poll h2::before { display: none; }
.bar { margin: 10px 0; }
.bar-label { display: flex; justify-content: space-between; gap: 12px; }
.bar-track { display: block; height: 10px; background: var(--tint); border-radius: 999px; overflow: hidden; margin-top: 4px; }
.bar-fill { display: block; height: 100%; background: var(--blue); border-radius: 999px; }
.sos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 16px 0 6px; }
.card.health h3 a { color: inherit; text-decoration: none; }
.card.health .hours { white-space: normal; font-size: 0.92rem; margin-top: 8px; }
/* Teilen-Leiste: nur Links, keine Fremd-Skripte */
.share { margin: 28px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.share-label { margin: 0 0 10px; font-weight: 700; font-size: 0.9rem; color: var(--muted); }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 0.9rem var(--text); text-decoration: none; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.share-btn:hover { border-color: var(--sky); background: var(--tint); }
.share-btn:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; }
.share-btn svg { flex: none; }
.share-btn[hidden] { display: none; }
.s-whatsapp svg { color: #1fa855; } .s-facebook svg { color: #1877f2; } .s-telegram svg { color: #229ed9; }
.s-bluesky svg { color: #1185fe; } .s-linkedin svg { color: #0a66c2; } .s-native, .s-native svg { color: var(--blue); }
.share-note { min-height: 1.4em; margin-top: 6px; }
@media (max-width: 560px) { .share-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .share-btn { padding: 10px; } .s-native span { position: static; width: auto; height: auto; clip: auto; } }
@media (prefers-color-scheme: dark) { .s-linkedin svg { color: #5aa2ec; } .s-facebook svg { color: #4c93f5; } }

/* News mit Bildern */
.card.news.has-img { padding: 0; overflow: hidden; }
.card.news.has-img > div { padding: 12px 16px 16px; }
.card.news img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; background: var(--tint); }
article figure { margin: 18px 0; }
article figure img { width: 100%; height: auto; border-radius: 14px; display: block; background: var(--tint); }
article figure.cover img { max-height: 70vh; object-fit: cover; }
article figcaption { font-size: 0.86rem; color: var(--muted, #5b6b84); margin-top: 6px; }
article .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
article .gallery figure { margin: 0; }
.nimg { display: grid; gap: 8px; border: 1px dashed var(--line); border-radius: 14px; padding: 12px; }
.nimg-list { display: grid; gap: 10px; }
.nimg-item { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: start; }
.nimg-item img { width: 120px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; background: var(--tint); }
.nimg-item > div { display: grid; gap: 6px; }
.nimg-add { justify-self: start; cursor: pointer; }
.nimg-hint { margin: 0; font-size: 0.86rem; }
/* Warnungen: Ortsauswahl */
fieldset.villages { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px 12px; margin: 0; }
fieldset.villages legend { font-weight: 600; padding: 0 6px; }
fieldset.villages > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px 12px; }
fieldset.villages .vbox { display: flex; gap: 6px; align-items: center; font-weight: 400; margin: 0; }
fieldset.villages .vbox input { width: auto; margin: 0; }
fieldset.villages .vbox.all { grid-column: 1 / -1; font-weight: 600; }
/* Gemeindeseiten (/gemeinden, /gemeinden/{ort}) */
.orte-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 20px 0 28px; }
.ort-card { display: flex; gap: 12px; align-items: flex-start; }
.ort-card h3 { margin: 0 0 2px; }
.ort-card p { margin: 2px 0; }
.ort-card .pill { margin-top: 6px; display: inline-block; }
.crumbs { font-size: 0.9rem; color: var(--muted, #5b6478); margin: 14px 0 0; }
.crumbs a { color: inherit; }
.callout.small { font-size: 0.92rem; }
footer .foot-orte { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.86rem; line-height: 1.9; }
footer .foot-orte p { margin: 2px 0; }
footer .foot-orte a { color: #dce7fb; text-decoration: none; white-space: nowrap; }
footer .foot-orte a:hover, footer .foot-orte a:focus-visible { color: #fff; text-decoration: underline; text-decoration-color: var(--gelb); }
footer a:hover { color: #fff; text-decoration-color: var(--gelb); }
.chips a:hover { border-color: var(--sky); background: var(--tint); color: var(--ink); }
.crumbs a:hover { color: var(--blue); }
/* Gemeindeseite: Ansprechpartner, Sprechzeiten, Links */
.gemeindeseite { margin: 22px 0 8px; }
.gs-desc { max-width: 72ch; }
.gs-grid { margin: 12px 0; }
.gs-card h3 { margin: 2px 0 6px; }
.gs-card .facts { font-size: 0.95rem; }
.gs-card a { overflow-wrap: anywhere; }
.gs-links { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-left: 18px; }
.gs-rows { display: grid; gap: 10px; margin-bottom: 8px; }
.gs-row.ed { border: 1px dashed var(--line); border-radius: 12px; padding: 10px; }
/* Konsole: Auswahlfelder in Flachsblüte-Optik (auch außerhalb von Formularen,
   z. B. Mängel-Filter und Stand je Meldung in der Tabelle) */
body.console select { appearance: none; -webkit-appearance: none; font: 500 0.95rem var(--text); color: var(--ink); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231e4fa0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 13px center / 12px 8px; border: 1px solid var(--line); border-radius: 12px; padding: 9px 38px 9px 12px; min-height: 42px; max-width: 100%; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
body.console select:hover { border-color: var(--sky); }
body.console select:focus-visible { outline: 2px solid var(--sky); outline-offset: 0; border-color: transparent; }
body.console select:disabled { opacity: 0.55; cursor: not-allowed; }
body.console select option { background: var(--card); color: var(--ink); }
body.console form.ed select { background-color: var(--bg); font-weight: 400; }
body.console .row > select:only-child { flex: 0 1 280px; }
body.console td select { min-width: 170px; min-height: 36px; padding: 6px 34px 6px 11px; font-size: 0.9rem; font-weight: 600; border-radius: 10px; }
body.console td select[data-st="new"] { border-color: var(--gelb); box-shadow: inset 4px 0 0 var(--gelb); }
body.console td select[data-st="accepted"], body.console td select[data-st="progress"] { box-shadow: inset 4px 0 0 #f08a24; }
body.console td select[data-st="done"] { box-shadow: inset 4px 0 0 #3b8c55; }
body.console td select[data-st="rejected"] { box-shadow: inset 4px 0 0 var(--wehr); }
@media (prefers-color-scheme: dark) {
  body.console select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23f7c531' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
}

/* Super-Admin: Geräte-Übersicht und IoT-Hardware */
.dev-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 18px; }
.dev-kpi { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.dev-kpi b { display: block; font: 600 2rem/1.1 var(--display); color: var(--nacht); }
.dev-kpi span { color: var(--muted); font-size: 0.9rem; }
.dev-kpi.live { background: var(--nacht); border-color: var(--nacht); }
.dev-kpi.live b { color: var(--gelb); }
.dev-kpi.live span { color: #dce7fb; }
.dev-kpi.warn b { color: var(--wehr); }
@media (prefers-color-scheme: dark) { .dev-kpi b { color: var(--gelb); } .dev-kpi.live { background: var(--blue-600); } }
.dev-bar { display: block; height: 8px; background: var(--tint); border-radius: 999px; overflow: hidden; margin-top: 6px; min-width: 80px; }
.dev-bar i { display: block; height: 100%; background: var(--blue); border-radius: 999px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--line); margin-right: 6px; vertical-align: 1px; }
.dot.on { background: #3b8c55; box-shadow: 0 0 0 3px rgba(59, 140, 85, 0.2); }
body.console td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
body.console td.num b { font-size: 1.05rem; }
.dev-head { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; margin: 0 0 12px; }
/* Eintrags-Editor (org-editor.js) */
.oed-sec { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 10px 0; }
.oed-sec legend { font-weight: 700; padding: 0 6px; }
.oed .row label.grow { flex: 3; }
.oed .row label.small { flex: 1; max-width: 120px; }
.oed-img img { width: 240px; max-width: 100%; aspect-ratio: 4 / 3; border-radius: 10px; display: block; object-fit: cover; background: var(--tint); }
.oed-day { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.oed-day > b { width: 92px; }
.oed-day select { width: auto; }
.oed-slots { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.oed-slot { display: inline-flex; align-items: center; gap: 4px; }
.oed-slot input[type=time] { width: auto; }
.oed-branches { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.oed-branches .chk { display: inline-flex; align-items: center; gap: 4px; }
.oed-branches .chk input { width: auto; }
/* Mein Zugang: App verknüpfen */
.konto-intro { max-width: 70ch; }
.konto-steps { list-style: none; counter-reset: s; padding: 0; margin: 10px 0 16px; display: grid; gap: 10px; }
.konto-steps li { counter-increment: s; position: relative; padding-left: 40px; min-height: 28px; line-height: 28px; }
.konto-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--gelb); color: #14233f; font: 700 0.9rem/28px var(--text); text-align: center; }
.konto-code { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin: 16px 0; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.konto-qr { width: 200px; height: 200px; background: #fff; border-radius: 12px; padding: 4px; }
.konto-qr svg { width: 100%; height: 100%; display: block; }
.konto-big { font: 600 1.9rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.08em; margin: 2px 0 6px; color: var(--ink); }
/* Org-Wechsler */
.org-switch { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: -6px 0 16px; }
.org-switch label { display: flex; gap: 8px; align-items: center; font-weight: 600; margin: 0; }
.org-switch select { min-width: 240px; }
.org-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 16px 0; }
.org-pick button { text-align: left; font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; cursor: pointer; display: grid; gap: 4px; }
.org-pick button:hover, .org-pick button:focus-visible { border-color: var(--sky); box-shadow: 0 0 0 3px var(--tint); }
.org-pick b { font-size: 1.05rem; }
.org-pick span { color: var(--muted); font-size: 0.9rem; }
.badge.app { background: #e3f3e8; color: #23613a; }
@media (prefers-color-scheme: dark) { .badge.app { background: #1f4b30; color: #cdeed7; } }
/* Gemeindeseite: Bilder */
.gemeindeseite .gs-cover { margin: 0 0 16px; }
.gemeindeseite .gs-cover img { width: 100%; aspect-ratio: 3 / 2; max-height: 460px; object-fit: cover; border-radius: 16px; display: block; background: var(--tint); }
.gs-card.has-photo { display: flex; gap: 14px; align-items: flex-start; }
.gs-photo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; background: var(--tint); }
.gs-img { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 6px 0 4px; }
.gs-img img { width: 180px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; background: var(--tint); }
.gs-img img.round { width: 64px; height: 64px; aspect-ratio: 1; border-radius: 50%; }
.gs-team { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.gs-check { display: flex; gap: 8px; align-items: center; justify-content: flex-start; font-weight: 500; margin: 10px 0; }
.gs-check input { width: auto; margin: 0; }
/* Zuschneide-Dialog fuer Bilder (news-images.js, blCropImage) */
.bcrop { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 20, 40, .72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.bcrop-box { background: var(--card); color: var(--ink); border-radius: 16px; padding: 16px 18px; width: min(600px, 100%); max-height: 100%; overflow: auto; box-shadow: 0 12px 40px rgba(0, 0, 0, .35); }
.bcrop-box h3 { margin: 0 0 4px; }
.bcrop-stage { position: relative; width: 100%; margin: 10px auto; border-radius: 10px; overflow: hidden; background: #fff; cursor: grab; touch-action: none; user-select: none; outline-offset: 3px; }
.bcrop-stage:active { cursor: grabbing; }
.bcrop-stage canvas { width: 100%; height: 100%; display: block; }
.bcrop-stage.round::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 9999px rgba(10, 20, 40, .45); pointer-events: none; }
.bcrop-zoom { align-items: center; gap: 10px; }
.bcrop-zoom input { flex: 1; }
.bcrop-zoom span, .bcrop-tools > *, .bcrop-act > * { flex: none; }
.bcrop-tools, .bcrop-act { gap: 8px; flex-wrap: wrap; }
.bcrop-act { justify-content: flex-end; margin-top: 8px; }

/* Zum Inhalt springen (nur bei Tastaturfokus sichtbar) */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--nacht); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
/* Abwesenheit (Urlaub, Vertretung) */
.note.away { background: rgba(245, 194, 66, 0.22); border-left: 4px solid var(--gelb); margin: 12px 0; }
/* Eintragsseite: Route, Meldungen, Eintrag übernehmen */
.addr-links { display: block; font-size: 0.92rem; margin-top: 2px; }
.entry-links { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.entry-links .claim { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
