:root {
    /* Colors - Dark Theme Default */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a24;
    --bg-card: #16161f;
    --bg-card-hover: #1e1e2a;
    
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    
    --accent-primary: #00d4aa;
    --accent-secondary: #00a884;
    --accent-glow: rgba(0, 212, 170, 0.15);
    
    --border-color: #2a2a3a;
    --border-color-light: #3a3a4a;
    
    --gradient-start: #00d4aa;
    --gradient-end: #0088cc;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 2rem;
    --fs-4xl: 2.5rem;
    --fs-5xl: 3.5rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-24: 6rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(0, 212, 170, 0.1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 700;
    font-size: var(--fs-lg);
}

.logo-icon {
    font-size: var(--fs-xl);
}

.logo-text {
    background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent-primary);
    color: var(--bg-primary) !important;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--accent-secondary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--space-24) var(--space-6);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 212, 170, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 136, 204, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 212, 170, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: var(--fs-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--fs-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-8);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    font-size: var(--fs-base);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 14px rgba(0, 212, 170, 0.3);
}

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color-light);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.btn-icon {
    width: 18px;
    height: 18px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-muted);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Section Base */
section {
    padding: var(--space-24) 0;
}

.section-header {
    margin-bottom: var(--space-16);
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-primary);
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: var(--fs-3xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.section-desc {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    max-width: 600px;
}

.section-header.center .section-desc {
    margin: 0 auto;
}

/* Services Section */
.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.service-card.featured {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

/* Wenn eine Karte gehovert wird, featured-Rahmen entfernen */
.services-grid:has(.service-card:hover) .service-card.featured:not(:hover) {
    border-color: var(--border-color);
    box-shadow: none;
}

.service-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: var(--accent-primary);
    color: var(--bg-primary);
    font-size: var(--fs-xs);
    font-weight: 700;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    color: var(--accent-primary);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-title {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.service-desc {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.service-list li {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    padding-left: var(--space-4);
    position: relative;
}

.service-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 700;
}

/* Philosophy Section */
.philosophy {
    background: var(--bg-primary);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.philosophy-content {
    max-width: 540px;
}

.philosophy-text {
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    line-height: 1.8;
}

.philosophy-stats {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-color);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.stat-number {
    font-size: var(--fs-2xl);
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Code Block */
.philosophy-visual {
    display: flex;
    justify-content: center;
}

.code-block {
    background: var(--bg-tertiary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.code-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
}

.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #28c840; }

.code-title {
    margin-left: auto;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.code-content {
    padding: var(--space-6);
    margin: 0;
    overflow-x: auto;
}

.code-content code {
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Syntax highlighting simulation */
.code-content code {
    color: #abb2bf;
}

.code-content code::selection {
    background: rgba(0, 212, 170, 0.3);
}

/* About Section */
.about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    transition: all var(--transition-base);
}

.about-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.about-icon {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-4);
}

.about-card h3 {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.about-card p {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
    align-items: start;
}

.contact-desc {
    color: var(--text-secondary);
    margin: var(--space-6) 0 var(--space-8);
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.method-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-xl);
}

.method-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.method-label {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.method-value {
    font-weight: 600;
    color: var(--text-primary);
}

.method-value:hover {
    color: var(--accent-primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
}

.form-header {
    margin-bottom: var(--space-8);
}

.form-header h3 {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.form-header p {
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-group label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 500;
    margin-bottom: var(--space-2);
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--fs-base);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23606070' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.form-checkbox input {
    width: auto;
    margin-top: 4px;
    accent-color: var(--accent-primary);
}

.form-checkbox label {
    margin-bottom: 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.form-checkbox a {
    color: var(--accent-primary);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-16);
    margin-bottom: var(--space-12);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.footer-tagline {
    color: var(--text-secondary);
    max-width: 300px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.footer-column h4 {
    font-size: var(--fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-column a {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-color);
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.footer-made {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.heart {
    color: #e25555;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophy-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
    
    .philosophy-content {
        max-width: 100%;
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
}

@media (max-width: 768px) {
    :root {
        --fs-5xl: 2.5rem;
        --fs-4xl: 2rem;
        --fs-3xl: 1.75rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: var(--space-6);
        gap: var(--space-4);
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        font-size: var(--fs-lg);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .philosophy-stats {
        flex-direction: column;
        gap: var(--space-6);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        gap: var(--space-4);
    }
}

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

/* Print Styles */
@media print {
    .navbar,
    .hero-scroll,
    .footer-social {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
    }
}

/* ================================
   Legal Pages (Impressum, Datenschutz)
   ================================ */

.legal-header {
    background: var(--bg-secondary);
    padding: calc(var(--space-24) + 70px) 0 var(--space-12);
    border-bottom: 1px solid var(--border-color);
}

.legal-header h1 {
    font-size: var(--fs-4xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.legal-nav {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.legal-nav a {
    color: var(--text-secondary);
}

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

.legal-nav .current {
    color: var(--text-muted);
}

.legal-content {
    padding: var(--space-12) 0 var(--space-24);
    background: var(--bg-primary);
}

.legal-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-12);
    align-items: start;
}

.legal-article {
    max-width: 100%;
}

.legal-section {
    margin-bottom: var(--space-12);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: var(--fs-2xl);
    font-weight: 700;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}

.legal-section h3 {
    font-size: var(--fs-lg);
    font-weight: 600;
    margin: var(--space-6) 0 var(--space-3);
    color: var(--text-secondary);
}

.legal-section p {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    line-height: 1.8;
}

.impressum-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin: var(--space-4) 0;
}

.impressum-block p {
    margin-bottom: var(--space-2);
}

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

.impressum-block a {
    color: var(--accent-primary);
}

.impressum-block a:hover {
    text-decoration: underline;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
}

.legal-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
}

.legal-box h3 {
    font-size: var(--fs-base);
    font-weight: 600;
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-box ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.legal-box a {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    display: block;
    padding: var(--space-2) 0;
    transition: color var(--transition-fast);
}

.legal-box a:hover,
.legal-box a.active {
    color: var(--accent-primary);
}

.legal-box a.active {
    font-weight: 600;
}

.legal-box .btn-sm {
    margin-top: var(--space-4);
    padding: var(--space-2) var(--space-4);
    font-size: var(--fs-sm);
}

.legal-box.success {
    border-color: var(--accent-primary);
    background: var(--accent-glow);
}

/* Privacy-specific styles */
.privacy-highlight {
    background: var(--bg-tertiary);
    border-left: 4px solid var(--accent-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: var(--space-6);
    margin: var(--space-6) 0;
}

.privacy-highlight strong {
    display: block;
    font-size: var(--fs-lg);
    margin-bottom: var(--space-2);
    color: var(--accent-primary);
}

.privacy-highlight p {
    margin-bottom: 0;
    font-size: var(--fs-sm);
}

.privacy-highlight.success {
    border-left-color: #28c840;
}

.privacy-highlight.success strong {
    color: #28c840;
}

.privacy-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
}

.privacy-list li {
    color: var(--text-secondary);
    position: relative;
    padding-left: var(--space-4);
}

.privacy-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 700;
}

.privacy-list li strong {
    color: var(--text-primary);
}

/* Responsive Legal Pages */
@media (max-width: 1024px) {
    .legal-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-sidebar {
        position: static;
        order: -1;
    }
    
    .legal-box {
        margin-bottom: var(--space-4);
    }
}

@media (max-width: 768px) {
    .legal-header {
        padding: calc(var(--space-16) + 70px) 0 var(--space-8);
    }
    
    .legal-header h1 {
        font-size: var(--fs-3xl);
    }
    
    .legal-section h2 {
        font-size: var(--fs-xl);
    }
    
    .impressum-block {
        padding: var(--space-4);
    }
}