/*
  sachs.weiter – globale Styles der Website und des Cockpits.
  Bewusst ohne CSS-Framework (kein Bootstrap): Design-Tokens aus dem Altsystem
  (assets/docs/altsystem/01_website.md, „Gestaltung“). Die Konto-Seiten (Account/*)
  nutzen seit Session 20 dieselben Bausteine sw-konto-… wie die Mail-Link-Seiten.
*/

/* ---- Schriften (lokal, keine fremden Hosts) ---------------------------- */

@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("fonts/Caveat-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("fonts/Caveat-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---- Tokens ------------------------------------------------------------ */

:root {
    /* Marke */
    --sw-teal-900: #004a5e;
    --sw-teal-700: #00617b;   /* Primär (Logo-Teal) */
    --sw-teal-500: #2b8299;
    --sw-teal-100: #c5e1e8;
    --sw-teal-050: #e4f1f5;
    --sw-gold: #e3a93c;       /* nur Deko und Pillen, nie Fließtext auf hell */
    --sw-cream: #fdf3c4;
    --sw-cream-text: #6b4f00;
    --sw-white: #ffffff;
    --sw-black: #0a1418;

    /* Flächen und Linien */
    --sw-surface-page: #eef4f5;
    --sw-surface-card: #ffffff;
    --sw-surface-dark: #0f2a33;
    --sw-line: #d3e2e5;
    --sw-text: #0a1418;
    --sw-text-muted: #4a5a60;
    --sw-text-on-dark: #e8f1f3;
    --sw-danger: #b3261e;
    --sw-success: #1e7a3a;
    --sw-warning-bg: #fff4d6;
    --sw-info-bg: #e4f1f5;

    /* Kategoriefarben (Flächen ohne Foto, Pins, Kanten) mit kontrastsicheren Text-Varianten */
    --hero-clay: #a4673c;   --hero-clay-text: #7a4a28;
    --hero-brown: #b9772f;  --hero-brown-text: #7d4f1d;
    --hero-plum: #6a3f7a;   --hero-plum-text: #5a3468;
    --hero-teal: #3f6a7a;   --hero-teal-text: #2f5260;
    --hero-olive: #4a7a3f;  --hero-olive-text: #3a6131;
    --hero-ocher: #7a3f5a;  --hero-ocher-text: #67344c;
    --hero-sand: #c98a5a;   --hero-sand-text: #7d5232;
    --hero-sea: #3f7a6e;    --hero-sea-text: #2f5c53;
    --hero-sky: #2f6a8a;    --hero-sky-text: #255570;
    --hero-violet: #5b46a6; --hero-violet-text: #4a3889;
    --hero-rust: #c45f36;

    /* Raster und Maße (4-px-Raster) */
    --sw-space-1: 0.25rem;
    --sw-space-2: 0.5rem;
    --sw-space-3: 0.75rem;
    --sw-space-4: 1rem;
    --sw-space-6: 1.5rem;
    --sw-space-8: 2rem;
    --sw-space-12: 3rem;
    --sw-container: 1200px;
    --sw-text-width: 720px;
    --sw-gutter: 1rem;
    --sw-radius: 0.75rem;
    --sw-radius-lg: 1.25rem;
    --sw-radius-pill: 999px;
    --sw-header-height: 76px;
    --sw-shadow: 0 1px 2px rgba(10, 20, 24, 0.06), 0 8px 24px rgba(10, 20, 24, 0.06);
    --sw-focus: 3px solid var(--sw-teal-500);

    /* Schrift */
    --sw-font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
    --sw-font-accent: "Caveat", "Montserrat", cursive;
}

@media (max-width: 767px) {
    :root { --sw-header-height: 86px; }
}

/* ---- Grundlagen -------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-padding-top: calc(var(--sw-header-height) + 56px);
    -webkit-text-size-adjust: 100%;
}

html, body {
    margin: 0;
    overflow-x: clip;
    font-family: var(--sw-font);
    color: var(--sw-text);
    background: var(--sw-surface-page);
    line-height: 1.5;
}

body { min-height: 100vh; display: flex; flex-direction: column; }

main.site-main { flex: 1 0 auto; padding-block: var(--sw-space-6) var(--sw-space-12); }
main.site-main:focus { outline: none; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--sw-teal-700); }

h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; margin: 0 0 var(--sw-space-3); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 var(--sw-space-4); }

h1:focus { outline: none; }

code {
    background: var(--sw-teal-050);
    padding: 0.1em 0.35em;
    border-radius: 0.25rem;
    font-size: 0.95em;
}

:focus-visible { outline: var(--sw-focus); outline-offset: 2px; border-radius: 0.25rem; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.container {
    width: 100%;
    max-width: var(--sw-container);
    margin-inline: auto;
    padding-inline: var(--sw-gutter);
}

.text-width { max-width: var(--sw-text-width); }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: var(--sw-space-4);
    top: -4rem;
    z-index: 1000;
    padding: var(--sw-space-2) var(--sw-space-4);
    background: var(--sw-teal-700);
    color: var(--sw-white);
    border-radius: var(--sw-radius-pill);
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus { top: var(--sw-space-2); }

/* ---- Typografie-Bausteine ---------------------------------------------- */

.page-head { padding-block: var(--sw-space-4) var(--sw-space-6); }

.page-title .accent, .accent {
    font-family: var(--sw-font-accent);
    font-weight: 700;
    font-size: 1.25em;
    color: var(--sw-teal-500);
    letter-spacing: 0;
}

.lead { font-size: 1.1rem; color: var(--sw-text-muted); max-width: var(--sw-text-width); }

.eyebrow {
    margin: 0 0 var(--sw-space-2);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sw-teal-700);
}

.text-muted { color: var(--sw-text-muted); }

/* ---- Kopf -------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--sw-white);
    border-bottom: 1px solid var(--sw-line);
    min-height: var(--sw-header-height);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: var(--sw-space-4);
    min-height: var(--sw-header-height);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: var(--sw-space-2);
    color: var(--sw-black);
    text-decoration: none;
    flex: 0 0 auto;
}

.brand__logo { width: 40px; height: auto; border-radius: 0.4rem; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__word { font-weight: 900; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand__dot { color: var(--sw-teal-700); }
.brand__city { display: none; font-size: 0.8rem; font-weight: 600; color: var(--sw-text-muted); }

.city-switch { position: relative; flex: 0 0 auto; }

.city-switch__current {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: var(--sw-space-1);
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--sw-line);
    border-radius: var(--sw-radius-pill);
    background: var(--sw-surface-page);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
}

.city-switch__current::-webkit-details-marker { display: none; }

.city-switch__list {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    margin: 0;
    padding: var(--sw-space-2);
    list-style: none;
    min-width: 12rem;
    background: var(--sw-white);
    border: 1px solid var(--sw-line);
    border-radius: var(--sw-radius);
    box-shadow: var(--sw-shadow);
}

.city-switch__list a, .city-switch__soon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sw-space-2);
    padding: 0.45rem 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--sw-text);
    font-weight: 600;
}

.city-switch__list a:hover, .city-switch__list a[aria-current] { background: var(--sw-teal-050); }

.city-switch__soon { color: var(--sw-text-muted); }

.city-switch__soon small {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.1rem 0.45rem;
    border-radius: var(--sw-radius-pill);
    background: var(--sw-surface-page);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: var(--sw-space-1);
    flex: 1 1 auto;
}

.site-nav__link {
    padding: 0.4rem 0.75rem;
    border-radius: var(--sw-radius-pill);
    color: var(--sw-text);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

.site-nav__link:hover { background: var(--sw-teal-050); }
.site-nav__link[aria-current] { color: var(--sw-teal-700); font-weight: 800; }
.site-nav__link--soon { color: var(--sw-text-muted); }
.site-nav__link--staff { margin-left: auto; color: var(--sw-teal-700); }
.site-nav__cities, .site-nav__eyebrow { display: none; }

.site-header__actions {
    display: flex;
    align-items: center;
    gap: var(--sw-space-2);
    margin-left: auto;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid transparent;
    border-radius: var(--sw-radius-pill);
    background: transparent;
    color: var(--sw-text);
    cursor: pointer;
}

.icon-button:hover { background: var(--sw-teal-050); }
.icon-button:disabled { opacity: 0.45; cursor: default; }
.icon-button:disabled:hover { background: transparent; }

.site-menu__burger { display: none; }
.site-header__app-short { display: none; }

@media (max-width: 767px) {
    .brand__city { display: block; }
    .city-switch { display: none; }
    .site-menu__burger { display: inline-flex; }
    .site-header__app-long { display: none; }
    .site-header__app-short { display: inline; }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: var(--sw-space-1);
        padding: var(--sw-space-4);
        background: var(--sw-white);
        border-bottom: 1px solid var(--sw-line);
        box-shadow: var(--sw-shadow);
    }

    .site-header[data-menu-offen] .site-nav { display: flex; }
    .site-nav__link { padding: 0.65rem 0.75rem; font-size: 1.05rem; }
    .site-nav__cities { display: flex; flex-direction: column; gap: var(--sw-space-1); margin-top: var(--sw-space-3); padding-top: var(--sw-space-3); border-top: 1px solid var(--sw-line); }
    .site-nav__eyebrow { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sw-text-muted); padding-inline: 0.75rem; }
    .site-nav__link--staff { margin-left: 0; }
}

/* ---- Fuß --------------------------------------------------------------- */

.site-footer {
    background: var(--sw-surface-dark);
    color: var(--sw-text-on-dark);
    padding-block: var(--sw-space-12) var(--sw-space-6);
    margin-top: auto;
}

.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.site-footer__inner {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: var(--sw-space-8) var(--sw-space-6);
}

.site-footer__brand .brand__word { color: var(--sw-white); font-size: 1.4rem; }
.site-footer__brand .brand__dot { color: var(--sw-gold); }
.site-footer__claim { margin-top: var(--sw-space-2); color: rgba(232, 241, 243, 0.7); font-size: 0.9rem; }

.site-footer__col { display: flex; flex-direction: column; gap: var(--sw-space-2); font-size: 0.95rem; }

.site-footer__heading {
    margin: 0 0 var(--sw-space-2);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(232, 241, 243, 0.6);
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--sw-space-3);
    margin-top: var(--sw-space-12);
    padding-top: var(--sw-space-4);
    border-top: 1px solid rgba(232, 241, 243, 0.15);
    font-size: 0.85rem;
    color: rgba(232, 241, 243, 0.7);
}

.site-footer__account { display: inline-flex; align-items: center; gap: var(--sw-space-3); }

.site-footer .link-button { color: inherit; }

@media (max-width: 991px) {
    .site-footer__inner { grid-template-columns: repeat(2, 1fr); }
    .site-footer__brand { grid-column: 1 / -1; }
}

/* ---- Knöpfe, Pillen, Brotkrümel ---------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sw-space-2);
    padding: 0.65rem 1.25rem;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    border: 1px solid transparent;
    border-radius: var(--sw-radius-pill);
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}

.btn--primary { background: var(--sw-teal-700); color: var(--sw-white); }
.btn--primary:hover { background: var(--sw-teal-900); }
.btn--cream { background: var(--sw-cream); color: var(--sw-cream-text); }
.btn--cream:hover { background: #f7e9a8; }
.btn--outline { background: transparent; color: var(--sw-teal-700); border-color: var(--sw-teal-700); }
.btn--outline:hover { background: var(--sw-teal-050); }
.btn--ghost { background: transparent; color: var(--sw-teal-700); }
.btn--ghost:hover { background: var(--sw-teal-050); }
.btn--sm { padding: 0.45rem 0.9rem; font-size: 0.9rem; }
.btn--lg { padding: 0.85rem 1.6rem; font-size: 1.05rem; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: default; pointer-events: none; }

.btn--danger { background: var(--sw-danger); color: var(--sw-white); }
.btn--danger:hover { background: #8c1d17; }

.link-button {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: var(--sw-teal-700);
    cursor: pointer;
    text-align: left;
}

.link-button:hover { text-decoration: underline; }
.link-button:disabled { opacity: 0.6; cursor: default; text-decoration: none; }

.inline-form { display: inline; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    padding: 0.2rem 0.6rem;
    border-radius: var(--sw-radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.4;
    white-space: nowrap;
}

.badge--cream { background: var(--sw-cream); color: var(--sw-cream-text); }
.badge--light { background: var(--sw-teal-050); color: var(--sw-teal-900); }
.badge--solid { background: var(--sw-teal-700); color: var(--sw-white); }
.badge--gold { background: var(--sw-gold); color: var(--sw-black); }
.badge--ad { background: var(--sw-white); color: var(--sw-text-muted); border: 1px solid var(--sw-line); }

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sw-space-1);
    margin: 0 0 var(--sw-space-3);
    padding: 0;
    list-style: none;
    font-size: 0.8rem;
    color: var(--sw-text-muted);
}

.breadcrumbs li + li::before { content: "›"; margin-inline: var(--sw-space-1); }
.breadcrumbs a { color: inherit; }
.breadcrumbs [aria-current] { color: var(--sw-text); font-weight: 600; }

/* ---- Karten und Flächen ------------------------------------------------ */

.card {
    background: var(--sw-surface-card);
    border: 1px solid var(--sw-line);
    border-radius: var(--sw-radius-lg);
    padding: var(--sw-space-4);
}

.card-grid {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
    gap: var(--sw-space-4);
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sw-space-4);
    margin-bottom: var(--sw-space-3);
}

.placeholder-note {
    padding: var(--sw-space-4);
    border: 1px dashed var(--sw-line);
    border-radius: var(--sw-radius);
    color: var(--sw-text-muted);
    background: var(--sw-white);
}

.status-page { padding-block: var(--sw-space-12); max-width: var(--sw-text-width); }
.status-page__actions { display: flex; flex-wrap: wrap; gap: var(--sw-space-3); margin-top: var(--sw-space-6); }

/* ---- Blazor-Fehlerleiste ------------------------------------------------ */

#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 1.5rem;
    background: var(--sw-warning-bg);
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.15);
}

#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 1rem; top: 0.75rem; }

.blazor-error-boundary {
    background: var(--sw-danger);
    padding: 1rem;
    color: var(--sw-white);
}

.blazor-error-boundary::after { content: "Es ist ein Fehler aufgetreten."; }

/* =========================================================================
   Inhalts-Bausteine (Session 5): Startseite, Feed, Story-Artikel.
   Nachgebaut nach dem Testsystem; Klassen mit Präfix „sw-“, Tokens hier.
   ========================================================================= */

:root {
    --teal-900: #004a5e;
    --teal-700: #00617b;
    --teal-600: #006078;
    --teal-accent: #0a7d96;
    --teal-500: #2b8299;
    --teal-200: #a9d5e0;
    --teal-100: #c5e1e8;
    --teal-050: #e4f1f5;
    --cream: #fefcc0;
    --cream-200: #fbf3c5;
    --cream-300: #f5eaa0;
    --gold: #e3a93c;
    --gold-dark: #946610;
    --gold-700: #7d6e24;
    --gold-500: #c9992e;
    --ink-900: #16282e;
    --ink-700: #1e3a43;
    --ink-500: #4d4842;
    --ink-400: #6d6660;
    --ink-300: #9fb1b6;
    --line: #d3e2e5;
    --line-soft: #e9eef0;
    --control-line: #4c90a3;
    --surface-card: #fff;
    --surface-page: #eef4f5;
    --surface-sunk: #e6edee;
    --surface-warm: #faf7ea;
    --tag-bg: #e5f0f2;
    --scrim-mid: #0a141885;
    --saison-herbst: #b3552e;
    --saison-fruehling: #b8467a; --saison-sommer: #b0700f; --saison-winter: #2f6a8a; --saison-weihnachten: #9e2f3a;

    /* Kategorien (Orte, Stories) und Termin-Arten, je Fläche und kontrastsichere Schrift; „event“ = Termin ohne Art */
    --cat-food: #e8804d;     --cat-food-text: #a55b37;
    --cat-cafe: #c98a5a;     --cat-cafe-text: #9c632d;
    --cat-night: #7b61ff;    --cat-night-text: #6f57e5;
    --cat-kultur: #d6517f;   --cat-kultur-text: #ba466e;
    --cat-ausflug: #4a7a3f;  --cat-ausflug-text: #4a7a3f;
    --cat-shopping: #d99a2e; --cat-shopping-text: #91671f;
    --cat-park: #2e8b57;     --cat-park-text: #297d4e;
    --cat-wellness: #35729b; --cat-wellness-text: #35729b;
    --cat-freizeit: #5b46a6; --cat-freizeit-text: #5b46a6;
    --cat-event: #2b8fd6;    --cat-event-text: #2374ad;
    --cat-musik: #7b61ff;    --cat-musik-text: #6f57e5;
    --cat-buehne: #d6517f;   --cat-buehne-text: #ba466e;
    --cat-fest: #1fae8b;     --cat-fest-text: #167d64;
    --cat-sport: #2b8fd6;    --cat-sport-text: #2374ad;

    --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px;
    --space-8: 32px; --space-10: 40px; --space-12: 48px;
    --radius-sm: 12px; --radius-md: 14px; --radius-lg: 20px; --radius-xl: 26px; --radius-pill: 999px;
    --shadow-sm: 0 2px 8px #003c4b0f;
    --shadow-md: 0 8px 16px #003c4b14;
    --shadow-lg: 0 12px 30px #003c4b21;
    --shadow-primary: 0 6px 18px #00617b47;
    --focus-ring: 0 0 0 3px #00617b59;
    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --dur-base: .2s;
}

.accent, .page-title .accent { font-size: 1.3em; font-weight: 600; color: var(--teal-accent); }

.badge { height: 28px; padding: 0 13px; font-size: 11px; letter-spacing: .12em; line-height: 1; gap: 7px; }
.badge--cream { background: var(--cream); color: var(--ink-900); }
.badge--light { background: var(--tag-bg); color: var(--teal-600); }
.badge--gold { background: var(--gold-500); color: var(--ink-900); }
.badge--ad { background: var(--ink-900); color: var(--cream); border: 0; }

.sw-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sw-meta-ico { margin-inline-end: var(--space-1); font-style: normal; }
.sw-card-link { color: inherit; display: block; text-decoration: none; }
.sw-card-link:hover { color: inherit; }
.sw-empty { color: var(--ink-400); padding: var(--space-8) 0; }
.sw-events-auswahl { margin: 0 0 var(--space-4); color: var(--ink-900); font-size: 15px; font-weight: 700; }
.sw-empty-state { background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius-xl); text-align: center; box-shadow: var(--shadow-sm); padding: 32px; }
.sw-empty-state p { color: var(--ink-700); max-width: 520px; margin: 0 auto; font-size: 17px; }

h1, h2, h3, p { overflow-wrap: break-word; }

.page-head h1 { font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.page-head p { color: var(--ink-500); max-width: 640px; margin-top: 8px; font-size: 16px; }
@media (max-width: 768px) { .page-head > p { display: none; } }

/* Bilder ------------------------------------------------------------------ */

.sw-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sw-img-fade { animation: .5s both sw-img-fade-kf; }
@keyframes sw-img-fade-kf { 0% { opacity: 0; } to { opacity: 1; } }
.sw-media--empty { background-image: radial-gradient(120% 90% at 18% 0, #ffffff42, #fff0 55%), linear-gradient(155deg, #ffffff1a, #10282e61 92%) !important; }
.sw-media-fallback { color: #ffffffeb; }
.sw-media--empty .sw-media-fallback { opacity: .92; color: var(--cream); filter: drop-shadow(0 2px 16px #10282e59); font-size: 1.4em; line-height: 1; }

/* Abschnittsköpfe ----------------------------------------------------------- */

.sw-section { margin-top: var(--space-12); }
.sw-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: var(--space-4); }
.sw-section-head h2 { letter-spacing: -.02em; color: var(--ink-900); font-size: 26px; font-weight: 800; line-height: 1.05; margin: 0; }
.sw-section-head--sub h2 { font-size: 23px; }
.sw-head-action { color: var(--teal-600); white-space: nowrap; display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; font-weight: 700; text-decoration: none; }
.sw-head-note { color: var(--ink-400); align-self: flex-end; font-size: 13.5px; font-weight: 600; }

/* Saison-Band --------------------------------------------------------------- */

.sw-saison-teaser { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-bottom: var(--space-6); padding: 12px 18px; border-radius: 14px; background: var(--saison-herbst); color: #fff; box-shadow: var(--shadow-sm); font-size: 15.5px; text-decoration: none; }
.sw-saison-teaser:hover { color: #fff; filter: brightness(1.06); }
.sw-saison-teaser strong { font-weight: 800; }
.sw-saison-teaser-zahl { white-space: nowrap; margin-left: auto; font-weight: 700; }
.sw-saison-teaser-reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0 var(--space-4); }
.sw-saison-teaser--fruehling { background: var(--saison-fruehling); }
.sw-saison-teaser--sommer { background: var(--saison-sommer); }
.sw-saison-teaser--winter { background: var(--saison-winter); }
.sw-saison-teaser--weihnachten { background: var(--saison-weihnachten); }

/* Aufmacher-Raster --------------------------------------------------------- */

.sw-home-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--space-6); align-items: stretch; }
.sw-home-hero--single { grid-template-columns: minmax(0, 1fr); }
.sw-home-hero-main { display: flex; min-width: 0; }
.sw-home-hero-main .sw-card-link { flex: 1; min-width: 0; display: flex; }
.sw-home-hero-main .sw-storycard--hero, .sw-home-hero-main .sw-wekachel { flex: 1; min-width: 0; height: 100%; }
.sw-home-hero-side { display: flex; flex-direction: column; gap: var(--space-4); }
.sw-home-hero-side .sw-card-link { flex: 1; display: flex; }
.sw-home-hero-side .sw-storycard { flex: 1; }
@media (max-width: 768px) { .sw-home-hero { grid-template-columns: minmax(0, 1fr); } }

/* StoryCard (hero, split, row, grid) -------------------------------------- */

.sw-storycard { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--surface-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.sw-card-link:hover .sw-storycard { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.sw-storycard-media { position: relative; display: flex; justify-content: center; align-items: center; aspect-ratio: 16 / 10; font-size: 60px; background-color: var(--surface-sunk); }
.sw-storycard-body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 18px 20px 20px; }
.sw-storycard-body .sw-eyebrow { color: var(--teal-600); }
.sw-storycard-body :is(h2, h3) { margin: 0; color: var(--ink-900); font-size: 19px; font-weight: 700; line-height: 1.28; letter-spacing: -.01em; min-height: 2.56em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; hyphens: none; }
.sw-storycard-teaser { margin: 0; color: var(--ink-500); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; hyphens: auto; }
.sw-storycard-meta { margin: 0; margin-top: auto; padding-top: 6px; color: var(--ink-400); font-size: 12.5px; font-weight: 600; }
.sw-storycard--split { display: grid; grid-template-columns: 40% 1fr; }
.sw-storycard--split .sw-storycard-media { aspect-ratio: auto; min-height: 100%; font-size: 40px; }
.sw-storycard--split .sw-storycard-body { justify-content: center; padding: 18px 20px; }
.sw-storycard--split :is(h2, h3) { font-size: 17px; }
.sw-storycard--row { display: grid; grid-template-columns: 92px 1fr; }
.sw-storycard--row .sw-storycard-media { aspect-ratio: auto; min-height: 100%; font-size: 28px; }
.sw-storycard--row .sw-storycard-body { gap: 4px; padding: 11px 14px; }
.sw-storycard--row .sw-eyebrow { letter-spacing: .06em; font-size: 10.5px; }
.sw-storycard--row :is(h2, h3) { font-size: 14px; line-height: 1.25; min-height: 0; }
.sw-storycard--hero { position: relative; display: flex; min-height: 420px; }
.sw-storycard--hero .sw-storycard-media { position: absolute; inset: 0; aspect-ratio: auto; font-size: 92px; }
.sw-hero-scrim { position: absolute; inset: 0; background: linear-gradient(#10282e00 60%, #10282e2e 100%); }
.sw-hero-text { position: relative; z-index: 1; min-width: 0; margin-top: auto; padding: 72px 28px 28px; background: linear-gradient(#10282e00 0%, #10282ec7 58%, #10282eeb 100%); }
.sw-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sw-storycard--hero :is(h2, h3) { margin: 0; color: #fff; font-size: 32px; font-weight: 800; line-height: 1.14; letter-spacing: -.02em; text-shadow: 0 1px 12px #10282e8c; overflow-wrap: anywhere; hyphens: none; }
.sw-storycard--hero .sw-storycard-meta { margin-top: 12px; padding: 0; color: var(--cream); font-size: 14px; text-shadow: 0 1px 10px #10282e80; }
.sw-storycard--hero[data-emote=rechts] .sw-hero-text { padding-right: 42%; }
.sw-storycard--hero[data-emote=links] .sw-hero-text { padding-left: 42%; }
.sw-media-zitat { position: relative; z-index: 1; align-self: flex-start; margin-top: 40px; max-width: 30ch; padding: 0 var(--space-6); color: #fffffff2; text-align: center; text-wrap: balance; font-size: clamp(19px, 1.9vw, 26px); font-weight: 700; line-height: 1.32; text-shadow: 0 1px 12px #10282e73; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 600px) { .sw-storycard--hero:is([data-emote=links], [data-emote=rechts]) :is(h2, h3) { font-size: 26px; } }

/* Emote --------------------------------------------------------------------- */

.sw-emote-zone { position: absolute; inset: 0; z-index: 2; overflow: hidden; border-radius: inherit; pointer-events: none; }
.sw-emote-zone[data-stufe="aus"] { display: none; }
.sw-emote-boden { position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(#10282e00, #10282e59); }
.sw-emote { position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; width: 42%; height: 100%; }
.sw-emote--links { left: 0; right: auto; }
.sw-emote img { display: block; width: auto; max-width: 100%; height: auto; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 3px 8px #00000052); }
.sw-emote--L img { height: 78%; }
.sw-emote--M img { height: 68%; }
.sw-emote--S img { height: 60%; }
.sw-emote--S .sw-emote-pille { display: none; }
.sw-emote-pille { position: absolute; bottom: 8px; left: 50%; transform: translate(-50%); max-width: 220%; padding: 4px 10px; overflow: hidden; border-radius: var(--radius-pill); background: #fff; box-shadow: 0 2px 6px #00000040; color: var(--ink-900); font-size: 11px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
@media (prefers-reduced-motion: no-preference) {
    .sw-emote { animation: .26s cubic-bezier(.22, 1, .36, 1) backwards sw-emote-rein; }
    .sw-card-link:hover .sw-emote img, a:hover .sw-emote img { transform: scale(1.03); }
}
@keyframes sw-emote-rein { 0% { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Wochenend- und Highlight-Kachel ------------------------------------------ */

.sw-wekachel { display: flex; flex-direction: column; flex: 1; overflow: hidden; background: var(--surface-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); color: inherit; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.sw-card-link:hover .sw-wekachel { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.sw-wekachel-media { position: relative; flex-shrink: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--teal-900); }
.sw-wekachel-band { position: absolute; top: 12px; left: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--cream-300); color: var(--gold-700); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.sw-wekachel-band--innen { position: static; align-self: flex-start; margin-bottom: 2px; }
.sw-wekachel-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.sw-wekachel-spanne { margin: 0; color: var(--ink-900); font-size: 20px; font-weight: 800; }
.sw-wekachel-zeile { margin: 0; color: var(--ink-500); font-size: 13.5px; font-weight: 600; }
.sw-wekachel-teaser { margin: 0; color: var(--ink-700); font-size: 14.5px; }
.sw-wekachel-namen { margin: 2px 0 0; color: var(--ink-900); font-size: 15px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sw-wekachel-mehr { margin-top: 4px; color: var(--teal-700); font-size: 13.5px; font-weight: 700; }
.sw-wekachel--gross .sw-wekachel-media { flex: 1; aspect-ratio: auto; min-height: 240px; }
.sw-wekachel--klein { display: grid; grid-template-columns: 40% 1fr; }
.sw-wekachel--klein .sw-wekachel-media { aspect-ratio: auto; width: auto; min-height: 100%; }
.sw-wekachel--klein .sw-wekachel-body { justify-content: center; gap: 4px; min-width: 0; padding: 18px 20px; }
.sw-wekachel--klein .sw-wekachel-spanne { font-size: 17px; }
.sw-wekachel--klein .sw-wekachel-zeile, .sw-wekachel--klein .sw-wekachel-teaser, .sw-wekachel--klein .sw-wekachel-mehr { margin-top: 0; font-size: 12.5px; }
.sw-wekachel--klein .sw-wekachel-namen { display: none; }
.sw-wekachel--wfeed { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); width: 100%; }
.sw-wekachel--wfeed .sw-wekachel-media { aspect-ratio: 16 / 10; height: 100%; min-height: 240px; }
.sw-wekachel--wfeed .sw-wekachel-body { justify-content: center; padding: var(--space-6); }
.sw-wekachel--wfeed .sw-wekachel-spanne { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.02em; }
.sw-feedlist--raster .sw-wekachel--wfeed { grid-template-columns: 1fr; }
.sw-feedlist--raster .sw-wekachel--wfeed .sw-wekachel-media { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
.sw-feedlist--raster .sw-wekachel--wfeed .sw-wekachel-body { gap: 4px; padding: var(--space-4); }
.sw-feedlist--raster .sw-wekachel--wfeed .sw-wekachel-spanne { font-size: 18px; }
@media (max-width: 768px) {
    .sw-wekachel--wfeed { grid-template-columns: 1fr; }
    .sw-wekachel--wfeed .sw-wekachel-media { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
    .sw-wekachel--wfeed .sw-wekachel-body { padding: var(--space-4); }
    .sw-wekachel--wfeed .sw-wekachel-spanne { font-size: 21px; }
}

/* Reihen zum Wischen der Startseite (CardRow, RowArrows) ------------------- */
/* Handy: 250-px-Karten bis an den Bildschirmrand; PC: vier Karten und ein Stück der fünften. Weiche Ränder nur, solange es in
   die Richtung weitergeht (data-am-anfang/data-am-ende aus site.js; ohne Skript nur rechts). */

.sw-reihe { --reihe-sicht: 4.3; --rand-l: 0px; --rand-r: 44px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--reihe-sicht) - 1) * var(--space-4)) / var(--reihe-sicht)); gap: var(--space-4); margin: 0 -2px var(--space-3); padding: 4px 2px 16px; overflow: auto hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; list-style: none; -webkit-mask-image: linear-gradient(90deg, #0000, #000 var(--rand-l), #000 calc(100% - var(--rand-r)), #0000); mask-image: linear-gradient(90deg, #0000, #000 var(--rand-l), #000 calc(100% - var(--rand-r)), #0000); }
.sw-reihe::-webkit-scrollbar { display: none; }
.sw-reihe:focus-visible { box-shadow: inset 0 0 0 3px var(--teal-accent); border-radius: var(--radius-lg); }
/* Weiche Ränder: rechts, solange es weitergeht (dort schaut die nächste Karte angeschnitten hervor). Links nur am Ende der Reihe: Davor
   rastet die erste Karte bündig am linken Rand ein und soll ganz zu sehen sein; erst am Ende ist links eine Karte angeschnitten. */
.sw-reihe[data-am-ende]:not([data-am-anfang]) { --rand-l: 44px; }
.sw-reihe[data-am-ende] { --rand-r: 0px; }
/* Jede Karte steht in einem <li> (Liste für Screenreader); das <li> rastet ein, die Karte füllt es in Breite und Höhe. */
.sw-reihe > li { display: flex; min-width: 0; scroll-snap-align: start; }
.sw-reihe > li > * { flex: 1; min-width: 0; }
.sw-reihe > li > .sw-card-link { display: flex; }
.sw-reihe > li > .sw-card-link > * { flex: 1; min-width: 0; }
.sw-reihe .sw-slide { flex: 1; }
@media (max-width: 1023px) { .sw-reihe { --reihe-sicht: 3.3; } .sw-reihe--breit { --reihe-sicht: 2.3; } }
@media (max-width: 767px) {
    .sw-reihe, .sw-reihe--breit { grid-auto-columns: 250px; margin-inline: calc(-1 * var(--sw-gutter)); padding-inline: var(--sw-gutter); scroll-padding-inline: var(--sw-gutter); --rand-r: 24px; }
    .sw-reihe[data-am-ende]:not([data-am-anfang]) { --rand-l: 24px; }
    .sw-reihe[data-am-ende] { --rand-r: 0px; }
}
.sw-reihe-ende { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; min-height: 160px; padding: var(--space-4); border: 2px dashed var(--teal-200); border-radius: var(--radius-xl); color: var(--teal-700); font-size: 16px; font-weight: 800; text-align: center; text-decoration: none; transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.sw-reihe-ende:hover { border-color: var(--teal-500); background: var(--surface-card); color: var(--teal-700); }
.sw-head-rechts { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 14px; }
.sw-reihe-pfeile { display: none; gap: 6px; }
@media (min-width: 768px) { .sw-reihe-pfeile[data-bereit] { display: inline-flex; } }
.sw-reihe-pfeil { display: inline-flex; justify-content: center; align-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-card); color: var(--teal-700); cursor: pointer; transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.sw-reihe-pfeil:hover:not(:disabled) { border-color: var(--teal-200); box-shadow: var(--shadow-sm); }
.sw-reihe-pfeil:disabled { opacity: .35; cursor: default; }
.sw-monat-band { display: none; }
@media (max-width: 767px) {
    .sw-home-platz:not([data-art=wochenende]) { display: none; }
    .sw-home-hero-side:not(:has(.sw-home-platz[data-art=wochenende])) { display: none; }
    .sw-monat-band { display: flex; flex-direction: column; gap: 2px; margin-top: var(--space-6); padding: 10px 16px; border-radius: var(--radius-md); background: var(--cream-200); color: var(--ink-900); font-size: 14.5px; line-height: 1.35; text-decoration: none; }
    .sw-monat-band-art { color: var(--ink-500); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
    .sw-monat-band-mehr { color: var(--teal-700); font-weight: 800; }
}
.sw-home-platz { display: contents; }

/* Schieberegler „Gerade in“ / „Und jetzt?“ / Ideen ------------------------- */

.sw-slider { display: flex; gap: var(--space-4); margin: 0 -2px; padding: 4px 2px 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.sw-slider:not(.sw-feed-row) { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), #0000); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), #0000); }
.sw-slide { flex: 0 0 200px; overflow: hidden; scroll-snap-align: start; background: var(--surface-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); color: inherit; text-decoration: none; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.sw-slide:hover { color: inherit; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.sw-slide-media { position: relative; display: flex; justify-content: center; align-items: center; aspect-ratio: 4 / 3; color: #ffffffeb; font-size: 40px; background-color: var(--surface-sunk); }
.sw-slide-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.sw-slide-body .sw-eyebrow { font-size: 10.5px; }
.sw-slide-body h3 { margin: 0; color: var(--ink-900); font-size: 15px; font-weight: 800; line-height: 1.25; }
.sw-slide-district { color: var(--ink-400); font-size: 12.5px; font-weight: 600; }
.sw-feed-row { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: var(--space-4); margin: 0 -2px; padding: 4px 2px 14px; overflow: auto hidden; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), #0000); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), #0000); }
.sw-feed-row::-webkit-scrollbar { display: none; }
.sw-feed-row > * { max-width: 300px; scroll-snap-align: start; }
@media (min-width: 561px) { .sw-feed-row { grid-auto-columns: 78%; } }
@media (min-width: 768px) {
    .sw-feed-row { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; scroll-snap-type: none; -webkit-mask-image: none; mask-image: none; }
    .sw-feed-row > * { max-width: none; }
}
@media (min-width: 1024px) { .sw-feed-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sw-feed-why { position: absolute; top: 10px; left: 10px; z-index: 3; max-width: calc(100% - 20px); padding: 5px 10px; border-radius: var(--radius-pill); background: var(--cream-300); box-shadow: var(--shadow-sm); color: var(--ink-900); font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.sw-ev-wochentag { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: block; padding: 34px 14px 12px; background: linear-gradient(#10282e00 0%, #10282e47 55%, #10282e73 100%); color: #ffffffeb; font-size: 26px; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; text-align: left; }
@media (max-width: 767px) { .sw-ev-wochentag { font-size: 23px; } }
.sw-ideen-fuss { margin: 0; color: var(--ink-500); font-size: 14px; }
.sw-ideen-fuss a { color: var(--teal-600); font-weight: 700; }
.sw-ideen-head { margin-bottom: var(--space-4); color: var(--ink-900); font-size: 21px; font-weight: 800; letter-spacing: -.01em; }

/* Knöpfe (Chips) und Filterleiste ------------------------------------------ */

.sw-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 var(--space-4); }
.sw-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid var(--control-line); border-radius: var(--radius-pill); background: var(--surface-card); color: var(--ink-500); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .12s ease-out, color .12s ease-out, border-color .12s ease-out, transform .12s ease-out; }
.sw-chip:hover { color: var(--teal-600); border-color: var(--teal-500); }
.sw-chip:active { transform: scale(.96); }
.sw-chip.is-leer { opacity: .45; cursor: default; }
.sw-chip.is-leer:hover { color: var(--ink-500); border-color: var(--control-line); }
.sw-chip.is-leer:active { transform: none; }
.sw-chip.active { background: var(--teal-700); border-color: var(--teal-700); color: #fff; font-weight: 800; box-shadow: inset 0 0 0 1.5px #ffffff8c; }
.sw-chip.active::before { content: "✓"; margin-right: 1px; font-size: 11px; }
.sw-chip--icon.active::before { content: none; }
.sw-chip-kurz { display: none; }
@media (max-width: 767px) {
    .sw-filters--scroll { flex-wrap: nowrap; gap: 7px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), #0000); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), #0000); }
    .sw-filters--scroll::-webkit-scrollbar { display: none; }
    .sw-filters--scroll .sw-chip { flex: none; }
    /* Luft am Zeilenende: Der letzte Knopf lässt sich ganz aus dem weichen Rand (24 px) schieben. */
    .sw-filters--scroll::after { content: ""; flex: none; width: 17px; }
}
.sw-filterbar-wachter { height: 1px; margin-bottom: -1px; }
.sw-filterbar { position: sticky; top: var(--sw-header-height); z-index: 20; display: flex; align-items: flex-start; gap: 8px; margin: 0 0 var(--space-5); padding: 6px 0; background: var(--surface-page); transition: box-shadow .2s ease-out; }
.sw-filterbar[data-stuck] { box-shadow: 0 2px 12px #0028371a; }
.sw-filterbar-zeilen { display: flex; flex-direction: column; flex: auto; gap: 5px; min-width: 0; }
/* Ab Tablet-Breite brechen die Knöpfe um: Am PC scrollt niemand eine Zeile quer, also darf dort kein Knopf abgeschnitten sein. */
.sw-filterbar .sw-filters { gap: 8px; margin: 0; }
.sw-filterbar .sw-chip { flex: none; min-height: 36px; padding: 0 12px; font-size: 13px; }
.sw-filterbar .sw-chip--icon { justify-content: center; min-width: 36px; padding: 0 10px; }
.sw-filterbar-suche { display: flex; flex: none; align-items: center; gap: 6px; }
.sw-filterbar-suche.offen { flex: auto; min-width: 0; }
.sw-filterbar-suche input { width: 100%; min-width: 0; height: 36px; padding: 0 14px; border: 1px solid var(--control-line); border-radius: var(--radius-pill); background: var(--surface-card); color: var(--ink-900); font: inherit; font-size: 14px; }
.sw-filterbar-suche input:focus { border-color: var(--teal-accent); box-shadow: var(--focus-ring); outline: none; }
.sw-filterbar-extra { flex: none; }
@media (max-width: 767px) {
    /* Handy: eine Zeile zum Wischen mit weichem Rand rechts. Der aktive Knopf fährt in Sicht (site.js); die Luft am Ende
       (18 px + Abstand = 24 px) lässt auch den letzten Knopf ganz aus dem weichen Rand kommen. */
    .sw-filterbar .sw-filters { flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), #0000); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), #0000); }
    .sw-filterbar .sw-filters::-webkit-scrollbar { display: none; }
    .sw-filterbar .sw-filters::after { content: ""; flex: none; width: 18px; }
    .sw-filterbar[data-suche-offen] .sw-filterbar-zeilen { display: none; }
    .sw-filterbar .sw-chip--icon { min-width: 40px; }
    .sw-chip-lang { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
    .sw-chip-kurz { display: inline; }
}
.sw-feed-ansicht { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--radius-pill); background: var(--surface-sunk); }
.sw-feed-ansicht button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: none; border-radius: var(--radius-pill); background: none; color: var(--ink-400); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.sw-feed-ansicht button.active { background: var(--surface-card); color: var(--ink-900); box-shadow: var(--shadow-sm); }
@media (max-width: 767px) { .sw-feed-ansicht { display: none; } }

/* FeedCard und Feed-Liste --------------------------------------------------- */

.sw-feedlist { display: flex; flex-direction: column; gap: var(--space-6); }
.sw-feedlist--raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--space-6); }
.sw-feedlist > .sw-card-link { display: flex; }
.sw-feedcard { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); overflow: hidden; background: var(--surface-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); color: inherit; text-decoration: none; transition: transform .15s ease-out, box-shadow .15s ease-out; }
.sw-feedcard:hover { color: inherit; transform: translateY(-2px); box-shadow: 0 8px 24px #0028371f; }
.sw-feedcard-mediawrap { position: relative; overflow: hidden; }
.sw-feedcard-media { position: relative; display: flex; justify-content: center; align-items: center; height: 100%; min-height: 240px; aspect-ratio: 16 / 10; background-color: var(--surface-sunk); font-size: 46px; transition: transform .3s ease-out; }
.sw-feedcard:hover .sw-feedcard-media { transform: scale(1.03); }
.sw-feedcard-mediawrap--text .sw-feedcard-media::before { content: ""; position: absolute; inset: 0; background: #00000029; pointer-events: none; }
.sw-feedcard-zitat { position: relative; padding: 26px 28px; color: #fffffff7; font-family: var(--sw-font-accent); font-size: clamp(19px, 2.1vw, 25px); line-height: 1.32; text-align: left; text-wrap: balance; text-shadow: 0 1px 12px #0000002e; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.sw-feedcard-badges { position: absolute; top: 12px; left: 12px; z-index: 3; display: flex; flex-wrap: wrap; gap: 6px; }
.sw-feedcard-badge { padding: 5px 10px; border-radius: var(--radius-pill); background: #fffffff0; box-shadow: var(--shadow-sm); color: var(--ink-900); font-size: 11.5px; font-weight: 800; }
.sw-feedcard-badge--gem { background: #fdf3c7; }
.sw-feedcard-badge--ad { background: var(--ink-900); color: #fff; }
.sw-feedcard-badge--endet { background: var(--gold); color: var(--ink-900); }
.sw-feedcard-badge--beginnt { background: var(--tag-bg); color: var(--teal-600); }
.sw-feedcard-badge--ausser { background: #e6eaeb; color: #4a5a5f; }
.sw-feedcard-badge--heute, .sw-feedcard-badge--datum { background: #fffffff0; color: var(--ink-900); }
.sw-feedcard-body { display: flex; flex-direction: column; justify-content: center; gap: var(--space-3); min-width: 0; padding: var(--space-6); }
.sw-feedcard-body .sw-eyebrow { color: var(--teal-600); }
.sw-feedcard-title { margin: 0; color: var(--ink-900); font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sw-feedcard-teaser { margin: 0; color: var(--ink-500); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sw-feedcard-meta { margin: 0; min-height: 1.4em; color: var(--ink-400); font-size: 15px; font-weight: 600; }
.sw-feedcard-merkmale { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.sw-merkmal { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: var(--radius-pill); background: var(--tag-bg); color: var(--ink-500); font-size: 12px; font-weight: 600; white-space: nowrap; }
.sw-merkmal .sw-meta-ico { font-size: 11px; }
/* Raster und Wisch-Reihe (Saisonseiten, 09.11.2026): Karte hochkant, Bild oben */
.sw-feedlist--raster .sw-feedcard, .sw-reihe .sw-feedcard { grid-template-columns: 1fr; }
.sw-reihe .sw-feedcard { grid-template-rows: auto 1fr; }
.sw-feedlist--raster .sw-feedcard-media, .sw-reihe .sw-feedcard-media { aspect-ratio: 4 / 3; min-height: 0; }
.sw-feedlist--raster .sw-feedcard-zitat, .sw-reihe .sw-feedcard-zitat { -webkit-line-clamp: 4; padding: 18px 20px; font-size: 18px; }
.sw-feedlist--raster .sw-feedcard-body, .sw-reihe .sw-feedcard-body { justify-content: flex-start; gap: var(--space-2); padding: var(--space-4); }
.sw-feedlist--raster .sw-feedcard-title, .sw-reihe .sw-feedcard-title { font-size: 18px; }
.sw-feedlist--raster .sw-feedcard-teaser, .sw-feedlist--raster .sw-feedcard-meta, .sw-reihe .sw-feedcard-teaser, .sw-reihe .sw-feedcard-meta { font-size: 13.5px; }
.sw-feed-termin { display: grid; grid-template-columns: 140px minmax(0, 1fr); overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); background: var(--surface-card); }
.sw-feed-termin .sw-eventcard { box-shadow: none; border-radius: 0; }
.sw-feed-termin .sw-eventcard:hover { box-shadow: none; transform: none; }
.sw-feed-termin-media { position: relative; background: var(--surface-sunk); }
@media (max-width: 860px) {
    .sw-feedcard { grid-template-columns: 1fr; }
    .sw-feedcard-media { aspect-ratio: 16 / 9; min-height: 0; }
    .sw-feedcard-zitat { -webkit-line-clamp: 4; padding: 20px 22px; font-size: 19px; }
    .sw-feedcard-body { justify-content: flex-start; padding: var(--space-4); }
    .sw-feedcard-title { font-size: 21px; }
}
@media (max-width: 767px) {
    .sw-feedlist--raster { display: flex; flex-direction: column; }
    .sw-feed-termin { grid-template-columns: 1fr; }
    .sw-feed-termin-media { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
    .sw-feedlist[data-filterlauf] > * { animation: .2s ease-out backwards sw-karte-rein; }
}
@keyframes sw-karte-rein { 0% { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* EventCard (row, tile) ----------------------------------------------------- */

.sw-eventcard { display: flex; align-items: center; gap: var(--space-4); padding: 16px; background: var(--surface-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); cursor: pointer; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.sw-eventcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.sw-event-badge { display: flex; flex-direction: column; flex-shrink: 0; justify-content: center; align-items: center; width: 80px; min-height: 80px; padding: 6px 4px; border-radius: var(--radius-md); background: var(--cream-300); color: var(--ink-900); text-align: center; }
.sw-event-badge .wd { font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: .01em; }
.sw-event-badge .d { margin-top: 2px; font-size: 13px; font-weight: 600; line-height: 1.15; opacity: .7; }
.sw-event-badge--lang .wd { font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.sw-event-badge--lang .d { font-size: 12px; }
.sw-event-body { display: flex; flex-direction: column; flex: 1; gap: 4px; min-width: 0; }
/* Kategorie, Tipp und „Anzeige“ stehen links nebeneinander (wie im Termin-Popup); was nicht passt, bricht in die nächste Zeile um. */
.sw-event-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.sw-event-top .badge { height: 20px; padding: 0 8px; font-size: 10px; letter-spacing: .08em; }
.sw-event-title { margin: 0; color: var(--ink-900); font-size: 18px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; hyphens: none; }
.sw-event-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--ink-500); font-size: 13.5px; }
.sw-event-meta > span { min-width: 0; }
.sw-ev-place, .sw-ev-time { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sw-ev-time { color: var(--ink-900); font-weight: 700; font-variant-numeric: tabular-nums; }
/* Preis-Schild der Terminkarten (höchstens 24 Zeichen, EventRules.PriceShort): nie abschneiden. Die Spalte rechts ist so breit wie das
   Schild, höchstens 230px bzw. 40 % der Karte; passt der Text nicht, bricht er im Schild um. Am Handy steht das Schild unter Titel,
   Zeit und Ort (Zeile ab 768px, dichte Zeile ab 560px), damit der Titel die volle Breite behält. */
.sw-event-rechts { display: flex; flex: 0 1 auto; flex-direction: column; align-items: flex-end; gap: 6px; min-width: 0; max-width: min(230px, 40%); }
.sw-event-rechts:empty, .sw-evd-rechts:empty { display: none; }
.sw-event-rechts .sw-tag, .sw-evd-rechts .sw-tag { height: auto; min-height: 28px; max-width: 100%; padding: 5px 13px; border-radius: 14px; line-height: 1.3; text-align: center; text-wrap: balance; white-space: normal; overflow-wrap: break-word; }
.sw-ev-tipp { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--cream); color: #7a5c12; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.sw-tag { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 13px; border-radius: var(--radius-pill); background: var(--tag-bg); color: var(--teal-600); font-size: 12.5px; font-weight: 700; line-height: 1; white-space: nowrap; }
.sw-tag--gold { background: var(--cream-200); color: var(--gold-700); }
.sw-eventcard--tile { flex-direction: column; align-items: stretch; gap: var(--space-3); height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.sw-eventcard--tile:hover { box-shadow: var(--shadow-md); border-color: var(--teal-100); transform: translateY(-2px); }
.sw-eventcard--tile .sw-event-badge { flex-direction: row; align-self: flex-start; align-items: baseline; gap: 6px; width: auto; min-height: 0; padding: 6px 12px; border-radius: var(--radius-pill); }
.sw-eventcard--tile .sw-event-badge .wd { font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.sw-eventcard--tile .sw-event-badge .d { margin-top: 0; font-size: 13px; font-weight: 700; opacity: 1; }
.sw-eventcard--tile .sw-event-title { font-size: 17px; }
.sw-eventcard--tile .sw-event-meta { flex-direction: column; gap: 4px; }
.sw-eventcard--tile .sw-event-rechts { flex: none; flex-direction: row; align-self: flex-start; align-items: center; gap: 10px; max-width: 100%; margin-top: auto; padding: var(--space-2) 0 0; }
.sw-app-strip { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: var(--space-4); padding: 12px 14px 12px 20px; border: 1px solid var(--teal-100); border-radius: var(--radius-lg); background: var(--teal-050); color: var(--ink-700); text-decoration: none; }
.sw-app-strip:hover { color: var(--ink-700); border-color: var(--teal-200); }
.sw-app-strip-text { color: var(--ink-700); font-size: 14.5px; }
.sw-app-strip-text strong { color: var(--teal-700); font-weight: 800; }
.sw-app-strip .btn { flex-shrink: 0; }
@media (max-width: 768px) {
    .sw-eventcard { flex-wrap: wrap; gap: 12px; padding: 12px; }
    .sw-event-title { font-size: 16.5px; }
    .sw-event-badge { width: 64px; min-height: 64px; }
    .sw-event-badge .wd { font-size: 22px; }
    .sw-event-badge--lang .wd { font-size: 12.5px; }
    /* Eigene Zeile, eingerückt um Datumskachel (64px) plus Abstand (12px): das Schild beginnt unter dem Titel. */
    .sw-event-rechts { flex: 0 0 100%; align-items: flex-start; max-width: none; margin-top: -4px; padding-left: 76px; }
    .sw-event-meta { flex-flow: column; align-items: flex-start; gap: 2px; font-size: 13px; }
    .sw-ev-time, .sw-ev-place { display: -webkit-box; white-space: normal; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .sw-eventcard--tile { flex-wrap: nowrap; padding: 16px 18px; }
    .sw-app-strip { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 16px; text-align: center; }
}

/* Story-Artikel ------------------------------------------------------------- */

main.site-main:has(.sw-article-surface) { padding-block: 0; }
.sw-article-surface { background: #fff; }
.sw-article-wrap { display: grid; grid-template-columns: 1fr 288px; gap: 48px; max-width: 1120px; margin: 0 auto; padding: 26px var(--space-12) 64px; }
.sw-article { min-width: 0; max-width: 720px; }
.sw-article .breadcrumbs ol { font-size: 12.5px; margin-bottom: 16px; }
.sw-article h1 { color: var(--ink-900); font-size: 40px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.sw-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
/* Vorschau der Redaktion (/backend/vorschau/…) über dem Website-Inhalt: Stand, Hinweis, Weg zurück ins Formular. */
.sw-vorschau-leiste { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 10px 16px; background: var(--sw-cream); color: var(--sw-cream-text); border-bottom: 2px solid var(--sw-gold); font-size: 14px; line-height: 1.45; }
.sw-vorschau-leiste p { margin: 0; }
.sw-vorschau-leiste__text { flex: 1 1 320px; font-weight: 600; }
.sw-vorschau-leiste__links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.sw-vorschau-leiste a { color: var(--sw-teal-900); font-weight: 700; }

.sw-sponsor-hinweis { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--ink-500); font-size: 13px; }
.sw-byline { display: flex; align-items: center; gap: 12px; margin: 22px 0 20px; }
.sw-avatar { display: flex; flex-shrink: 0; justify-content: center; align-items: center; width: 38px; height: 38px; overflow: hidden; border-radius: 50%; background: var(--teal-accent); color: #fff; font-size: 15px; font-weight: 700; }
.sw-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sw-byline-main { flex: 1; min-width: 0; }
.sw-byline-name { color: var(--ink-900); font-size: 13.5px; font-weight: 700; }
.sw-byline-meta { color: var(--ink-500); font-size: 12.5px; }
.sw-article-hero { position: relative; display: flex; justify-content: center; align-items: center; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--teal-accent), var(--teal-700)); box-shadow: var(--shadow-md); color: #fff; font-size: 92px; }
.sw-caption { margin: 12px 0 26px; color: var(--ink-400); font-size: 12.5px; font-style: italic; }
.sw-article-hero + .sw-lead { margin-top: 26px; }
.sw-lead { margin-bottom: 22px; color: var(--ink-500); font-size: 19px; line-height: 1.55; }
.sw-favorite { margin: 28px 0; padding: 18px 22px; border-left: 5px solid var(--gold); border-radius: var(--radius-md); background: var(--surface-warm); color: var(--ink-900); font-size: 19px; font-weight: 600; line-height: 1.5; }
.sw-favorite .sw-eyebrow { display: block; margin-bottom: 8px; color: var(--gold-700); }
.sw-favorite p { margin: 0; }
.sw-prose { color: var(--ink-700); font-size: 17px; line-height: 1.62; }
.sw-prose > * { margin: 0; }
.sw-prose > * + * { margin-top: 18px; }
.sw-prose h2 { margin-top: 34px; color: var(--ink-900); font-size: 23px; line-height: 1.3; }
.sw-prose a { color: var(--teal-700); text-decoration: underline; }
.sw-prose ul, .sw-prose ol { padding-left: 22px; }
.sw-prose li + li { margin-top: 6px; }
.sw-prose strong { color: var(--ink-900); font-weight: 700; }
.sw-section-block h2 { margin: 34px 0 8px; color: var(--ink-900); font-size: 23px; line-height: 1.3; }
.sw-saison-band { position: relative; overflow: hidden; margin-bottom: 16px; padding: 12px 16px 12px 20px; border-radius: var(--radius-lg); background: var(--cream); color: var(--ink-900); font-size: 14.5px; line-height: 1.5; }
.sw-saison-band::before, .sw-infocard::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 5px; background: var(--gold); }
.sw-infocard { position: relative; overflow: hidden; margin: 28px 0; padding: 18px 20px 18px 22px; border-radius: var(--radius-lg); background: var(--cream); color: var(--ink-900); }
.sw-infocard-title { margin-bottom: 12px; color: var(--ink-900); font-size: 16px; font-weight: 800; }
.sw-inforow { display: flex; flex-direction: column; gap: 3px; padding: 8px 0; border-top: 1px solid #10282e14; font-size: 14px; }
.sw-inforow:first-of-type { border-top: none; }
.sw-inforow .k { color: var(--ink-500); font-size: 12.5px; font-weight: 700; }
.sw-inforow .v { color: var(--ink-700); line-height: 1.45; }
.sw-inforow a { color: var(--teal-700); }
.sw-planbox { margin: 28px 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-card); box-shadow: var(--shadow-sm); }
.sw-planbox-title { margin-bottom: 14px; font-size: 16px; font-weight: 800; }
.sw-plangrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.sw-planitem .k { color: var(--ink-400); font-size: 12px; font-weight: 600; }
.sw-planitem .v { color: var(--ink-900); font-size: 15px; font-weight: 600; }
.sw-geheimtipp { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--teal-050); color: var(--teal-900); font-size: 14px; font-weight: 700; }
.sw-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; margin: 28px 0; }
.sw-gallery figure { margin: 0; }
.sw-gallery-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-md); background: var(--surface-sunk); }
.sw-gallery figcaption { margin-top: 6px; color: var(--ink-400); font-size: 12px; }
.sw-aside { position: sticky; top: 92px; display: flex; flex-direction: column; align-self: start; gap: 16px; }
.sw-aside .sw-section-head { margin-bottom: 0; }
.sw-aside-cta { padding: 20px; border-radius: var(--radius-xl); background: var(--teal-700); color: #fff; }
.sw-aside-cta .t { margin-bottom: 8px; color: #fff; font-size: 15px; font-weight: 800; }
.sw-aside-cta .d { margin-bottom: 16px; color: var(--teal-100); font-size: 12.5px; line-height: 1.5; }
.sw-aside-cta .badge { margin-bottom: 10px; }
@media (max-width: 1023px) {
    .sw-article-wrap { grid-template-columns: 1fr; gap: 32px; padding: 20px var(--space-6) 48px; }
    .sw-aside { position: static; }
}
@media (max-width: 768px) { .sw-article h1 { font-size: 30px; } }

/* Reel-Karte ---------------------------------------------------------------- */

.sw-reel-hinweis { margin: 28px 0 8px; color: var(--ink-500); font-size: 13px; }
.sw-reelkarte { display: flex; align-items: stretch; gap: var(--space-5); margin: 28px 0; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-card); box-shadow: var(--shadow-sm); color: inherit; text-decoration: none; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.sw-reel-hinweis + .sw-reelkarte { margin-top: 0; }
.sw-reelkarte:hover { color: inherit; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sw-reelkarte-media { position: relative; display: flex; flex-shrink: 0; align-self: center; justify-content: center; align-items: center; width: 168px; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius-md); background: var(--surface-sunk); }
.sw-reelkarte-fallback { color: #ffffffeb; font-size: 44px; }
.sw-reelkarte-flags { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; gap: 6px; }
.sw-reelkarte-play { position: absolute; z-index: 1; display: flex; justify-content: center; align-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fffffff0; box-shadow: 0 4px 14px #0000004d; color: var(--teal-700); font-size: 18px; }
.sw-reelkarte-body { display: flex; flex-direction: column; flex: 1; justify-content: center; align-items: flex-start; gap: 10px; min-width: 0; padding: var(--space-2) var(--space-2) var(--space-2) 0; }
.sw-reelkarte-eyebrow { color: var(--gold-700); }
.sw-reelkarte-caption { margin: 0; color: var(--ink-900); font-size: 17px; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.sw-reelkarte-cta { display: inline-flex; align-items: center; gap: 8px; height: 42px; margin-top: 4px; padding: 0 18px; border-radius: var(--radius-md); background: var(--teal-700); box-shadow: var(--shadow-primary); color: #fff; font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.sw-reelkarte-hinweis { color: var(--ink-400); font-size: 12.5px; }
@media (max-width: 560px) {
    .sw-reelkarte { flex-direction: column; gap: var(--space-4); }
    .sw-reelkarte-media { width: min(180px, 100%); }
    .sw-reelkarte-body { align-items: center; padding: 0 var(--space-1) var(--space-1); text-align: center; }
    .sw-reelkarte-cta { justify-content: center; width: 100%; }
}

/* Termin-Popup -------------------------------------------------------------- */

.sw-modal-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; justify-content: center; align-items: center; padding: var(--space-4); background: var(--scrim-mid); overscroll-behavior: contain; animation: sw-fade-in var(--dur-base) var(--ease-out); }
.sw-modal { position: relative; width: 100%; max-width: 520px; max-height: 88dvh; overflow-y: auto; padding: var(--space-8) var(--space-6) var(--space-6); border-radius: var(--radius-xl); background: var(--surface-card); box-shadow: var(--shadow-lg); animation: sw-modal-pop var(--dur-base) var(--ease-out); }
.sw-modal-close { position: absolute; top: var(--space-3); right: var(--space-3); display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius-pill); background: var(--surface-sunk); color: var(--ink-500); font-size: 20px; line-height: 1; cursor: pointer; }
.sw-modal-close:hover { background: var(--line); color: var(--ink-900); }
.sw-modal-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-2); }
.sw-modal-title { margin-bottom: var(--space-4); padding-right: 48px; color: var(--ink-900); font-size: 23px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.sw-modal-bild { position: relative; aspect-ratio: 16 / 9; margin-bottom: var(--space-4); overflow: hidden; border-radius: var(--radius-md); }
.sw-modal-info { margin: 0 0 var(--space-4); }
.sw-modal-info > div { display: flex; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--line-soft); }
.sw-modal-info dt { flex-shrink: 0; width: 64px; color: var(--ink-400); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sw-modal-info dd { margin: 0; color: var(--ink-900); font-size: 15px; font-weight: 600; }
.sw-modal-desc { margin-bottom: var(--space-5); color: var(--ink-700); font-size: 16px; line-height: 1.55; }
.sw-modal-actions { display: flex; flex-direction: column; gap: var(--space-3); }
/* Ohne Aktionszeile (kein Ticket-Link, App-Werbung aus) endet das Fenster mit Beschreibung oder Angaben: kein doppelter Abstand unten. */
.sw-modal > :last-child { margin-bottom: 0; }
.sw-modal .sw-app-strip { margin-top: 0; }
@keyframes sw-fade-in { 0% { opacity: 0; } to { opacity: 1; } }
@keyframes sw-modal-pop { 0% { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
html.sw-scroll-lock, html.sw-scroll-lock body { overflow: hidden; }

@media (hover: none) {
    .sw-card-link:active .sw-storycard, .sw-feedcard:active, .sw-eventcard:active { transform: scale(.985); }
}

/* Orte: Verzeichnis, PlaceCard, Ortsseite (Session 6) ----------------------- */

.sw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--space-6); }
@media (prefers-reduced-motion: no-preference) {
    .sw-grid[data-filterlauf] > * { animation: .2s ease-out backwards sw-karte-rein; }
}
.sw-tag--sm { height: 22px; padding: 0 10px; font-size: 11px; }
.badge--saison-endet { background: var(--gold-500); color: var(--ink-900); }
.badge--saison-beginnt { background: var(--tag-bg); color: var(--teal-600); }
.badge--saison-ausser { background: #e6eaeb; color: #4a5a5f; }
.badge--saison-heute, .badge--saison-datum { background: #fff; color: var(--ink-900); }

.sw-placecard { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-top: 4px solid var(--teal-accent); border-radius: var(--radius-xl); background: var(--surface-card); box-shadow: var(--shadow-md); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.sw-card-link:hover .sw-placecard { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.sw-placecard-media { position: relative; display: flex; justify-content: center; align-items: center; aspect-ratio: 3 / 2; background-color: var(--surface-sunk); color: #ffffffeb; font-size: 54px; }
.sw-placecard-flags { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.sw-placecard-body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 16px 18px 18px; }
.sw-placecard-body :is(h2, h3) { display: -webkit-box; overflow: hidden; margin: 0; color: var(--ink-900); font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; hyphens: none; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sw-placecard-known { display: -webkit-box; overflow: hidden; margin: 0; color: var(--ink-500); font-size: 14px; line-height: 1.5; hyphens: auto; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sw-placecard-chips { display: flex; flex-wrap: wrap; gap: 6px; }
/* Fußzeile „Art · Stadtteil · Preis“: jeder Teil ist ein eigenes Stück und rutscht als Ganzes in die nächste Zeile – „€€“ bricht nie mitten um. */
.sw-placecard-foot { display: flex; flex-wrap: wrap; gap: 0 .3em; margin-top: auto; padding-top: 4px; color: var(--ink-400); font-size: 13px; font-weight: 600; }
.sw-aside .sw-placecard-media { aspect-ratio: 16 / 9; font-size: 40px; }
.sw-aside .sw-placecard-body :is(h2, h3) { font-size: 16px; }
@media (hover: none) {
    .sw-placecard { transition: transform .1s ease-out; }
    .sw-card-link:active .sw-placecard { transform: scale(.985); }
}

.sw-zitier { margin: var(--space-3) 0 var(--space-6); font-size: 16px; }
.sw-ort-stadtteil { margin-bottom: 0; }
.sw-typisch { margin: var(--space-4) 0 0; }
.sw-typisch .sw-eyebrow { display: block; margin-bottom: 6px; color: var(--ink-500); }
.sw-event-ticket { color: var(--teal-600); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.sw-event-ticket:hover { color: var(--teal-500); text-decoration: underline; }
.sw-ort-karte { display: inline-block; margin-top: 10px; }
.sw-ort-stand { margin-top: 10px; color: var(--ink-500); font-size: 13px; }
.sw-ort-story { margin: var(--space-8) 0; }
.sw-ort-story .sw-section-head { margin-bottom: var(--space-4); }

/* Karte: Fassade, Werkzeugleiste, Rasterkarte, Pins, Vorschau, Liste -------- */

.sw-hub-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.sw-view-toggle { display: inline-flex; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface-card); }
.sw-view-toggle a, .sw-view-toggle span { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 16px; border-radius: var(--radius-pill); color: var(--ink-500); font-size: 14px; font-weight: 700; text-decoration: none; }
.sw-view-toggle .active { background: var(--teal-700); color: #fff; }
.sw-view-toggle a:hover { color: var(--teal-600); }

.sw-map-fassade-huelle { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-4); }
.sw-map-fassade-link { align-self: flex-end; min-height: 24px; padding: 4px 6px; color: var(--ink-500); font-size: 12.5px; text-decoration: underline; }
.sw-map-fassade-link:hover { color: var(--teal-700); }
.sw-map-aufklapp { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface-card); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.sw-map-aufklapp:hover { border-color: var(--teal-200); box-shadow: var(--shadow-sm); }
.sw-map-aufklapp--aus, .sw-map-aufklapp--aus:hover { border-color: var(--line); box-shadow: none; cursor: default; }
.sw-map-aufklapp-icon { flex: none; font-size: 20px; }
.sw-map-aufklapp-text { display: flex; flex-direction: column; flex: auto; min-width: 0; }
.sw-map-aufklapp-text strong { color: var(--teal-700); font-size: 14.5px; font-weight: 800; }
.sw-map-aufklapp-text small { color: var(--ink-500); font-size: 12.5px; line-height: 1.35; }
.sw-map-aufklapp-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.sw-map-aufklapp-zahl { color: var(--ink-500); font-size: 12.5px; font-weight: 600; }
.sw-map-aufklapp-pfeil { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--teal-050); color: var(--teal-700); transition: background-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.sw-map-aufklapp:hover .sw-map-aufklapp-pfeil { background: var(--teal-100); transform: translateY(2px); }
@media (prefers-reduced-motion: reduce) { .sw-map-aufklapp:hover .sw-map-aufklapp-pfeil { transform: none; } }
/* Schmal bricht der Satz auf mehrere Zeilen um: Pille würde sich wölben, deshalb Karte mit runden Ecken. */
@media (max-width: 640px) { .sw-map-aufklapp { align-items: flex-start; border-radius: var(--radius-lg); padding: 12px 14px; } .sw-map-aufklapp-icon { margin-top: 1px; } }
.sw-map-facade { display: flex; justify-content: center; align-items: center; width: 100%; max-height: 460px; aspect-ratio: 5 / 3; padding: var(--space-4); border: none; border-radius: var(--radius-xl); background: repeating-linear-gradient(135deg, var(--surface-sunk), var(--surface-sunk) 22px, #dde7e9 22px, #dde7e9 44px); box-shadow: inset var(--shadow-md); font: inherit; cursor: pointer; }
.sw-map-facade--aus { cursor: default; }
.sw-map-facade-inner { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 22px; border-radius: var(--radius-lg); background: var(--surface-card); box-shadow: var(--shadow-md); }
.sw-map-facade:hover .sw-map-facade-inner { box-shadow: var(--shadow-lg); }
.sw-map-facade--aus:hover .sw-map-facade-inner { box-shadow: var(--shadow-md); }
.sw-map-facade-icon { font-size: 28px; }
.sw-map-facade-title { color: var(--teal-700); font-size: 18px; font-weight: 800; text-align: center; }
.sw-map-facade-sub { max-width: 36ch; color: var(--ink-500); font-size: 13px; line-height: 1.4; text-align: center; }

.sw-map-huelle { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-6); }
.sw-map-leiste { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.sw-filters--karte { display: flex; flex: auto; flex-wrap: nowrap; gap: 8px; min-width: 0; margin: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), #0000); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), #0000); }
.sw-filters--karte::-webkit-scrollbar { display: none; }
.sw-map-werkzeuge { display: flex; flex: none; gap: 6px; margin-left: auto; }
/* „Karte ausblenden ▴“: ruhiger Textknopf wie das Gegenstück „Karte anzeigen ▾“, kein loses ✕ (Disclosure-Muster). */
.sw-map-ausblenden { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--teal-700); font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-base) var(--ease-out); }
.sw-map-ausblenden:hover { background: var(--teal-050); }
.sw-map-ausblenden:active { background: var(--teal-100); }
.sw-map-ausblenden-kurz { display: none; }
/* Schmal lässt die kurze Fassung den Chips der Karte mehr Platz (der Name für Screenreader bleibt „Karte ausblenden“). */
@media (max-width: 640px) { .sw-map-ausblenden { padding: 0 10px; } .sw-map-ausblenden-lang { display: none; } .sw-map-ausblenden-kurz { display: inline; } }
.sw-map-zaehler { flex: auto; min-width: 0; color: var(--ink-400); font-size: 13.5px; font-weight: 600; }
.sw-chip-zahl { font-variant-numeric: tabular-nums; font-weight: 700; opacity: .8; }
.sw-chip.active .sw-chip-zahl { opacity: .85; }
@media (max-width: 767px) {
    .sw-filters--karte { gap: 6px; }
    .sw-filters--karte .sw-chip { flex: none; min-height: 36px; padding: 0 12px; font-size: 13px; }
}

/* Suche über der großen Karte (wie die Apps): Feld, darunter die Trefferzeile mit „Alle“. */
.sw-suche-form.sw-map-suche { max-width: none; margin: 0 0 var(--space-2); }
.sw-map-suche-zeile { display: flex; align-items: baseline; gap: var(--space-3); min-height: 24px; margin: 0 0 var(--space-3); }
.sw-map-suche-status { margin: 0; color: var(--ink-900); font-size: 14.5px; font-weight: 800; }
.sw-map-suche-alle { margin-left: auto; }
.sw-map-live { position: relative; width: 100%; max-height: 620px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-xl); background: #eaf3f5; box-shadow: var(--shadow-md); }
@media (max-width: 640px) { .sw-map-live { aspect-ratio: 4 / 5; } }
.sw-map-flaeche { position: absolute; inset: 0; overflow: hidden; outline: none; cursor: grab; touch-action: pan-x pan-y; user-select: none; -webkit-user-select: none; }
.sw-map-flaeche:focus-visible { box-shadow: inset 0 0 0 3px var(--teal-accent); }
/* Leaflet zeichnet in .sw-map-kacheln (eigener Stapel, damit seine Ebenen mit z-index 200–1000 unter den eigenen Bedienelementen bleiben);
   jeder Marker ist ein Anker ohne Größe am Punkt (.sw-map-anker), die Elemente darin richten sich per CSS aus. */
.sw-map-kacheln { position: absolute; inset: 0; z-index: 0; isolation: isolate; }
.sw-map-kacheln.leaflet-container { background: #eaf3f5; font: inherit; }
.sw-map-anker { width: 0; height: 0; }
.sw-map-loading { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; color: var(--ink-500); font-weight: 600; }
.sw-spinner { width: 26px; height: 26px; border: 3px solid var(--teal-200); border-top-color: var(--teal-700); border-radius: 50%; animation: sw-dreh .8s linear infinite; }
@keyframes sw-dreh { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sw-spinner { animation-duration: 2.4s; } }
/* Meldung des Standort-Knopfs: kleine Karte oben links auf der Karte, rechts bleibt Platz für Zoom und Standort. */
.sw-map-meldung { position: absolute; top: 10px; left: 10px; right: 56px; z-index: 5; display: flex; align-items: flex-start; gap: 8px; max-width: 420px; padding: 9px 8px 9px 12px; border-radius: var(--radius-sm); background: var(--surface-card); box-shadow: var(--shadow-md); color: var(--ink-900); }
.sw-map-meldung > .icon { flex: none; margin-top: 1px; color: var(--gold-dark); }
.sw-map-meldung p { flex: auto; margin: 0; font-size: 13.5px; line-height: 1.4; }
.sw-map-meldung-zu { display: flex; flex: none; justify-content: center; align-items: center; width: 24px; height: 24px; margin: -2px 0 0; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--ink-500); cursor: pointer; }
.sw-map-meldung-zu:hover { background: var(--surface-sunk); color: var(--ink-900); }
.sw-map-err { position: absolute; inset: 0; z-index: 7; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 24px; background: #eaf3f5; color: var(--ink-500); font-weight: 600; text-align: center; }
/* Bedienelemente oben rechts: Zoom und darunter – wie bei Google Maps, Apple Karten und Leaflet.Locate – der Standort-Knopf. */
.sw-map-knoepfe { position: absolute; top: 10px; right: 10px; z-index: 4; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.sw-map-zoom { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface-card); box-shadow: var(--shadow-sm); }
.sw-map-zoom button { width: 34px; height: 34px; border: 0; background: none; color: var(--ink-900); font: inherit; font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer; }
.sw-map-zoom button + button { border-top: 1px solid var(--line); }
.sw-map-zoom button:hover { background: var(--surface-sunk); }
/* Standortpfeil: leer = Standort nicht im Bild, gefüllt in Petrol = die Karte steht auf dem Standort; beim Suchen pulsiert er. */
.sw-map-standort { display: flex; justify-content: center; align-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: var(--radius-sm); background: var(--surface-card); box-shadow: var(--shadow-sm); color: var(--ink-900); cursor: pointer; }
.sw-map-standort:hover { background: var(--surface-sunk); }
.sw-map-standort:focus-visible { outline: 3px solid var(--teal-accent); outline-offset: 2px; }
.sw-map-standort path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.sw-map-standort.is-aktiv { color: var(--teal-700); }
.sw-map-standort.is-aktiv path { fill: currentColor; }
.sw-map-standort.is-sucht { color: var(--teal-700); }
.sw-map-standort.is-sucht svg { animation: sw-standort-puls 1s ease-in-out infinite alternate; }
@keyframes sw-standort-puls { to { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .sw-map-standort.is-sucht svg { animation: none; opacity: .6; } }
.sw-map-attribution { position: absolute; right: 0; bottom: 0; z-index: 3; padding: 2px 6px; border-top-left-radius: 6px; background: #ffffffc7; color: var(--ink-500); font-size: 10.5px; }
.sw-map-attribution a { color: inherit; }
.sw-map-geste { position: absolute; inset: 0; z-index: 4; display: flex; justify-content: center; align-items: center; padding: 24px; background: #10282e66; color: #fff; font-size: 17px; font-weight: 700; text-align: center; opacity: 0; pointer-events: none; transition: opacity .2s ease-out; }
.sw-map-geste--an { opacity: 1; }

.sw-mk { position: absolute; top: 0; left: 0; padding: 0 0 7px; border: none; background: none; cursor: pointer; transform: translate(-50%, -100%); pointer-events: auto; }
.sw-mk:focus-visible { outline: 3px solid var(--teal-accent); outline-offset: 2px; border-radius: 50%; }
.sw-mk--verdeckt { display: none; }
.sw-mk--saison .sw-mpin { opacity: .45; }
.sw-mpin { display: flex; justify-content: center; align-items: center; width: 34px; height: 34px; border: 3px solid #fff; border-radius: 50% 50% 50% 0; box-shadow: 0 3px 8px #00283766; transform: rotate(-45deg); transition: box-shadow .12s ease-out; }
.sw-mpin span { font-size: 15px; line-height: 1; transform: rotate(45deg); }
.sw-mk:hover .sw-mpin { box-shadow: 0 4px 14px #00283780, 0 0 0 4px #00617b59; }
.sw-mk-badge { position: absolute; top: -9px; right: -9px; z-index: 3; border: 1.5px solid #fff; border-radius: 9px; box-shadow: 0 1px 4px #00283759; color: #fff; font-size: 8px; font-weight: 800; }
.sw-mk-badge.gem { padding: 2px 3px; background: #5b46a6; font-size: 11px; line-height: 1; }
.sw-mk-badge.neu { padding: 2px 5px; background: #e23b3b; letter-spacing: .3px; }
.sw-mk-mehr { position: absolute; right: -8px; bottom: 3px; z-index: 4; padding: 1px 5px; border: 1.5px solid #fff; border-radius: 999px; background: var(--ink-900); color: #fff; font-size: 9.5px; font-weight: 800; line-height: 1.5; }
.sw-mk-mehr[hidden] { display: none; }
.sw-map-ich { position: absolute; top: 0; left: 0; display: block; width: 16px; height: 16px; transform: translate(-50%, -50%); border: 3px solid #fff; border-radius: 50%; background: var(--teal-accent); box-shadow: 0 0 0 4px #0a7d9640, 0 2px 6px #00283759; }

.sw-map-vorschau { position: absolute; right: 12px; bottom: 12px; left: 12px; z-index: 5; display: flex; align-items: center; gap: var(--space-3); padding: 10px 12px; border-radius: var(--radius-lg); background: var(--surface-card); box-shadow: var(--shadow-lg); animation: sw-fade-in .16s ease-out; }
.sw-map-vorschau:focus { outline: none; }
.sw-map-vorschau:focus-visible { outline: 3px solid var(--teal-accent); outline-offset: 2px; }
.sw-map-vorschau-pin { display: flex; flex: none; justify-content: center; align-items: center; width: 36px; height: 36px; border: 2px solid #fff; border-radius: 50%; box-shadow: var(--shadow-sm); font-size: 17px; }
.sw-map-vorschau-text { display: flex; flex-direction: column; flex: auto; min-width: 0; }
.sw-map-vorschau-text strong { overflow: hidden; color: var(--ink-900); font-size: 15px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.sw-map-vorschau-text small { overflow: hidden; color: var(--ink-400); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.sw-map-vorschau-zu { flex: none; padding: 6px; border: none; border-radius: 6px; background: none; color: var(--ink-400); font-size: 15px; cursor: pointer; }
.sw-map-vorschau-zu:hover { color: var(--ink-900); }
@media (max-width: 480px) {
    .sw-map-vorschau { flex-wrap: wrap; }
    .sw-map-vorschau .btn { flex: 1 0 100%; order: 3; justify-content: center; }
}

/* ---- Kartenkopf von Story und Ort (SpotMap): Karte statt Titelbild, Ränder laufen in die Seite aus ---- */
.sw-spot-huelle { gap: 4px; margin-bottom: 4px; }
.sw-spot { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-md); }
@media (max-width: 767px) { .sw-spot { aspect-ratio: 4 / 3; } }
.sw-spot--fassade { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--space-4); padding: var(--space-4); }
.sw-spot-papier, .sw-spot--live .sw-map-kacheln { -webkit-mask-image: linear-gradient(90deg, #0000, #000 9%, #000 91%, #0000), linear-gradient(#0000, #000 12%, #000 88%, #0000); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, #0000, #000 9%, #000 91%, #0000), linear-gradient(#0000, #000 12%, #000 88%, #0000); mask-composite: intersect; }
.sw-spot-papier { position: absolute; inset: 0; background:
    linear-gradient(28deg, #0000 47%, #fff 47.4%, #fff 49.6%, #0000 50%),
    linear-gradient(-62deg, #0000 58%, #fff 58.3%, #fff 59.6%, #0000 60%),
    linear-gradient(95deg, #0000 30%, #ffffffb3 30.2%, #ffffffb3 31%, #0000 31.2%),
    radial-gradient(circle at 78% 24%, #cfe5c8 0 12%, #0000 12.3%),
    radial-gradient(circle at 16% 82%, #cfe5c8 0 9%, #0000 9.3%),
    linear-gradient(170deg, #0000 64%, #b9dbe6 64.3%, #b9dbe6 70%, #0000 70.3%),
    #e9efe8; }
.sw-spot-pin { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sw-spot-foto { position: relative; display: flex; flex: none; justify-content: center; align-items: center; width: 72px; height: 72px; overflow: hidden; border: 4px solid #fff; border-radius: 50%; background: var(--pin, var(--teal-700)); box-shadow: 0 4px 14px #00283773, 0 0 0 6px color-mix(in srgb, var(--pin, var(--teal-700)) 30%, #0000); font-size: 30px; line-height: 1; }
.sw-spot-foto img, .sw-spot-foto .sw-media-fallback { width: 100%; height: 100%; object-fit: cover; }
.sw-spot-foto .sw-media-fallback { display: flex; justify-content: center; align-items: center; }
.sw-spot-schild { display: flex; flex-direction: column; align-items: center; max-width: 240px; padding: 5px 12px; border-radius: var(--radius-md); background: #fffffff0; box-shadow: var(--shadow-sm); text-align: center; line-height: 1.25; }
.sw-spot-schild strong { overflow: hidden; max-width: 100%; color: var(--ink-900); font-size: 14px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.sw-spot-schild small { color: var(--ink-500); font-size: 12px; }
.sw-spot-laden { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 44ch; text-align: center; }
.sw-spot-laden small { padding: 2px 8px; border-radius: 6px; background: #ffffffc7; color: var(--ink-500); font-size: 12px; line-height: 1.35; }
@media (max-width: 480px) { .sw-spot-laden small { display: none; } .sw-spot--fassade { gap: var(--space-3); } }
.sw-spot--live { background: transparent; }
.sw-spot-flaeche { position: absolute; inset: 0; }
.sw-map-flaeche--frei { touch-action: none; }
.sw-spot--live .sw-map-flaeche--still { cursor: default; }
.sw-spot--live .sw-map-flaeche--still .sw-map-knoepfe { display: none; }
.sw-map-spot { position: absolute; top: 0; left: 0; width: 0; height: 0; z-index: 2; pointer-events: none; }
.sw-map-spot .sw-spot-foto { position: absolute; top: -36px; left: -36px; }
.sw-map-spot .sw-spot-schild { position: absolute; top: 44px; left: 0; transform: translateX(-50%); white-space: nowrap; }
.sw-spot-bewegen { position: absolute; inset: 0; z-index: 5; display: flex; justify-content: flex-end; align-items: flex-start; padding: 12px; border: 0; background: none; font: inherit; cursor: pointer; }
.sw-spot-bewegen-pille { padding: 8px 16px; border-radius: var(--radius-pill); background: #10282ed9; color: #fff; font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow-md); transition: background var(--dur-base) var(--ease-out); }
.sw-spot-bewegen:hover .sw-spot-bewegen-pille, .sw-spot-bewegen:focus-visible .sw-spot-bewegen-pille { background: var(--teal-700); }
.sw-spot-bewegen:focus-visible { outline: none; }
.sw-spot-fertig { position: absolute; top: 10px; left: 10px; z-index: 5; }
.sw-spot-links { display: flex; justify-content: flex-end; margin: 0 0 var(--space-4); font-size: 13px; }
.sw-spot-links a { color: var(--teal-600); font-weight: 700; }
.sw-erstes-foto { margin: 0 0 var(--space-6); }
.sw-erstes-foto .sw-caption { margin-bottom: 0; }

.sw-map-alle .sw-section-head { margin-bottom: var(--space-4); }
.sw-map-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.sw-map-list-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-card); color: inherit; text-decoration: none; }
.sw-map-list-item:hover { border-color: var(--teal-200); color: inherit; }
.sw-map-list-emoji { flex-shrink: 0; font-size: 20px; }
.sw-map-list-text { display: flex; flex-direction: column; min-width: 0; }
.sw-map-list-text strong { color: var(--ink-900); font-size: 14.5px; }
.sw-map-list-text small { color: var(--ink-400); font-size: 12.5px; }

/* Ausflüge, Events, Wochenende, Highlights (Session 7) ---------------------- */

.sw-kopf-eyebrow { margin: 0 0 4px; color: var(--ink-500); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.sw-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: var(--space-4); }
.sw-event-list { display: flex; flex-direction: column; gap: 12px; }
.sw-tag-kopf-n { color: var(--ink-500); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.sw-kapitel-titel { margin: 0; color: var(--teal-700); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sw-tag-kopf { display: flex; align-items: baseline; gap: 10px; margin: 0 0 16px; }
.sw-tag-leer { margin: 0; color: var(--ink-400); font-size: 13.5px; }
.sw-laufen { margin-top: 12px; }
.sw-laufen-kopf { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--control-line); border-radius: var(--radius-pill); background: var(--surface-card); color: var(--ink-700); font-size: 13.5px; font-weight: 700; cursor: pointer; list-style: none; }
.sw-laufen-kopf::-webkit-details-marker { display: none; }
.sw-laufen-kopf:hover { color: var(--teal-600); border-color: var(--teal-500); }
.sw-laufen-pfeil { font-size: 16px; line-height: 1; transition: transform .15s ease-out; }
.sw-laufen[open] .sw-laufen-pfeil { transform: rotate(90deg); }
.sw-laufen[open] .sw-laufen-kopf { margin-bottom: 12px; }
.sw-appcta { margin: var(--space-12) 0 0; padding: 24px; border-radius: var(--radius-xl); background: var(--teal-700); box-shadow: var(--shadow-md); color: #fff; }
.sw-appcta h2, .sw-appcta h3 { margin: 0; color: #fff; font-size: 20px; font-weight: 800; }
.sw-appcta p { max-width: 62ch; margin: 8px 0 16px; color: var(--teal-100); font-size: 14px; line-height: 1.5; }
.sw-appcta--cream { background: var(--cream); color: var(--ink-900); }
.sw-appcta--cream h3 { color: var(--ink-900); }
.sw-appcta--cream p { color: var(--ink-700); }

/* Ausflüge */
.sw-ausflug { display: block; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); color: inherit; text-decoration: none; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.sw-ausflug:hover { color: inherit; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.sw-ausflug-media { position: relative; display: flex; justify-content: center; align-items: center; aspect-ratio: 3 / 2; background-color: var(--surface-sunk); color: #ffffffe6; font-size: 58px; }
.sw-ausflug-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(#10282e00 28%, #10282e8c 66%, #10282ee6 100%); }
.sw-ausflug-travel { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 11px; border-radius: var(--radius-pill); background: #10282e8c; color: #fff; font-size: 12px; font-weight: 700; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sw-ausflug-gem { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 5px 11px; border-radius: var(--radius-pill); background: var(--cream); color: var(--gold-dark); font-size: 12px; font-weight: 800; }
.sw-ausflug-text { position: absolute; right: 20px; bottom: 18px; left: 20px; z-index: 2; }
.sw-ausflug-region { display: block; min-height: 1.15em; color: var(--cream); font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-shadow: 0 1px 10px #10282e8c; text-transform: uppercase; }
.sw-ausflug-text :is(h2, h3) { display: -webkit-box; overflow: hidden; margin: 3px 0 0; color: #fff; font-size: 21px; font-weight: 800; line-height: 1.16; letter-spacing: -.01em; text-shadow: 0 1px 12px #10282e8c; hyphens: none; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sw-ausflug-zitat { position: relative; z-index: 1; display: -webkit-box; overflow: hidden; max-width: 34ch; padding: 0 var(--space-6) 64px; color: #fffffff0; font-size: clamp(17px, 1.5vw, 21px); font-weight: 700; line-height: 1.35; text-align: center; text-wrap: balance; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.sw-grid--ausfluege { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.sw-grid--ausfluege .sw-ausflug--featured { grid-area: span 2 / span 2; }
.sw-ausflug--featured .sw-ausflug-media { height: 100%; min-height: 340px; aspect-ratio: auto; font-size: 96px; }
.sw-ausflug--featured .sw-ausflug-zitat { max-width: 30ch; font-size: clamp(20px, 2vw, 27px); -webkit-line-clamp: 5; }
.sw-ausflug--featured .sw-ausflug-text :is(h2, h3) { font-size: clamp(24px, 2.6vw, 32px); }
@media (max-width: 900px) { .sw-grid--ausfluege { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .sw-ausflug--featured .sw-ausflug-media { aspect-ratio: 4 / 3; } }
@media (max-width: 640px) {
    .sw-grid--ausfluege { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .sw-grid--ausfluege .sw-ausflug--featured { grid-area: auto; }
    .sw-grid--ausfluege .sw-ausflug--featured .sw-ausflug-media { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
}
@media (hover: none) {
    .sw-ausflug { transition: transform .1s ease-out; }
    .sw-card-link.sw-ausflug:active { transform: scale(.985); }
}
.sw-ideen-nachbarn { display: grid; gap: 6px; margin-top: var(--space-10); }
.sw-ideen-nachbarn p { margin: 0; color: var(--ink-700); font-size: 16px; }
.sw-ideen-nachbarn a { color: var(--teal-700); font-weight: 700; }

/* Alle Kategorien (/{stadt}/kategorien): Gruppen mit Kacheln, ohne Treffer grau */
.sw-kategorien-gruppe { margin-top: var(--space-8); }
.sw-kategorien-titel { margin: 0 0 var(--space-3); color: var(--teal-700); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sw-kategorien-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.sw-kategorie-kachel { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface-card); color: var(--ink-900); text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color .12s ease-out, transform .12s ease-out; }
.sw-kategorie-kachel:hover { border-color: var(--teal-500); }
.sw-kategorie-kachel:active { transform: scale(.985); }
.sw-kategorie-kachel.is-leer { color: var(--ink-400); background: transparent; box-shadow: none; }
.sw-kategorie-kachel.is-leer .sw-kategorie-emoji { filter: grayscale(1); opacity: .6; }
.sw-kategorie-emoji { flex: none; font-size: 22px; line-height: 1; }
.sw-kategorie-text { display: grid; gap: 2px; min-width: 0; }
.sw-kategorie-text strong { font-size: 16px; font-weight: 800; line-height: 1.2; }
.sw-kategorie-text small { color: var(--ink-500); font-size: 13px; }
.sw-kategorie-kachel.is-leer .sw-kategorie-text small { color: var(--ink-400); }
.sw-kategorien-fuss { margin-top: var(--space-8); }

/* Events: Wochen-Kapitel, Tagesköpfe, Hinweis, Nachladen */
.sw-event-tag { margin-top: 44px; }
.sw-woche > .sw-event-tag:first-of-type { margin-top: 0; }
/* Tag, an dem nichts beginnt (10.11.2026, wie in den Apps): schmaler Block – Kopf, direkt darunter „2 laufen weiter“ bzw. der Leer-Satz. */
.sw-event-tag--ruhig { margin-top: 24px; }
.sw-event-tag--ruhig .sw-tag-kopf { margin-bottom: 8px; }
.sw-event-tag--ruhig .sw-laufen { margin-top: 0; }
.sw-uhr-gruppe + .sw-uhr-gruppe { margin-top: 28px; }
.sw-kapitel { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 72px 0; text-align: center; }
.sw-kapitel-punkte { color: var(--gold); font-size: 15px; line-height: 1; letter-spacing: .35em; }
.sw-kapitel-spanne { color: var(--ink-900); font-size: 20px; font-weight: 600; }
.sw-wochen-hinweis { position: sticky; top: calc(var(--sw-header-height) + 56px); z-index: 18; height: 0; }
.sw-wochen-hinweis[data-leer] { visibility: hidden; }
.sw-wochen-hinweis-pille { position: absolute; top: 0; right: 0; left: 0; display: flex; align-items: center; gap: var(--space-3); height: 40px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--surface-card); box-shadow: var(--shadow-sm); color: var(--ink-500); font-size: 13.5px; }
.sw-wochen-hinweis strong { color: var(--ink-900); font-weight: 800; }
.sw-wochen-hinweis-text { flex: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; animation: .15s ease-out sw-fade-in; }
.sw-wochen-hinweis-hoch { flex: none; padding: 4px 8px; border: 0; border-radius: var(--radius-pill); background: none; color: var(--teal-700); font: inherit; font-weight: 700; cursor: pointer; }
.sw-wochen-hinweis-hoch:hover { background: var(--surface-sunk); }
.sw-wochen-fuehler { height: 1px; }
.sw-wochen-ende { display: flex; justify-content: center; padding: 40px 0 8px; }
/* „Mehr laden“ unter Feed und Orte-Verzeichnis: wie der Knopf unter den Wochen der Events-Seite. */
.sw-liste-mehr { display: flex; justify-content: center; padding: 40px 0 8px; }
@media (max-width: 768px) {
    .sw-kapitel { padding: 48px 0; }
    .sw-kapitel-spanne { font-size: 17px; }
    .sw-wochen-hinweis { font-size: 12.5px; }
}

/* Dichte Terminkarte (Wochenende, Highlights) */
.sw-eventcard--dicht { flex-wrap: nowrap; gap: 14px; padding: 10px 16px 10px 12px; }
.sw-evd-zeit { display: flex; flex: 0 0 62px; flex-direction: column; justify-content: center; align-items: center; height: 50px; border-radius: var(--radius-sm); background: var(--cream-300); }
.sw-evd-zeit .z { color: var(--ink-900); font-size: 14.5px; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; }
.sw-evd-zeit .u { color: var(--gold-700); font-size: 9.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.sw-evd-zeit .emo { font-size: 20px; }
.sw-evd-text { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.sw-evd-kat { font-size: 10.5px; }
.sw-evd-titel { margin: 0; overflow: hidden; color: var(--ink-900); font-size: 16px; font-weight: 800; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
/* Block, kein Flex: text-overflow wirkt nur auf Text direkt im Block. Als Flex-Container schnitt die Zeile mitten im Wort ab, ohne „…“. */
.sw-evd-ort { display: block; overflow: hidden; color: var(--ink-500); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.sw-evd-ort .sw-meta-ico { margin-inline-end: var(--space-2); }
.sw-evd-rechts { display: flex; flex: 0 1 auto; justify-content: flex-end; min-width: 0; max-width: min(230px, 40%); }
@media (max-width: 560px) {
    .sw-eventcard--dicht { flex-wrap: wrap; gap: 6px 10px; padding: 10px 12px; }
    .sw-evd-zeit { flex-basis: 54px; height: 46px; }
    .sw-evd-zeit .z { font-size: 13px; }
    /* Am Handy trägt der Titel zwei Zeilen statt „…“ nach der ersten (wie .sw-event-title); der Ort bleibt einzeilig mit „…“. */
    .sw-evd-titel { display: -webkit-box; white-space: normal; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    /* Eigene Zeile, eingerückt um Zeitkachel (54px) plus Abstand (10px): das Schild beginnt unter dem Titel. */
    .sw-evd-rechts { flex: 0 0 100%; justify-content: flex-start; max-width: none; padding-left: 64px; }
}

/* Wochenende */
.page-head .sw-we-spanne { margin: 2px 0 0; color: var(--ink-900); font-size: 17px; font-weight: 600; }
.page-head .sw-we-zahl { margin-top: 6px; font-size: 14.5px; }
.sw-we-tage { margin: var(--space-4) 0 0; }
.sw-we-tipp { margin-top: 28px; }
.sw-we-tipp > .sw-kapitel-titel { margin-bottom: 14px; }
.sw-we-gruppe { margin-top: 40px; }
#we-liste > .sw-we-gruppe:first-child { margin-top: 32px; }
.sw-we-dauerhaft { margin-top: 18px; color: var(--ink-500); font-size: 13.5px; }
.sw-we-dauerhaft a { color: var(--teal-700); font-weight: 700; }

/* Highlights */
.sw-hl-orte { margin-top: var(--space-6); }
.sw-hl-orte > .sw-kapitel-titel { margin-bottom: 14px; }
.sw-hl-reihe { display: flex; gap: var(--space-4); margin: 0 -2px; padding: 4px 2px 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.sw-hl-ort { display: flex; flex: 0 0 200px; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-card); box-shadow: var(--shadow-sm); color: inherit; text-decoration: none; scroll-snap-align: start; }
.sw-hl-ort:hover { color: inherit; box-shadow: var(--shadow-md); }
.sw-hl-ort-media { position: relative; display: flex; justify-content: center; align-items: center; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-sunk); font-size: 34px; }
.sw-hl-ort-body { display: flex; flex-direction: column; gap: 1px; padding: 10px 12px 12px; }
.sw-hl-ort-name { overflow: hidden; color: var(--ink-900); font-size: 14.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.sw-hl-ort-ort { color: var(--ink-400); font-size: 12.5px; }
.sw-hl-gruppe { margin-top: 36px; }

/* Ideen, Suche, statische Seiten, Newsletter (Session 8) --------------------- */

/* Kopf-Suche als Combobox */
.site-search { position: relative; display: flex; align-items: center; }
.site-search__feld { display: flex; align-items: center; gap: 4px; }
.site-search__input { width: min(320px, 50vw); height: 40px; padding: 0 16px; border: 1px solid var(--control-line); border-radius: var(--radius-pill); background: var(--surface-card); color: var(--ink-900); font: inherit; font-size: 15px; }
.site-search__input:focus { border-color: var(--teal-accent); box-shadow: var(--focus-ring); outline: none; }
.site-search__panel { position: absolute; top: calc(100% + 8px); right: 0; z-index: 120; width: min(420px, calc(100vw - 32px)); max-height: min(70vh, 560px); overflow-y: auto; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-card); box-shadow: var(--shadow-lg); }
.site-search__hinweis { margin: 0; padding: 12px 10px; color: var(--ink-500); font-size: 14px; }
.site-search__liste { margin: 0; padding: 0; list-style: none; }
.site-search__gruppe { padding: 10px 10px 4px; color: var(--teal-700); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.site-search__treffer { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--radius-md); cursor: pointer; }
.site-search__treffer--aktiv, .site-search__treffer:hover { background: var(--teal-050); }
.site-search__bild { position: relative; display: flex; flex: none; justify-content: center; align-items: center; width: 44px; height: 44px; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface-sunk); font-size: 20px; }
.site-search__bild img { width: 100%; height: 100%; object-fit: cover; }
.site-search__text { display: flex; flex-direction: column; min-width: 0; }
/* Titel bis zwei Zeilen, erst dann „…“ (einzeilig blieb am Handy nur „Weihnachtsmarkt an der Frau…“); Wortungetüme brechen um. */
.site-search__text strong { display: -webkit-box; overflow: hidden; color: var(--ink-900); font-size: 15px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; hyphens: none; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.site-search__text small { overflow: hidden; color: var(--ink-400); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.site-search__fuss { display: block; margin-top: 6px; padding: 10px; border-top: 1px solid var(--line-soft); color: var(--teal-700); font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; }
.site-search__fuss:hover { background: var(--surface-sunk); border-radius: var(--radius-md); }
@media (max-width: 767px) {
    /* Offen überdeckt das Feld die ganze Kopfzeile (Logo, Burger, App passen daneben nicht hin); Bezug ist der klebende Kopf. */
    .site-search--offen { position: static; }
    .site-search--offen .site-search__feld { position: absolute; inset: 0; z-index: 110; padding: 0 16px; background: var(--sw-white); }
    .site-search__input { flex: 1; width: auto; min-width: 0; }
    .site-search__panel { right: 16px; left: 16px; width: auto; }
}

/* Große Suche */
.sw-suche-form { display: flex; gap: 10px; max-width: 640px; margin: 0 0 var(--space-6); }
.sw-suche-input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 1.5px solid var(--control-line); border-radius: var(--radius-pill); background: var(--surface-card); color: var(--ink-900); font: inherit; font-size: 17px; }
.sw-suche-input:focus { border-color: var(--teal-accent); box-shadow: var(--focus-ring); outline: none; }
.sw-suche-leer { max-width: 60ch; color: var(--ink-500); font-size: 16px; }
.sw-suche-zahl { margin: 0 0 var(--space-4); color: var(--ink-400); font-size: 14px; font-weight: 600; }
.sw-suche-gruppe { margin-top: var(--space-8); }
.sw-suche-gruppe-n { margin-left: 6px; color: var(--ink-400); font-size: 14px; font-weight: 600; }
.sw-suche-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.sw-suche-treffer { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--radius-lg); background: var(--surface-card); box-shadow: var(--shadow-sm); color: inherit; text-decoration: none; transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.sw-suche-treffer:hover { color: inherit; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sw-suche-treffer-bild { position: relative; display: flex; flex: none; justify-content: center; align-items: center; width: 64px; height: 64px; overflow: hidden; border-radius: var(--radius-md); background: var(--surface-sunk); font-size: 26px; }
.sw-suche-treffer-bild img { width: 100%; height: 100%; object-fit: cover; }
.sw-suche-treffer-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
/* Titel bis zwei Zeilen wie in der Kopf-Suche; die Unterzeile bleibt einzeilig. */
.sw-suche-treffer-text strong { display: -webkit-box; overflow: hidden; color: var(--ink-900); font-size: 16px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; hyphens: none; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sw-suche-treffer-text small { overflow: hidden; color: var(--ink-400); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }

/* Ideen-Seiten */
.sw-ideen-kopf .sw-ideen-zahl { margin-top: 6px; color: var(--ink-700); font-size: 17px; font-weight: 600; }
.sw-ideen-feedlink { margin-top: 10px; }
.sw-ideen-feedlink a { color: var(--teal-700); font-size: 14.5px; font-weight: 700; }
.sw-ideen-rang2 { margin-top: var(--space-12); padding-top: var(--space-8); border-top: 1px solid var(--line); }
.sw-ideen-grund { margin: -8px 0 var(--space-5); color: var(--ink-500); font-size: 15px; }
.sw-saison-sektion { margin-top: var(--space-10); }
/* Saisonseiten (09.11.2026): je Abschnitt eine Reihe zum Wischen (CardRow); Gast-Reihe der anderen Saison auf einer Fläche in Pastell
   (Farbe der Gast-Saison), am Handy wischt sie bis an den Rand der Fläche; Hinweis bei ungültiger Seite */
.sw-saison-gast { --gast: var(--saison-weihnachten); padding: var(--space-5) var(--space-4) var(--space-2); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--gast) 14%, #fff); }
.sw-saison-gast--winter { --gast: var(--saison-winter); }
.sw-saison-gast--herbst { --gast: var(--saison-herbst); }
/* Karten breiter als auf der Startseite (näher an der App): PC gut drei, Tablet gut zwei; lange Titel mit Trennstrich */
.sw-saison-sektion .sw-reihe { --reihe-sicht: 3.3; }
.sw-saison-sektion .sw-feedcard-title { hyphens: auto; }
@media (max-width: 1023px) { .sw-saison-sektion .sw-reihe { --reihe-sicht: 2.3; } }
@media (max-width: 767px) { .sw-saison-gast .sw-reihe { margin-inline: calc(-1 * var(--space-4)); padding-inline: var(--space-4); scroll-padding-inline: var(--space-4); } }
.sw-saison-hinweis { margin-top: 6px; color: var(--ink-700); font-size: 17px; font-weight: 600; }
@media (max-width: 768px) { .page-head.sw-ideen-kopf > p { display: block; } }

/* App-Seite */
.sw-app-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--space-10); align-items: center; padding: var(--space-6) 0 var(--space-10); }
.sw-app-hero .lead { margin-bottom: var(--space-6); }
.sw-store-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.sw-store-knopf { display: inline-flex; flex-direction: column; justify-content: center; min-width: 170px; min-height: 56px; padding: 8px 18px; border-radius: var(--radius-md); background: var(--ink-900); color: #fff; line-height: 1.15; text-decoration: none; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.sw-store-knopf:hover { color: #fff; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sw-store-sub { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.sw-store-label { font-size: 18px; font-weight: 800; }
.sw-app-zeile { margin: var(--space-4) 0 0; color: var(--ink-500); font-size: 14px; font-weight: 600; }
.sw-app-mockup { display: flex; justify-content: center; }
.sw-app-phone { position: relative; width: 240px; aspect-ratio: 9 / 18.5; padding: 14px; border-radius: 40px; background: var(--ink-900); box-shadow: var(--shadow-lg); }
.sw-app-plakette { position: absolute; top: 18px; right: -14px; z-index: 2; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--cream); color: var(--ink-900); font-size: 12px; font-weight: 800; box-shadow: var(--shadow-sm); transform: rotate(6deg); }
.sw-app-screen { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 28px 16px; border-radius: 28px; background: linear-gradient(170deg, var(--teal-050), var(--surface-page)); }
.sw-app-screen-marke { color: var(--ink-900); font-size: 20px; font-weight: 900; letter-spacing: -.02em; }
.sw-app-screen-marke b { color: var(--teal-700); }
.sw-app-screen-zeile { display: block; width: 60%; height: 10px; border-radius: 6px; background: var(--line); }
.sw-app-screen-zeile--lang { width: 85%; }
.sw-app-screen-zeile--kurz { width: 40%; }
.sw-app-screen-karte { display: block; flex: 1; border-radius: 18px; background: linear-gradient(160deg, var(--teal-200), var(--teal-700)); }
.sw-app-h2 { margin: 0 0 var(--space-4); color: var(--ink-900); font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.sw-app-vorteile ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.sw-app-vorteile li { padding: var(--space-6); border-radius: var(--radius-xl); background: var(--surface-card); box-shadow: var(--shadow-sm); }
.sw-app-emoji { display: block; margin-bottom: 10px; font-size: 32px; }
.sw-app-vorteile h2 { margin: 0 0 6px; color: var(--ink-900); font-size: 18px; font-weight: 800; }
.sw-app-vorteile p { margin: 0; color: var(--ink-500); font-size: 15px; line-height: 1.5; }
.sw-app-daten { max-width: var(--sw-text-width); margin-top: var(--space-12); }
.sw-app-daten h2, .sw-app-faq h2 { margin: 0 0 10px; color: var(--ink-900); font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.sw-app-daten p { color: var(--ink-700); font-size: 16px; line-height: 1.6; }
.sw-app-faq { max-width: var(--sw-text-width); margin-top: var(--space-12); }
.sw-faq { margin: 0; }
.sw-faq dt { padding: 14px 0 4px; border-top: 1px solid var(--line); color: var(--ink-900); font-size: 17px; font-weight: 700; }
.sw-faq dd { margin: 0 0 14px; color: var(--ink-700); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 860px) {
    .sw-app-hero { grid-template-columns: 1fr; }
    .sw-app-mockup { order: -1; }
    .sw-app-phone { width: 180px; }
}

/* Partner-Seite */
.sw-partner-zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.sw-partner-zahlen li { display: flex; flex-direction: column; gap: 2px; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface-card); box-shadow: var(--shadow-sm); }
.sw-partner-zahlen strong { color: var(--teal-700); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sw-partner-follower { color: var(--ink-900); font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.sw-partner-aufrufe { color: var(--ink-500); font-size: 14px; }
.sw-partner-summe { margin: var(--space-4) 0 0; color: var(--ink-700); font-size: 15.5px; font-weight: 600; }
.sw-partner-belege { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.sw-partner-belege li { display: flex; flex-direction: column; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface-warm); }
.sw-beleg-zahl { color: var(--teal-700); font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.sw-beleg-einheit { color: var(--ink-900); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sw-beleg-text { margin-top: 6px; color: var(--ink-500); font-size: 14.5px; line-height: 1.45; }
.sw-partner-blasen { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--space-5) var(--space-4); margin: 0; padding: 0; list-style: none; }
.sw-partner-blasen li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.sw-blase { display: flex; justify-content: center; align-items: center; width: 96px; height: 96px; overflow: hidden; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); color: inherit; text-decoration: none; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
a.sw-blase:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sw-blase img, .sw-blase-logo { width: 72%; height: 72%; object-fit: contain; }
.sw-blase-initialen { display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; color: #fff; font-size: 28px; font-weight: 800; letter-spacing: .02em; }
.sw-blase-name { color: var(--ink-500); font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.sw-partner-kontakt { margin-top: var(--space-12); padding: var(--space-8); border-radius: var(--radius-xl); background: var(--teal-700); color: #fff; text-align: center; }
.sw-partner-kontakt h2 { margin: 0 0 6px; color: #fff; font-size: 24px; font-weight: 800; }
.sw-partner-kontakt p { max-width: 48ch; margin: 0 auto var(--space-5); color: var(--teal-100); font-size: 15.5px; }
.sw-partner-kontakt .btn--primary { background: var(--cream); color: var(--ink-900); }

/* Impressum, Datenschutz */
.sw-recht .page-head .lead { display: block; }
.sw-recht-inhalt { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--space-6); }
.sw-recht-inhalt a { padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface-card); color: var(--teal-700); font-size: 13px; font-weight: 700; text-decoration: none; }
.sw-recht-inhalt a:hover { border-color: var(--teal-500); }
.sw-recht-text { max-width: var(--sw-text-width); }
.sw-recht-text h2 { margin: var(--space-10) 0 10px; color: var(--ink-900); font-size: 22px; font-weight: 800; letter-spacing: -.01em; scroll-margin-top: calc(var(--sw-header-height) + 16px); }
.sw-recht-text h2:first-child { margin-top: var(--space-4); }
.sw-recht-text h3 { margin: var(--space-8) 0 8px; color: var(--ink-900); font-size: 18px; font-weight: 800; line-height: 1.3; scroll-margin-top: calc(var(--sw-header-height) + 16px); }
.sw-recht-text h4 { margin: var(--space-6) 0 6px; color: var(--ink-900); font-size: 16px; font-weight: 800; line-height: 1.35; scroll-margin-top: calc(var(--sw-header-height) + 16px); }
.sw-recht-text h2 + h3, .sw-recht-text h3 + h4 { margin-top: var(--space-4); }
.sw-recht-text h2, .sw-recht-text h3, .sw-recht-text h4, .sw-recht-text p, .sw-recht-text li { overflow-wrap: anywhere; }
.sw-recht-text p .link-button { display: inline; font-weight: 700; text-decoration: underline; }
.sw-recht-text p { color: var(--ink-700); font-size: 16px; line-height: 1.65; }
.sw-recht-text ol, .sw-recht-text ul { margin: 0 0 var(--space-4); padding-left: 24px; color: var(--ink-700); font-size: 16px; line-height: 1.65; }
.sw-recht-text li { margin: 4px 0; }
.sw-recht-text code { padding: 1px 6px; border-radius: 6px; background: var(--surface-sunk); font-size: .9em; }
.sw-recht-stand { font-size: 14px !important; color: var(--ink-500) !important; }
@media (max-width: 767px) {
    .sw-recht-text { max-width: none; }
}

/* ===== Session 10: Konto-Rückfallseiten (/app/confirm-email, /app/reset-password) und Newsletter-Links ===== */
.sw-konto-seite .page-head .lead { display: block; }
.sw-konto-karte { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); max-width: 560px; margin-top: var(--space-4); padding: var(--space-8); border-radius: var(--radius-xl); background: var(--cream); }
.sw-konto-karte > p { margin: 0; color: var(--ink-700); font-size: 15px; line-height: 1.55; }
.sw-konto-form { display: flex; flex-direction: column; gap: var(--space-4); width: 100%; }
.sw-konto-feld { display: flex; flex-direction: column; gap: 6px; color: var(--ink-900); font-size: 14px; font-weight: 700; }
.sw-konto-feld input { height: 48px; padding: 0 16px; border: 1.5px solid var(--control-line); border-radius: var(--radius-md); background: #fff; color: var(--ink-900); font: inherit; font-size: 16px; font-weight: 400; }
.sw-konto-hinweis { margin: 0; color: var(--ink-500); font-size: 13px; }
.sw-konto-form .btn { align-self: flex-start; }
.sw-konto-ok { padding: 14px 18px; border-radius: var(--radius-md); background: var(--surface-card); color: var(--ink-900); font-size: 16px; font-weight: 700; outline: none; }
.sw-konto-fehler { margin: 0; padding-left: 0; list-style: none; color: #9e3b3b; font-size: 14px; font-weight: 600; }
@media (max-width: 768px) { .sw-konto-karte { padding: var(--space-5); } }

/* ===== Session 20: Konto-Seiten (/Account/*) – dieselben Karten wie die Mail-Link-Seiten ===== */
.sw-konto-karte h2 { margin: 0; font-size: 1.25rem; }
.sw-konto-karte + .sw-konto-karte { margin-top: var(--space-4); }
.sw-konto-karte--gefahr { box-shadow: inset 0 0 0 2px #f5c2c0; }
.sw-konto-feld small { color: var(--ink-500); font-weight: 500; }
.sw-konto-feld input:focus-visible { outline: var(--sw-focus); outline-offset: 1px; }
.sw-konto-check { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-700); font-size: 14px; line-height: 1.45; cursor: pointer; }
.sw-konto-check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--sw-teal-700); }
.sw-konto-oder { display: flex; align-items: center; align-self: stretch; gap: 12px; margin: 0; color: var(--ink-500); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sw-konto-oder::before, .sw-konto-oder::after { content: ""; flex: 1; border-top: 1px solid var(--control-line); }
.sw-konto-links { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.sw-konto-status { margin: 0; padding: 12px 16px; border-radius: var(--radius-md); background: var(--surface-card); color: var(--ink-900); font-size: 15px; font-weight: 700; }
.sw-konto-status--fehler { background: #fdecea; color: #7d1a14; }
.sw-konto-umzug { margin: 0; padding: 12px 16px; border-left: 4px solid var(--sw-teal-700); border-radius: var(--radius-md); background: var(--surface-card); color: var(--ink-700); font-size: 14px; line-height: 1.5; }
.sw-konto-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin: 0; }
.sw-konto-raster { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: var(--space-6); margin-top: var(--space-4); }
.sw-konto-inhalt { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.sw-konto-inhalt .sw-konto-karte { max-width: 640px; margin-top: 0; }
.sw-konto-nav { display: flex; flex-direction: column; gap: 4px; }
.sw-konto-nav a { padding: 10px 14px; border-radius: var(--radius-md); color: var(--ink-700); font-weight: 700; text-decoration: none; }
.sw-konto-nav a:hover { background: var(--surface-card); }
.sw-konto-nav a.active { background: var(--sw-teal-700); color: var(--sw-white); }
.sw-konto-daten { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: 15px; }
.sw-konto-daten dt { color: var(--ink-500); font-weight: 700; }
.sw-konto-daten dd { margin: 0; color: var(--ink-900); overflow-wrap: anywhere; }
.sw-konto-liste { display: flex; flex-direction: column; gap: 8px; width: 100%; margin: 0; padding: 0; list-style: none; }
.sw-konto-liste li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-radius: var(--radius-md); background: var(--surface-card); }
.sw-konto-liste__name { font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 768px) {
    .sw-konto-raster { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
    .sw-konto-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
    .sw-konto-nav a { padding: 8px 12px; background: var(--surface-card); font-size: 14px; }
    .sw-konto-daten { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .sw-konto-daten dd { margin-bottom: 8px; }
}

/* ===== Session 12: NFC-Tap-Seite (/nfc/t, eigenständiges Dokument) ===== */
.sw-nfc { align-items: center; justify-content: center; padding: var(--sw-space-4); background: var(--surface-page); }
.sw-nfc-karte { display: flex; flex-direction: column; align-items: center; gap: var(--sw-space-4); width: 100%; max-width: 440px; padding: var(--sw-space-8) var(--sw-space-6); border-radius: var(--sw-radius-lg); background: var(--surface-card); box-shadow: var(--sw-shadow); text-align: center; }
.sw-nfc-marke { color: var(--sw-teal-700); font-size: 1.25rem; font-weight: 800; text-decoration: none; }
.sw-nfc-marke span { color: var(--sw-gold); }
.sw-nfc-emoji { margin: 0; font-size: 3rem; line-height: 1; }
.sw-nfc-karte h1 { margin: 0; color: var(--ink-900); font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
.sw-nfc-karte .eyebrow { margin: 0; }
.sw-nfc-text { margin: 0; color: var(--ink-700); font-size: 1rem; line-height: 1.55; }
.sw-nfc-neben { margin: 0; font-size: 0.95rem; }
.sw-nfc-neben a { color: var(--sw-teal-700); font-weight: 600; }
/* Konnektor-Anmeldung /backend/oauth/authorize: dieselbe Karte wie die Tap-Seite, dazu Liste der Rechte und zwei Knöpfe. */
.sw-verbinden-liste { margin: 0; padding-left: 1.25em; color: var(--ink-700); font-size: 0.95rem; line-height: 1.5; text-align: left; }
.sw-verbinden-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sw-space-3); }

/* ===== Session 14: Einwilligungsdialog, Fassaden, Datenschutz-Tabellen ===== */
/* Rahmen um die Seiten im Wurzel-Dokument: ohne eigene Box (Layout wie bisher), wird bei offenem Dialog inert. */
.sw-app { display: contents; }
.sw-consent { position: fixed; inset: 0; z-index: 1100; display: flex; justify-content: center; align-items: flex-end; padding: var(--space-4); background: var(--scrim-mid); overscroll-behavior: contain; animation: sw-fade-in var(--dur-base) var(--ease-out); }
.sw-consent[hidden] { display: none; }
.sw-consent-box { position: relative; width: 100%; max-width: 560px; max-height: calc(100dvh - 2 * var(--space-4)); overflow-y: auto; padding: var(--space-6); border-radius: var(--radius-xl); background: var(--surface-card); box-shadow: var(--shadow-lg); color: var(--ink-900); outline: none; }
.sw-consent-ebene { display: flex; flex-direction: column; gap: var(--space-3); }
.sw-consent-ebene[hidden] { display: none; }
.sw-consent-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); }
.sw-consent-titel { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.25; }
.sw-consent-zu { flex-shrink: 0; display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; margin: -8px -8px 0 0; border: 0; border-radius: var(--radius-pill); background: var(--surface-sunk); color: var(--ink-500); font-size: 20px; line-height: 1; cursor: pointer; }
.sw-consent-zu:hover { background: var(--line); color: var(--ink-900); }
.sw-consent-liste { display: flex; flex-direction: column; gap: 6px; margin: 0; padding-left: 18px; color: var(--ink-700); font-size: 15px; line-height: 1.5; }
.sw-consent-anbieter { color: var(--ink-500); font-size: 13.5px; }
.sw-consent-satz { margin: 0; color: var(--ink-700); font-size: 15px; line-height: 1.5; }
.sw-consent-knoepfe { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-2); }
.sw-consent-wahl { width: 100%; justify-content: center; }
.sw-consent-fuss { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2); margin: 0; font-size: 13.5px; }
.sw-consent-links a { color: var(--ink-500); }
.sw-consent-fehler { margin: 0; color: #9e3b3b; font-size: 14px; font-weight: 700; }
.sw-consent-fehler:empty { display: none; }
.sw-consent-signal { margin: 0; padding: 10px 14px; border-radius: var(--radius-md); background: var(--surface-sunk); color: var(--ink-700); font-size: 13.5px; }
.sw-consent-signal[hidden] { display: none; }
.sw-consent-zeile { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.sw-consent-zeile-text { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.sw-consent-zeile-text small { color: var(--ink-500); font-size: 13px; line-height: 1.45; }
.sw-schalter { position: relative; flex-shrink: 0; width: 52px; height: 32px; padding: 0; border: 0; border-radius: var(--radius-pill); background: #b9c6c9; cursor: pointer; transition: background-color .15s ease-out; }
.sw-schalter-knopf { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .15s ease-out; }
.sw-schalter[aria-checked="true"] { background: var(--teal-700); }
.sw-schalter[aria-checked="true"] .sw-schalter-knopf { transform: translateX(20px); }
.sw-schalter:focus-visible, .sw-consent-zu:focus-visible { box-shadow: var(--focus-ring); outline: none; }
.sw-consent-toast { position: fixed; left: 50%; bottom: var(--space-4); z-index: 1100; max-width: min(520px, calc(100% - 2 * var(--space-4))); padding: 12px 18px; border-radius: var(--radius-md); background: var(--ink-900); box-shadow: var(--shadow-lg); color: #fff; font-size: 14.5px; font-weight: 600; transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity .2s ease-out; }
.sw-consent-toast--an { opacity: 1; }
.sw-consent-toast:empty { padding: 0; }
@media (min-width: 769px) { .sw-consent { align-items: center; } }
@media (prefers-reduced-motion: reduce) { .sw-consent { animation: none; } .sw-schalter, .sw-schalter-knopf, .sw-consent-toast { transition: none; } }

/* Fassaden (EmbedFacade): Häkchen „künftig direkt laden“, Zeile „Lädt direkt …“ */
.sw-fassade-huelle { display: flex; flex-direction: column; gap: 6px; }
.sw-fassade { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); padding: var(--space-5); border-radius: var(--radius-xl); background: var(--surface-sunk); }
.sw-fassade-satz { margin: 0; color: var(--ink-700); font-size: 14.5px; }
.sw-fassade-fuss { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; }
.sw-fassade-fuss .sw-map-fassade-link { margin-left: auto; }
.sw-fassade-merken { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--ink-500); font-size: 13px; cursor: pointer; }
.sw-fassade-merken input { width: 18px; height: 18px; margin: 0; accent-color: var(--teal-700); }
.sw-fassade-direkt { margin: 0; color: var(--ink-500); font-size: 13px; }
/* Geladen: der Fuß sitzt dicht unter der Karte, die sonst unten Abstand zur nächsten Zeile hält. */
.sw-fassade-huelle > .sw-map-huelle { margin-bottom: 0; }
.sw-fassade-fuss--offen { min-height: 32px; }
.sw-fassade-direkt .link-button { font-size: inherit; }

