/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4F46E5;
    --primary-color-dark: #4338CA;
    --secondary-color: #06B6D4;
    --secondary-color-dark: #0891B2;
    --dark-bg: #0F172A;
    --surface-deep: #05070F;
    --surface-deep-elevated: #0B1120;
    --light-bg: #F8FAFC;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --text-on-deep: #CBD5F5;
    --border-color: #E2E8F0;
    --border-color-deep: rgba(148, 163, 253, 0.16);
    --success-color: #10B981;
    --danger-color: #DC2626;
    --warning-color: #F59E0B;

    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 10px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 2px 4px rgba(15, 23, 42, 0.04), 0 12px 24px -8px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 8px 16px -4px rgba(15, 23, 42, 0.08), 0 24px 48px -12px rgba(15, 23, 42, 0.18);
    --shadow-glow-primary: 0 12px 28px -8px rgba(79, 70, 229, 0.45);
    --shadow-glow-cyan: 0 12px 28px -8px rgba(6, 182, 212, 0.4);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/*
 * Self-hosted "Plus Jakarta Sans" (Google Fonts, OFL license), latin subset,
 * variable font covering weights 400-800. Previously loaded from
 * fonts.googleapis.com / fonts.gstatic.com; hosted locally now so page loads
 * make zero third-party requests and set zero cookies.
 */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('fonts/plus-jakarta-sans-latin-variable.woff2') format('woff2-variations'),
         url('fonts/plus-jakarta-sans-latin-variable.woff2') format('woff2');
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #FFFFFF;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

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

/* Eyebrow / section label */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 0.45rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 18px -6px rgba(79, 70, 229, 0.55);
}

.eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.eyebrow-center {
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.eyebrow-on-dark {
    color: #E0F2FE;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.45) 0%, rgba(6, 182, 212, 0.4) 100%);
    border: 1px solid rgba(165, 180, 252, 0.4);
    box-shadow: 0 8px 20px -6px rgba(6, 182, 212, 0.35);
}

.eyebrow-on-dark::before {
    background: #67E8F9;
    box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.3);
}

.text-gradient {
    background: linear-gradient(120deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-xs);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    text-decoration: none;
}

.logo-img {
    display: block;
    height: 32px;
    width: auto;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease, background-color 0.2s ease;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-links a:hover {
    color: var(--primary-color);
    background-color: rgba(79, 70, 229, 0.06);
}

.nav-links a:focus,
.nav-links a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    background-color: rgba(79, 70, 229, 0.1);
}

.cta-link {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366F1 100%);
    color: #FFFFFF !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-link:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow-primary);
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366F1 100%);
}

/* Hero Section */
.hero {
    padding: 7rem 0 6rem;
    background:
        radial-gradient(circle at 15% 20%, rgba(6, 182, 212, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 85% 10%, rgba(79, 70, 229, 0.16) 0%, transparent 50%),
        linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content h1 {
    /*
     * Tuned for the longer, price-focused headline ("KI lernen. Sofort
     * anwenden. Nur CHF 129.- pro Jahr."). The previous clamp (up to
     * 4.75rem) was calibrated for a much shorter two-line headline and
     * caused this text to overflow/feel squeezed on small screens. This
     * scale keeps a comfortable line count on 375px/390px viewports while
     * still scaling up nicely on desktop.
     */
    font-size: clamp(2.15rem, 1.55rem + 2.6vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.25rem;
    max-width: 480px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.hero-secondary-link {
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.25rem;
    transition: gap 0.2s ease, color 0.2s ease;
}

.hero-secondary-link:hover {
    color: var(--primary-color);
    gap: 0.65rem;
}

.btn {
    display: inline-flex;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    border-radius: var(--radius-sm);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366F1 100%);
    color: #FFFFFF;
    box-shadow: var(--shadow-glow-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-color-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -8px rgba(79, 70, 229, 0.5);
}

.btn-primary:focus,
.btn-primary:focus-visible {
    outline: 2px solid var(--primary-color-dark);
    outline-offset: 2px;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #FFFFFF;
}

.btn-secondary:hover {
    background-color: var(--secondary-color-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero visual: competence-map mockup card */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-card {
    width: 100%;
    max-width: 420px;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    transform: rotate(1.5deg);
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--light-bg);
}

.hero-card-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border-color);
}

.hero-card-dot:nth-child(1) { background: #FCA5A5; }
.hero-card-dot:nth-child(2) { background: #FCD34D; }
.hero-card-dot:nth-child(3) { background: #86EFAC; }

.hero-card-title {
    margin-left: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
}

.hero-card-body {
    padding: 1.5rem 1.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.hero-node-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.hero-node-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.hero-node-value {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hero-node-progress {
    display: block;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: var(--border-color);
    overflow: hidden;
}

.hero-node-progress span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Bento-style stat tiles (extends the former "+128 diese Woche" badge) */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 0.85rem;
    width: 100%;
    max-width: 420px;
    margin-top: 1.75rem;
}

.stat-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    padding: 1rem 1.05rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.stat-tile-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 0.2rem;
    flex-shrink: 0;
}

.stat-tile-value {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.stat-tile-label {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.35;
    opacity: 0.92;
}

.stat-tile-primary {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366F1 100%);
    color: #FFFFFF;
    box-shadow: var(--shadow-glow-primary);
}

.stat-tile-primary .stat-tile-value { font-size: 1.9rem; }

.stat-tile-cyan {
    grid-column: 3 / 5;
    grid-row: 1;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #22D3EE 100%);
    color: #033240;
}

.stat-tile-dark {
    grid-column: 3;
    grid-row: 2;
    background: var(--dark-bg);
    color: #FFFFFF;
    border: 1px solid rgba(148, 163, 253, 0.25);
}

.stat-tile-success {
    grid-column: 4;
    grid-row: 2;
    background: linear-gradient(135deg, var(--success-color) 0%, #34D399 100%);
    color: #04231a;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.about h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.about > .container > p {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 2rem;
}

.about-card {
    background-color: #FFFFFF;
    padding: 2.25rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.25);
}

.card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.card-icon svg {
    width: 26px;
    height: 26px;
}

.icon-indigo {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.14) 0%, rgba(99, 102, 241, 0.06) 100%);
    color: var(--primary-color);
}

.icon-cyan {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.16) 0%, rgba(6, 182, 212, 0.06) 100%);
    color: var(--secondary-color-dark);
}

.about-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.about-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* USP Section — reuses the .card-icon / icon-indigo / icon-cyan tokens
   established in the About section so icon styling stays consistent. */
.usp {
    padding: 5rem 0 6rem;
    background-color: var(--light-bg);
}

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

.usp-card {
    background-color: #FFFFFF;
    padding: 2.25rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.usp-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.25);
}

.usp-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.usp-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Courses Section */
.courses {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.courses h2 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.courses-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.course-card {
    background-color: var(--light-bg);
    padding: 2rem 1.85rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.25);
}

.course-number {
    display: inline-flex;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.course-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}

.course-tagline {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.course-description {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.course-meta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.course-bonus {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.55;
    padding-top: 0.75rem;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.course-bonus strong {
    color: var(--text-dark);
}

/* Roadmap Section */
.roadmap {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.roadmap h2 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.roadmap-intro {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto 2rem;
}

.roadmap-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.roadmap-tags li {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.45rem 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.testimonials h2 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.testimonial-card {
    background-color: #FFFFFF;
    padding: 2rem 1.85rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.25);
}

.testimonial-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin-bottom: 1.25rem;
}

.testimonial-card blockquote {
    margin: 0 0 1.25rem;
}

.testimonial-card blockquote p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.65;
}

.testimonial-author {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-top: auto;
}

.testimonial-role {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Mission Section — pull-quote break between Features and Pricing */
.mission {
    padding: 5.5rem 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.1) 0%, transparent 60%),
        var(--light-bg);
    text-align: center;
}

.mission-quote-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 1.5rem;
    color: rgba(79, 70, 229, 0.35);
}

.mission-quote {
    max-width: 780px;
    margin: 0 auto;
}

.mission-quote p {
    font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.45;
    color: var(--text-dark);
}

/* Features Section — deep, consequently dark section for visual depth */
.features {
    padding: 6rem 0;
    background:
        radial-gradient(circle at 15% 0%, rgba(79, 70, 229, 0.32) 0%, transparent 45%),
        radial-gradient(circle at 85% 100%, rgba(6, 182, 212, 0.22) 0%, transparent 50%),
        linear-gradient(180deg, var(--surface-deep) 0%, var(--surface-deep-elevated) 100%);
}

.features h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 3rem;
    color: #FFFFFF;
}

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

.feature-item {
    background-color: rgba(255, 255, 255, 0.04);
    padding: 2rem 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color-deep);
    text-align: left;
    box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.7);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.feature-item:hover {
    border-color: rgba(103, 232, 249, 0.4);
    box-shadow: 0 24px 48px -20px rgba(6, 182, 212, 0.35);
    background-color: rgba(255, 255, 255, 0.065);
    transform: translateY(-4px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.features .icon-indigo {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.35) 0%, rgba(99, 102, 241, 0.12) 100%);
    color: #A5B4FC;
}

.features .icon-cyan {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.35) 0%, rgba(34, 211, 238, 0.12) 100%);
    color: #67E8F9;
}

.feature-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.6rem;
    color: #FFFFFF;
}

.feature-item p {
    color: var(--text-on-deep);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.pricing h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.pricing-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.pricing-card-container {
    display: flex;
    justify-content: center;
}

.pricing-card {
    background: linear-gradient(160deg, #FFFFFF 0%, #F0F9FF 100%);
    border: 1px solid rgba(79, 70, 229, 0.2);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    max-width: 420px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 4px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.pricing-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.features-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-color);
}

.features-list li:last-child {
    border-bottom: none;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    color: var(--success-color);
    font-size: 0.75rem;
    font-weight: 800;
}

.pricing-card .btn {
    width: 100%;
    margin-top: 2rem;
}

.pricing-card .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366F1 100%);
}

.pricing-card .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-color-dark) 0%, var(--primary-color) 100%);
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.faq h2 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-question-heading {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

.faq-item {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item-open {
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: left;
    cursor: pointer;
}

.faq-question:focus,
.faq-question:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary-color);
    transition: transform 0.25s ease;
}

.faq-item-open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Waitlist Section */
.waitlist {
    padding: 6rem 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.25) 0%, transparent 45%),
        linear-gradient(135deg, #3730A3 0%, #0E7490 100%);
    color: #FFFFFF;
}

.waitlist h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 1rem;
}

.waitlist > .container > p {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.waitlist-form {
    max-width: 480px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.97);
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.35);
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-dark);
}

.required-asterisk {
    color: var(--danger-color);
    font-weight: 700;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    background-color: #FFFFFF;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder {
    color: #94A3B8;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.form-group input.input-invalid {
    border-color: var(--danger-color);
}

/*
 * Native :invalid state should only be styled as an error after the user
 * has actually attempted to submit the form. Without the .form-attempted
 * scope, required-but-empty fields (like Name/E-Mail) would match :invalid
 * immediately on page load, showing a red border before any interaction.
 */
.waitlist-form.form-attempted .form-group input:invalid {
    border-color: #DC2626;
}

.input-hint {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

.form-checkbox-group {
    margin-bottom: 1.4rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.35rem 0;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 1.15rem;
    height: 1.15rem;
    min-width: 1.15rem;
    margin-top: 0.15rem;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.waitlist-form .btn-primary {
    width: 100%;
    margin-top: 0.5rem;
}

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    margin-top: 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--success-color);
    min-height: 2.5rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background-color: rgba(16, 185, 129, 0.1);
}

.form-note.error {
    color: var(--danger-color);
    background-color: rgba(220, 38, 38, 0.1);
}

.form-note.warning {
    color: var(--warning-color);
    background-color: rgba(245, 158, 11, 0.1);
}

.form-note.hidden {
    display: none;
}

.form-privacy-hint {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.5;
}

.form-privacy-hint a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Legal Section */
.legal {
    padding: 4.5rem 0;
    background-color: var(--light-bg);
    border-top: 1px solid var(--border-color);
}

.legal-block {
    max-width: 720px;
    margin: 0 auto 3rem;
}

.legal-block:last-child {
    margin-bottom: 0;
}

/* Standalone legal pages (datenschutz.html, impressum.html) */
.legal-page {
    min-height: calc(100vh - 260px);
}

.legal-block h1 {
    /* clamp() instead of a fixed size so long single-word titles like
       "Datenschutzerklärung" don't overflow narrow 375px/390px viewports. */
    font-size: clamp(1.65rem, 1.3rem + 1.5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    overflow-wrap: break-word;
}

.legal-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-block h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    color: var(--text-dark);
    scroll-margin-top: 5rem;
}

.legal-section-heading {
    margin-top: 2rem;
}

.legal-list {
    margin: 0 0 0.85rem 1.25rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.legal-list li {
    margin-bottom: 0.4rem;
}

.legal-block p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.85rem;
}

.legal-block p:last-child {
    margin-bottom: 0;
}

.legal-block strong {
    color: var(--text-dark);
}

.legal-block code {
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary-color);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85em;
}

.legal-block a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: #FFFFFF;
    padding: 2.25rem 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer p {
    margin: 0;
    opacity: 0.85;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.85;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 4.5rem 0 3.5rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-stats-grid {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content p {
        max-width: none;
    }

    .hero-card {
        transform: none;
        max-width: 100%;
    }

    .nav-links {
        gap: 0.75rem;
    }

    .about h2,
    .features h2,
    .pricing h2,
    .waitlist h2 {
        font-size: 2rem;
    }

    .about,
    .features,
    .pricing,
    .waitlist,
    .legal {
        padding: 4rem 0;
    }

    .footer .container {
        flex-direction: column;
    }

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

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

@media (max-width: 480px) {
    .navbar .container {
        padding: 1rem 14px;
    }

    .nav-links {
        gap: 0.2rem;
        font-size: 0.72rem;
    }

    .nav-links a {
        padding: 0.5rem 0.3rem;
    }

    .nav-links .cta-link {
        padding: 0.5rem 0.6rem !important;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo-img {
        height: 26px;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
        max-width: 320px;
        gap: 0.65rem;
    }

    .stat-tile-primary {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .stat-tile-cyan {
        grid-column: 1 / 3;
        grid-row: 2;
    }

    .stat-tile-dark {
        grid-column: 1;
        grid-row: 3;
    }

    .stat-tile-success {
        grid-column: 2;
        grid-row: 3;
    }

    .pricing-card {
        padding: 2rem 1.25rem;
    }

    .waitlist-form {
        padding: 1.5rem;
    }

    .form-group label {
        font-size: 1rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.875rem;
        font-size: 1rem;
    }
}
