:root {
    --bg-color: #0b0f19;
    --text-color: #f3f4f6;
    --accent-color: #0071e3; /* Apple Blue */
    --card-bg: #1f2937;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: sticky;
    top: 0;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    z-index: 100;
}

.logo { 
    font-size: 1.5rem; 
    font-weight: bold; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.logo img { 
    width: 40px; 
    height: 40px; 
    border-radius: 10px; 
}

nav a { 
    color: var(--text-color); 
    text-decoration: none; 
    margin-left: 20px; 
    font-weight: 500; 
}

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

section { 
    padding: 80px 5%; 
    max-width: 1200px; 
    margin: 0 auto; 
}

/* Hero Section */
#hero { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 40px; 
    min-height: 80vh; 
}

.hero-text { 
    flex: 1; 
}

.hero-text h1 { 
    font-size: 3rem; 
    line-height: 1.2; 
    margin-bottom: 20px; 
}

.accent-text {
    color: var(--accent-color);
}

.hero-text p { 
    font-size: 1.25rem; 
    color: #9ca3af; 
    margin-bottom: 30px; 
}

.cta-btn img { 
    height: 50px; 
    transition: transform 0.2s; 
}

.cta-btn img:hover { 
    transform: scale(1.05); 
}

.hero-mockup { 
    flex: 1; 
    display: flex; 
    justify-content: center; 
}

.hero-mockup { 
    flex: 1; 
    display: flex; 
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.slider-indicators {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #4b5563; /* Inaktiv (Grau) */
    transition: background-color 0.3s, transform 0.3s;
    cursor: pointer;
}

.indicator-dot.active {
    background-color: var(--accent-color); /* Aktiv (Apple Blue) */
    transform: scale(1.2);
}

/* 1. iPhone Outer Shell */
.iphone-frame {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    
    /* Device Aspect Ratio & Curves */
    border-radius: 48px;
    background: #000; /* Bezels color */
    padding: 12px; /* Bezel width */
    
    /* Frame Shadow & Metallic Side Highlight */
    box-shadow: 
        0 0 0 2px #333,                    /* Metal edge accent */
        0 20px 40px -10px rgba(0,0,0,0.5); /* Soft drop shadow */
}

/* 2. Dynamic Island / Notch Overlay */
.iphone-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 22px;
    background-color: #000;
    border-radius: 20px;
    z-index: 10; /* Keeps notch above scrolling images */
    pointer-events: none; /* Allows click/drag through the notch */
}

/* 3. Your Scroll Container (Adjusted) */
.mockup-container {
    width: 100%;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    
    /* Rounded screen corners inside the bezel */
    border-radius: 36px;
    
    /* Prevents pixel bleeding around corners in Safari */
    isolation: isolate; 
}

.mockup-container::-webkit-scrollbar {
    display: none;
}

/* 4. Images inside the frame */
.mockup-container img { 
    width: 100%; 
    height: auto; 
    object-fit: cover;
    flex-shrink: 0; 
    scroll-snap-align: start;
    
    /* Remove the individual image drop-shadow since the frame handles it now */
    filter: none; 
}

/* Features */
#features h2, #legal h2 { 
    text-align: center; 
    font-size: 2.5rem; 
    margin-bottom: 50px; 
}

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

.feature-card { 
    background: var(--card-bg); 
    padding: 30px; 
    border-radius: 20px; 
    transition: transform 0.2s; 
}

.feature-card:hover { 
    transform: translateY(-5px); 
}

.feature-card h3 { 
    margin-bottom: 15px; 
    color: var(--accent-color); 
}

/* Rechtliches & Banner */
#legal { 
    display: none; 
}

.legal-content { 
    background: var(--card-bg); 
    padding: 40px; 
    border-radius: 20px; 
    margin-top: 20px; 
}

.legal-tabs { 
    display: flex; 
    gap: 20px; 
    margin-bottom: 20px; 
}

.tab-btn { 
    background: none; 
    border: none; 
    color: #9ca3af; 
    font-size: 1.1rem; 
    cursor: pointer; 
    padding-bottom: 5px; 
}

.tab-btn.active { 
    color: var(--text-color); 
    border-bottom: 2px solid var(--accent-color); 
}

.legal-text-block { 
    display: none; 
}

.legal-text-block.active { 
    display: block; 
}

footer { 
    text-align: center; 
    padding: 40px 5%; 
    color: #6b7280; 
    border-top: 1px solid #1f2937; 
}

footer a { 
    color: #9ca3af; 
    text-decoration: none; 
    margin: 0 10px; 
}

/* Cookie/Privacy Banner */
#cookie-banner {
    position: fixed; 
    bottom: 20px; 
    left: 50%; 
    transform: translateX(-50%);
    background: var(--card-bg); 
    padding: 20px 30px; 
    border-radius: 15px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.7); 
    width: 90%; 
    max-width: 600px;
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    z-index: 1000;
}

.banner-buttons { 
    display: flex; 
    justify-content: flex-end; 
    gap: 15px; 
}

.btn { 
    padding: 10px 20px; 
    border-radius: 8px; 
    border: none; 
    font-weight: bold; 
    cursor: pointer; 
}

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

.btn-deny { 
    background: #4b5563; 
    color: white; 
}

@media (max-width: 768px) {
    #hero { 
        flex-direction: column; 
        text-align: center; 
        padding-top: 40px; 
    }
    .hero-text h1 { 
        font-size: 2.2rem; 
    }
    .banner-buttons { 
        flex-direction: column; 
    }
}

.cta-container {
    display: flex;
    align-items: center; /* Richtet Badge und Text perfekt vertikal mittig aus */
    gap: 24px;           /* Gibt den Elementen spürbar Luft zum Atmen */
    margin-top: 30px;
}

.cta-btn img {
    height: 44px;        /* Standard-Höhe für das Apple Badge im Web */
    display: block;
    transition: transform 0.2s ease;
}

.cta-btn:hover img {
    transform: scale(1.02);
}

.tour-link {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none; /* Entfernt die unschöne Standard-Unterstreichung */
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.tour-link .arrow {
    margin-left: 6px;
    transition: transform 0.2s ease;
}

/* Interaktions-Effekt: Text wird leicht blau und der Pfeil rückt dezent nach rechts */
.tour-link:hover {
    color: var(--accent-color);
}

.tour-link:hover .arrow {
    transform: translateX(4px);
}

/* Optimierung für Mobile: Untereinander stapeln, falls der Platz eng wird */
@media (max-width: 480px) {
    .cta-container {
        flex-direction: column;
        gap: 16px;
    }
}