/* --- GRUNDLAGEN & VARIABLEN --- */
:root {
    --primary-color: #3b4e3c;
    --secondary-color: #f7f4f0;
    --text-color: #4a4a4a;
    --light-bg: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-text: 'Montserrat', sans-serif;
    --font-quote: 'Cormorant Garamond', serif;
    --radius-cards: 16px;
    --radius-buttons: 50px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.8;
    font-weight: 300;
    position: relative;
    overflow-x: hidden;
}

#protected-content {
    display: none; /* Standardmäßig versteckt, bis Login erfolgreich */
}

/* --- FULLSCREEN SPLIT LOGIN OVERLAY --- */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--secondary-color);
    z-index: 9999;
    display: flex;
}

.login-fullscreen-container {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Linke grüne Branding-Seite */
.login-left-brand {
    width: 50%;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 30px 6%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    position: relative;
    overflow-y: auto;
}

/* Logo oben links */
.login-top-logo img {
    max-height: 38px;
    filter: brightness(0) invert(1); /* Macht das Logo weiß auf grünem Grund */
    opacity: 0.9;
}

.login-brand-content {
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 450px;
    align-self: center;
    text-align: center;
}

.login-left-brand .pre-title {
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 5px;
    font-weight: 500;
}

.login-left-brand h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 2px;
    line-height: 1.1;
}

.login-left-brand .date {
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

/* Bogen-Bild mit versetztem Rahmen */
.login-arch-wrapper {
    position: relative;
    width: 200px;
    height: 270px;
    margin-bottom: 20px;
}

.login-arch-wrapper::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px 100px 0 0;
    z-index: 0;
}

.login-arch-img {
    width: 100%;
    height: 100%;
    border-radius: 100px 100px 0 0;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    position: relative;
    z-index: 1;
    background: var(--light-bg);
}

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

/* Countdown */
.login-countdown {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.login-countdown .hc-item {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 8px;
    min-width: 55px;
}

.login-countdown .hc-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #ffffff;
    line-height: 1;
}

.login-countdown .hc-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.login-left-footer {
    font-size: 0.75rem;
    /*color: rgba(255, 255, 255, 0.4);*/
    color: var(--text-color);
    letter-spacing: 1px;
}

/* Rechte helle Formular-Seite */
.login-right-form {
    width: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 8%;
}

.login-form-box {
    width: 100%;
    max-width: 380px;
    text-align: left;
}

.login-portal-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--primary-color);
    display: block;
    margin-bottom: 6px;
}

.login-form-box h2 {
    font-size: 2.1rem;
    margin-bottom: 10px;
    color: #222222;
    font-family: var(--font-heading);
}

.login-form-box p {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.login-field {
    margin-bottom: 20px;
    width: 100%;
}

.login-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.login-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(59, 78, 60, 0.25);
    border-radius: 8px;
    font-family: var(--font-text);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    background: #faf9f6;
    color: #333;
    box-sizing: border-box;
}

.login-input:focus {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 78, 60, 0.1);
}

.login-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 15px;
    border-radius: var(--radius-buttons);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-btn:hover {
    background-color: #2c3c2d;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(59, 78, 60, 0.2);
}

.login-error {
    background-color: rgba(217, 83, 79, 0.1);
    color: #d9534f;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    display: none;
    border: 1px solid rgba(217, 83, 79, 0.2);
}

.login-bottom-links {
    margin-top: 40px;
    text-align: center;
    font-size: 0.8rem;
    color: #aaa;
}

.login-bottom-links a {
    color: #888;
}

.login-bottom-links a:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   FULLSCREEN SPLIT LOGIN OVERLAY (DESKTOP & MOBILE)
   ========================================================================== */

.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--secondary-color);
    z-index: 9999;
    display: flex;
}

.login-fullscreen-container {
    display: flex;
    width: 100%;
    height: 100%;
}

/* --- LINKE GRÜNE BRANDING-SEITE (DESKTOP) --- */
.login-left-brand {
    width: 50%;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 35px 6%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    position: relative;
    overflow-y: auto;
}

/* Logo oben links */
.login-top-logo img {
    max-height: 38px;
    filter: brightness(0) invert(1); /* Macht das dunkle Logo weiß */
    opacity: 0.9;
}

.login-brand-content {
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 450px;
    align-self: center;
    text-align: center;
}

.login-left-brand .pre-title {
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 5px;
    font-weight: 500;
}

.login-left-brand h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 2px;
    line-height: 1.1;
}

.login-left-brand .date {
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

/* Bogen-Bild mit feinem Versatz-Rahmen */
.login-arch-wrapper {
    position: relative;
    width: 200px;
    height: 270px;
    margin-bottom: 20px;
}

.login-arch-wrapper::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px 100px 0 0;
    z-index: 0;
}

.login-arch-img {
    width: 100%;
    height: 100%;
    border-radius: 100px 100px 0 0;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    position: relative;
    z-index: 1;
    background: var(--light-bg);
}

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

/* Countdown */
.login-countdown {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.login-countdown .hc-item {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 8px;
    min-width: 55px;
}

.login-countdown .hc-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #ffffff;
    line-height: 1;
}

.login-countdown .hc-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.login-left-footer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

/* --- RECHTE HELLE FORMULAR-SEITE --- */
.login-right-form {
    width: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 8%;
}

.login-form-box {
    width: 100%;
    max-width: 380px;
    text-align: left;
}

.login-portal-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--primary-color);
    display: block;
    margin-bottom: 6px;
}

.login-form-box h2 {
    font-size: 2.1rem;
    margin-bottom: 10px;
    color: #222222;
    font-family: var(--font-heading);
}

.login-form-box p {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.login-field {
    margin-bottom: 20px;
    width: 100%;
}

.login-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.login-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(59, 78, 60, 0.25);
    border-radius: 8px;
    font-family: var(--font-text);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    background: #faf9f6;
    color: #333;
    box-sizing: border-box;
}

.login-input:focus {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 78, 60, 0.1);
}

.login-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 15px;
    border-radius: var(--radius-buttons);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-btn:hover {
    background-color: #2c3c2d;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(59, 78, 60, 0.2);
}

.login-error {
    background-color: rgba(217, 83, 79, 0.1);
    color: #d9534f;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    display: none;
    border: 1px solid rgba(217, 83, 79, 0.2);
}

.login-bottom-links {
    margin-top: 40px;
    text-align: center;
    font-size: 0.8rem;
    color: #aaa;
}

.login-bottom-links a {
    color: #888;
}

.login-bottom-links a:hover {
    color: var(--primary-color);
}

/* --- MOBILE VIEW RESPONSIVE (UNTER 900PX) --- */
@media (max-width: 900px) {
    .login-fullscreen-container {
        flex-direction: column;
        overflow-y: auto;
    }

    .login-left-brand {
        width: 100%;
        padding: 25px 20px 35px 20px;
        align-items: flex-start;
        text-align: left;
    }

    .login-brand-content {
        align-items: flex-start;
        text-align: left;
        margin: 15px 0 0 0;
    }

    /* Foto auf Smartphones komplett ausblenden */
    .login-arch-wrapper {
        display: none;
    }

    /* Kompakter & kleinerer Countdown für Mobile */
    .login-countdown {
        justify-content: flex-start;
        margin-top: 10px;
        gap: 8px;
    }

    .login-countdown .hc-item {
        padding: 5px 8px;
        min-width: 44px;
        border-radius: 6px;
    }

    .login-countdown .hc-number {
        font-size: 1.1rem;
    }

    .login-countdown .hc-label {
        font-size: 0.5rem;
        letter-spacing: 1px;
    }

    .login-left-footer {
        display: none;
    }

    /* Weiße Formular-Karte schließt abgerundet an den grünen Header an */
    .login-right-form {
        width: 100%;
        padding: 35px 20px;
        border-radius: 20px 20px 0 0;
        margin-top: -15px;
        position: relative;
        z-index: 2;
    }
}

/* --- DEZENTES, GEPÄRGTES WASSERZEICHEN --- */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
    height: 70vh;
    background-image: url('../bilder/logo2.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 0.25;
    mix-blend-mode: overlay;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.03)) drop-shadow(-1px -1px 1px rgba(255, 255, 255, 0.9));

    z-index: -10;
    pointer-events: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.6;
}

/* --- ANIMATIONEN --- */
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.anim-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out forwards;
    will-change: transform, opacity;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.5s; }

.scroll-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: transform, opacity;
}

.scroll-anim.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- HEADER & NAVIGATION --- */
header {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    min-height: 70px;
}

.logo img {
    max-height: 40px;
    object-fit: contain;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

nav a {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 500;
}

/* --- STICKY COUNTDOWN IN DER NAVBAR --- */
.nav-countdown {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: flex;
    gap: 15px;
    font-style: italic;
}

.nav-countdown.visible {
    opacity: 1;
    visibility: visible;
}

.nav-countdown span {
    font-family: var(--font-text);
    font-size: 0.7rem;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 3px;
    color: #777;
}

@media (max-width: 900px) {
    nav { display: none; }
    .nav-countdown { position: static; transform: none; margin-left: auto; font-size: 1rem; }
}

/* --- SECTIONS ALLGEMEIN --- */
section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-bg-light {
    background-color: var(--light-bg);
    max-width: 100%;
}

/* --- HERO BEREICH --- */
.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: calc(100vh - 70px);
    min-height: 600px;
    padding: 0 10%;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    text-align: left;
    padding-right: 5%;
}

.hero-text h1 {
    font-size: 4.5rem;
    margin-bottom: 5px;
    line-height: 1.1;
    font-style: normal;
}

.hero-text .date {
    font-size: 1.1rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #777;
}

.hero-text .pre-title {
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 500;
    display: block;
}

/* Integrierter Countdown */
.hero-countdown {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 10px;
}

.hc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(59, 78, 60, 0.05);
    padding: 10px 15px;
    border-radius: 8px;
    min-width: 65px;
}

.hc-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 3px;
}

.hc-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #777;
    font-weight: 600;
}

.hero-img-container {
    width: 340px;
    height: 500px;
    border-radius: 170px 170px 0 0;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    position: relative;
}

.hero-img-container::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 155px 155px 0 0;
    pointer-events: none;
}

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

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        height: auto;
        padding: 80px 5%;
        text-align: center;
    }
    .hero-text {
        text-align: center;
        padding-right: 0;
        margin-bottom: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-text h1 { font-size: 3.5rem; }
    .hero-img-container {
        width: 280px;
        height: 400px;
        border-radius: 140px 140px 0 0;
    }
}

/* --- ZITAT --- */
.enhanced-quote {
    padding: 100px 5%;
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon-top {
    display: flex;
    justify-content: center;
    color: rgba(59, 78, 60, 0.2);
    margin: 30px 0;
}

.quote-icon-top svg {
    width: 35px;
    height: 35px;
}

.enhanced-quote blockquote {
    font-family: var(--font-quote);
    font-size: 2.2rem;
    font-style: italic;
    color: var(--primary-color);
    line-height: 1.4;
    margin: 30px 0;
    font-weight: 400;
}

.enhanced-quote span {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #999;
    margin-top: 20px;
}

/* --- INFOS --- */
.info-split {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    margin-top: 80px;
    text-align: left;
}

.info-split.reverse {
    flex-direction: row-reverse;
}

.info-text {
    flex: 1;
    max-width: 500px;
}

.info-text h3 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
}

.wedding-event-details {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.detail-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(59, 78, 60, 0.04);
    border: 1px solid rgba(59, 78, 60, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.detail-icon svg {
    width: 22px;
    height: 22px;
}

.detail-content h4 {
    font-family: var(--font-text);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 0;
    color: var(--primary-color);
}

.detail-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.map-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--primary-color);
    padding: 6px 18px;
    border: 1px solid rgba(59, 78, 60, 0.2);
    border-radius: 30px;
    transition: all 0.3s ease;
}

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

.map-link-btn svg {
    width: 14px;
    height: 14px;
    margin-top: 0;
    color: inherit;
}

.info-img-wrapper {
    position: relative;
    width: 360px;
    height: 500px;
    flex-shrink: 0;
}

.info-img-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(59, 78, 60, 0.3);
    border-radius: 180px 180px 0 0;
    z-index: 0;
}

.info-split.reverse .info-img-wrapper::before {
    left: auto;
    right: -20px;
}

.info-img {
    width: 100%;
    height: 100%;
    border-radius: 180px 180px 0 0;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1;
    background: var(--light-bg);
}

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

@media (max-width: 768px) {
    .login-split-card {
        flex-direction: column;
        max-width: 400px;
        max-height: 90vh;
        overflow-y: auto;
    }
    .login-image-side {
        width: 100%;
        height: 200px;
    }
    .login-image-overlay {
        padding: 15px;
    }
    .login-image-overlay h2 {
        font-size: 1.4rem;
    }
    .login-form-side {
        padding: 30px 20px;
    }
    .info-split, .info-split.reverse {
        flex-direction: column;
        gap: 50px;
    }
    .info-text { max-width: 100%; }
    .info-img-wrapper {
        width: 300px;
        height: 420px;
        margin: 0 auto;
    }
    .info-img-wrapper::before {
        top: -15px;
        left: -15px;
        border-radius: 150px 150px 0 0;
    }
    .info-split.reverse .info-img-wrapper::before {
        right: -15px;
    }
    .info-img {
        border-radius: 150px 150px 0 0;
    }
}

/* --- GESCHENKE --- */
.gifts-intro {
    max-width: 650px;
    margin: 0 auto 50px auto;
    font-size: 1.05rem;
}

.gifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.gift-card {
    background: #ffffff;
    padding: 60px 40px;
    border-radius: var(--radius-cards);
    border: 1px solid rgba(59, 78, 60, 0.05);
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gift-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gift-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(59, 78, 60, 0.08);
}

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

.gift-icon {
    width: 70px;
    height: 70px;
    background-color: transparent;
    border: 1px solid rgba(59, 78, 60, 0.2);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.gift-card:hover .gift-icon {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.gift-icon svg {
    width: 30px;
    height: 30px;
    stroke-width: 1;
}

.gift-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 400;
}

.gift-card p {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.7;
    margin-bottom: 35px;
}

.card-link-btn {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: auto;
}

.card-link-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* --- FOTOUPLOAD KARTE --- */
.upload-section {
    padding: 100px 5%;
}

.upload-card {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 60px 30px;
    border-radius: var(--radius-cards);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(59, 78, 60, 0.1);
}

.upload-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(59, 78, 60, 0.2);
}

.upload-card .gift-icon {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
}

.upload-card h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 400;
}

.upload-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 600px;
}

.upload-btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: var(--radius-buttons);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.upload-btn:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

/* --- ZEITSTRAHL --- */
.timeline-section {
    padding: 120px 5%;
    overflow: hidden;
}

.timeline-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 1000px;
    margin: 60px auto;
    padding: 150px 0;
}

.timeline-wave {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 120px;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

.timeline-wave path {
    fill: none;
    stroke: rgba(59, 78, 60, 0.3);
    stroke-width: 1.5px;
    stroke-dasharray: 6 6;
}

.timeline-step {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background-color: var(--light-bg);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.timeline-step:hover .timeline-dot {
    background-color: var(--primary-color);
    transform: scale(1.4);
}

.timeline-content {
    position: absolute;
    width: 220px;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.timeline-step.top .timeline-content {
    bottom: 45px;
    transform: translateX(-50%);
}

.timeline-step.bottom .timeline-content {
    top: 45px;
    transform: translateX(-50%);
}

.timeline-icon {
    width: 45px;
    height: 45px;
    margin: 0 auto 12px auto;
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

.timeline-icon svg {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.timeline-date {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.timeline-content h3 {
    margin-bottom: 0;
    font-size: 1.6rem;
    color: var(--text-color);
    font-style: italic;
}

@media (max-width: 900px) {
    .timeline-horizontal { flex-direction: column; align-items: flex-start; padding: 40px 0 40px 15px; }
    .timeline-wave { display: none; }
    .timeline-horizontal::before { content: ''; position: absolute; left: 22px; top: 40px; bottom: 40px; width: 1px; background: rgba(59, 78, 60, 0.3); }
    .timeline-step { width: 100%; flex-direction: row; justify-content: flex-start; align-items: flex-start; padding: 25px 0; }
    .timeline-dot { margin-top: 15px; margin-right: 30px; flex-shrink: 0; }
    .timeline-content { position: relative; left: auto; bottom: auto !important; top: auto !important; width: 100%; transform: none !important; align-items: flex-start; text-align: left; }
    .timeline-icon { margin: 0 0 10px 0; }
}

/* --- COLLAGE --- */
.photo-collage-section {
    padding: 80px 5%;
    max-width: 900px;
    margin: 0 auto;
}

.collage-header {
    text-align: center;
    margin-bottom: 40px;
}

.photo-collage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
    gap: 15px;
}

.photo-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.photo-collage img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 2;
    position: relative;
}

.photo-collage img:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.photo-collage img:nth-child(2) { grid-column: span 1; grid-row: span 1; }
.photo-collage img:nth-child(3) { grid-column: span 1; grid-row: span 1; }
.photo-collage img:nth-child(4) { grid-column: span 2; grid-row: span 1; }
.photo-collage img:nth-child(5) { grid-column: span 1; grid-row: span 1; }
.photo-collage img:nth-child(6) { grid-column: span 1; grid-row: span 1; }
.photo-collage img:nth-child(7) { grid-column: span 2; grid-row: span 1; }

@media (max-width: 600px) {
    .photo-collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 10px; }
    .photo-collage img:nth-child(n) { grid-column: span 1; grid-row: span 1; }
    .photo-collage img:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .photo-collage img:nth-child(4) { grid-column: span 2; }
    .photo-collage img:nth-child(7) { grid-column: span 2; }
}

/* --- FOOTER --- */
footer {
    background-color: #273328;
    color: #d1d1d1;
    padding: 80px 5% 40px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-logo {
    margin-bottom: 30px;
    opacity: 0.5;
}

.footer-logo img {
    max-height: 60px;
}

footer h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: var(--font-text);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

footer p {
    margin-bottom: 10px;
    font-weight: 300;
}

.footer-links {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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