/* ===== CSS VARIABLES & BASE ===== */
:root {
    --bg-primary: #0f1729;
    --bg-secondary: #162040;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --text-primary: #e8ecf4;
    --text-secondary: #9aa5b8;
    --text-muted: #6b7a90;
    --accent-gold: #F5A623;
    --accent-gold-light: #ffc857;
    --accent-turquoise: #2dd4bf;
    --accent-turquoise-dark: #14b8a6;
    --gradient-gold: linear-gradient(135deg, #F5A623, #ffc857);
    --gradient-hero: linear-gradient(135deg, #0f1729 0%, #1a2744 50%, #162040 100%);
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(245, 166, 35, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--accent-turquoise);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-gold-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.highlight {
    color: var(--accent-gold);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(15, 23, 41, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.header.scrolled {
    padding: 8px 0;
    background: rgba(15, 23, 41, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
    cursor: pointer;
}

.logo-img {
    height: 150px;
    width: 150px;
    object-fit: cover;
    border-radius: 50%;
    background: white;
    /* Provides a solid base for the multiply blend mode */
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    mix-blend-mode: multiply;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    will-change: transform;
}



@keyframes glowSun {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 1;
    }
}

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

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-gold);
    color: #0f1729 !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(245, 166, 35, 0.3);
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(245, 166, 35, 0.4);
    color: #0f1729 !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 120px 0 80px;
    overflow: hidden;
    /* Ensure sun doesnt spill out */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(245, 166, 35, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(45, 212, 191, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #0f1729;
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.3);
}

.btn-primary:hover {
    color: #0f1729;
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(245, 166, 35, 0.45);
}

.btn-cta {
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: 0.6s ease;
}

.btn-cta:hover::before {
    transform: translateX(100%);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    color: var(--text-primary);
    border-color: var(--accent-gold);
    background: rgba(245, 166, 35, 0.08);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-icon {
    font-size: 1.1em;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 16px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 60px;
}

/* ===== VORTEILE ===== */
.vorteile,
.reiseziele,
.faq {
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
}

.video-bg-container {
    position: sticky;
    top: 0;
    width: 100%;
    /* Keep the height relative to the viewport so the camera feels 'fixed' */
    height: 100vh;
    z-index: 0;
}

.section-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    /* Make the video semi-transparent to blend with the dark --bg-primary color */
    opacity: 0.35;
    /* Hardware acceleration for buttery smooth scrolling on mobile */
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
    will-change: transform;
}

/* Elegant dark overlay so text stays readable */
.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(15, 23, 41, 1) 0%,
            rgba(15, 23, 41, 0.4) 50%,
            rgba(15, 23, 41, 1) 100%);
    z-index: 1;
}

/* Utilities */
.position-relative {
    position: relative;
}

.z-2 {
    z-index: 2;
}

.vorteile .section-title {
    color: var(--text-primary);
}

.vorteile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.vorteil-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.vorteil-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: var(--transition);
}

.vorteil-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.vorteil-card:hover::before {
    opacity: 1;
}

.vorteil-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.vorteil-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.vorteil-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== REISEZIELE ===== */
.destination {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}

.destination:last-child {
    margin-bottom: 0;
}

.destination.reverse {
    direction: rtl;
}

.destination.reverse>* {
    direction: ltr;
}

.destination-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.destination-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.destination-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.destination:hover .destination-image img {
    transform: scale(1.05);
}

.destination-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.destination-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

/* ===== INSPIRATION ===== */
.inspiration {
    background: var(--bg-secondary);
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.quote-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    transition: var(--transition);
}

.quote-card::before {
    content: '„';
    position: absolute;
    top: 12px;
    left: 20px;
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--accent-gold);
    opacity: 0.2;
    line-height: 1;
}

.quote-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.quote-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    position: relative;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 41, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-card);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(245, 166, 35, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== FINAL CTA ===== */
.final-cta {
    background:
        radial-gradient(circle at 20% 50%, rgba(245, 166, 35, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(45, 212, 191, 0.08) 0%, transparent 50%),
        var(--bg-primary);
    text-align: center;
    padding: 100px 0;
}

.final-cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.final-cta-content p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
    background: #0a0f1e;
    padding: 60px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 120px;
    width: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    background: white;
    mix-blend-mode: multiply;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent-gold);
    transform: translateX(4px);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.affiliate-notice {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 24px;
}

.affiliate-notice p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ===== FLYING AIRPLANE ===== */
.flying-airplane {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(245, 166, 35, 0.5));
}

.flying-airplane.active {
    opacity: 1;
}

.flying-airplane svg {
    transform: rotate(0deg);
}

/* Airplane trail */
.airplane-trail {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-gold);
    pointer-events: none;
    z-index: 9998;
    opacity: 0.6;
    animation: trailFade 0.8s ease forwards;
}

@keyframes trailFade {
    to {
        opacity: 0;
        transform: scale(0);
    }
}

/* ===== CHECK24 WIDGET SECTION ===== */
.widget-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    position: relative;
}

.widget-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.widget-section .section-title {
    margin-bottom: 12px;
}

.widget-section .section-subtitle {
    margin-bottom: 40px;
}

.widget-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(245, 166, 35, 0.08);
    position: relative;
}

.widget-wrapper>div {
    width: 100% !important;
}

.widget-wrapper iframe {
    border: none !important;
    width: 100% !important;
}

/* ===== COOKIE MODAL OVERLAY ===== */
.cookie-banner {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cookie-banner.visible {
    opacity: 1;
    pointer-events: all;
}

.cookie-content {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cookie-banner.visible .cookie-content {
    transform: translateY(0) scale(1);
}

.cookie-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.cookie-content a {
    color: var(--accent-turquoise);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 16px;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.btn-cookie {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    transition: var(--transition);
}

.btn-cookie.accept {
    background: var(--gradient-gold);
    color: #0f1729;
}

.btn-cookie.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(245, 166, 35, 0.3);
}

.btn-cookie.decline {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-cookie.decline:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== THEMATIC ANIMATIONS (Cinemagraphs & Atmospheres) ===== */

/* 1. Hero: Warm Sunrise Timelapse */
.hero-bg-animated {
    position: absolute;
    inset: -5%;
    /* slightly larger to allow zoom/pan */
    background:
        linear-gradient(180deg, rgba(15, 23, 41, 0.3) 0%, rgba(15, 23, 41, 0.7) 60%, var(--bg-primary) 100%),
        url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1600&q=80') center/cover no-repeat;
    z-index: 0;
    animation: kenBurns 40s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(-1%, -1%);
    }
}

.sunrise-sky {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Sky colors overlay blending */
    background: linear-gradient(180deg,
            rgba(10, 15, 30, 0.95) 0%,
            rgba(60, 20, 50, 0.8) 40%,
            rgba(220, 80, 20, 0.8) 80%,
            rgba(255, 150, 0, 0.9) 100%);
    mix-blend-mode: hard-light;
    animation: sunriseSkyAnim 15s ease-out forwards;
    pointer-events: none;
}

@keyframes sunriseSkyAnim {
    0% {
        opacity: 1;
        filter: brightness(0.6);
    }

    50% {
        opacity: 0.8;
        filter: brightness(1);
        background: linear-gradient(180deg, rgba(30, 40, 80, 0.5) 0%, rgba(200, 100, 50, 0.5) 50%, rgba(255, 200, 100, 0.6) 100%);
    }

    100% {
        opacity: 0;
        filter: brightness(1.2);
    }
}

.rising-sun {
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 240, 200, 1) 0%, rgba(255, 160, 40, 0.8) 20%, rgba(255, 80, 0, 0) 60%);
    border-radius: 50%;
    z-index: 2;
    animation: sunRises 15s ease-out forwards;
    pointer-events: none;
    mix-blend-mode: screen;
}

@keyframes sunRises {
    0% {
        bottom: -300px;
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }

    10% {
        opacity: 0.8;
    }

    80% {
        bottom: 30%;
        opacity: 0.8;
        transform: translateX(-50%) scale(1.2);
    }

    100% {
        bottom: 40%;
        opacity: 0;
        transform: translateX(-50%) scale(1.5);
    }
}

/* 2. Destination Cinematic Containers */
.cinematic-container {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    /* force hardware accel */
}

/* Karibik: Water Ripple & Swaying Palms */
.water-ripple-target {
    filter: url(#water-ripple);
    transform: scale(1.02);
    /* prevent white borders from displacement */
}

.palm-leaf {
    position: absolute;
    width: 120px;
    height: 120px;
    top: -20px;
    pointer-events: none;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
    z-index: 2;
}

.palm-left {
    left: -20px;
    transform-origin: top left;
    animation: swayLeft 6s ease-in-out infinite alternate;
}

.palm-right {
    right: -20px;
    transform-origin: top right;
    animation: swayRight 7s ease-in-out infinite alternate-reverse;
}

@keyframes swayLeft {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(6deg);
    }
}

@keyframes swayRight {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-5deg);
    }
}

/* Mallorca: Golden Hour Pulse */
.golden-hour-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 170, 50, 0.4) 0%, transparent 60%);
    mix-blend-mode: overlay;
    animation: pulseGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 1;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.8;
    }
}

/* Klassiker: Slow Pan */
.slow-pan {
    object-position: 0% 50%;
    animation: panHorizontal 40s linear infinite alternate;
}

@keyframes panHorizontal {
    0% {
        object-position: 0% 50%;
        transform: scale(1.1);
    }

    100% {
        object-position: 100% 50%;
        transform: scale(1.1);
    }
}

/* 3. Vorteile (Benefits) Interactive Animations */
.vorteil-card:hover .vorteil-icon {
    animation: iconBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes iconBounce {
    0% {
        transform: translateY(0) scale(1);
    }

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

    100% {
        transform: translateY(0) scale(1.05);
    }
}

/* 4. Inspiration/Quotes floating dust/particles */
.quotes-grid {
    position: relative;
}

.quotes-grid::before {
    content: '';
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle at 20% 80%, rgba(45, 212, 191, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(245, 166, 35, 0.05) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
    animation: driftGradients 15s ease-in-out infinite alternate;
}

@keyframes driftGradients {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -30px) scale(1.05);
    }
}

.quote-card {
    z-index: 1;
    will-change: transform, opacity;
}

/* ===== ULTRA WIDE SCREEN OPTIMIZATION ===== */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    .hero-title {
        font-size: 4.5rem;
    }
}

/* ===== RESPONSIVE AESTHETICS & LAYOUT ===== */

/* Large Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero {
        padding: 140px 0 60px;
    }

    .hero-title {
        font-size: clamp(2rem, 4.5vw, 3.2rem);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .destination {
        gap: 32px;
        align-items: flex-start;
    }

    .destination-image img {
        height: 300px;
    }

    .widget-wrapper {
        margin: 0 16px;
    }
}

/* iPads / Standard Tablets (max-width: 820px) */
@media (max-width: 820px) {
    .section {
        padding: 80px 0;
    }

    .vorteile-grid {
        gap: 16px;
    }

    .vorteil-card {
        padding: 28px 20px;
    }

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

    .gallery-item:last-child {
        display: none;
        /* Hide 8th item for perfectly symmetric 3-column layout on iPad */
    }

    .destination-content h3 {
        font-size: 1.6rem;
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: rgba(15, 23, 41, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.3rem;
        padding: 8px 0;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 160px 0 80px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.6rem);
    }

    .destination {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 70px;
    }

    .destination.reverse {
        direction: ltr;
    }

    .destination-image img {
        height: 260px;
    }

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

    .gallery-item:last-child {
        display: block;
        /* Bring back the 8th item for 2-column mobile layout */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .section {
        padding: 60px 0;
    }

    .widget-section {
        padding: 60px 0;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-buttons .btn {
        justify-content: center;
        width: 100%;
    }

    .btn-large {
        padding: 16px 28px;
        font-size: 1rem;
    }

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

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

    /* Ensure video backgrounds don't collapse too much */
    .vorteile {
        min-height: 80vh;
    }

    .widget-section {
        min-height: 90vh;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .section-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 1rem;
    }

    .logo-img {
        height: 100px;
        width: 100px;
        /* Scale logo down slightly on very small phones */
    }

    .hero {
        padding-top: 140px;
    }
}

/* Ultra Small Devices (max-width: 360px) */
@media (max-width: 360px) {
    .section-title {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .nav-cta {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}