/* Reset und Grundstyles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #8b5cf6;
    --secondary-purple: #a855f7;
    --light-purple: #f3e8ff;
    --accent-purple: #ddd6fe;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --white: #ffffff;
    --cream: #fefcf9;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--cream);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Passwort Overlay */
.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.password-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.25);
    text-align: center;
    max-width: 450px;
    width: 90%;
    backdrop-filter: blur(10px);
    position: relative;
}

.language-toggle {
    position: absolute;
    top: -1rem;
    right: 0.5rem;
    display: flex;
    gap: 0.25rem;
    z-index: 10;
}

.language-toggle-main {
    position: absolute;
    top: -1rem;
    right: 0;
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.3rem 0.6rem;
    border: 1.5px solid var(--primary-purple);
    background: transparent;
    color: var(--primary-purple);
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    min-width: 30px;
    text-align: center;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--primary-purple);
    color: white;
}

.password-container h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-purple);
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 600;
}

.password-container p {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
    font-weight: 400;
}

.hint-text {
    display: block;
    margin-bottom: 1.5rem;
    color: var(--primary-purple);
    font-style: italic;
    font-size: 0.85rem;
    opacity: 0.8;
}

.password-container input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    cursor: text;
}

.password-container input:hover {
    border-color: var(--primary-purple);
}

.password-container input[type="text"] {
    background: rgba(139, 92, 246, 0.02);
}

.password-container input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.password-container button {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    margin-top: 1rem;
}

.password-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.error-message {
    color: #ef4444;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Hauptinhalt */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.hidden {
    display: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-purple) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    padding: 2rem 0;
    position: relative;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-date {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--primary-purple);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}


.rsvp-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    font-family: 'Inter', sans-serif;
}

.rsvp-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, var(--secondary-purple) 0%, var(--primary-purple) 100%);
}

.rsvp-button svg {
    flex-shrink: 0;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 400px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.hero-image-wrapper:hover {
    transform: rotate(0deg) scale(1.02) !important;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(139, 92, 246, 0.1) 0%, 
        rgba(168, 85, 247, 0.1) 100%);
    pointer-events: none;
}

/* Details Grid */
.details-grid {
    padding: 6rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.detail-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.detail-card.full-width {
    grid-column: 1 / -1;
}

.time-card {
    position: relative;
    overflow: hidden;
}

.time-image-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.time-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.time-card:hover .time-image {
    transform: scale(1.05);
}

.time-card .card-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin: 1rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.gifts-card {
    position: relative;
    overflow: hidden;
}

.gifts-image-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.gifts-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: blur(4px) brightness(0.8);
    opacity: 0.7;
}

.gifts-card:hover .gifts-image {
    transform: scale(1.02);
    filter: blur(3px) brightness(0.9);
}

.gifts-card .card-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    margin: 2rem 2rem 4rem 2rem;
    padding: 3rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.schedule-card {
    background: var(--light-purple);
    border: 2px dashed var(--primary-purple);
    opacity: 0.8;
}

.schedule-card .card-content {
    text-align: center;
    padding: 3rem;
}

.schedule-card h3 {
    color: var(--primary-purple);
    opacity: 0.7;
}

.schedule-card h4 {
    color: var(--text-gray);
    font-style: italic;
}

.schedule-card p {
    color: var(--text-gray);
    opacity: 0.8;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(139, 92, 246, 0.02);
}

.faq-question h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-purple);
    font-weight: bold;
    transition: transform 0.3s ease;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    max-width: 30px;
    max-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: var(--primary-purple);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 2rem 2rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.answer-with-meme {
    padding: 0 2rem 2rem 2rem;
}

.answer-with-meme p {
    padding: 0 0 1rem 0;
}

.faq-meme {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.faq-meme.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-meme.visible:hover {
    transform: scale(1.05);
}

.location-card {
    position: relative;
    overflow: hidden;
}

.restaurant-image-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.restaurant-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.location-card .card-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin: 1rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.maps-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-purple);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.maps-link:hover {
    background: var(--secondary-purple);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.maps-link svg {
    flex-shrink: 0;
}

.image-copyright {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 3;
    font-weight: 400;
    opacity: 0.8;
}

.card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--primary-purple);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.card-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.card-content p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1rem;
}

/* RSVP Section */
.rsvp-section {
    background: var(--light-purple);
    padding: 6rem 2rem;
}

.rsvp-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.rsvp-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.rsvp-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.1);
}

.form-container iframe {
    border-radius: 15px;
    min-height: 800px;
    border: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-image-wrapper {
        width: 350px;
        height: 450px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 4rem 2rem;
    }
    
    .time-card .card-content {
        margin: 0.5rem;
        padding: 1.5rem;
    }
    
    .location-card .card-content,
    .time-card .card-content {
        margin: 0.5rem;
        padding: 1.5rem;
    }
    
    .gifts-card .card-content {
        margin: 1rem 1rem 3rem 1rem;
        padding: 2rem;
    }
    
    .schedule-card .card-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 1rem;
        min-height: auto;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-image-wrapper {
        width: 280px;
        height: 350px;
    }
    
    .detail-card {
        padding: 2rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 4rem 2rem;
    }
    
    .location-card .card-content,
    .time-card .card-content {
        margin: 0.5rem;
        padding: 1.5rem;
    }
    
    .gifts-card .card-content {
        margin: 1rem 1rem 3rem 1rem;
        padding: 2rem;
    }
    
    .schedule-card .card-content {
        padding: 2rem;
    }
    
    .maps-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .rsvp-section {
        padding: 4rem 1rem;
    }
    
    
    .faq-content h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .faq-section {
        padding: 4rem 1rem;
    }
    
    .faq-question {
        padding: 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-answer p {
        padding: 0 1.5rem 1.5rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .rsvp-content h2 {
        font-size: 2.5rem;
    }
    
    .language-toggle-main {
        top: -2rem;
        right: -1rem;
    }
    
    .language-toggle {
        top: -1.5rem;
        right: 0.25rem;
        gap: 0.2rem;
    }
    
    .lang-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.6rem;
        min-width: 28px;
        border-width: 1px;
    }
    
    .password-container {
        padding: 2rem;
        margin: 1rem;
    }
    
    .form-container {
        padding: 1rem;
    }
    
    .form-container iframe {
        min-height: 600px;
    }
}

@media (max-width: 480px) {
    .hero-image-wrapper {
        width: 250px;
        height: 300px;
    }
    
    .detail-card {
        padding: 1.5rem;
    }
    
    .card-content h4 {
        font-size: 1.3rem;
    }
    
    .rsvp-content h2 {
        font-size: 2rem;
    }
    
    .password-container {
        padding: 1.5rem;
    }
}

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

.hero-text > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-text > *:nth-child(1) { animation-delay: 0.2s; }
.hero-text > *:nth-child(2) { animation-delay: 0.4s; }
.hero-text > *:nth-child(3) { animation-delay: 0.6s; }

.detail-card {
    animation: fadeInUp 0.8s ease-out forwards;
}

.detail-card:nth-child(1) { animation-delay: 0.1s; }
.detail-card:nth-child(2) { animation-delay: 0.3s; }
.detail-card:nth-child(3) { animation-delay: 0.5s; }