:root {
    --font-body: "Inter", system-ui, sans-serif;
    --font-heading: "Cormorant Garamond", Georgia, serif;

    /* Brand palette — dunkler Alpen-Winterabend, echtes Logo-Blau als
       Primärfarbe + edles, entsättigtes Champagner-Gold als Akzent.
       Gold-Ton uebernommen aus dem personalfitness-Projekt (Werte aus
       dessen Logo: --pf-gold-soft #ccbc94 / --pf-gold #a09371) -- deutlich
       weniger Chroma als ein "Senfgelb", wirkt dadurch edel statt laut. */
    --color-bg: oklch(0.10 0 0);
    --color-surface: oklch(0.16 0.008 252);
    --color-ink: oklch(0.96 0.004 252);
    --color-muted: oklch(0.68 0.006 252);
    --color-primary: oklch(0.50 0.125 252);
    --color-primary-strong: oklch(0.34 0.105 252);
    --color-primary-ink: oklch(0.99 0 0);
    --color-accent: oklch(0.80 0.058 89);
    --color-accent-strong: oklch(0.665 0.050 89.6);
    --color-accent-ink: oklch(0.24 0.03 89);

    /* Ambientes Fassaden-Licht fuer den Seitenhintergrund -- Magenta/Blau
       wie die Strahler auf den Weihnachtsmarkt-Haeusern im Hero-Video,
       sehr niedrige Deckkraft, damit es Stimmung gibt statt zu faerben. */
    --glow-magenta: oklch(0.5 0.22 330 / 0.24);
    --glow-blue: oklch(0.52 0.2 252 / 0.26);
    --glow-gold: oklch(0.75 0.06 89 / 0.14);

    /* Motion: ease-out-quart per Emil Kowalski's animation guidance */
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    box-sizing: border-box;
}

body {
    position: relative;
    margin: 0;
    background: var(--color-bg);
    color: var(--color-ink);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

/* Dezentes Fassaden-Licht ueber die ganze Seite, nicht nur im Hero.
   position:fixed ist hier ein Implementierungsdetail, kein visuelles
   "klebt am Viewport" -- assets/js/bg-glow.js macht daraus per transform
   einen Parallax mit 40% Scroll-Geschwindigkeit (bewegt sich also klar
   mit, nur langsamer). fixed statt absolute, weil ein transformiertes
   absolute-Element sonst die Scrollhoehe des Dokuments aufbläht (jeder
   Scroll-Schritt vergroesserte den Scrollbereich weiter, konvergierend
   aber sichtbar falsch) -- fixed-Elemente zaehlen nie zum Scrollbereich,
   die Bild-"Leinwand" ist deshalb hoeher als der Viewport und wird per JS
   auf die tatsaechliche Seitenlaenge skaliert. */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    will-change: transform;
    background:
        radial-gradient(34rem 26rem at 8% 30%, var(--glow-magenta), transparent 62%),
        radial-gradient(58rem 40rem at 24% 35%, var(--glow-blue), transparent 60%),
        radial-gradient(50rem 34rem at 95% 48%, var(--glow-blue), transparent 60%),
        radial-gradient(26rem 20rem at 80% 44%, var(--glow-magenta), transparent 65%),
        radial-gradient(30rem 24rem at 10% 65%, var(--glow-blue), transparent 65%),
        radial-gradient(44rem 30rem at 18% 70%, var(--glow-magenta), transparent 62%),
        radial-gradient(24rem 18rem at 90% 84%, var(--glow-magenta), transparent 68%),
        radial-gradient(52rem 36rem at 70% 88%, var(--glow-blue), transparent 62%),
        radial-gradient(36rem 26rem at 55% 56%, var(--glow-gold), transparent 68%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

a {
    color: inherit;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
}

.hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.brand-mark {
    position: absolute;
    top: clamp(1.25rem, 3vw, 2rem);
    left: clamp(1.25rem, 5vw, 4rem);
    z-index: 2;
    display: inline-flex;
    line-height: 0;
    transition: opacity 0.25s var(--ease-out-quart);
}

.brand-mark img {
    display: block;
    height: clamp(2.5rem, 4vw, 3.25rem);
    width: auto;
    border-radius: 0.4rem;
    filter: drop-shadow(0 2px 10px oklch(0 0 0 / 0.4));
    transition: transform 0.25s var(--ease-out-quart);
}

.brand-mark:hover {
    opacity: 0.85;
}

/* Hero-Brand-Mark: ab Tablet deutlich größer, mit Wortmarke (Hauptlogo
   via <picture>-Quelle); auf Mobile bleibt die reine Bildmarke klein. */
@media (min-width: 768px) {
    .hero .brand-mark img {
        height: clamp(7.5rem, 12vw, 9.75rem);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .brand-mark:active img {
        transform: scale(0.97);
    }
}

/* Dezenter Schneefall — reines transform/opacity, kein "top/left"-Tween,
   fixe Seed (mt_srand) für ein stabiles, nicht zufällig neu gewürfeltes
   Muster bei jedem Seitenaufruf. Fixed statt hero-gebunden: fällt über
   die gesamte Seite hinweg, unabhängig vom Scroll-Stand. */
.snowfall {
    position: fixed;
    inset: 0;
    z-index: 5;
    overflow: hidden;
    pointer-events: none;
}

.snowfall__flake {
    position: absolute;
    top: -5%;
    left: var(--x);
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: oklch(0.98 0 0);
    filter: blur(0.5px);
    opacity: 0;
    animation: snowfall-fall var(--duration) linear var(--delay) infinite;
}

@keyframes snowfall-fall {
    0% {
        transform: translate3d(0, 0, 0);
        opacity: 0;
    }
    8% {
        opacity: var(--flake-opacity);
    }
    92% {
        opacity: var(--flake-opacity);
    }
    100% {
        transform: translate3d(var(--drift), 115vh, 0);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .snowfall {
        display: none;
    }
}

.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg,
            oklch(0.10 0 0 / 0.25) 0%,
            oklch(0.10 0 0 / 0.35) 45%,
            oklch(0.10 0 0 / 0.82) 100%),
        radial-gradient(120% 90% at 15% 100%,
            oklch(0.30 0.09 252 / 0.55) 0%,
            transparent 60%);
}

.hero__content {
    position: relative;
    width: 100%;
    padding-top: clamp(2rem, 6vw, 5rem);
    padding-bottom: clamp(3rem, 8vw, 6rem);
}

.hero__content-inner {
    max-width: 60rem;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent-ink);
    background: var(--color-accent);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    margin: 0 0 1.25rem;
}

.hero__title {
    font-size: clamp(2.25rem, 3vw + 2rem, 5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin: 0 0 1.1rem;
    color: var(--color-ink);
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 0.4vw + 1rem, 1.35rem);
    font-weight: 400;
    color: oklch(0.92 0.004 252 / 0.85);
    max-width: 38rem;
    margin: 0 0 2rem;
}

.hero__cues {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero__scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-ink);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid oklch(0.96 0.004 252 / 0.35);
    transition: border-color 0.25s var(--ease-out-quart), color 0.25s var(--ease-out-quart);
}

.hero__scroll-cue:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.hero__scroll-cue svg {
    width: 1rem;
    height: 1rem;
    animation: hero-cue-bob 2.2s var(--ease-out-quart) infinite;
}

@keyframes hero-cue-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero__scroll-cue svg {
        animation: none;
    }
}

/* Load-in reveal for hero copy: visible by default, JS only arms the
   transition so no-JS / reduced-motion visitors always see it. */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s var(--ease-out-quart), transform 0.7s var(--ease-out-quart);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal.reveal-init {
        opacity: 0;
        transform: translateY(16px);
    }

    .reveal--scale.reveal-init {
        transform: translateY(14px) scale(0.97);
    }
}

/* ---------- Orte / Bento ---------- */

.orte {
    padding-top: clamp(3.5rem, 8vw, 6.5rem);
    padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
}

.orte__intro {
    max-width: 40rem;
    margin: 0 0 clamp(2rem, 4vw, 3rem);
}

.orte__heading {
    font-size: clamp(1.75rem, 1.4vw + 1.4rem, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.75rem;
    color: var(--color-ink);
}

.orte__lead {
    color: var(--color-muted);
    font-size: 1.05rem;
    margin: 0;
}

/* Bento tiling is data-driven (N Orte from der DB), not hand-placed.
   A repeating 6-item pattern (big / tall / tall / wide / normal / normal)
   tiles cleanly across a 4-column grid via dense auto-placement. */
.bento {
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(9rem, 18vw, 14rem);
    gap: clamp(0.5rem, 1.2vw, 1rem);
}

.bento-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.bento-item:nth-child(6n+2) { grid-column: span 1; grid-row: span 2; }
.bento-item:nth-child(6n+3) { grid-column: span 1; grid-row: span 2; }
.bento-item:nth-child(6n+4) { grid-column: span 2; grid-row: span 1; }
.bento-item:nth-child(6n+5) { grid-column: span 1; grid-row: span 1; }
.bento-item:nth-child(6n+6) { grid-column: span 1; grid-row: span 1; }

.bento-item {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    display: block;
}

.bento-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, oklch(0.08 0 0 / 0.82) 100%);
}

.bento-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out-quart);
}

@media (hover: hover) and (pointer: fine) {
    .bento-item:hover img {
        transform: scale(1.045);
    }
}

.bento-item__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 0.9rem 1rem;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 0.6vw + 0.85rem, 1.3rem);
    font-weight: 600;
    color: var(--color-ink);
}

@media (max-width: 767.98px) {
    .bento {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .bento-item,
    .bento-item:nth-child(6n+1),
    .bento-item:nth-child(6n+2),
    .bento-item:nth-child(6n+3),
    .bento-item:nth-child(6n+4),
    .bento-item:nth-child(6n+5),
    .bento-item:nth-child(6n+6) {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 4 / 3;
    }
}

/* ---------- Footer ---------- */

.site-footer {
    border-top: 1px solid oklch(0.96 0.004 252 / 0.08);
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
    font-size: 0.875rem;
    color: var(--color-muted);
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.site-footer__mark {
    height: 1.4rem;
    width: auto;
    opacity: 0.85;
}

.site-footer__links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__links a {
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.2s var(--ease-out-quart);
}

.site-footer__links a:hover {
    color: var(--color-accent);
}

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */

.page-header {
    padding-top: clamp(1.25rem, 3vw, 2rem);
}

.brand-mark--static {
    position: static;
}

.legal-page {
    padding-top: clamp(1.5rem, 4vw, 2.5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
    max-width: 46rem;
}

.legal-page h1 {
    font-size: clamp(1.75rem, 1.4vw + 1.4rem, 2.5rem);
    margin-bottom: 2rem;
}

.legal-page h2 {
    font-size: 1.4rem;
    margin-top: 2.75rem;
    margin-bottom: 0.75rem;
}

.legal-page h3 {
    font-size: 1.05rem;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}

.legal-page p,
.legal-page li {
    color: var(--color-muted);
    line-height: 1.7;
}

.legal-page ul {
    padding-left: 1.25rem;
}

.legal-page a {
    color: var(--color-ink);
    text-decoration-color: var(--color-muted);
}

.legal-page a:hover {
    color: var(--color-accent);
}

.legal-page__source {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid oklch(0.96 0.004 252 / 0.08);
    font-size: 0.875rem;
}

/* ---------- Orte-Modal (Markt-Infos + Wetter) ---------- */

.ort-modal .modal-content {
    background: var(--color-surface);
    border: 1px solid oklch(0.96 0.004 252 / 0.12);
    color: var(--color-ink);
}

.ort-modal .modal-header {
    border-bottom-color: oklch(0.96 0.004 252 / 0.12);
}

.ort-modal .modal-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
}

.ort-modal__market {
    color: var(--color-accent);
    font-weight: 600;
    margin: 0 0 1rem;
}

.ort-modal__gallery {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    margin: 0 0 1.5rem;
    padding-bottom: 0.2rem;
    scroll-snap-type: x proximity;
}

.ort-modal__gallery-thumb {
    position: relative;
    flex: 0 0 auto;
    width: 4.5rem;
    height: 4.5rem;
    padding: 0;
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform 0.15s var(--ease-out-quart);
}

.ort-modal__gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ort-modal__gallery-thumb:hover,
.ort-modal__gallery-thumb:focus-visible {
    transform: scale(1.08);
}

.ort-modal__gallery-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 1.75rem;
    height: 1.75rem;
    pointer-events: none;
}

/* ---------- Lightbox ---------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: none;
    align-items: center;
    justify-content: center;
    background: oklch(0.05 0 0 / 0.92);
}

.lightbox.is-open {
    display: flex;
}

.lightbox__image,
.lightbox__video {
    max-width: 88vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px oklch(0 0 0 / 0.5);
}

.lightbox__video {
    display: none;
    background: #000;
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: 999px;
    background: oklch(0.96 0.004 252 / 0.1);
    color: var(--color-ink);
    cursor: pointer;
    transition: background 0.2s var(--ease-out-quart), transform 0.15s var(--ease-out-quart);
}

.lightbox__close:hover,
.lightbox__nav:hover {
    background: oklch(0.96 0.004 252 / 0.18);
}

.lightbox__close svg,
.lightbox__nav svg {
    width: 1.25rem;
    height: 1.25rem;
}

.lightbox__close {
    top: clamp(1rem, 3vw, 2rem);
    right: clamp(1rem, 3vw, 2rem);
}

.lightbox__nav--prev {
    left: clamp(0.5rem, 2vw, 1.5rem);
}

.lightbox__nav--next {
    right: clamp(0.5rem, 2vw, 1.5rem);
}

.lightbox__nav:active {
    transform: scale(0.94);
}

.lightbox__counter {
    position: absolute;
    bottom: clamp(1rem, 3vw, 1.5rem);
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-muted);
}

@media (max-width: 640px) {
    .lightbox__nav {
        width: 2.25rem;
        height: 2.25rem;
    }
}

.ort-modal__facts {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.4rem 1.25rem;
    font-size: 0.9rem;
    margin: 0 0 1.25rem;
}

.ort-modal__facts dt {
    color: var(--color-muted);
    font-weight: 600;
}

.ort-modal__facts dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.ort-modal__facts a {
    overflow-wrap: anywhere;
}

@media (max-width: 480px) {
    .ort-modal__facts {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ort-modal__facts dt {
        margin-top: 0.75rem;
    }

    .ort-modal__facts dt:first-child {
        margin-top: 0;
    }
}

.ort-modal__besonderheiten {
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
}

.ort-modal__weather {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid oklch(0.96 0.004 252 / 0.12);
}

.ort-modal__weather-heading {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-muted);
    margin: 0 0 0.85rem;
}

.ort-modal__weather-now {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
    margin: 0 0 1.1rem;
}

.ort-modal__weather-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.ort-modal__temp {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 600;
    line-height: 1;
}

.ort-modal__weather-feel {
    color: var(--color-muted);
    font-size: 0.8rem;
    margin-left: auto;
}

.ort-modal__forecast {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.ort-modal__forecast li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
}

.ort-modal__forecast-day {
    color: var(--color-muted);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.ort-modal__forecast-icon svg {
    width: 20px;
    height: 20px;
}

.ort-modal__forecast-snow {
    color: var(--color-accent);
    font-size: 0.7rem;
}

@media (max-width: 420px) {
    .ort-modal__forecast {
        font-size: 0.7rem;
    }
    .ort-modal__forecast-icon svg {
        width: 16px;
        height: 16px;
    }
}

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

.karte {
    padding-top: 0;
    padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
}

.karte__map {
    height: clamp(20rem, 55vw, 32rem);
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--color-surface);
}

.leaflet-container {
    background: var(--color-bg);
    font-family: var(--font-body);
}

/* CARTO dark_all ist der dunkelste verfuegbare Kartenstil -- auf manchen
   Bildschirmen wirkt er dadurch fast schwarz/detailarm. Dezenter Filter
   NUR auf die Kartenkacheln (nicht auf Marker/Tooltips/Zoom-Controls),
   damit Strassen und Flaechen besser erkennbar bleiben, ohne den
   dunklen Charakter zu verlieren.

   Versuch, Gewaesser zusaetzlich per mix-blend-mode:overlay blau
   einzufaerben, wieder verworfen: Land und Wasser sind bei dark_all
   tonal zu aehnlich, jede rein helligkeitsbasierte Methode (Blend-Mode,
   Duotone) faerbt am Ende die ganze Karte statt nur die Gewaesser.
   Fuer echte Gewaesserfarbe braeuchte es Vector-Basemaps mit editierbaren
   Ebenen (CARTO Builder) statt dieser Rasterkacheln. */
.leaflet-tile-pane {
    filter: brightness(1.35) contrast(0.92);
}

.leaflet-control-attribution {
    background: oklch(0.10 0 0 / 0.7) !important;
    color: var(--color-muted) !important;
    font-size: 0.7rem !important;
}

.leaflet-control-attribution a {
    color: var(--color-ink) !important;
}

.leaflet-control-zoom a {
    background: var(--color-surface) !important;
    color: var(--color-ink) !important;
    border-color: oklch(0.96 0.004 252 / 0.15) !important;
}

.leaflet-control-zoom a:hover {
    background: var(--color-primary) !important;
    color: var(--color-primary-ink) !important;
}

.karte__marker {
    filter: drop-shadow(0 1px 3px oklch(0 0 0 / 0.5));
}

.karte__marker svg {
    width: 100%;
    height: 100%;
    transition: transform 0.2s var(--ease-out-quart);
}

.karte__marker path {
    fill: #cdbc93;
    stroke: #f5f4f4;
    stroke-width: 1;
    stroke-linejoin: round;
}

.karte__marker:hover svg,
.karte__marker:focus-visible svg {
    transform: scale(1.2);
}

/* Hotel-Marker: eigenes Icon (einfache Haus-Silhouette), nur als dicke
   weisse Kontur -- innen transparent, keine Fuellflaeche -- statt Gold,
   damit Hotelangebote auf der Karte klar von den Orts-Sternen
   unterscheidbar sind, auch bei mehreren Markern nah beieinander. */
.karte__marker--hotel path {
    /* fill:none explizit noetig -- .karte__marker path (Basisregel fuer
       den Orts-Stern) setzt sonst das Gold auch hier, da beide Selektoren
       dieselbe Spezifitaet haben. */
    fill: none;
    stroke: #f5f4f4;
    stroke-width: 3.5;
    stroke-linejoin: round;
}

.karte__marker--hotel:hover path,
.karte__marker--hotel:focus-visible path {
    stroke: var(--color-accent);
}

.karte__tooltip {
    background: var(--color-surface) !important;
    border: 1px solid oklch(0.96 0.004 252 / 0.15) !important;
    color: var(--color-ink) !important;
    font-family: var(--font-body) !important;
    font-size: 0.8rem !important;
    padding: 0.3rem 0.6rem !important;
    border-radius: 0.4rem !important;
    box-shadow: 0 2px 10px oklch(0 0 0 / 0.35) !important;
}

.karte__tooltip::before {
    border-top-color: var(--color-surface) !important;
}

/* ---------- Kalender (Zeitleiste) ---------- */

.kalender {
    padding-top: 0;
    padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
}

.kalender__scroll {
    overflow-x: auto;
    border-radius: 0.75rem;
    padding: 1.25rem 1rem;
}

.kalender__grid {
    --kalender-day-width: 26px;
    display: grid;
    grid-template-columns: 9rem repeat(var(--kalender-tage), var(--kalender-day-width));
    grid-auto-rows: 2.4rem;
    row-gap: 0.2rem;
    position: relative;
    width: max-content;
}

.kalender__label {
    grid-column: 1;
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--color-surface);
    display: flex;
    align-items: center;
    padding-right: 0.75rem;
    font-size: 0.85rem;
    color: var(--color-ink);
    white-space: nowrap;
}

.kalender__label--corner {
    grid-row: 1;
    z-index: 3;
}

.kalender__month {
    grid-row: 1;
    display: flex;
    align-items: flex-end;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
    border-bottom: 1px solid oklch(0.96 0.004 252 / 0.15);
    padding-bottom: 0.5rem;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
}

.kalender__weekend {
    /* grid-row kommt inline (siehe index.php) -- "1 / -1" greift hier
       nicht, das Grid hat kein explizites grid-template-rows. */
    background: oklch(0.96 0.004 252 / 0.045);
    z-index: 0;
}

.kalender__heute {
    /* grid-row kommt inline (siehe index.php), gleicher Grund wie bei
       .kalender__weekend. */
    position: relative;
    z-index: 3;
    pointer-events: none;
    border-left: 1px solid oklch(0.96 0.004 252 / 0.3);
}

.kalender__bar {
    position: relative;
    z-index: 1;
    align-self: center;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-strong) 100%);
    border: none;
    border-radius: 0.3rem;
    min-height: 1.35rem;
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: filter 0.2s var(--ease-out-quart), transform 0.15s var(--ease-out-quart);
}

.kalender__bar:hover {
    filter: brightness(1.12);
    transform: scaleY(1.2);
}

.kalender__bar-label {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--color-accent-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kalender__forecast {
    position: relative;
    z-index: 2;
    align-self: center;
    justify-self: center;
    width: 0.95rem;
    height: 0.95rem;
    color: #000;
    pointer-events: none;
}

.kalender__forecast svg {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 640px) {
    .kalender__grid {
        --kalender-day-width: 20px;
        grid-template-columns: 7rem repeat(var(--kalender-tage), var(--kalender-day-width));
    }
}

/* ---------- Übernachtungen (Hotel-Angebote) ---------- */

.uebernachtungen {
    padding-top: clamp(1rem, 3vw, 2rem);
    padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
}

.hotels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.hotel-card {
    display: block;
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid oklch(0.96 0.004 252 / 0.1);
    text-decoration: none;
    transition: border-color 0.25s var(--ease-out-quart), transform 0.25s var(--ease-out-quart);
}

.hotel-card:hover {
    color: inherit;
}

@media (hover: hover) and (pointer: fine) {
    .hotel-card:hover {
        border-color: oklch(0.96 0.004 252 / 0.22);
        transform: translateY(-0.2rem);
    }

    .hotel-card:hover .hotel-card__media img {
        transform: scale(1.045);
    }
}

.hotel-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.hotel-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out-quart);
}

.hotel-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: oklch(0.14 0.01 252 / 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hotel-card__body {
    padding: 1.1rem 1.25rem 1.35rem;
}

.hotel-card__place {
    margin: 0 0 0.3rem;
    font-size: 0.8rem;
    color: var(--color-muted);
}

.hotel-card__headline {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.05rem, 0.4vw + 1rem, 1.2rem);
    line-height: 1.3;
    margin: 0 0 0.75rem;
    color: var(--color-ink);
    text-decoration: none;
}

.hotel-card__highlights {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.82rem;
    color: var(--color-muted);
}

.hotel-card__highlights li {
    padding-left: 1.1rem;
    position: relative;
}

.hotel-card__highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: var(--color-accent);
    opacity: 0.7;
}

.hotel-card__price {
    margin: 0;
    padding-top: 0.75rem;
    border-top: 1px solid oklch(0.96 0.004 252 / 0.1);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.hotel-card__price-old {
    font-size: 0.85rem;
    color: var(--color-muted);
    text-decoration: line-through;
}

.hotel-card__price-new {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--color-ink);
}

.hotel-card__price-unit {
    font-size: 0.75rem;
    color: var(--color-muted);
}

/* ---------- Hotel-Modal (erbt Basics von .ort-modal) ---------- */

.hotel-modal .modal-header {
    align-items: flex-start;
}

.hotel-modal__place {
    margin: 0 0 0.25rem;
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 600;
}

.hotel-modal__intro {
    color: var(--color-muted);
    line-height: 1.7;
    margin: 0 0 1.25rem;
}

.hotel-modal__price-old {
    color: var(--color-muted);
    text-decoration: line-through;
    margin-right: 0.4rem;
}

.hotel-modal__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1.5rem;
    margin-top: 0.25rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-strong) 100%);
    color: var(--color-accent-ink);
    font-weight: 600;
    text-decoration: none;
    transition: filter 0.2s var(--ease-out-quart);
}

.hotel-modal__cta:hover {
    filter: brightness(1.08);
    color: var(--color-accent-ink);
}

.hotel-modal__disclaimer {
    margin: 0.85rem 0 0;
    font-size: 0.78rem;
    color: var(--color-muted);
    line-height: 1.5;
}

/* ---------- Gewinnspiel ---------- */

/* Kein padding-top: der Abstand nach oben kommt schon aus .uebernachtungen. */
.gewinnspiel {
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* Champagner-Gold als Flaeche: einziger heller Block der Seite, damit das
   Gewinnspiel sich vom dunklen Rest abhebt. Dunkle Schrift darauf (AA). */
.gewinnspiel__box {
    --gs-ink: var(--color-accent-ink);
    --gs-muted: oklch(0.34 0.03 89);
    --gs-line: oklch(0.24 0.03 89 / 0.25);

    padding: clamp(1.75rem, 4vw, 3rem);
    background: var(--color-accent);
    color: var(--gs-ink);
    border-radius: 1rem;
}

/* Desktop: links Text + Formular, rechts die Preise im 2x2-Raster. */
@media (min-width: 62rem) {
    .gewinnspiel__box {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
        grid-template-areas:
            "heading   preise"
            "intro     preise"
            "teilnahme preise";
        grid-template-rows: auto auto 1fr;
        column-gap: clamp(2rem, 4vw, 3.5rem);
    }

    .gewinnspiel__heading { grid-area: heading; }
    .gewinnspiel__intro { grid-area: intro; }
    .gewinnspiel__teilnahme { grid-area: teilnahme; }

    .gewinnspiel__preise {
        grid-area: preise;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 0;
    }
}

/* Gleichwertige Preise ohne Rangfolge: gleich grosse Karten im Grid. */
.gewinnspiel__preise {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1rem;
}

.gewinnspiel__preis {
    display: flex;
    flex-direction: column;
    text-align: left;
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--color-bg);
    box-shadow: 0 10px 30px -12px oklch(0.24 0.03 89 / 0.55);
}

.gewinnspiel__preis-media {
    position: relative;
    display: block;
    overflow: hidden;
}

.gewinnspiel__preis-bild {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out-quart);
}

@media (hover: hover) and (pointer: fine) {
    .gewinnspiel__preis-media:hover .gewinnspiel__preis-bild {
        transform: scale(1.045);
    }
}

.gewinnspiel__preis-media--leer {
    aspect-ratio: 16 / 9;
    background: oklch(0.96 0.004 252 / 0.05);
}

.gewinnspiel__preis-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.2rem 1.2rem;
}

.gewinnspiel__preis-ort {
    margin: 0 0 0.3rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-accent);
}

.gewinnspiel__preis-hotel {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.05rem, 0.3vw + 1rem, 1.2rem);
    line-height: 1.3;
    margin: 0 0 0.6rem;
    color: var(--color-ink);
}

.gewinnspiel__preis-titel {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-ink);
}

.gewinnspiel__preis-titel--offen {
    font-weight: 400;
    font-style: italic;
    color: var(--color-muted);
}

.gewinnspiel__preis-leistungen {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.1rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.gewinnspiel__preis-leistungen li {
    padding-left: 1.1rem;
    position: relative;
}

.gewinnspiel__preis-leistungen li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: var(--color-accent);
    opacity: 0.7;
}

.gewinnspiel__preis-zeitraum {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    color: var(--color-muted);
}

.gewinnspiel__preis-logo {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: block;
    height: 3.5rem;
    width: auto;
    background: #fff;
    padding: 0.35rem 0.55rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px oklch(0 0 0 / 0.25);
}

.gewinnspiel__preis-link {
    display: inline-block;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid oklch(0.96 0.004 252 / 0.1);
    width: 100%;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
}

.gewinnspiel__preis-link:hover {
    text-decoration: underline;
}

.gewinnspiel__heading {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1.75rem, 1.5vw + 1.3rem, 2.5rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--gs-ink);
}

.gewinnspiel__intro {
    color: var(--gs-muted);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.gewinnspiel__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.gewinnspiel__website {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.gewinnspiel__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gs-ink);
}

.gewinnspiel__input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: oklch(0.99 0.006 89);
    border: 1px solid var(--gs-line);
    border-radius: 0.5rem;
    color: var(--gs-ink);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 160ms var(--ease-out-quart), box-shadow 160ms var(--ease-out-quart);
}

.gewinnspiel__input::placeholder {
    color: oklch(0.50 0.02 89);
}

.gewinnspiel__input:focus {
    outline: none;
    border-color: var(--gs-ink);
    box-shadow: 0 0 0 3px oklch(0.24 0.03 89 / 0.18);
}

.gewinnspiel__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.85rem;
    color: var(--gs-muted);
    line-height: 1.5;
    cursor: pointer;
}

.gewinnspiel__consent input {
    margin-top: 0.2rem;
    accent-color: var(--gs-ink);
    flex-shrink: 0;
}

.gewinnspiel__consent a {
    color: var(--gs-ink);
    font-weight: 600;
    text-decoration-color: var(--gs-line);
}

.gewinnspiel__consent a:hover {
    text-decoration-color: var(--gs-ink);
}

/* Dunkler Button auf Gold -- staerkster Kontrast im Block. */
.gewinnspiel__submit {
    align-self: flex-start;
    padding: 0.8rem 1.9rem;
    background: var(--color-bg);
    color: var(--color-ink);
    border: none;
    border-radius: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 160ms var(--ease-out-quart), background 160ms var(--ease-out-quart);
}

.gewinnspiel__submit:hover {
    background: oklch(0.22 0.02 89);
}

.gewinnspiel__submit:active {
    transform: scale(0.97);
}

.gewinnspiel__submit:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
}

.gewinnspiel__status {
    padding: 1rem 1.25rem;
    background: var(--color-bg);
    border-radius: 0.5rem;
    color: var(--color-ink);
    line-height: 1.6;
}

.gewinnspiel__status--erfolg {
    border: 1px solid oklch(0.65 0.15 150 / 0.4);
}

.gewinnspiel__status--fehler {
    border: 1px solid oklch(0.65 0.2 25 / 0.4);
}
