/* MARK: - Swift UI Match Color Palette */
:root {
    --de-background: #0d0d0f;
    --de-card: #1f1f24;
    --de-card-hover: #2a2a30;
    --de-accent-red: #d91a1a;
    --de-accent-red-light: #ff3333;
    --de-highlight-gold: #ffcc00;
    --de-text-white: #ffffff;
    --de-text-gray: #a1a1aa;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

#download {
    scroll-margin-top: 6.5rem;
}

.skip-link {
    position: absolute;
    left: 0.75rem;
    top: -100px;
    z-index: 100000;
    background: var(--de-highlight-gold);
    color: #000;
    padding: 0.75rem 1rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 0 0 8px 8px;
}

.skip-link:focus {
    top: 0;
}

.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 3px solid var(--de-highlight-gold);
    outline-offset: 3px;
}

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

body {
    background-color: var(--de-background);
    color: var(--de-text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation Responsive */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: rgba(13, 13, 15, 0.85);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--de-text-white);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--de-highlight-gold);
}

.logo span {
    color: var(--de-highlight-gold);
}

.logo .mark {
    color: var(--de-accent-red);
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: var(--de-text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--de-highlight-gold);
}

/* Mobile Hamburger Toggle */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--de-text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 8% 100px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    min-height: 90vh;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 204, 0, 0.15);
    color: var(--de-highlight-gold);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 204, 0, 0.3);
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--de-highlight-gold), #ffaa00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--de-text-gray);
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--de-highlight-gold), #e6b800);
    color: #000;
    padding: 16px 28px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(255, 204, 0, 0.35);
}

.btn-secondary {
    background: var(--de-card);
    color: #fff;
    padding: 16px 28px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.2s, background 0.2s;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: var(--de-card-hover);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Mockup Frame */
.hero-mockup {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 310px;
    height: 620px;
    background: var(--de-card);
    border-radius: 40px;
    border: 4px solid #33333d;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    padding: 18px 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-stats {
    display: flex;
    gap: 8px;
}

.streak-pill {
    background: #2a2a30;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: bold;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 149, 0, 0.4);
}

.streak-pill i.fa-fire {
    color: #ff9500;
}

.xp-pill {
    background: #2a2a30;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: bold;
    color: var(--de-highlight-gold);
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 204, 0, 0.4);
}

.chat-bubble-mock {
    background: var(--de-card-hover);
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 0.85rem;
    line-height: 1.4;
    max-width: 88%;
}

.chat-bubble-mock.andy {
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(255, 204, 0, 0.2);
}

.chat-bubble-mock.user {
    background: var(--de-highlight-gold);
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* Features Section & Permanent Slider Container */
.features {
    padding: 80px 8%;
    background: rgba(31, 31, 36, 0.3);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
}

/* Wrapper für Slider & Navigation-Pfeile */
.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Der eigentliche Slider für ALLE Geräte */
.feature-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 25px;
    padding: 16px 5px;
    width: 100%;

    /* Scrollbar überall ausblenden */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.feature-grid::-webkit-scrollbar {
    display: none;
}

/* Feature Card Größen im Slider */
.feature-card {
    background: var(--de-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s, border-color 0.3s;
    flex: 0 0 calc(33.333% - 17px); /* Desktop: 3 Karten gleichzeitig */
    min-width: 280px;
    scroll-snap-align: start;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 204, 0, 0.4);
}

.feature-icon {
    font-size: 2rem;
    color: var(--de-highlight-gold);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pro-chip {
    display: inline-block;
    background: var(--de-highlight-gold);
    color: #000;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 8px;
    vertical-align: middle;
}

.feature-card p {
    color: var(--de-text-gray);
    font-size: 0.95rem;
}

/* Styling der Navigations-Pfeile */
.slider-btn {
    background: var(--de-card);
    color: var(--de-text-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.slider-btn:hover {
    background: var(--de-highlight-gold);
    color: #000;
    border-color: var(--de-highlight-gold);
}

.slider-btn.prev {
    left: -24px;
}

.slider-btn.next {
    right: -24px;
}

/* Section: Vokabel-Duell (PvP Spotlight) */
.pvp-section {
    padding: 100px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.pvp-text {
    flex: 1;
}

.pvp-card-banner {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.15), rgba(0,0,0,0));
    border: 1.5px solid var(--de-highlight-gold);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 25px;
}

/* Pricing Table */
.pricing {
    padding: 100px 8%;
    background: rgba(31, 31, 36, 0.2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--de-card);
    border-radius: 24px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.pro {
    border: 2px solid var(--de-highlight-gold);
    background: linear-gradient(180deg, #25252c 0%, #17171a 100%);
    box-shadow: 0 15px 40px rgba(255, 204, 0, 0.15);
}

.pro-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--de-highlight-gold);
    color: #000;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 800;
}

.pricing-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.price span {
    font-size: 1rem;
    color: var(--de-text-gray);
    font-weight: 400;
}

.price-badge {
    display: inline-block;
    background: rgba(52, 199, 89, 0.15);
    color: #34c759;
    border: 1px solid rgba(52, 199, 89, 0.3);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 8px;
    margin-left: 6px;
    vertical-align: middle;
}

.price-subtext {
    font-size: 0.9rem;
    color: var(--de-text-gray);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-subtext strong {
    color: var(--de-text-white);
}

.feature-list {
    list-style: none;
    margin-bottom: 35px;
    flex: 1;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.feature-list li i.fa-check {
    color: #34c759;
}

.feature-list li i.fa-xmark {
    color: #ff3b30;
}

/* Footer */
footer {
    padding: 40px 8%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: var(--de-text-gray);
    font-size: 0.9rem;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--de-card);
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 130px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .pvp-section {
        flex-direction: column;
        text-align: center;
    }

    /* Tablet: 2 Karten */
    .feature-card {
        flex: 0 0 calc(50% - 13px);
    }
}

/* 📱 MOBILGERÄTE (≤ 600px): Pfeile UNTER den Slider legen, damit sie nichts überdecken */
@media (max-width: 600px) {
    .slider-container {
        flex-direction: column;
        padding-bottom: 60px; /* Platz für die Buttons darunter */
    }

    .feature-card {
        flex: 0 0 100%;
    }

    .slider-btn {
        top: auto;
        bottom: 0;
        transform: none;
    }

    .slider-btn.prev {
        left: calc(50% - 55px); /* Zentriert links */
    }

    .slider-btn.next {
        right: calc(50% - 55px); /* Zentriert rechts */
    }
}
		
		.cta-buttons-wrapper {
			position: relative;
			display: inline-block;
			border-radius: 20px;
			padding: 8px;
			background: rgba(255, 255, 255, 0.03);
			border: 1px solid rgba(255, 204, 0, 0.2);
			box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
		}

		/* Lässt die originalen Buttons durchschimmern */
		.cta-buttons.preview-mode {
			opacity: 0.35;
			filter: blur(1px);
			pointer-events: none; /* Verhindert Klicks */
		}

		/* Der schicke Glas-Overlay-Layer */
		.coming-soon-overlay {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			z-index: 5;
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			background: rgba(13, 13, 15, 0.55);
			backdrop-filter: blur(4px);
			border-radius: 16px;
			padding: 10px;
			text-align: center;
		}

		.coming-soon-badge {
			background: linear-gradient(135deg, var(--de-highlight-gold), #ffaa00);
			color: #000;
			font-size: 0.85rem;
			font-weight: 900;
			padding: 6px 16px;
			border-radius: 20px;
			display: inline-flex;
			align-items: center;
			gap: 6px;
			box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
			animation: pulseGlow 2s infinite alternate;
		}

		.coming-soon-text {
			font-size: 0.8rem;
			color: var(--de-text-white);
			margin-top: 6px !important;
			font-weight: 600;
			opacity: 0.9;
		}

		/* Sanftes Pulsieren des Badges für Aufmerksamkeit */
		@keyframes pulseGlow {
			0% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3); }
			100% { transform: scale(1.04); box-shadow: 0 6px 20px rgba(255, 204, 0, 0.6); }
		}

footer a:hover,
footer a:focus-visible {
    color: var(--de-highlight-gold);
}


/* Legal pages */
.nav-links a[aria-current="page"] {
    color: var(--de-highlight-gold);
}

body:has(.legal-wrap) {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.65;
}

body:has(.legal-wrap) main {
    flex: 1;
}

.legal-wrap {
    padding: 140px 8% 80px;
    max-width: 820px;
    margin: 0 auto;
}

.legal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 204, 0, 0.15);
    color: var(--de-highlight-gold);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 204, 0, 0.3);
}

.legal-wrap h1 {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 12px;
}

.legal-updated {
    color: var(--de-text-gray);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.legal-card {
    background: var(--de-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px 28px 8px;
    margin-bottom: 24px;
}

.legal-wrap h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--de-highlight-gold);
    margin-bottom: 12px;
}

.legal-wrap p,
.legal-wrap li {
    color: var(--de-text-gray);
    margin-bottom: 14px;
}

.legal-wrap ul {
    margin: 0 0 14px 1.2rem;
}

.legal-wrap a {
    color: var(--de-highlight-gold);
}

.legal-wrap address {
    font-style: normal;
    color: var(--de-text-white);
    margin-bottom: 14px;
}

footer a {
    color: var(--de-text-gray);
}

@media (max-width: 900px) {
    .legal-wrap {
padding-top: 120px;
    }

    .legal-wrap h1 {
font-size: 1.9rem;
    }

    .legal-card {
padding: 22px 20px 6px;
    }
}
