/* ============================================
   HAYAL GELINLIK - STYLES
   Design: Elegant, Luxury Bridal Fashion
   Colors: Rose (#d4a5a5), White, Gold
   ============================================ */

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

:root {
    --primary: #d4a5a5;
    --primary-dark: #c9949a;
    --primary-light: #e8d5d0;
    --background: #faf8f7;
    --foreground: #2d2d2d;
    --white: #ffffff;
    --gold: #d4af37;
    --gray: #666666;
    --light-gray: #f5e6e3;
    --border-color: #e8d5d0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--foreground);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: -0.5px;
}

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

/* ============================================
   LOADING SCREEN
   ============================================ */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

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

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 165, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn-primary:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ============================================
   NAVIGATION - ANIMIERT
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transform: translateY(-100%);
    animation: slideDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.7s forwards;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInDown 0.5s ease forwards;
}

.nav-menu li:nth-child(1) { animation-delay: 0.8s; }
.nav-menu li:nth-child(2) { animation-delay: 0.9s; }
.nav-menu li:nth-child(3) { animation-delay: 1.0s; }
.nav-menu li:nth-child(4) { animation-delay: 1.1s; }
.nav-menu li:nth-child(5) { animation-delay: 1.2s; }
.nav-menu li:nth-child(6) { animation-delay: 1.3s; }

.nav-menu a {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

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

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

.nav-menu a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 100%;
}

.phone-link {
    color: var(--primary);
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--foreground);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   HERO SECTION - ANIMIERT
   ============================================ */

.hero {
    margin-top: 70px;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--foreground);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(212, 165, 165, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(212, 165, 165, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--gray);
    opacity: 0;
    transform: translateY(30px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    opacity: 0;
    transform: translateY(30px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0;
    animation: bounce 2s infinite 2s;
}

.scroll-indicator svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.scroll-dot {
    animation: scrollPulse 2s infinite;
}

/* ============================================
   SCROLL ANIMATION CLASSES
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Types */
.animate-on-scroll[data-animation="fade-up"].animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll[data-animation="fade-down"].animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll[data-animation="fade-left"].animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll[data-animation="fade-right"].animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll[data-animation="zoom-in"].animated {
    opacity: 1;
    transform: scale(1);
}

.animate-on-scroll[data-animation="scale-up"].animated {
    opacity: 1;
    transform: scale(1);
}

.animate-on-scroll[data-animation="slide-up"].animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll[data-animation="slide-right"].animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll[data-animation="fade-in"].animated {
    opacity: 1;
}

/* Initial States for Different Animations */
.animate-on-scroll[data-animation="fade-up"] {
    transform: translateY(30px);
}

.animate-on-scroll[data-animation="fade-down"] {
    transform: translateY(-30px);
}

.animate-on-scroll[data-animation="fade-left"] {
    transform: translateX(-30px);
}

.animate-on-scroll[data-animation="fade-right"] {
    transform: translateX(30px);
}

.animate-on-scroll[data-animation="zoom-in"] {
    transform: scale(0.9);
}

.animate-on-scroll[data-animation="scale-up"] {
    transform: scale(0.8);
}

.animate-on-scroll[data-animation="slide-up"] {
    transform: translateY(50px);
}

.animate-on-scroll[data-animation="slide-right"] {
    transform: translateX(-50px);
}

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

section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.heart {
    color: var(--primary);
    font-size: 1.5em;
    display: inline-block;
    animation: heartbeat 1.5s infinite;
}

/* ============================================
   FEATURES SECTION - ELEGANT REDESIGN
   ============================================ */

.features-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

.features-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(212, 165, 165, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-slow);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(212, 165, 165, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 165, 165, 0.05), rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.6s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(212, 165, 165, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(212, 165, 165, 0.2);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(212, 165, 165, 0.3);
}

.feature-icon svg {
    width: 36px;
    height: 36px;
    fill: var(--white);
    transition: var(--transition);
}

.feature-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--foreground);
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transition: var(--transition);
}

.feature-card:hover h3::after {
    width: 60px;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* Subtle floating animation for feature cards */
@keyframes floatFeature {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.feature-card:nth-child(odd) {
    animation: floatFeature 6s ease-in-out infinite;
}

.feature-card:nth-child(even) {
    animation: floatFeature 6s ease-in-out infinite reverse;
}

/* Responsive adjustments for feature cards */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon svg {
        width: 30px;
        height: 30px;
    }
}

/* ============================================
   GALLERY SECTION - ANIMIERT
   ============================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: 400px;
    background-size: cover;
    background-repeat: no-repeat;
    transition: var(--transition-slow);
    transform-origin: center;
}

/* Individuelle Positionierung für jedes Bild */
.gallery-item:nth-child(1) { 
    background-image: url('images/brautkleid-1.jpg');
    background-position: center 15%;
}

.gallery-item:nth-child(2) { 
    background-image: url('images/brautkleid-2.jpg');
    background-position: center 10%;
}

.gallery-item:nth-child(3) { 
    background-image: url('images/henna-abendkleid-1.jpg');
    background-position: center 20%;
}

.gallery-item:nth-child(4) { 
    background-image: url('images/henna-abendkleid-2.jpg');
    background-position: center 15%;
}

.gallery-item:nth-child(5) { 
    background-image: url('images/damenbekleidung-1.jpg');
    background-position: center 25%;
}

.gallery-item:nth-child(6) { 
    background-image: url('images/damenbekleidung-2.jpg');
    background-position: center 20%;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.5));
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.gallery-item::after {
    content: '⟶';
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: var(--transition);
    z-index: 2;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background-position: center 30%;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   ABOUT US SECTION - EXAKTE HÖHENKONTROLLE
   ============================================ */

.about-section {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start; /* Kein automatisches Strecken */
}

/* Linke Spalte */
.about-text h3 {
    font-size: 1.8rem;
    margin: 0 0 1.5rem 0;
    color: var(--primary);
}

.about-text p {
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-highlights {
    margin: 0 0 1.5rem 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(212, 165, 165, 0.1);
}

.highlight-icon {
    color: var(--primary);
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.2rem;
    transition: var(--transition);
}

.highlight-item:hover .highlight-icon {
    transform: scale(1.3) rotate(5deg);
}

/* Letzter Absatz vor Button */
.about-text p:last-of-type {
    margin-bottom: 0;
}

.about-text .btn {
    margin-top: 1.5rem; /* Abstand nach Wunsch anpassen */
    margin-bottom: 0;
}

/* Rechte Spalte – wird per JS gesteuert */
.about-video {
    display: flex;
    flex-direction: column;
    height: auto; /* Wird von JS überschrieben */
}

.video-container {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background-color: #000;
    flex: 1;                 /* Nimmt verfügbare Höhe ein */
    min-height: 0;           /* Wichtig für Flexbox */
    transform-style: preserve-3d;
    perspective: 1000px;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* Füllt Container ohne schwarze Balken */
    display: block;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.video-container:hover video {
    transform: scale(1.02);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: var(--transition);
}

.video-container.playing video {
    object-fit: contain;  /* Vollständiges Video anzeigen, wenn es abgespielt wird */
}

.video-container.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

.play-btn {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    transform: scale(1);
}

.play-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 165, 165, 0.4);
}

.play-btn svg {
    width: 30px;
    height: 30px;
    margin-left: 5px;
}

.video-caption {
    text-align: center;
    color: var(--gray);
    margin-top: 1rem;
    font-style: italic;
    flex-shrink: 0;
}

/* Responsive: Untereinander auf Tablets/Mobil */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-video {
        height: auto !important;  /* JS-Höhe aufheben */
    }
    .video-container {
        height: 400px;            /* Feste Höhe für mobile Geräte */
        flex: none;
    }
}

/* ============================================
   REVIEWS SECTION - ANIMIERT
   ============================================ */

.reviews-section {
    background-color: var(--light-gray);
    position: relative;
}

.reviews-section::before {
    content: '❝';
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10rem;
    color: rgba(212, 165, 165, 0.1);
    font-family: serif;
    z-index: 0;
}

.stars {
    text-align: center;
    font-size: 2rem;
    color: #ffc107;
    margin-bottom: 2rem;
    letter-spacing: 0.5rem;
    position: relative;
    z-index: 1;
}

.star {
    display: inline-block;
    animation: starTwinkle 3s infinite;
}

.star:nth-child(2) { animation-delay: 0.5s; }
.star:nth-child(3) { animation-delay: 1s; }
.star:nth-child(4) { animation-delay: 1.5s; }
.star:nth-child(5) { animation-delay: 2s; }

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

.rating-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: inline-block;
    position: relative;
}

.rating-number::after {
    content: '+';
    position: absolute;
    right: -20px;
    top: 0;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.7;
}

.rating-text {
    color: var(--gray);
    font-size: 1.1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '❝';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 3rem;
    color: rgba(212, 165, 165, 0.1);
    font-family: serif;
    line-height: 1;
}

.review-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.review-card:hover::after {
    transform: scaleX(1);
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.review-stars {
    font-size: 1rem;
    color: #ffc107;
    margin-bottom: 1rem;
    letter-spacing: 0.2rem;
}

.review-text {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.review-author {
    font-weight: 600;
    color: var(--foreground);
    position: relative;
    padding-left: 20px;
}

.review-author::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 2px;
    background-color: var(--primary);
}

/* ============================================
   PROCESS SECTION - HORIZONTAL TIMELINE
   ============================================ */

.process-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.process-horizontal-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 4rem 0 6rem;
    padding: 0 2rem;
}

/* Timeline Line */
.timeline-line {
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(212, 165, 165, 0.3) 0%, 
        var(--primary) 50%, 
        rgba(212, 165, 165, 0.3) 100%);
    z-index: 0;
}

/* Timeline Items */
.timeline-item-horizontal {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 20%;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item-horizontal.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

.timeline-step {
    position: relative;
    margin-bottom: 1.5rem;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--primary-light);
    transition: all 0.3s ease;
    position: relative;
}

.step-icon svg {
    width: 36px;
    height: 36px;
    fill: var(--primary);
    transition: fill 0.3s ease;
}

/* Hover-Effekte nur für Desktop */
@media (min-width: 769px) {
    .timeline-item-horizontal:hover .step-icon {
        transform: scale(1.1) rotate(360deg);
        background: linear-gradient(135deg, var(--primary-light), var(--primary));
        box-shadow: 0 8px 25px rgba(212, 165, 165, 0.2);
        border-color: var(--primary);
    }
    
    .timeline-item-horizontal:hover .step-icon svg {
        fill: white;
    }
    
    .timeline-item-horizontal:hover .step-number {
        background: var(--primary-dark);
        transform: translateX(-50%) scale(1.2);
        box-shadow: 0 4px 10px rgba(212, 165, 165, 0.2);
    }
    
    .timeline-item-horizontal:hover h3 {
        color: var(--primary);
    }
    
    .timeline-item-horizontal:hover::after {
        background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    }
}

.timeline-content {
    padding: 0 0.5rem;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--foreground);
    transition: color 0.3s ease;
}

.timeline-content p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Connector Lines between steps */
.timeline-item-horizontal::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -60px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), rgba(212, 165, 165, 0.3));
    z-index: 0;
}

.timeline-item-horizontal:last-child::after {
    display: none;
}

/* Call to Action unter der Timeline */
.timeline-cta {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

.timeline-cta.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

.timeline-cta p {
    font-size: 1.2rem;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

/* Responsive Design für horizontale Timeline */
@media (max-width: 1200px) {
    .process-horizontal-timeline {
        padding: 0 1rem;
    }
    
    .timeline-item-horizontal {
        width: 18%;
        padding: 0 0.5rem;
    }
}

@media (max-width: 992px) {
    .process-horizontal-timeline {
        flex-wrap: wrap;
        justify-content: center;
        gap: 3rem;
        margin: 3rem 0 4rem;
    }
    
    .timeline-item-horizontal {
        width: 45%;
    }
    
    .timeline-line {
        display: none;
    }
    
    .timeline-item-horizontal::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .process-horizontal-timeline {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        padding: 0;
    }
    
    .timeline-item-horizontal {
        width: 100%;
        max-width: 300px;
        padding: 0;
        /* Einfache Fade-In Animation für Mobile */
        animation: none !important;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .timeline-item-horizontal.animate-on-scroll {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Gleiche Verzögerung für alle Items auf Mobile */
    .timeline-item-horizontal:nth-child(1).animate-on-scroll { transition-delay: 0.1s; }
    .timeline-item-horizontal:nth-child(2).animate-on-scroll { transition-delay: 0.2s; }
    .timeline-item-horizontal:nth-child(3).animate-on-scroll { transition-delay: 0.3s; }
    .timeline-item-horizontal:nth-child(4).animate-on-scroll { transition-delay: 0.4s; }
    .timeline-item-horizontal:nth-child(5).animate-on-scroll { transition-delay: 0.5s; }
    
    .step-icon {
        width: 70px;
        height: 70px;
    }
    
    .step-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .timeline-content h3 {
        font-size: 1.3rem;
    }
    
    .timeline-content p {
        font-size: 1rem;
    }
    
    .timeline-cta {
        padding: 1.5rem;
        transition-delay: 0.6s !important;
    }
}

@media (max-width: 480px) {
    .process-horizontal-timeline {
        margin: 2rem 0 3rem;
    }
    
    .timeline-item-horizontal {
        max-width: 100%;
    }
    
    .timeline-cta {
        padding: 1.5rem;
    }
    
    .timeline-cta p {
        font-size: 1.1rem;
    }
}

/* ============================================
   FAQ SECTION - ANIMIERT
   ============================================ */

.faq-section {
    background-color: var(--light-gray);
}

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

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--foreground);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--light-gray);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
    transform: rotate(0deg);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 1.5rem;
    background-color: var(--light-gray);
    color: var(--gray);
    border-top: 2px solid var(--border-color);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
    animation: slideDown 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   CONTACT SECTION - ANIMIERT
   ============================================ */

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-block h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
    position: relative;
    padding-left: 1.5rem;
}

.info-block h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
}

.info-block p {
    color: var(--gray);
    line-height: 1.8;
}

.phone-link-large {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
}

.phone-link-large::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

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

.phone-link-large:hover {
    color: var(--primary-dark);
}

.quote-box {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 0.5rem;
    font-style: italic;
    color: var(--gray);
    line-height: 1.8;
    position: relative;
    border-left: 3px solid var(--primary);
}

.quote-box::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: serif;
}

/* ============================================
   CONTACT FORM - ANIMIERT
   ============================================ */

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.contact-form:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 165, 165, 0.1);
    transform: translateY(-2px);
}

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

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

.form-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 998;
    transition: var(--transition);
    transform: scale(0);
    animation: whatsappFloat 0.5s cubic-bezier(0.4, 0, 0.2, 1) 2s forwards;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* ============================================
   FOOTER - ANIMIERT
   ============================================ */

.footer {
    background-color: var(--foreground);
    color: var(--white);
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 165, 165, 0.5), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-col h3,
.footer-col h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after,
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-col p {
    color: #ccc;
    line-height: 1.8;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.footer-col a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-col a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    position: relative;
    z-index: 1;
}

/* ============================================
   ANIMATION KEYFRAMES
   ============================================ */

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    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 scrollPulse {
    0% {
        cy: 8;
    }
    50% {
        cy: 15;
    }
    100% {
        cy: 8;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

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

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 1;
    }
    20% {
        transform: scale(25, 25);
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

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

@keyframes starTwinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes whatsappFloat {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

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

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

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .gallery-item {
        background-position: center 20% !important;
    }
    
    .gallery-item:hover {
        background-position: center 25% !important;
    }
    
    .reviews-section::before {
        font-size: 8rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        display: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        animation: none;
    }

    .nav-menu li {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        text-align: center;
    }

    .nav-menu a {
        display: block;
        font-size: 1.1rem;
    }

    .hero {
        height: 500px;
        margin-top: 60px;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .reviews-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-lg {
        width: 100%;
    }
    
    .gallery-item {
        height: 350px;
    }
    
    .reviews-section::before {
        font-size: 6rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .feature-number {
        font-size: 2.5rem;
    }

    .rating-number {
        font-size: 2.5rem;
    }

    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    section {
        padding: 3rem 0;
    }
    
    .play-btn {
        width: 60px;
        height: 60px;
    }
    
    .play-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .gallery-item {
        height: 300px;
    }
    
    .reviews-section::before {
        font-size: 4rem;
        top: 30px;
    }
    
    .loading-logo {
        font-size: 2rem;
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .navbar,
    .hero-buttons,
    .whatsapp-float,
    .scroll-indicator,
    .video-overlay,
    .contact-form .btn {
        display: none !important;
    }
    
    .hero {
        height: auto;
        min-height: auto;
    }
    
    section {
        padding: 2rem 0;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}