/* Grundlegende Styles */
:root {
    --primary-color: #c9a875;
    --secondary-color: #8d7b68;
    --accent-color: #a67c52;
    --light-color: #ffffff;
    --dark-color: #333333;
    --background-light: #fcfbf9;
    --background-dark: #f5f2ee;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark-color);
    margin: 0;
    padding: 0;
    background: var(--background-light);
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(201, 168, 117, 0.05) 0%, transparent 60%),
                radial-gradient(circle at bottom right, rgba(141, 123, 104, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin: 0 0 1rem;
    line-height: 1.2;
    letter-spacing: 1px;
    font-weight: 400;
}

h1 {
    font-weight: 300;
}

h2 {
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background-color: var(--primary-color);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: 2px;
    color: var(--secondary-color);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--secondary-color);
}

.offer-label {
    background-color: var(--accent-color);
    color: var(--light-color);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: 1px solid var(--primary-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.cta-container {
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

.btn-cta {
    background-color: var(--light-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 14px 32px;
    font-size: 1rem;
    border: 2px solid var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.btn-cta:hover {
    background-color: transparent;
    color: var(--light-color);
    border-color: var(--light-color);
    animation: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
}

/* Header Styles */
header {
    height: 100vh;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    overflow: hidden;
    background-color: #f5f5f5;
}

@media (max-width: 768px) {
    header {
        background-attachment: scroll; /* Verbessert die Performance auf mobilen Geräten */
        height: 90vh; /* Etwas kleiner auf mobilen Geräten */
    }
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.olive-accent {
    position: absolute;
    width: 100px;
    height: 120px;
    background-image: url('https://raw.githubusercontent.com/pascalwittler/wedding-assets/main/olive-branch.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.olive-accent:hover {
    opacity: 0.25;
}

.olive-branch.left {
    left: -20px;
    bottom: -20px;
    transform: rotate(-15deg) scale(0.8);
}

.olive-branch.right {
    right: -20px;
    top: -20px;
    transform: rotate(165deg) scale(0.8);
}

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

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.header-title {
    position: relative;
    padding: 3rem;
    margin-bottom: 2rem;
}

.header-title:before, .header-title:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 1px;
    background-color: var(--primary-color);
    left: 50%;
    transform: translateX(-50%);
}

.header-title:before {
    top: 0;
}

.header-title:after {
    bottom: 0;
}

.pre-title {
    display: block;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.highlight-ja {
    display: inline-block;
    font-weight: 700;
    font-style: normal;
    font-size: 1.5rem;
    color: var(--light-color);
    background-color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transform: rotate(3deg);
    position: relative;
    top: -2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% {
        box-shadow: 0 0 5px rgba(201, 168, 117, 0.5);
    }
    50% {
        box-shadow: 0 0 15px rgba(201, 168, 117, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(201, 168, 117, 0.5);
    }
}

.header-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: var(--light-color);
    font-weight: 300;
    letter-spacing: 4px;
}

.date {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    color: var(--primary-color);
}

/* Countdown Styles */
.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.countdown div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown span {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.countdown .label {
font-size: 1rem;
text-transform: uppercase;
margin-top: 0.5rem;
}

/* Navigation */
nav {
background-color: var(--light-color);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
position: sticky;
top: 0;
z-index: 1000;
}

nav .container {
display: flex;
justify-content: center;
position: relative;
}

nav ul {
display: flex;
justify-content: center;
list-style: none;
padding: 0;
margin: 0;
flex-wrap: wrap;
}

nav li {
margin: 0;
padding: 0;
}

nav a {
display: block;
padding: 1.2rem 1rem;
color: var(--dark-color);
text-decoration: none;
font-size: 0.9rem;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 1px;
transition: all 0.3s ease;
}

nav a:hover {
color: var(--primary-color);
}

nav a::after {
content: '';
position: absolute;
bottom: 1rem;
left: 0;
width: 0;
height: 2px;
background-color: var(--primary-color);
transition: width 0.3s ease;
    transition: width 0.3s ease;
}

nav a:hover::after {
width: 100%;
}

/* Section Styles */
.section {
width: 100%;
padding: 4rem 0;
position: relative;
overflow: hidden;
}

.section {
background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5), transparent);
}

#schedule {
background: linear-gradient(to right, rgba(201, 168, 117, 0.05), rgba(255, 255, 255, 0.5), rgba(201, 168, 117, 0.05));
padding-top: 6rem;
padding-bottom: 6rem;
    padding-bottom: 6rem;
}

.section-header {
text-align: center;
margin-bottom: 3rem;
position: relative;
z-index: 1;
}

.section-header:before {
content: '';
position: absolute;
top: -20px;
left: 50%;
transform: translateX(-50%);
width: 40px;
height: 1px;
background-color: var(--primary-color);
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: var(--primary-color);
}

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 300;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.welcome-message {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.welcome-image {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.welcome-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.welcome-image:hover img {
    transform: scale(1.02);
}

/* Hotel Styles */
.hotel-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.hotel-content {
    width: 100%;
    background: white;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(201, 168, 117, 0.15);
    overflow: hidden;
    margin-bottom: 3rem;
    border: 1px solid rgba(201, 168, 117, 0.1);
}

.hotel-image {
    width: 100%;
    height: 350px;
    position: relative;
    overflow: hidden;
}

.hotel-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

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

.hotel-info {
    padding: 3rem;
    text-align: center;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 1));
}

.hotel-info h3 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 1.5px;
}

.hotel-address {
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.booking-details {
    background: var(--background-light);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem auto;
    max-width: 700px;
    box-shadow: 0 5px 20px rgba(201, 168, 117, 0.08);
    border: 1px solid rgba(201, 168, 117, 0.1);
}

.booking-info h4 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 400;
    letter-spacing: 1px;
}

.elegant-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(201, 168, 117, 0.08);
}

.elegant-list li {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(201, 168, 117, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.elegant-list li:hover {
    background-color: rgba(201, 168, 117, 0.03);
}

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

.elegant-list li strong {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.elegant-list li span {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.booking-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.booking-buttons .btn {
    min-width: 220px;
    padding: 15px 30px;
    font-size: 1rem;
    letter-spacing: 1.5px;
}

/* Location Image Optimization */
.location-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(201, 168, 117, 0.15);
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

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

.welcome-image {
    max-width: 900px;
    height: 400px;
    margin: 0 auto 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(201, 168, 117, 0.2);
}

.welcome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

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

@media (max-width: 768px) {
    .hotel-container {
        padding: 2rem 1rem;
    }

    .hotel-image {
        height: 250px;
    }

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

    .hotel-info h3 {
        font-size: 1.8rem;
    }

    .booking-details {
        padding: 2rem 1.5rem;
        margin: 1.5rem auto;
    }

    .elegant-list li {
        padding: 1.2rem 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .booking-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .booking-buttons .btn {
        width: 100%;
        min-width: auto;
    }

    .location-image {
        height: 250px;
    }

    .welcome-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hotel-container {
        padding: 1.5rem 0.8rem;
    }

    .hotel-image {
        height: 200px;
    }

    .hotel-info {
        padding: 1.5rem 1rem;
    }

    .hotel-info h3 {
        font-size: 1.5rem;
    }

    .booking-details {
        padding: 1.5rem 1rem;
        margin: 1rem 0.5rem;
    }

    .elegant-list li {
        padding: 1rem;
    }

    .elegant-list li strong,
    .elegant-list li span {
        font-size: 1rem;
    }

    .location-image {
        height: 200px;
    }

    .welcome-image {
        height: 250px;
    }
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

.admin-link {
    position: absolute;
    bottom: 10px;
    right: 10px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.admin-link:hover {
    opacity: 1;
}

.admin-link a {
    color: var(--light-color);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .story-content {
        flex-direction: column;
    }
    
    .story-image {
        margin-top: 2rem;
        width: 100%;
    }
    
    .story-text {
        width: 100%;
    }
    
    .locations {
        flex-direction: column;
    }
    
    .location-card {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .timeline-content {
        width: 80%;
    }
    
    .timeline::before {
        left: 60px;
    }
    
    .timeline-icon {
        left: 60px;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: auto;
        margin-right: 0;
    }
    
    .hotel-cards {
        flex-direction: column;
    }
    
    .hotel-card {
        width: 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .header-content h1 {
        font-size: 3rem;
    }
    
    .date {
        font-size: 1.5rem;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .countdown span {
        font-size: 2rem;
    }
    
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav .container {
        justify-content: flex-start;
        padding: 1rem 0;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--light-color);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 0;
        z-index: 1000;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    nav a {
        padding: 1rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
    
    /* Form elements */
    .button-group {
        flex-direction: column;
    }
    
    .choice-btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .header-content h1 {
        font-size: 2.5rem;
    }
    
    .pre-title {
        font-size: 1rem;
    }
    
    .date {
        font-size: 1.2rem;
    }
    
    .countdown {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .countdown div {
        min-width: 60px;
        padding: 5px;
    }
    
    .countdown span {
        font-size: 1.2rem;
    }
    
    .countdown .label {
        font-size: 0.6rem;
    }
    
    .welcome-message {
        padding: 1.5rem;
    }
    
    .timeline-content {
        width: 100%;
        padding: 1rem;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
        left: 40px;
    }
    
    .timeline::before {
        left: 40px;
    }
    
    /* Images */
    .location-image img, .story-image img, .hotel-image img {
        height: auto;
    }
    
    /* Form */
    .rsvp-form {
        padding: 1.5rem;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--light-color);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-banner .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-banner .btn {
    white-space: nowrap;
}

.cookie-banner .btn-secondary {
    margin-right: 1rem;
}

@media (max-width: 576px) {
    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .cookie-banner .btn:last-child {
        margin-bottom: 0;
    }
}

/* Timeline/Ablauf Styles */
.timeline {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.event-item {
    width: 100%;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.event-time {
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.event-content {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-left: 4rem;
}

.event-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-icon i {
    color: white;
    font-size: 1.2rem;
}

.event-details {
    flex: 1;
}

.event-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.event-location {
    color: var(--secondary-color);
}

.event-location strong {
    display: block;
    margin-bottom: 0.3rem;
}

.event-location p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hotel-container,
    .hotel-content,
    .hotel-card,
    .booking-details {
        padding-left: 1rem;
        padding-right: 1rem;
        width: calc(100% - 2rem);
        margin-left: auto;
        margin-right: auto;
    }

    .event-item {
        margin: 0 auto 2rem;
        padding: 2rem 1rem 1.2rem;
        width: calc(100% - 2rem);
    }

    .event-time {
        left: 50%;
        top: -15px;
        transform: translateX(-50%);
        width: auto;
        min-width: 100px;
    }

    .event-content {
        flex-direction: column;
        align-items: center;
        padding-left: 0;
        padding-top: 1rem;
        text-align: center;
        gap: 1rem;
    }

    .event-icon {
        margin: 0;
    }

    .event-details {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hotel-container,
    .hotel-content,
    .hotel-card,
    .booking-details {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        width: calc(100% - 1rem);
    }

    .event-item {
        width: calc(100% - 1rem);
        padding: 2rem 0.8rem 1rem;
    }

    .event-time {
        min-width: 90px;
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .event-content {
        padding-top: 0.8rem;
    }

    .event-icon {
        width: 40px;
        height: 40px;
    }
}

/* Safari-spezifische Fixes */
@supports (-webkit-touch-callout: none) {
    .hotel-container,
    .hotel-content,
    .hotel-card,
    .booking-details,
    .timeline,
    .event-item {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .event-time {
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    @media (max-width: 768px) {
        .event-time {
            -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
        }
    }
}

/* RSVP Form Styles */
.zusage-section {
    background: var(--background-light);
    padding: 4rem 0;
    position: relative;
}

.zusage-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    opacity: 0.2;
}

.rsvp-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.rsvp-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(201, 168, 117, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.rsvp-header {
    text-align: center;
    margin-bottom: 3rem;
}

.rsvp-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.rsvp-header p {
    color: var(--secondary-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(201, 168, 117, 0.1);
}

.form-group input[type="text"]::placeholder {
    color: #999;
    font-style: italic;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f5f2ee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    background: rgba(201, 168, 117, 0.1);
}

.radio-option input[type="radio"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

.radio-option label {
    margin: 0;
    cursor: pointer;
}

.submit-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-color);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: 1px solid var(--primary-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    width: 100%;
    cursor: pointer;
    margin-top: 2rem;
}

.submit-button:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.button-group {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.choice-btn {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.choice-btn i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.choice-btn:hover {
    background: rgba(201, 168, 117, 0.1);
}

.choice-btn.selected {
    background: var(--primary-color);
    color: white;
}

#winery-tour-group {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#winery-tour-group.visible {
    display: block;
    opacity: 1;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn i {
    margin-right: 0.5rem;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .button-group {
        flex-direction: column;
    }

    .choice-btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* RSVP Animations */
.rsvp-form {
    animation: formAppear 0.5s ease forwards;
}

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

.form-group {
    opacity: 0;
    animation: elementSlideIn 0.5s ease forwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }

@keyframes elementSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hotel-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.hotel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.hotel-button:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.hotel-button i {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .hotel-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hotel-button {
        width: 100%;
        max-width: 300px;
        margin: 0.5rem 0;
        text-align: center;
    }
}

.alert {
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
    background: white;
    box-shadow: 0 5px 15px rgba(201, 168, 117, 0.1);
}

.alert-success {
    border: 1px solid var(--primary-color);
    background: rgba(201, 168, 117, 0.05);
}

.alert h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.alert p {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.alert p:last-child {
    margin-bottom: 0;
}
