/* Einheitliches Gestaltungssystem. Wird zuletzt geladen und legt die gemeinsamen Maße fest.
   Kleine Bedienelemente: Radius 8 px. Flächen, Karten, Bilder: Radius 12 px.
   Schaltflächen und Eingabefelder: 48 px hoch. Antippbare Ziele: mindestens 44 px. */
:root { --radius-control: 3px; --radius-surface: 4px; --control-height: 54px; --field-border: #b8c8b7; }

/* Schaltflächen */
.button, .editorial-actions .button { min-height: var(--control-height); border-radius: var(--radius-control); }

/* Filter, Sprungmarken, Stichwörter und kleine Bedienflächen */
.topic-links a, .topic-filters button, .service-jumps a, .story-tags a, .suggestion-tags a,
.route-point, .arrival-controls button, .icon-button, .reserve-week button, .account-sections button,
.order-note, .report-author { border-radius: var(--radius-control); }
.topic-links a, .topic-filters button, .service-jumps a { font-weight: 760; }

/* Eingabefelder */
.community-card :is(select, input:not([type=checkbox]):not([type=radio]), textarea),
.hall-tools select, .stocking-filter select, .archive-controls :is(input, select) {
  min-height: var(--control-height); border-radius: var(--radius-control);
  border: 1px solid var(--field-border); background: var(--paper); font-size: 16px;
}

/* Flächen und Karten */
.hero, .community-card, .leaderboard, .fact-list, .water-card, .front-tile, .catch-card,
.feature-photo, .water-photo, .dark-strip, .water-intro, .map-panel, .arrival-panel, .order-card,
.summary-main, .featured-post, .archive-controls, .story-photo, .story-cover, .story-cover img,
.service-note, .app-tile, .confirm-dialog, .confirm-ticket, .map-zoom { border-radius: var(--radius-surface); }

/* Kartenüberschriften in Konto, App-Anleitung und Reservierung: eine Größe */
.community-card h2, .reservation-summary h2, .account-grid .community-card h2, .app-guide h2,
.reservation-layout h2, .reservation-lists h2 { font-size: clamp(31px, 4vw, 55px); }

/* Textlinks unter Formularen gut antippbar */
.account-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* Seitenüberschrift: auf allen Unterseiten gleich groß (Alkoven wie die übrigen Seiten) */
.water-title h1 { font-size: clamp(57px, 9vw, 124px); line-height: .91; letter-spacing: -.033em; }
@media (max-width: 740px) { .water-title h1 { font-size: clamp(57px, 13vw, 92px); } }

/* Abschnittsüberschriften: eine Größe für Startseite, Gewässer und Journal */
.front-heading h2, .editorial-section h2, .section-title h2 { font-size: clamp(40px, 6.4vw, 73px); }
@media (max-width: 740px) { .front-heading h2, .section-title h2, .editorial-section h2 { font-size: clamp(40px, 10vw, 60px); } }

/* Antippbare Ziele und Lesbarkeit am Handy */
.hero .button { min-height: var(--control-height); }
.front-heading .text-link { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 740px) {
  .route-point { font-size: 14.5px; }
  .route-point span { font-size: 12px; }
}
@media (max-width: 380px) { .route-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Stichwörter, Fußzeile und Hinweisleiste: Tippziele mindestens 44 px hoch */
.story-tags a, .suggestion-tags a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-brand { min-height: 44px; }
.footer-links, [data-design-footer="3"] .footer-contact { gap: 0; }
.footer-links a { display: flex; align-items: center; min-height: 44px; }
.season-strip a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; }

/* Kleinste Schrift: 12 px */
.map-toolbar-meta, .doc-list small, .route-point span { font-size: 13px; }
.map-legend a[data-print-plan] { display: inline-flex; align-items: center; min-height: 44px; }

/* Ersatzschriften mit angeglichenen Maßen: Der Wechsel zur Webschrift verschiebt nichts. */
@font-face { font-family: "Instrument Ersatz"; src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Liberation Serif"); size-adjust: 82.2%; ascent-override: 120.4%; descent-override: 37.7%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Ersatz"; font-style: italic; src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT"), local("Liberation Serif Italic"); size-adjust: 86.9%; ascent-override: 113.9%; descent-override: 35.7%; line-gap-override: 0%; }
@font-face { font-family: "DM Ersatz"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); size-adjust: 101.6%; ascent-override: 97.6%; descent-override: 30.5%; line-gap-override: 0%; }
@font-face { font-family: "DM Ersatz"; font-weight: 600 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"); size-adjust: 101.5%; ascent-override: 97.7%; descent-override: 30.5%; line-gap-override: 0%; }
:root { --serif: Instrument, "Instrument Ersatz", Georgia, serif; --sans: DM, "DM Ersatz", system-ui, sans-serif; }

/* Installierte App: untere Navigationsleiste wie in iOS- und Android-Apps */
.app-tabbar { display: none; }
.is-app .app-tabbar {
  position: fixed; inset: auto 0 0; z-index: 20; display: grid; grid-template-columns: repeat(5, minmax(max-content, 1fr)); column-gap: 2px;
  background: var(--paper); border-top: 1px solid var(--line);
  padding: 4px max(6px, env(safe-area-inset-right, 0px)) calc(4px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px));
}
.is-app .app-tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; padding-inline: 5px; border-radius: var(--radius-control); color: var(--muted); font-size: 13px; font-weight: 760; text-align: center; line-height: 1.1; white-space: nowrap; }
.is-app .app-tabbar svg { width: 22px; height: 22px; }
.is-app .app-tabbar a[aria-current] { color: var(--ink); background: var(--sage); }
.is-app body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
.is-app .confirm-dialog { margin-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

/* Native App (Capacitor): sichere Ränder, Statusleiste, Hinweise im Vordergrund */
.is-native { --safe-top: var(--safe-area-inset-top, env(safe-area-inset-top, 0px)); --safe-bottom: var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)); }
.is-native body { padding-top: var(--safe-top); -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.is-native body :is(input, textarea, p, li, dd, h1, h2, h3) { -webkit-user-select: text; user-select: text; }
.is-native body::before { content: ""; position: fixed; inset: 0 0 auto; height: var(--safe-top); background: var(--bg); z-index: 40; }
.is-native .site-menu { padding-top: var(--safe-top); }
.is-native .app-tabbar { padding-bottom: calc(4px + var(--safe-bottom)); }
.is-native.is-app body { padding-bottom: calc(64px + var(--safe-bottom)); }
.app-notice { position: fixed; z-index: 45; left: 12px; right: 12px; top: calc(var(--safe-top, 0px) + 10px); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--radius-surface); background: var(--dark); color: var(--paper); font-weight: 650; box-shadow: 0 8px 24px #13372f40; }
.app-notice a { color: var(--accent); font-weight: 760; min-height: 44px; display: inline-flex; align-items: center; }

/* Datum/Uhrzeit: WebKit (iPhone, iPad, App) gibt diesen Feldern eine eigene Mindestbreite und zentriert den Wert.
   Sie verhalten sich hier wie alle anderen Eingabefelder: volle Breite, Text links. */
input[type="date"], input[type="time"], input[type="datetime-local"] {
  -webkit-appearance: none; appearance: none; display: block; box-sizing: border-box;
  width: 100%; min-width: 0; max-width: 100%; text-align: left;
}
/* Kalendersymbol rechts, gleiche Lage wie der Pfeil der Auswahlfelder, damit das Feld als antippbar erkennbar ist. */
.community-card .community-form input[type="date"] {
  padding-right: 40px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23193a33' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='2.5' y='3.5' width='13' height='12' rx='2'/%3E%3Cpath d='M2.5 7.5h13M6 2v3M12 2v3'/%3E%3C/svg%3E") no-repeat right 12px center;
}
input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0; width: 28px; height: 28px; margin: 0 -30px 0 0; cursor: pointer; }
input[type="date"]::-webkit-date-and-time-value, input[type="time"]::-webkit-date-and-time-value { text-align: left; margin: 0; }

/* Hinweisstreifen: Text, Link zu den Regeln, Schließen-Knopf (44 px) */
.season-strip .wrap { align-items: center; flex-wrap: nowrap; gap: 4px 12px; }
.season-strip p { margin: 0; flex: 1 1 auto; min-width: 0; max-inline-size: none; }
.season-strip a { flex: none; white-space: nowrap; }
.season-close { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; margin: -8px -12px -8px 0; padding: 0; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--ink); cursor: pointer; }
.season-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.season-close:hover { background: rgba(25,58,51,.08); }
@media (max-width: 520px) { .season-strip .wrap { flex-wrap: wrap; } .season-strip p { flex-basis: calc(100% - 56px); } .season-close { order: 2; margin-left: auto; margin-right: -8px; } .season-strip a { order: 3; } }

/* Wappen: ganz oben groß, beim Scrollen bleibt die Kopfzeile stehen und das Wappen wird kompakt (bisherige Größe) */
.site-head { position: sticky; top: var(--safe-top, 0px); z-index: 30; transition: box-shadow .25s ease; }
.site-head .head-inner { height: 156px; transition: height .3s cubic-bezier(.2,.7,.2,1); }
.site-head .brand-badge { width: 124px; height: 124px; padding: 6px; transition: width .3s cubic-bezier(.2,.7,.2,1), height .3s cubic-bezier(.2,.7,.2,1), padding .3s; }
.site-head .brand b { font-size: 46px; transition: font-size .3s cubic-bezier(.2,.7,.2,1); }
.site-head.is-compact { box-shadow: 0 1px 0 #d7ddcc, 0 8px 18px rgba(25,58,51,.07); }
.site-head.is-compact .head-inner { height: 80px; }
.site-head.is-compact .brand-badge { width: 52px; height: 52px; padding: 3px; }
.site-head.is-compact .brand b { font-size: 32px; }
html { scroll-padding-top: 92px; }
@media (max-width: 740px) {
  .site-head .head-inner { height: 124px; }
  .site-head .brand-badge { width: 96px; height: 96px; padding: 5px; }
  .site-head .brand b { font-size: 36px; }
  .site-head.is-compact .head-inner { height: 66px; }
  .site-head.is-compact .brand-badge { width: 44px; height: 44px; padding: 3px; }
  .site-head.is-compact .brand b { font-size: 28px; }
  html { scroll-padding-top: 74px; }
}
@media (prefers-reduced-motion: reduce) { .site-head, .site-head .head-inner, .site-head .brand-badge { transition: none; } }

/* ---------- Vollbild-Dialoge und Bildschirmtastatur (gilt für alle Dialoge) ----------
   iOS verkleinert bei offener Tastatur nur den visualViewport, nicht 100dvh.
   Deshalb: Höhe/Position aus --vv-height/--vv-top (app.js), deckender Hintergrund,
   Seite dahinter gesperrt, eigener Scrollbereich im Dialog. */
html.modal-open body { overflow: hidden; }

@media (max-width: 560px) {
  .join-dialog[open] { position: fixed; inset: auto 0 auto 0; top: var(--vv-top, 0px); height: var(--vv-height, 100dvh); max-height: none; margin: 0; overflow: auto; overscroll-behavior: contain; }
  .join-dialog::backdrop { background: var(--bg); }
  .join-dialog form { min-height: 100%; }
  .join-foot { position: sticky; bottom: 0; margin-top: auto; padding-block: 14px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1px solid var(--line); }
  .keyboard-open .join-foot { padding-bottom: 12px; }
  .keyboard-open .join-dialog form { padding-bottom: 0; }
}
.site-menu[open] { top: var(--vv-top, 0px); height: var(--vv-height, 100%); bottom: auto; }
.site-menu::backdrop { background: var(--dark); }

/* ---------- Uferjournal: Suche + Filtersymbol, Filter im Overlay ---------- */
.sr-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.archive-bar { display: flex; gap: 10px; align-items: stretch; margin-top: clamp(20px, 3vw, 36px); }
.archive-search { position: relative; flex: 1; min-width: 0; }
.archive-search-field { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--paper); cursor: text; }
.archive-search-field:focus-within { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.archive-search-field svg, .filter-open svg, .filter-close svg, .active-filters svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.archive-search-field input { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0; background: transparent; color: var(--ink); font: inherit; font-size: 17px; outline: none; }
.archive-search-field input::-webkit-search-cancel-button { cursor: pointer; }
.archive-search #post-suggestions { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); box-shadow: 0 18px 40px rgba(16,40,35,.18); }
.filter-open { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px; border: 1px solid var(--ink); border-radius: var(--radius-control); background: var(--ink); color: var(--bg); font: inherit; font-weight: 760; cursor: pointer; }
.filter-open b { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--accent); color: #193a33; font-size: 13px; }
.filter-open b[hidden] { display: none; }
@media (max-width: 560px) { .filter-open span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .filter-open { width: 58px; justify-content: center; padding: 0; } .filter-open b { position: absolute; top: -7px; right: -7px; } }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.active-filters:empty { display: none; }
.active-filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 10px 0 14px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--sage); color: var(--ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.active-filters button svg { width: 16px; height: 16px; }
.post-count { margin: clamp(24px, 3vw, 36px) 0 10px; }

.filter-sheet { width: min(460px, 100vw); max-width: none; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; border-radius: 0; background: var(--bg); color: var(--ink); }
.filter-sheet::backdrop { background: rgba(10,30,25,.5); }
.filter-sheet[open] { animation: sheet-side .28s cubic-bezier(.2,.7,.2,1); }
@keyframes sheet-side { from { transform: translateX(40px); opacity: 0; } }
.filter-sheet-inner { display: flex; flex-direction: column; height: 100%; }
.filter-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(20px + var(--safe-top, 0px)) 24px 16px; border-bottom: 1px solid var(--line); }
.filter-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: -.02em; }
.filter-close { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius-control); background: transparent; color: var(--ink); cursor: pointer; }
.filter-body { flex: 1; overflow: auto; overscroll-behavior: contain; display: grid; align-content: start; gap: 28px; padding: 24px; }
.filter-group { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; font-weight: 800; font-size: 15px; }
.filter-group legend { padding: 0; margin-bottom: 10px; }
.filter-group .topic-filters { margin: 0; gap: 8px; }
.filter-group .topic-filters button { min-height: 48px; padding: 0 16px; }
.filter-group select { width: 100%; height: 56px; padding: 0 14px; border: 1px solid var(--field-border); border-radius: var(--radius-control); background-color: var(--paper); color: var(--ink); font: inherit; font-weight: 500; font-size: 17px; }
.filter-foot { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 16px 24px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--bg); }
@media (max-width: 560px) {
  .filter-sheet { width: 100vw; height: auto; max-height: calc(var(--vv-height, 100dvh) - 40px); margin: auto 0 0; border-radius: 6px 6px 0 0; }
  .filter-sheet[open] { animation: sheet-up .3s cubic-bezier(.2,.7,.2,1); }
  .filter-sheet-inner { height: auto; max-height: inherit; }
  .filter-head { padding-top: 20px; }
}
@keyframes sheet-up { from { transform: translateY(60px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .filter-sheet[open] { animation: none; } }

/* ---------- Beitragszeilen: Hochformat-Vorschau füllt die Zeile, Texte gekürzt ---------- */
.clamp-2, .clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-2 { -webkit-line-clamp: 2; line-clamp: 2; }
.clamp-3 { -webkit-line-clamp: 3; line-clamp: 3; }
.post-rows .post-row > a { align-items: stretch; }
.post-rows .post-row-text { align-self: center; }
.post-rows .post-row-arrow { align-self: center; }
.post-rows .post-thumbnail { align-self: stretch; height: 100%; min-height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 30%; }
.post-rows .post-row > a:has(.post-thumbnail) { grid-template-columns: clamp(96px, 16vw, 200px) minmax(0,1fr) auto; }
.post-rows .post-row h2 { font-size: clamp(26px, 2.8vw, 42px); }
@media (max-width: 560px) {
  .post-rows .post-row > a:has(.post-thumbnail) { grid-template-columns: 104px minmax(0,1fr); gap: 16px; padding-block: 18px; }
  .post-rows .post-row-arrow { display: none; }
  .post-rows .post-thumbnail { min-height: 138px; }
  .post-rows .post-row h2 { font-size: 26px; }
  .post-rows .post-row p { font-size: 15.5px; line-height: 1.45; }
}

/* ---------- Mehr Luft: Ränder, Hero, Kacheln ---------- */
@media (max-width: 760px) { .wrap { width: calc(100% - 40px); } }
@media (max-width: 380px) { .wrap { width: calc(100% - 32px); } }
.hero-content { margin: 0 clamp(24px, 5vw, 72px) clamp(32px, 6vw, 80px); }
.hero .button, .editorial-actions .button { min-height: 56px; padding-inline: 26px; }
.front-tiles { gap: clamp(14px, 1.8vw, 24px); }
.front-tile-body { padding: clamp(18px, 2vw, 26px); gap: 12px; }
.icon-button, .list-icon { min-width: 48px; min-height: 48px; }

/* ---------- Startseite: Aktuelles — groß oben, daneben/darunter Einträge mit Foto links ---------- */
body[data-design-news] .front-tiles { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-auto-rows: auto; gap: clamp(16px, 2vw, 28px); }
body[data-design-news] .front-tile { border: 0; border-radius: var(--radius-surface); background: transparent; }
body[data-design-news] .front-tile:first-child { grid-row: span 3; background: var(--dark); color: var(--paper); }
body[data-design-news] .front-tile:first-child .front-tile-image { aspect-ratio: 4/3; }
body[data-design-news] .front-tile:first-child .front-tile-body { padding: clamp(22px, 2.6vw, 36px); gap: 14px; }
body[data-design-news] .front-tile:first-child h3 { font-size: clamp(32px, 3.6vw, 54px); }
body[data-design-news] .front-tile:not(:first-child) { border-top: 1px solid var(--line); border-radius: 0; padding-top: clamp(16px, 2vw, 28px); }
body[data-design-news] .front-tile:nth-child(2) { border-top: 0; padding-top: 0; }
body[data-design-news] .front-tile:not(:first-child) > a { display: grid; grid-template-columns: clamp(110px, 12vw, 170px) minmax(0, 1fr); gap: clamp(16px, 1.8vw, 24px); align-items: stretch; }
body[data-design-news] .front-tile:not(:first-child) > a:hover { background: transparent; }
body[data-design-news] .front-tile:not(:first-child) > a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
body[data-design-news] .front-tile:not(:first-child) .front-tile-image { display: block; aspect-ratio: 3/4; height: 100%; min-height: 140px; border-radius: var(--radius-control); }
body[data-design-news] .front-tile:not(:first-child) .front-tile-image.without-photo { display: grid; }
body[data-design-news] .front-tile:not(:first-child) .front-tile-body { padding: 4px 0; gap: 8px; justify-content: center; }
body[data-design-news] .front-tile:not(:first-child) h3 { font-size: clamp(26px, 2.2vw, 34px); line-height: 1.02; }
body[data-design-news] .front-tile:not(:first-child) p { -webkit-line-clamp: 2; line-clamp: 2; }
body[data-design-news] .front-tile:not(:first-child) .read-more { display: none; }
.front-tile-image img { object-position: 50% 35%; }
@media (max-width: 740px) {
  body[data-design-news] .front-tiles { grid-template-columns: 1fr; gap: 0; }
  body[data-design-news] .front-tile:first-child { grid-row: auto; margin-bottom: 24px; }
  body[data-design-news] .front-tile:nth-child(2) { border-top: 1px solid var(--line); padding-top: 18px; }
  body[data-design-news] .front-tile:not(:first-child) { padding-block: 18px; }
  body[data-design-news] .front-tile:not(:first-child) > a { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; }
  body[data-design-news] .front-tile:not(:first-child) .front-tile-image { min-height: 148px; }
  body[data-design-news] .front-tile:not(:first-child) h3 { font-size: 26px; }
  body[data-design-news] .front-tile p { font-size: 15.5px; line-height: 1.45; }
}

/* Frühere Meldungen mit kleinem Foto */
.older-post > a { grid-template-columns: 96px minmax(0, 1fr) auto !important; gap: 4px 20px !important; padding-block: 18px !important; align-items: center !important; }
.older-thumb { grid-row: 1 / span 2; width: 96px; height: 96px; object-fit: cover; object-position: 50% 35%; border-radius: var(--radius-control); background: var(--sage); }
.older-thumb-empty { display: grid; place-items: center; }
.older-thumb-empty svg { width: 32px; height: 32px; }
.older-meta { grid-column: 2; padding: 0 !important; font-size: 14.5px; }
.older-copy { grid-column: 2; }
.older-post > a > svg { grid-column: 3; grid-row: 1 / span 2; }
.older-copy strong { font: 26px/1.05 var(--serif); font-weight: 400; }
@media (max-width: 740px) {
  .older-post > a { grid-template-columns: 80px minmax(0, 1fr) !important; }
  .older-thumb { width: 80px; height: 80px; }
  .older-post > a > svg { display: none; }
  .older-copy strong { font-size: 23px; }
}

/* ---------- Angelzeiten als Monatsliste ---------- */
.schedule { list-style: none; margin: 4px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.schedule li { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--radius-control); background: var(--paper); border: 1px solid var(--line); }
.schedule span { font-size: 14.5px; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.schedule b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.schedule .is-off { background: transparent; border-style: dashed; }
.schedule .is-off b { color: var(--muted); font-style: italic; }
@media (max-width: 560px) {
  .schedule { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .schedule li { grid-template-columns: 1fr auto; align-items: baseline; padding: 14px 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
  .schedule span { font-size: 17px; color: var(--ink); letter-spacing: 0; font-weight: 600; }
  .schedule b { font-size: 26px; }
}

/* ---------- Faktenlisten/Preise: Bezeichnung + Zusatz, Werte zeilenweise ---------- */
.fact-list { padding: 0 clamp(16px, 2vw, 24px); }
.fact-list > div { padding: 16px 0; gap: 6px 24px; font-size: 16px; }
.fact-list dt { font-weight: 700; color: var(--ink); }
.fact-list dt small { display: block; margin-top: 2px; font-weight: 500; font-size: 14.5px; color: var(--muted); }
.fact-list dd { margin: 0; display: grid; gap: 2px; }
.fact-list dd span { display: block; }
.fact-list dd span:first-child { font-weight: 700; }
@media (max-width: 560px) {
  .fact-list > div { grid-template-columns: 1fr !important; gap: 6px; padding: 18px 0; }
  .fact-list dd span:first-child { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
}

/* ---------- Verkaufsstellen: einspaltig am Handy, gleich hoch, Kartenpin/Wappen ---------- */
ul.vendor-grid { list-style: none; padding: 0; margin: 16px 0; display: grid !important; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important; grid-auto-rows: 1fr; gap: 12px !important; }
ul.vendor-grid > li { display: flex; }
#ausgabe .vendor, .vendor { flex: 1; display: grid !important; grid-template-columns: 56px minmax(0, 1fr) auto !important; align-items: center; gap: 16px !important; padding: 18px !important; min-height: 104px; border: 1px solid var(--line) !important; border-radius: var(--radius-surface) !important; background: var(--paper) !important; color: var(--ink); text-decoration: none; transition: border-color .18s, background .18s; }
.vendor:hover { border-color: var(--ink) !important; }
.vendor > * { display: block; }
.vendor-mark { width: 56px; height: 56px; display: grid !important; place-items: center; border-radius: 50%; background: var(--dark); color: var(--accent); }
.vendor-mark svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vendor-mark img { width: 56px; height: 56px; object-fit: contain; }
.vendor.is-club { background: var(--dark) !important; border-color: var(--dark) !important; color: var(--paper); }
.vendor.is-club .vendor-mark { background: var(--paper); }
.vendor.is-club .vendor-text span, .vendor.is-club .vendor-text small { color: #d8e5d4; }
.vendor-text b { display: block; font-size: 18px; line-height: 1.25; }
.vendor-text span, .vendor-text small { display: block; margin-top: 3px; font-size: 15.5px; color: var(--muted); }
.vendor-text small { margin-top: 6px; font-weight: 600; }
.vendor-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; opacity: .7; }
@media (max-width: 560px) { ul.vendor-grid { grid-template-columns: 1fr !important; grid-auto-rows: auto; } }
.fact-list dd.is-list span:first-child { font-family: inherit; font-size: inherit; font-weight: 700; }
.fact-list dd.is-list span { font-weight: 700; }
.vendor-mark svg { stroke: var(--accent) !important; color: var(--accent); }
.vendor.is-club .vendor-mark svg { stroke: var(--dark) !important; }
.vendor .vendor-text b { color: var(--ink) !important; } .vendor.is-club .vendor-text b { color: var(--paper) !important; } .vendor .vendor-text { color: inherit !important; }

/* ---------- Bilder: einheitlich 3:2 quer, ohne Rand (Quellen generativ auf 3:2 erweitert) ---------- */
.story-cover { background: none !important; border-radius: var(--radius-surface); overflow: hidden; }
.story-cover img, .story-header .story-cover img { width: 100% !important; max-width: none !important; height: auto; aspect-ratio: 3/2 !important; max-height: none !important; object-fit: cover !important; background: none !important; margin: 0 !important; }
.story-photo { background: none !important; }
.story-photo img { aspect-ratio: 3/2; object-fit: cover; }
.catch-media, [data-design-hall] .catch-media { aspect-ratio: 3/2 !important; background: none !important; }
.catch-preview { width: 100%; max-width: 320px; max-height: none; aspect-ratio: 3/2; object-fit: cover; }
.gallery-grid a, [data-design-gallery] .gallery-grid a { padding: 0 !important; border: 0 !important; background: none !important; }
.gallery-grid img, .gallery-grid a:nth-child(n) img { aspect-ratio: 3/2 !important; object-fit: cover; }

/* ---------- Formensprache: Buttons/Chips rund, Bilder/Flächen eckig ---------- */
:root { --radius-pill: 999px; --radius-image: 2px; --radius-surface: 3px; }
.button, .editorial-actions .button, .filter-open, .filter-close, .menu-close, .menu-search-field, .menu-search-go, .menu-cta,
.topic-links a, .topic-filters button, .service-jumps a, .story-tags a, .suggestion-tags a, .active-filters button,
.segmented, .segmented button, .arrival-controls button, .reserve-week button, .account-sections button, .icon-button, .list-icon,
.archive-search-field, .lightbox-btn, .join-dialog .icon-button, .filter-foot .button, .join-sign-typed, .route-point { border-radius: var(--radius-pill) !important; }
img, .hero, .front-tile, .front-tile-image, .story-cover, .story-photo, .catch-media, .gallery-grid a, .post-thumbnail, .older-thumb,
.water-card, .fact-list, .vendor, .schedule li, .community-card, .order-card, .featured-post { border-radius: var(--radius-image) !important; }
img[src*="wappen"], .brand-badge, .brand-badge img, .vendor-mark, .vendor-mark img, .route-point span, .steps li span, .post-row-arrow { border-radius: 50% !important; }

/* Chip-Reihen: immer einzeilig, horizontal wischbar, ohne Kasten */
.topic-links, .service-jumps, .story-tags, .suggestion-tags, .active-filters, .archive-rows ~ .topic-links {
  display: flex; flex-wrap: nowrap !important; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px 0 6px !important; background: none !important; border: 0 !important;
  margin-inline: 0; mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}
:is(.topic-links, .service-jumps, .story-tags, .suggestion-tags, .active-filters)::-webkit-scrollbar { display: none; }
:is(.topic-links, .service-jumps, .story-tags, .suggestion-tags) > a, .active-filters > button { flex: none; scroll-snap-align: start; white-space: nowrap; min-height: 46px; padding-inline: 20px !important; }
.filter-sheet .topic-filters { flex-wrap: wrap !important; }

/* Menü-Button: runder Button, zwei versetzte Linien */
.menu-trigger { display: inline-flex; align-items: center; gap: 12px; min-width: 0 !important; height: 52px; padding: 0 8px 0 22px !important; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--paper); color: var(--ink); font: inherit; font-weight: 760; cursor: pointer; transition: background .2s, border-color .2s; }
.menu-trigger:hover { border-color: var(--ink); }
.menu-trigger-icon { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--dark); }
.menu-trigger-icon i { position: absolute; left: 11px; height: 2px; border-radius: 2px; background: var(--accent); transition: transform .3s cubic-bezier(.2,.7,.2,1), width .3s; }
.menu-trigger-icon i:first-child { width: 16px; transform: translateY(-4px); }
.menu-trigger-icon i:last-child { width: 10px; transform: translateY(4px); }
.menu-trigger:hover .menu-trigger-icon i:last-child { width: 16px; }
html.menu-active .menu-trigger-icon i:first-child { transform: rotate(45deg); width: 16px; }
html.menu-active .menu-trigger-icon i:last-child { transform: rotate(-45deg); width: 16px; }
@media (max-width: 560px) { .menu-trigger { padding: 0 7px 0 18px !important; height: 50px; } }

/* ---------- Banner (Promo): Foto, linksbündig, großzügig ---------- */
.dark-strip.promo { position: relative; isolation: isolate; overflow: hidden; display: flex !important; flex-direction: column; align-items: flex-start !important; justify-content: flex-end; min-height: clamp(360px, 42vw, 520px); margin-block: clamp(48px, 7vw, 104px); padding: clamp(28px, 5vw, 72px) !important; border-radius: var(--radius-image) !important; background: var(--dark) var(--promo-img) center / cover no-repeat !important; color: var(--paper); text-align: left !important; }
.dark-strip.promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,32,27,.92) 0%, rgba(10,32,27,.72) 45%, rgba(10,32,27,.15) 100%), linear-gradient(0deg, rgba(10,32,27,.6), transparent 60%); }
.promo-text { display: grid; justify-items: start; gap: 14px; max-width: 34rem; text-align: left; }
.promo-kicker { margin: 0; font-size: 14.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.dark-strip.promo h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5.6vw, 76px); line-height: .95; letter-spacing: -.02em; text-align: left; }
.dark-strip.promo p { margin: 0; color: #e4eee0; font-size: 18px; line-height: 1.5; }
.promo-stat { display: flex; align-items: baseline; gap: 14px; padding-top: 6px; }
.promo-stat b { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--accent); }
.promo-stat span { font-size: 15.5px; color: #d8e5d4; }
.dark-strip.promo .button { margin-top: 10px; width: auto !important; min-height: 56px; padding-inline: 28px; }
@media (max-width: 560px) { .dark-strip.promo { min-height: 440px; } .dark-strip.promo::before { background: linear-gradient(0deg, rgba(10,32,27,.95) 0%, rgba(10,32,27,.75) 50%, rgba(10,32,27,.2) 100%); } }
.dark-strip.promo :is(p, h3, .promo-text) { text-align: left !important; }

/* ---------- Fakten-Karten (Gewässer): hell, Icon, groß ---------- */
.fact-cards { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.fact-cards li { display: grid; align-content: start; gap: 6px; padding: 22px; border-radius: var(--radius-image); background: var(--sage); color: var(--ink); }
.fact-card-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 50%; background: var(--paper); }
.fact-card-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fact-cards li:first-child { background: var(--accent); }
.fact-card-label { font-size: 14.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fact-cards li:first-child .fact-card-label { color: #3e5a2c; }
.fact-card-value { font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); line-height: 1.05; letter-spacing: -.01em; }
.fact-card-note { font-size: 16px; font-weight: 600; color: var(--ink); }
.water-overview .editorial-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 560px) { .fact-cards { grid-template-columns: 1fr; } .fact-cards li { grid-template-columns: 48px 1fr; column-gap: 16px; padding: 18px; } .fact-card-icon { grid-row: span 3; margin: 0; } .water-overview .editorial-actions .button { flex: 1 1 100%; } }

/* ---------- Aufklapp-Bereiche: eigene Karten, luftig ---------- */
.water-overview { display: grid; gap: clamp(28px, 4vw, 48px); }
.water-overview .editorial-actions { margin: 4px 0 0; }
.water-blocks, .editorial-wrap details:not(.older-detail) { display: grid; gap: 10px; }
details:not(.older-detail):not(.order-card details) { border: 0 !important; border-radius: var(--radius-image); background: var(--paper); margin-bottom: 10px; }
details:not(.older-detail) > summary { min-height: 76px; padding: 18px 20px 18px 24px !important; gap: 16px; align-items: center; }
details:not(.older-detail) > summary strong { font-size: 18px; line-height: 1.3; }
details:not(.older-detail) > summary svg { flex: none; width: 44px !important; height: 44px !important; padding: 12px; border-radius: 50%; background: var(--sage); stroke-width: 2; transition: transform .25s, background .25s; }
details[open]:not(.older-detail) > summary svg { transform: rotate(45deg); background: var(--accent); }
details:not(.older-detail) .details-inner { padding: 0 24px 26px !important; font-size: 17px; line-height: 1.6; }
.doc-list a, .editorial-wrap .doc-link { min-height: 64px; }
.site-head .brand b { white-space: nowrap; }
@media (max-width: 560px) {
  .site-head .brand-badge { width: 88px; height: 88px; }
  .site-head .brand b { font-size: 31px; }
  .menu-trigger-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .menu-trigger { width: 54px; height: 54px; padding: 0 !important; justify-content: center; border: 0; background: transparent; }
  .menu-trigger-icon { width: 52px; height: 52px; }
  .menu-trigger-icon i { left: 16px; }
}

/* =====================================================================
   GESTALTUNGSSYSTEM (gilt für Website und App, überschreibt Altes)
   Abstände: 8er-Raster, Abschnitte oben = unten.
   Farben: Flächen statt Linien. --sage Karten, --accent Chips/Akzente,
   --dark nur für Banner/Hauptaktionen. Buttons rund + gefüllt, Bilder eckig.
   ===================================================================== */
:root {
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s6: 48px; --s8: 64px; --s12: 96px;
  --section: clamp(var(--s8), 9vw, 128px);
  --sage-strong: #cfdcc6;
}
/* Abschnittsrhythmus: identisch oben/unten */
#front-posts, #front-archive, #front-waters, .front-archive, .home-feature, .editorial-section, .home-community, .topic-links,
.editorial-wrap > section, .water-overview, .dark-strip.promo { margin-top: var(--section) !important; margin-bottom: 0 !important; }
main > :last-child, .editorial-wrap > :last-child { margin-bottom: var(--section) !important; }
.topic-links { margin-top: var(--s6) !important; }
.front-archive .front-heading, .editorial-section > h2, .editorial-head { margin-bottom: var(--s4) !important; }

/* Chips: gefüllt in Lime, ohne Rahmen */
:is(.topic-links, .service-jumps, .story-tags, .suggestion-tags) > a { background: var(--accent) !important; border: 0 !important; color: #193a33 !important; font-weight: 760; }
:is(.topic-links, .service-jumps, .story-tags, .suggestion-tags) > a:hover { background: var(--dark) !important; color: var(--accent) !important; text-decoration: none; }
.topic-filters button { border: 0 !important; background: var(--sage) !important; }
.topic-filters button[aria-pressed=true] { background: var(--dark) !important; color: var(--accent) !important; }

/* Buttons: gefüllt, klare Kontraste */
.button-light { background: var(--sage) !important; border-color: transparent !important; color: var(--ink) !important; }
.button-light:hover { background: var(--sage-strong) !important; }
.button-dark { background: var(--dark) !important; color: var(--paper) !important; }
.button-lime { background: var(--accent) !important; color: #193a33 !important; border-color: transparent !important; }

/* Flächen statt Linien */
.post-rows .post-row, .older-post { border-color: rgba(25,58,51,.12) !important; }
.archive-search-field, .filter-group select { background: var(--paper); border-color: transparent !important; box-shadow: inset 0 0 0 1px rgba(25,58,51,.14); }
.vendor { background: var(--sage) !important; border-color: transparent !important; }
.vendor.is-club { background: var(--dark) !important; }
.fact-list { background: var(--sage) !important; border: 0 !important; }
details:not(.older-detail) { background: var(--sage) !important; }
details:not(.older-detail) > summary svg { background: var(--paper) !important; }
.schedule li { background: var(--sage); border: 0; }
.schedule .is-off { background: transparent; box-shadow: inset 0 0 0 1px rgba(25,58,51,.2); }
/* Rhythmus Startseite: jeder Block gleicher Abstand */
.front-journal, .quicklinks, #view-start .wrap > * + * { margin-top: var(--section) !important; margin-bottom: 0 !important; }
.front-journal .front-heading, .front-heading { margin-bottom: var(--s4) !important; }
.front-journal .topic-links { margin-top: var(--s6) !important; }
/* Gewässerkarten gefüllt */
.water-card { background: var(--sage) !important; border: 0 !important; padding: var(--s3) !important; }
.water-card:hover { background: var(--sage-strong) !important; }
.waters-grid { gap: var(--s2) !important; }
.water-card .quick-icon { background: var(--paper) !important; }
/* Schnelllinks als gefüllte Karten */
.quicklinks a { background: var(--sage); border: 0 !important; border-radius: var(--radius-image); padding: var(--s3) !important; margin-bottom: var(--s1); }
.quicklinks .quick-icon { background: var(--paper) !important; }
/* Frühere Meldungen: dezenter, Foto über die volle Eintragshöhe */
.older-post > a { grid-template-columns: 88px minmax(0, 1fr) auto !important; align-items: stretch !important; padding-block: var(--s2) !important; column-gap: var(--s2) !important; }
.older-thumb { grid-row: 1 / span 2; width: 100%; height: 100%; min-height: 96px; object-fit: cover; }
.older-meta { align-self: end; font-size: 13.5px; }
.older-copy { align-self: start; gap: 2px !important; }
.older-copy strong { font-size: 21px !important; line-height: 1.1; }
.older-intro { font-size: 15px !important; }
.older-post > a > svg { align-self: center; }
@media (max-width: 740px) { .older-post > a { grid-template-columns: 76px minmax(0, 1fr) !important; } .older-copy strong { font-size: 20px !important; } }

/* Banner v2: Foto separat, helle Fläche, kein Text auf dem Bild */
.dark-strip.promo { display: grid !important; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch !important; gap: 0; min-height: 0; padding: 0 !important; background: var(--sage) !important; color: var(--ink); }
.dark-strip.promo::before { display: none; }
.promo-media { margin: 0; min-height: 100%; }
.promo-media img { display: block; width: 100%; height: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 0 !important; }
.dark-strip.promo .promo-text { align-content: center; padding: clamp(28px, 4.5vw, 64px); gap: var(--s2); max-width: none; }
.promo-kicker { color: #4a6b34; }
.dark-strip.promo h3 { color: var(--ink); }
.dark-strip.promo p { color: var(--muted); }
.promo-stat { display: grid; grid-template-columns: auto; gap: 4px; padding: var(--s2) 0 0; border-top: 1px solid rgba(25,58,51,.15); width: 100%; }
.promo-stat b { color: var(--ink); }
.promo-stat span { display: grid; gap: 2px; color: var(--muted); font-size: 15.5px; }
.promo-stat span strong { color: var(--ink); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.dark-strip.promo .button-lime { background: var(--dark) !important; color: var(--accent) !important; }
@media (max-width: 740px) { .dark-strip.promo { grid-template-columns: 1fr; } .promo-media img { aspect-ratio: 3/2; height: auto; } }
@media (min-width: 741px) { .promo-media { position: relative; min-height: 380px; } .promo-media img { position: absolute; inset: 0; aspect-ratio: auto; } }
.dark-strip.promo > .promo-media { width: 100%; grid-column: 1; grid-row: 1; }
.dark-strip.promo > .promo-text { grid-column: 2; grid-row: 1; }
@media (max-width: 740px) { .dark-strip.promo > .promo-text { grid-column: 1; grid-row: 2; } }

/* Schnellzugriff: Karten — erste volle Breite, zwei halbe darunter */
.quicklinks { display: grid !important; grid-template-columns: 1fr 1fr; gap: var(--s2) !important; border: 0 !important; }
.quicklinks a { position: relative; display: grid !important; grid-template-columns: 1fr !important; align-content: start; gap: var(--s2); min-height: 0; margin: 0 !important; padding: var(--s3) !important; border: 0 !important; border-radius: var(--radius-image) !important; background: var(--sage) !important; color: var(--ink); }
.quicklinks a:first-child { grid-column: 1 / -1; grid-template-columns: auto minmax(0,1fr) auto !important; align-items: center; background: var(--accent) !important; }
.quicklinks a:hover { background: var(--sage-strong) !important; }
.quicklinks a:first-child:hover { background: #d3e46e !important; }
.quicklinks .quick-icon { display: grid !important; place-items: center; width: 52px; height: 52px; border-radius: 50% !important; background: var(--paper) !important; }
.quicklinks .quick-icon svg { width: 24px; height: 24px; }
.quicklinks a > span:not(.quick-icon) { display: grid; gap: 4px; min-width: 0; }
.quicklinks strong { font-size: 18px !important; line-height: 1.2; }
.quicklinks small { font-size: 14.5px !important; line-height: 1.35; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 !important; }
.quicklinks a:not(:first-child) .quick-arrow { position: absolute; top: var(--s3); right: var(--s3); }
.quicklinks .quick-arrow { width: 20px; height: 20px; }

/* Keine zweizeiligen Buttons */
.button, .menu-cta, .filter-open, .active-filters button, :is(.topic-links, .service-jumps, .story-tags) > a { white-space: nowrap; }
.button { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
/* Fokusrahmen nur bei Tastaturbedienung, nie beim Öffnen per Tippen */
:focus:not(:focus-visible) { outline: none !important; }
.site-menu:focus, .site-menu:focus-visible { outline: none; }
/* Menü-CTA: dezenter, einzeilig */
.menu-cta { min-height: 60px !important; padding: 0 22px !important; gap: 14px !important; }
.menu-cta b { font-family: var(--sans) !important; font-size: 18px !important; font-weight: 760 !important; letter-spacing: 0 !important; }
.menu-cta small { display: none; }
.menu-cta svg { width: 22px; height: 22px; }

/* ---------- Suchvorschau: hellgrüne Fläche am Suchfeld, gruppiert, mit Tags ---------- */
.menu-search-field input:focus-visible, .archive-search-field input:focus-visible { outline: none; }
.menu-search-field:focus-within { box-shadow: 0 0 0 2px var(--accent); }
:is(#menu-suggestions, #post-suggestions) { margin-top: 8px; padding: 8px !important; border: 0 !important; border-radius: 24px !important; background: var(--sage) !important; color: var(--ink); box-shadow: 0 18px 40px rgba(10,30,25,.22); max-height: min(60vh, 520px); overflow: auto; overscroll-behavior: contain; }
.suggestion-group { margin: 10px 14px 4px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.suggestion-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 18px; color: var(--ink); text-decoration: none; }
.suggestion-row:hover, .suggestion-row:focus-visible { background: var(--paper); outline: none; }
.suggestion-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); }
.suggestion-row:hover .suggestion-icon, .suggestion-row:focus-visible .suggestion-icon { background: var(--accent); }
.suggestion-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.suggestion-text { display: grid; gap: 4px; min-width: 0; }
.suggestion-text b { font-size: 16.5px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.suggestion-text mark { background: var(--accent); color: inherit; border-radius: 3px; padding: 0 2px; }
.suggestion-text small { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggestion-tag { flex: none; padding: 2px 9px; border-radius: 999px; background: var(--dark); color: var(--accent); font-weight: 700; font-size: 12.5px; }
.suggestion-row > svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.suggestion-all { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 4px 4px; padding: 14px 18px; border-radius: 999px; background: var(--dark); color: var(--accent); font-weight: 760; text-decoration: none; }
.suggestion-all svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.suggestion-empty { margin: 14px; color: var(--muted); }
.suggestion-text mark { padding: 0; border-radius: 2px; }
.menu-search-field input, #menu-query { border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }
input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.site-menu input:focus-visible, .site-menu .menu-search-field input { outline: none !important; }

/* ---------- Besatzchronik: Zeitleiste ---------- */
.stock-next { margin-top: var(--s6); padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-image); background: var(--accent); }
.stock-next h2 { margin: 6px 0 var(--s3); font-size: clamp(30px, 4vw, 48px); }
.stock-next .stock-timeline::before { display: none; }
.stock-months { margin-top: var(--section); }
.stock-months h2, .stock-year h2 { margin: 0 0 var(--s4); font-size: clamp(30px, 4vw, 48px); }
.month-bars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 180px; }
.month-bars li { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 8px; text-align: center; }
.month-bar { position: relative; align-self: end; height: max(var(--h), 6px); border-radius: 3px 3px 0 0; background: var(--dark); }
.month-bars li.is-empty .month-bar { background: var(--sage); }
.month-bar b { position: absolute; top: -24px; left: 0; right: 0; font-size: 14px; color: var(--ink); }
.month-bars small { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.stock-note { margin-top: var(--s3); color: var(--muted); max-width: 60ch; }
.stock-years { margin-top: var(--section); display: grid; gap: var(--section); }
.stock-timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.stock-timeline::before { content: ""; position: absolute; left: 31px; top: 8px; bottom: 8px; width: 2px; background: var(--sage-strong); }
.stock-item { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--s2); align-items: start; }
.stock-date { position: relative; z-index: 1; display: grid; place-items: center; align-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--dark); color: var(--accent); line-height: 1; }
.stock-date b { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.stock-date small { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.stock-item.is-planned .stock-date { background: var(--paper); color: var(--ink); }
.stock-item details { margin: 0 !important; background: var(--sage) !important; }
.stock-item.is-planned details { background: var(--paper) !important; }
.stock-head { display: grid; gap: 6px; min-width: 0; }
.stock-label { font-size: 14px; font-weight: 700; color: var(--muted); }
.stock-label em { margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--dark); color: var(--accent); font-style: normal; font-size: 12.5px; }
.stock-head > b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.stock-waters { display: flex; flex-wrap: wrap; gap: 6px; }
.stock-waters span { padding: 3px 10px; border-radius: 999px; background: var(--paper); font-size: 13.5px; font-weight: 700; }
.stock-detail { display: grid; gap: var(--s3); }
.stock-detail p { margin: 0 0 10px; }
.stock-summary { color: var(--muted); }
.stock-photo { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
@media (min-width: 900px) { .stock-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; } }
@media (max-width: 560px) { .stock-item { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; } .stock-date { width: 52px; height: 52px; } .stock-date b { font-size: 20px; } .stock-timeline::before { left: 25px; } .stock-head > b { font-size: 22px; } .month-bars { gap: 3px; height: 150px; } .month-bars small { font-size: 11px; } }

.stock-detail { padding: 0 24px 24px; }
.stock-label em { display: table; margin: 6px 0 0; }
.stock-date.is-month small { font-size: 14px; margin: 0; }

/* ---------- Nie breiter als der Bildschirm ---------- */
html, body { max-width: 100%; overflow-x: clip; }
.story-content > *, .story-header > *, .water-overview > *, .editorial-wrap > *, main *:where(div, section, aside, article) { min-width: 0; }
:is(.topic-links, .service-jumps, .story-tags, .suggestion-tags, .active-filters) { max-width: 100%; }
img, video, svg, table { max-width: 100%; }

/* ---------- Foto einreichen ---------- */
.share-banner { display: grid; gap: var(--s3); align-items: center; margin-top: var(--section); padding: clamp(28px, 4.5vw, 56px); border-radius: var(--radius-image); background: var(--accent); }
.share-banner h2 { margin: 6px 0 10px; font-size: clamp(32px, 4vw, 52px); line-height: 1; }
.share-banner p { margin: 0; max-width: 52ch; }
@media (min-width: 900px) { .share-banner { grid-template-columns: minmax(0, 1fr) auto; } }
.share-body { display: grid; gap: var(--s3); }
.share-kind { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; border: 0; }
.share-kind .join-option span { justify-content: center; border-radius: 999px; min-height: 50px; }
.share-drop { position: relative; display: grid; place-items: center; aspect-ratio: 3/2; border-radius: var(--radius-image); background: var(--sage); cursor: pointer; overflow: hidden; }
.share-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.share-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.share-drop-text { display: grid; justify-items: center; gap: 6px; text-align: center; pointer-events: none; }
.share-drop-text svg { width: 52px; height: 52px; padding: 14px; border-radius: 50%; background: var(--paper); fill: none; stroke: var(--ink); stroke-width: 2; }
.share-drop-text small { color: var(--muted); }
.share-drop.has-photo .share-drop-text { display: none; }
.share-dialog textarea { width: 100%; min-height: 96px; padding: 12px; border: 1px solid var(--field-border); border-radius: var(--radius-control); background: var(--paper); font: inherit; font-size: 16px; color: var(--ink); }
.share-dialog .join-done { display: grid; gap: 14px; padding: clamp(18px, 4vw, 32px); }
.share-dialog .join-done[hidden] { display: none; }
.join-step :is(input, textarea, select) { font-weight: 500 !important; }

/* ---------- App-Seite: Stores + Schritt-Zeitleiste ---------- */
.app-stores { display: grid; gap: var(--s4); margin-top: var(--s6); padding: clamp(28px, 4.5vw, 56px); border-radius: var(--radius-image); background: var(--accent); }
.app-stores h2 { margin: 6px 0 10px; font-size: clamp(34px, 4.4vw, 56px); line-height: 1; }
.app-stores p { margin: 0; max-width: 52ch; }
.app-store-list { display: grid; gap: var(--s2); }
.app-store { display: grid; gap: var(--s2); }
.store-button { display: inline-flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 28px 10px 18px; border-radius: 999px; background: var(--dark); color: var(--paper); text-decoration: none; }
.store-button svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.6; }
.store-button span { display: grid; line-height: 1.1; }
.store-button small { font-size: 12.5px; opacity: .8; }
.store-button b { font-size: 21px; font-weight: 760; }
.store-qr { display: none; margin: 0; }
@media (min-width: 900px) {
  .app-stores { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .app-store-list { grid-template-columns: repeat(2, auto); gap: var(--s4); }
  .store-qr { display: grid; justify-items: start; gap: 8px; }
  .store-qr img { width: 132px; height: 132px; padding: 10px; border-radius: var(--radius-image); background: #fff; }
  .store-qr figcaption { font-size: 13.5px; line-height: 1.35; color: #3e5a2c; }
}
.guide-steps { position: relative; list-style: none; margin: var(--section) 0 0; padding: 0; display: grid; gap: var(--s4); }
.guide-steps::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--sage-strong); }
.guide-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s3); }
.guide-num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--dark); color: var(--accent); font-family: var(--serif); font-size: 28px; }
.guide-body { padding: var(--s3); border-radius: var(--radius-image); background: var(--sage); }
.guide-body h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 38px); line-height: 1.05; }
.guide-body p { margin: 0 0 var(--s2); }
.guide-body .install-other { margin-top: var(--s2) !important; background: var(--paper) !important; }
@media (max-width: 560px) { .guide-step { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; } .guide-num { width: 44px; height: 44px; font-size: 22px; } .guide-steps::before { left: 21px; } .store-button { width: 100%; } }
#title-start { text-wrap: balance; } #title-start em { display: block; }
/* Textlinks: Unterstrich direkt am Text, Ausrichtung auf der Grundlinie der Überschrift */
.text-link { min-height: 0 !important; padding: 0; border-bottom: 0 !important; gap: 8px !important; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.text-link svg { flex: none; }
.front-heading { display: flex !important; flex-wrap: nowrap !important; justify-content: space-between; align-items: baseline !important; gap: var(--s2) !important; }
.front-heading .text-link { display: inline-flex; align-items: baseline; font-size: 15.5px !important; padding-block: 10px 0; }
.front-heading .text-link svg { align-self: center; width: 18px; height: 18px; }
@media (max-width: 359px) { .front-heading { flex-wrap: wrap !important; } }
@media (max-width: 560px) { .front-heading h2 { font-size: clamp(34px, 9.4vw, 44px) !important; } .front-heading .text-link { font-size: 14.5px !important; } }
.topic-form { display: grid; gap: 4px; margin-top: var(--s3); }
.topic-intro { margin: 0 0 8px; font-weight: 700; }
.topic-form .switch-label { padding: 12px 0; border-top: 1px solid rgba(25,58,51,.12); }
.topic-form .switch-label span { display: grid; gap: 2px; }
.topic-form .switch-label small { color: var(--muted); font-size: 14px; }

/* Einreich-Karte (Fang melden) */
.share-card { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: var(--s3); width: 100%; margin: var(--s4) 0 var(--s6); padding: var(--s3); border: 0; border-radius: var(--radius-image); background: var(--accent); color: #193a33; font: inherit; text-align: left; cursor: pointer; transition: transform .2s, background .2s; }
.share-card:hover { background: #d3e46e; }
.share-card:active { transform: scale(.99); }
.share-card-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--dark); }
.share-card-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.share-card-text { display: grid; gap: 4px; min-width: 0; }
.share-card-text small { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #4a6b34; }
.share-card-text b { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.02; }
.share-card-text > span { font-size: 15.5px; line-height: 1.45; }
.share-card-go { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--dark); }
.share-card-go svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.8; }
@media (max-width: 560px) { .share-card { grid-template-columns: 52px minmax(0, 1fr); } .share-card-icon { width: 52px; height: 52px; } .share-card-go { display: none; } }
.share-card .share-card-icon svg { width: 30px !important; height: 30px !important; stroke: var(--accent) !important; fill: none !important; }
.share-card .share-card-go svg { stroke: var(--accent) !important; }
@media (max-width: 560px) { .share-card .share-card-icon svg { width: 26px !important; height: 26px !important; } }
/* Menü: Suche abgesetzt */
.site-menu .menu-search { margin: var(--s2) 0 var(--s4) !important; }
.site-menu .menu-cta { margin-bottom: var(--s2); }

/* Meta-Zeile als Tag (wie Suchvorschau) statt Eyebrow */
.post-meta { display: flex !important; flex-wrap: wrap; align-items: center; gap: 6px 10px !important; }
.post-meta .post-category { display: inline-block; padding: 3px 11px; border-radius: 999px; background: var(--dark); color: var(--accent) !important; font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; line-height: 1.4; }
.post-meta .post-period { font-size: 14px; color: var(--muted); font-weight: 500; }
.front-tile:first-child .post-meta .post-category { background: var(--accent); color: #193a33 !important; }
.front-tile:first-child .post-meta .post-period { color: #d8e5d4 !important; }
.older-meta.post-meta { margin-bottom: 4px; }
/* Suchvorschau: „Alle Beiträge“ abgesetzt */
.suggestion-all { margin-top: var(--s2) !important; }
:is(#menu-suggestions, #post-suggestions) .suggestion-all { position: relative; }
:is(#menu-suggestions, #post-suggestions) .suggestion-all::before { content: ""; position: absolute; left: 12px; right: 12px; top: calc(-1 * var(--s1) - 1px); height: 1px; background: rgba(25,58,51,.15); }
.hero { min-height: 0 !important; padding-top: clamp(48px, 9vw, 120px); }
.hero-content { margin-top: 0 !important; }
#title-start { font-size: clamp(48px, 13vw, 112px) !important; line-height: .95; }
/* Gleichmäßiger Rhythmus in Textabschnitten: Listen/Karten, Text, Buttons */
.editorial-wrap :is(ul.vendor-grid, .fact-cards, .schedule, .fact-list, .waters-grid) { margin-block: var(--s4) !important; }
.editorial-wrap :is(ul.vendor-grid, .fact-cards, .fact-list) + p { margin-top: var(--s4); }
.editorial-wrap p + .editorial-actions, .editorial-wrap .editorial-actions { margin-top: var(--s4) !important; margin-bottom: 0; }
.editorial-wrap .editorial-actions + * { margin-top: var(--s6); }
.editorial-actions .button { white-space: nowrap; }
@media (max-width: 560px) { .editorial-actions .button { width: 100%; justify-content: space-between; } }
.fact-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* ---------- Preise nach Gebiet ---------- */
.price-intro { margin: 0 0 var(--s4); padding: var(--s2) var(--s3); border-radius: var(--radius-image); background: var(--accent); }
.price-groups { display: grid; gap: var(--s3); }
.price-group { border-radius: var(--radius-image); background: var(--sage); overflow: hidden; }
.price-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: var(--s3); background: var(--dark); color: var(--paper); }
.price-head h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 40px); line-height: 1; }
.price-head p { margin: 6px 0 0; color: #d8e5d4; font-size: 15px; }
.map-open { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; background: var(--accent); color: #193a33; font: inherit; font-weight: 760; cursor: pointer; }
.map-open svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.price-rows { list-style: none; margin: 0; padding: 0 var(--s3); }
.price-rows li { display: grid; gap: 10px; padding: var(--s3) 0; border-bottom: 1px solid rgba(25,58,51,.12); }
.price-rows li:last-child { border-bottom: 0; }
.price-name b { display: block; font-size: 18px; }
.price-name small { display: block; margin-top: 3px; color: var(--muted); font-size: 14.5px; line-height: 1.4; }
.price-values { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.price-values div { display: grid; gap: 2px; min-width: 120px; padding: 10px 14px; border-radius: var(--radius-image); background: var(--paper); }
.price-values dt { font-size: 13.5px; color: var(--muted); }
.price-values dd { margin: 0; font-family: var(--serif); font-size: 28px; line-height: 1.05; }
button.fact-link { padding: 0; border: 0; background: none; font: inherit; color: var(--ink); cursor: pointer; }
@media (min-width: 760px) { .price-rows li { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
@media (max-width: 420px) { .map-open span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .map-open { width: 46px; padding: 0; justify-content: center; } }
.plan-dialog { width: min(920px, calc(100vw - 24px)); max-width: none; padding: 0; border: 0; border-radius: var(--radius-image); background: var(--paper); color: var(--ink); }
.plan-dialog::backdrop { background: rgba(10,30,25,.6); }
.plan-inner header { display: flex; justify-content: space-between; align-items: center; padding: var(--s2) var(--s3); }
.plan-inner h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 30px; }
.plan-inner img { display: block; width: 100%; height: auto; }
.plan-inner footer { padding: var(--s2) var(--s3) var(--s3); }

/* Gruppenköpfe (Downloads, Aufklapp-Gruppen): dunkle Kopfzeile, eine linke Flucht für Kopf und Einträge */
.download-group { overflow: hidden; background: var(--sage) !important; }
.download-group > summary { min-height: 72px !important; padding: 14px var(--s3) !important; background: var(--dark); color: var(--paper); }
.download-group > summary .download-heading { margin: 0; color: var(--paper); font-size: clamp(26px, 3vw, 34px); }
.download-group > summary svg { background: var(--accent) !important; stroke: #193a33 !important; }
.download-group .doc-list { margin: 0; padding: 0; }
.download-group .doc-list li { border: 0 !important; border-top: 1px solid rgba(25,58,51,.12) !important; }
.download-group .doc-list li:first-child { border-top: 0 !important; }
.download-group .doc-list a { min-height: 60px; padding: 14px var(--s3) !important; gap: var(--s2); }
.download-group .doc-list a span { min-width: 0; }
.download-group .doc-list small { flex: none; }
.download-note { display: grid; gap: var(--s2); padding: var(--s3); background: var(--accent); }
.download-note p { margin: 0; }
.download-note .button { justify-self: start; }
/* Allgemein: Aufklapp-Inhalt in derselben Flucht wie die Kopfzeile */
details:not(.older-detail) > summary, details:not(.older-detail) .details-inner { padding-inline: var(--s3) !important; }
.list-more { margin-top: var(--s4); display: flex; justify-content: flex-start; }
.journal-more { margin-top: var(--s6); padding: var(--s3); border-radius: var(--radius-image); background: var(--sage); }
.journal-more-title { margin: 0 0 var(--s2); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.journal-more .topic-links { margin: 0 !important; mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.journal-more :is(.topic-links) > a { background: var(--paper) !important; }
.journal-more :is(.topic-links) > a:hover { background: var(--dark) !important; color: var(--accent) !important; }
.journal-more .list-more { margin-top: var(--s3); }

/* Einreich-Dialog: Umschalter, Upload-Feld, ruhiges Formular */
.share-switch { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 4px; border: 0; border-radius: 999px; background: var(--sage); }
.share-switch label { position: relative; display: block; cursor: pointer; }
.share-switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.share-switch span { display: grid; place-items: center; min-height: 48px; padding: 0 12px; border-radius: 999px; font-weight: 760; white-space: nowrap; color: var(--ink); transition: background .2s, color .2s; }
.share-switch input:checked + span { background: var(--dark); color: var(--accent); }
.share-switch input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.share-drop { aspect-ratio: 16/9 !important; border: 2px dashed rgba(25,58,51,.28); background: var(--paper) !important; }
.share-drop:hover { border-color: var(--ink); }
.share-drop.has-photo { border-style: solid; border-color: transparent; }
.share-drop-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 4px; border-radius: 50%; background: var(--dark); }
.share-drop-icon svg { width: 26px !important; height: 26px !important; padding: 0 !important; background: none !important; fill: none !important; stroke: var(--accent) !important; stroke-width: 1.7 !important; stroke-linecap: round; stroke-linejoin: round; }
.share-drop-text b { font-size: 17px; }
.share-drop-change { position: absolute; right: 10px; bottom: 10px; display: none; padding: 6px 12px; border-radius: 999px; background: var(--dark); color: var(--accent); font-size: 13.5px; font-weight: 700; pointer-events: none; }
.share-drop.has-photo .share-drop-change { display: block; }
.share-dialog .join-step { gap: var(--s2) !important; }
.share-dialog .share-fang { display: grid; gap: var(--s2); }
.share-dialog .share-fang[hidden] { display: none; }
.share-dialog .share-pair { grid-template-columns: 1fr 1fr !important; }
.share-dialog .join-step label:not(.join-check) { gap: 6px; font-size: 14.5px; }
.share-foot .join-next { width: 100%; justify-content: center; margin: 0 !important; }

/* Formularfelder: Pflicht-Hinweis, Regler, Fehler */
.share-form .field { display: grid; gap: 6px; }
.share-form .field > em, .share-form label > em, .share-form .field-label em { margin-left: 6px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); }
.share-form .fang-only { display: none; }
.share-form.is-fang .fang-only { display: inline; }
.share-form .field-label { font-weight: 700; font-size: 14.5px; }
.share-form .field-label small { font-weight: 500; color: var(--muted); }
.share-form select { width: 100%; min-height: 54px; padding: 0 40px 0 14px; border: 1px solid var(--field-border); border-radius: var(--radius-control); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23193a33' stroke-width='1.8'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; color: var(--ink); font: inherit; font-size: 16px; font-weight: 500; }
.slider-field { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 8px; }
.slider-value { text-align: center; font-family: var(--serif); font-size: 34px; line-height: 1; }
.slider-field .step { width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--sage); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.share-form input[type=range] { --fill: 0%; width: 100%; height: 28px; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; }
.share-form input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--dark) var(--fill), var(--sage-strong) var(--fill)); }
.share-form input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--sage-strong); }
.share-form input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--dark); }
.share-form input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--accent); border: 3px solid var(--dark); }
.share-form input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 3px solid var(--dark); }
.field.has-error :is(input:not([type=range]):not([type=checkbox]), select, textarea) { border-color: #a5381f !important; box-shadow: inset 0 0 0 1px #a5381f; }
.share-drop.has-error { border-color: #a5381f !important; }
.field.has-error .slider-value { color: #a5381f; }
.field-error { display: flex; align-items: center; gap: 6px; color: #a5381f; font-size: 14px; font-weight: 600; }
.field-error::before { content: "!"; display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #a5381f; color: #fff; font-size: 12px; font-weight: 800; }
.share-drop .field-error { position: absolute; left: 12px; bottom: 10px; }
.join-check.field { grid-template-columns: auto 1fr; display: grid; }
.join-check.field .field-error { grid-column: 1 / -1; }
.form-status.is-error { padding: 12px 14px; border-radius: var(--radius-control); background: #f6e2dc; color: #7c2a17; font-weight: 600; }
/* Einreich-Dialog: Senden-Button scrollt normal mit */
.share-dialog .join-foot { position: static !important; padding: var(--s3) 0 calc(var(--s3) + env(safe-area-inset-bottom, 0px)) !important; border-top: 0 !important; background: none !important; margin-top: var(--s2) !important; }
/* Fang-Karte mit sichtbarem Button */
.share-card { grid-template-columns: 64px minmax(0, 1fr) !important; }
.share-card-cta { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px; background: var(--dark); color: var(--accent); font-weight: 760; white-space: nowrap; }
.share-card-cta svg { width: 18px !important; height: 18px !important; fill: none; stroke: currentColor !important; stroke-width: 1.8; }
@media (max-width: 560px) { .share-card { grid-template-columns: 52px minmax(0, 1fr) !important; } }
/* Umschalter (Segment) immer über die volle Breite, gleich große Hälften */
.segmented { display: grid !important; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; padding: 4px; border-radius: 999px; }
.segmented button { width: 100%; min-height: 50px !important; white-space: nowrap; }
.hall-tools { display: block !important; }
.share-form input[type=range] { min-height: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.share-form .field-label em, .share-form .field-label small { margin-left: 6px; }
/* Keine Umrahmungen: Schonmonat nur über Schrift, Monatsliste mit feinen Trennlinien */
.schedule .is-off { box-shadow: none !important; border: 0 !important; background: transparent !important; }
@media (max-width: 560px) { .schedule li { border-bottom: 1px solid rgba(25,58,51,.12) !important; } .schedule li:last-child { border-bottom: 0 !important; } }
/* Keine Rahmen um Flächen – nur Füllungen (Eingabefelder ausgenommen) */
.vendor, #ausgabe .vendor, .community-card, .account-access, .arrival-panel, .arrival-details, .map-panel, .arrival-panel-map, .service-note, .water-intro, .brand-badge, .fact-list, .story-photo, .front-tile, .water-card, .order-card, .featured-post, .doc-list li, .install-other, .join-option span { border: 0 !important; box-shadow: none !important; }
.vendor, .service-note, .community-card, .arrival-panel, .arrival-details, .map-panel { background: var(--sage) !important; }
.button-glass { border: 0 !important; background: rgba(255,253,245,.16) !important; color: var(--paper) !important; backdrop-filter: blur(6px); }
.button-glass:hover { background: rgba(255,253,245,.26) !important; }
.join-option span { background: var(--sage) !important; }
.join-option input:checked + span { background: var(--dark) !important; color: var(--accent) !important; box-shadow: none !important; }

/* Querverweise als Karten (einheitlich) */
.link-cards { list-style: none; margin: var(--s6) 0 0; padding: 0; display: grid; gap: var(--s2); }
.link-cards a { display: grid; grid-template-columns: 52px minmax(0, 1fr) 20px; align-items: center; gap: var(--s2); padding: var(--s3); border-radius: var(--radius-image); background: var(--sage); color: var(--ink); text-decoration: none; }
.link-cards a:hover { background: var(--sage-strong); }
.link-cards .quick-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); }
.link-cards svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.link-cards b { display: block; font-size: 18px; }
.link-cards small { display: block; margin-top: 2px; color: var(--muted); font-size: 14.5px; }
@media (min-width: 760px) { .link-cards { grid-template-columns: 1fr 1fr; } }
/* Buttons in Aufklapp-Bereichen und Hinweisboxen: gefüllt dunkel, linksbündig */
.details-inner .button, .service-note .button, .community-card .button-light { background: var(--dark) !important; color: var(--paper) !important; justify-content: space-between; }
.details-inner .button { margin: var(--s2) 8px 0 0; }
.editorial-source { color: var(--muted); }

/* Gegliederte Regeltexte */
.details-inner .rule-sub { margin: var(--s3) 0 var(--s1); font-family: var(--sans); font-size: 16px; font-weight: 800; color: var(--ink); }
.details-inner .rule-sub:first-child { margin-top: 0; }
.details-inner .rule-sub small { margin-left: 6px; font-weight: 500; color: var(--muted); font-size: 14.5px; }
.rule-lead { font-weight: 600; }
.details-inner .check-list { list-style: none; margin: 0 0 var(--s2); padding: 0; display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 26px; line-height: 1.5; }
.check-list > li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: var(--dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23e0ee88' stroke-width='2'%3E%3Cpath d='m4.5 8 2.3 2.3 4.7-4.6'/%3E%3C/svg%3E") center / 16px no-repeat; }
.check-list.is-no > li::before { background: #a5381f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='m5 5 6 6m0-6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat; }
.details-inner .price-mini { list-style: none; margin: 0 0 var(--s2); padding: 0; display: grid; gap: 8px; }
.price-mini li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 14px; border-radius: var(--radius-image); background: var(--paper); }
.price-mini span { font-weight: 700; font-size: 15px; }
.price-mini b { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--serif); font-weight: 400; font-size: 26px; white-space: nowrap; }
.price-mini small { color: var(--muted); font-size: 13.5px; }
.details-inner .button { width: 100%; max-width: 420px; margin: var(--s2) 0 0; font-size: 15px; }
/* Querverweis-Karten: abgesetzt in Lime, Symbol auf Dunkelgrün */
.link-cards a { background: var(--accent) !important; color: #193a33; }
.link-cards a:hover { background: #d3e46e !important; }
.link-cards .quick-icon { background: var(--dark) !important; }
.link-cards .quick-icon svg { stroke: var(--accent) !important; }
.link-cards small { color: #3e5a2c !important; }
.link-cards a > svg { stroke: #193a33 !important; }
/* Trennung Kurzfakten ↔ Detailbereiche */
.detail-heading { margin: var(--s8) 0 var(--s3) !important; padding-top: var(--s4); border-top: 1px solid rgba(25,58,51,.18); font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.05; color: var(--ink); }
.water-overview { gap: 0 !important; }
.fact-cards { margin-bottom: 0 !important; }
.water-overview .editorial-actions { margin-top: var(--s3) !important; }
/* Datum als zweiter Tag (heller) */
.post-meta .post-date { display: inline-block; padding: 3px 11px; border-radius: 999px; background: var(--sage); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.front-tile:first-child .post-meta .post-date { background: rgba(255,253,245,.16); color: var(--paper) !important; }
.post-meta .post-period { display: none; }
/* Uferjournal-Box: dunkel, Chips umbrechen statt auslaufen */
.journal-more { background: var(--dark) !important; color: var(--paper); }
.journal-more-title { color: var(--accent) !important; }
.journal-more .topic-links { flex-wrap: wrap !important; overflow: visible !important; mask-image: none !important; -webkit-mask-image: none !important; padding: 0 !important; }
.journal-more .topic-links > a { background: rgba(255,253,245,.12) !important; color: var(--paper) !important; }
.journal-more .topic-links > a:hover { background: var(--accent) !important; color: #193a33 !important; }
.journal-more .list-more .button { background: var(--accent) !important; color: #193a33 !important; }

/* ---------- Layout-Härtung (Safari) + Footer neu, 20.11.2026 ---------- */
/* Startseite: Bild in den Zeilen nie breiter als seine Spalte (Safari rechnet aspect-ratio + height:100% in die Breite) */
body[data-design-news] .front-tile:not(:first-child) .front-tile-image { position: relative; width: 100%; height: auto; aspect-ratio: auto; align-self: stretch; overflow: hidden; }
body[data-design-news] .front-tile:not(:first-child) .front-tile-image :is(picture, img) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body[data-design-news] .front-tile:not(:first-child) .front-tile-image.without-photo svg { position: static; }
body[data-design-news] .front-tile:not(:first-child) > a:hover h3 { text-decoration: none; }
@media (hover: hover) { body[data-design-news] .front-tile:not(:first-child) > a:hover h3 { text-decoration: underline; } }
body[data-design-news] .front-tile .post-meta { flex-wrap: nowrap; }
/* Zwischenbreiten: Zeilenliste rechts wird zu schmal -> einspaltig */
@media (min-width: 741px) and (max-width: 1100px) {
  body[data-design-news] .front-tiles { grid-template-columns: 1fr; gap: 0; }
  body[data-design-news] .front-tile:first-child { grid-row: auto; margin-bottom: var(--s4); }
  body[data-design-news] .front-tile:nth-child(2) { border-top: 1px solid var(--line); padding-top: var(--s3); }
  body[data-design-news] .front-tile:not(:first-child) { padding-block: var(--s3); }
  body[data-design-news] .front-tile:not(:first-child) > a { grid-template-columns: 200px minmax(0, 1fr); gap: var(--s3); }
  body[data-design-news] .front-tile:not(:first-child) .front-tile-image { min-height: 150px; }
}
/* Promo-Karte (Wall of Fame) mobil: keine %-Mindesthöhe, sonst bläht Safari die Bildzeile auf */
@media (max-width: 740px) {
  .dark-strip.promo { grid-template-rows: auto auto; }
  .promo-media { min-height: 0 !important; height: auto; }
  .dark-strip.promo .promo-text { align-content: start; }
}
/* Chips in Boxen: eine Zeile, horizontal scrollbar, in der Box begrenzt (nicht auslaufend) */
.journal-more .topic-links { flex-wrap: nowrap !important; overflow-x: auto !important; overflow-y: hidden; margin: 0 !important; padding: 0 !important; mask-image: none !important; -webkit-mask-image: none !important; }

/* Footer: Lime-Fläche, zentriert, klare Gewichtung */
.footer { margin-top: var(--section) !important; background: var(--accent) !important; color: var(--dark); border: 0 !important; }
.footer .footer-inner { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; justify-items: center; text-align: center; gap: var(--s4); min-height: 0; padding-block: clamp(56px, 8vw, 104px) clamp(28px, 4vw, 40px); color: var(--dark); font-size: 17px; }
.footer .footer-brand { grid-column: auto !important; display: grid; justify-items: center; gap: var(--s2); min-height: 0; }
.footer .footer-brand img { width: 72px; height: 72px; }
.footer .footer-brand span { font: 400 clamp(64px, 11vw, 124px)/.88 var(--serif); letter-spacing: -.02em; color: var(--dark); white-space: nowrap; }
.footer-address { display: grid; gap: 2px; margin: 0; line-height: 1.45; }
.footer-address strong { font-size: 19px; }
.footer .footer-contact { display: flex !important; flex-wrap: wrap; justify-content: center; gap: var(--s1); margin: 0; }
.footer .footer-contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: var(--radius-pill); background: var(--dark); color: var(--accent); font-weight: 700; white-space: nowrap; text-decoration: none; }
.footer .footer-contact a:hover { background: #0c2620; }
.footer .footer-contact svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer .footer-links { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 0 var(--s3); max-width: 44rem; font-weight: 650; }
.footer .footer-links a { min-height: 44px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--s3); width: 100%; padding-top: var(--s2); border-top: 1px solid rgba(19, 55, 47, .16); font-size: 14.5px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(19, 55, 47, .78); }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer .footer-contact a:hover { text-decoration: none; }
.footer .footer-brand img { width: 96px; height: 96px; padding: 10px; border-radius: 50%; background: var(--paper); object-fit: contain; }
.footer .footer-links { max-width: none; gap: var(--s1); font-size: 16px; }
.footer .footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill); background: rgba(19, 55, 47, .09); white-space: nowrap; }
.footer .footer-links a:hover { background: var(--dark); color: var(--accent); text-decoration: none; }
.journal-more .topic-links { clip-path: inset(0); }
/* Offizielle Store-Badges */
.store-badge { display: inline-block; line-height: 0; border-radius: 9px; }
.store-badge img { display: block; height: 56px; width: auto; }
.store-badge:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* Besatzchronik: angekündigter Besatz als eine Lime-Karte, volle Breite, ohne Box in der Box */
.stock-next h2 { margin-bottom: var(--s4); }
.stock-feature { display: grid; gap: var(--s4); }
.stock-feature-media { margin: 0; }
.stock-feature-media img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius-image); }
.stock-feature-body { display: grid; justify-items: start; align-content: center; gap: var(--s2); }
.stock-feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.stock-feature-tags span { padding: 3px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.4; }
.stock-feature-tags .tag-dark { background: var(--dark); color: var(--accent); }
.stock-feature-tags .tag-light { background: rgba(19, 55, 47, .1); color: var(--ink); }
.stock-feature h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 56px); line-height: 1; }
.stock-feature p { margin: 0; max-width: 52ch; }
.stock-feature .stock-waters span { background: rgba(255, 253, 245, .7); }
.stock-feature .button { margin-top: var(--s1); }
@media (min-width: 900px) { .stock-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: center; } }
.stock-when { font-size: 15.5px; }
.stock-date.is-month small { font-size: 13px !important; }
/* Menü: keine doppelte Trennlinie über dem Menü-Fuß */
.menu-primary li:last-child .menu-main { border-bottom: 0; }
/* Zeitleiste: Linie verbindet nur die Kreise und endet am letzten (ältesten) Punkt – kein loses Ende */
.stock-timeline::before { display: none !important; }
.stock-item::before { content: ""; position: absolute; left: 31px; top: 32px; bottom: calc(-1 * var(--s2)); width: 2px; background: var(--sage-strong); }
.stock-item:last-child::before { display: none; }
@media (max-width: 560px) { .stock-item::before { left: 25px; top: 26px; } }
.stock-years { margin-top: var(--section); }
.stock-waters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.stock-waters::-webkit-scrollbar { display: none; }
.stock-waters span, .stock-feature .stock-waters span { flex: none; background: var(--accent) !important; color: #193a33 !important; }
.stock-feature .stock-waters span { background: var(--dark) !important; color: var(--accent) !important; }
.arrival-controls button { border: 0 !important; }
/* Besatzchronik „Als Nächstes“: kompakt, volle Breite, Monat als dunkler Kreis rechts oben */
.stock-next { padding: clamp(24px, 4vw, 40px); }
.stock-next-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s3); }
.stock-next-head h2 { margin: 4px 0 0 !important; }
.stock-next-month { flex: none; display: grid; place-items: center; align-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--dark); color: var(--accent); line-height: 1; }
.stock-next-month small { font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.stock-next-month b { margin-top: 3px; font-size: 12px; font-weight: 700; opacity: .8; }
.stock-feature { display: grid; justify-items: start; gap: var(--s2); padding-top: var(--s3); border-top: 1px solid rgba(19, 55, 47, .16); }
@media (min-width: 900px) { .stock-feature { grid-template-columns: none; gap: var(--s2); } }
.stock-feature-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.stock-feature h3 { font-size: clamp(30px, 3.6vw, 44px); }
.stock-feature p { max-width: 62ch; }
.stock-feature .button { margin-top: 0; }
/* Goldene Regel: keine Box in der Box – innere Elemente übernehmen die Fläche der äußeren Box */
.price-values { gap: var(--s4); }
.price-values div { min-width: 0; padding: 0; border-radius: 0; background: none; }
.price-values dd { font-size: 32px; }
.price-mini li { padding: 12px 0; border-radius: 0; background: none; border-bottom: 1px solid rgba(25, 58, 51, .12); }
.price-mini li:last-child { border-bottom: 0; }
details .schedule li { background: none !important; border-radius: 0 !important; }
.guide-body details.install-other { margin: var(--s3) 0 0 !important; background: transparent !important; border-radius: 0 !important; border-top: 1px solid rgba(25, 58, 51, .14) !important; }
.guide-body details.install-other > summary { min-height: 0; padding: var(--s2) 0 0 !important; }
.guide-body details.install-other > summary svg { background: var(--paper) !important; }
.guide-body details.install-other .details-inner { padding: var(--s2) 0 0 !important; }
/* Startseite: ein einziger Abstand zwischen Hauptbeitrag, Zeilen und „Mehr aus dem Uferjournal“ */
body[data-design-news] { --stack: 40px; }
@media (min-width: 1101px) { body[data-design-news] { --stack: 48px; } }
body[data-design-news] .front-tile, body[data-design-news] .front-tile:not(:first-child), body[data-design-news] .front-tile:nth-child(2) { margin: 0 !important; padding: 0 !important; border: 0 !important; }
@media (max-width: 1100px) { body[data-design-news] .front-tiles { gap: var(--stack) !important; } }
@media (min-width: 1101px) { body[data-design-news] .front-tiles { row-gap: var(--s4) !important; column-gap: var(--s4) !important; } body[data-design-news] .front-tile:not(:first-child) { align-self: start; } }
body[data-design-news] .front-journal .journal-more { margin-top: var(--stack) !important; }
@media (min-width: 1101px) { body[data-design-news] .front-tile:not(:first-child) { align-self: stretch; } body[data-design-news] .front-tile:not(:first-child) > a { height: 100%; } body[data-design-news] .front-tiles { grid-template-rows: repeat(3, minmax(0, 1fr)); } }
.fact-cards li { align-content: center; }
/* App-Schritte: Linie nur zwischen den Kreisen, endet am letzten Schritt */
.guide-steps::before { display: none !important; }
.guide-step::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: calc(-1 * var(--s4)); width: 2px; background: var(--sage-strong); }
.guide-step:last-child::before { display: none; }
.guide-num { position: relative; z-index: 1; }
@media (max-width: 560px) { .guide-step::before { left: 21px; top: 22px; } }
/* Einheitlich: Seitenkopf → erster Inhalt immer 48 px */
.editorial-head + *, .water-intro + * { margin-top: var(--s6) !important; }
.post-rows + .button, .post-rows + .list-more, .archive-rows + .list-more { margin-top: var(--s4) !important; }
/* Anfahrt-Punkte: keine Kontur, nie abgeschnitten, mobil zweispaltig */
.route-point { border: 0 !important; overflow: hidden; }
.route-point b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.route-point[aria-pressed="true"] { background: var(--dark) !important; color: var(--paper) !important; }
.route-point[aria-pressed="true"] span { background: var(--accent) !important; color: #193a33 !important; }
@media (max-width: 560px) { .route-list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .route-point { font-size: 14.5px !important; padding: 6px 10px !important; gap: 8px !important; } }
/* Abschnittsnavigation der Gewässerseite: Chips in einer Zeile, horizontal scrollbar, ohne Trennlinie */
.anchor-bar { flex-wrap: nowrap !important; gap: 8px !important; overflow-x: auto; scrollbar-width: none; border-bottom: 0 !important; margin-top: var(--s4) !important; padding-bottom: 2px; }
.anchor-bar::-webkit-scrollbar { display: none; }
.anchor-bar a { flex: none; min-height: 44px !important; padding: 0 18px; border: 0 !important; border-radius: var(--radius-pill); background: var(--sage); white-space: nowrap; }
.anchor-bar a[aria-current] { background: var(--dark); color: var(--accent); }
.anchor-bar a[href="#reservieren"] { background: var(--accent); }
/* Frei stehende Chip-Zeilen laufen mobil bis zum Bildschirmrand aus; in Boxen bleiben sie begrenzt */
@media (max-width: 760px) {
  .anchor-bar, .service-jumps, .editorial-wrap > .topic-links, .archive-bar .active-filters, .story-tags {
    margin-inline: calc(50% - 50vw) !important; padding-inline: calc(50vw - 50%) !important; scroll-padding-inline: calc(50vw - 50%);
    max-width: none !important; width: auto !important; mask-image: none !important; -webkit-mask-image: none !important;
  }
}
/* Web (ohne App-Tableiste): kein Leerraum unter dem Footer; Footer reicht bis zum Rand */
html:not(.is-app) body { padding-bottom: 0 !important; }
html:not(.is-app) .footer .footer-inner { padding-bottom: calc(clamp(28px, 4vw, 40px) + env(safe-area-inset-bottom, 0px)); }
.is-app .footer { margin-bottom: 0; }
@media (max-width: 420px) { .post-meta .post-category, .post-meta .post-date { padding: 3px 9px; font-size: 12.5px; } .post-meta { gap: 6px !important; } }
.menu-close { border: 0 !important; background: rgba(255, 253, 245, .12) !important; }
.quicklinks a { min-width: 0; } .quicklinks strong { overflow-wrap: anywhere; hyphens: auto; } @media (max-width: 360px) { .quicklinks { grid-template-columns: minmax(0, 1fr) !important; } .quicklinks a { grid-column: auto !important; } }
@media (max-width: 360px) { .quicklinks a:not(:first-child) { display: grid !important; grid-template-columns: 52px minmax(0, 1fr) 20px !important; align-items: center; gap: var(--s2); } .quicklinks a:not(:first-child) .quick-arrow { position: static; order: 3; } }

/* ---------- Slider (einheitlich) + „Passt dazu“ auf Beitragsseiten ---------- */
.related { margin-top: var(--section); }
.related-head h2 { margin: 0 0 var(--s4); font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 60px); line-height: 1; }
.slider { position: relative; }
.slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--s3)) / 4); gap: var(--s3); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; outline-offset: 4px; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { scroll-snap-align: start; min-width: 0; }
@media (max-width: 1100px) { .slider-track { grid-auto-columns: calc((100% - 2 * var(--s3)) / 3); } }
@media (max-width: 760px) {
  .slider-track { grid-auto-columns: 78%; gap: var(--s2); margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); scroll-padding-inline: calc(50vw - 50%); }
}
.related-card { display: grid; align-content: start; gap: 12px; color: var(--ink); text-decoration: none; }
.related-image { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-image); background: var(--sage); }
.related-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.related-image > svg { width: 40px; height: 40px; margin: auto; display: block; margin-top: 45%; }
.related-card:hover .related-image img { transform: scale(1.03); }
.related-card .post-meta { display: flex; flex-wrap: nowrap; gap: 6px; padding: 0 !important; }
.related-card strong { font-family: var(--serif); font-weight: 400; font-size: clamp(23px, 2vw, 28px); line-height: 1.05; }
.related-card:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.slider-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-top: var(--s3); }
.slider.is-static .slider-nav { display: none; }
.slider-dots { display: flex; align-items: center; gap: 8px; }
.slider-dots span { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(25, 58, 51, .22); cursor: pointer; transition: width .35s cubic-bezier(.2,.7,.2,1), background .35s; position: relative; }
.slider-dots span::after { content: ""; position: absolute; inset: -12px -4px; }
.slider-dots span.is-active { width: 34px; background: var(--dark); }
.slider-play { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
.slider-play svg { width: 40px; height: 40px; overflow: visible; }
.slider-play circle { fill: none; stroke-width: 1.5; }
.slider-play .ring-bg { stroke: rgba(25, 58, 51, .18); }
.slider-play .ring { stroke: var(--dark); stroke-dasharray: 113.1; stroke-dashoffset: 113.1; transform: rotate(-90deg); transform-origin: 20px 20px; }
.slider.is-ticking .slider-play .ring { animation: slider-ring var(--slider-delay, 6000ms) linear forwards; }
@keyframes slider-ring { to { stroke-dashoffset: 0; } }
.slider-play path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.slider-play .i-play { display: none; fill: currentColor; stroke: none; }
.slider.is-paused .slider-play .i-pause { display: none; }
.slider.is-paused .slider-play .i-play { display: block; }
/* Interne Links im Beitragstext */
.story-body a.inline-link { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(25, 58, 51, .4); text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 600; }
.story-body a.inline-link:hover { text-decoration-color: currentColor; }
.slider-play svg { width: 40px !important; height: 40px !important; }
@media (max-width: 760px) { .slider-track, .anchor-bar, .service-jumps, .editorial-wrap > .topic-links, .archive-bar .active-filters, .story-tags { scroll-padding-inline: 20px !important; } }
@media (max-width: 380px) { .slider-track, .anchor-bar, .service-jumps, .editorial-wrap > .topic-links, .archive-bar .active-filters, .story-tags { scroll-padding-inline: 16px !important; } }
/* Mitglied werden: drei Wege, einspaltig mobil */
.member-ways { display: grid; gap: var(--s2); margin-top: var(--s6); }
.member-way { display: grid; gap: var(--s2); justify-items: start; padding: var(--s3); border-radius: var(--radius-image); background: var(--sage); }
.member-way.is-main { background: var(--accent); }
.member-way h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 36px); line-height: 1.05; }
.member-way p { margin: 0; color: var(--ink); }
.member-way .quick-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); }
.member-way .quick-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; }
@media (min-width: 900px) { .member-ways { grid-template-columns: repeat(3, minmax(0, 1fr)); } .member-way { grid-template-rows: auto 1fr auto; } }
#beitrag .price-mini { margin: 0 0 var(--s3); padding: 0; list-style: none; }
.check-list { list-style: none !important; padding-left: 0 !important; }
.member-way .button:not(.button-dark), .member-way a.doc-link, .member-way > a { background: var(--paper) !important; color: var(--ink) !important; padding-inline: 22px !important; min-height: 48px; border-radius: var(--radius-pill) !important; display: inline-flex; align-items: center; gap: 10px; }
/* Sehr schmale Geräte (≤ 360 px): Buttons bleiben einzeilig und vollständig lesbar */
@media (max-width: 360px) { .button, a.button, button.button { padding-inline: 18px !important; font-size: 14.5px !important; gap: 8px !important; max-width: 100%; } }
/* Slider-Punkte: sichtbarer Punkt 9 px, Tippfläche 44 px hoch */
.slider-dots { gap: 0; }
.slider-dots span { width: 21px; height: 44px; background: none !important; display: grid; place-items: center; transition: width .35s cubic-bezier(.2,.7,.2,1); }
.slider-dots span::after { content: ""; position: static; inset: auto; width: 9px; height: 9px; border-radius: 999px; background: rgba(25, 58, 51, .22); transition: width .35s cubic-bezier(.2,.7,.2,1), background .35s; }
.slider-dots span.is-active { width: 46px; }
.slider-dots span.is-active::after { width: 34px; background: var(--dark); }
.slider-dots span:first-child { justify-content: start; }
/* Kleine Text-Links: größere Tippfläche ohne Layoutverschiebung */
button.fact-link, .text-link { min-height: 44px; display: inline-flex; align-items: center; }
.price-name small button.fact-link { margin-block: -12px; }
.slider-dots span { cursor: pointer; }
.text-link { min-height: 44px !important; } @media (max-width: 360px) { .guide-body .button { padding-inline: 14px !important; } }
.member-way .button, .member-way > a { min-height: 54px !important; }
/* Slider-Steuerung wie moremedia.at: Play/Pause links, Punkte rechts daneben, gemeinsam in einer dezenten Pille */
.slider-nav { justify-content: flex-start !important; }
.slider-pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 16px 4px 4px; border-radius: var(--radius-pill); background: var(--sage); }
.slider-pill .slider-play { width: 40px; height: 40px; }
.slider-pill .slider-play svg { width: 36px !important; height: 36px !important; }
.slider-pill .slider-dots span { height: 40px; }
.slider-pill .slider-dots span:first-child { justify-content: center; }
.slider.is-paused:not(:has(.slider-play)) .slider-pill { padding-left: 16px; }
@media (max-width: 560px) { .fact-cards li > :not(.fact-card-icon) { grid-column: 2; } .fact-cards .fact-card-icon { grid-row: 1 / span 6 !important; align-self: start; } }
/* Hervorgehobener Punkt im Anfahrtsplan pulsiert */
.arrival-pin .arrival-pulse { fill: var(--accent) !important; stroke: none !important; opacity: 0; transform-box: fill-box; transform-origin: center; pointer-events: none; }
.arrival-pin.active .arrival-pulse { animation: arrival-pulse 1.6s cubic-bezier(.2,.7,.2,1) infinite; }
@keyframes arrival-pulse { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .arrival-pin.active .arrival-pulse { animation: none; opacity: .45; transform: scale(1.6); } }
.map-pulse { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; pointer-events: none; animation: arrival-pulse 1.6s cubic-bezier(.2,.7,.2,1) infinite; }
@media (prefers-reduced-motion: reduce) { .map-pulse { animation: none; opacity: .45; transform: scale(1.6); } }

/* ---------- Reservierung: Komfort (Tagesleiste, Alternativen) ---------- */
.day-strip-title { margin: 0 0 var(--s1); font-size: 14px; font-weight: 700; color: var(--muted); }
.day-strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 var(--s3); padding-bottom: 2px; scroll-snap-type: x proximity; }
.day-strip::-webkit-scrollbar { display: none; }
.day-chip { flex: none; display: grid; justify-items: center; gap: 1px; min-width: 76px; padding: 10px 8px; border: 0; border-radius: var(--radius-image); background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; scroll-snap-align: start; transition: background .2s, transform .15s; }
.day-chip small { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.day-chip b { font-size: 15.5px; }
.day-chip span { font-size: 12.5px; font-weight: 700; color: #3e6a2c; }
.day-chip.is-few span { color: #8a5a12; }
.day-chip.is-full { opacity: .55; }
.day-chip.is-full span { color: var(--muted); }
.day-chip[aria-pressed="true"] { background: var(--dark); color: var(--paper); }
.day-chip[aria-pressed="true"] small, .day-chip[aria-pressed="true"] span { color: var(--accent); }
.booking-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: var(--s2); }
.booking-alt > span { width: 100%; font-size: 14.5px; color: #d8e5d4; }
.chip-button { min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--radius-pill); background: rgba(255,253,245,.14); color: var(--paper); font: inherit; font-weight: 700; cursor: pointer; transition: background .2s, transform .15s; }
.chip-button:hover { background: var(--accent); color: #193a33; }

/* ---------- Verwaltung (Vereinsbüro) ---------- */
.admin-entry { display: grid; grid-template-columns: 52px minmax(0, 1fr) 20px; align-items: center; gap: var(--s2); margin: var(--s4) 0 0; padding: var(--s3); border-radius: var(--radius-image); background: var(--accent); color: var(--ink); text-decoration: none; }
.admin-entry .quick-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); }
.admin-entry .quick-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.admin-entry b { display: block; font-size: 18px; }
.admin-entry small { color: var(--muted); font-size: 14.5px; }
.admin-entry > svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .25s; }
.admin-entry:hover > svg { transform: translateX(4px); }
.admin-tools { display: grid; gap: var(--s2); margin-top: var(--s6); }
.admin-day { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-date input { min-height: 48px; padding: 0 14px; border: 1px solid #b8c8b7; border-radius: var(--radius-pill); background: var(--paper); font: inherit; font-size: 16px; }
.admin-day .icon-button { width: 48px; height: 48px; border: 0 !important; border-radius: 50%; background: var(--sage); display: grid; place-items: center; }
.admin-day .icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.admin-today { min-height: 48px !important; }
.admin-shifts { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.admin-shifts button { flex: none; display: grid; gap: 1px; min-height: 52px; padding: 6px 18px; border: 0; border-radius: var(--radius-pill); background: var(--sage); color: var(--ink); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.admin-shifts button small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.admin-shifts button[aria-pressed="true"] { background: var(--dark); color: var(--paper); }
.admin-shifts button[aria-pressed="true"] small { color: var(--accent); }
.admin-closed { margin: 0; color: var(--muted); }
.admin-board { margin-top: var(--s4); }
.admin-spots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 900px) { .admin-spots { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.admin-spot { display: grid; align-content: start; gap: 2px; min-height: 76px; padding: 10px; border: 0; border-radius: var(--radius-image); font: inherit; text-align: left; cursor: pointer; animation: spot-in .35s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 18ms); transition: transform .15s, box-shadow .2s; }
.admin-spot b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1; }
.admin-spot span { font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-spot.is-free { background: var(--accent); color: #193a33; }
.admin-spot.is-free:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(19,55,47,.14); }
.admin-spot.is-online { background: var(--dark); color: var(--paper); cursor: default; }
.admin-spot.is-phone { background: #5c7d6f; color: var(--paper); cursor: default; }
@keyframes spot-in { from { opacity: 0; transform: translateY(6px); } }
.admin-legend { display: flex; gap: var(--s2); margin: var(--s2) 0 0; font-size: 14px; color: var(--muted); }
.admin-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.admin-legend .is-free::before { background: var(--accent); }
.admin-legend .is-online::before { background: var(--dark); }
.admin-legend .is-phone::before { background: #5c7d6f; }
.admin-form-card { margin-top: var(--s6); }
.admin-form-grid { display: grid; gap: var(--s2); margin-bottom: var(--s3); }
@media (min-width: 900px) { .admin-form-grid { grid-template-columns: 1fr 1fr; } .admin-note { grid-column: 1 / -1; } }
.admin-form-grid small { color: var(--muted); font-weight: 500; }
.form-status.is-error { color: #8a2b1a; }
.form-status.is-shown { animation: status-in .4s cubic-bezier(.2,.7,.2,1); }
@keyframes status-in { from { opacity: 0; transform: translateY(-4px); } }
.admin-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.admin-rows li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px var(--s2); align-items: center; padding: var(--s2); border-radius: var(--radius-image); background: var(--sage); animation: spot-in .3s both; }
.admin-rows li.is-past { opacity: .6; }
.admin-row-spot { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); font-family: var(--serif); font-size: 24px; }
.admin-row-main { display: grid; gap: 2px; min-width: 0; }
.admin-row-main small { color: var(--muted); }
.admin-row-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--muted); }
.admin-tag { padding: 1px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.admin-tag.is-phone { background: #5c7d6f; color: var(--paper); }
.admin-tag.is-online { background: var(--dark); color: var(--accent); }
.admin-cancel { grid-column: 2; justify-self: start; min-height: 40px !important; background: var(--paper) !important; }
.admin-cancel.is-confirm { background: #8a2b1a !important; color: var(--paper) !important; animation: nudge .3s; }
@keyframes nudge { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
@media (min-width: 760px) { .admin-rows li { grid-template-columns: 48px minmax(0, 1fr) auto; } .admin-cancel { grid-column: 3; } }
.admin-empty, .admin-waiting { color: var(--muted); }
[data-page="verwaltung"].is-loading .admin-spots, [data-page="verwaltung"] .is-loading .admin-spots { opacity: .5; transition: opacity .2s; }
.day-chip[aria-pressed="true"] { opacity: 1; }
.taken-group + .taken-group { margin-top: var(--s3); }
.taken-group p { display: flex; justify-content: space-between; gap: var(--s2); margin: 0 0 var(--s1); font-size: 15px; }
.taken-group p span { color: var(--muted); }
.taken-spots { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.taken-spots span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: var(--accent); font-size: 13.5px; font-weight: 700; }
.taken-spots span.is-taken { background: var(--dark); color: var(--paper); opacity: .85; }
.admin-date-label { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; }
.admin-shifts { margin: 0 !important; } .admin-board { margin-top: var(--s3) !important; } .admin-tools .segmented { margin-bottom: 0 !important; }
/* Meine Reservierungen: Platz und Zeit links, Aktionen rechts in einer Zeile */
.reservation-lists li { display: grid !important; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-rows: auto auto; align-items: center; gap: 2px 8px; padding: 12px 0 !important; }
.reservation-lists li > strong { grid-column: 1; grid-row: 1; }
.reservation-lists li > span { grid-column: 1; grid-row: 2; font-size: 14.5px; color: var(--muted); }
.reservation-lists li > .list-icon { grid-row: 1 / span 2; width: 44px; height: 44px; }
.editorial-wrap > .admin-board { margin-top: var(--s3) !important; } .editorial-wrap > .admin-tools { margin-top: var(--s6) !important; } .admin-date input { height: 48px; line-height: 48px; display: block; } .admin-shifts.segmented { background: none !important; padding: 0 !important; }

/* ---------- Mikro-Interaktionen ---------- */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .6s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms), transform .6s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms); }
@media (prefers-reduced-motion: no-preference) {
  /* Seitenwechsel: neuer Inhalt blendet weich ein */
  .editorial-route:not([hidden]) > .wrap, main > [data-page]:not([hidden]) > .wrap { animation: page-in .35s cubic-bezier(.2,.7,.2,1); }
  @keyframes page-in { from { opacity: 0; transform: translateY(8px); } }
  /* Buttons und Chips: kurzes Eindrücken beim Tippen, Pfeil weicht beim Darüberfahren nach rechts */
  .button, .chip-button, .day-chip, .topic-links a, .service-jumps a, .story-tags a, .anchor-bar a, .route-point, .footer-contact a, .footer-links a, .admin-shifts button, .segmented button { transition: transform .15s cubic-bezier(.2,.7,.2,1), background-color .2s, color .2s, box-shadow .2s; }
  .button:active, .chip-button:active, .day-chip:active, .topic-links a:active, .service-jumps a:active, .story-tags a:active, .anchor-bar a:active, .route-point:active, .footer-contact a:active, .footer-links a:active, .admin-shifts button:active, .segmented button:active, .admin-spot.is-free:active { transform: scale(.96); }
  .button svg:last-child, .text-link svg, .link-cards a > svg, .quicklinks .quick-arrow, .water-card > svg, .vendor-go svg { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
  @media (hover: hover) {
    .button:hover svg:last-child, .text-link:hover svg, .link-cards a:hover > svg, .quicklinks a:hover .quick-arrow, .water-card:hover > svg { transform: translateX(4px); }
    .vendor:hover .vendor-go svg { transform: translate(3px, -3px); }
    .water-card, .quicklinks a, .link-cards a, .vendor, .member-way, .admin-entry, .doc-list a { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background-color .2s; }
    .water-card:hover, .quicklinks a:hover, .link-cards a:hover, .vendor:hover, .member-way:hover, .admin-entry:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(19, 55, 47, .12); }
    .front-tile-image img, .older-thumb, .catch-media img, .story-photo img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
    .front-tile > a:hover .front-tile-image img, .older-post > a:hover .older-thumb, .catch-card:hover .catch-media img { transform: scale(1.035); }
  }
  /* Aufklappbereiche: Inhalt gleitet herein */
  details[open] > .details-inner, details[open] > .stock-detail, details[open] > .doc-list { animation: unfold .35s cubic-bezier(.2,.7,.2,1); }
  @keyframes unfold { from { opacity: 0; transform: translateY(-6px); } }
  /* Menü: Einträge erscheinen nacheinander */
  .site-menu[open] .menu-primary li, .site-menu[open] .menu-cta { animation: menu-in .4s cubic-bezier(.2,.7,.2,1) both; }
  .site-menu[open] .menu-primary li:nth-child(1) { animation-delay: 40ms; }
  .site-menu[open] .menu-primary li:nth-child(2) { animation-delay: 80ms; }
  .site-menu[open] .menu-primary li:nth-child(3) { animation-delay: 120ms; }
  .site-menu[open] .menu-primary li:nth-child(4) { animation-delay: 160ms; }
  .site-menu[open] .menu-primary li:nth-child(5) { animation-delay: 200ms; }
  @keyframes menu-in { from { opacity: 0; transform: translateX(-10px); } }
  /* Schalter und Häkchen: kleines Federn beim Umschalten */
  input[role="switch"]:checked, input[type="checkbox"]:checked { animation: pop .25s cubic-bezier(.2,.7,.2,1.4); }
  @keyframes pop { 50% { transform: scale(1.12); } }
  /* Statusmeldungen gleiten ein */
  .booking-message:not(:empty), .form-status:not(:empty) { animation: status-in .4s cubic-bezier(.2,.7,.2,1); }
  /* Gewählter Platz im Reservierungsplan pulsiert wie im Anfahrtsplan */
  .reserve-marker[aria-pressed="true"] { animation: marker-pulse 1.6s cubic-bezier(.2,.7,.2,1) infinite; }
  @keyframes marker-pulse { 0% { box-shadow: 0 0 0 0 rgba(224, 238, 136, .85); } 100% { box-shadow: 0 0 0 14px rgba(224, 238, 136, 0); } }
}
@media print { .reveal { opacity: 1 !important; transform: none !important; } }

/* Verwaltung: Tagesleiste, Angelzeiten und Platzkacheln überarbeitet */
.admin-tools { gap: var(--s2) !important; }
.admin-day { display: flex !important; align-items: center; gap: 8px; flex-wrap: nowrap !important; }
.admin-daybar { flex: 1; min-width: 0; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 4px; padding: 4px; border-radius: var(--radius-pill); background: var(--sage); }
.admin-step { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; }
.admin-step svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.admin-date { position: relative; display: flex !important; align-items: center; justify-content: center; gap: 8px; min-width: 0; height: 44px; font-weight: 700; font-size: 15.5px; cursor: pointer; }
.admin-date svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.admin-date span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-date input { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; min-height: 0 !important; margin: 0; padding: 0 !important; border: 0 !important; opacity: 0; cursor: pointer; }
.admin-date input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: auto; height: auto; opacity: 0; cursor: pointer; }
.admin-today { flex: none; height: 52px; padding: 0 20px; border: 0; border-radius: var(--radius-pill); background: var(--sage); color: var(--ink); font: inherit; font-weight: 700; white-space: nowrap; cursor: pointer; }
.admin-shifts, .admin-shifts.segmented { display: grid !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px !important; padding: 4px !important; border-radius: 26px; background: var(--sage) !important; overflow: visible !important; }
.admin-shifts button { display: grid; justify-items: center; gap: 0; min-width: 0; min-height: 52px !important; padding: 6px 8px !important; border-radius: 22px !important; background: transparent !important; color: var(--ink) !important; text-align: center !important; font-size: 14.5px; line-height: 1.25; }
.admin-shifts button span, .admin-shifts button small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-shifts button small { font-size: 12px !important; }
.admin-shifts button[aria-pressed="true"] { background: var(--dark) !important; color: var(--paper) !important; }
@media (max-width: 380px) { .admin-shifts button { font-size: 13px; padding: 6px 4px !important; } .admin-shifts button small { font-size: 11px !important; } .admin-date { font-size: 14.5px; } .admin-date svg { display: none; } .admin-today { padding: 0 16px; } }
.editorial-wrap > .admin-board, .admin-board { margin-top: var(--s3) !important; }
.admin-spot { min-height: 64px !important; padding: 8px 10px !important; gap: 4px !important; }
.admin-spot b { font-size: 22px !important; }
.admin-spot span { font-size: 11.5px !important; font-weight: 600 !important; letter-spacing: .01em; opacity: .92; }
.admin-date .is-short, .admin-shifts .is-short { display: none; }
@media (max-width: 560px) { .admin-date .is-long, .admin-shifts .is-long { display: none; } .admin-date .is-short, .admin-shifts .is-short { display: inline; } .admin-shifts button { font-size: 13.5px; } }
#admin-date-label { display: contents; }
.admin-legend { margin-bottom: 0 !important; }
.editorial-wrap > .admin-form-card, .admin-form-card { margin-top: var(--s6) !important; }
@media (max-width: 380px) { .admin-daybar { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 2px; } .admin-step { width: 40px; height: 40px; } .admin-date { height: 40px; font-size: 14px; } .admin-today { height: 48px; padding: 0 14px; font-size: 15px; } }
.editorial-wrap > .admin-list-section, .admin-list-section { margin-top: var(--s6) !important; padding-top: 0 !important; }

/* Pulsieren deutlich sichtbar: zwei versetzte Wellen mit dunklem Rand, der Punkt selbst atmet mit */
.arrival-pin .arrival-pulse, .map-pulse { fill: rgba(224, 238, 136, .55) !important; stroke: #193a33 !important; stroke-width: 2.5px !important; opacity: 0; transform-box: fill-box; transform-origin: center; pointer-events: none; }
@keyframes arrival-pulse { 0% { transform: scale(1); opacity: .95; } 70% { opacity: .25; } 100% { transform: scale(3.2); opacity: 0; } }
.arrival-pin.active .arrival-pulse, .map-pulse { animation: arrival-pulse 2s cubic-bezier(.25,.6,.3,1) infinite !important; }
.arrival-pin.active .arrival-pulse.is-late, .map-pulse.is-late { animation-delay: 1s !important; }
@keyframes point-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
.arrival-pin.active > circle:not(.arrival-pulse), .arrival-pin.active > text, #map-marks .is-active, [id^="mark-"].is-active { transform-box: fill-box; transform-origin: center; animation: point-breathe 2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .arrival-pin.active .arrival-pulse, .map-pulse { animation: none !important; opacity: .5; transform: scale(1.7); }
  .arrival-pin.active .arrival-pulse.is-late, .map-pulse.is-late { display: none; }
  .arrival-pin.active > circle, .arrival-pin.active > text, [id^="mark-"].is-active { animation: none !important; }
}

/* Angelzeiten-Tabelle See 4 (Inhalt der Fischereiordnung direkt auf der Seite) */
.rule-table-wrap { margin: 0 0 var(--s3); }
.rule-table { width: 100%; border-collapse: collapse; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.rule-table th, .rule-table td { padding: 10px 8px 10px 0; text-align: left; vertical-align: top; }
.rule-table thead th { padding-top: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.rule-table tbody th { font-weight: 700; }
.rule-table tbody tr + tr th, .rule-table tbody tr + tr td { border-top: 1px solid rgba(25, 58, 51, .12); }
.rule-table tr.is-off td { color: var(--muted); }
.rule-sub small { font-weight: 500; color: var(--muted); font-size: .8em; }
@media (max-width: 380px) { .rule-table { font-size: 14px; } .rule-table thead th { font-size: 11.5px; } .rule-table th, .rule-table td { padding-right: 4px; } }
.rule-table td, .rule-table tbody th { white-space: nowrap; } .rule-table tr.is-off td { white-space: normal; } .rule-table thead th { line-height: 1.3; }
@media (max-width: 380px) { .rule-table { font-size: 13.5px; } .rule-table th, .rule-table td { padding-right: 10px; } .rule-table th:last-child, .rule-table td:last-child { padding-right: 0; } }

/* Mehr aus dem Uferjournal: am Desktop Rubriken links, Alle Beiträge rechts in einer Zeile */
@media (min-width: 900px) {
  .journal-more { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--s4); padding: var(--s4); }
  .journal-more-title { grid-column: 1 / -1; }
  .journal-more .list-more { margin-top: 0 !important; justify-self: end; }
}

/* App-Start: gleich große Kacheln mit Symbol; erste Kachel hervorgehoben, bei ungerader Anzahl über die volle Breite */
.app-dashboard { padding-block: var(--s2) var(--s3) !important; }
.app-dashboard .section-title { margin-bottom: var(--s2); }
.app-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: var(--s1) !important; }
@media (min-width: 811px) { .app-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
.app-tile { display: flex !important; flex-direction: column; justify-content: space-between; align-items: stretch !important; gap: var(--s2) !important; min-height: 128px !important; padding: var(--s2) !important; background: var(--sage); color: var(--ink); font-weight: 720; transition: transform .15s ease, background-color .2s ease; }
.app-tile:active { transform: scale(.98); }
.app-tile-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); }
.app-tile-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.app-tile-label { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s1); font-size: 16px; line-height: 1.25; }
.app-tile-mark { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-tiles > .app-tile:first-child { background: var(--accent); }
.app-tiles > .app-tile:first-child:nth-last-child(odd) { grid-column: 1 / -1; min-height: 104px !important; flex-direction: row; align-items: center !important; }
.app-tiles > .app-tile:first-child:nth-last-child(odd) .app-tile-label { flex: 1; align-items: center; font-size: 18px; }
.app-tiles > .app-tile:nth-child(4n):not(:first-child) { background: var(--dark); color: var(--paper); }
.app-tiles > .app-tile:nth-child(4n):not(:first-child) .app-tile-icon { background: rgba(255,253,245,.12); }
.app-tiles > .app-tile:nth-child(4n):not(:first-child) .app-tile-icon svg { stroke: var(--accent); }
.is-editing .app-tiles > button.app-tile[aria-pressed="false"] { background: transparent; color: var(--muted); border: 1px dashed var(--line); }
.is-editing .app-tiles > button.app-tile[aria-pressed="false"] .app-tile-icon { background: var(--sage); }
#view-start .wrap > .app-dashboard:not([hidden]) + .hero { margin-top: var(--s1) !important; }

/* Suche über alles (wie MOREMEDIA App): Lupe im Kopf, beim Herunterziehen Ring → Pille „Suchen“, Fenster wächst aus der Lupe */
.search-trigger { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: none; min-width: 52px; height: 52px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--paper); color: var(--ink); font: inherit; font-weight: 760; font-size: 15px; cursor: pointer; transition: background-color .2s, color .2s, padding .3s cubic-bezier(.2,1.6,.4,1), border-color .2s; }
.search-trigger:hover { border-color: var(--ink); }
.search-trigger svg.search-lens { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.search-ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); pointer-events: none; }
.search-ring circle { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.search-pill-label { display: none; }
.search-trigger.is-armed { padding: 0 18px; background: var(--dark); border-color: var(--dark); color: var(--paper); animation: search-pill-pop .3s cubic-bezier(.2,1.6,.4,1); }
.search-trigger.is-armed .search-ring { display: none; }
.search-trigger.is-armed .search-pill-label { display: inline; }
@keyframes search-pill-pop { from { transform: scale(.85); } to { transform: scale(1); } }
@media (max-width: 560px) { .search-trigger { min-width: 50px; height: 50px; } }
@media (max-width: 900px) { .head-actions .search-trigger { border: 0; background: transparent; min-width: 48px; } .head-actions .search-trigger.is-armed { background: var(--dark); } }

.search-sheet { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: hidden; }
.search-sheet::backdrop { background: transparent; }
.search-sheet.is-wide::backdrop { background: rgba(19,55,47,.28); }
.search-sheet.is-wide { display: none; }
.search-sheet.is-wide[open] { display: flex; justify-content: center; align-items: flex-start; padding-top: 10vh; }
.search-panel { display: flex; flex-direction: column; height: 100%; padding-top: env(safe-area-inset-top); background: var(--bg); animation: search-grow .4s cubic-bezier(.2,1.25,.35,1); }
.search-sheet.is-wide .search-panel { width: min(640px, 92vw); height: auto; max-height: 75vh; padding-top: 0; border-radius: var(--radius-image); overflow: hidden; box-shadow: 0 24px 64px rgba(19,55,47,.22); }
@keyframes search-grow { from { transform: scale(.06); opacity: 0; border-radius: 999px; } 50% { opacity: 1; } to { transform: scale(1); opacity: 1; } }
.search-sheet.is-closing .search-panel { animation: search-shrink .18s ease-in forwards; }
@keyframes search-shrink { to { transform: scale(.94); opacity: 0; } }
.search-head { display: flex; align-items: center; gap: var(--s1); padding: var(--s2) var(--s2) var(--s1); }
.search-field { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; height: 52px; padding: 0 18px; border-radius: var(--radius-pill); background: var(--paper); border: 1px solid var(--line); }
.search-field:focus-within { border-color: var(--ink); }
.search-field svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search-field input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 17px; outline: none; -webkit-appearance: none; appearance: none; }
.search-field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sage); color: var(--ink); cursor: pointer; }
.search-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 var(--s2) calc(var(--s4) + env(safe-area-inset-bottom)); }
.search-group { margin-top: var(--s2); }
.search-group h3 { margin: 0 0 var(--s1); font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.search-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 12px 8px 8px; border: 0; border-radius: var(--radius-surface, 12px); background: transparent; color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.search-row:hover, .search-row:focus-visible { background: var(--sage); outline: none; }
.search-row-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); }
.search-row-icon svg, .search-enter svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.search-row-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.search-row-text b { font-weight: 720; line-height: 1.3; }
.search-row-text small { color: var(--muted); font-size: 13px; }
.search-group.is-best .search-row { background: var(--accent); }
.search-enter { flex: none; display: grid; place-items: center; }
.search-words { display: grid; padding-top: var(--s1); }
.search-word { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 17px; text-align: left; cursor: pointer; border-radius: var(--radius-surface, 12px); }
.search-word:hover, .search-word:focus-visible { background: var(--sage); outline: none; }
.search-word svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search-word .is-typed { color: var(--muted); }
.search-hint { margin: var(--s2) 8px 0; color: var(--muted); max-inline-size: none; }
.search-fix { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 720; text-decoration: underline; cursor: pointer; }
.search-all { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: var(--s2); padding: 14px 16px; border-radius: var(--radius-pill); background: var(--sage); color: var(--ink); font-weight: 720; text-decoration: none; }
.search-all svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (prefers-reduced-motion: reduce) { .search-panel, .search-trigger.is-armed, .search-sheet.is-closing .search-panel { animation: none; } }

/* Untere Navigation als schwebendes Dock (wie REDER- und Infinity-Prototyp): Journal in der Mitte hervorgehoben */
.is-app .app-tabbar.app-dock { inset: auto auto calc(12px + env(safe-area-inset-bottom, 0px)) 50%; transform: translateX(-50%); display: flex; align-items: stretch; width: calc(100% - 24px); max-width: 560px; min-height: 68px; padding: 6px; gap: 2px; border: 0; border-radius: 24px; background: var(--dark); box-shadow: 0 12px 32px rgba(19,55,47,.28); }
.is-native .app-tabbar.app-dock { bottom: calc(12px + var(--safe-bottom)); padding-bottom: 6px; }
.is-app .app-dock a { flex: 1 1 0; min-width: 0; min-height: 56px; padding: 4px 2px; gap: 4px; border-radius: 18px; color: rgba(255,253,245,.72); font-size: 11px; font-weight: 700; background: none; transition: background-color .2s, color .2s; }
.is-app .app-dock a[aria-current] { color: var(--paper); background: rgba(255,253,245,.14); }
.is-app .app-dock .dock-icon { display: grid; place-items: center; width: 28px; height: 28px; }
.is-app .app-dock .dock-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.is-app .app-dock a.is-main { flex: 1.25 1 0; color: var(--paper); }
.is-app .app-dock a.is-main .dock-icon { width: 46px; height: 46px; margin-top: -22px; border-radius: 50%; background: var(--accent); color: var(--dark); box-shadow: 0 0 0 5px var(--dark); }
.is-app .app-dock a.is-main .dock-icon svg { width: 24px; height: 24px; }
.is-app .app-dock a.is-main[aria-current] { background: none; }
.is-app .app-dock a.is-main[aria-current] span:last-child { color: var(--accent); }
.is-app .app-dock a:active .dock-icon { transform: scale(.92); }
.is-app body, .is-native.is-app body { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)) !important; }
.is-native.is-app body { padding-bottom: calc(124px + var(--safe-bottom)) !important; }
@media (max-width: 560px) { .brand > span:last-child { display: inline-block; max-width: 220px; overflow: hidden; white-space: nowrap; transition: opacity .2s, max-width .3s cubic-bezier(.2,.7,.2,1); } html.is-search-pulling .brand > span:last-child { opacity: 0; max-width: 0; } html.is-search-pulling .head-actions { position: relative; z-index: 2; } html.is-search-pulling .search-trigger.is-armed { padding: 0 14px; font-size: 14px; } }

/* Beitritt: Kopf als dunkles Band mit mehr Luft, Fortschritt darin */
.join-dialog form { --join-pad: clamp(18px, 4vw, 32px); padding: var(--join-pad); gap: var(--s3) !important; }
.join-top { display: grid; gap: var(--s3); margin: calc(-1 * var(--join-pad)) calc(-1 * var(--join-pad)) 0; padding: var(--s4) var(--join-pad) var(--s3); background: var(--dark); color: var(--paper); }
.join-top .join-kicker { margin-bottom: var(--s1); color: var(--accent); }
.join-top h2 { color: var(--paper); outline: none; }
.join-top .join-close { background: rgba(255,253,245,.12); border: 0 !important; color: var(--paper) !important; }
.join-top .join-progress { color: rgba(255,253,245,.6); }
.join-top .join-progress li::before { background: rgba(255,253,245,.2); }
.join-top .join-progress li.is-done::before, .join-top .join-progress li[aria-current]::before { background: var(--accent); }
.join-top .join-progress li[aria-current] { color: var(--paper); }
@media (max-width: 560px) {
  .join-dialog form { padding-top: 0 !important; }
  .join-top { margin-top: 0; padding-top: calc(var(--s4) + var(--safe-top, env(safe-area-inset-top, 0px))); }
  .join-dialog::backdrop { background: var(--dark); }
}
.join-dialog .join-step:not([hidden]) + * { margin-top: 0; }
/* Webtypografie-Regeln auch in Suche und Kacheln: keine automatische Silbentrennung, Titel ausgewogen und nur zwischen ganzen Wörtern umbrechen */
.search-row-text b, .search-row-text small, .app-tile-label, .suggestion-text b { -webkit-hyphens: manual; hyphens: manual; text-wrap: balance; overflow-wrap: normal; word-break: normal; }

/* Gewässerseiten: Kennzahlen über die volle Breite, darunter Bestimmungen – kein zweispaltiges Raster mehr (Überschrift stand daneben) */
.water-overview { display: block !important; }
.water-overview .fact-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; }
.water-overview > .detail-heading { margin-top: var(--s8) !important; }
.water-overview .water-blocks { max-width: none; }
/* Anfahrtskarten: Punkte nebeneinander, so viele wie es gibt (kein einzelner Punkt in einer zweiten Zeile) */
.arrival-controls { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)) !important; }
/* Seitenende: nur ein Abschnittsabstand bis zum Fuß (vorher Abstand + Innenabstand + Fußabstand ≈ 370 px) */
.editorial-wrap { padding-bottom: 0 !important; }
.editorial-wrap > :last-child, .editorial-wrap > :last-child > :last-child { margin-bottom: 0 !important; }
/* Gewässerseiten: Kennzahlen näher an die Einleitung */
.water-overview { margin-top: var(--s6) !important; }
/* Impressum/Datenschutz: am Desktop Überschrift links, Text rechts – kompakter, Breite genutzt */
.legal-section { margin-top: var(--s4) !important; }
.legal-section h2 { margin-top: 0 !important; }
@media (min-width: 900px) {
  .legal-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: var(--s6); padding-top: var(--s3); border-top: 1px solid rgba(25,58,51,.14); }
  .legal-section h2 { font-size: clamp(26px, 2.4vw, 34px) !important; line-height: 1.1; }
  .legal-section > :not(h2) { grid-column: 2; }
  .legal-section > :nth-child(2) { margin-top: 0 !important; }
}
/* Start: Startbild näher an den Kopf, Rubrik-Überschrift näher an ihre Beiträge */
#view-start .wrap > .app-dashboard[hidden] + .hero { margin-top: var(--s3) !important; }
#view-start .front-heading + * { margin-top: var(--s4) !important; }
.editorial-section > .price-mini, .editorial-section > .check-list { max-width: 880px; }
/* Hinweisboxen über die volle Inhaltsbreite (keine halb leere Zeile), Text bleibt lesbar breit */
.service-note, .price-intro { max-width: none !important; }
.service-note > *, .price-intro { max-inline-size: none; }
.service-note p, .price-intro { text-wrap: pretty; }
/* Ausgabestellen: Vereinsbüro doppelt breit → 7 Stellen füllen zwei volle Reihen zu je vier */
@media (min-width: 1240px) { ul.vendor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } ul.vendor-grid > li:first-child:nth-last-child(7) { grid-column: span 2; } }
/* Abschnittsrhythmus am Desktop etwas enger */
:root { --section: clamp(var(--s8), 7vw, 104px) !important; }
/* App-Anleitung: drei Schritte am Desktop nebeneinander statt 2 + 1 */
@media (min-width: 1000px) { .app-guide.guide-steps { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
/* Beitrag: Stichwörter in der Seitenspalte umbrechen statt abgeschnitten seitlich scrollen */
@media (min-width: 761px) { .story-topics .story-tags { flex-wrap: wrap !important; overflow: visible !important; -webkit-mask-image: none !important; mask-image: none !important; } }
/* Waagrechte Leisten und Slider scrollen nur seitlich – senkrecht bewegt sich immer die ganze Seite */
.slider-track, .topic-links, .service-jumps, .story-tags, .suggestion-tags, .active-filters, .stock-waters, .anchor-bar, .day-strip, .admin-shifts, .archive-rows ~ .topic-links { overflow-y: hidden !important; overscroll-behavior-y: auto !important; touch-action: pan-x pan-y; }
.journal-more .topic-links, .front-journal .topic-links { overflow-y: hidden !important; }

/* 2026-11-21: Fokus nach Seitenwechsel ohne sichtbaren Rahmen (Überschriften werden nur für Screenreader fokussiert) */
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible, .route-focus { outline: none !important; box-shadow: none !important; }
/* Dock: Beschriftung passt in den hervorgehobenen Bereich */
.is-app .app-dock a { min-width: max-content; padding: 4px 6px; }
.is-app .app-dock a span:last-child { white-space: nowrap; letter-spacing: -.01em; }
.is-app .app-dock a.is-main { flex: 1.1 1 0; }
/* Fang/Foto-Dialog: Kopf mit Schließen-Button immer erreichbar */
.share-dialog .join-top { position: sticky; top: 0; z-index: 3; }
/* Pull-to-search: Fortschrittskreis exakt um die Lupe (allgemeine Icon-Größen überschreiben) */
.search-trigger > svg.search-ring { position: absolute; inset: auto; top: 50%; left: 50%; width: 46px !important; height: 46px !important; margin: -23px 0 0 -23px; transform: rotate(-90deg); }
@media (max-width: 900px) { .head-actions .search-trigger:not(.is-armed) { width: 50px; min-width: 50px; height: 50px; } }
.stock-detail .stock-more { margin-top: var(--s2); justify-self: start; }
/* 2026-11-21: Kurzmeldung in der Bildschirmmitte (Vorbild Infinity-App) */
.petri-notice { position: fixed; z-index: 10000; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 8px; width: max-content; max-width: min(320px, calc(100vw - 48px)); padding: 22px 24px 20px; border-radius: 18px; background: var(--paper); color: var(--ink); text-align: center; box-shadow: 0 18px 50px rgba(19,55,47,.28), 0 0 0 1px rgba(19,55,47,.06); opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.92); transition: opacity .18s ease, transform .22s cubic-bezier(.2,1.4,.4,1); }
.petri-notice.is-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.petri-notice-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 4px; border-radius: 50%; background: var(--accent); color: var(--dark); }
.petri-notice.is-warn .petri-notice-icon { background: #f6d9cf; color: #9b3a1f; }
.petri-notice-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.petri-notice strong { font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.25; }
.petri-notice-text { font-size: 15.5px; line-height: 1.45; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .petri-notice { transition: opacity .15s; transform: translate(-50%, -50%); } }
/* Fehlende Angabe kurz hervorheben */
.needs-attention { animation: petri-attention 1.2s ease 2; border-radius: var(--radius-control, 12px); }
@keyframes petri-attention { 0%, 100% { box-shadow: 0 0 0 0 rgba(183,74,42,0); } 35% { box-shadow: 0 0 0 4px rgba(183,74,42,.55); } }
@media (prefers-reduced-motion: reduce) { .needs-attention { animation: none; box-shadow: 0 0 0 3px rgba(183,74,42,.55); } }
/* Reservieren: Button im kräftigen Lindgrün, mittig */
.reservation-summary #book-spot { background: var(--accent) !important; color: var(--dark) !important; opacity: 1 !important; }
@media (max-width: 760px) { .reservation-summary { align-items: center !important; text-align: center; } .reservation-summary #book-spot { align-self: center; width: auto; max-width: 100%; } }
/* Bestätigung nach „Link anfordern“ */
.account-access.is-sent { text-align: left; }
.sent-state { display: grid; gap: var(--s2); outline: none; }
.sent-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--dark); color: var(--accent); }
.sent-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sent-kicker { margin: var(--s1) 0 0; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sent-state h2 { margin: 0 !important; }
.sent-lead { margin: 0; font-size: 18px; line-height: 1.5; }
.sent-lead b { overflow-wrap: anywhere; }
.sent-steps { display: grid; gap: 10px; margin: var(--s1) 0 0; padding: 0; list-style: none; counter-reset: sent; }
.sent-steps li { position: relative; display: grid; gap: 2px; padding: 14px 16px 14px 60px; border-radius: 14px; background: var(--paper); counter-increment: sent; }
.sent-steps li::before { content: counter(sent); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--dark); font-weight: 800; font-size: 14px; }
.sent-steps b { font-size: 16px; }
.sent-steps span { font-size: 14.5px; color: var(--muted); }
.sent-note { margin: var(--s1) 0 0; font-size: 14.5px; color: var(--muted); }
.sent-state .text-link { justify-self: start; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
/* 2026-11-21: Buttonreihen überall gleich – 12 px Abstand, primär zuerst auf dem Handy, Beschriftung mittig wenn kein Pfeil */
.editorial-actions { gap: 12px !important; }
.editorial-actions .button:not(:has(svg)) { justify-content: center; text-align: center; }
/* Bestätigungsdialoge: mittig, mit Rand, klare Fluchten */
.confirm-dialog, .is-app .confirm-dialog { margin: auto !important; width: min(calc(100% - 32px), 480px); max-height: calc(100dvh - 48px); padding: clamp(24px, 6vw, 36px) !important; border: 0 !important; border-radius: var(--radius-surface, 16px); box-shadow: 0 24px 60px rgba(10,30,25,.35); }
.confirm-dialog form { display: grid; gap: var(--s2); }
.confirm-dialog h2 { margin: 0 !important; outline: none; }
.confirm-dialog p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--muted); }
.confirm-dialog .editorial-actions { margin-top: var(--s2) !important; }
@media (max-width: 560px) {
  .confirm-dialog .editorial-actions { flex-direction: column-reverse; }
  .confirm-dialog .editorial-actions .button { width: 100%; }
}
@media (min-width: 561px) { .confirm-dialog .editorial-actions { justify-content: flex-end; } }
/* Mein Bereich: kommende Reservierung ganz oben */
.next-booking { display: grid; gap: var(--s2); margin: 0 0 var(--s4); padding: clamp(22px, 5vw, 36px); border-radius: var(--radius-surface, 16px); background: var(--dark); color: var(--paper); }
.next-booking[hidden] { display: none; }
.nb-kicker { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.nb-main { display: flex; align-items: center; gap: 18px; }
.nb-spot { display: grid; place-items: center; flex: none; width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: var(--dark); line-height: 1; }
.nb-spot small { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-top: 12px; }
.nb-spot b { font-size: 36px; font-weight: 800; margin-top: -14px; }
.nb-when h2 { margin: 0 !important; color: var(--paper) !important; font-size: clamp(28px, 6vw, 40px) !important; }
.nb-when p { margin: 4px 0 0; color: #dbe6d6; font-size: 17px; }
.nb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s1); }
.nb-actions .button { min-height: 52px; gap: 10px; justify-content: center; }
.nb-actions .button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.next-booking .button-light { background: rgba(255,253,245,.12) !important; color: var(--paper) !important; border-color: transparent !important; }
.nb-cancel { justify-self: start; padding: 6px 0; border: 0; background: none; color: #dbe6d6; font: inherit; font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.nb-more { margin-top: var(--s1); padding-top: var(--s2); border-top: 1px solid rgba(255,253,245,.16); }
.nb-more p { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.nb-more ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nb-more li { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #dbe6d6; }
.nb-more b { color: var(--paper); }
@media (max-width: 560px) { .nb-actions .button { flex: 1 1 100%; } }
/* Scrollziel unter dem festen Seitenkopf */
.account-access, .needs-attention, #reservation-map, #booking-lists, .calendar-card label { scroll-margin-top: 120px; }
dialog.confirm-dialog.confirm-dialog[open] { margin: auto !important; inset: 0 !important; }
/* Belegung: Platzkreise in fester Größe statt über die ganze Breite gestreckt */
.taken-spots { grid-template-columns: repeat(auto-fill, 40px) !important; gap: 8px !important; }
.taken-spots span { width: 40px; height: 40px; }
@media (max-width: 560px) { .taken-spots { grid-template-columns: repeat(8, minmax(0, 1fr)) !important; gap: 6px !important; } .taken-spots span { width: auto; height: auto; } }
/* Mein Bereich, Desktop: Termin links, Aktionen rechts */
@media (min-width: 900px) {
  .next-booking { grid-template-columns: 1fr auto; align-items: center; column-gap: var(--s5); }
  .next-booking > .nb-kicker, .next-booking > .nb-more { grid-column: 1 / -1; }
  .next-booking > .nb-main { grid-column: 1; }
  .next-booking > .nb-actions { grid-column: 2; grid-row: 2; margin: 0; justify-content: flex-end; }
  .next-booking > .nb-cancel { grid-column: 2; grid-row: 3; justify-self: end; }
  .nb-spot { width: 104px; height: 104px; } .nb-spot b { font-size: 44px; }
}
/* Karten-Pills: Breite nach Inhalt, Umbruch statt Überlauf */
.arrival-controls { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.arrival-controls button { flex: 1 1 auto; min-width: max-content; white-space: nowrap; justify-content: center; padding: 8px 14px !important; }
/* Anfahrtsblock: gleichmäßige Abstände zwischen Button, Überschrift, Text und PDF-Link */
.arrival-details { display: flex !important; flex-direction: column; gap: var(--s3); }
.arrival-details [data-arrival-info] { display: grid; gap: var(--s2); min-height: 0 !important; }
.arrival-details [data-arrival-info] h3, .arrival-details [data-arrival-info] p { margin: 0 !important; }
.arrival-details .route-cta { margin: 0 !important; }
.arrival-details .arrival-original { margin: 0 !important; align-self: flex-start; }
@media (min-width: 901px) { .arrival-details .route-cta { align-self: flex-start; } }
/* Schriftzug im Kopf: nur seitlich abschneiden (für das Einklappen beim Ziehen), Unterlängen (g, j) bleiben sichtbar */
@media (max-width: 560px) { .brand > span:last-child { overflow: hidden; overflow-x: clip; overflow-y: visible; padding-block: .14em; margin-block: -.14em; } }
@supports (overflow: clip) { @media (max-width: 560px) { .brand > span:last-child { overflow: visible; overflow-x: clip; } } }
/* Startkacheln: frei anordnen, einfache oder doppelte Breite */
.app-tiles > .app-tile:first-child:nth-last-child(odd) { grid-column: auto; min-height: 128px !important; flex-direction: column; align-items: stretch !important; }
.app-tiles > .app-tile:first-child:nth-last-child(odd) .app-tile-label { flex: initial; align-items: flex-end; font-size: 16px; }
.app-tiles > .is-wide, .app-tiles > .app-tile-slot.is-wide { grid-column: span 2; }
.app-tile.is-wide { flex-direction: row !important; align-items: center !important; min-height: 104px !important; }
.app-tile.is-wide .app-tile-label { flex: 1; align-items: center; font-size: 18px; }
.app-tile-label { font-weight: 700; }
button.app-tile { font: inherit; text-align: left; color: inherit; width: 100%; }
.app-tile-slot { position: relative; display: grid; touch-action: pan-y; transition: transform .18s cubic-bezier(.2,.7,.2,1); }
.app-tile-slot > .app-tile { height: 100%; }
.app-tile-slot.is-dragging { z-index: 5; transition: none; }
.app-tile-slot.is-dragging > .app-tile { box-shadow: 0 18px 40px rgba(19,55,47,.3); }
.is-editing .app-tile-slot.is-on > .app-tile { box-shadow: inset 0 0 0 2px rgba(19,55,47,.12); }
.is-editing .app-tile-slot.is-dragging > .app-tile { animation: none; }
@keyframes tile-wiggle { from { transform: rotate(-.4deg); } to { transform: rotate(.4deg); } }
@media (prefers-reduced-motion: reduce) { .is-editing .app-tile-slot.is-on > .app-tile { animation: none; } }
.tile-size { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); box-shadow: 0 2px 8px rgba(19,55,47,.15); cursor: pointer; }
.tile-size svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tiles-hint { margin: 0 0 var(--s2); font-size: 15px; line-height: 1.45; color: var(--muted); }
.tiles-hint[hidden] { display: none; }
/* Farben nach Position wie bisher (Slots im Bearbeiten-Modus mitgezählt) */
.app-tiles > .app-tile-slot:first-child > .app-tile { background: var(--accent); }
.app-tiles > .app-tile-slot:nth-child(4n):not(:first-child).is-on > .app-tile { background: var(--dark); color: var(--paper); }
.app-tiles > .app-tile-slot:nth-child(4n):not(:first-child).is-on > .app-tile .app-tile-icon { background: rgba(255,253,245,.12); }
.app-tiles > .app-tile-slot:nth-child(4n):not(:first-child).is-on > .app-tile .app-tile-icon svg { stroke: var(--accent); }
.is-editing .app-tiles > .app-tile-slot > button.app-tile[aria-pressed="false"] { background: transparent; color: var(--muted); border: 1px dashed var(--line); }
.is-editing .app-tiles > .app-tile-slot > button.app-tile[aria-pressed="false"] .app-tile-icon { background: var(--sage); }
.is-editing .app-tile.is-wide { padding-right: 64px !important; }
/* Gekürzte Titel: Zeilenhöhe so, dass Unterlängen (g, p, j) nicht abgeschnitten werden */
.clamp-2, .clamp-3 { line-height: 1.2 !important; padding-bottom: .04em; }
/* Kacheln mit langen Werten (E-Mail-Adressen) dürfen umbrechen statt überzulaufen */
.fact-card-value, .fact-card-value a { overflow-wrap: anywhere; min-width: 0; }
.fact-cards li { min-width: 0; }
/* Buttons auf schmalen Bildschirmen: lieber zweizeilig als über den Rand */
@media (max-width: 560px) { .editorial-actions .button { white-space: normal; text-wrap: balance; } }
/* Abstand Button ↔ Text mindestens 16 px */
.community-form { gap: var(--s2) !important; }
.route-cta + *, * + .route-cta { margin-top: var(--s2); }
.catch-note + .button, .catch-note ~ .button { margin-top: var(--s2) !important; }
/* iPad-Prüfung 20.11.: Routen-Buttons in schmalen Seitenspalten umbrechen, Kopf-Button nicht stauchen */
.arrival-panel .route-cta, .arrival-details .route-cta { max-width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; padding-inline: 18px; }
.arrival-panel .route-cta svg, .arrival-details .route-cta svg { flex: none; }
.head-actions .header-reserve { flex: none; }
.guide-body .button { max-width: 100%; white-space: normal; text-align: center; }
/* iPad hochkant: Kopfzeile passt nur ohne „Kartenausgabe“, sonst rutscht das Menü aus dem Bild */
@media (max-width: 1040px) { .head-actions .header-ticket { display: none; } }
/* Kleine Handys (320–380 px): Wappen und Schriftzug kleiner, damit Suche und Menü im Bild bleiben */
@media (max-width: 380px) {
  .site-head .brand { gap: 8px; }
  .site-head .brand-badge { width: 64px; height: 64px; padding: 4px; }
  .site-head .brand b { font-size: 25px; }
  .site-head.is-compact .brand-badge { width: 40px; height: 40px; }
  .site-head.is-compact .brand b { font-size: 23px; }
  .site-head .head-actions { gap: 4px; }
  .site-head .head-inner { gap: 8px; }
  .site-head .head-actions .search-trigger { width: 42px; min-width: 42px; }
  .site-head .menu-trigger { width: 48px; height: 48px; }
  .site-head .menu-trigger-icon { width: 46px; height: 46px; }
}
/* 561–700 px: Menü nur als Symbol, sonst rutscht es neben „See 4 reservieren“ aus dem Bild */
@media (min-width: 561px) and (max-width: 700px) {
  .menu-trigger-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .menu-trigger { width: 54px; height: 54px; padding: 0 !important; justify-content: center; border: 0; background: transparent; }
  .menu-trigger-icon { width: 52px; height: 52px; }
  .menu-trigger-icon i { left: 16px; }
}
.community-head > .button { margin-top: 8px; }
/* Sehr schmale Handys: lange Button-Texte umbrechen statt überstehen */
@media (max-width: 400px) { main .button { max-width: 100%; white-space: normal; text-align: center; } }
/* In der App: Link zur App-Installationsseite im Menü ausblenden */
.is-native .menu-secondary a[href="./app/"], .is-native .menu-secondary a[href="app/"] { display: none; }
/* Menü: Kopfzeile deckungsgleich mit der Seitenkopfzeile (Logo-Größe, Höhe), Statusleisten-Abstand nur einmal */
.is-native .site-menu { padding-top: 0; }
.site-menu .menu-inner { padding-top: var(--safe-top, 0px); }
.site-menu .menu-head { min-height: 156px; }
.site-menu .menu-brand { gap: 13px; }
.site-menu .menu-brand .brand-badge { width: 124px; height: 124px; padding: 6px; }
.site-menu .menu-brand span:last-child { font-size: 46px; line-height: .9; }
@media (max-width: 740px) {
  .site-menu .menu-head { min-height: 124px; }
  .site-menu .menu-brand .brand-badge { width: 96px; height: 96px; padding: 5px; }
  .site-menu .menu-brand span:last-child { font-size: 36px; }
}
@media (max-width: 560px) {
  .site-menu .menu-brand .brand-badge { width: 88px; height: 88px; }
  .site-menu .menu-brand span:last-child { font-size: 31px; }
  .site-menu .menu-close { width: 54px; height: 54px; }
}
@media (max-width: 380px) {
  .site-menu .menu-brand { gap: 8px; }
  .site-menu .menu-brand .brand-badge { width: 64px; height: 64px; padding: 4px; }
  .site-menu .menu-brand span:last-child { font-size: 25px; }
}
/* Vollbild-Dialoge (Beitritt, Foto teilen): Kopf bleibt oben stehen, auch wenn die Tastatur aufgeht und das Feld nachgescrollt wird */
@media (max-width: 560px) {
  .join-dialog .join-top { position: sticky; top: 0; z-index: 3; }
  .keyboard-open .join-dialog .join-top { gap: var(--s2); padding-top: calc(var(--s2) + var(--safe-top, env(safe-area-inset-top, 0px))); padding-bottom: var(--s2); }
  .keyboard-open .join-dialog .join-top .join-kicker { display: none; }
  .keyboard-open .join-dialog .join-top h2 { font-size: 32px; }
  .join-dialog :is(input, textarea, select) { scroll-margin-top: 40vh; }
}

/* Dein Start steht jetzt unter dem Willkommensbild */
#view-start .wrap > .hero { margin-top: var(--s3) !important; }
#view-start .wrap > .hero + .app-dashboard:not([hidden]) { padding-block: var(--s3) var(--s2) !important; }
/* Breite Kachel: volle Zeile, auch wenn sie die erste ist (ältere Regel für ungerade Anzahl überschrieb das) */
.app-tiles > .app-tile.is-wide, .app-tiles > .app-tile-slot.is-wide { grid-column: 1 / -1 !important; }
.app-tile.is-wide .app-tile-icon { flex: none; }
.app-tile.is-wide { gap: var(--s2) !important; }
.app-tiles > .app-tile.is-wide.is-wide { flex-direction: row !important; align-items: center !important; min-height: 96px !important; }
.app-tiles > .app-tile.is-wide.is-wide .app-tile-label { flex: 1 !important; align-items: center !important; font-size: 18px !important; }
#view-start .wrap > .hero + .app-dashboard:not([hidden]) { margin-top: 0 !important; }
/* Zurück-Wischen in der iOS-App: Kapsel wächst mittig aus dem linken Rand (wie die Seitentaste beim iPhone), Pfeil erscheint ab der Auslöseschwelle */
.back-cue { --pull: 0; position: fixed; z-index: 80; left: 0; top: 50%; display: grid; place-items: center; width: calc(4px + min(var(--pull), 120) * .38px); height: calc(132px - min(var(--pull), 120) * .45px); border-radius: 0 999px 999px 0; background: var(--dark); color: var(--accent); opacity: 0; pointer-events: none; transform: translateY(-50%); transition: opacity .18s ease, background .18s ease, width .08s linear, height .08s linear; box-shadow: 0 8px 24px rgba(19,55,47,.22); }
.back-cue svg { width: 22px; height: 22px; margin-left: 2px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.5) translateX(-6px); transition: opacity .15s ease, transform .2s cubic-bezier(.2,.8,.2,1.4); }
.back-cue.is-active { opacity: 1; }
.back-cue.is-ready { background: var(--accent); color: var(--ink); }
.back-cue.is-ready svg { opacity: 1; transform: none; }
.back-cue.is-go { opacity: 0; width: 4px; height: 40px; transition: opacity .25s ease, width .25s ease, height .25s ease; }
@media (prefers-reduced-motion: reduce) { .back-cue, .back-cue svg { transition: opacity .15s; } }
.admin-entry { margin-bottom: var(--s3); }

/* Ausgeblendete Funktionen (Schalter in features.js): nur verborgen, nicht entfernt */
.ohne-reservierung .nur-reservierung, .ohne-beitritt .nur-beitritt { display: none !important; }
/* Mitglied werden ohne Online-Beitritt: zwei Wege nebeneinander statt einer leeren dritten Spalte */
@media (min-width: 900px) { .member-ways:has(> article.member-way:nth-of-type(2):last-of-type) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Cookie-Hinweis (consent.js): unten links, gleich gewichtete Schaltflächen */
.consent { position: fixed; z-index: 9000; left: 16px; right: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); display: flex; justify-content: flex-start; pointer-events: none; }
.consent-inner { box-sizing: border-box; overflow-y: auto; overscroll-behavior: contain;
  max-height: calc(100vh - 32px - env(safe-area-inset-bottom, 0px) - env(safe-area-inset-top, 0px));
  max-height: calc(100dvh - 32px - env(safe-area-inset-bottom, 0px) - env(safe-area-inset-top, 0px));
  pointer-events: auto; width: 100%; max-width: 520px; padding: 22px 24px 20px; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 18px 50px rgba(19,55,47,.28), 0 0 0 1px rgba(19,55,47,.06); }
.consent h2 { margin: 0 0 8px; font: 800 15px/1.25 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.consent p { margin: 0 0 16px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.consent p a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-actions .button { min-height: 48px; padding: 12px 16px; }
@media (max-width: 420px) { .consent { left: 10px; right: 10px; bottom: calc(env(safe-area-inset-bottom, 0px) + 10px); } .consent-inner { padding: 18px 18px 16px; } .consent p { font-size: 15px; margin-bottom: 14px; } .consent-actions .button { padding: 12px 10px; } }
@media (max-width: 340px) { .consent-actions { grid-template-columns: 1fr; } }
@media print { .consent { display: none; } }
.is-app .consent { bottom: calc(env(safe-area-inset-bottom, 0px) + 74px); }

/* Unterlagen unter Beiträgen: Buttons ohne Aufzählungspunkte, mit Abstand */
.article-links { list-style: none; padding-left: 0; margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.article-links li { margin: 0; max-width: 100%; }
.article-links .button { max-width: 100%; white-space: normal; text-align: left; }
@media (max-width: 560px) { .article-links { flex-direction: column; align-items: flex-start; gap: 10px; } }

.ohne-statistik [data-consent-settings] { display: none; }

@media (max-width: 760px) {
  .journal-more .topic-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9em), 1fr));
    flex-wrap: wrap !important;
    overflow: visible !important;
  }
  .journal-more .topic-links > a {
    min-width: 0;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
  }
}
