/* =========================================================
   FSH Theme – Franz-Senn-Hütte
   Premium-alpin, mobile first.
   ========================================================= */

:root {
    /* Farben */
    --c-bg: #f8f5ef;
    --c-bg-alt: #efeae0;
    --c-ink: #1c1f1d;
    --c-ink-soft: #4d524f;
    --c-line: #d8d2c4;
    --c-line-soft: #ece6d8;
    --c-accent: #2c5b5d;
    --c-accent-strong: #1e4143;
    --c-accent-warm: #b9683f;
    --c-warn: #b65b1c;
    --c-eyebrow: var(--c-accent-strong);
    --c-on-accent: #fffaf2;
    --c-surface: #fffaf2;
    --c-surface-alt: #f5efe5;
    --c-surface-ink: #17201e;
    --c-surface-ink-soft: #4d5651;
    --c-surface-line: #d4ccc0;
    --c-surface-tint: #f2ede5;
    --c-surface-accent: #29504e;
    --c-surface-accent-soft: #dde8e4;
    --c-surface-season: #8a4522;
    --c-surface-season-soft: #f1e4dc;
    --c-surface-on-accent: #fffaf2;

    /* Typo */
    --ff-display: 'Fraunces', Georgia, serif;
    --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --fs-xs: 0.78rem;
    --fs-sm: 0.92rem;
    --fs-md: 1rem;
    --fs-lg: 1.18rem;
    --fs-xl: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem);
    --fs-2xl: clamp(2.2rem, 1.5rem + 3vw, 3.6rem);

    /* Layout */
    --container: 1240px;
    --container-narrow: 760px;
    --gutter: 1.25rem;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(15, 22, 21, 0.06), 0 8px 24px rgba(15, 22, 21, 0.06);
    --shadow: 0 8px 30px rgba(15, 22, 21, 0.12);
    --header-h: 4.25rem;

    /* Hero */
    --hero-ratio: 1;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--c-bg);
    color: var(--c-ink);
    font-family: var(--ff-body);
    font-size: var(--fs-md);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--c-accent-strong);
    text-decoration: none;
}

a:hover {
    color: var(--c-accent-warm);
}

h1,
h2,
h3,
h4 {
    font-family: var(--ff-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 0 0.6rem;
}

.skiplink {
    position: absolute;
    left: -9999px;
}

.skiplink:focus {
    left: 1rem;
    top: 1rem;
    z-index: 1000;
    background: var(--c-ink);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 8px;
}

/* Container */
.container {
    width: min(100% - var(--gutter) * 2, var(--container));
    margin-inline: auto;
}

.container--narrow {
    max-width: var(--container-narrow);
}

/* Eyebrow */
.eyebrow {
    margin: 0 0 0.6rem;
    color: var(--c-eyebrow, var(--c-accent-strong));
    font-family: var(--ff-body);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(28, 31, 29, 0.92);
    color: var(--c-on-accent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: var(--header-h);
}

.site-brand {
    color: var(--c-on-accent);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.site-brand__title {
    font-family: var(--ff-display);
    font-size: 1.15rem;
    font-weight: 600;
}

.site-brand__sub {
    font-size: var(--fs-xs);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.8;
}

.site-nav {
    margin-left: auto;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-nav__item {
    position: relative;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    color: rgba(255, 250, 242, 0.86);
    font-size: 0.92rem;
    font-weight: 500;
}

.site-nav__link:hover,
.site-nav__link.is-active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.site-nav__sublist {
    position: absolute;
    top: calc(100% - 0.55rem);
    left: 0;
    min-width: 14rem;
    padding: 0.45rem;
    margin: 0;
    list-style: none;
    border-radius: 16px;
    background: rgba(22, 25, 24, 0.96);
    border: 1px solid rgba(255, 250, 242, 0.1);
    box-shadow: 0 18px 42px rgba(4, 8, 7, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0.35rem);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
    z-index: 80;
}

.site-nav__item--has-children:hover .site-nav__sublist,
.site-nav__item--has-children:focus-within .site-nav__sublist {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}

.site-nav__subitem+.site-nav__subitem {
    margin-top: 0.15rem;
}

.site-nav__sublink {
    display: block;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    color: rgba(255, 250, 242, 0.86);
    font-size: 0.9rem;
    line-height: 1.25;
}

.site-nav__sublink:hover,
.site-nav__sublink.is-active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.site-nav__item--lang {
    margin-left: 0.35rem;
    padding-left: 0.55rem;
    border-left: 1px solid rgba(255, 250, 242, 0.18);
}

.site-nav__toggle {
    display: none;
    margin-left: auto;
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
}

.site-nav__bar {
    display: block;
    width: 1.1rem;
    height: 2px;
    margin: 0.22rem auto;
    background: currentColor;
    border-radius: 1px;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}

.lang-switcher__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    padding: 0.42rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 250, 242, 0.14);
    color: rgba(255, 250, 242, 0.82);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lang-switcher__link:hover,
.lang-switcher__link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

.lang-switcher__link.is-fallback {
    opacity: 0.72;
}

@media (max-width: 880px) {

    /* Backdrop-Filter am Header erzeugt einen containing block fuer fixed-Kinder
       und wuerde die Mobile-Nav auf die Header-Hoehe einsperren -> hier deaktivieren. */
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(28, 31, 29, 0.96);
    }

    .site-nav__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .site-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: calc(100vh - var(--header-h));
        height: calc(100dvh - var(--header-h));
        background: rgba(28, 31, 29, 0.98);
        padding: 1.5rem;
        margin-left: 0;
        transform: translateY(-110%);
        transition: transform 0.25s ease, opacity 0.2s ease, visibility 0s linear 0.25s;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        overflow-y: auto;
        z-index: 60;
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: transform 0.25s ease, opacity 0.2s ease, visibility 0s linear 0s;
    }

    .site-nav__list {
        flex-direction: column;
        gap: 0.25rem;
        align-items: stretch;
        width: 100%;
    }

    .site-nav__item {
        width: 100%;
    }

    .site-nav__link {
        padding: 0.85rem 1rem;
        font-size: 1.05rem;
        width: 100%;
    }

    .site-nav__sublist {
        position: static;
        min-width: 0;
        padding: 0.2rem 0 0.35rem 0.85rem;
        border: 0;
        border-left: 1px solid rgba(255, 250, 242, 0.12);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: none;
        margin-top: 0.1rem;
    }

    .site-nav__sublink {
        padding: 0.7rem 0.9rem;
        font-size: 0.96rem;
        color: rgba(255, 250, 242, 0.78);
    }

    .site-nav__item--lang {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
        margin-top: 0.35rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255, 250, 242, 0.1);
    }

    .lang-switcher {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .lang-switcher__link {
        min-width: 3rem;
    }

    .site-nav__item--cta {
        margin-top: 0.5rem;
    }

    body.nav-open {
        overflow: hidden;
    }
}

.section-nav {
    margin-bottom: 1.5rem;
}

.section-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 2.7rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(23, 33, 31, 0.08);
    background: rgba(255, 252, 247, 0.9);
    color: #31403d;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(17, 24, 22, 0.06);
}

.section-nav__link:hover,
.section-nav__link.is-active {
    background: #d7e3d2;
    color: #14201e;
    border-color: rgba(41, 80, 78, 0.18);
}

@media (max-width: 680px) {
    .section-nav__list {
        flex-direction: column;
    }

    .section-nav__link {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.2s ease;
    border: 1px solid transparent;
}

.button--primary {
    background: var(--c-accent-warm);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.button--primary:hover {
    transform: translateY(-1px);
    background: var(--c-warn);
    color: #fff;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4.5rem);
    background-color: var(--c-bg-alt);
    color: var(--c-ink);
}

.hero--image::before,
.hero--image::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero--image::before {
    background-image: var(--hero-media);
    background-position: var(--hero-focus, center);
    background-size: cover;
    transform: scale(1.085);
    transform-origin: center center;
    animation: hero-image-zoom-out 6s ease-out forwards;
}

.hero--image::after {
    background-image: linear-gradient(180deg, rgba(15, 22, 21, 0.18), rgba(15, 22, 21, 0.5));
}

.hero--image {
    color: #fff;
}

.hero--image .hero__title,
.hero--image .hero__lead {
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero--image .hero__eyebrow {
    color: rgba(255, 250, 242, 0.92);
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 50rem;
}

.hero__title {
    font-size: var(--fs-2xl);
    margin: 0 0 0.6rem;
}

.hero__lead {
    font-size: var(--fs-lg);
    margin: 0 0 1rem;
    opacity: 0.95;
}

.hero__cta {
    margin-top: 1.5rem;
}

.hero--compact {
    display: flex;
    align-items: flex-end;
    height: clamp(12rem, 15vw, 14rem);
    min-height: 0;
    padding: clamp(2.5rem, 4.5vw, 4rem) 0 clamp(1.8rem, 3.5vw, 2.8rem);
}

.hero--compact .hero__inner {
    width: 100%;
}

.hero--compact .hero__title {
    margin-bottom: 0.35rem;
}

.hero--compact .hero__lead {
    margin-bottom: 0;
    max-width: 36rem;
}

/* Hero Hochformat: Bild reicht optisch nach unten, ohne Folge-Inhalt zu verschieben */
.hero--portrait {
    --overhang: clamp(4rem, calc((var(--hero-ratio) - 1) * 16rem), 12rem);
    padding-bottom: calc(clamp(2.5rem, 5vw, 4.5rem) + var(--overhang));
    margin-bottom: calc(-1 * var(--overhang));
}

.hero--portrait.hero--image::before {
    background-position: var(--hero-focus, center top);
}

.hero--compact.hero--portrait {
    padding-bottom: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 0;
}

@keyframes hero-image-zoom-out {
    from {
        transform: scale(1.085);
    }

    to {
        transform: scale(1);
    }
}

/* Sections */
.section {
    padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.section--intro {
    padding-top: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: 0;
}

.section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 1rem 2rem;
    justify-content: space-between;
    margin-bottom: 1.8rem;
}

.section__title {
    margin: 0;
    font-size: var(--fs-xl);
}

.section__more {
    font-weight: 600;
    color: var(--c-accent-strong);
}

/* Notices */
.notices {
    padding-block: 1.25rem 0;
}

.notice {
    padding: 1rem 1.2rem;
    border-radius: var(--radius);
    background: #fff7e6;
    border: 1px solid #f1d99a;
    margin-bottom: 0.75rem;
}

.notice--warn {
    background: #fde8dc;
    border-color: #efb38c;
}

.notice__title {
    margin: 0 0 0.2rem;
    font-weight: 700;
    font-family: var(--ff-display);
}

.notice__text {
    margin: 0;
    color: var(--c-ink-soft);
}

/* Post grid */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
    gap: 1.4rem;
}

.post-card {
    --surface-ink: #1b1f1d;
    --surface-ink-soft: #5b605c;
    --surface-accent: #284946;
    display: flex;
    flex-direction: column;
    background: rgba(255, 250, 242, 0.96);
    color: var(--surface-ink);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.post-card__media {
    display: block;
    aspect-ratio: 8/5;
    background: var(--c-bg-alt);
    overflow: hidden;
}

.post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.post-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(140deg, #d9d3c2, #c1bba9);
}

.post-card__body {
    padding: 1.1rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.post-card__meta {
    margin: 0;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--surface-ink-soft);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.post-card__title {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.2;
}

.post-card__title a {
    color: var(--surface-ink);
}

.post-card__summary {
    margin: 0;
    color: var(--surface-ink-soft);
}

.post-card__more {
    margin-top: auto;
    font-weight: 600;
    color: var(--surface-accent);
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.badge--warn {
    background: #fde0cd;
    color: #8a3a08;
}

/* Tour collection */
.section--tours {
    padding-top: 4rem;
}

.tour-browser__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 24rem);
    gap: 1.25rem;
    align-items: end;
    margin-bottom: 1.2rem;
}

.tour-search {
    display: grid;
    gap: 0.35rem;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--c-ink-soft);
}

.tour-search input {
    width: 100%;
    min-height: 2.9rem;
    border: 1px solid var(--c-surface-line);
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    background: var(--c-surface);
    color: var(--c-surface-ink);
    font: inherit;
}

.tour-filterbar {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.tour-filterbar__group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.tour-filterbar__button {
    min-height: 2.35rem;
    border: 1px solid var(--c-surface-line);
    border-radius: 999px;
    padding: 0.45rem 0.82rem;
    background: var(--c-surface-accent-soft);
    color: var(--c-surface-accent);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.tour-filterbar__button.is-active,
.tour-filterbar__button:hover {
    border-color: var(--c-surface-accent);
    background: var(--c-surface-accent);
    color: var(--c-surface-on-accent);
}

.tour-results {
    margin: 0 0 1rem;
    color: var(--c-ink-soft);
    font-size: var(--fs-sm);
    font-weight: 700;
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.tour-card {
    --tour-card-bg: var(--c-surface);
    --tour-card-ink: var(--c-surface-ink);
    --tour-card-ink-soft: var(--c-surface-ink-soft);
    --tour-card-line: var(--c-surface-line);
    --tour-card-tint: var(--c-surface-tint);
    --tour-card-accent: var(--c-surface-accent);
    --tour-card-accent-soft: var(--c-surface-accent-soft);
    --tour-card-season: var(--c-surface-season);
    --tour-card-season-soft: var(--c-surface-season-soft);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--tour-card-line);
    border-radius: 8px;
    background: var(--tour-card-bg);
    color: var(--tour-card-ink);
    box-shadow: var(--shadow-sm);
}

.tour-card[hidden] {
    display: none;
}

.tour-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--c-bg-alt);
}

.tour-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    transition: transform 0.5s ease;
}

.tour-card:hover .tour-card__media img {
    transform: scale(1.035);
}

.tour-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d8d2c4, #b7c1bb);
}

.tour-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1rem;
}

.tour-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.tour-chip {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    border-radius: 999px;
    padding: 0.24rem 0.58rem;
    background: var(--tour-card-accent-soft);
    color: var(--tour-card-accent);
    font-size: var(--fs-xs);
    font-weight: 800;
}

.tour-chip--season {
    background: var(--tour-card-season-soft);
    color: var(--tour-card-season);
}

.tour-chip--strong {
    background: var(--tour-card-accent);
    color: var(--c-surface-on-accent);
}

.tour-card__title {
    margin: 0;
    font-size: 1.25rem;
}

.tour-card__title a {
    color: var(--tour-card-ink);
}

.tour-card__summary {
    margin: 0;
    color: var(--tour-card-ink-soft);
    font-size: var(--fs-sm);
}

.tour-card__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    margin: 0;
}

.tour-card__facts div {
    min-width: 0;
    border-radius: 8px;
    background: var(--tour-card-tint);
    padding: 0.5rem;
}

.tour-card__facts dt {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--tour-card-ink-soft);
}

.tour-card__facts dd {
    margin: 0.08rem 0 0;
    font-weight: 800;
    color: var(--tour-card-ink);
}

.tour-card__more {
    margin-top: auto;
    font-weight: 800;
    color: var(--tour-card-accent);
}

.tour-empty {
    margin-top: 1rem;
    font-weight: 700;
    color: var(--c-ink-soft);
}

.tour-detail {
    padding-block: 3.5rem;
}

.tour-detail__facts {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.tour-detail__facts div {
    min-width: 0;
    border: 1px solid var(--c-surface-line);
    border-radius: 8px;
    background: var(--c-surface);
    color: var(--c-surface-ink);
    padding: 0.75rem;
}

.tour-detail__facts span {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 800;
    color: var(--c-surface-ink-soft);
    text-transform: uppercase;
}

.tour-detail__facts strong {
    display: block;
    margin-top: 0.2rem;
    font-size: 1.05rem;
    color: var(--c-surface-ink);
}

.tour-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem);
    gap: 2rem;
    align-items: start;
}

.tour-detail__main {
    min-width: 0;
}

.tour-panel {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    border: 1px solid var(--c-surface-line);
    border-radius: 8px;
    background: var(--c-surface);
    color: var(--c-surface-ink);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.tour-panel h2 {
    font-size: 1.25rem;
}

.tour-panel__list {
    display: grid;
    gap: 0.7rem;
    margin: 0 0 1rem;
}

.tour-panel__list div {
    border-bottom: 1px solid var(--c-surface-line);
    padding-bottom: 0.55rem;
}

.tour-panel__list dt {
    font-size: var(--fs-xs);
    font-weight: 800;
    color: var(--c-surface-ink-soft);
    text-transform: uppercase;
}

.tour-panel__list dd {
    margin: 0.1rem 0 0;
    font-weight: 700;
}

.tour-panel__difficulty {
    display: grid;
    gap: 0.25rem;
    margin: 0 0 1rem;
    border: 1px solid var(--c-surface-line);
    border-radius: 8px;
    background: var(--c-surface-accent-soft);
    padding: 0.75rem;
}

.tour-panel__difficulty p {
    margin: 0;
    color: var(--c-surface-ink-soft);
    font-size: var(--fs-xs);
    font-weight: 800;
    text-transform: uppercase;
}

.tour-panel__difficulty strong {
    color: var(--c-surface-accent);
    font-size: 1.2rem;
    line-height: 1;
}

.tour-panel__difficulty span {
    color: var(--c-surface-ink-soft);
    font-size: var(--fs-sm);
}

.tour-panel__button {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 2.7rem;
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    background: var(--c-surface-accent);
    color: var(--c-surface-on-accent);
    font-weight: 800;
}

.tour-panel__button+.tour-panel__button {
    margin-top: 0.55rem;
}

.tour-panel__button--ghost {
    background: transparent;
    border: 1px solid var(--c-surface-line);
    color: var(--c-surface-accent);
}

.tour-map {
    overflow: hidden;
    border: 1px solid var(--c-surface-line);
    border-radius: 8px;
    background: var(--c-surface);
    color: var(--c-surface-ink);
    box-shadow: var(--shadow-sm);
    margin: 0 0 2rem;
}

.tour-detail .tour-map .eyebrow,
.tour-detail .tour-panel .eyebrow {
    color: var(--c-surface-accent);
}

.tour-map__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    padding: 1rem 1rem 0.85rem;
}

.tour-map__head h2 {
    margin-bottom: 0;
    font-size: 1.4rem;
}

.tour-map__status {
    margin: 0;
    color: var(--c-surface-ink-soft);
    font-size: var(--fs-sm);
    font-weight: 700;
}

.tour-map__canvas {
    position: relative;
    width: 100%;
    min-height: 24rem;
    background: #dfe4dc;
}

.tour-map__canvas--no-tiles {
    background:
        linear-gradient(rgba(28, 31, 29, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 31, 29, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 30% 25%, rgba(44, 91, 93, 0.16), transparent 32%),
        linear-gradient(145deg, #e7e8df, #cad7d0);
    background-size: 40px 40px, 40px 40px, auto, auto;
}

.tour-map__license {
    margin: 0;
    padding: 0.75rem 1rem 1rem;
    color: var(--c-surface-ink-soft);
    font-size: var(--fs-xs);
}

.tour-map .leaflet-control-attribution {
    font-size: 0.68rem;
}

.tour-map__layer-select {
    margin: 10px 10px 0 0;
    border-radius: 8px;
    background: var(--c-surface);
    box-shadow: 0 10px 28px rgba(28, 31, 29, 0.18);
}

.tour-map__layer-select select {
    display: block;
    width: min(12rem, calc(100vw - 5rem));
    min-height: 2.35rem;
    border: 1px solid var(--c-surface-line);
    border-radius: 8px;
    padding: 0.48rem 2rem 0.48rem 0.7rem;
    background: var(--c-surface);
    color: var(--c-surface-ink);
    font: 800 0.78rem/1.2 var(--ff-body);
    cursor: pointer;
}

.tour-map__layer-select select:focus {
    outline: 2px solid var(--c-surface-accent);
    outline-offset: 2px;
}

.tour-map .leaflet-control-layers {
    border: 0;
    border-radius: 8px;
    background: var(--c-surface);
    color: var(--c-surface-ink);
    box-shadow: 0 10px 28px rgba(28, 31, 29, 0.18);
    font: 700 0.78rem/1.3 var(--ff-body);
}

.tour-map .leaflet-control-layers-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 4.6rem;
    height: 2.35rem;
    border-radius: 8px;
    background: var(--c-surface-accent);
    color: var(--c-surface-on-accent);
    font: 800 0.78rem/1 var(--ff-body);
    text-indent: 0;
    white-space: nowrap;
}

.tour-map .leaflet-control-layers-toggle::after {
    content: 'Karte';
}

.tour-map .leaflet-control-layers-toggle::before {
    content: '';
    width: 0;
    height: 0;
    margin-right: 0.42rem;
    border-left: 0.24rem solid transparent;
    border-right: 0.24rem solid transparent;
    border-top: 0.34rem solid currentColor;
}

.tour-map .leaflet-control-layers-expanded {
    padding: 0.55rem 0.65rem;
    background: var(--c-surface);
    color: var(--c-surface-ink);
}

.tour-map .leaflet-control-layers label {
    margin: 0.26rem 0;
    color: var(--c-surface-ink);
}

@media (max-width: 980px) {
    .tour-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tour-detail__facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tour-detail__layout {
        grid-template-columns: 1fr;
    }

    .tour-panel {
        position: static;
    }

    .tour-map__canvas {
        min-height: 21rem;
    }
}

@media (max-width: 680px) {
    .tour-browser__head {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .tour-grid {
        grid-template-columns: 1fr;
    }

    .tour-card__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tour-detail__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tour-map__head {
        display: grid;
    }

    .tour-map__canvas {
        min-height: 18rem;
    }
}

/* Teaser grid */
.teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
    gap: 1.2rem;
}

.teaser {
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 5/4;
    color: #fff;
    background: var(--c-accent);
    box-shadow: var(--shadow-sm);
}

.teaser img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    transition: transform 0.35s ease;
}

.teaser:hover img {
    transform: scale(1.04);
}

.teaser__body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 1rem 1.2rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.6) 100%);
    color: #fff;
}

.teaser__title {
    font-family: var(--ff-display);
    font-size: 1.4rem;
    font-weight: 600;
}

.teaser__sub {
    font-size: var(--fs-sm);
    opacity: 0.86;
}

/* Media tiles (webcam/wetter) */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
    gap: 1.25rem;
}

.media-tile {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 250, 242, 0.96);
    color: #1b1f1d;
    border: 1px solid var(--c-line-soft);
    box-shadow: var(--shadow-sm);
}

.media-tile img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.media-tile figcaption {
    padding: 0.65rem 0.9rem;
    font-size: var(--fs-sm);
    color: #5b605c;
}

.embed-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.embed-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Webcam & Wetter page */
.section--webcam-hub {
    padding-block: clamp(2rem, 4vw, 4rem);
}

.webcam-hub {
    display: grid;
    gap: 1.4rem;
}

.webcam-hub__intro {
    display: grid;
    gap: 1rem;
    padding: clamp(1.2rem, 2vw, 1.7rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 250, 242, 0.98), rgba(239, 234, 224, 0.94));
    color: #1b1f1d;
    border: 1px solid rgba(28, 34, 31, 0.08);
    box-shadow: var(--shadow-sm);
}

.webcam-hub__intro .eyebrow,
.weather-station__copy .eyebrow,
.reservation-lead__copy .eyebrow,
.reservation-panel .eyebrow {
    color: #58635f;
}

.webcam-hub__title {
    margin: 0;
    font-family: var(--ff-display);
    font-size: clamp(1.8rem, 1.25rem + 1.6vw, 2.8rem);
    line-height: 1.08;
    color: #14201f;
}

.webcam-hub__text {
    color: #4d524f;
}

.webcam-hub__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.webcam-hub__fact {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(20, 32, 31, 0.08);
    color: #29413f;
    font-size: var(--fs-sm);
    font-weight: 600;
}

.webcam-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.1rem;
}

.webcam-card {
    grid-column: span 6;
    display: grid;
    background: rgba(255, 250, 242, 0.96);
    color: #1b1f1d;
    border: 1px solid var(--c-line-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.webcam-card--featured {
    grid-column: span 12;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.webcam-card__media {
    position: relative;
    display: block;
    aspect-ratio: var(--cam-ratio, 16 / 9);
    background: #0f1417;
    overflow: hidden;
}

.webcam-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.webcam-card__live {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.62rem;
    border-radius: 999px;
    background: rgba(10, 16, 18, 0.68);
    color: #f6f2ea;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.webcam-card__live::before {
    content: '';
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
    animation: ribbon-pulse 2s ease-out infinite;
}

.webcam-card__body {
    display: grid;
    gap: 0.85rem;
    padding: clamp(1rem, 1.8vw, 1.35rem);
}

.webcam-card__kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: var(--fs-xs);
    color: #58635f;
}

.webcam-card__title {
    margin: 0;
    font-family: var(--ff-display);
    font-size: clamp(1.3rem, 1.05rem + 0.8vw, 1.9rem);
    line-height: 1.15;
    color: #162321;
}

.webcam-card__description {
    margin: 0;
    color: #505754;
}

.button--secondary,
.button--ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

.button--secondary {
    background: #193c3b;
    color: #fffaf2;
}

.button--ghost {
    background: rgba(25, 60, 59, 0.08);
    color: #214947;
    border: 1px solid rgba(25, 60, 59, 0.14);
}

.webcam-card__timelapse {
    justify-self: start;
    margin-top: 0.1rem;
}

.section--weather-station {
    padding-block: 0 4rem;
}

.weather-station {
    display: grid;
    grid-template-columns: minmax(16rem, 24rem) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.weather-station__copy,
.weather-station__frame-wrap {
    background: rgba(255, 250, 242, 0.96);
    color: #1b1f1d;
    border: 1px solid var(--c-line-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.weather-station__copy {
    padding: clamp(1.15rem, 2vw, 1.5rem);
    display: grid;
    gap: 0.85rem;
}

.weather-station__title {
    margin: 0;
    font-family: var(--ff-display);
    font-size: clamp(1.45rem, 1.1rem + 1vw, 2.1rem);
    line-height: 1.12;
    color: #15211f;
}

.weather-station__text {
    margin: 0;
    color: #515754;
}

.weather-station__frame-wrap {
    padding: 0.35rem;
    overflow: hidden;
}

.weather-station__frame {
    width: 100%;
    height: clamp(960px, 112vh, 1260px);
    min-height: 960px;
    border: 0;
    display: block;
    border-radius: calc(var(--radius-lg) - 6px);
    background: #fff;
}

@media (max-width: 960px) {

    .webcam-card,
    .webcam-card--featured {
        grid-column: span 12;
        grid-template-columns: 1fr;
    }

    .weather-station {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .webcam-grid {
        gap: 0.85rem;
    }

    .button--secondary,
    .button--ghost {
        width: 100%;
    }

    .weather-station__frame {
        height: 1100px;
        min-height: 1100px;
    }
}

/* Reservieren page */
.template-reservieren {
    --reservation-surface: var(--c-surface);
    --reservation-surface-alt: var(--c-surface-alt);
    --reservation-ink: var(--c-surface-ink);
    --reservation-ink-soft: var(--c-surface-ink-soft);
    --reservation-line: var(--c-surface-line);
    --reservation-tint: var(--c-surface-tint);
    --reservation-accent: var(--c-surface-accent);
    --reservation-accent-soft: var(--c-surface-accent-soft);
    --reservation-season: var(--c-surface-season);
    --reservation-season-soft: var(--c-surface-season-soft);
    --reservation-on-accent: var(--c-surface-on-accent);
    --reservation-control-bg: var(--c-surface-season);
    --reservation-control-ink: var(--c-surface-on-accent);
}

.reservation-hero {
    background:
        radial-gradient(circle at top right, rgba(182, 91, 28, 0.18), transparent 24%),
        linear-gradient(180deg, #f2e9db 0%, #e7ddce 100%);
}

.reservation-hero .hero__title,
.reservation-hero .hero__lead,
.reservation-hero .hero__eyebrow {
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.reservation-hero__meta {
    margin: 1rem 0 0;
    max-width: 40rem;
    color: rgba(255, 250, 242, 0.92);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
    font-weight: 500;
}

.section--reservation-shell {
    padding-top: clamp(1.35rem, 3vw, 2.25rem);
}

.reservation-shell,
.reservation-notices,
.trail-planner {
    display: grid;
    gap: 1.2rem;
}

.reservation-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.9fr);
    gap: 1rem;
    padding: clamp(1rem, 1.8vw, 1.35rem);
    border-radius: 8px;
    background: var(--reservation-surface);
    color: var(--reservation-ink);
    border: 1px solid var(--reservation-line);
    box-shadow: var(--shadow-sm);
}

.reservation-lead__copy {
    display: grid;
    gap: 0.8rem;
}

.reservation-lead__copy .eyebrow,
.reservation-panel__eyebrow {
    color: var(--reservation-accent);
}

.reservation-lead__title,
.reservation-panel__title,
.reservation-notices__title,
.trail-planner__title {
    margin: 0;
    color: var(--reservation-ink);
    font-size: clamp(1.35rem, 1.1rem + 0.75vw, 2rem);
}

.reservation-lead__text,
.reservation-panel__text,
.reservation-notices__text,
.trail-planner__text {
    color: var(--reservation-ink-soft);
}

.reservation-lead__actions {
    display: grid;
    align-content: start;
    gap: 0.65rem;
    padding: clamp(0.85rem, 1.5vw, 1rem);
    border-radius: 8px;
    background: var(--reservation-tint);
    color: var(--reservation-ink);
}

.reservation-lead__actions-label {
    margin: 0;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--reservation-ink-soft);
}

.reservation-lead__facts {
    display: grid;
    gap: 0.65rem;
    margin: 0.1rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--reservation-ink-soft);
    font-size: var(--fs-sm);
}

.reservation-lead__facts li {
    position: relative;
    padding-left: 1.25rem;
}

.reservation-lead__facts li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.46rem;
    height: 0.46rem;
    border-radius: 50%;
    background: var(--reservation-season);
}

.button--planner {
    background: var(--reservation-season-soft);
    color: var(--reservation-season);
    border-color: var(--reservation-line);
}

.button--planner:hover {
    transform: translateY(-1px);
    background: var(--reservation-season);
    color: var(--reservation-on-accent);
}

.template-reservieren .button--primary {
    background: var(--reservation-control-bg);
    color: var(--reservation-control-ink);
}

.template-reservieren .button--primary:hover {
    background: var(--reservation-accent);
    color: var(--reservation-on-accent);
}

.reservation-alerts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.reservation-lead__alerts {
    display: grid;
    gap: 0.55rem;
}

.reservation-alert {
    padding: 0.75rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--reservation-line);
    color: var(--reservation-ink);
}

.reservation-alert h3 {
    margin-bottom: 0.25rem;
    color: var(--reservation-ink);
    font-size: 1rem;
}

.reservation-alert p {
    margin: 0;
    color: var(--reservation-ink-soft);
    font-size: var(--fs-sm);
}

.reservation-alert a {
    color: var(--reservation-season);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.16em;
}

.reservation-alert--cool a {
    color: var(--reservation-accent);
}

.reservation-alert--warm {
    background: var(--reservation-season-soft);
    border-left: 4px solid var(--reservation-season);
}

.reservation-alert--cool {
    background: var(--reservation-accent-soft);
    border-left: 4px solid var(--reservation-accent);
}

.reservation-grid {
    display: grid;
    grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.35fr);
    gap: 1rem;
    align-items: start;
}

.reservation-grid--calendar {
    grid-template-columns: 1fr;
}

.reservation-panel {
    padding: clamp(0.95rem, 1.8vw, 1.25rem);
    border-radius: 8px;
    background: var(--reservation-surface);
    color: var(--reservation-ink);
    border: 1px solid var(--reservation-line);
    box-shadow: var(--shadow-sm);
}

.reservation-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.reservation-panel__eyebrow {
    margin: 0 0 0.45rem;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--reservation-ink-soft);
}

.reservation-panel__actions {
    margin-top: 1rem;
}

.reservation-calendar {
    margin-top: 0.75rem;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--reservation-line);
}

.reservation-calendar iframe {
    width: 100%;
    height: 540px;
    border: 0;
    display: block;
}

.section--reservation-notices {
    padding-block: 0 clamp(1.5rem, 4vw, 2.75rem);
}

.reservation-notices__intro {
    max-width: 48rem;
}

.reservation-notices__intro .eyebrow,
.section--reservation-notices .eyebrow {
    color: var(--c-eyebrow, var(--c-ink));
}

.reservation-notices__title {
    color: var(--c-ink);
}

.reservation-notices__text {
    color: var(--c-ink-soft);
}

.reservation-notices__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.reservation-policy {
    padding: clamp(0.95rem, 1.8vw, 1.25rem);
    border-radius: 8px;
    background: var(--reservation-surface);
    color: var(--reservation-ink);
    border: 1px solid var(--reservation-line);
    box-shadow: var(--shadow-sm);
}

.reservation-policy--alt {
    background: linear-gradient(180deg, rgba(255, 250, 242, 0.97), rgba(245, 240, 231, 0.97));
}

.reservation-policy h3 {
    margin-bottom: 0.8rem;
    color: var(--reservation-ink);
    font-size: 1.3rem;
}

.reservation-policy__list {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding-left: 1.15rem;
    color: var(--reservation-ink-soft);
}

.reservation-policy__list li::marker {
    color: var(--reservation-season);
}

.trail-planner {
    display: grid;
    gap: 0.85rem;
    padding: clamp(0.85rem, 1.6vw, 1.1rem);
    border-radius: 8px;
    background: var(--reservation-tint);
    color: var(--reservation-ink);
    border: 1px solid var(--reservation-line);
    box-shadow: var(--shadow-sm);
}

.trail-planner__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.trail-planner__head .eyebrow {
    color: var(--reservation-accent);
}

.trail-planner__title {
    color: var(--reservation-ink);
}

.trail-planner__text {
    color: var(--reservation-ink-soft);
}

.trail-planner__embed {
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--reservation-line);
}

.trail-planner__embed iframe {
    width: 100%;
    height: min(72vh, 680px);
    min-height: 520px;
    border: 0;
    display: block;
    background: #fff;
}

#stubaier-planer {
    scroll-margin-top: calc(var(--header-h) + 1rem);
}

@media (max-width: 960px) {

    .reservation-lead,
    .reservation-grid,
    .reservation-notices__grid,
    .trail-planner {
        grid-template-columns: 1fr;
    }

    .reservation-alerts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .reservation-lead__actions {
        padding: 0;
        background: transparent;
    }

    .reservation-lead__actions .button,
    .reservation-panel__actions .button,
    .trail-planner__actions .button {
        width: 100%;
        justify-content: center;
    }

    .reservation-calendar iframe {
        height: 480px;
    }
}

/* Spotlight: 1–3 Fotos im Aktuell-Block */
.section--spotlight {
    padding-block: clamp(1.75rem, 3vw, 2.75rem);
}

.spotlight {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.spotlight--c2 {
    grid-template-columns: repeat(2, 1fr);
}

.spotlight--c3 {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.spotlight--c4 {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.spotlight--c5,
.spotlight--c6 {
    grid-template-columns: repeat(3, 1fr);
}

.spotlight--c3 .spotlight__tile--image:first-of-type {
    grid-row: span 2;
}

.spotlight--c4 .spotlight__tile--image:first-of-type {
    grid-row: span 2;
}

.spotlight--c4 .spotlight__tile--info {
    grid-column: 2 / span 2;
}

@media (max-width: 720px) {

    .spotlight--c2,
    .spotlight--c3,
    .spotlight--c4,
    .spotlight--c5,
    .spotlight--c6 {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .spotlight--c3 .spotlight__tile--image:first-of-type,
    .spotlight--c4 .spotlight__tile--image:first-of-type {
        grid-row: auto;
    }

    .spotlight--c4 .spotlight__tile--info {
        grid-column: auto;
    }
}

.spotlight__tile {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #f3f3f0;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
}

.spotlight--c3 .spotlight__tile--image:first-of-type {
    aspect-ratio: 4/5;
}

.spotlight--c4 .spotlight__tile--image:first-of-type {
    aspect-ratio: 4/5;
}

.spotlight__tile>a {
    display: block;
    width: 100%;
    height: 100%;
}

.spotlight__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
}

.spotlight__tile--info {
    aspect-ratio: auto;
    min-height: 14rem;
    background: linear-gradient(180deg, #16363d 0%, #0f262c 100%);
    color: #f4f7f8;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.spotlight__info-inner {
    height: 100%;
    padding: clamp(1.1rem, 2vw, 1.6rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.55rem;
}

.spotlight__info-kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: var(--fs-xs);
    color: #9fd3dd;
}

.spotlight__info-title {
    margin: 0;
    font-family: var(--ff-display);
    font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.9rem);
    line-height: 1.15;
}

.spotlight__info-text {
    margin: 0;
    color: rgba(244, 247, 248, 0.88);
}

/* Live-Ribbon: schmaler, vollbreiter Streifen mit Webcam/Wetter */
.ribbon {
    background: linear-gradient(180deg, #0e1d24 0%, #14303a 100%);
    color: #f3f7f8;
    padding-block: 1.25rem;
    border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.ribbon__inner {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ribbon__label {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: var(--fs-sm);
    color: #a8c7d2;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.ribbon__dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
    animation: ribbon-pulse 2s ease-out infinite;
}

@keyframes ribbon-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
    }

    70% {
        box-shadow: 0 0 0 0.6rem rgba(74, 222, 128, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

.ribbon__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: 0.85rem;
}

.ribbon__tile {
    position: relative;
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.ribbon__tile img {
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.embed-frame--ribbon {
    aspect-ratio: 16/9;
}

.ribbon__caption {
    position: absolute;
    left: 0.75rem;
    bottom: 0.6rem;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 0.18rem 0.55rem;
    border-radius: var(--radius-sm);
    font-size: var(--fs-xs);
    letter-spacing: 0.04em;
}

/* Feature-Card: einzelner hervorgehobener Blogeintrag */
.section--latest .feature-card {
    --surface-ink: #1b1f1d;
    --surface-ink-soft: #5b605c;
    --surface-accent: #284946;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1.5rem;
    background: rgba(255, 250, 242, 0.96);
    color: var(--surface-ink);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 760px) {
    .section--latest .feature-card {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.feature-card__media {
    display: block;
    background: #f3f3f0;
}

.feature-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 5/3;
}

.feature-card__placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 5/3;
    background: linear-gradient(135deg, #e9e6df, #d6d2c9);
}

.feature-card__body {
    padding: 1.5rem clamp(1.25rem, 2vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-self: center;
    color: var(--surface-ink);
}

.feature-card__meta {
    margin: 0;
    color: var(--surface-ink-soft);
    font-size: var(--fs-sm);
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.feature-card__title {
    margin: 0;
    font-size: clamp(1.35rem, 1.05rem + 1vw, 1.85rem);
    line-height: 1.25;
}

.feature-card__title a {
    color: var(--surface-ink);
    text-decoration: none;
}

.feature-card__title a:hover {
    text-decoration: underline;
}

.feature-card__summary {
    margin: 0;
    color: var(--surface-ink-soft);
}

.feature-card__more {
    margin-top: 0.4rem;
    align-self: flex-start;
    font-weight: 600;
    color: var(--surface-accent);
}

/* Entry / Prose */
.entry {
    padding-block: clamp(2rem, 4vw, 3.5rem);
}

.entry__content.prose>*+* {
    margin-top: 1rem;
}

.prose h2 {
    font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem);
    margin-top: 2rem;
}

.prose h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
}

.prose ul,
.prose ol {
    padding-left: 1.25rem;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    background: #fffdfa;
    color: #18211f;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(16, 24, 22, 0.06);
}

.prose th,
.prose td {
    padding: 0.65rem 0.8rem;
    border: 1px solid #d6d6d6;
    color: #18211f;
    background: #fffdfa;
}

.prose th {
    background: #e8f2dd;
    color: #1f2d1e;
    font-weight: 700;
    text-align: left;
}

.prose tbody tr:nth-child(even) td {
    background: #f6f8f3;
}

.prose tbody tr:hover td {
    background: #eef5e6;
}

.prose td:nth-last-child(-n + 2) {
    text-align: right;
    white-space: nowrap;
}

.page-speisen {
    --menu-script: 'Marck Script', 'Segoe Script', 'Brush Script MT', cursive;
    --menu-paper: #fcf6eb;
    --menu-paper-soft: #f4e6d4;
    --menu-line: rgba(84, 61, 34, 0.22);
    --menu-ink: #2f2115;
    --menu-ink-soft: #5b4735;
    --menu-accent: #8f4d20;
    --menu-accent-soft: rgba(143, 77, 32, 0.12);
}

.page-speisen .prose table {
    table-layout: fixed;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0)) 0 0 / 100% 4.5rem no-repeat,
        linear-gradient(180deg, var(--menu-paper), var(--menu-paper-soft));
    color: var(--menu-ink);
    border: 1px solid var(--menu-line);
    border-radius: 22px;
    box-shadow:
        0 16px 34px rgba(49, 33, 17, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

@supports (color: color-mix(in srgb, black, white)) {
    .page-speisen {
        --menu-paper: color-mix(in srgb, white 88%, #e8d6bd 12%);
        --menu-paper-soft: color-mix(in srgb, white 70%, #dcc1a0 30%);
        --menu-line: color-mix(in srgb, #5d4631 22%, transparent);
        --menu-ink: color-mix(in srgb, #2f2115 92%, #8f4d20 8%);
        --menu-ink-soft: color-mix(in srgb, #5b4735 88%, #8f4d20 12%);
        --menu-accent: color-mix(in srgb, #8f4d20 82%, #5d4631 18%);
        --menu-accent-soft: color-mix(in srgb, #8f4d20 10%, white 90%);
    }

    .page-speisen .prose table {
        background:
            linear-gradient(180deg, color-mix(in srgb, white 42%, transparent), transparent) 0 0 / 100% 4.5rem no-repeat,
            linear-gradient(180deg, var(--menu-paper), var(--menu-paper-soft));
    }
}

.page-speisen .prose th,
.page-speisen .prose td {
    border-color: var(--menu-line);
    background: transparent;
    color: var(--menu-ink);
    vertical-align: top;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.page-speisen .prose th {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), var(--menu-accent-soft));
    color: var(--menu-accent);
    font-family: var(--menu-script);
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.45rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-align: center !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.page-speisen .prose td:first-child {
    font-family: var(--menu-script);
    font-size: clamp(1.1rem, 1rem + 0.35vw, 1.35rem);
    line-height: 1.18;
    color: var(--menu-accent);
}

.page-speisen .prose td {
    color: var(--menu-ink-soft);
    text-align: center !important;
}

.page-speisen .prose th:nth-child(2):not(:last-child),
.page-speisen .prose td:nth-child(2):not(:last-child),
.page-speisen .prose table:first-of-type th:nth-child(2),
.page-speisen .prose table:first-of-type td:nth-child(2),
.page-speisen .prose table:nth-of-type(2) th:nth-child(2),
.page-speisen .prose table:nth-of-type(2) td:nth-child(2) {
    font-family: var(--menu-script);
    font-size: clamp(1.05rem, 0.98rem + 0.25vw, 1.22rem);
    line-height: 1.22;
}

.page-speisen .prose td:nth-child(2) {
    color: var(--menu-ink);
}

.page-speisen .prose td:last-child {
    color: var(--menu-ink);
    font-weight: 600;
}

.page-speisen .prose table:first-of-type td:last-child,
.page-speisen .prose table:nth-of-type(2) td:last-child {
    text-align: center !important;
    white-space: normal;
    font-weight: 400;
}

.page-speisen .prose table:nth-of-type(n + 3) td:last-child {
    text-align: center !important;
    white-space: normal;
    font-family: var(--menu-script);
    font-size: clamp(1.05rem, 0.98rem + 0.25vw, 1.22rem);
    line-height: 1.22;
    font-weight: 400;
}

.page-speisen .prose tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.38);
}

.page-speisen .prose tbody tr:hover td {
    background: rgba(143, 77, 32, 0.1);
}

.page-speisen .prose td:nth-last-child(-n + 2) {
    text-align: center !important;
}

.page-speisen .prose td:last-child,
.page-speisen .prose th:last-child {
    letter-spacing: 0.03em;
}

.page-speisen .prose td:empty::after {
    content: '–';
    color: color-mix(in srgb, var(--menu-ink-soft) 45%, transparent);
}

@media (max-width: 760px) {
    .page-speisen .prose table {
        display: table;
        width: 100%;
        overflow-x: visible;
        border-radius: 18px;
    }

    .page-speisen .prose th,
    .page-speisen .prose td {
        min-width: 0;
    }
}

.prose blockquote {
    margin: 1.5rem 0;
    padding: 0.6rem 1rem;
    border-left: 3px solid var(--c-accent-warm);
    color: var(--c-ink-soft);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
}

.prose img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.entry__back {
    margin-top: 2.5rem;
}

@media (max-width: 760px) {
    .prose table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Gallery */
.entry__gallery {
    margin-top: 2.5rem;
    width: min(calc(100vw - var(--gutter) * 2), 1080px);
    margin-left: 50%;
    transform: translateX(-50%);
}

.entry__gallery-title {
    margin: 0 0 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-flow: dense;
    grid-auto-rows: clamp(4.75rem, 8vw, 6.5rem);
    gap: 0.9rem;
}

.gallery-item {
    margin: 0;
    grid-column: span 2;
    grid-row: span 2;
    min-height: 0;
    overflow: hidden;
}

.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item--lead.gallery-item--landscape {
    grid-column: span 4;
    grid-row: span 4;
}

.gallery-item--lead.gallery-item--panorama {
    grid-column: span 4;
    grid-row: span 3;
}

.gallery-item--lead.gallery-item--portrait {
    grid-column: span 3;
    grid-row: span 5;
}

.gallery-item--lead.gallery-item--square {
    grid-column: span 3;
    grid-row: span 4;
}

.gallery-item--panorama {
    grid-column: span 3;
    grid-row: span 2;
}

.gallery-item--landscape {
    grid-column: span 3;
    grid-row: span 2;
}

.gallery-item--compact {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item--portrait {
    grid-column: span 2;
    grid-row: span 4;
}

.gallery-item--square {
    grid-column: span 2;
    grid-row: span 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.gallery-item--panorama img,
.gallery-item--portrait img,
.gallery-item--lead.gallery-item--panorama img,
.gallery-item--lead.gallery-item--portrait img {
    transform: scale(1.04);
}

.gallery-grid--c2 {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    grid-template-rows: repeat(2, clamp(7.5rem, 11vw, 10rem));
    grid-auto-flow: row;
}

.gallery-grid--c2 .gallery-item {
    grid-column: auto;
    grid-row: auto;
}

.gallery-grid--c2 .gallery-item:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.gallery-grid--c2 .gallery-item:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
}

@media (max-width: 820px) {
    .entry__gallery {
        width: 100%;
        margin-left: 0;
        transform: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-rows: clamp(5rem, 18vw, 6.5rem);
    }

    .gallery-item--lead.gallery-item--landscape,
    .gallery-item--lead.gallery-item--panorama {
        grid-column: span 4;
        grid-row: span 3;
    }

    .gallery-item--panorama {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item--lead.gallery-item--portrait {
        grid-column: span 2;
        grid-row: span 4;
    }

    .gallery-item--lead.gallery-item--square {
        grid-column: span 2;
        grid-row: span 3;
    }

    .gallery-item--landscape,
    .gallery-item--square {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item--portrait {
        grid-column: span 2;
        grid-row: span 3;
    }

    .gallery-grid--c2 {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
        grid-template-rows: repeat(2, clamp(6.5rem, 18vw, 8rem));
    }
}

@media (max-width: 560px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: clamp(6.5rem, 26vw, 8rem);
    }

    .gallery-item {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item--lead.gallery-item--landscape,
    .gallery-item--lead.gallery-item--panorama {
        grid-column: 1 / -1;
        grid-row: span 1;
    }

    .gallery-item--panorama {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item--lead.gallery-item--portrait,
    .gallery-item--portrait {
        grid-column: span 1;
        grid-row: span 2;
    }

    .gallery-item--lead.gallery-item--square,
    .gallery-item--square,
    .gallery-item--landscape {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item img {
        height: 100%;
    }

    .gallery-item--panorama img,
    .gallery-item--portrait img,
    .gallery-item--lead.gallery-item--panorama img,
    .gallery-item--lead.gallery-item--portrait img {
        transform: scale(1.08);
    }

    .gallery-grid--c2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: clamp(8rem, 34vw, 10rem);
    }

    .gallery-grid--c2 .gallery-item:first-child,
    .gallery-grid--c2 .gallery-item:last-child {
        grid-column: span 1;
        grid-row: 1;
    }
}

.gallery-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(8, minmax(0, 1fr));
    grid-auto-rows: unset;
    aspect-ratio: 16 / 10;
}

.gallery-item {
    border-radius: 16px;
}

.gallery-item a {
    border-radius: inherit;
    overflow: hidden;
}

.gallery-item img {
    border-radius: 0;
}

.gallery-grid--c1>.gallery-item:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
}

.gallery-grid--c2>.gallery-item:nth-child(1) {
    grid-column: 1 / 8;
    grid-row: 1 / 9;
}

.gallery-grid--c2>.gallery-item:nth-child(2) {
    grid-column: 8 / 13;
    grid-row: 1 / 9;
}

.gallery-grid--c3>.gallery-item:nth-child(1) {
    grid-column: 1 / 8;
    grid-row: 1 / 9;
}

.gallery-grid--c3>.gallery-item:nth-child(2) {
    grid-column: 8 / 13;
    grid-row: 1 / 5;
}

.gallery-grid--c3>.gallery-item:nth-child(3) {
    grid-column: 8 / 13;
    grid-row: 5 / 9;
}

.gallery-grid--c4>.gallery-item:nth-child(1) {
    grid-column: 1 / 9;
    grid-row: 1 / 5;
}

.gallery-grid--c4>.gallery-item:nth-child(2) {
    grid-column: 9 / 13;
    grid-row: 1 / 5;
}

.gallery-grid--c4>.gallery-item:nth-child(3) {
    grid-column: 1 / 7;
    grid-row: 5 / 9;
}

.gallery-grid--c4>.gallery-item:nth-child(4) {
    grid-column: 7 / 13;
    grid-row: 5 / 9;
}

.gallery-grid--c5>.gallery-item:nth-child(1) {
    grid-column: 1 / 8;
    grid-row: 1 / 5;
}

.gallery-grid--c5>.gallery-item:nth-child(2) {
    grid-column: 8 / 13;
    grid-row: 1 / 3;
}

.gallery-grid--c5>.gallery-item:nth-child(3) {
    grid-column: 8 / 13;
    grid-row: 3 / 5;
}

.gallery-grid--c5>.gallery-item:nth-child(4) {
    grid-column: 1 / 5;
    grid-row: 5 / 9;
}

.gallery-grid--c5>.gallery-item:nth-child(5) {
    grid-column: 5 / 13;
    grid-row: 5 / 9;
}

.gallery-grid--c6>.gallery-item:nth-child(1) {
    grid-column: 1 / 8;
    grid-row: 1 / 5;
}

.gallery-grid--c6>.gallery-item:nth-child(2) {
    grid-column: 8 / 13;
    grid-row: 1 / 3;
}

.gallery-grid--c6>.gallery-item:nth-child(3) {
    grid-column: 8 / 13;
    grid-row: 3 / 5;
}

.gallery-grid--c6>.gallery-item:nth-child(4) {
    grid-column: 1 / 5;
    grid-row: 5 / 9;
}

.gallery-grid--c6>.gallery-item:nth-child(5) {
    grid-column: 5 / 9;
    grid-row: 5 / 9;
}

.gallery-grid--c6>.gallery-item:nth-child(6) {
    grid-column: 9 / 13;
    grid-row: 5 / 9;
}

@media (max-width: 820px) {
    .gallery-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        grid-template-rows: repeat(8, minmax(0, 1fr));
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 560px) {
    .gallery-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        grid-template-rows: repeat(8, minmax(0, 1fr));
        aspect-ratio: 1 / 1.08;
        gap: 0.55rem;
    }
}

/* Lightbox */
.lightbox-link {
    cursor: zoom-in;
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox[hidden] {
    display: none;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 14, 16, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 1120px);
    min-height: 100dvh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    justify-items: center;
    gap: 0.75rem;
}

.lightbox__figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    min-height: min(100dvh, 100vh);
    position: relative;
}

.lightbox__image,
.lightbox__video {
    display: block;
    max-width: 100%;
    max-height: min(78vh, 900px);
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

.lightbox__video {
    width: min(100%, 1100px);
    aspect-ratio: 16 / 9;
    background: #000;
}

.lightbox__image[hidden],
.lightbox__video[hidden] {
    display: none;
}

.lightbox__caption {
    position: fixed;
    left: 50%;
    bottom: max(1rem, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: min(92vw, 1120px);
    color: #eef2f4;
    text-align: center;
    min-height: 1.2rem;
}

.lightbox__close,
.lightbox__nav {
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}

.lightbox__close {
    position: absolute;
    top: 1rem;
    right: 0;
}

.lightbox__nav[hidden] {
    display: none;
}

@media (max-width: 720px) {
    .lightbox__dialog {
        width: 100vw;
        height: 100dvh;
        padding:
            max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr) auto;
        justify-items: center;
        align-items: stretch;
        gap: 0.35rem;
    }

    .lightbox__figure {
        width: 100%;
        height: 100%;
        justify-content: center;
        gap: 0.45rem;
    }

    .lightbox__close {
        top: max(0.75rem, env(safe-area-inset-top));
        right: max(0.75rem, env(safe-area-inset-right));
    }

    .lightbox__nav {
        position: fixed;
        bottom: max(0.75rem, env(safe-area-inset-bottom));
    }

    .lightbox__nav--prev {
        left: max(0.75rem, env(safe-area-inset-left));
    }

    .lightbox__nav--next {
        right: max(0.75rem, env(safe-area-inset-right));
    }

    .lightbox__image {
        width: auto;
        max-width: 100%;
        max-height: min(calc(100dvh - 7rem), calc(100vh - 7rem));
        object-fit: contain;
    }

    .lightbox__caption {
        width: 100%;
        padding-inline: 0.25rem;
        bottom: max(4.25rem, env(safe-area-inset-bottom));
    }
}

/* Footer */
.site-footer {
    margin-top: clamp(3rem, 5vw, 5rem);
    background: #15201d;
    color: rgba(255, 250, 242, 0.82);
    padding: 3rem 0 1rem;
}

.site-footer a {
    color: rgba(255, 250, 242, 0.92);
}

.site-footer a:hover {
    color: #fff;
}

.site-footer__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
}

.site-footer__title {
    font-family: var(--ff-display);
    font-size: 1.4rem;
    color: #fff;
    margin: 0 0 0.5rem;
}

.site-footer__heading {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin: 0 0 0.7rem;
    color: rgba(255, 250, 242, 0.6);
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.4rem;
}

.site-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: grid;
    gap: 0.3rem;
}

.site-footer__bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: var(--fs-sm);
}

.site-footer__languages {
    margin-top: 1.2rem;
}

.lang-switcher--footer .lang-switcher__link {
    border-color: rgba(255, 250, 242, 0.18);
    background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 700px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
}