:root {
    --blush: #f4d1d6;
    --peach: #fde4d8;
    --lavender: #e8d5f2;
    --sage: #d8e8d5;
    --white: #ffffff;
    --text-soft: #8b6f77;
    --text-dark: #5a4449;
    --rose: #d4919f;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent; 
}

body { 
    background: #fefefe;
    color: var(--text-dark);
    font-family: 'Crimson Text', serif;
    overflow: hidden;
    position: relative;
}

.watercolor-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, var(--blush) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, var(--lavender) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 70%, var(--peach) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 80%, var(--sage) 0%, transparent 50%);
    opacity: 0.35;
    filter: blur(60px);
}

#florals {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.container { 
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    position: relative;
    z-index: 2;
}
.container::-webkit-scrollbar { display: none; }

section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 25px;
    scroll-snap-align: start;
    text-align: center;
}

/* FLORALE ORNAMENTE */
.floral-top, .floral-bottom {
    width: 120px;
    height: 30px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 30"><path d="M10,15 Q20,5 30,15 T50,15 T70,15 T90,15 Q100,5 110,15" stroke="%23d4919f" stroke-width="0.5" fill="none" opacity="0.4"/><circle cx="30" cy="15" r="2" fill="%23d4919f" opacity="0.3"/><circle cx="60" cy="15" r="2.5" fill="%23f4d1d6" opacity="0.4"/><circle cx="90" cy="15" r="2" fill="%23d4919f" opacity="0.3"/></svg>') center no-repeat;
    background-size: contain;
    margin: 10px 0;
}

/* HERO SEKTION */
.invitation-text {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--text-soft);
    font-weight: 400;
    margin-bottom: 10px;
}

.script-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    color: var(--rose);
    font-weight: 400;
    margin: 5px 0 20px 0;
    text-shadow: 0 2px 8px rgba(212, 145, 159, 0.2);
}

.couple-names {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.bride, .groom {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: var(--text-dark);
}

.hearts {
    font-size: 1.3rem;
    color: var(--rose);
}

.couple-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 8px 30px rgba(212, 145, 159, 0.25);
    margin: 15px 0;
}

.save-date {
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--text-soft);
    margin: 15px 0 25px 0;
}

#countdown {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 12px 15px;
    box-shadow: 0 4px 15px rgba(212, 145, 159, 0.15);
    border: 1px solid rgba(244, 209, 214, 0.5);
}

.time-num {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: var(--rose);
    line-height: 1;
}

.time-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-soft);
    margin-top: 5px;
}

/* TIMELINE SEKTION */
.section-header {
    font-family: 'Great Vibes', cursive;
    font-size: 2.3rem;
    color: var(--rose);
    margin-bottom: 30px;
    font-weight: 400;
}

.timeline-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    max-width: 340px;
    width: 100%;
}

.event-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(244, 209, 214, 0.6);
    border-radius: 15px;
    padding: 20px 15px;
    box-shadow: 0 4px 15px rgba(212, 145, 159, 0.12);
}

.event-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.event-title {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.event-time {
    font-size: 0.8rem;
    color: var(--rose);
    margin-bottom: 3px;
}

.event-location {
    font-size: 0.75rem;
    color: var(--text-soft);
    line-height: 1.3;
}

/* LOCATION SEKTION */
.location-box {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(244, 209, 214, 0.6);
    border-radius: 20px;
    padding: 35px 30px;
    max-width: 320px;
    width: 100%;
    box-shadow: 0 6px 25px rgba(212, 145, 159, 0.15);
}

.venue-title {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: var(--rose);
    margin-bottom: 20px;
    font-weight: 400;
}

.venue-address {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.venue-info {
    padding-top: 15px;
    border-top: 1px solid rgba(244, 209, 214, 0.4);
}

.venue-info p {
    font-size: 0.85rem;
    color: var(--text-soft);
    margin: 6px 0;
}

/* RSVP SEKTION */
.rsvp-box {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(244, 209, 214, 0.6);
    border-radius: 20px;
    padding: 30px 25px;
    max-width: 320px;
    width: 100%;
    box-shadow: 0 6px 25px rgba(212, 145, 159, 0.15);
}

input, select {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(244, 209, 214, 0.8);
    padding: 14px 16px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-family: 'Crimson Text', serif;
    font-size: 0.95rem;
    border-radius: 10px;
    outline: none;
}

input::placeholder {
    color: var(--text-soft);
    font-style: italic;
}

input:focus, select:focus {
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(212, 145, 159, 0.1);
}

button {
    width: 100%;
    background: linear-gradient(135deg, var(--rose) 0%, #c47a8a 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 50px;
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-top: 15px;
    box-shadow: 0 6px 20px rgba(212, 145, 159, 0.35);
    cursor: pointer;
    transition: transform 0.2s;
}

button:active {
    transform: scale(0.97);
}

/* MUSIKSTEUERUNG */
#music-control {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid var(--blush);
    color: var(--rose);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 145, 159, 0.25);
    font-size: 1.3rem;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

#music-control.playing {
    background: var(--rose);
    color: white;
    border-color: var(--rose);
}

/* HERZ-NAVIGATION */
.page-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-dot {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.heart-icon {
    display: block;
    font-size: 1.3rem;
    color: rgba(212, 145, 159, 0.4);
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-dot:hover .heart-icon {
    color: rgba(212, 145, 159, 0.7);
    transform: scale(1.15);
}

.nav-dot.active .heart-icon {
    color: var(--rose);
    transform: scale(1.3);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1.3); }
    50% { transform: scale(1.4); }
}

/* Responsive Anpassung */
@media (max-width: 480px) {
    .page-nav {
        right: 10px;
        gap: 12px;
    }
    
    .heart-icon {
        font-size: 1.1rem;
    }
}
