/* ============================================
   Sportwald.de — Dark Theme with Glass Morphism
   Design derived from Ionic App
   ============================================ */

/* --- Local Fonts (DSGVO-konform) --- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/inter-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/inter-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/inter-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/inter-700.woff2') format('woff2');
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/jetbrains-mono-500.woff2') format('woff2');
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/jetbrains-mono-700.woff2') format('woff2');
}

/* --- Design Tokens --- */
:root {
    --sw-bg-header:     #0b1e33;
    --sw-bg-body:       #111111;
    --sw-bg-element:    #292a2b;
    --sw-bg-glass:      rgba(17, 20, 18, 0.55);
    --sw-border-subtle: rgba(255, 255, 255, 0.08);
    --sw-green:         #10dc60;
    --sw-brand:         #009650;
    --sw-cyan:          #0cd1e8;
    --sw-text-primary:  #ffffff;
    --sw-text-secondary:rgba(255, 255, 255, 0.78);
    --sw-text-muted:    rgba(255, 255, 255, 0.45);
    --sw-shadow-card:   0 8px 24px rgba(0,0,0,0.35);
    --sw-radius-card:   16px;
    --sw-radius-btn:    12px;
    --sw-font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --sw-font-mono:     'JetBrains Mono', 'SF Mono', monospace;
    --sw-max-width:     1200px;
    --sw-header-height: 72px;
    --sw-transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--sw-font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--sw-text-primary);
    background-color: var(--sw-bg-body);
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(0, 150, 80, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(12, 209, 232, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(16, 220, 96, 0.04) 0%, transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--sw-green);
    text-decoration: none;
    transition: color var(--sw-transition);
}

a:hover {
    color: var(--sw-cyan);
}

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); margin-bottom: 0.5rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

.text-secondary { color: var(--sw-text-secondary); }
.text-muted { color: var(--sw-text-muted); }
.text-green { color: var(--sw-green); }
.text-cyan { color: var(--sw-cyan); }
.text-brand { color: var(--sw-brand); }
.text-center { text-align: center; }
.text-mono { font-family: var(--sw-font-mono); }

.gradient-text {
    background: linear-gradient(135deg, var(--sw-green), var(--sw-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--sw-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    color: var(--sw-text-secondary);
    max-width: 640px;
    margin: 0.5rem auto 0;
    font-size: 1.1rem;
}

.label-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sw-green);
    background: rgba(16, 220, 96, 0.1);
    border: 1px solid rgba(16, 220, 96, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

/* --- Grid --- */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .section { padding: 3rem 0; }
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--sw-header-height);
    background: rgba(11, 30, 51, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--sw-border-subtle);
    transition: background var(--sw-transition);
}

.site-header.scrolled {
    background: rgba(11, 30, 51, 0.95);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sw-text-primary);
    letter-spacing: -0.01em;
}

.nav-list {
    display: flex;
    gap: 0.25rem;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--sw-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--sw-radius-btn);
    transition: all var(--sw-transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--sw-text-primary);
    background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
    color: var(--sw-green);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--sw-text-primary);
    transition: all var(--sw-transition);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--sw-bg-header);
        padding: calc(var(--sw-header-height) + 2rem) 2rem 2rem;
        transition: right var(--sw-transition);
        border-left: 1px solid var(--sw-border-subtle);
    }

    .main-nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
    }
}

/* --- Glass Card --- */
.glass-card {
    background: var(--sw-bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--sw-border-subtle);
    border-radius: var(--sw-radius-card);
    box-shadow: var(--sw-shadow-card);
    padding: 2rem;
    transition: transform var(--sw-transition), box-shadow var(--sw-transition);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}

.card {
    background: var(--sw-bg-element);
    border: 1px solid var(--sw-border-subtle);
    border-radius: var(--sw-radius-card);
    box-shadow: var(--sw-shadow-card);
    padding: 2rem;
    transition: transform var(--sw-transition);
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--sw-font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--sw-radius-btn);
    cursor: pointer;
    transition: all var(--sw-transition);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--sw-brand), var(--sw-green));
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 150, 80, 0.3);
}

.btn-primary:hover {
    color: #fff;
    box-shadow: 0 6px 24px rgba(0, 150, 80, 0.45);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--sw-green);
    border: 1px solid rgba(16, 220, 96, 0.3);
}

.btn-outline:hover {
    background: rgba(16, 220, 96, 0.1);
    color: var(--sw-green);
    border-color: var(--sw-green);
}

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

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--sw-header-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(11, 30, 51, 0.7) 0%,
        rgba(17, 17, 17, 0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--sw-text-secondary);
    margin-bottom: 2rem;
    max-width: 560px;
}

.hero-page {
    padding: calc(var(--sw-header-height) + 4rem) 0 3rem;
    text-align: center;
    background: linear-gradient(180deg, var(--sw-bg-header) 0%, var(--sw-bg-body) 100%);
}

/* --- Stats Bar --- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--sw-font-mono);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--sw-green);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--sw-text-secondary);
    font-size: 0.9rem;
}

/* --- Services Grid --- */
.service-card {
    text-align: center;
    padding: 2.5rem 2rem;
}

.service-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 220, 96, 0.1);
    border-radius: 16px;
    font-size: 1.5rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--sw-text-secondary);
    font-size: 0.95rem;
}

/* --- Pricing Cards --- */
.pricing-card {
    position: relative;
    text-align: center;
    padding: 2.5rem 2rem;
}

.pricing-card.featured {
    border-color: var(--sw-green);
    box-shadow: 0 0 40px rgba(16, 220, 96, 0.15), var(--sw-shadow-card);
}

.pricing-card.featured::before {
    content: 'Beliebt';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--sw-brand), var(--sw-green));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 1rem;
    border-radius: 999px;
}

.pricing-card h3 {
    margin-bottom: 1rem;
}

.price {
    font-family: var(--sw-font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sw-green);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.price-suffix {
    font-size: 1rem;
    color: var(--sw-text-secondary);
    font-family: var(--sw-font-body);
}

.price-period {
    color: var(--sw-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--sw-text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--sw-border-subtle);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--sw-green);
    font-weight: 700;
    flex-shrink: 0;
}

/* --- Timeline --- */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--sw-green), var(--sw-cyan));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

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

.timeline-content {
    width: calc(50% - 2rem);
    padding: 1.5rem;
}

.timeline-year {
    font-family: var(--sw-font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sw-green);
    margin-bottom: 0.5rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--sw-green);
    border-radius: 50%;
    border: 3px solid var(--sw-bg-body);
    z-index: 1;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 1rem;
    }
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        text-align: left;
    }
    .timeline-content {
        width: calc(100% - 3rem);
        margin-left: 2rem;
    }
    .timeline-dot {
        left: 1rem;
    }
}

/* --- Blog Cards --- */
.blog-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
    border-radius: var(--sw-radius-card) var(--sw-radius-card) 0 0;
    margin: -2rem -2rem 1.5rem;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--sw-transition);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--sw-text-muted);
}

.blog-card-category {
    color: var(--sw-cyan);
    font-weight: 600;
}

.blog-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.blog-card h3 a {
    color: var(--sw-text-primary);
}

.blog-card h3 a:hover {
    color: var(--sw-green);
}

.blog-card p {
    color: var(--sw-text-secondary);
    font-size: 0.9rem;
    flex: 1;
}

.blog-card .read-more {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* --- Blog Post --- */
.blog-article {
    max-width: 780px;
    margin: 0 auto;
}

.blog-article-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--sw-border-subtle);
}

.blog-article-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--sw-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-article-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.blog-article-body h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-article-body p {
    color: var(--sw-text-secondary);
    margin-bottom: 1.25rem;
}

.blog-article-body ul,
.blog-article-body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.blog-article-body ul { list-style: disc; }
.blog-article-body ol { list-style: decimal; }

.blog-article-body li {
    color: var(--sw-text-secondary);
    margin-bottom: 0.5rem;
}

.blog-article-body blockquote {
    border-left: 3px solid var(--sw-green);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(16, 220, 96, 0.05);
    border-radius: 0 var(--sw-radius-card) var(--sw-radius-card) 0;
}

.blog-article-body blockquote p {
    color: var(--sw-text-secondary);
    font-style: italic;
}

.blog-article-body pre {
    background: var(--sw-bg-element);
    border: 1px solid var(--sw-border-subtle);
    border-radius: var(--sw-radius-btn);
    padding: 1.25rem;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.blog-article-body code {
    font-family: var(--sw-font-mono);
    font-size: 0.9em;
}

.blog-article-body img {
    border-radius: var(--sw-radius-card);
    margin: 1.5rem 0;
}

.blog-article-body hr {
    border: none;
    border-top: 1px solid var(--sw-border-subtle);
    margin: 2rem 0;
}

.blog-article-body a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--sw-border-subtle);
    gap: 1rem;
}

.blog-nav a {
    color: var(--sw-text-secondary);
    font-size: 0.9rem;
    transition: color var(--sw-transition);
}

.blog-nav a:hover {
    color: var(--sw-green);
}

/* --- Process Steps --- */
.steps {
    counter-reset: step;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.step::before {
    counter-increment: step;
    content: counter(step);
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 220, 96, 0.1);
    border: 1px solid rgba(16, 220, 96, 0.2);
    border-radius: 50%;
    font-family: var(--sw-font-mono);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--sw-green);
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--sw-text-secondary);
    font-size: 0.95rem;
}

/* --- Features List --- */
.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--sw-border-subtle);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 220, 96, 0.1);
    border-radius: 12px;
    font-size: 1.25rem;
}

.feature-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.feature-text p {
    color: var(--sw-text-secondary);
    font-size: 0.9rem;
}

/* --- Two-Column Layout --- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.two-col.reverse {
    direction: rtl;
}

.two-col.reverse > * {
    direction: ltr;
}

@media (max-width: 768px) {
    .two-col, .two-col.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }
}

/* --- Contact Form --- */
.contact-form {
    max-width: 640px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--sw-text-secondary);
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--sw-font-body);
    font-size: 1rem;
    color: var(--sw-text-primary);
    background: var(--sw-bg-element);
    border: 1px solid var(--sw-border-subtle);
    border-radius: var(--sw-radius-btn);
    transition: border-color var(--sw-transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--sw-green);
    box-shadow: 0 0 0 3px rgba(16, 220, 96, 0.1);
}

textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.form-message {
    padding: 1rem;
    border-radius: var(--sw-radius-btn);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.form-message.success {
    background: rgba(16, 220, 96, 0.1);
    border: 1px solid rgba(16, 220, 96, 0.3);
    color: var(--sw-green);
}

.form-message.error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

/* --- Founder/About Section --- */
.founder-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
}

.founder-image {
    border-radius: var(--sw-radius-card);
    overflow: hidden;
    aspect-ratio: 1;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .founder-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .founder-image {
        max-width: 240px;
        margin: 0 auto;
    }
}

/* --- App Screenshots --- */
.app-mockup {
    max-width: 300px;
    margin: 0 auto;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--sw-shadow-card);
    border: 1px solid var(--sw-border-subtle);
}

/* --- Integrations --- */
.integrations {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.integration-logo {
    height: 40px;
    opacity: 0.6;
    filter: grayscale(1) brightness(2);
    transition: all var(--sw-transition);
}

.integration-logo:hover {
    opacity: 1;
    filter: none;
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(0, 150, 80, 0.1) 0%, rgba(12, 209, 232, 0.05) 100%);
    border-top: 1px solid var(--sw-border-subtle);
    border-bottom: 1px solid var(--sw-border-subtle);
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--sw-text-secondary);
    max-width: 560px;
    margin: 0 auto 2rem;
}

/* --- Footer --- */
.site-footer {
    background: var(--sw-bg-header);
    border-top: 1px solid var(--sw-border-subtle);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
    border-radius: 10px;
}

.site-footer h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sw-text-primary);
    margin-bottom: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--sw-text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--sw-green);
}

.footer-address p {
    color: var(--sw-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.footer-address a {
    color: var(--sw-text-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--sw-text-secondary);
    transition: all var(--sw-transition);
}

.social-links a:hover {
    background: rgba(16, 220, 96, 0.1);
    color: var(--sw-green);
}

.social-links svg {
    width: 18px;
    height: 18px;
}

.app-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.app-badge img {
    height: 36px;
    width: auto;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--sw-border-subtle);
    font-size: 0.85rem;
    color: var(--sw-text-muted);
}

.footer-bottom a {
    color: var(--sw-text-muted);
}

.footer-bottom a:hover {
    color: var(--sw-green);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

/* --- Scroll Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Category Filter --- */
.category-filter {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.category-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--sw-border-subtle);
    border-radius: 999px;
    background: transparent;
    color: var(--sw-text-secondary);
    cursor: pointer;
    transition: all var(--sw-transition);
    font-family: var(--sw-font-body);
}

.category-btn:hover,
.category-btn.active {
    background: rgba(16, 220, 96, 0.1);
    border-color: var(--sw-green);
    color: var(--sw-green);
}

/* --- Legal Pages --- */
.legal-content h2 {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--sw-border-subtle);
}

.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    margin-top: 1.5rem;
}

.legal-content p,
.legal-content li {
    color: var(--sw-text-secondary);
    margin-bottom: 0.75rem;
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
}

/* --- Utilities --- */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* --- Blog Hero Image --- */
.blog-hero-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--sw-radius-card);
    margin-bottom: 2rem;
}

/* --- Comparison Table --- */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--sw-border-subtle);
    font-size: 0.9rem;
}

.comparison-table th {
    color: var(--sw-text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table td {
    color: var(--sw-text-secondary);
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

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

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 220, 96, 0.1);
    border-radius: 8px;
    color: var(--sw-green);
    font-weight: 700;
    font-size: 0.9rem;
}

.benefit-text {
    color: var(--sw-text-secondary);
    font-size: 0.95rem;
}

/* --- Page-specific adjustments --- */
main {
    padding-top: var(--sw-header-height);
}

.hero + .section {
    /* Remove double padding when hero is followed by section */
}

/* --- Trainings-Check Quiz --- */
.quiz-container {
    max-width: 720px;
    margin: 0 auto;
}

.quiz-container:hover {
    transform: none;
}

.quiz-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--sw-brand), var(--sw-green));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.quiz-step-label {
    font-size: 0.8rem;
    color: var(--sw-text-muted);
    margin-bottom: 2rem;
    text-align: center;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: quizFadeIn 0.3s ease;
}

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

.quiz-step h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
}

.quiz-options {
    display: grid;
    gap: 0.75rem;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--sw-bg-element);
    border: 1px solid var(--sw-border-subtle);
    border-radius: var(--sw-radius-btn);
    color: var(--sw-text-primary);
    cursor: pointer;
    transition: all var(--sw-transition);
    font-family: var(--sw-font-body);
    text-align: left;
    font-size: 1rem;
}

.quiz-option:hover {
    border-color: var(--sw-green);
    background: rgba(16, 220, 96, 0.05);
}

.quiz-option.selected {
    border-color: var(--sw-green);
    background: rgba(16, 220, 96, 0.1);
    box-shadow: 0 0 0 2px rgba(16, 220, 96, 0.2);
}

.quiz-option-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.quiz-option-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.quiz-option-text strong {
    font-size: 0.95rem;
    font-weight: 600;
}

.quiz-option-text small {
    font-size: 0.8rem;
    color: var(--sw-text-muted);
}

/* Quiz Result */
.quiz-result {
    text-align: center;
    padding: 1rem 0;
}

.quiz-score-display {
    max-width: 240px;
    margin: 0 auto 1.5rem;
}

.quiz-score-meter {
    width: 100%;
    height: auto;
}

.quiz-result-label {
    font-family: var(--sw-font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--sw-green);
    margin-bottom: 0.75rem;
}

.quiz-result-text {
    color: var(--sw-text-secondary);
    max-width: 480px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
}

/* Quiz Contact Form */
.quiz-step .form-group {
    max-width: 480px;
    margin: 0 auto 1.25rem;
}

/* --- Credibility Section --- */
.credibility-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.credibility-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.credibility-stat {
    text-align: center;
}

.credibility-stat .stat-number {
    font-size: 1.75rem;
}

.credibility-stat .stat-label {
    font-size: 0.85rem;
}
