:root {
    --bg-base: #1a0a2e;
    --bg-card: rgba(255, 255, 255, 0.04);
    --border-subtle: rgba(255, 255, 255, 0.09);
    --border-hover: rgba(236, 72, 153, 0.35);
    --text-primary: #f5f0ff;
    --text-secondary: rgba(245, 240, 255, 0.72);
    --text-muted: rgba(245, 240, 255, 0.45);
    --accent: #ec4899;
    --accent-glow: rgba(168, 85, 247, 0.35);
    --gradient-vibrant: linear-gradient(135deg, #06b6d4 0%, #a855f7 35%, #ec4899 65%, #fb923c 100%);
    --max-width: 1100px;
    --max-width-narrow: 680px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.background-gradient {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at top right, rgba(236, 72, 153, 0.18), transparent 55%),
        radial-gradient(ellipse at top left, rgba(6, 182, 212, 0.12), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(168, 85, 247, 0.18), transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(251, 146, 60, 0.10), transparent 50%),
        radial-gradient(ellipse at center, rgba(37, 19, 65, 0.7), var(--bg-base));
    z-index: -2;
    pointer-events: none;
}

.noise-overlay {
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero-content {
    animation: fadeInUp 1.2s ease-out;
}

.hero-image-wrapper {
    margin: 0 auto 2.5rem;
    max-width: 340px;
    position: relative;
    animation: floatIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -20% -10%;
    background: radial-gradient(circle at center, var(--accent-glow), transparent 60%);
    filter: blur(40px);
    z-index: -1;
    opacity: 0.7;
    animation: pulse 4s ease-in-out infinite;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6),
                0 0 60px -10px var(--accent-glow);
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto;
}

.scroll-indicator {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 24px;
    height: 40px;
    margin: 3rem auto 0;
    border: 1.5px solid var(--text-muted);
    border-radius: 12px;
    padding-top: 8px;
    transition: border-color 0.3s;
}

.scroll-indicator:hover {
    border-color: var(--accent);
}

.scroll-indicator span {
    width: 3px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    animation: scrollDown 2s ease-in-out infinite;
}

.scroll-indicator:hover span {
    background: var(--accent);
}

/* ===== Sections ===== */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -0.01em;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: var(--gradient-vibrant);
    border-radius: 2px;
    margin: 1.5rem auto 0;
}

/* ===== Info Grid ===== */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 720px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-vibrant);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.info-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -20px var(--accent-glow);
}

.info-card:hover::before {
    opacity: 0.12;
}

.info-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    color: var(--text-primary);
    background: var(--gradient-vibrant);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px -10px var(--accent-glow);
}

.info-icon svg {
    width: 28px;
    height: 28px;
}

.info-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.info-main {
    font-size: 1.125rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.info-sub {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.card-buttons {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.card-button {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-primary);
    background: var(--gradient-vibrant);
    border-radius: 999px;
    transition: all 0.3s;
    box-shadow: 0 8px 20px -10px var(--accent-glow);
    white-space: nowrap;
}

.card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -10px var(--accent-glow);
}

.card-button svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.card-button:hover svg {
    transform: translate(2px, -2px);
}

/* ===== Map ===== */
.section-map {
    padding-top: 3rem;
}

/* ===== Travel info (Parken & &Ouml;PNV) ===== */
.travel-info {
    margin: 2rem auto 0;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.travel-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: left;
}

.travel-pill svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
    flex-shrink: 0;
}

.travel-pill strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== Detail / Lageplan ===== */
.detail-map {
    margin-top: 3rem;
    text-align: center;
}

.detail-map-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.detail-map-image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
    background: #fff;
    max-width: 720px;
    margin: 0 auto;
}

.detail-map-image {
    display: block;
    width: 100%;
    height: auto;
}

.map-legend {
    list-style: none;
    padding: 0;
    margin: 1.5rem auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    max-width: 720px;
}

.map-legend li {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.legend-dot--green {
    background: #22c55e;
}

.legend-dot--red {
    background: #ef4444;
}

.legend-dot--blue {
    background: #3b82f6;
}

/* ===== Routes ===== */
.routes-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.route-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.route-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.route-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}

.route-icon svg {
    width: 28px;
    height: 28px;
}

.route-icon--sun {
    background: linear-gradient(135deg, #fb923c 0%, #ec4899 100%);
    box-shadow: 0 10px 30px -10px rgba(251, 146, 60, 0.5);
}

.route-icon--rain {
    background: linear-gradient(135deg, #06b6d4 0%, #a855f7 100%);
    box-shadow: 0 10px 30px -10px rgba(6, 182, 212, 0.5);
}

.route-condition {
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.route-location {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.route-directions {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.route-directions strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== Gift ===== */
.section-gift {
    padding-top: 4rem;
}

.gift-card {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 4rem 3rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.gift-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 50%);
    opacity: 0.5;
    pointer-events: none;
}

.gift-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 2rem;
    color: var(--text-primary);
    background: var(--gradient-vibrant);
    border-radius: 50%;
    padding: 18px;
    position: relative;
    box-shadow: 0 15px 40px -10px var(--accent-glow);
}

.gift-icon svg {
    width: 100%;
    height: 100%;
}

.gift-card .section-title {
    margin-bottom: 2rem;
    position: relative;
}

.gift-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 1rem;
    position: relative;
    line-height: 1.7;
}

.gift-subtext {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    position: relative;
}

/* ===== Footer ===== */
.footer {
    padding: 6rem 0 4rem;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.footer-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1rem;
}

.footer-signature {
    background: var(--gradient-vibrant);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.08);
    }
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(12px);
        opacity: 0.3;
    }
}

.js-ready .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.js-ready .info-card.reveal:nth-child(2).visible {
    transition-delay: 0.15s;
}

.js-ready .info-card.reveal:nth-child(3).visible {
    transition-delay: 0.3s;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .section {
        padding: 5rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-image-wrapper {
        max-width: 260px;
        margin-bottom: 2rem;
    }

    .info-card {
        padding: 2rem 1.5rem;
    }

    .gift-card {
        padding: 3rem 1.5rem;
    }

    .section-title {
        margin-bottom: 3rem;
    }

    .scroll-indicator {
        margin-top: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
