/* Gastgeberklar – Designsystem v4
 * Eine Schrift (Inter), eine Markenfarbe (#123D36), eine Akzentfarbe (#1F8A70), Gold nur sparsam.
 * Radien 6/8/12/16 px, 8-px-Raster, fast keine Schatten.
 */
@font-face { font-family: "Inter"; src: url("/static/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --marke: #123D36;
  --tinte: #0F172A;
  --text: #334155;
  --leise: #64748B;
  --blass: #94A3B8;
  --grund: #FFFFFF;
  --flaeche: #F8FAF9;
  --flaeche-2: #F1F5F3;
  --linie: #E6ECE9;
  --linie-2: #D5DED9;
  --akzent: #1F8A70;
  --akzent-text: #1A7560;
  --akzent-hover: #166652;
  --akzent-hell: #EBF5F1;
  --gold: #D5A83B;
  --gold-text: #86621A;
  --gold-hell: #FBF5E6;
  --gold-linie: #F0E2BD;
  --fehler: #B42318;
  --r-s: 6px;
  --r: 8px;
  --r-m: 12px;
  --r-l: 16px;
  --s-1: 0 1px 2px rgba(15, 23, 42, 0.05);
  --s-pop: 0 16px 40px -12px rgba(15, 23, 42, 0.22), 0 2px 6px rgba(15, 23, 42, 0.06);
  --s-produkt: 0 1px 2px rgba(15, 23, 42, 0.04), 0 32px 64px -28px rgba(15, 23, 42, 0.2);
  --schrift: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --breite: 1160px;
  --abschnitt: clamp(80px, 10vw, 136px);
  --kopf-hoehe: 64px;
  --rand: 24px;
  /* Bewegung: schnell heraus, weich hinein */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 16px); }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--grund);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss03";
}
img, svg { display: block; max-width: 100%; }
a { color: var(--akzent-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--akzent-hover); }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
strong { color: var(--tinte); font-weight: 600; }

h1, h2, h3, .h3 { color: var(--tinte); margin: 0; font-weight: 650; hyphens: auto; overflow-wrap: break-word; text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 1.4rem + 3.3vw, 4.25rem); line-height: 1.04; letter-spacing: -0.042em; }
h2 { font-size: clamp(1.875rem, 1.35rem + 2.1vw, 3rem); line-height: 1.08; letter-spacing: -0.036em; }
h3, .h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.018em; font-weight: 600; }
.leise { color: var(--leise); }
.lead, .einleitung { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.55; color: var(--text); max-width: 36em; }
.rubrik, .dachzeile { display: block; font-size: 0.875rem; font-weight: 600; color: var(--akzent-text); margin: 0 0 12px; }
.zahl { font-variant-numeric: tabular-nums; }
.klein { font-size: 0.8125rem; color: var(--leise); }
.hilfe { font-size: 0.8125rem; line-height: 1.45; color: var(--leise); margin: 6px 0 0; }
.icon { width: 20px; height: 20px; flex: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border: 1px solid var(--linie); border-radius: var(--r); }

.wrap { width: 100%; max-width: calc(var(--breite) + 48px); margin: 0 auto; padding: 0 var(--rand); }
.wrap.schmal { max-width: 808px; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--r);
  background: var(--akzent-text); color: #fff;
  font-size: 0.9375rem; font-weight: 600; line-height: 1; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.12s var(--ease);
}
.knopf:hover { background: var(--akzent-hover); color: #fff; }
.knopf:active:not(:disabled) { transform: scale(0.97); }
.knopf:disabled { opacity: 0.6; cursor: default; }
.knopf .icon { width: 18px; height: 18px; }
.knopf-gross { height: 52px; padding: 0 24px; font-size: 1rem; }
.knopf-klein { height: 36px; padding: 0 14px; font-size: 0.875rem; }
.knopf-zweit { background: #fff; color: var(--tinte); border-color: var(--linie-2); }
.knopf-zweit:hover { background: var(--flaeche); color: var(--tinte); border-color: var(--linie-2); }
.knopf-hell { background: #fff; color: var(--marke); }
.knopf-hell:hover { background: #E7F0EC; color: var(--marke); }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.link-pfeil { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-pfeil .icon { width: 18px; height: 18px; transition: transform 0.15s; }
.link-pfeil:hover .icon { transform: translateX(3px); }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--linie); }
.kopf-innen { display: flex; align-items: center; gap: 16px; height: var(--kopf-hoehe); }
.marke { display: inline-flex; align-items: center; gap: 10px; color: var(--tinte); font-weight: 650; font-size: 1.0625rem; letter-spacing: -0.025em; text-decoration: none; }
.marke:hover { color: var(--tinte); }
.marke-zeichen { width: 28px; height: 28px; }
.navi { margin-left: auto; }
.navi ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.navi a { display: block; padding: 8px 12px; border-radius: var(--r); color: var(--text); font-size: 0.9375rem; font-weight: 500; text-decoration: none; }
.navi a:hover, .navi a[aria-current="page"] { background: var(--flaeche-2); color: var(--tinte); }
.kopf-cta { margin-left: 8px; }
.menue-knopf { display: none; width: 40px; height: 40px; border: 1px solid var(--linie-2); border-radius: var(--r); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menue-knopf svg { width: 20px; height: 20px; fill: none; stroke: var(--tinte); stroke-width: 2; stroke-linecap: round; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: var(--abschnitt); }
.abschnitt-eng { padding-block: clamp(56px, 7vw, 88px); }
.abschnitt-oben-null { padding-top: 0; }
.abschnitt-flaeche { background: var(--flaeche); border-block: 1px solid var(--linie); }
.kopfzeile { max-width: 720px; margin-bottom: 48px; }
.kopfzeile h2 { margin-bottom: 16px; }
.kopfzeile .lead { margin: 0; }
.kopfzeile-links { margin-bottom: 0; }
.kopfzeile-seite { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.kopfzeile-seite h2 { margin-bottom: 12px; }
.abschnitt-eng .kopfzeile { margin-bottom: 24px; }
.zwei-spalten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.zwei-spalten-oben { align-items: start; }

/* ---------- Hero mit Karte ---------- */
.hero { padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); }
.hero-raster { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; font-size: clamp(2rem, calc(5.37vw - 5.2px), 3.5rem); line-height: 1.04; letter-spacing: -0.045em; hyphens: none; }
.hero h1 .zeile { display: block; white-space: nowrap; }
.hero .lead { margin-bottom: 32px; max-width: 28em; }
.such-zeile { display: flex; gap: 8px; max-width: 520px; }
.such-zeile .such-feld { flex: 1; max-width: none; }
.such-zeile .such-feld .icon { left: 16px; width: 20px; height: 20px; }
.such-zeile .such-feld input { height: 52px; padding-left: 46px; font-size: 1.0625rem; }
.such-meldung { margin: 12px 0 0; font-size: 0.9375rem; color: var(--text); }
.such-meldung:empty { display: none; }
.such-meldung.fehler { color: var(--fehler); }
.such-auswahl:empty { display: none; }
.such-auswahl, .beliebt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.such-auswahl { margin-top: 12px; }
.such-auswahl button, .beliebt button { height: 36px; padding: 0 12px; border: 1px solid var(--linie-2); border-radius: var(--r); background: #fff; color: var(--tinte); font-size: 0.875rem; font-weight: 500; white-space: nowrap; cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.such-auswahl button:hover, .beliebt button:hover { border-color: var(--blass); }
.such-auswahl button[aria-pressed="true"], .beliebt button[aria-pressed="true"] { border-color: var(--akzent); background: var(--akzent-hell); color: var(--akzent-text); }
.beliebt .link-pfeil { margin-left: 8px; font-size: 0.875rem; }
.hero-fakten { margin: 20px 0 0; font-size: 0.875rem; color: var(--leise); }
.hero-fakten span { margin: 0 6px; }

/* Karte: reduzierte Datenvisualisierung im eigenen Designsystem */
.karte-buehne { position: relative; }
.karte-flaeche { position: relative; }
.dland { display: block; width: 100%; height: auto; margin: 0 auto; overflow: visible; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.karte-flaeche .dland { max-height: min(66vh, 600px); overflow: hidden; }
/* Beim Heranzoomen weich auslaufende Ränder statt harter Kante */
.karte-flaeche .dland.gezoomt { -webkit-mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, #000 45%, transparent 100%); mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, #000 45%, transparent 100%); }
.dland .land { fill: #E4EBE7; stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ort { cursor: pointer; outline: none; }
.ort-halo { fill: transparent; r: calc(11px * var(--punkt, 1) * var(--gross, 1)); transition: fill 0.2s; }
.ort-punkt { r: calc(4.2px * var(--punkt, 1) * var(--gross, 1)); stroke: #fff; stroke-width: 1; vector-effect: non-scaling-stroke; transition: r 0.18s ease, fill 0.18s; }
.ort-steuer .ort-punkt { fill: var(--marke); }
.ort-gast .ort-punkt { fill: #5FA48C; }
.ort-keine .ort-punkt { fill: var(--blass); }
.ort.hover .ort-punkt, .ort:focus-visible .ort-punkt { r: calc(6px * var(--punkt, 1) * var(--gross, 1)); }
.ort.hover .ort-halo, .ort:focus-visible .ort-halo { fill: rgba(31, 138, 112, 0.18); }
.ort.aktiv .ort-halo { fill: rgba(31, 138, 112, 0.16); }
.ort.aktiv .ort-punkt { r: calc(7px * var(--punkt, 1) * var(--gross, 1)); fill: var(--akzent); stroke: #fff; stroke-width: 2.5; }
.js .dland .ort { opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }  /* Maus und Finger wählen den nächsten Ort über die Fläche */
.karte-flaeche.zeigt, .karte-rahmen.zeigt { cursor: pointer; }
.js .dland.sichtbar .ort { opacity: 1; }
.dland .ort.gedimmt, .js .dland.sichtbar .ort.gedimmt { opacity: 0.12; }
.karte-tooltip { position: absolute; z-index: 5; pointer-events: none; transform: translate(-50%, calc(-100% - 12px)); padding: 6px 10px; background: #fff; border: 1px solid var(--linie); border-radius: var(--r); box-shadow: var(--s-pop); font-size: 0.8125rem; line-height: 1.35; white-space: nowrap; color: var(--tinte); }
.karte-tooltip strong { display: block; }
.karte-tooltip span { color: var(--leise); }
.karte-knopf { position: absolute; z-index: 4; display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--linie-2); border-radius: var(--r); background: rgba(255, 255, 255, 0.94); color: var(--tinte); font-size: 0.8125rem; font-weight: 600; cursor: pointer; }
.karte-knopf:hover { background: #fff; border-color: var(--blass); }
.karte-knopf[hidden] { display: none; }
.karte-zurueck { top: 0; right: 0; }
.karte-hinweis { margin: 8px 0 0; font-size: 0.8125rem; color: var(--leise); text-align: center; }
.dland.uebersicht .land { transition: fill 0.25s ease; }
.dland.uebersicht:not(.gezoomt) .land { cursor: pointer; }
.dland.uebersicht .land.stufe-0 { fill: #EEF2F0; }
.dland.uebersicht .land.stufe-1 { fill: #DCEBE4; }
.dland.uebersicht .land.stufe-2 { fill: #C2DDD1; }
.dland.uebersicht .land.stufe-3 { fill: #94C3AF; }
.dland.uebersicht .land.stufe-4 { fill: #5FA48C; }
.dland.uebersicht:not(.gezoomt) .land.hover { fill: var(--akzent); }
.dland.uebersicht.gezoomt .land { fill: #F1F5F3; }
.dland.uebersicht.gezoomt .land.gewaehlt { fill: #DCE7E1; }
/* Herangezoomt läuft der Ausschnitt an allen Rändern weich aus, statt hart abzuschneiden */
.karte-flaeche .dland.uebersicht.gezoomt {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent), linear-gradient(to bottom, transparent, #000 32px, #000 calc(100% - 32px), transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent), linear-gradient(to bottom, transparent, #000 32px, #000 calc(100% - 32px), transparent);
  mask-composite: intersect;
}
.dland.uebersicht .ort.gedimmt, .js .dland.uebersicht.sichtbar .ort.gedimmt { opacity: 0; pointer-events: none; }
.dland.uebersicht:not(.gezoomt) .orte { display: none; }
.land-zahlen text { font-family: var(--schrift); font-size: 19px; font-weight: 600; fill: var(--marke); text-anchor: middle; dominant-baseline: central; pointer-events: none; transition: opacity 0.25s; }
.land-zahlen text.stufe-4 { fill: #fff; }
.dland.gezoomt .land-zahlen { opacity: 0; }
.js .karte-buehne:not(.im-land) .legende { display: none; }
.karte-info { position: absolute; z-index: 6; width: 280px; padding: 16px; background: #fff; border: 1px solid var(--linie); border-radius: var(--r-m); box-shadow: var(--s-pop); animation: auftauchen 0.2s ease both; }
.karte-info[hidden] { display: none; }
.ki-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.ki-name { margin: 0; font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; color: var(--tinte); }
.ki-abgabe { margin: 2px 0 0; font-size: 0.8125rem; color: var(--leise); }
.ki-zu { flex: none; width: 32px; height: 32px; margin: -6px -8px 0 0; border: 0; border-radius: var(--r-s); background: transparent; color: var(--leise); font-size: 1.375rem; line-height: 1; cursor: pointer; }
.ki-zu:hover { background: var(--flaeche-2); color: var(--tinte); }
.ki-satz { margin: 12px 0 0; font-size: 0.875rem; line-height: 1.4; color: var(--text); }
.ki-satz strong { display: block; font-size: 1.625rem; font-weight: 650; letter-spacing: -0.04em; line-height: 1.15; }
.ki-text { margin: 10px 0 0; font-size: 0.875rem; line-height: 1.5; }
.ki-quelle { display: inline-flex; margin-top: 12px; font-size: 0.8125rem; }
.ki-liste { display: grid; gap: 4px; margin: 8px 0 0; padding-left: 18px; font-size: 0.8125rem; line-height: 1.45; color: var(--text); }
.ki-liste li::marker { color: var(--blass); }
.ki-quelle .icon { width: 14px; height: 14px; }
.karte-info .status { margin-top: 12px; }
.ki-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; }
.ki-aktionen .knopf { height: 38px; padding: 0 14px; font-size: 0.875rem; }
.ki-aktionen a:not(.knopf) { font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.karte-fuss { display: grid; justify-items: center; gap: 14px; margin-top: 16px; }
.legende { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; list-style: none; margin: 0; padding: 0; font-size: 0.8125rem; color: var(--leise); }
.legende li { display: inline-flex; align-items: center; }
.legende span { margin-left: 4px; color: var(--blass); font-variant-numeric: tabular-nums; }
.legende i { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; }
.l-steuer { background: var(--marke); }
.l-gast { background: #5FA48C; }
.l-keine { background: var(--blass); }
.karte-quelle { margin: 0; font-size: 0.6875rem; color: var(--leise); text-align: center; }
.karte-quelle a { color: inherit; }

/* ---------- Formulare ---------- */
input[type="text"], input[type="email"], input[type="number"], input[type="search"], select {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid var(--linie-2); border-radius: var(--r);
  background: #fff; color: var(--tinte); font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none; appearance: none;
}
input::placeholder { color: var(--blass); }
input:focus, select:focus { outline: none; border-color: var(--akzent); box-shadow: 0 0 0 3px rgba(31, 138, 112, 0.16); }
select { padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
input[type="number"] { -moz-appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
.feld label, .feld-label { display: block; margin-bottom: 8px; font-size: 0.875rem; font-weight: 500; color: var(--tinte); }
.feld[hidden] { display: none; }

.segmente { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; padding: 3px; background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: var(--r); }
.segmente label { position: relative; margin: 0; }
.segmente input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmente span { display: flex; align-items: center; justify-content: center; gap: 4px; height: 40px; padding: 0 10px; border-radius: var(--r-s); font-size: 0.875rem; font-weight: 500; color: var(--text); white-space: nowrap; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.segmente label:hover span { color: var(--tinte); }
.segmente input:checked + span { background: #fff; color: var(--tinte); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 0 0 1px var(--linie); }
.segmente input:focus-visible + span { outline: 2px solid var(--akzent); outline-offset: 1px; }
.mp { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.mp-direkt { background: var(--marke); }
.mp-airbnb { background: #FF385C; }
.mp-booking { background: #003B95; }
.mp-andere { background: var(--blass); }
.segmente small { font-size: 0.75rem; color: var(--leise); font-weight: 500; }

.stepper { display: flex; height: 48px; border: 1px solid var(--linie-2); border-radius: var(--r); background: #fff; overflow: hidden; }
.stepper:focus-within { border-color: var(--akzent); box-shadow: 0 0 0 3px rgba(31, 138, 112, 0.16); }
.stepper button { width: 44px; flex: none; border: 0; background: var(--flaeche); color: var(--tinte); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.stepper button:hover { background: var(--flaeche-2); }
.stepper input { flex: 1; min-width: 0; height: 100%; border: 0; border-radius: 0; text-align: center; font-weight: 600; padding: 0 4px; }
.stepper input:focus { box-shadow: none; }

.einheit { position: relative; }
.einheit input { padding-right: 36px; }
.einheit::after { content: attr(data-einheit); position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--leise); pointer-events: none; }

.schalter { display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; font-size: 0.9375rem; color: var(--tinte); }
.feld .schalter { display: flex; min-height: 48px; margin: 0; font-weight: 400; }
.schalter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.schalter-spur { position: relative; flex: none; width: 44px; height: 26px; border-radius: 13px; background: #BFCBC5; transition: background-color 0.15s; }
.schalter-spur::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2); transition: transform 0.15s; }
.schalter input:checked + .schalter-spur { background: var(--akzent-text); }
.schalter input:checked + .schalter-spur::after { transform: translateX(18px); }
.schalter input:focus-visible + .schalter-spur { outline: 2px solid var(--akzent); outline-offset: 2px; }

.feld-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; font-size: 0.8125rem; line-height: 1.45; color: var(--leise); }
.feld-check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--akzent-text); }
.feld-check label { margin: 0; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular-status { margin: 10px 0 0; font-size: 0.875rem; color: var(--tinte); }
.formular-status:empty { display: none; }

/* ---------- Datum ---------- */
.datum-feld { position: relative; }
.datum-knopf { display: flex; align-items: center; gap: 10px; width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--linie-2); border-radius: var(--r); background: #fff; color: var(--tinte); font-size: 1rem; text-align: left; cursor: pointer; }
.datum-knopf:hover { border-color: var(--blass); }
.datum-knopf[aria-expanded="true"] { border-color: var(--akzent); box-shadow: 0 0 0 3px rgba(31, 138, 112, 0.16); }
.datum-knopf .icon { width: 18px; height: 18px; color: var(--leise); }
.datum-knopf span { white-space: nowrap; }
.kalender { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: min(304px, calc(100vw - 32px)); padding: 12px; background: #fff; border: 1px solid var(--linie); border-radius: var(--r-m); box-shadow: var(--s-pop); }
.kalender-kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.kalender-kopf strong { font-size: 0.9375rem; }
.kalender-kopf button { width: 36px; height: 36px; border: 0; border-radius: var(--r); background: transparent; font-size: 1.25rem; color: var(--tinte); cursor: pointer; }
.kalender-kopf button:hover { background: var(--flaeche-2); }
.kalender-kopf button:disabled { background: none; color: var(--linie-2); cursor: default; }
.kalender-raster { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; }
.kalender-wt { padding: 6px 0; font-size: 0.75rem; color: var(--leise); text-align: center; }
.kalender-tag { height: 36px; border: 0; border-radius: var(--r-s); background: transparent; color: var(--tinte); font-size: 0.875rem; font-variant-numeric: tabular-nums; cursor: pointer; }
.kalender-tag:hover { background: var(--flaeche-2); }
.kalender-tag.fremd { color: var(--blass); }
.kalender-tag.heute { box-shadow: inset 0 0 0 1px var(--akzent); color: var(--akzent-text); font-weight: 600; }
.kalender-tag.im-bereich { border-radius: 0; background: var(--akzent-hell); color: var(--akzent-text); }
.kalender-tag[aria-selected="true"], .kalender-tag.bereich-start, .kalender-tag.bereich-ende { background: var(--akzent-text); color: #fff; font-weight: 600; box-shadow: none; }
.kalender-tag:disabled { background: none; color: var(--linie-2); cursor: default; }
.kalender-tag.bereich-start:disabled { background: var(--akzent-text); color: #fff; }
.kalender-tag.heute:disabled { box-shadow: none; }
.kalender.oben { top: auto; bottom: calc(100% + 6px); }
.kalender-titel, .kalender-schleier { display: none; }
.datum-feld[data-rolle="abreise"] .kalender { left: auto; right: 0; }
.rechner-naechte { margin: -8px 0 0; font-size: 0.875rem; color: var(--leise); }
.rechner-naechte:empty { display: none; }
@keyframes blatt { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes schleier { from { opacity: 0; } to { opacity: 1; } }
.kalender-fuss { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--linie); }
.kalender-fuss button { padding: 8px 10px; border: 0; border-radius: var(--r); background: transparent; color: var(--akzent-text); font-size: 0.875rem; font-weight: 600; cursor: pointer; }
.kalender-fuss button:hover { background: var(--flaeche-2); }

/* ---------- Rechner ---------- */
.rechner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--linie); border-radius: var(--r-l); box-shadow: var(--s-1); }
.rechner-eingaben { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; align-content: start; padding: 32px; }
.feld-breit { grid-column: 1 / -1; }
.rechner-kontext { margin: 0; padding: 12px 14px; border-radius: var(--r); background: var(--flaeche); border: 1px solid var(--linie); font-size: 0.875rem; line-height: 1.5; color: var(--text); }
.rechner-kontext:empty { display: none; }
.weitere { border-top: 1px solid var(--linie); padding-top: 16px; }
.weitere[hidden] { display: none; }
.weitere summary { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-size: 0.9375rem; font-weight: 500; color: var(--tinte); cursor: pointer; list-style: none; }
.weitere summary::-webkit-details-marker { display: none; }
.weitere summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--leise); border-bottom: 2px solid var(--leise); transform: rotate(-45deg); transition: transform 0.15s; }
.weitere[open] summary::before { transform: rotate(45deg); }
.weitere-innen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }

.rechner-ergebnis { display: flex; flex-direction: column; gap: 32px; padding: 32px; background: var(--flaeche); border-left: 1px solid var(--linie); border-radius: 0 var(--r-l) var(--r-l) 0; }
.ergebnis-label { margin: 0 0 8px; font-size: 0.875rem; font-weight: 500; color: var(--leise); }
.ergebnis-betrag { margin: 0; font-size: clamp(3.25rem, 2.2rem + 3.4vw, 5rem); font-weight: 650; letter-spacing: -0.055em; line-height: 1; color: var(--tinte); font-variant-numeric: tabular-nums; }
.ergebnis-unter { margin: 12px 0 0; font-size: 0.9375rem; color: var(--text); }
.ergebnis-plattform { display: inline-flex; margin: 12px 0 0; padding: 6px 10px; border-radius: var(--r-s); background: var(--akzent-hell); color: var(--akzent-text); font-size: 0.875rem; font-weight: 600; }
.rechenweg { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; font-size: 0.875rem; line-height: 1.5; color: var(--text); }
.rechenweg li { display: flex; gap: 10px; }
.rechenweg li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 0.6em; border-radius: 50%; background: var(--blass); }
.rechenweg li:last-child { color: var(--tinte); font-weight: 600; }
.ergebnis-frist { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 0; padding-top: 20px; border-top: 1px solid var(--linie-2); font-size: 0.9375rem; line-height: 1.5; }
.ef-klein { display: block; font-size: 0.875rem; color: var(--leise); }
.ef-liste { display: grid; gap: 4px; list-style: none; margin: 6px 0 0; padding: 0; font-size: 0.875rem; }
.rechenweg-details { margin-top: 16px; }
.rechenweg-details > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--akzent-text); font-size: 0.875rem; font-weight: 600; cursor: pointer; list-style: none; }
.rechenweg-details > summary::-webkit-details-marker { display: none; }
.rechenweg-details > summary .icon { width: 16px; height: 16px; transition: transform 0.15s; }
.rechenweg-details[open] > summary .icon { transform: rotate(180deg); }
.ergebnis-leiste { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; background: #fff; border: 1px solid var(--linie); border-radius: var(--r-m); box-shadow: var(--s-pop); animation: auftauchen 0.2s ease both; }
.ergebnis-leiste[hidden] { display: none; }
.ergebnis-leiste p { display: flex; flex-direction: column; min-width: 0; margin: 0; line-height: 1.2; }
.ergebnis-leiste span { overflow: hidden; font-size: 0.75rem; color: var(--leise); white-space: nowrap; text-overflow: ellipsis; }
.ergebnis-leiste strong { font-size: 1.375rem; font-weight: 650; letter-spacing: -0.03em; }
.ergebnis-frist .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--akzent); }
.ergebnis-hinweis { margin: 12px 0 0; padding: 10px 12px; border: 1px solid var(--gold-linie); border-radius: var(--r); background: var(--gold-hell); color: #5B4410; font-size: 0.875rem; line-height: 1.5; }
.ergebnis .status-details { margin-top: 16px; }
.ergebnis .hilfe { margin-top: 12px; }
.ergebnis-link { margin-top: 16px; }
.nachfrage { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--linie-2); }
.js .nachfrage { display: none; }
.js .nachfrage.da { display: block; animation: auftauchen 0.35s ease both; }
.nachfrage-titel { margin: 0 0 4px; font-weight: 600; color: var(--tinte); }
.nachfrage p { font-size: 0.9375rem; }
.nachfrage > p:not(.nachfrage-titel) { margin-bottom: 12px; }
@keyframes auftauchen { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.warteliste-zeile { display: flex; flex-wrap: wrap; gap: 8px; }
.warteliste-zeile input { flex: 3 1 260px; min-width: 0; height: 52px; padding: 0 16px; font-size: 1rem; }
.warteliste-zeile .knopf { flex: 1 0 auto; height: 52px; padding: 0 20px; }
.warteliste-form > label { display: block; margin-bottom: 8px; font-size: 0.875rem; font-weight: 500; color: var(--tinte); }
.warteliste-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }

/* ---------- Status (Vertrauenssignal, überall gleich) ---------- */
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: var(--r-s); font-size: 0.8125rem; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.status .icon { width: 14px; height: 14px; stroke-width: 3; }
.status i { width: 8px; height: 8px; border-radius: 50%; }
.status-ok { background: var(--akzent-hell); color: var(--akzent-text); }
.status-pruefung { background: var(--gold-hell); color: var(--gold-text); }
.status-pruefung i { background: var(--gold); }
.status-offen { background: var(--flaeche-2); color: var(--leise); }
.status-offen i { background: var(--blass); }
.status-details { display: block; max-width: 100%; }
.status-details > summary { list-style: none; cursor: pointer; }
.status-details > summary::-webkit-details-marker { display: none; }
.status-details > summary:hover { filter: brightness(0.97); }
.status .status-pfeil { width: 14px; height: 14px; margin-left: 2px; stroke-width: 2.4; transition: transform 0.15s; }
.status-details[open] .status-pfeil { transform: rotate(180deg); }
.status-panel { max-width: 420px; margin-top: 8px; padding: 12px 14px; border: 1px solid var(--linie); border-radius: var(--r); background: #fff; font-size: 0.8125rem; line-height: 1.45; animation: auftauchen 0.18s ease both; }
.status-panel p { margin: 0 0 8px; color: var(--leise); }
.status-panel ul { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.status-panel a { display: inline-flex; align-items: flex-start; gap: 6px; font-weight: 500; text-decoration: none; }
.status-panel a:hover { text-decoration: underline; }
.status-panel .icon { width: 14px; height: 14px; margin-top: 3px; }
.in-pruefung { display: inline-block; padding: 2px 8px; margin-right: 4px; border-radius: var(--r-s); background: var(--gold-hell); color: var(--gold-text); font-size: 0.75rem; font-weight: 600; letter-spacing: 0; vertical-align: 0.15em; }

/* Sanftes Einblenden beim Scrollen */
.js .einblenden { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .einblenden.sichtbar { opacity: 1; transform: none; }

/* ---------- Orte-Kacheln ---------- */
.ort-kacheln { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ort-kacheln a { display: flex; flex-direction: column; height: 100%; padding: 24px; border: 1px solid var(--linie); border-radius: var(--r-m); background: #fff; color: var(--text); text-decoration: none; transition: border-color 0.15s; }
.ort-kacheln a:hover { border-color: var(--blass); color: var(--text); }
.ok-name { font-size: 1.125rem; font-weight: 650; letter-spacing: -0.02em; color: var(--tinte); }
.ok-abgabe { margin-top: 2px; font-size: 0.8125rem; color: var(--leise); }
.ok-satz { margin-top: auto; padding-top: 24px; font-size: 1.75rem; font-weight: 650; letter-spacing: -0.04em; line-height: 1.1; color: var(--tinte); }
.ok-klein { margin-top: 4px; font-size: 0.8125rem; line-height: 1.4; color: var(--leise); }

/* ---------- Autopilot (dunkler Kontrastmoment) ---------- */
.autopilot { padding-block: var(--abschnitt); background: var(--marke); color: #C3D6CF; overflow: hidden; }
.autopilot h2, .autopilot h3 { color: #fff; }
.autopilot .rubrik, .autopilot-band .rubrik { color: var(--gold); }
.autopilot .lead { color: #C3D6CF; }
.autopilot a { color: #fff; }
.autopilot .kopfzeile { max-width: 760px; }
.fluss { display: grid; grid-template-columns: 150px 96px minmax(0, 1fr); align-items: center; }
.fluss-quellen { display: flex; flex-direction: column; justify-content: space-around; align-items: flex-end; height: 300px; list-style: none; margin: 0; padding: 0; }
.fq { opacity: 0.85; transition: opacity 0.3s, transform 0.3s; }
.fq.sendet { opacity: 1; transform: translateX(4px); }
.fq-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--r); background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.fq-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--farbe); }
.fq-airbnb { --farbe: #F59AAE; }
.fq-booking { --farbe: #97B6F5; }
.fq-direkt { --farbe: #C3D6CF; }
.fq.sendet .fq-chip { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.12); }
.fluss-linien { width: 96px; height: 300px; overflow: visible; }
.fluss-linien path { fill: none; stroke: rgba(255, 255, 255, 0.22); stroke-width: 1.5; }
.fluss-punkt { fill: #fff; }

.browser { background: #fff; border-radius: var(--r-l); overflow: hidden; color: var(--text); box-shadow: 0 48px 96px -40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.browser-leiste { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.browser-leiste span { width: 10px; height: 10px; border-radius: 50%; background: var(--linie-2); }
.browser-leiste p { margin: 0 auto; padding-right: 46px; font-size: 0.75rem; color: var(--leise); }
.dash { padding: 24px; }
.dash-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.dash-klein { margin: 0; font-size: 0.75rem; color: var(--leise); }
.dash-titel { margin: 2px 0 0; font-size: 1.125rem; font-weight: 650; letter-spacing: -0.02em; color: var(--tinte); }
.dash-sync { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: var(--r-s); background: var(--flaeche-2); color: var(--leise); font-size: 0.75rem; font-weight: 600; white-space: nowrap; transition: background-color 0.3s, color 0.3s; }
.dash-sync::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dash-sync.laeuft::before { animation: pulsieren 1s ease-in-out infinite; }
.dash-sync.fertig { background: var(--akzent-hell); color: var(--akzent-text); }
@keyframes pulsieren { 50% { opacity: 0.25; } }
.dash-tabelle { border: 1px solid var(--linie); border-radius: var(--r-m); overflow: hidden; }
.dash-zeile { display: grid; grid-template-columns: 84px minmax(0, 1fr) 76px 112px; gap: 16px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--linie); font-size: 0.875rem; transition: opacity 0.4s, transform 0.4s, background-color 1.2s; }
.dash-zeile:first-child { border-top: 0; }
.dash-kopfzeile { padding-block: 8px; background: var(--flaeche); font-size: 0.75rem; font-weight: 500; color: var(--leise); }
.dash-kopfzeile span:nth-child(3), .dash-kopfzeile span:nth-child(4) { text-align: right; }
.dash-zeile.neu { background: #F2F9F6; transition: opacity 0.4s, transform 0.4s, background-color 0s; }
.quelle { display: inline-block; width: fit-content; padding: 3px 8px; border-radius: var(--r-s); font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.q-airbnb { background: #FCEEF0; color: #A61E43; }
.q-booking { background: #EBF1FB; color: #1E4FB3; }
.q-direkt { background: var(--flaeche-2); color: var(--text); }
.dash-aufenthalt strong { display: block; font-weight: 600; }
.dash-aufenthalt small { display: block; font-size: 0.75rem; color: var(--leise); }
.dash-betrag { text-align: right; font-weight: 600; color: var(--tinte); }
.dash-status { text-align: right; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: var(--r-s); background: var(--flaeche-2); color: var(--leise); font-size: 0.75rem; font-weight: 600; white-space: nowrap; transition: background-color 0.3s, color 0.3s; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.ok { background: var(--akzent-hell); color: var(--akzent-text); }
.dash-fuss { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 16px; }
.dash-summe span { display: block; font-size: 0.75rem; color: var(--leise); }
.dash-summe strong { font-size: 1.75rem; font-weight: 650; letter-spacing: -0.04em; line-height: 1.2; }
.dash-meldung { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: var(--r); background: var(--akzent-text); color: #fff; font-size: 0.875rem; font-weight: 600; }
.dash-meldung .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.dash-frist { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--gold-linie); border-radius: var(--r-m); background: var(--gold-hell); }
.dash-frist .icon { width: 20px; height: 20px; color: var(--gold-text); }
.dash-frist strong { display: block; font-size: 0.875rem; }
.dash-frist small { display: block; font-size: 0.75rem; color: var(--leise); }
.autopilot-hinweis { margin: 20px 0 0; font-size: 0.8125rem; color: #93B2A8; }

.warteliste { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; margin-top: 80px; padding: 40px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r-l); background: rgba(255, 255, 255, 0.04); }
.warteliste h3 { margin-bottom: 8px; font-size: 1.5rem; font-weight: 650; letter-spacing: -0.025em; }
.warteliste-text p { margin: 0; color: #C3D6CF; }
.autopilot .warteliste-form > label { color: #fff; }
.autopilot .feld-check { color: #B4CBC3; }
.autopilot .formular-status { color: #fff; }
.autopilot .knopf { background: #fff; color: var(--marke); }
.autopilot .knopf:hover { background: #E7F0EC; color: var(--marke); }
.autopilot input { border-color: transparent; }

.autopilot-band { padding: 56px 0; background: var(--marke); }
.autopilot-band-innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.autopilot-band .rubrik { margin-bottom: 8px; }
.autopilot-band h2 { max-width: 32em; color: #fff; }

/* ---------- Ortsseite ---------- */
.stadt-kopf { padding: 32px 0 clamp(56px, 7vw, 88px); }
.stadt-kopf-kurz { padding-bottom: 32px; }
.brotkrumen ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 40px; padding: 0; font-size: 0.875rem; color: var(--leise); }
.brotkrumen li + li::before { content: "/"; margin-right: 8px; color: var(--blass); }
.brotkrumen a { color: var(--leise); text-decoration: none; }
.brotkrumen a:hover { color: var(--tinte); }
.stadt-land { margin: 0 0 12px; font-size: 0.875rem; font-weight: 500; color: var(--leise); }
.stadt-kopf h1 { font-size: clamp(1.875rem, 1.3rem + 2.6vw, 3.5rem); max-width: 18em; hyphens: manual; }
.stadt-lead { margin: 20px 0 24px; max-width: 44em; }
.kennzahlen { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); margin: 40px 0 0; border-block: 1px solid var(--linie); }
.kennzahl { padding: 28px 24px 28px 0; }
.kennzahl + .kennzahl { padding-left: 24px; border-left: 1px solid var(--linie); }
.kennzahl dt { margin-bottom: 8px; font-size: 0.8125rem; font-weight: 500; color: var(--leise); }
.kennzahl dd { margin: 0; }
.kennzahl-wert { display: block; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1.15; color: var(--tinte); }
.kennzahl:first-child .kennzahl-wert { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem); letter-spacing: -0.045em; line-height: 1.02; }
.kennzahl-klein { display: block; margin-top: 8px; font-size: 0.875rem; line-height: 1.45; color: var(--leise); }
.kennzahl-wert .in-pruefung { font-size: 0.875rem; vertical-align: middle; }
.hinweis-pruefung { max-width: 44em; margin: 24px 0 0; padding: 12px 16px; border: 1px solid var(--gold-linie); border-radius: var(--r); background: var(--gold-hell); color: #5B4410; font-size: 0.9375rem; }
.abschnitt-titel { margin-bottom: 24px; }
.kennzahl .status-details { margin-top: 12px; }
.wrap-text { max-width: 904px; }
.details-einleitung { max-width: 44em; margin: 0 0 8px; font-size: 1.0625rem; }

.fristen { margin-top: 24px; padding: 32px; background: #fff; border: 1px solid var(--linie); border-radius: var(--r-l); }
.fristen-liste { list-style: none; margin: 20px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.frist { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--linie); border-radius: var(--r-m); }
.frist-erste { border-color: var(--akzent); box-shadow: inset 0 0 0 1px var(--akzent); }
.datum { display: flex; align-items: baseline; gap: 6px; }
.datum-tag { font-size: 2rem; font-weight: 650; letter-spacing: -0.04em; line-height: 1; color: var(--tinte); font-variant-numeric: tabular-nums; }
.datum-monat { font-size: 0.9375rem; font-weight: 600; color: var(--leise); }
.frist-text strong { display: block; font-size: 0.875rem; }
.frist-text span { display: block; margin-top: 2px; font-size: 0.8125rem; line-height: 1.45; color: var(--leise); }
.frist-rest { margin-top: auto; font-size: 0.8125rem; font-weight: 600; color: var(--leise); }
.frist-erste .frist-rest { color: var(--akzent-text); }

.steckbrief { margin: 16px 0 0; }
.steckbrief > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--linie); font-size: 0.9375rem; }
.steckbrief dt { font-weight: 500; color: var(--tinte); }
.steckbrief dd { margin: 0; }
.punkte { margin: 0 0 20px; padding-left: 18px; font-size: 0.9375rem; }
.punkte li { margin-bottom: 8px; }
.punkte li::marker { color: var(--blass); }
.akkordeon { margin-top: 32px; border-top: 1px solid var(--linie); }
.akkordeon details { border-bottom: 1px solid var(--linie); }
.steckbrief-innen { margin: 0 0 16px; }
.steckbrief-innen > div:first-child { border-top: 0; }
.akkordeon-text { padding-bottom: 16px; }
.akkordeon-text p { max-width: 44em; }
.quellen { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.quellen a { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--linie); border-radius: var(--r); background: #fff; color: var(--tinte); font-size: 0.875rem; font-weight: 500; line-height: 1.45; text-decoration: none; }
.quellen a:hover { border-color: var(--blass); color: var(--tinte); }
.quellen .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--leise); }

/* ---------- Seite /orte ---------- */
.werkzeuge { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.such-feld { position: relative; flex: 1 1 280px; max-width: 380px; }
.such-feld .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--leise); }
.such-feld input { padding-left: 42px; }
.segmente-filter { display: inline-flex; flex-wrap: wrap; }
.orte-raster { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.orte-liste ul { list-style: none; margin: 0; padding: 0; }
.orte-zeile { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.3fr) minmax(0, 0.85fr) minmax(0, 0.95fr); gap: 16px; align-items: center; padding: 14px 12px; border-bottom: 1px solid var(--linie); color: var(--text); font-size: 0.875rem; line-height: 1.4; text-decoration: none; transition: background-color 0.12s; }
a.orte-zeile:hover, .orte-zeile.aktiv { background: var(--flaeche); color: var(--text); }
.orte-kopfzeile { padding-top: 0; padding-bottom: 10px; font-size: 0.75rem; font-weight: 500; color: var(--leise); }
.oz-ort strong { display: block; font-size: 0.9375rem; }
.oz-ort small, .oz-satz small { font-size: 0.8125rem; color: var(--leise); }
.oz-satz .zahl { font-weight: 650; color: var(--tinte); }
.oz-status { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--leise); }
.punkt { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.punkt-ok { background: var(--akzent); }
.punkt-pruefung { background: var(--gold); }
.punkt-neutral { background: var(--blass); }
.orte-leer { padding: 24px 12px; }
.orte-karte { position: sticky; top: calc(var(--kopf-hoehe) + 24px); }
.karte-klapp > summary { display: flex; align-items: center; justify-content: center; height: 48px; border: 1px solid var(--linie-2); border-radius: var(--r); background: #fff; color: var(--tinte); font-weight: 600; font-size: 0.9375rem; cursor: pointer; list-style: none; }
.karte-klapp > summary::-webkit-details-marker { display: none; }
.karte-klapp[open] > summary { margin-bottom: 12px; }
.karte-rahmen { position: relative; padding: 16px; background: #fff; border: 1px solid var(--linie); border-radius: var(--r-l); }
.orte-karte .dland { max-height: calc(100vh - 220px); }

/* ---------- Häufige Fragen ---------- */
.faq details { border-bottom: 1px solid var(--linie); }
.faq details:first-child { border-top: 1px solid var(--linie); }
.faq summary, .akkordeon summary { position: relative; padding: 20px 40px 20px 0; font-weight: 600; color: var(--tinte); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker, .akkordeon summary::-webkit-details-marker { display: none; }
.faq summary::after, .akkordeon summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--leise); border-bottom: 2px solid var(--leise); transform: translateY(-70%) rotate(45deg); transition: transform 0.15s; }
.faq details[open] summary::after, .akkordeon details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { margin: 0 0 20px; max-width: 42em; }

.rechner-mehr { margin: 20px 0 0; font-size: 0.9375rem; }
.rechner-mehr .link-pfeil { white-space: normal; }

/* ---------- Airbnb-Export auswerten ---------- */
.aw-sicher { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 0.875rem; font-weight: 500; color: var(--akzent-text); }
.aw-sicher .icon { width: 16px; height: 16px; }
.aw-bereich { padding-bottom: clamp(56px, 7vw, 88px); }
.auswerten { background: #fff; border: 1px solid var(--linie); border-radius: var(--r-l); box-shadow: var(--s-1); }
.aw-eingaben { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; padding: 32px; }
.aw-nr { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; background: var(--akzent-hell); color: var(--akzent-text); font-size: 0.75rem; font-weight: 650; vertical-align: 1px; }
.aw-ort-info { margin-top: 12px; }
.aw-ort-info:empty { display: none; }
.aw-ort-satz { margin: 0 0 8px; font-size: 0.875rem; line-height: 1.45; }
.aw-datei .ablage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 148px; margin: 0; padding: 24px; border: 1px dashed var(--linie-2); border-radius: var(--r-m); background: var(--flaeche); color: var(--text); font-size: 1rem; font-weight: 400; text-align: center; cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.ablage:hover, .ablage.ueber { border-color: var(--akzent); background: var(--akzent-hell); }
.ablage:focus-within { outline: 2px solid var(--akzent); outline-offset: 2px; }
.ablage-eingabe { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ablage .icon { width: 28px; height: 28px; margin-bottom: 4px; color: var(--akzent-text); }
.ablage strong { font-size: 1rem; }
.ablage-oder { font-size: 0.875rem; color: var(--leise); }
.ablage-oder u { color: var(--akzent-text); text-underline-offset: 3px; }
.ablage-handy { display: none; }
.aw-dateien { display: grid; gap: 8px; list-style: none; margin: 12px 0 0; padding: 0; }
.aw-dateien:empty { display: none; }
.aw-datei-eintrag { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border: 1px solid var(--linie); border-radius: var(--r); background: #fff; }
.aw-datei-eintrag > .icon { width: 18px; height: 18px; color: var(--leise); }
.aw-datei-text { min-width: 0; }
.aw-datei-text strong { display: block; font-size: 0.875rem; overflow-wrap: anywhere; }
.aw-datei-text small { display: block; font-size: 0.8125rem; line-height: 1.4; color: var(--leise); }
.aw-datei-eintrag.fehlerhaft { border-color: var(--gold-linie); background: var(--gold-hell); }
.aw-datei-eintrag.fehlerhaft small { color: #5B4410; }
.aw-datei-weg { flex: none; width: 32px; height: 32px; margin-left: auto; border: 0; border-radius: var(--r-s); background: transparent; color: var(--leise); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.aw-datei-weg:hover { background: var(--flaeche-2); color: var(--tinte); }
.aw-beispiel { margin: 12px 0 0; font-size: 0.875rem; color: var(--leise); }
.aw-beispiel[hidden] { display: none; }
.link-knopf { padding: 0; border: 0; background: none; color: var(--akzent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; cursor: pointer; }
.link-knopf:hover { color: var(--akzent-hover); }
.aw-optionen { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px 24px; padding: 20px 32px 24px; border-top: 1px solid var(--linie); border-radius: 0 0 var(--r-l) var(--r-l); background: var(--flaeche); }
.aw-optionen[hidden], .aw-optionen > [hidden] { display: none; }
.aw-inserate { min-width: 0; margin: 0; padding: 0; border: 0; }
.aw-inserate legend { padding: 0; }
.aw-inserate .feld-check { margin-top: 6px; font-size: 0.875rem; color: var(--tinte); }

.aw-ergebnis { margin-top: 48px; }
.aw-ergebnis:empty { display: none; }
.aw-kopf .rubrik { margin-bottom: 6px; }
.kennzahlen-3 { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); margin-top: 20px; }
.aw-meldung { max-width: 44em; margin: 0; }
.aw-hinweise { margin: 24px 0 0; padding: 14px 16px; border: 1px solid var(--gold-linie); border-radius: var(--r); background: var(--gold-hell); color: #5B4410; font-size: 0.875rem; line-height: 1.5; }
.aw-hinweise-titel { margin: 0 0 6px; font-weight: 600; color: #5B4410; }
.aw-hinweise ul { display: grid; gap: 6px; margin: 0; padding-left: 18px; }
.aw-liste-titel { margin: 40px 0 12px; font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.015em; }
.zeitraeume { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.zr > details > summary { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(112px, auto) 18px; gap: 16px; align-items: center; padding: 16px 12px; border-bottom: 1px solid var(--linie); cursor: pointer; list-style: none; transition: background-color 0.12s; }
.zr > details > summary::-webkit-details-marker { display: none; }
.zr > details > summary:hover { background: var(--flaeche); }
.zr-naechste > details > summary { box-shadow: inset 3px 0 0 var(--akzent); }
.zr-name strong { display: block; font-size: 1rem; }
.zr-name small { display: block; margin-top: 2px; font-size: 0.8125rem; line-height: 1.4; color: var(--leise); }
.zr-frist { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: 0.875rem; line-height: 1.4; color: var(--tinte); }
.zr-frist small { font-size: 0.8125rem; color: var(--leise); }
.zr-frist .chip { margin-bottom: 4px; }
.zr-vorbei .zr-frist { color: var(--leise); }
.zr-betrag { text-align: right; }
.zr-betrag strong { display: block; font-size: 1.25rem; font-weight: 650; letter-spacing: -0.025em; line-height: 1.25; }
.zr-betrag small { display: block; font-size: 0.75rem; color: var(--leise); }
.zr-pfeil { width: 18px; height: 18px; color: var(--leise); transition: transform 0.15s; }
.zr details[open] .zr-pfeil { transform: rotate(180deg); }
.zr-inhalt { padding: 4px 12px 20px; border-bottom: 1px solid var(--linie); }
.posten { width: 100%; border-collapse: collapse; font-size: 0.875rem; line-height: 1.4; }
.posten th { padding: 10px 16px 8px 0; border-bottom: 1px solid var(--linie); font-size: 0.75rem; font-weight: 500; color: var(--leise); text-align: left; white-space: nowrap; }
.posten td { padding: 10px 16px 10px 0; border-bottom: 1px solid var(--flaeche-2); vertical-align: top; }
.posten tr:last-child td { border-bottom: 0; }
.posten th:last-child, .posten td:last-child { padding-right: 0; }
.posten .r, .p-preis, .p-abgabe { text-align: right; white-space: nowrap; }
.p-gast strong { display: block; font-weight: 600; }
.p-klein { display: block; margin-top: 2px; font-size: 0.75rem; color: var(--leise); }
.p-warnung { color: var(--gold-text); }
.p-etikett { display: none; }
.p-gaeste .p-klein { display: inline; margin: 0 0 0 8px; }
.posten .aw-gaeste-feld { width: 64px; height: 36px; padding: 0 6px; font-size: 0.875rem; font-weight: 600; text-align: center; }
.posten .aw-gaeste-feld.angenommen { border-style: dashed; color: var(--leise); }
.aw-fehler ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.aw-fehler li { display: grid; gap: 2px; padding: 12px; border-bottom: 1px solid var(--linie); font-size: 0.875rem; line-height: 1.45; }
.aw-uebersprungen { margin: 16px 0 0; }
.aw-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.aw-nachfrage { max-width: 640px; margin-top: 56px; padding: 24px; border: 1px solid var(--linie); border-radius: var(--r-l); background: var(--flaeche); }
.aw-anleitung { display: grid; gap: 16px; counter-reset: schritt; list-style: none; margin: 0 0 12px; padding: 0; }
.aw-anleitung li { position: relative; padding-left: 40px; font-size: 0.9375rem; counter-increment: schritt; }
.aw-anleitung li::before { content: counter(schritt); position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid var(--linie-2); border-radius: 50%; background: #fff; font-size: 0.8125rem; font-weight: 650; color: var(--tinte); }
.aw-anleitung strong { display: block; }
.aw-faq { margin-top: 40px; }
@media (hover: none), (max-width: 640px) {
  .ablage-gross, .ablage-oder { display: none; }
  .ablage-handy { display: inline; }
}
@media (max-width: 1080px) {
  .kennzahlen-3 { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
  .kennzahlen-3 .kennzahl:nth-child(n) { padding: 24px 20px 24px 0; border-top: 0; border-left: 0; }
  .kennzahlen-3 .kennzahl:nth-child(n) + .kennzahl { padding-left: 20px; border-left: 1px solid var(--linie); }
}
@media (max-width: 760px) {
  .aw-eingaben { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 20px 16px; }
  .aw-optionen { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .ablage { min-height: 112px; padding: 20px 16px; }
  .aw-ergebnis { margin-top: 32px; }
  .kennzahlen-3 { grid-template-columns: minmax(0, 1fr); }
  .kennzahlen-3 .kennzahl:nth-child(n), .kennzahlen-3 .kennzahl:nth-child(n) + .kennzahl { padding: 16px 0; border-left: 0; border-top: 1px solid var(--linie); }
  .kennzahlen-3 .kennzahl:first-child { border-top: 0; }
  .zr > details > summary { grid-template-columns: minmax(0, 1fr) auto 18px; grid-template-areas: "name betrag pfeil" "frist frist pfeil"; gap: 6px 12px; padding: 14px 4px; }
  .zr-name { grid-area: name; }
  .zr-frist { grid-area: frist; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
  .zr-frist .chip { margin: 0; }
  .zr-betrag { grid-area: betrag; }
  .zr-pfeil { grid-area: pfeil; }
  .zr-naechste > details > summary { padding-left: 12px; }
  .zr-inhalt { padding: 0 4px 12px; }
  .posten, .posten tbody { display: block; }
  .posten thead { display: none; }
  .posten tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--flaeche-2); }
  .posten tr:last-child { border-bottom: 0; }
  .posten td { padding: 0; border: 0; }
  .p-gast { grid-column: 1; grid-row: 1; }
  .p-abgabe { grid-column: 2; grid-row: 1; }
  .p-aufenthalt { grid-column: 1; grid-row: 2; }
  .p-preis { grid-column: 2; grid-row: 2; color: var(--leise); }
  .p-etikett { display: inline; }
  .p-gaeste { grid-column: 1 / -1; grid-row: 3; margin-top: 6px; }
  .aw-nachfrage { padding: 20px 16px; }
}

/* ---------- Rechtstexte, 404 ---------- */
.rechtstext { padding: 56px 0 96px; }
.rechtstext h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: 32px; }
.rechtstext h2 { font-size: 1.25rem; letter-spacing: -0.018em; margin: 40px 0 12px; }
.rechtstext h3 { font-size: 1.0625rem; margin: 24px 0 8px; }
.kasten { padding: 12px 16px; border: 1px solid var(--linie); border-radius: var(--r); background: var(--flaeche); }
.kasten-pruefung { border-color: var(--gold-linie); background: var(--gold-hell); color: #5B4410; }

/* ---------- Fuß ---------- */
.fuss { padding: 64px 0 40px; border-top: 1px solid var(--linie); font-size: 0.875rem; color: var(--leise); }
.fuss-raster { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.fuss-marke p { max-width: 30em; margin: 16px 0 0; }
.fuss-titel { margin: 0 0 12px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0; color: var(--tinte); }
.fuss ul { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.fuss a { color: var(--leise); text-decoration: none; }
.fuss a:hover { color: var(--tinte); }
.fuss-hinweis { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--linie); font-size: 0.75rem; line-height: 1.6; }
.fuss-hinweis a { text-decoration: underline; }

/* ---------- Anpassung an Bildschirmbreiten ---------- */
@media (max-width: 1080px) {
  .ort-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fristen-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kennzahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kennzahl, .kennzahl + .kennzahl { padding: 24px 24px 24px 0; border-left: 0; }
  .kennzahl:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--linie); }
  .kennzahl:nth-child(n+3) { border-top: 1px solid var(--linie); }
}
@media (max-width: 980px) {
  .hero-raster, .zwei-spalten, .orte-raster, .warteliste { grid-template-columns: minmax(0, 1fr); }
  .hero-raster { gap: 32px; }
  .hero h1 { font-size: min(3.25rem, calc(9.3vw - 4.5px)); }
  .zwei-spalten { gap: 40px; }
  .rechner { grid-template-columns: minmax(0, 1fr); }
  .rechner-ergebnis { border-left: 0; border-top: 1px solid var(--linie); border-radius: 0 0 var(--r-l) var(--r-l); }
  .orte-karte { position: static; order: -1; }
  .warteliste { gap: 24px; margin-top: 56px; }
  .fluss { grid-template-columns: 120px 72px minmax(0, 1fr); }
  .fluss-linien { width: 72px; }
  .dash-zeile { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "q s" "a b"; gap: 6px 12px; }
  .dash-zeile > .quelle { grid-area: q; }
  .dash-aufenthalt { grid-area: a; }
  .dash-betrag { grid-area: b; }
  .dash-status { grid-area: s; }
  .dash-kopfzeile { display: none; }
}
@media (min-width: 981px) {
  .js .karte-klapp > summary { display: none; }
  .ergebnis-leiste { display: none !important; }
}
@media (max-width: 860px) {
  .navi { display: none; }
  .menue-knopf { display: inline-flex; margin-left: 8px; }
  .kopf-cta { margin-left: auto; }
  .navi.offen { display: block; position: absolute; top: var(--kopf-hoehe); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--linie); box-shadow: var(--s-pop); }
  .navi.offen ul { flex-direction: column; padding: 8px 16px 16px; }
  .navi.offen a { padding: 12px 8px; font-size: 1rem; }
  html:not(.js) .navi { display: block; margin-left: auto; overflow-x: auto; }
  html:not(.js) .menue-knopf { display: none; }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
  .fuss-marke { grid-column: 1 / -1; }
  .steckbrief > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .orte-kopfzeile { display: none; }
  .orte-zeile { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; }
  .oz-satz { text-align: right; }
  .oz-satz small { display: none; }
  .oz-anmeldung { display: none; }
  .oz-status { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  /* Handy: Suche zuerst, darunter die Karte randlos. Ein Tipp wählt den nächsten Ort, die Ortsinfo kommt als Blatt von unten. */
  .karte-buehne { margin-inline: calc(-1 * var(--rand)); }
  .karte-flaeche { padding: 0 8px; }
  .karte-flaeche .dland { max-height: 62vh; --gross: 1.15; }
  .karte-flaeche .ort-punkt { stroke-width: 1.2; }
  .karte-zurueck { top: 4px; right: var(--rand); }
  .karte-info { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 60; width: auto; padding: 24px 20px 20px; border-radius: 16px; box-shadow: 0 -8px 40px -12px rgba(15, 23, 42, 0.3), 0 2px 6px rgba(15, 23, 42, 0.06); animation: blatt 0.25s ease both; }
  .karte-info::before { content: ""; position: absolute; top: 8px; left: 50%; width: 36px; height: 4px; border-radius: 2px; background: var(--linie-2); transform: translateX(-50%); }
  .ki-aktionen .knopf { flex: 1; height: 44px; }
  .karte-fuss { justify-items: stretch; gap: 12px; margin-top: 12px; padding-inline: var(--rand); }
  .legende { justify-content: center; gap: 4px 14px; font-size: 0.75rem; }
  .beliebt { justify-content: center; }
  .beliebt .link-pfeil { flex-basis: 100%; justify-content: center; margin: 4px 0 0; }
  .beliebt::-webkit-scrollbar { display: none; }
  .beliebt button { height: 40px; }
  .karte-quelle { text-align: left; }
  .fluss { grid-template-columns: minmax(0, 1fr); }
  .fluss-quellen { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; height: auto; margin-bottom: 16px; }
  .fq.sendet { transform: translateY(-2px); }
  .fluss-linien { display: none; }
}
@media (max-width: 640px) {
  :root { --rand: 16px; --kopf-hoehe: 56px; --abschnitt: 64px; }
  .marke { font-size: 1rem; }
  .marke-zeichen { width: 26px; height: 26px; }
  .hero { padding: 20px 0 48px; }
  .hero h1 { margin-bottom: 12px; }
  .hero .lead { margin-bottom: 20px; font-size: 1rem; }
  .hero-fakten { margin-top: 14px; font-size: 0.8125rem; }
  .hero-raster { gap: 24px; }
  .such-zeile .such-feld input { height: 48px; font-size: 1rem; }
  .such-zeile .knopf { height: 48px; padding: 0 16px; }
  h2 { font-size: 1.75rem; }
  .kopfzeile { margin-bottom: 24px; }
  .kopfzeile .lead { font-size: 1rem; }
  .abschnitt-eng { padding-block: 48px; }
  .knopf-gross { height: 48px; }
  .rechner-eingaben { gap: 16px 12px; padding: 20px 16px; }
  .rechner-ergebnis { padding: 24px 16px; gap: 24px; }
  .fristen { padding: 20px 16px; }
  .fristen .knopf { width: 100%; height: auto; min-height: 44px; padding: 10px 14px; white-space: normal; text-align: center; }
  .ergebnis-betrag { font-size: 3.25rem; }
  .weitere-innen { grid-template-columns: minmax(0, 1fr); }
  .segmente span { gap: 5px; padding: 0 4px; font-size: 0.8125rem; }
  .segmente-filter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .datum-knopf { gap: 8px; padding: 0 12px; }
  .datum-knopf .jahr { display: none; }
  /* Kalender als Blatt von unten mit großen Tagen */
  .kalender, .datum-feld[data-rolle="abreise"] .kalender { position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 90; width: auto; padding: 20px 16px calc(16px + env(safe-area-inset-bottom)); border: 0; border-radius: 16px 16px 0 0; box-shadow: 0 -12px 40px -12px rgba(15, 23, 42, 0.35); animation: blatt 0.25s ease both; }
  .kalender::before { content: ""; position: absolute; top: 8px; left: 50%; width: 36px; height: 4px; border-radius: 2px; background: var(--linie-2); transform: translateX(-50%); }
  .kalender-titel { display: block; margin: 6px 0 8px; font-size: 1.0625rem; font-weight: 650; color: var(--tinte); }
  .kalender-tag { height: 44px; font-size: 1rem; }
  .kalender-kopf button { width: 44px; height: 44px; }
  .kalender-fuss button { padding: 12px 14px; font-size: 0.9375rem; }
  .kalender-schleier { display: block; position: fixed; inset: 0; z-index: 89; background: rgba(15, 23, 42, 0.36); animation: schleier 0.2s ease both; }
  .kennzahl, .kennzahl + .kennzahl, .kennzahl:nth-child(even) { padding: 16px 0; border-left: 0; border-top: 1px solid var(--linie); }
  .kennzahl:first-child { grid-column: 1 / -1; border-top: 0; }
  .kennzahl:last-child { grid-column: 1 / -1; }
  .kennzahl:nth-child(3) { padding-left: 16px; border-left: 1px solid var(--linie); }
  .kennzahl-wert { font-size: 1.25rem; }
  .kennzahl:last-child .kennzahl-wert { display: inline; margin-right: 12px; }
  .kennzahl:last-child .status-details { display: inline-block; margin-top: 0; vertical-align: middle; }
  .kennzahl-klein { margin-top: 4px; font-size: 0.8125rem; }
  .dash { padding: 16px; }
  .dash-zeile { padding: 12px; }
  .dash-sync { display: none; }
  .browser-leiste p { display: none; }
  .autopilot-hinweis { font-size: 0.75rem; }
  .warteliste { padding: 24px 16px; margin-top: 48px; }
  .warteliste h3 { font-size: 1.25rem; }
  .warteliste-zeile { flex-direction: column; gap: 10px; }
  .warteliste-zeile input { flex: none; width: 100%; height: 56px; }
  .warteliste-zeile .knopf { width: 100%; height: 56px; }
  .warteliste-form > label { margin-bottom: 10px; font-size: 0.9375rem; }
  .fristen-liste { grid-template-columns: minmax(0, 1fr); }
  .frist { flex-direction: row; align-items: center; gap: 16px; }
  .frist .datum { flex-direction: column; align-items: center; gap: 0; min-width: 48px; }
  .frist-rest { margin: 0 0 0 auto; text-align: right; }
  .ort-kacheln a { padding: 16px; }
  .ok-satz { font-size: 1.375rem; padding-top: 16px; }
  .knopf-reihe .knopf { flex: 1 1 auto; }
  .faq summary, .akkordeon summary { padding-block: 16px; font-size: 0.9375rem; }
  .fuss { padding: 48px 0 32px; }
  .fuss-raster { gap: 32px; }
  .autopilot-band { padding: 40px 0 48px; }
}
@media (max-width: 380px) {
  .segmente { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .datum-knopf .wt { display: none; }
  .kopf-cta { padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Seite /orte: weitere anerkannte Kurorte (Kurtaxe in Prüfung) */
.kurorte { margin-top: 56px; }
.kurorte > .klein { max-width: 44em; margin-bottom: 16px; }
.kurorte-land { border-bottom: 1px solid var(--linie); }
.kurorte-land > summary { display: flex; align-items: center; gap: 8px; padding: 14px 4px; font-weight: 600; color: var(--tinte); cursor: pointer; list-style: none; }
.kurorte-land > summary::-webkit-details-marker { display: none; }
.kurorte-land > summary small { color: var(--leise); font-weight: 400; }
.kurorte-land > summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--leise); border-bottom: 2px solid var(--leise); transform: rotate(45deg); transition: transform 0.15s; }
.kurorte-land[open] > summary::after { transform: rotate(-135deg); }
.kurorte-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 24px; margin: 0 0 12px; padding: 0; list-style: none; }
.kurorte-liste li { padding: 8px 4px; border-top: 1px solid var(--flaeche-2); font-size: 0.875rem; line-height: 1.35; }
.kurorte-liste li small { color: var(--leise); }
.kurort-status { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 0.75rem; color: var(--leise); }

/* ---------- Bewegung und Feinschliff (Oktober 2026) ---------- */
@keyframes aufsteigen { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes wort-raus { to { opacity: 0; transform: translateY(-0.28em); filter: blur(6px); } }
@keyframes wort-rein { from { opacity: 0; transform: translateY(0.32em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes puls { 0% { transform: scale(1); opacity: 0.55; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes schimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes einrasten { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes drehen { to { transform: rotate(360deg); } }

/* Hero: Zeilen steigen nacheinander auf, das erste Wort wechselt einmal durch */
.js .hero h1 .zeile, .js .hero .lead, .js .hero .suche, .js .hero .hero-fakten { animation: aufsteigen 0.9s var(--ease) both; }
.js .hero h1 .zeile + .zeile { animation-delay: 0.08s; }
.js .hero .lead { animation-delay: 0.16s; }
.js .hero .suche { animation-delay: 0.24s; }
.js .hero .hero-fakten { animation-delay: 0.32s; }
.js .hero h1 .zeile.wort-raus { animation: wort-raus 0.28s var(--ease-io) forwards; }
.js .hero h1 .zeile.wort-rein { animation: wort-rein 0.5s var(--ease) both; }
.hero-fakten b { font-weight: 500; color: var(--text); }

/* Suche: ruhiger Fokus, der Platzhalter tippt Beispiele */
.such-feld input { transition: border-color 0.15s, box-shadow 0.2s var(--ease); }
.such-feld input:focus { box-shadow: 0 0 0 4px rgba(31, 138, 112, 0.14); }
.such-feld .icon { transition: color 0.15s; }
.such-feld:focus-within .icon { color: var(--akzent-text); }

/* Kopfzeile bekommt beim Scrollen einen Hauch Tiefe */
.kopf { transition: box-shadow 0.25s; }
.kopf.gescrollt { box-shadow: 0 10px 30px -22px rgba(15, 23, 42, 0.35); }

/* Segmente: die weiße Auswahl gleitet zur neuen Option */
.segmente { position: relative; isolation: isolate; }
.segment-schieber { position: absolute; z-index: -1; top: 3px; left: 0; height: calc(100% - 6px); border-radius: var(--r-s); background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 0 0 1px var(--linie); transition: transform 0.35s var(--ease), width 0.35s var(--ease); pointer-events: none; }
.segmente.mit-schieber input:checked + span { background: transparent; box-shadow: none; }

/* Weich auf- und zuklappen (Fragen, Phasen, weitere Angaben) */
.weich-inhalt { overflow: hidden; }
.faq summary { transition: color 0.15s; }
.faq summary:hover { color: var(--akzent-text); }

/* Ergebnis im Rechner: Zahlen rollen zum neuen Betrag */
.ergebnis-betrag { font-variant-numeric: tabular-nums; }

/* Links mit Pfeil dürfen auf dem Handy umbrechen, der Pfeil bleibt am Wort */
.rechner-mehr .link-pfeil { display: inline; white-space: normal; }
.rechner-mehr .link-pfeil .icon { display: inline-block; margin-left: 4px; vertical-align: -4px; }
.fuss .marke { color: var(--tinte); }

/* Warteliste: lesbare Beschriftungen auf Dunkelgrün, Rückmeldung mit Haken */
.autopilot .warteliste-extra label { color: #C3D6CF; }
.formular-status { display: flex; align-items: flex-start; gap: 8px; animation: einrasten 0.3s var(--ease); }
.formular-status .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; stroke-width: 2.6; }
.formular-status.ok { color: var(--akzent-text); font-weight: 500; }
.autopilot .formular-status.ok { color: #7FD8BA; }
.knopf.sendet { position: relative; color: transparent !important; }
.knopf.sendet::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid; border-color: #fff transparent #fff transparent; animation: drehen 0.8s linear infinite; }
.autopilot .knopf.sendet::after { border-color: var(--marke) transparent var(--marke) transparent; }

/* ---------- Entwicklungsstand (Startseite und /fortschritt/) ---------- */
.live-punkt { position: relative; display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--akzent); }
.live-punkt::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: puls 2.2s var(--ease) infinite; }
.fortschritt { max-width: 640px; }
.fb-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 16px; font-size: 0.875rem; font-weight: 500; color: var(--tinte); }
.fb-aktualisiert { font-weight: 400; color: var(--leise); }
.fb-aktualisiert::before { content: "·"; margin-right: 10px; }
.fb-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 16px; }
.fb-prozent { font-size: clamp(2.75rem, 2.2rem + 2.4vw, 3.75rem); font-weight: 700; letter-spacing: -0.05em; line-height: 0.95; color: var(--tinte); }
.fb-kopf > span { font-size: 1rem; color: var(--text); }
.fb-balken { display: flex; gap: 4px; height: 10px; }
.fb-teil { position: relative; flex: 1 1 0; overflow: hidden; border-radius: 3px; background: var(--flaeche-2); box-shadow: inset 0 0 0 1px var(--linie); }
.fb-teil i { display: block; width: calc(var(--anteil) * 100%); height: 100%; background: var(--akzent); transition: width 0.9s var(--ease); transition-delay: calc(0.25s + var(--i) * 0.09s); }
.js .fortschritt:not(.an) .fb-teil i { width: 0; }
.fb-aktuell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(31, 138, 112, 0.22), transparent); animation: schimmer 2.4s var(--ease-io) infinite; }
.fb-fuss { margin: 12px 0 0; font-size: 0.875rem; color: var(--leise); }
.fb-fuss { display: flex; flex-wrap: wrap; gap: 2px 0; }
.fb-fuss span { white-space: nowrap; }
.fb-fuss span + span::before { content: "·"; margin: 0 8px; }
.fortschritt-gross .fb-balken { height: 12px; }

.autopilot .live-punkt { background: #5FC4A4; }
.autopilot .fb-status { color: #fff; }
.autopilot .fb-aktualisiert, .autopilot .fb-kopf > span, .autopilot .fb-fuss { color: #A9C4BB; }
.autopilot .fb-prozent { color: #fff; }
.autopilot .fb-teil { background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.autopilot .fb-teil i { background: #5FC4A4; }
.autopilot .fb-aktuell::after { background: linear-gradient(90deg, transparent, rgba(95, 196, 164, 0.35), transparent); }
.autopilot-stand { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-top: 72px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.as-text { padding-bottom: 2px; }
.as-label { margin: 0 0 6px; font-size: 0.8125rem; font-weight: 600; color: var(--gold); }
.as-titel { margin: 0 0 6px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; color: #fff; }
.as-satz { margin: 0 0 16px; font-size: 0.9375rem; line-height: 1.55; color: #C3D6CF; }
.autopilot-stand + .warteliste { margin-top: 56px; }

/* ---------- /fortschritt/ ---------- */
.fs-kopf { padding-bottom: clamp(48px, 6vw, 72px); }
.js .fs-auftritt { animation: aufsteigen 0.9s var(--ease) both; }
.js .stadt-lead.fs-auftritt { animation-delay: 0.08s; }
.js .fs-stand.fs-auftritt { animation-delay: 0.16s; }
.js .fs-naechste.fs-auftritt { animation-delay: 0.24s; }
.fs-wrap { max-width: 820px; }
.fs-stand { margin-top: 8px; }
.fs-klein { margin: 0 0 12px; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; color: var(--tinte); }
.fs-naechste { margin-top: 40px; padding: 20px 24px; border: 1px solid var(--linie); border-radius: var(--r-m); background: #fff; }
.fs-naechste ol { list-style: none; display: grid; gap: 4px; margin: 0; padding: 0; }
.fs-naechste li { display: flex; align-items: center; gap: 12px; min-height: 36px; color: var(--text); }
.fs-naechste li.laeuft { color: var(--tinte); font-weight: 500; }
.fs-naechste-nr { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--flaeche-2); font-size: 0.75rem; font-weight: 600; color: var(--leise); }
.fs-naechste li.laeuft .fs-naechste-nr { background: var(--akzent-hell); color: var(--akzent-text); }
.chip-laeuft { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 22px; margin-left: auto; padding: 0 8px; border-radius: var(--r-s); background: var(--akzent-hell); color: var(--akzent-text); font-size: 0.75rem; font-weight: 600; }
.chip-laeuft i { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--akzent); }
.chip-laeuft i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: puls 2.2s var(--ease) infinite; }

.fs-abschnitt-kopf { margin-bottom: 40px; }
.fs-abschnitt-kopf h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.fs-abschnitt-kopf p { margin: 0; color: var(--leise); }

/* Verlauf als Zeitleiste; Einträge erscheinen nacheinander, die Linie wächst mit */
.fs-log { list-style: none; margin: 0; padding: 0; }
.fs-log li { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 24px; padding: 0 0 36px; }
.fs-log li::before { content: ""; position: absolute; left: 131px; top: 14px; bottom: -6px; width: 1px; background: var(--linie-2); transform-origin: top; transition: transform 0.8s var(--ease) 0.15s; }
.fs-log li:last-child::before { display: none; }
.fs-log li > div { position: relative; padding-left: 32px; }
.fs-log li > div::before { content: ""; position: absolute; left: 0; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--akzent), 0 0 0 4px var(--flaeche); transition: transform 0.5s var(--ease); }
.fs-log li.neu > div::before { background: var(--akzent); }
.fs-log li.neu > div::after { content: ""; position: absolute; left: 0; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--akzent); animation: puls 2.2s var(--ease) infinite; }
.fs-log time { padding-top: 1px; font-size: 0.875rem; color: var(--leise); font-variant-numeric: tabular-nums; text-align: right; }
.fs-log h3 { margin: 0 0 4px; font-size: 1.0625rem; }
.fs-log p { margin: 0; }
.js [data-gestaffelt] > * { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), border-color 0.2s, box-shadow 0.2s; transition-delay: var(--verzug, 0s); }
.js [data-gestaffelt] > .sichtbar { opacity: 1; transform: none; }
.js .fs-log li:not(.sichtbar)::before { transform: scaleY(0); }
.js .fs-log li:not(.sichtbar) > div::before { transform: scale(0); }

/* Plan: Phasen mit Fortschrittsring, erledigte Phasen eingeklappt */
.fs-phasen { display: grid; gap: 12px; }
.fs-phase { border: 1px solid var(--linie); border-radius: var(--r-m); background: #fff; }
.fs-phase:hover { border-color: var(--linie-2); }
.fs-phase-aktuell, .fs-phase-aktuell:hover { border-color: #BFE0D4; box-shadow: 0 0 0 3px var(--akzent-hell); }
.fs-phase > summary { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 24px; list-style: none; cursor: pointer; border-radius: var(--r-m); }
.fs-phase > summary::-webkit-details-marker { display: none; }
.fs-ring { position: relative; display: grid; place-items: center; width: 40px; height: 40px; color: var(--marke); }
.fs-ring .fs-ring-kreis { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.fs-ring circle { fill: none; stroke-width: 3; }
.fs-ring-spur { stroke: var(--flaeche-2); }
.fs-ring-wert { stroke: var(--akzent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--anteil) * 100); transition: stroke-dashoffset 1.1s var(--ease) 0.25s; }
.js .fs-phase:not(.sichtbar) .fs-ring-wert { stroke-dashoffset: 100; opacity: 0; }
.fs-ring.leer .fs-ring-wert { display: none; }
.fs-ring b { font-size: 0.875rem; font-weight: 650; }
.fs-ring .icon { position: relative; width: 18px; height: 18px; stroke-width: 2.8; color: var(--akzent-text); }
.fs-phase-fertig .fs-ring-spur { stroke: var(--akzent-hell); }
.fs-phase-titel { display: grid; gap: 2px; min-width: 0; }
.fs-phase-name { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; color: var(--tinte); }
.fs-phase-text { font-size: 0.875rem; line-height: 1.45; color: var(--leise); }
.fs-phase-stand { display: flex; align-items: center; gap: 12px; }
.fs-phase-stand .chip-laeuft { margin-left: 0; }
.fs-erledigt { font-size: 0.8125rem; font-weight: 600; color: var(--akzent-text); }
.fs-zaehler { min-width: 2.6em; font-size: 0.875rem; color: var(--leise); text-align: right; }
.fs-pfeil { width: 8px; height: 8px; margin: 0 4px 4px 0; border-right: 2px solid var(--blass); border-bottom: 2px solid var(--blass); transform: rotate(45deg); transition: transform 0.3s var(--ease); }
.fs-phase[open] .fs-pfeil { transform: translateY(3px) rotate(-135deg); }
.fs-phase-inhalt { padding: 0 24px 22px 80px; }
.fs-schritte { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.fs-schritte li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: start; font-size: 0.9375rem; line-height: 1.45; }
.fs-marke { position: relative; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--linie-2); }
.fs-schritte .fertig .fs-marke { border-color: var(--akzent); background: var(--akzent); color: #fff; }
.fs-schritte .laeuft .fs-marke { border-color: var(--akzent); }
.fs-schritte .laeuft .fs-marke::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--akzent); }
.fs-schritte .laeuft .fs-marke::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--akzent); animation: puls 2.2s var(--ease) infinite; }
.fs-marke .icon { width: 12px; height: 12px; stroke-width: 3.2; }
.fs-schritte .offen .fs-schritt { color: var(--text); }
.fs-schritte .fertig .fs-schritt, .fs-schritte .laeuft .fs-schritt { color: var(--tinte); }
.fs-schritte .laeuft .fs-schritt { font-weight: 500; }
.fs-schritte time { font-size: 0.8125rem; color: var(--leise); }
.fs-laeuft-text { font-size: 0.8125rem; font-weight: 600; color: var(--akzent-text); }
.fs-warteliste { display: grid; gap: 20px; margin-top: 72px; padding: 32px 36px 36px; border-radius: var(--r-l); background: var(--flaeche); border: 1px solid var(--linie); }
.fs-warteliste .fs-klein { margin-bottom: 4px; font-size: 1.25rem; letter-spacing: -0.018em; }
.fs-warteliste p { margin: 0; color: var(--leise); }

@media (max-width: 760px) {
  .autopilot-stand { grid-template-columns: minmax(0, 1fr); margin-top: 64px; padding-top: 32px; }
  .fb-fuss { flex-direction: column; }
  .fb-fuss span + span::before { content: none; }
  .fs-naechste { padding: 16px; }
  .fs-log li { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 0 0 28px 28px; }
  .fs-log li::before { left: 4px; top: 14px; }
  .fs-log li > div { position: static; padding-left: 0; }
  .fs-log li > div::before, .fs-log li.neu > div::after { left: 0; top: 5px; }
  .fs-log time { text-align: left; }
  .fs-phase > summary { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; padding: 16px; }
  .fs-ring { width: 36px; height: 36px; }
  .fs-phase-text { display: none; }
  .fs-phase-stand { gap: 8px; }
  .fs-phase-stand .chip-laeuft, .fs-erledigt { display: none; }
  .fs-phase-aktuell .fs-phase-name::after { content: "In Arbeit"; display: block; margin-top: 2px; font-size: 0.75rem; font-weight: 600; color: var(--akzent-text); }
  .fs-phase-inhalt { padding: 0 16px 18px 64px; }
  .fs-warteliste { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
}

/* ---------- Karte der Startseite: Länder, Gemeindeflächen, Auswahl ---------- */
@keyframes land-rein { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes zahl-rein { from { opacity: 0; } to { opacity: 1; } }
@keyframes flaeche-rein { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: none; } }
@keyframes welle { from { stroke-width: 2; stroke-opacity: 0.8; } to { stroke-width: 26; stroke-opacity: 0; } }
@keyframes blatt-weg { to { transform: translateY(115%); opacity: 0.6; } }
@keyframes ausblenden { to { opacity: 0; transform: translateY(4px); } }

/* Erster Auftritt: Länder nacheinander, dann die Zahlen */
.dland.vor-auftritt .land, .dland.vor-auftritt .land-zahlen text { opacity: 0; }
.dland.auftritt .land { transform-box: fill-box; transform-origin: center; animation: land-rein 0.7s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.dland.auftritt .land-zahlen text { animation: zahl-rein 0.5s ease both; animation-delay: 0.35s; }

/* Herangezoomt: Nachbarland zeigt, dass ein Klick dorthin wechselt */
.dland.uebersicht.gezoomt .land:not(.gewaehlt) { cursor: pointer; }
.dland.uebersicht.gezoomt .land.nachbar-hover { fill: #E2EBE6; }

/* Gemeindeflächen. Die Kontur in der Flächenfarbe hält auch kleine Gemeinden sichtbar. */
.ort-flaeche { stroke-width: 1; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: fill 0.18s, stroke 0.18s, opacity 0.2s; }
.ort-steuer .ort-flaeche { fill: #2F6B5E; stroke: var(--marke); }
.ort-gast .ort-flaeche { fill: #7DB8A2; stroke: #3E8A70; }
.ort-keine .ort-flaeche { fill: #CBD5E1; stroke: var(--blass); }
.dland.hat-hover .ort:not(.hover):not(.aktiv) .ort-flaeche { opacity: 0.45; }
.ort.hover .ort-flaeche, .ort:focus-visible .ort-flaeche { fill: var(--akzent); stroke: var(--akzent-hover); stroke-width: 2; }
.ort.aktiv .ort-flaeche { fill: var(--akzent); stroke: var(--marke); stroke-width: 2; filter: drop-shadow(0 3px 6px rgba(18, 61, 54, 0.35)); }
.dland.mit-flaechen .ort-punkt { display: none; }
.dland.uebersicht.gezoomt .ort:not(.gedimmt) .ort-flaeche { pointer-events: visiblePainted; }
.ort.erscheint .ort-flaeche, .ort.erscheint .ort-punkt { transform-box: fill-box; transform-origin: center; animation: flaeche-rein 0.55s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes ring-rein { from { opacity: 0; transform: scale(1.8); } to { opacity: 1; transform: none; } }
.markierung .ziel-ring { fill: rgba(31, 138, 112, 0.08); stroke: var(--akzent); stroke-width: 2; vector-effect: non-scaling-stroke; pointer-events: none; transform-box: fill-box; transform-origin: center; animation: ring-rein 0.45s var(--ease) both; }
.markierung .welle { fill: none; stroke: var(--akzent); vector-effect: non-scaling-stroke; pointer-events: none; animation: welle 1.1s var(--ease) forwards; }

/* Tooltip: weich ein- und ausblenden, ohne quer über die Karte zu rutschen */
.karte-tooltip { opacity: 0; transform: translate(-50%, calc(-100% - 6px)) scale(0.97); transition: opacity 0.15s ease, transform 0.2s var(--ease); }
.karte-tooltip.an { opacity: 1; transform: translate(-50%, calc(-100% - 12px)); transition: opacity 0.15s ease, transform 0.2s var(--ease), left 0.14s var(--ease), top 0.14s var(--ease); }
.tt-zeile { display: flex; align-items: center; gap: 6px; }
.tt-zeile i { flex: none; width: 8px; height: 8px; border-radius: 2px; }
.tt-steuer i { background: #2F6B5E; }
.tt-gast i { background: #7DB8A2; }
.tt-keine i { background: #CBD5E1; }

/* Brotkrumen über der Karte: zurück zu Deutschland, gewähltes Land, Zahl der Orte */
.karte-pfad { position: absolute; z-index: 4; top: 0; left: 0; display: flex; align-items: center; height: 38px; padding: 0 12px 0 4px; border: 1px solid var(--linie-2); border-radius: var(--r); background: rgba(255, 255, 255, 0.96); box-shadow: var(--s-1); font-size: 0.8125rem; white-space: nowrap; animation: einrasten 0.3s var(--ease); }
.karte-pfad[hidden] { display: none; }
.kp-zurueck { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px; border: 0; border-radius: var(--r-s); background: none; color: var(--leise); font-weight: 500; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.kp-zurueck:hover { background: var(--flaeche-2); color: var(--tinte); }
.kp-zurueck .icon { width: 14px; height: 14px; transform: rotate(180deg); transition: transform 0.2s var(--ease); }
.kp-zurueck:hover .icon { transform: rotate(180deg) translateX(2px); }
.kp-land { margin-left: 4px; padding-left: 10px; border-left: 1px solid var(--linie); font-weight: 600; color: var(--tinte); }
.karte-pfad::after { content: attr(data-anzahl); margin-left: 8px; color: var(--leise); }

/* Legende folgt dem gewählten Land */
.karte-buehne .legende i { border-radius: 3px; }
.karte-buehne .l-steuer { background: #2F6B5E; }
.karte-buehne .l-gast { background: #7DB8A2; }
.karte-buehne .l-keine { background: #CBD5E1; }
.legende li { transition: opacity 0.2s; }
.legende li.leer { opacity: 0.4; }
.js .karte-buehne.im-land .legende { animation: einrasten 0.35s var(--ease) both; }

/* Ortsinfo: neuer Inhalt rastet weich ein, Schließen blendet aus */
.karte-info.wechsel { animation: einrasten 0.25s var(--ease); }
.karte-info.geht { animation: ausblenden 0.18s ease forwards; pointer-events: none; }

/* Liste der Orte im gewählten Land: nur auf dem Handy, dort trifft der Finger kleine Gemeinden schlecht */
.land-liste { display: none; }
@media (max-width: 760px) {
  .karte-pfad { top: 4px; left: 12px; }
  .karte-info { transition: transform 0.28s var(--ease); touch-action: pan-x; }
  .karte-info.zieht { transition: none; }
  .karte-info.geht { animation: blatt-weg 0.22s ease-in forwards; }
  .land-liste:not([hidden]) { display: block; margin: 16px var(--rand) 0; overflow: hidden; border: 1px solid var(--linie); border-radius: var(--r-m); background: #fff; animation: aufsteigen 0.5s var(--ease) both; }
  .ll-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px 12px; }
  .ll-titel { margin: 0; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; color: var(--tinte); }
  .ll-zahl { font-size: 0.8125rem; color: var(--leise); }
  .ll-suche { position: relative; display: block; margin: 0 12px 12px; }
  .ll-suche .icon { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--leise); pointer-events: none; }
  .ll-suche input { width: 100%; height: 44px; padding: 0 12px 0 40px; border: 1px solid var(--linie-2); border-radius: var(--r); background: var(--flaeche); font-size: 1rem; color: var(--tinte); -webkit-appearance: none; appearance: none; transition: border-color 0.15s, box-shadow 0.2s, background-color 0.15s; }
  .ll-suche input:focus { outline: none; border-color: var(--akzent); background: #fff; box-shadow: 0 0 0 4px rgba(31, 138, 112, 0.14); }
  .land-liste ul { list-style: none; margin: 0; padding: 4px 0; max-height: 312px; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--linie); -webkit-overflow-scrolling: touch; }
  .land-liste li { animation: aufsteigen 0.45s var(--ease) both; animation-delay: calc(0.15s + var(--i) * 25ms); }
  .land-liste li[hidden] { display: none; }
  .ll-ort { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 8px 16px; border: 0; background: none; text-align: left; font-size: 0.9375rem; color: var(--tinte); cursor: pointer; transition: background-color 0.15s; -webkit-tap-highlight-color: transparent; }
  .ll-ort:active { background: var(--flaeche-2); }
  .ll-ort[aria-pressed="true"] { background: var(--akzent-hell); font-weight: 600; }
  .ll-ort[aria-pressed="true"] small { color: var(--akzent-text); }
  .ll-ort i { width: 10px; height: 10px; border-radius: 3px; }
  .ll-ort.ort-steuer i { background: #2F6B5E; }
  .ll-ort.ort-gast i { background: #7DB8A2; }
  .ll-ort.ort-keine i { background: #CBD5E1; }
  .ll-ort span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ll-ort small { font-size: 0.8125rem; font-weight: 500; color: var(--leise); }
  .ll-leer { margin: 0; padding: 16px; font-size: 0.875rem; color: var(--leise); }
  .ll-leer[hidden] { display: none; }
}

/* Alle Gemeinden des gewählten Lands: feines Mosaik, Kurorte in Prüfung in hellem Gold */
.gem-land { display: none; }
.dland.gezoomt .gem-land.an { display: inline; animation: zahl-rein 0.45s ease both; }
.gem { fill: #E3EBE7; stroke: #fff; stroke-width: 0.7; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: fill 0.15s; cursor: pointer; }
.gem-kurort { fill: #F2E6C4; }
.gem.hover { fill: #CFDCD5; }
.gem-kurort.hover { fill: #EAD49A; }
.gem.aktiv { fill: #9FB3AA; stroke: var(--marke); stroke-width: 1.5; }
.gem-kurort.aktiv { fill: var(--gold); stroke: #86621A; stroke-width: 1.5; }
.dland.uebersicht.mit-gemeinden .land.gewaehlt { fill: #F1F5F3; }
.karte-buehne .l-pruefung { background: #F2E6C4; box-shadow: inset 0 0 0 1px #E2C982; }
.karte-buehne .l-offen { background: #E3EBE7; box-shadow: inset 0 0 0 1px #CBD8D1; }
.tt-pruefung i { background: var(--gold); }
.tt-offen i { background: #CBD8D1; }
@media (max-width: 760px) {
  .ll-zwischen { margin: 0; padding: 12px 16px 6px; border-top: 1px solid var(--linie); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; color: var(--leise); }
  .ll-weitere ul { border-top: 0; max-height: none; }
  .ll-weitere[hidden], .land-liste ul[hidden] { display: none; }
  .ll-gem.ll-pruefung i { background: #E9D49A; }
  .ll-gem.ll-offen i { background: #D5DED9; }
}

/* Ortsinfo für nicht erfasste Gemeinden: was hier gilt, getrennt nach Kurtaxe, Übernachtungsteuer und Airbnb */
.ki-regeln { display: grid; gap: 10px; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--linie); }
.kr { display: grid; grid-template-columns: 8px minmax(0, 1fr); column-gap: 10px; }
.kr::before { content: ""; grid-row: 1 / 3; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--blass); }
.kr-pruefung::before { background: var(--gold); }
.kr dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.01em; color: var(--leise); }
.kr dd { margin: 0; font-size: 0.875rem; line-height: 1.45; }
.kr dd strong { display: block; font-weight: 600; color: var(--tinte); }
.kr dd span { display: block; margin-top: 1px; font-size: 0.8125rem; color: var(--leise); }
.ki-rat { margin-top: 12px; font-size: 0.8125rem; color: var(--leise); }
.karte-info .ki-quelle { margin-top: 8px; }
@media (min-width: 761px) { .karte-info:has(.ki-regeln) { width: 300px; } }
@media (max-width: 760px) { .karte-info:has(.ki-regeln) { max-height: 70vh; overflow-y: auto; } }
