/* Playfair Display - Regular 400 */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/playfair-display-v39-latin-regular.woff2') format('woff2'),
         url('../fonts/playfair-display-v39-latin-regular.woff') format('woff');
}

/* Playfair Display - Medium 500 */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/playfair-display-v39-latin-500.woff2') format('woff2'),
         url('../fonts/playfair-display-v39-latin-500.woff') format('woff');
}

/* Playfair Display - Bold 700 */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/playfair-display-v39-latin-700.woff2') format('woff2'),
         url('../fonts/playfair-display-v39-latin-700.woff') format('woff');
}

/* Inter - Light 300 */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/inter-v19-latin-300.woff2') format('woff2'),
         url('../fonts/inter-v19-latin-300.woff') format('woff');
}

/* Inter - Regular 400 */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-v19-latin-regular.woff2') format('woff2'),
         url('../fonts/inter-v19-latin-regular.woff') format('woff');
}

/* Inter - Medium 500 */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-v19-latin-500.woff2') format('woff2'),
         url('../fonts/inter-v19-latin-500.woff') format('woff');
}

/* Inter - Semi-Bold 600 */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-v19-latin-600.woff2') format('woff2'),
         url('../fonts/inter-v19-latin-600.woff') format('woff');
}

:root {
    --primary: #820585;
    --primary-light: #E8B4CB;
    --accent-gold: #D4AF37;
    --cream: #F8F6F0;
    --white: #FFFFFF;
    --text-dark: #2A2A2A;
    --text-medium: #4A4A4A;
    --gradient-mystical: linear-gradient(135deg, #820585 0%, #E8B4CB 50%, #F4D2A7 100%);
    --gradient-ethereal: linear-gradient(45deg, rgba(130,5,133,0.1) 0%, rgba(232,180,203,0.2) 100%);
    --shadow-soft: 0 20px 60px rgba(130, 5, 133, 0.15);
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.3);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--cream);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Mystical Background Elements */
.bg-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0.6;
    animation: twinkle 3s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.2); }
}

/* Hero Section - Immersive */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-mystical);
    overflow: hidden;
    padding: 80px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 40px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    opacity: 0;
    animation: heroFadeUp 2s ease forwards;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero .subline {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--white);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 4rem;
    opacity: 0.95;
    opacity: 0;
    animation: heroFadeUp 2s ease 0.4s forwards;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.video-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 4rem auto;
    opacity: 0;
    animation: heroFadeUp 2s ease 0.8s forwards;
}

.video-frame {
    aspect-ratio: 16/9;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 300;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.video-frame:hover {
    transform: translateY(-5px);
}

/* Video Consent Box */
.video-consent {
    text-align: center;
    padding: 40px 30px;
}

.consent-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.video-consent h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 400;
}

.video-consent p {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
    line-height: 1.5;
}

.consent-button {
    background: var(--white);
    color: var(--primary);
    border: none;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.consent-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    background: var(--cream);
}

.consent-info {
    display: block;
    margin-top: 20px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0.8;
    cursor: pointer;
    animation: bounce 2s infinite;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

/* Premium Section Layout */
.section {
    position: relative;
    z-index: 2;
    padding: clamp(80px, 12vw, 160px) 0;
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Glassmorphic Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: clamp(40px, 6vw, 80px);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(130, 5, 133, 0.2);
}

/* Parallax Hero Image */
.parallax-section {
    height: 60vh;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

/* Smooth transition between sections */
.hero {
    margin-bottom: 0;
}

.section:first-of-type {
    padding-top: 40px;
}

.parallax-image {
    height: 120%;
    background: linear-gradient(rgba(130,5,133,0.2), rgba(130,5,133,0.2)), 
                url('../images/sephira-community-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(130, 5, 133, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.parallax-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.parallax-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    font-style: italic;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--primary);
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 80px);
    font-weight: 400;
    letter-spacing: -0.01em;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-mystical);
    border-radius: 2px;
}

.body-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    color: var(--text-medium);
}

.body-text.large {
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    font-weight: 300;
}

/* Three Areas - Premium Grid */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.area-card {
    background: var(--white);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-mystical);
}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(130, 5, 133, 0.15);
}

.area-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.area-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-medium);
}

/* Timeline Section */
.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-mystical);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-mystical);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 40px;
    flex-shrink: 0;
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(130, 5, 133, 0.15);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 24px;
    width: 0;
    height: 0;
    border: 12px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -24px;
    border-right-color: var(--white);
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -24px;
    border-left-color: var(--white);
}

.timeline-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 500;
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin: 0;
}

/* Renate Section - Personal Touch */
.renate-section {
    background: var(--gradient-ethereal);
    border-radius: 32px;
    padding: clamp(60px, 8vw, 100px);
    margin: 80px 0;
    position: relative;
    overflow: hidden;
}

.renate-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.renate-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
    align-items: start;
}

.renate-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
    background: var(--gradient-mystical);
    padding: 3px;
}

.renate-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
    display: block;
}

.renate-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    text-align: left;
}

/* CTA Section - Elegant */
.cta-section {
    text-align: center;
    padding: clamp(100px, 15vw, 200px) 0;
    background: var(--white);
    margin: 80px -40px;
    border-radius: 32px;
    box-shadow: var(--shadow-soft);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-mystical);
    color: var(--white);
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(130, 5, 133, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(130, 5, 133, 0.4);
}

.price-info {
    font-size: 1rem;
    color: var(--primary);
    margin-top: 24px;
    font-style: italic;
    font-weight: 300;
}

/* Final Section - Powerful */
.final-section {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: clamp(80px, 12vw, 120px) 0;
    position: relative;
    overflow: hidden;
}

.final-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
}

.final-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 400;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* Hero mobile optimization */
    .hero {
        min-height: 100svh; /* Verwendet die kleinere viewport height für Mobile */
        padding: 60px 0 80px;
    }
    
    .hero h1 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }
    
    .hero .subline {
        font-size: clamp(1rem, 2vw, 1.2rem);
        margin-bottom: 3rem;
    }
    
    .video-container {
        margin-bottom: 3rem;
    }
    
    /* Scroll indicator anpassen */
    .scroll-indicator {
        bottom: 20px;
    }
    
    /* Parallax fix for mobile */
    .parallax-image {
        background-attachment: scroll; /* Fixed funktioniert nicht auf iOS */
        height: 100%;
    }

    .renate-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .renate-photo {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .areas-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-section {
        margin: 60px 0;
        padding: 60px 20px;
    }
    
    .renate-section {
        margin: 60px 0;
        padding: 40px 20px;
    }

    /* Mobile Timeline */
    .timeline-container::before {
        left: 30px;
    }

    .timeline-item, .timeline-item:nth-child(even) {
        flex-direction: row;
    }

    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }

    .timeline-icon {
        margin: 0 20px 0 0;
    }

    .timeline-content::before, .timeline-item:nth-child(even) .timeline-content::before {
        left: -12px;
        right: auto;
        border-right-color: var(--white);
        border-left-color: transparent;
    }
}

/* Extra large phones (iPhone Pro Max, etc.) */
@media (max-width: 430px) and (min-height: 900px) {
    .hero {
        min-height: 100svh;
        padding: 40px 0 60px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .video-frame {
        min-height: 280px; /* Stellt sicher, dass das Video-Consent groß genug ist */
    }
    
    .video-consent {
        padding: 30px 20px;
    }
    
    .consent-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 20px;
    }

    .area-card {
        padding: 30px 20px;
    }
    
    .renate-section {
        padding: 30px 15px;
    }
    
    .cta-section {
        padding: 50px 15px;
    }
}

/* Footer Styles */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 40px;
    margin-top: 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-social {
    display: flex;
    gap: 24px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.social-link:hover {
    background: var(--gradient-mystical);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-links .separator {
    opacity: 0.4;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.6;
    text-align: center;
}

/* Legal Pages Styles */
.page-header {
    padding: 30px 0;
    background: rgba(130, 5, 133, 0.05);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateX(-5px);
}

.legal-section {
    padding: 80px 0 120px;
    min-height: calc(100vh - 200px);
}

.legal-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--primary);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 400;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.legal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 30px;
    font-weight: 500;
}

.legal-content h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.legal-content p {
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 20px;
}

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

.legal-content a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 30px;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .footer-links {
        font-size: 0.9rem;
    }
    
    .legal-content {
        padding: 40px 30px;
    }
}

/* Utility Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}