/* ════════════════════════════════════════════════════════════════════
   VERONIKA APPARTEMENTS — STYLESHEET
   Defereggental, Osttirol
   Kompatibel mit ThemeBuilder & Rauiis CMS
   ════════════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════════════
   DESIGN TOKENS — ThemeBuilder-kompatibel
   ════════════════════════════════════════════════════════════════════ */
:root {
    --primary: #5F1023;
    --primary-dark: #420b18;
    --primary-hover: #7b152e;
    --primary-light: #a0293e;
    --bg-body: #ffffff;
    --bg-section: #ffffff;
    --bg-dark: #2a2a2a;
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #ffffff;
    --border-color: #e0e0e0;
    --font-script: 'Pacifico', cursive;
    --font-sans: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-body: 'Lora', Georgia, serif;
    --font-size-base: 16px;
    --line-height: 1.7;
    --header-height: 120px;
    --container-width: 1200px;
    --container-width-head: 1640px;
    --transition: all 0.3s ease;
    --card-radius: 4px;
    --btn-radius: 5px;
    --shadow: 0px 11px 21px 2px rgba(0, 0, 0, 0.45);
    --shadow-hover: 0px 18px 30px 4px rgba(0, 0, 0, 0.55);
    --wave-color: #ffffff;
    --hero-bg-image: url('../img/hero-balcony.jpg');
    /* Logo Einstellungen */
    --logo-height: 90px;
    --logo-radius: 6px;
    --logo-bg: transparent;
    --logo-padding: 0px;
}

/* ════════════════════════════════════════════════════════════════════
   RESET & GLOBAL
   ════════════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-sans);
    background: var(--bg-body);
    color: var(--text-main);
    line-height: var(--line-height);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* Barrierefreiheit */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    z-index: 9999;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 1rem;
}

/* ════════════════════════════════════════════════════════════════════
   LAYOUT
   ════════════════════════════════════════════════════════════════════ */
.container-head {
    max-width: var(--container-width-head);
    width: 100%;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

.container {
    max-width: var(--container-width);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
    padding-block: clamp(3rem, 6vw, 5rem);
}

/* Script-Font Klasse */
.font-script {
    font-family: var(--font-script);
}

/* ════════════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════════════ */
.btn {
    display: inline-block;
    padding: 0.65rem 1.6rem;
    border: 2px solid transparent;
    border-radius: var(--btn-radius);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--primary);
}

.btn-dark {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    border-radius: 0;
}

.btn-dark:hover {
    background: var(--primary-dark);
}

/* ════════════════════════════════════════════════════════════════════
   ANIMIERTE DOPPEL-WELLEN (Signature Alpine Motion)
   ════════════════════════════════════════════════════════════════════ */
.wave-divider {
    position: relative;
    overflow: hidden;
    line-height: 0;
    width: 100%;
}

.wave-divider svg {
    display: block;
    width: calc(100% + 120px);
    max-width: none;
}

.wave-bottom {
    margin-top: -2px;
}

.wave-top {
    margin-bottom: -2px;
}

/* Animierte Wellen-Ebenen */
.wave-layer-back {
    animation: waveFlowBack 14s ease-in-out infinite alternate;
    transform-origin: center;
}

.wave-layer-front {
    animation: waveFlowFront 8s ease-in-out infinite alternate;
    transform-origin: center;
}

@keyframes waveFlowBack {
    0% {
        transform: translateX(0) scaleY(1);
    }

    50% {
        transform: translateX(-40px) scaleY(1.08);
    }

    100% {
        transform: translateX(-80px) scaleY(0.95);
    }
}

@keyframes waveFlowFront {
    0% {
        transform: translateX(-60px) scaleY(0.95);
    }

    50% {
        transform: translateX(-20px) scaleY(1.06);
    }

    100% {
        transform: translateX(10px) scaleY(1);
    }
}

@media (prefers-reduced-motion: reduce) {

    .wave-layer-back,
    .wave-layer-front {
        animation: none !important;
    }
}

/* ════════════════════════════════════════════════════════════════════
   STICKY TOP-BAR
   ════════════════════════════════════════════════════════════════════ */
.claender {
    margin-top: 1px;
    width: 100%;
}

.header-claender {
    width: 100%;
    margin-top:-200px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
    height: var(--header-height, 70px);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.topbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* 3-Spalten-Raster: Logo sitzt mathematisch in der Mitte und wird NIE gestaucht */
.topbar-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

/* ── 1. LINKER BUTTON (Telefon mit SVG) ───────────────────────── */
/* ── 1. TELEFON CONTAINER & BUTTON ───────────────────────────── */
.topbar-phone {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15.625rem;
    overflow: visible !important;
}

/* Neuer Wrapper: Genau so groß wie der Button selbst */
.phone-dropdown-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.topbar-phone a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background-color: var(--primary, #420b18);
    color: var(--text-light, #ffffff);
    height: 42px;
    padding: 0.50rem 1.8rem;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    cursor: pointer;
}

.topbar-phone a svg {
    display: inline-block !important;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.topbar-phone a:hover {
    background-color: var(--primary-dark, #5a1020);
    color: var(--text-light, #ffffff);
}

/* ── DIE AUSFAHRENDE KARTE (Öffnungszeiten) ───────────────────── */
.phone-dropdown-card {
    position: absolute;
    top: calc(100% + 8px);
    /* 8px unterhalb des Telefon-Buttons */
    left: 0;
    /* Bündig an der linken Kante des Buttons ausgerichtet */
    width: 295px;
    max-width: calc(100vw - 2rem);
    background: #ffffff !important;
    color: var(--text-main, #35434A) !important;
    border: 1px solid var(--border-color, #e0e0e0);
    border-top: 3px solid var(--primary, #5F1023);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
    padding: 1.2rem 1.4rem;
    z-index: 99999 !important;
    text-align: left;

    /* Ruhezustand */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

/* Unsichtbare Brücke, damit der Hover beim Bewegen von Button zur Karte nicht abreißt */
.phone-dropdown-card::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

/* ── HOVER & FOCUS: Fährt aus bei Maus-Hover oder Tastatur-Fokus ── */
.phone-dropdown-wrapper:hover .phone-dropdown-card,
.phone-dropdown-wrapper:focus-within .phone-dropdown-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Inhalt des Kärtchens */
.card-header-title {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark, #5a1020);
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.card-times-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.85rem 0;
    font-size: 0.85rem;
    line-height: 1.6;
}

.card-times-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

.card-times-list li:last-child {
    border-bottom: none;
}

.card-times-list .day {
    font-weight: 600;
    color: var(--text-main, #35434A);
}

.card-times-list .time {
    color: #555555;
}

.card-footer-note {
    font-size: 0.78rem;
    color: var(--text-muted, #71838D);
    background: #fbfbfb;
    border: 1px solid #f0f0f0;
    padding: 0.45rem 0.6rem;
    border-radius: 4px;
    text-align: center;
}



/* ── 2. MITTE (Logo mit dezentem 3D-Blick zur Maus & normalem Hover) ── */
.topbar-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0 !important;
    perspective: 700px;
    cursor: pointer;
}

.topbar-logo img {
    height: var(--logo-height, 56px) !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
    vertical-align: middle;
    border-radius: var(--logo-radius, 0px);
    background: var(--logo-bg, transparent);
    padding: var(--logo-padding, 0px);
    flex-shrink: 0 !important;
    display: block;
    transform-origin: center center;
    transform: perspective(700px) rotateX(var(--logo-rx, 0deg)) rotateY(var(--logo-ry, 0deg)) scale(1);
    transition: transform 0.22s cubic-bezier(0.25, 1, 0.5, 1), filter 0.22s ease;
    will-change: transform;
}

/* Normaler sauberer Hover beim direkten Überfahren */
.topbar-logo:hover img {
    transform: perspective(700px) rotateX(var(--logo-rx, 0deg)) rotateY(var(--logo-ry, 0deg)) scale(1.05);
    filter: drop-shadow(0 5px 12px rgba(95, 16, 35, 0.18));
}

.topbar-logo-text {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-main);
    text-align: center;
}

.topbar-logo-text .script {
    font-family: var(--font-script);
    font-size: 1.7rem;
    color: var(--primary);
}

/* ── 3. RECHTER BUTTON (Jetzt Anfragen) ───────────────────────── */
.topbar-cta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Exakt derselbe Abstand wie links, damit alles symmetrisch bleibt: */
    padding-left: 15.625rem;
}

.topbar-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary, #420b18);
    color: var(--text-light, #ffffff);
    height: 42px;
    padding: 0.50rem 1.8rem;
    border-radius: 12px;
    border: none;
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}

.topbar-cta a:hover {
    background-color: var(--primary-dark, #5a1020);
    color: var(--text-light, #ffffff);
}

/* ── MOBILE (Burger Navigation) ──────────────────────────────── */
.topbar-burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--primary);
}

.mobile-nav-drawer {
    display: none;
    flex-direction: column;
    background: #ffffff;
    border-top: 1px solid var(--border-color, #e0e0e0);
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

.mobile-nav-drawer.open {
    display: flex;
}

.mobile-nav-drawer a {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color, #e0e0e0);
}

.mobile-nav-drawer a:hover {
    background: #f8f8f8;
    color: var(--primary);
}

@media (max-width: 1400px) {
    .topbar-phone {
        padding-right: clamp(1rem, 3.5vw, 6rem);
    }

    .topbar-cta {
        padding-left: clamp(1rem, 3.5vw, 6rem);
    }
}

@media (max-width: 820px) {
    .topbar-inner {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
    }

    .topbar-phone {
        display: none;
        padding-right: 0;
    }

    .topbar-cta {
        padding-left: 0;
    }

    .topbar-burger {
        display: flex;
    }
}

/* ════════════════════════════════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: calc(80vh - var(--header-height));
    background-color: #2a3d2a;
    background-image: var(--hero-bg-image, url('../img/hero-balcony.jpg'));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Zentriert den Inhaltsblock auf dem Bildschirm */
    overflow: hidden;
    padding-inline: 1rem;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.0) 0%,
            rgba(0, 0, 0, 0.25) 40%,
            rgba(0, 0, 0, 0.45) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;

    /* Animation: 5 Sekunden lang, weicher Anlauf und sanftes Abbremsen */
    animation: heroPopOut 3.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity, filter;
}

/* Der Pop-Out-Effekt: Kommt aus der Tiefe des Bildes nach vorne */
@keyframes heroPopOut {
    0% {
        opacity: 0;
        transform: scale(0.65) translateY(40px);
        filter: blur(10px);
    }

    0% {
        /* Nach knapp 2 Sekunden ist der Text schon gut lesbar */
        opacity: 0.8;
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0px);
    }
}

/* 3. Titel zentriert halten */
.hero-brand-title {
    font-family: var(--font-script);
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.15;
    margin: 0 auto 1.5rem auto;
    text-align: center;
    width: 100%;
}

/* Erstes Wort: Kräftiges Schwarz */
.hero-brand-title .brand-first {
    color: #111111;
}

/* Zweites Wort: Veronika-Burgund */
.hero-brand-title .brand-second {
    color: var(--primary);
    /* Nutzt dein definiertes Burgund (#5F1023 / #7B1B2E) */
    margin-left: 0.35em;
}

/* Mobil-Optimierung für kleinere Displays */
@media (max-width: 600px) {
    .hero-brand-title {
        white-space: normal;
        font-size: 2.8rem;
    }

    .hero-brand-title .brand-second {
        display: block;
        margin-left: 0;
        margin-top: 0.2rem;
    }
}

.hero-quote {
    font-family: var(--font-script);
    font-size: clamp(1.3rem, 3.5vw, 2rem);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.45;
    margin-bottom: 0.5rem;
}

.hero-quote::before {
    content: '" ';
}

.hero-quote::after {
    content: ' "';
}

.hero-quote-sub {
    font-family: var(--font-script);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

/* Hero Booking Button */
.hero-btn-wrap {
    margin-top: 1.5rem;
}

.hero-booking-btn {
    background-color: #5F1023;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid #5F1023;
    border-radius: 5px;
    padding: 13px 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-booking-btn:hover {
    background-color: #7a152d;
    border-color: #7a152d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

/* ════════════════════════════════════════════════════════════════════
   HERO WELLEN-ABSCHLUSS (3 aktive, überbreite Alpine-Wellen-Ebenen)
   Welle 1: Hintergrund (ca. 75% transparent / 25% Deckkraft)
   Welle 2: Mitte (ca. 10% transparent / 90% Deckkraft)
   Welle 3: Vordergrund (100% Solid Weiß, bündig zur Cards-Sektion)
   ════════════════════════════════════════════════════════════════════ */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    width: 100%;
    height: 150px;
    /* Hier einfach deine gewünschte feste Pixel-Höhe eintragen */
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    line-height: 0;
}

.hero-wave-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 1000%;
    height: 100%;
    display: block;
    will-change: transform;
    pointer-events: none;
}

.hero-wave-layer path {
    fill: var(--hero-wave-color, #ffffff);
}

/* Welle 1: Hintergrund (ca. 75% transparent = 25% Deckkraft) */
.hero-wave-back {
    opacity: 0.25;
    animation: heroWaveFlowBack 128s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
}

/* Welle 2: Mitte (ca. 10% transparent = 90% Deckkraft) */
.hero-wave-mid {
    opacity: 0.25;
    animation: heroWaveFlowMid 120s cubic-bezier(0.36, 0.45, 0.63, 0.53) -5s infinite;
}

/* Welle 3: Vordergrund (100% Solid Weiß) */
.hero-wave-front {
    opacity: 1.0;
    animation: heroWaveFlowFront 124s cubic-bezier(0.36, 0.45, 0.63, 0.53) -10s infinite;
}

/* Sanfte, gegenläufige Parallax-Wellenbewegung */
@keyframes heroWaveFlowBack {
    0% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(-33.333%, 0, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes heroWaveFlowMid {
    0% {
        transform: translate3d(-33.333%, 0, 0);
    }

    50% {
        transform: translate3d(-5%, 0, 0);
    }

    100% {
        transform: translate3d(-33.333%, 0, 0);
    }
}

@keyframes heroWaveFlowFront {
    0% {
        transform: translate3d(-10%, 0, 0);
    }

    50% {
        transform: translate3d(-26%, 0, 0);
    }

    100% {
        transform: translate3d(-10%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-wave-layer {
        animation: none !important;
    }
}

/* ════════════════════════════════════════════════════════════════════
   AKTIVITÄTEN KARTEN (Sommer: Klettern / Wandern / Radfahren)
   ════════════════════════════════════════════════════════════════════ */
.aktivitaeten-section {
    background: #ffffff;
    /* Oberes Padding stark vergrößern: Das schiebt den nachfolgenden Text/Inhalt nach unten */
    padding-top: 140px;
    padding-bottom: clamp(3rem, 5vw, 5rem);
    position: relative;
    z-index: 3;
}

/* 2. Die Karten weiter nach oben in den Hero-Bereich ziehen */
.aktivitaeten-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    /* Je größer der negative Wert, desto höher wandern die Bilder in den Hero */
    margin-top: -250px;
    position: relative;
    z-index: 4;
}

/* Mobile Ansicht nicht vergessen */
@media (max-width: 900px) {
    .aktivitaeten-section {
        padding-top: 80px;
    }

    .aktivitaeten-cards {
        grid-template-columns: 1fr;
        margin-top: -120px;
    }
}

.akt-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0px 11px 21px 2px rgba(0, 0, 0, 0.45);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background-color: #1a1a1a;
}

.akt-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 18px 30px 4px rgba(0, 0, 0, 0.55);
}

.akt-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.akt-card:hover img {
    transform: scale(1.08);
}

.akt-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.65) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.akt-card:hover::after {
    background-color: rgba(0, 0, 0, 0.12);
}

.akt-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 2.5rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.akt-card-eyebrow {
    font-family: var(--font-serif);
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 0.35rem;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.akt-card-title {
    font-family: var(--font-script);
    font-size: 38px;
    color: #ffffff;
    margin-bottom: 1.25rem;
    font-weight: 400;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
}

.akt-card .btn {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    background-color: #5F1023;
    color: #ffffff;
    border-radius: 5px;
    padding: 12px 24px;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.akt-card .btn:hover {
    background-color: #7a152d;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* ════════════════════════════════════════════════════════════════════
   LOGO / BADGE SECTION (Mitte)
   ════════════════════════════════════════════════════════════════════ */
.logo-badge-section {
    background: var(--bg-section);
    padding-block: 3rem 2rem;
    text-align: center;
}

.logo-badge-section img {
    max-height: 400px;
    width: auto;
    margin: 0 auto 1rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
    transition: transform 0.4s ease;
}

.logo-badge-section img:hover {
    transform: scale(1.04);
}

.logo-badge-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* ── 4 SÄULEN / HIGHLIGHTS (Lage, Zimmerservice, Unser Wunsch, Good to know) ── */
.home-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem 2rem;
    max-width: var(--container-width, 1200px);
    margin: 4.5rem auto 1.5rem;
    padding: 0 1rem;
    text-align: center;
}

.home-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    margin-bottom: 1.1rem;
    color: var(--primary, #5F1023);
    transition: transform 0.3s ease;
}

.home-feature-icon svg {
    height: 44px;
    width: auto;
    max-width: 55px;
    display: block;
    fill: currentColor;
}

.home-feature-item:hover .home-feature-icon {
    transform: translateY(-5px) scale(1.08);
}

.home-feature-title {
    font-family: var(--font-script);
    font-size: clamp(1.8rem, 2.3vw, 2.25rem);
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 0.75rem 0;
    line-height: 1.25;
}

.home-feature-text {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.65;
    color: #555555;
    margin: 0;
    max-width: 250px;
}

@media (max-width: 992px) {
    .home-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 1.5rem;
        margin-top: 3.5rem;
    }
}

@media (max-width: 580px) {
    .home-features-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 2.5rem;
    }
}

/* ════════════════════════════════════════════════════════════════════
   SOMMER AKTIVITÄTEN DETAILS (inline mit Bild)
   ════════════════════════════════════════════════════════════════════ */
.akt-detail-section {
    background: var(--bg-body);
    padding-block: clamp(3rem, 5vw, 5rem);
}

.akt-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    margin-bottom: 4rem;
}

.akt-detail-grid.reverse {
    direction: rtl;
}

.akt-detail-grid.reverse>* {
    direction: ltr;
}

@media (max-width: 768px) {

    .akt-detail-grid,
    .akt-detail-grid.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

.akt-detail-img {
    border-radius: var(--card-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow);
}

.akt-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.akt-detail-img:hover img {
    transform: scale(1.04);
}

.akt-detail-img.floating {
    animation: floatAnim 4s ease-in-out infinite;
}

.akt-detail-text h2 {
    font-family: var(--font-script);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.akt-detail-text h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.akt-detail-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

/* ════════════════════════════════════════════════════════════════════
   WINTER AKTIVITÄTEN
   ════════════════════════════════════════════════════════════════════ */
.winter-section {
    position: relative;
    background: #eaeaea;
    padding-block: clamp(3rem, 6vw, 5rem);
}

.winter-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .winter-cards {
        grid-template-columns: 1fr;
    }
}

.winter-card {
    text-align: center;
}

.winter-card-img {
    border-radius: var(--card-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.winter-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.winter-card:hover .winter-card-img img {
    transform: scale(1.05);
}

.winter-card h3 {
    font-family: var(--font-script);
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.winter-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Winter Parallax-Banner */
.aktivurlaub-banner {
    position: relative;
    min-height: 350px;
    background-image: url('../img/hero-winter.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.aktivurlaub-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.aktivurlaub-banner-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.aktivurlaub-banner h2 {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #fff;
    line-height: 1.15;
    margin-bottom: 0.25rem;
}

.aktivurlaub-banner p {
    font-family: var(--font-script);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    color: rgba(255, 255, 255, 0.9);
}

/* ════════════════════════════════════════════════════════════════════
   APPARTEMENTS SECTION
   ════════════════════════════════════════════════════════════════════ */
.apts-section {
    background: var(--bg-body);
    padding-block: clamp(3rem, 6vw, 5rem);
}

.apts-heading {
    font-family: var(--font-script);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

.apts-divider {
    width: 80px;
    height: 3px;
    background: var(--primary);
    margin: 0.75rem auto 3rem;
    border-radius: 2px;
}

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

@media (max-width: 860px) {
    .apts-grid {
        grid-template-columns: 1fr;
    }
}

.apt-card {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.apt-card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.apt-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.apt-card:hover .apt-card-img img {
    transform: scale(1.05);
}

.apt-card-body {
    padding: 1.5rem;
}

.apt-card-name {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.apt-address {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.83rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.apt-address svg {
    flex-shrink: 0;
    color: var(--primary);
}

.apt-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
    margin-bottom: 1.25rem;
}

.apt-feat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.apt-feat svg {
    color: var(--primary);
    flex-shrink: 0;
}

.apt-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.7;
    white-space: pre-line;
}

.apt-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
    gap: 1rem;
    flex-wrap: wrap;
}

.apt-price-label {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
}

.apt-price-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

/* ════════════════════════════════════════════════════════════════════
   KONTAKT SECTION
   ════════════════════════════════════════════════════════════════════ */
.kontakt-section {
    position: relative;
    background: var(--bg-section);
    padding-block: clamp(3rem, 6vw, 5rem);
}

/* ════════════════════════════════════════════════════════════════════
   DSGVO-KONFORME ALPEN-KARTE (Local Interactive Preview)
   ════════════════════════════════════════════════════════════════════ */
.alpen-map-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--card-radius, 16px);
    overflow: hidden;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
    background: #f1f6ef;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.alpen-map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
}

/* Animations for Pin Radar */
@keyframes mapRadarWave {
    0% {
        r: 8px;
        opacity: 0.8;
    }

    100% {
        r: 44px;
        opacity: 0;
    }
}

.map-pulse-anim-1 {
    animation: mapRadarWave 2.8s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
    transform-origin: center;
}

.map-pulse-anim-2 {
    animation: mapRadarWave 2.8s cubic-bezier(0.2, 0.8, 0.4, 1) infinite 0.9s;
    transform-origin: center;
}

/* Schwebende Glas-Infokarte (Alpen-Neustart Design) */
.alpen-map-glass-card {
    position: relative;
    z-index: 5;
    margin: 1.5rem;
    max-width: 440px;
    width: calc(100% - 3rem);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    padding: 1.5rem 1.6rem;
    box-shadow: 0 18px 36px -8px rgba(30, 41, 59, 0.18), 0 0 0 1px rgba(197, 160, 89, 0.25);
    transition: transform var(--transition-base, 0.3s ease), box-shadow var(--transition-base, 0.3s ease);
}

.alpen-map-glass-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px -6px rgba(30, 41, 59, 0.22), 0 0 0 1px rgba(197, 160, 89, 0.45);
}

.map-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #15803d;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    padding: 0.28rem 0.65rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.map-card-title {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary, #7B1B2E);
    margin: 0 0 0.3rem 0;
    line-height: 1.25;
}

.map-card-address {
    font-size: 0.92rem;
    font-weight: 500;
    color: #334155;
    margin: 0 0 0.35rem 0;
    line-height: 1.4;
}

.map-card-altitude {
    font-size: 0.84rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 1.1rem 0;
    font-weight: 500;
}

.map-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.map-card-actions .btn {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.55rem 0.95rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
}

.map-btn-primary {
    background: var(--primary, #7B1B2E);
    color: #fff !important;
    border: 1px solid var(--primary, #7B1B2E);
}

.map-btn-primary:hover {
    background: var(--primary-light, #96283D);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(123, 27, 46, 0.28);
}

.map-btn-outline {
    background: #ffffff;
    color: #1e293b !important;
    border: 1px solid #cbd5e1;
}

.map-btn-outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.map-btn-interactive {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.map-btn-interactive:hover {
    background: #e2e8f0;
    color: var(--primary, #7B1B2E);
    border-color: #94a3b8;
    transform: translateY(-1px);
}

/* 2-Klick Interaktive OpenStreetMap Overlay */
.osm-interactive-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.osm-interactive-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.osm-overlay-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.65rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.osm-overlay-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.osm-overlay-close-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: var(--primary, #7B1B2E);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.osm-overlay-close-btn:hover {
    background: var(--primary, #7B1B2E);
    color: #ffffff;
    border-color: var(--primary, #7B1B2E);
}

.osm-iframe {
    width: 100%;
    height: 100%;
    flex: 1;
    border: none;
}

@media (max-width: 768px) {
    .alpen-map-wrapper {
        min-height: 440px;
        align-items: stretch;
        justify-content: flex-end;
    }

    .alpen-map-glass-card {
        margin: 1rem;
        width: calc(100% - 2rem);
        max-width: 100%;
        padding: 1.15rem 1.15rem;
    }

    .map-card-title {
        font-size: 1.25rem;
    }

    .map-card-actions {
        flex-direction: column;
    }

    .map-card-actions .btn {
        justify-content: center;
        width: 100%;
    }
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .kontakt-grid {
        grid-template-columns: 1fr;
    }
}

.kontakt-info h2 {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.kontakt-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    white-space: pre-line;
}

.kontakt-details {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.kontakt-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.kontakt-item-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.kontakt-item a {
    color: var(--text-main);
}

.kontakt-item a:hover {
    color: var(--primary);
}

/* Kontaktformular */
.kontakt-form {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--card-radius);
    padding: 0;
}

.form-field {
    margin-bottom: 1rem;
    border-bottom: 1px solid #ccc;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.8rem 0;
    border: none;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    color: var(--text-main);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #999;
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 3px;
    letter-spacing: 0.03em;
    transition: var(--transition);
}

.form-submit-btn:hover {
    background: var(--primary-dark);
}

/* ════════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--bg-section);
    border-top: 1px solid var(--border-color);
    padding-block: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand img {
    max-width: 160px;
    margin-bottom: 0.5rem;
}

.footer-col h4 {
    font-family: var(--font-script);
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.footer-col-divider {
    width: 32px;
    height: 2px;
    background: var(--primary);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.4rem;
}

.footer-col a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    background: var(--primary-dark);
    padding: 0.85rem 0;
    margin-top: 2rem;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}

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

/* WhatsApp Floating Button */
.whatsapp-fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 500;
    background: #25d366;
    color: #fff;
    border-radius: 50px;
    padding: 0.6rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: var(--transition);
    animation: waPulse 3s ease infinite;
}

.whatsapp-fab:hover {
    background: #1fba5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

/* ════════════════════════════════════════════════════════════════════
   ANIMATIONEN
   ════════════════════════════════════════════════════════════════════ */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatAnim {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes waPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-Reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.12s;
}

.delay-2 {
    transition-delay: 0.24s;
}

.delay-3 {
    transition-delay: 0.36s;
}

/* Modal Overlay für Aktivitäten-Detail */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: #fff;
    border-radius: 8px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: fadeInUp 0.35s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-muted);
    z-index: 2;
    padding: 0.25rem;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content {
    padding: 1.5rem 2rem 2rem;
}

.modal-content h2 {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ==========================================================================
   MODULARE REPETIERENDE ZYKLEN (Elementor-Parallaxe & 3-Ebenen-Wellen)
   ========================================================================== */

/* ── 1. Parallax-Basissektion & Wellenübergänge ─────────────────────────── */
.cycle-parallax-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 6rem 0 8.5rem;
    overflow: hidden;
}

@media (max-width: 991px) {
    .cycle-parallax-section {
        background-attachment: scroll;
        padding: 4.5rem 0 6.5rem;
    }
}

.cycle-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    width: 100%;
    height: 120px;
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
    line-height: 0;
}

@media (max-width: 768px) {
    .cycle-wave {
        height: 75px;
    }
}

/* ── Weicher, harmonischer Übergang von Weiß ins Parallax-Bild ──────────── */
.cycle-top-fade {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    width: 100%;
    height: 135px;
    background: linear-gradient(to bottom,
            #ffffff 0%,
            rgba(255, 255, 255, 0.95) 14%,
            rgba(255, 255, 255, 0.72) 34%,
            rgba(255, 255, 255, 0.40) 56%,
            rgba(255, 255, 255, 0.14) 76%,
            rgba(255, 255, 255, 0.03) 90%,
            rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 2;
}

@media (max-width: 768px) {
    .cycle-top-fade {
        height: 85px;
    }
}

/* ── 2. Zyklus 1: Angebot (Kennenlernwoche) ─────────────────────────────── */
.cycle-offer-section {
    padding-top: 5rem;
}

.cycle-offer-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.cycle-offer-badge {
    display: inline-block;
    background: var(--primary, #7B1B2E);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.35rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(123, 27, 46, 0.25);
}

.cycle-offer-title {
    font-family: var(--font-script, 'Playfair Display', serif);
    font-size: clamp(2.2rem, 3.8vw, 3rem);
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.cycle-offer-sub {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary, #7B1B2E);
    margin-bottom: 1.2rem;
    font-style: italic;
}

.cycle-offer-text {
    font-size: 1.05rem;
    color: #3b3b3b;
    line-height: 1.85;
    margin-bottom: 1.8rem;
}

.cycle-offer-action .btn {
    padding: 0.85rem 2.4rem;
    font-size: 0.95rem;
    letter-spacing: 1px;
    box-shadow: 0 6px 18px rgba(123, 27, 46, 0.25);
    transition: all 0.35s ease;
}

.cycle-offer-action .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 24px rgba(123, 27, 46, 0.35);
}

.cycle-offer-img-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    border: 5px solid #ffffff;
    background: #ffffff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cycle-offer-img-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.25);
}

.cycle-offer-img-card img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

@media (max-width: 991px) {
    .cycle-offer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .cycle-offer-img-card {
        max-width: 520px;
        margin: 0 auto;
    }
}

/* ── 3. Zyklus 2: Geschichten ────────────────────────────────────────────── */
.stories-parallax-section {
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stories-container {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.stories-title {
    font-family: var(--font-script, 'Playfair Display', serif);
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    color: #ffffff;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.75);
    margin-bottom: 2rem;
}

.stories-btn-wrap {
    margin-top: 1rem;
}

.stories-btn {
    padding: 0.95rem 2.6rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transition: all 0.35s ease;
}

.stories-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

/* ── 4. Zyklus 3: Sommer Aktivitäten im Detail ──────────────────────────── */
.akt-detail-section {
    padding: 5rem 0 6rem;
    background: #ffffff;
}

.akt-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.akt-detail-grid:last-child {
    margin-bottom: 0;
}

.akt-detail-grid.reverse .akt-detail-img {
    order: 2;
}

.akt-detail-grid.reverse .akt-detail-text {
    order: 1;
}

.akt-detail-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.akt-detail-img img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.akt-detail-img:hover img {
    transform: scale(1.04);
}

.akt-detail-text h2 {
    font-family: var(--font-script, 'Playfair Display', serif);
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    color: var(--primary, #7B1B2E);
    margin-bottom: 0.5rem;
}

.akt-detail-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #444444;
    margin-bottom: 1.2rem;
}

.akt-detail-text p {
    font-size: 1.05rem;
    color: var(--text-muted, #666666);
    line-height: 1.85;
}

@media (max-width: 991px) {
    .akt-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3.5rem;
    }

    .akt-detail-grid.reverse .akt-detail-img {
        order: 1;
    }

    .akt-detail-grid.reverse .akt-detail-text {
        order: 2;
    }
}

/* ── 5. Zyklus 4: Winter Traum-Urlaub ─────────────────────────────────────── */
.winter-section {
    padding: 5rem 0 6rem;
    background: #ffffff;
}

.winter-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3.5rem;
}

.winter-main-heading {
    font-family: var(--font-script, 'Playfair Display', serif);
    font-size: clamp(2.2rem, 3.8vw, 3rem);
    color: var(--primary, #7B1B2E);
    margin-bottom: 0.5rem;
}

.winter-main-sub {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-muted, #666666);
    margin-bottom: 1.5rem;
}

.winter-btn-wrap {
    margin-bottom: 1rem;
}

.winter-cta-btn {
    padding: 0.8rem 2.2rem;
    font-size: 0.95rem;
    letter-spacing: 1px;
    font-weight: 700;
}

.winter-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}

.winter-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    padding-bottom: 1.5rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.winter-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

.winter-card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.winter-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.winter-card:hover .winter-card-img img {
    transform: scale(1.05);
}

.winter-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main, #333333);
    padding: 1.2rem 1.4rem 0.4rem;
}

.winter-card p {
    font-size: 0.95rem;
    color: var(--text-muted, #666666);
    line-height: 1.7;
    padding: 0 1.4rem;
    flex-grow: 1;
}

@media (max-width: 991px) {
    .winter-cards {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

/* ── 6. Zyklus 5: Dein Aktivurlaub & Manni-Outdoor Karten ─────────────────── */
.outdoor-section {
    padding: 6rem 0 11rem;
}

.outdoor-container {
    position: relative;
    z-index: 3;
}

.outdoor-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3.5rem;
}

.outdoor-heading {
    font-family: var(--font-script, 'Playfair Display', serif);
    font-size: clamp(2.4rem, 4.2vw, 3.4rem);
    color: #ffffff;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.7);
    margin-bottom: 0.5rem;
}

.outdoor-sub {
    font-size: 1.3rem;
    color: #ffffff;
    font-style: italic;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.outdoor-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
    position: relative;
    z-index: 3;
}

.outdoor-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.outdoor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.outdoor-card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.outdoor-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.outdoor-card:hover .outdoor-card-img img {
    transform: scale(1.06);
}

.outdoor-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.outdoor-stars {
    color: #f59e0b;
    font-size: 1.15rem;
    letter-spacing: 3px;
    margin-bottom: 0.75rem;
}

.outdoor-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main, #333333);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.outdoor-card-text {
    font-size: 0.95rem;
    color: var(--text-muted, #666666);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.outdoor-card-body .btn {
    align-self: center;
    font-size: 0.85rem;
    padding: 0.65rem 1.6rem;
    letter-spacing: 0.5px;
}

@media (max-width: 991px) {
    .outdoor-cards-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}