/* =================================================================
   LegalTrust Navigator - Main Stylesheet
   Based on Mittelstand-Digital Toolbox Brand Guidelines
   ================================================================= */

/* -----------------------------------------------------------------
   CSS Variables (Toolbox-konform)
   ----------------------------------------------------------------- */
:root {
    /* Primary Colors */
    --dark-angora-blue: #0d3d66;
    --dark-angora-blue-hover: #092c4a;
    --imperial-red: #f20505;
    --imperial-red-hover: #d10404;

    /* Neutral Colors */
    --text-primary: #1a1d23;
    --text-secondary: #5a6070;
    --text-muted: #718096;
    --background-light: #fafaf9;
    --background-white: #ffffff;
    --border-color: #e8e8e6;
    --border-light: #e2e8f0;

    /* Footer Colors */
    --footer-bg: #1a202c;
    --footer-text: rgba(255, 255, 255, 0.7);
    --footer-text-muted: rgba(255, 255, 255, 0.65);

    /* Typography */
    --font-heading: 'DM Serif Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Spacing */
    --container-max: 1140px;
    --container-padding: 24px;
    --section-padding: 80px;
    --section-padding-sm: 48px;

    /* Accent & Utility Colors */
    --accent-icon-bg: #e6f0fa;
    --color-placeholder: #a0aec0;

    /* Gradients */
    --gradient-blue: linear-gradient(135deg, #1e3a8a, #3b82f6);
    --gradient-navy: linear-gradient(135deg, #0f172a, #1e40af);
    --gradient-purple: linear-gradient(135deg, #7c3aed, #a855f7);
    --gradient-green: linear-gradient(135deg, #059669, #10b981);
    --gradient-red: linear-gradient(135deg, #dc2626, #ef4444);
    --gradient-orange: linear-gradient(135deg, #ea580c, #f97316);

    /* Shadows & Elevation */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 10px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 50px -5px rgba(0, 0, 0, 0.1), 0 8px 20px -6px rgba(0, 0, 0, 0.05);
    --shadow-btn: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-btn-hover: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-cta-glow: 0 4px 14px rgba(242, 5, 5, 0.35), 0 2px 6px rgba(242, 5, 5, 0.2);
    --shadow-cta-glow-hover: 0 8px 25px rgba(242, 5, 5, 0.4), 0 4px 10px rgba(242, 5, 5, 0.25);
    --shadow-primary-glow: 0 4px 14px rgba(13, 61, 102, 0.25), 0 2px 6px rgba(13, 61, 102, 0.15);
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background-light);
}

a {
    color: var(--dark-angora-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--dark-angora-blue-hover);
}

/* Focus-visible for all interactive elements */
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--dark-angora-blue);
    outline-offset: 3px;
}

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

/* -----------------------------------------------------------------
   Scroll Animations
   ----------------------------------------------------------------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.js-enabled .animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.animate-on-scroll.stagger-1 { transition-delay: 0.1s; }
.animate-on-scroll.stagger-2 { transition-delay: 0.2s; }
.animate-on-scroll.stagger-3 { transition-delay: 0.3s; }
.animate-on-scroll.stagger-4 { transition-delay: 0.4s; }
.animate-on-scroll.stagger-5 { transition-delay: 0.5s; }
.animate-on-scroll.stagger-6 { transition-delay: 0.6s; }

.hero-content {
    animation: fadeInUp 0.8s ease-out both;
}

.hero-visual {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Hero App Card Floating Animation */
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.hero-app-card:nth-child(1) { animation: floatCard 4s ease-in-out infinite; }
.hero-app-card:nth-child(2) { animation: floatCard 4s ease-in-out 0.8s infinite; }
.hero-app-card:nth-child(3) { animation: floatCard 4s ease-in-out 1.6s infinite; }

/* -----------------------------------------------------------------
   Gradient Utility Classes
   ----------------------------------------------------------------- */
.gradient-blue   { background: var(--gradient-blue); }
.gradient-navy   { background: var(--gradient-navy); }
.gradient-purple { background: var(--gradient-purple); }
.gradient-green  { background: var(--gradient-green); }
.gradient-red    { background: var(--gradient-red); }
.gradient-orange { background: var(--gradient-orange); }

/* -----------------------------------------------------------------
   Skip Link (Accessibility)
   ----------------------------------------------------------------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-angora-blue);
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
    color: #fff;
}

/* -----------------------------------------------------------------
   Container
   ----------------------------------------------------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* -----------------------------------------------------------------
   Typography
   ----------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(28px, 2.5vw + 16px, 44px);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(24px, 2vw + 12px, 32px);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(20px, 1.5vw + 8px, 28px);
}

h4 {
    font-size: 18px;
    font-family: var(--font-body);
    font-weight: 600;
}

p {
    font-size: 15px;
    line-height: 1.7;
}

/* -----------------------------------------------------------------
   Buttons
   ----------------------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--transition-bounce);
    text-align: center;
    box-shadow: var(--shadow-btn);
}

.btn-primary {
    background: var(--dark-angora-blue);
    color: #fff;
}

.btn-primary:hover {
    background: var(--dark-angora-blue-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary-glow);
}

.btn-outline {
    background: transparent;
    color: var(--dark-angora-blue);
    border: 1px solid var(--dark-angora-blue);
}

.btn-outline:hover {
    background: var(--dark-angora-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn-hover);
}

.btn-cta {
    padding: 14px 28px;
    font-size: 15px;
}

.btn-cta-primary {
    background: var(--imperial-red);
    color: #fff;
    box-shadow: var(--shadow-cta-glow);
}

.btn-cta-primary:hover {
    background: var(--imperial-red-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-cta-glow-hover);
}

.btn:focus-visible {
    box-shadow: 0 0 0 4px rgba(13, 61, 102, 0.15);
}

.btn:disabled,
.btn.is-loading {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn.is-loading {
    position: relative;
    color: transparent;
}

.btn.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

.btn:active {
    transform: scale(0.98) translateY(0);
    box-shadow: var(--shadow-xs);
}

/* -----------------------------------------------------------------
   Header
   ----------------------------------------------------------------- */
header {
    padding: 16px 0;
    background: var(--background-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: transparent;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-group a,
a.logo-group {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.header-logo {
    height: 72px;
    width: auto;
}

/* Desktop Navigation */
nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

nav a {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

nav a:not(.btn) {
    position: relative;
    padding-bottom: 4px;
}

nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dark-angora-blue);
    border-radius: 1px;
    transition: width 0.3s ease;
}

nav a:not(.btn):hover::after,
nav a:not(.btn).active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: var(--dark-angora-blue);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background-white);
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--dark-angora-blue);
}

.mobile-nav .btn {
    display: block;
    margin-top: 16px;
    text-align: center;
}

/* -----------------------------------------------------------------
   Hero Section
   ----------------------------------------------------------------- */
.hero {
    padding: var(--section-padding) 0 calc(var(--section-padding) + 20px);
    background: var(--background-white);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--imperial-red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--dark-angora-blue);
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-visual {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-placeholder);
    font-size: 14px;
}

/* -----------------------------------------------------------------
   Trust Section
   ----------------------------------------------------------------- */
.trust-section {
    padding: 48px 0;
    background: var(--background-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-text {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 320px;
}

.trust-text strong {
    color: var(--text-primary);
}

.trust-logos {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.trust-logo {
    height: 64px;
    padding: 12px 24px;
    background: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xs);
    transition: all 0.3s var(--transition-bounce);
}

.trust-logo--large {
    height: 80px;
    padding: 14px 28px;
}

.trust-logo:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.trust-logo img {
    height: 40px;
    width: auto;
}

.trust-logo--large img {
    height: 52px;
}

.trust-logo-badge {
    height: 64px;
    padding: 12px 20px;
    background: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-angora-blue);
    box-shadow: var(--shadow-xs);
    transition: all 0.3s var(--transition-bounce);
}

.trust-logo-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* -----------------------------------------------------------------
   Section Labels & Titles
   ----------------------------------------------------------------- */
.section-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--imperial-red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 2vw + 12px, 32px);
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.section-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* -----------------------------------------------------------------
   Problem Section
   ----------------------------------------------------------------- */
.problem-section {
    padding: var(--section-padding) 0;
    background: var(--background-white);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    padding: 24px;
    background: var(--background-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--transition-bounce);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--dark-angora-blue);
}

.stat-card-number {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--dark-angora-blue);
    margin-bottom: 8px;
}

.stat-card-label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* -----------------------------------------------------------------
   Features Section
   ----------------------------------------------------------------- */
.features-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #f8f8f7, #f3f3f1);
}

.features-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--transition-bounce);
}

.feature-card:hover {
    border-color: var(--dark-angora-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(180deg, #fff, #fafcff);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-icon-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--dark-angora-blue);
    stroke-width: 2;
    fill: none;
}

.feature-card h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* -----------------------------------------------------------------
   Process Section (How It Works)
   ----------------------------------------------------------------- */
.process-section {
    padding: var(--section-padding) 0;
    background: var(--background-white);
}

.process-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 64px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--dark-angora-blue), rgba(13, 61, 102, 0.2));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-number {
    width: 64px;
    height: 64px;
    background: var(--dark-angora-blue);
    border: 2px solid var(--dark-angora-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 20px;
    color: #fff;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s var(--transition-bounce);
}

.process-number:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.process-step h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* -----------------------------------------------------------------
   Funding Section
   ----------------------------------------------------------------- */
.funding-section {
    padding: var(--section-padding) 0;
    background: var(--dark-angora-blue);
    color: #fff;
}

.funding-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.funding-text h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 16px;
    color: #fff;
}

.funding-text p {
    font-size: 15px;
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 24px;
}

.funding-link {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s ease;
}

.funding-link:hover {
    opacity: 0.8;
    color: #fff;
}

.funding-logos {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.funding-logo {
    padding: 12px 20px;
    background: #fff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.funding-logo img {
    height: 64px;
    width: auto;
}

.funding-logo--large img {
    height: 80px;
}

.funding-content--partner {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.funding-logo-badge {
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* -----------------------------------------------------------------
   CTA Section
   ----------------------------------------------------------------- */
.cta-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #0d3d66, #1a5a8e, #0d3d66);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -25%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-section .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-section .btn-outline:hover {
    background: #fff;
    color: var(--dark-angora-blue);
    border-color: #fff;
}

/* -----------------------------------------------------------------
   Footer
   ----------------------------------------------------------------- */
footer {
    padding: 64px 0 32px;
    background: var(--footer-bg);
    color: #fff;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    height: 64px;
    width: auto;
}

.footer-brand-text {
    font-family: var(--font-heading);
    font-size: 18px;
    color: #fff;
}

.footer-brand p {
    font-size: 14px;
    color: var(--footer-text);
    line-height: 1.7;
    max-width: 300px;
}

.footer-column h4 {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: var(--footer-text-muted);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    font-size: 14px;
    color: var(--footer-text);
}

.footer-column a:hover {
    color: #fff;
}

.footer-logos {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logos img,
.footer-logos a img {
    box-sizing: content-box;
    height: 64px;
    width: auto;
    background: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-logos a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-logos img:hover,
.footer-logos a:hover img {
    transform: scale(1.03);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.footer-funding {
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-funding p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 900px;
}

.footer-funding a {
    color: var(--footer-text);
}

.footer-funding a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--footer-text-muted);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom a {
    color: var(--footer-text-muted);
    margin-left: 24px;
}

.footer-bottom a:hover {
    color: #fff;
}

.footer-column a:focus-visible,
.footer-bottom a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

/* -----------------------------------------------------------------
   Page Header (About Page)
   ----------------------------------------------------------------- */
.page-header {
    padding: 48px 0 64px;
    background: var(--background-white);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin: 0 6px;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--dark-angora-blue);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 40px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
}

/* -----------------------------------------------------------------
   Mission Section (About Page)
   ----------------------------------------------------------------- */
.mission-section {
    padding: 80px 0;
    background: var(--background-light);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.mission-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.mission-visual {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.vision-quote {
    font-family: var(--font-heading);
    font-size: 18px;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.7;
    border-left: 3px solid var(--dark-angora-blue);
    padding-left: 24px;
    margin-bottom: 16px;
}

.vision-source {
    font-size: 14px;
    color: var(--text-muted);
    padding-left: 27px;
}

/* -----------------------------------------------------------------
   Values Section (About Page)
   ----------------------------------------------------------------- */
.values-section {
    padding: 80px 0;
    background: var(--background-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.value-card {
    padding: 32px;
    background: var(--background-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--transition-bounce);
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--dark-angora-blue);
}

.value-number {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--border-color);
    margin-bottom: 16px;
}

.value-card h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* -----------------------------------------------------------------
   Team Section (About Page)
   ----------------------------------------------------------------- */
.team-section {
    padding: 80px 0;
    background: var(--background-light);
}

.team-intro {
    max-width: 640px;
    margin-bottom: 48px;
}

.team-intro p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.team-card {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--transition-bounce);
}

.team-card:hover {
    border-color: var(--dark-angora-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--dark-angora-blue), #1e5a9a);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
}

.team-card h4 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.team-card span {
    font-size: 13px;
    color: var(--text-muted);
}

.team-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-top: 10px;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: color 0.2s ease, background 0.2s ease;
}

.team-linkedin:hover {
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.08);
}

/* -----------------------------------------------------------------
   Timeline Section (About Page)
   ----------------------------------------------------------------- */
.timeline-section {
    padding: 80px 0;
    background: var(--background-white);
}

.timeline-header {
    max-width: 560px;
    margin-bottom: 48px;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 6px;
    width: 18px;
    height: 18px;
    background: var(--background-white);
    border: 3px solid var(--dark-angora-blue);
    border-radius: 50%;
}

.timeline-item.current::before {
    background: var(--imperial-red);
    border-color: var(--imperial-red);
    box-shadow: 0 0 0 4px rgba(242, 5, 5, 0.2);
}

.timeline-date {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-angora-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.timeline-item.current .timeline-date {
    color: var(--imperial-red);
}

.timeline-item h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 480px;
}

/* -----------------------------------------------------------------
   Partners Section (About Page)
   ----------------------------------------------------------------- */
.partners-section {
    padding: 80px 0;
    background: var(--background-light);
}

.partners-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.partner-card {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--transition-bounce);
}

.partner-card:hover {
    border-color: var(--dark-angora-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.partner-logo {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.partner-logo img {
    max-height: 60px;
    width: auto;
}

.partner-name {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* -----------------------------------------------------------------
   Contact Section (About Page)
   ----------------------------------------------------------------- */
.contact-section {
    padding: 80px 0;
    background: var(--background-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-icon-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--dark-angora-blue);
    stroke-width: 2;
    fill: none;
}

.contact-details strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.contact-details span {
    font-size: 14px;
    color: var(--text-muted);
}

.contact-form {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: var(--font-body);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--background-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--dark-angora-blue);
    box-shadow: 0 0 0 3px rgba(13, 61, 102, 0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-placeholder);
}

.contact-form .btn {
    width: 100%;
    padding: 14px;
}

/* Privacy Consent Checkbox */
.form-group-checkbox {
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--dark-angora-blue);
    cursor: pointer;
}

.checkbox-label a {
    color: var(--dark-angora-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.checkbox-label a:hover {
    color: var(--dark-angora-blue-hover);
}

/* Form Status Messages */
.form-status {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.form-status-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.form-status-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

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

/* Honeypot field - hidden from users */
.honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

/* -----------------------------------------------------------------
   Hero Visual (App Wireframe)
   ----------------------------------------------------------------- */
.hero-visual-app {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.hero-app-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #e2e8f0;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid var(--border-light);
}

.hero-app-dots {
    display: flex;
    gap: 6px;
}

.hero-app-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.hero-app-dots span:first-child { background: #f87171; }
.hero-app-dots span:nth-child(2) { background: #fbbf24; }
.hero-app-dots span:nth-child(3) { background: #34d399; }

.hero-app-url {
    flex: 1;
    background: #fff;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 11px;
    color: var(--text-muted);
}

.hero-app-body {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #f8fafc;
}

.hero-app-searchbar {
    display: flex;
    gap: 8px;
}

.hero-app-searchbar .search-input-mock {
    flex: 1;
    height: 36px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 11px;
    color: var(--color-placeholder);
}

.hero-app-searchbar .search-btn-mock {
    height: 36px;
    padding: 0 16px;
    background: var(--dark-angora-blue);
    color: #fff;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.hero-app-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    flex: 1;
}

.hero-app-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-app-card-accent {
    height: 6px;
}

.hero-app-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-app-card-title {
    height: 8px;
    background: #cbd5e1;
    border-radius: 4px;
    width: 70%;
}

.hero-app-card-line {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
}

.hero-app-card-line:last-child {
    width: 50%;
}

/* -----------------------------------------------------------------
   Navigator Search Section
   ----------------------------------------------------------------- */
.navigator-section {
    padding: 0 0 64px;
    background: var(--background-light);
    position: relative;
    z-index: 5;
}

.navigator-card {
    max-width: var(--container-max);
    margin: -40px auto 0;
    padding: 40px;
    background: var(--background-white);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.navigator-header {
    text-align: center;
    margin-bottom: 32px;
}

.navigator-header h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.navigator-header p {
    font-size: 15px;
    color: var(--text-secondary);
}

.navigator-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0;
}

.navigator-tab {
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: -2px;
}

.navigator-tab:hover {
    color: var(--dark-angora-blue);
}

.navigator-tab.active {
    color: var(--dark-angora-blue);
    border-bottom-color: var(--dark-angora-blue);
    font-weight: 600;
}

.navigator-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.navigator-form .form-group {
    margin-bottom: 0;
}

.navigator-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.navigator-form input,
.navigator-form select {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: var(--font-body);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--background-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    color: var(--text-primary);
}

.navigator-form input:focus,
.navigator-form select:focus {
    outline: none;
    border-color: var(--dark-angora-blue);
    box-shadow: 0 0 0 3px rgba(13, 61, 102, 0.1);
}

.navigator-form input::placeholder {
    color: var(--color-placeholder);
}

.navigator-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
}

.navigator-notice-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    margin-top: 2px;
}

.navigator-notice strong {
    color: var(--text-secondary);
}

.navigator-submit {
    display: block;
    width: auto;
    margin: 0 auto;
    padding: 14px 40px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    background: var(--dark-angora-blue);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-primary-glow);
    transition: all 0.3s var(--transition-bounce);
}

.navigator-submit:hover:not(:disabled) {
    background: var(--dark-angora-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 61, 102, 0.3), 0 4px 10px rgba(13, 61, 102, 0.2);
}

.navigator-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.navigator-submit .nav-badge {
    margin-left: 8px;
    vertical-align: middle;
}

/* -----------------------------------------------------------------
   Gesetze im Fokus Section
   ----------------------------------------------------------------- */
.gesetze-section {
    padding: var(--section-padding) 0;
    background: var(--background-white);
}

.gesetze-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.gesetze-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gesetz-card {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--transition-bounce);
}

.gesetz-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--dark-angora-blue);
}

.gesetz-card-accent {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    font-family: var(--font-body);
    position: relative;
}

.gesetz-card-body {
    padding: 24px;
}

.gesetz-card-body h3 {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.gesetz-card-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* -----------------------------------------------------------------
   Nav Badge ("Bald verfügbar")
   ----------------------------------------------------------------- */
.nav-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    background: var(--imperial-red);
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    vertical-align: middle;
    margin-left: 4px;
    line-height: 1.3;
    white-space: nowrap;
}

/* -----------------------------------------------------------------
   Legal Content Section (Impressum, Datenschutz)
   ----------------------------------------------------------------- */
.legal-content-section {
    padding: 64px 0 80px;
    background: var(--background-light);
}

.legal-content {
    max-width: 800px;
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

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

.legal-content h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-content h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-content ul {
    margin: 12px 0 12px 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.legal-content ul li {
    margin-bottom: 4px;
}

.legal-content a {
    color: var(--dark-angora-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content a:hover {
    color: var(--dark-angora-blue-hover);
}

.legal-toc {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 32px;
    margin-bottom: 32px;
}

.legal-toc h2 {
    font-size: 18px;
    margin: 0 0 16px;
    padding: 0 0 12px;
    border: none;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.legal-toc > ul {
    margin: 0;
    list-style: none;
}

.legal-toc > ul > li {
    margin-bottom: 8px;
}

.legal-toc ul ul {
    margin: 4px 0 8px 20px;
    list-style: none;
}

.legal-toc ul ul li {
    margin-bottom: 2px;
}

.legal-toc a {
    text-decoration: none;
    font-size: 14px;
}

.legal-toc a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .legal-content {
        padding: 24px;
    }

    .legal-content h2 {
        font-size: 20px;
    }

    .legal-toc {
        padding: 16px 20px;
    }
}

/* -----------------------------------------------------------------
   Back-to-Top Button
   ----------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dark-angora-blue);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s var(--transition-bounce);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--dark-angora-blue-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

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

/* -----------------------------------------------------------------
   Tablet (768px - 1024px)
   ----------------------------------------------------------------- */
@media (max-width: 1024px) {
    :root {
        --container-padding: 32px;
        --section-padding: 64px;
    }

    /* Header */
    nav {
        gap: 24px;
    }

    /* Hero */
    .hero {
        padding: 60px 0 80px;
    }

    .hero .container {
        gap: 48px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-visual {
        height: 360px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Process */
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .process-steps::before {
        display: none;
    }

    .process-step:nth-child(4),
    .process-step:nth-child(5) {
        grid-column: span 1;
    }

    /* Funding */
    .funding-content {
        gap: 48px;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    /* Navigator */
    .navigator-form {
        grid-template-columns: repeat(2, 1fr);
    }

    .navigator-card {
        padding: 32px;
    }

    /* Gesetze */
    .gesetze-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About Page */
    .mission-grid,
    .contact-grid {
        gap: 48px;
    }

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

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

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

/* -----------------------------------------------------------------
   Large Tablet / Small Desktop (900px)
   ----------------------------------------------------------------- */
@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        height: 300px;
    }

    .section-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .funding-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .funding-logos {
        justify-content: flex-start;
    }
}

/* -----------------------------------------------------------------
   Mobile (<768px)
   ----------------------------------------------------------------- */
@media (max-width: 767px) {
    :root {
        --container-padding: 20px;
        --section-padding: 48px;
    }

    body {
        font-size: 14px;
    }

    .btn {
        padding: 12px 22px;
    }

    .btn-cta {
        padding: 16px 30px;
        font-size: 16px;
    }

    /* Header */
    nav {
        display: none;
    }

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

    .header-logo {
        height: 44px;
    }

    /* Hero */
    .hero {
        padding: 48px 0 64px;
    }

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

    .hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .hero-visual {
        height: 280px;
        order: -1;
    }

    /* Trust Section */
    .trust-content {
        flex-direction: column;
        text-align: center;
    }

    .trust-text {
        max-width: 100%;
    }

    .trust-logos {
        justify-content: center;
    }

    /* Navigator */
    .navigator-card {
        margin: -24px 20px 0;
        padding: 24px;
    }

    .navigator-tabs {
        flex-wrap: wrap;
        gap: 4px;
    }

    .navigator-tab {
        padding: 10px 16px;
        font-size: 13px;
    }

    .navigator-form {
        grid-template-columns: 1fr;
    }

    .navigator-header h2 {
        font-size: 22px;
    }

    /* Gesetze */
    .gesetze-section {
        padding: var(--section-padding) 0;
    }

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

    /* Hero Visual */
    .hero-app-cards {
        grid-template-columns: 1fr 1fr;
    }

    .hero-app-card:last-child {
        display: none;
    }

    /* Section Grid */
    .section-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .problem-section,
    .features-section,
    .process-section,
    .cta-section {
        padding: var(--section-padding) 0;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

    /* Process */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .process-number {
        width: 56px;
        height: 56px;
        font-size: 18px;
    }

    /* Funding */
    .funding-section {
        padding: var(--section-padding) 0;
    }

    .funding-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .funding-logos {
        justify-content: center;
    }

    /* CTA */
    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom div {
        margin-top: 8px;
    }

    .footer-bottom a {
        margin-left: 12px;
        margin-right: 12px;
    }

    .footer-bottom a:first-child {
        margin-left: 0;
    }

    /* Mobile Nav Badge */
    .mobile-nav .nav-badge {
        font-size: 8px;
        padding: 1px 5px;
        margin-left: 6px;
    }

    /* Page Header */
    .page-header {
        padding: 32px 0 48px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .page-header p {
        font-size: 16px;
    }

    /* About Page Sections */
    .mission-section,
    .values-section,
    .team-section,
    .timeline-section,
    .partners-section,
    .contact-section {
        padding: 64px 0;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .partners-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .partner-card {
        padding: 24px 16px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------------------------------------------
   Small Mobile (<375px)
   ----------------------------------------------------------------- */
@media (max-width: 374px) {
    :root {
        --container-padding: 16px;
    }

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

    .trust-logos {
        flex-direction: column;
    }

    .funding-logos {
        flex-direction: column;
        align-items: center;
    }
}

/* -----------------------------------------------------------------
   Reduced Motion
   ----------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* -----------------------------------------------------------------
   Print Styles
   ----------------------------------------------------------------- */
@media print {
    header,
    footer,
    .mobile-menu-btn,
    .mobile-nav,
    .hero-visual,
    .cta-section {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #555;
    }

    a[href^="mailto"]::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #555;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    .back-to-top,
    .nav-badge,
    .btn {
        display: none !important;
    }

    .legal-content {
        border: none;
        box-shadow: none;
        padding: 0;
    }
}
