/* ========================================
   BASE STYLES & VARIABLES
======================================== */

:root {
    /* Colors - Light Mode */
    --color-primary: #2c3e50;
    --color-secondary: #8b7355;
    --color-accent: #d4af37;
    --color-text: #2c3e50;
    --color-text-light: #6b7280;
    --color-bg: #ffffff;
    --color-bg-light: #f9fafb;
    --color-border: #e5e7eb;
    
    /* Glasmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --font-script: 'Great Vibes', cursive;
}

/* Dark Mode */
body.dark-mode {
    --color-primary: #e8eaf6;
    --color-secondary: #c5a572;
    --color-accent: #f4d06f;
    --color-text: #e8eaf6;
    --color-text-light: #b0b3c1;
    --color-bg: #1a1d2e;
    --color-bg-light: #232640;
    --color-border: #2d3142;
    
    /* Glasmorphism Dark */
    --glass-bg: rgba(35, 38, 64, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ========================================
   PASSWORT-OVERLAY / LOGIN SCREEN
======================================== */

.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('/assets/doro_philip.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.6s ease;
}

.auth-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
    padding: 2rem;
}

.auth-overlay.fade-out {
    animation: fadeOut 0.6s ease forwards;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
}

.auth-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: var(--glass-shadow);
    animation: slideUp 0.8s ease;
}

.auth-logo {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-title {
    font-family: var(--font-script);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.auth-title span {
    font-style: normal;
    color: var(--color-accent);
    margin: 0 0.5rem;
    font-size: 0.8em;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-weight: 400;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    position: relative;
}

.auth-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: var(--font-sans);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
    outline: none;
}

.auth-input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.auth-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    background: linear-gradient(135deg, var(--color-primary), #34495e);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
}

.auth-button:active {
    transform: translateY(0);
}

.auth-button-icon {
    width: 20px;
    height: 20px;
}

.auth-error {
    padding: 0.875rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #b91c1c;
    font-size: 0.875rem;
    text-align: center;
    animation: shake 0.5s ease;
}

.hidden {
    display: none !important;
}

/* ========================================
   MAIN CONTENT
======================================== */

.main-content {
    opacity: 0;
    animation: fadeIn 0.8s ease 0.3s forwards;
}

/* ========================================
   NAVIGATION
======================================== */

.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navigation.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

.burger-menu {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-menu:hover span {
    background: var(--color-accent);
}

/* ========================================
   MENU OVERLAY
======================================== */

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(34, 73, 54, 0.98), rgba(26, 54, 40, 0.98));
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.menu-content {
    text-align: center;
    padding: 2rem;
    animation: slideUp 0.6s ease;
}

.menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.menu-close svg {
    width: 24px;
    height: 24px;
    color: white;
}

.menu-logo {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.menu-list {
    list-style: none;
    margin-bottom: 3rem;
}

.menu-list li {
    margin: 1.5rem 0;
}

.menu-link {
    display: inline-block;
    font-size: 1.75rem;
    font-weight: 400;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.menu-link:hover {
    color: var(--color-accent);
}

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

.menu-link-admin {
    color: var(--color-accent);
    font-weight: 500;
}

.logout-button {
    padding: 0.875rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Theme Toggle */
.theme-toggle-container {
    margin: 2rem 0 1.5rem;
}

.theme-toggle {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.theme-toggle svg {
    width: 28px;
    height: 28px;
    color: white;
    transition: all 0.3s ease;
}

.theme-toggle .moon-icon {
    display: none;
}

body.dark-mode .theme-toggle .sun-icon {
    display: none;
}

body.dark-mode .theme-toggle .moon-icon {
    display: block;
}

/* ========================================
   HERO SECTION
======================================== */

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-image.active {
    opacity: 0.6;
    animation: zoomIn 20s ease infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-text {
    animation: fadeInUp 1s ease;
}

.hero-names {
    font-family: var(--font-script);
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    letter-spacing: 0.02em;
}

.name-line {
    animation: fadeInLeft 1.2s ease;
}

.ampersand {
    font-style: normal;
    font-size: 0.5em;
    color: var(--color-accent);
    margin: 0.5rem 0;
    animation: fadeIn 1.5s ease;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInRight 1.2s ease;
}

.hero-date {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 1.5rem 3rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    animation: fadeInUp 1.5s ease;
    margin-bottom: 1.5rem;
}

.date-number {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.date-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.date-month {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1;
}

.date-year {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

.hero-location {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    animation: fadeInUp 1.7s ease;
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 500;
}

.hero-location svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2s ease infinite;
    z-index: 3;
}

@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 1rem;
        font-size: 0.75rem;
    }
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, white);
}

/* ========================================
   SECTIONS
======================================== */

.section {
    padding: var(--spacing-xl) 2rem;
    position: relative;
}

.section:nth-child(even) {
    background: var(--color-bg-light);
}

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

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--color-accent);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   INVITATION SECTION
======================================== */

.invitation-content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.invitation-text {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

body.dark-mode .invitation-text {
    background: var(--color-bg-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.invitation-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.text-large {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-primary);
}

.text-emphasis {
    font-style: italic;
    color: var(--color-secondary);
    font-size: 1.15rem;
}

.signature {
    margin-top: 2rem;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-primary);
    text-align: right;
}

.invitation-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    height: 600px;
}

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

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

@media (max-width: 1024px) {
    .invitation-content-with-image {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .invitation-image {
        height: 400px;
        order: -1; /* Bild erscheint vor Text auf Mobile */
    }
}

/* ========================================
   GALLERY SECTION
======================================== */

.gallery-section {
    background: var(--color-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-caption {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* Scroll-Animation Vorbereitung */
.gallery-item[data-aos] {
    opacity: 0;
    transform: translateY(30px);
}

.gallery-item[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item {
        aspect-ratio: 4/5;
    }
}

/* ========================================
   INFO SECTION
======================================== */

.location-hero {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

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

.location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 3rem 2rem;
}

.location-overlay h3 {
    color: white;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

body.dark-mode .info-card {
    background: var(--color-bg-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), #34495e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.info-card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.info-card-detail {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.info-card-description {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ========================================
   RSVP SECTION
======================================== */

.rsvp-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.rsvp-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

body.dark-mode .rsvp-form {
    background: var(--color-bg-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

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

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
    background: white;
    color: var(--color-text);
}

body.dark-mode .form-input {
    background: var(--color-bg);
    color: var(--color-text);
    border-color: var(--color-border);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), #34495e);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
}

.form-submit-btn svg {
    width: 20px;
    height: 20px;
}

.form-feedback {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
}

.form-feedback.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #15803d;
}

.form-feedback.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #b91c1c;
}

/* ========================================
   ADMIN SECTION
======================================== */

.admin-dashboard {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

body.dark-mode .admin-dashboard {
    background: var(--color-bg-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.admin-loading {
    text-align: center;
    padding: 3rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--color-primary), #34495e);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

body.dark-mode .stat-card {
    background: linear-gradient(135deg, #2d4a3e, #1a3329);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-serif);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.admin-table {
    overflow-x: auto;
}

.rsvp-table {
    width: 100%;
    border-collapse: collapse;
}

.rsvp-table th,
.rsvp-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.rsvp-table th {
    background: var(--color-bg-light);
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.dark-mode .rsvp-table th {
    background: var(--color-bg);
    color: var(--color-text);
}

.rsvp-table tr:hover {
    background: var(--color-bg-light);
}

body.dark-mode .rsvp-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.status-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-confirmed {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}

.status-pending {
    background: rgba(251, 191, 36, 0.1);
    color: #92400e;
}

/* ========================================
   FOOTER
======================================== */

.footer {
    background: var(--color-primary);
    color: white;
    padding: 2rem;
    text-align: center;
}

.footer-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ========================================
   ANIMATIONS
======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

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

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

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 768px) {
    .hero-date {
        padding: 1rem 2rem;
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .date-number {
        font-size: 3rem;
    }
    
    .date-month {
        font-size: 1.25rem;
    }
    
    .date-text {
        align-items: center;
    }
    
    .hero-location {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
    }
    
    .hero-location svg {
        width: 20px;
        height: 20px;
    }
    
    .auth-content {
        padding: 2rem 1.5rem;
    }
    
    .auth-title {
        font-size: 2.5rem;
    }
    
    .menu-logo {
        font-size: 2rem;
    }
    
    .menu-link {
        font-size: 1.5rem;
    }
    
    .section {
        padding: var(--spacing-lg) 1.5rem;
    }
    
    .invitation-text,
    .rsvp-form {
        padding: 2rem 1.5rem;
    }
    
    .location-hero {
        height: 300px;
        margin-bottom: 2rem;
    }
    
    .location-overlay {
        padding: 2rem 1.5rem;
    }
    
    .location-overlay h3 {
        font-size: 1.5rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        padding: 2rem 1.5rem;
    }
    
    .gallery-item {
        aspect-ratio: 4/5;
    }
    
    /* Verbesserte Touch-Targets für Mobile */
    .auth-button,
    .form-submit-btn,
    .menu-link,
    .burger-menu {
        min-height: 48px;
        min-width: 48px;
    }
    
    /* Bessere Lesbarkeit auf Mobile */
    .invitation-text p,
    .info-card-description {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Optimierte Form-Inputs für Mobile */
    .form-input,
    .auth-input {
        font-size: 16px; /* Verhindert Zoom auf iOS */
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-title {
        font-size: 2rem;
    }
    
    .hero-names {
        font-size: 2.5rem;
    }
    
    .scroll-indicator {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .info-card-title {
        font-size: 1.25rem;
    }
}
    
    .admin-stats {
        grid-template-columns: 1fr;
    }
    
    .rsvp-table {
        font-size: 0.85rem;
    }
    
    .rsvp-table th,
    .rsvp-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 1rem;
    }
    
    .scroll-indicator {
        font-size: 0.75rem;
    }
}
