/* ==================== SC-UI DESIGN SYSTEM ==================== */
:root {
    /* Primary Colors */
    --sc-primary: #F9844A;
    --sc-primary-rgb: 249, 132, 74;
    --sc-primary-light: #F9844A80;
    --sc-primary-dark: #D9633A;
    --sc-primary-gradient: linear-gradient(135deg, #F9844A 0%, #D9633A 100%);
    --sc-primary-glow: 0 0 30px rgba(249, 132, 74, 0.5);

    /* Background (Dark Mode) */
    --sc-bg-dark: rgb(10, 8, 8);
    --sc-bg-light: rgb(35, 30, 28);
    --sc-bg-card: rgba(20, 18, 18, 0.85);
    --sc-bg-card-hover: rgba(35, 30, 28, 0.95);

    /* Text Colors */
    --sc-text-primary: #FFFFFF;
    --sc-text-secondary: rgba(255, 255, 255, 0.7);
    --sc-text-muted: rgba(255, 255, 255, 0.45);

    /* Borders */
    --sc-border-color: rgba(255, 255, 255, 0.15);
    --sc-border-color-hover: rgba(249, 132, 74, 0.5);
    --sc-border-radius: 12px;
    --sc-border-radius-sm: 6px;
    --sc-border-radius-lg: 24px;

    /* Fonts */
    --sc-font-display: 'Bebas Neue', sans-serif;
    --sc-font-body: 'Chakra Petch', sans-serif;
    --sc-font-mono: 'Space Grotesk', monospace;

    /* Transitions */
    --sc-transition-fast: 0.15s ease;
    --sc-transition: 0.3s ease;
    --sc-transition-slow: 0.5s ease;

    /* Shadows */
    --sc-shadow-glow: 0 0 40px var(--sc-primary-light);
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Prevent iOS text size adjustment */
    -webkit-text-size-adjust: 100%;
}

/* Touch-friendly tap targets (minimum 44px) */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-links a,
    .mobile-toggle,
    .footer-social a,
    .regelwerk-section-header {
        min-height: 44px;
    }

    /* Disable hover effects on touch devices */
    .feature-card:hover,
    .job-card:hover {
        transform: none;
    }

    .feature-card:active {
        transform: scale(0.98);
    }

    .job-card:active {
        transform: translateX(4px);
    }
}

body {
    font-family: var(--sc-font-body);
    background: rgb(12, 12, 12);
    color: var(--sc-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    /* iOS safe area support */
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100lvh;
    background-image: url('../media/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    /* Fix mobile scroll jitter */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

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

a:hover {
    color: var(--sc-text-primary);
}

/* ==================== HEADER & NAVIGATION ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: linear-gradient(180deg, rgba(10, 8, 8, 0.95) 0%, transparent 100%);
    transition: background var(--sc-transition);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--sc-border-color);
    opacity: 0;
    transition: opacity var(--sc-transition);
}

.header.scrolled,
.header.header-solid {
    background: rgba(10, 8, 8, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header.scrolled::after,
.header.header-solid::after {
    opacity: 1;
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 56px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(249, 132, 74, 0.3));
    transition: height var(--sc-transition);
}

.header.scrolled .logo img {
    height: 48px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sc-text-secondary);
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sc-primary-gradient);
    transition: width var(--sc-transition);
}

.nav-links a:hover {
    color: var(--sc-text-primary);
}

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

.nav-cta {
    display: flex;
    gap: 1rem;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--sc-font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--sc-border-radius-sm);
    border: 1px solid var(--sc-border-color);
    background: var(--sc-bg-card);
    color: var(--sc-text-primary);
    cursor: pointer;
    transition: all var(--sc-transition-fast);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn:hover {
    background: var(--sc-bg-card-hover);
    border-color: var(--sc-border-color-hover);
    transform: translateY(-2px);
    color: var(--sc-text-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-primary {
    background: var(--sc-primary-gradient);
    border-color: var(--sc-primary);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    box-shadow: var(--sc-shadow-glow);
    filter: brightness(1.1);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-disabled {
    pointer-events: none;
    opacity: 0.7;
}

.code-muted {
    opacity: 0.7;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}

/* Vanta.js fog container */
#vanta-fog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100lvh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    /* Fix mobile scroll jitter */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

.hero-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 1rem auto;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-logo-main {
    font-family: var(--sc-font-display);
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 0.9;
    color: #FFFFFF;
    text-shadow:
        0 0 60px rgba(249, 132, 74, 0.6),
        0 0 120px rgba(249, 132, 74, 0.4);
}

.hero-logo-sub {
    font-family: var(--sc-font-display);
    font-size: clamp(1.2rem, 4vw, 2.4rem);
    font-weight: 400;
    letter-spacing: 0.35em;
    color: var(--sc-primary);
    margin-top: 0.2em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--sc-text-secondary);
    max-width: 550px;
    margin: 0 auto 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2.5rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat {
    text-align: center;
}

.stat-value {
    font-family: var(--sc-font-display);
    font-size: 2.5rem;
    color: var(--sc-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--sc-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==================== SECTIONS ==================== */
section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--sc-primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--sc-font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--sc-text-primary);
}

.section-desc {
    color: var(--sc-text-secondary);
    font-size: 1rem;
}

/* ==================== FEATURES SECTION ==================== */
.features {
    background: transparent;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--sc-bg-card);
    border: 1px solid var(--sc-border-color);
    border-radius: var(--sc-border-radius);
    padding: 2rem;
    transition: all var(--sc-transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--sc-primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--sc-transition);
}

.feature-card:hover {
    background: var(--sc-bg-card-hover);
    border-color: var(--sc-border-color-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(249, 132, 74, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sc-primary-light);
    border-radius: var(--sc-border-radius-sm);
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--sc-primary);
}

.feature-title {
    font-family: var(--sc-font-display);
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

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

/* ==================== JOBS SECTION ==================== */
.jobs {
    background: transparent;
}

.jobs-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.job-card {
    background: var(--sc-bg-card);
    border: 1px solid var(--sc-border-color);
    border-radius: var(--sc-border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--sc-transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.job-card:hover {
    background: var(--sc-bg-card-hover);
    border-color: var(--sc-border-color-hover);
    transform: translateX(8px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(249, 132, 74, 0.1);
}

.job-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sc-bg-light);
    border-radius: var(--sc-border-radius-sm);
    flex-shrink: 0;
}

.job-icon i {
    font-size: 1.25rem;
    color: var(--sc-primary);
}

.job-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.job-info p {
    font-size: 0.8rem;
    color: var(--sc-text-secondary);
}

/* ==================== CTA SECTION ==================== */
.cta {
    background: transparent;
    text-align: center;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
    background: var(--sc-bg-card);
    border: 1px solid var(--sc-border-color);
    border-radius: var(--sc-border-radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(249, 132, 74, 0.1);
    backdrop-filter: blur(10px);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 132, 74, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--sc-font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.cta-desc {
    color: var(--sc-text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.connect-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem;
    background: var(--sc-bg-dark);
    border-radius: var(--sc-border-radius-sm);
    font-family: var(--sc-font-mono);
}

.connect-info code {
    font-size: 1.1rem;
    color: var(--sc-primary);
}

.connect-info button {
    background: none;
    border: none;
    color: var(--sc-text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    transition: color var(--sc-transition-fast);
}

.connect-info button:hover {
    color: var(--sc-primary);
}

/* ==================== FOOTER ==================== */
.footer {
    background: transparent;
    border-top: 1px solid var(--sc-border-color);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.footer-logo img {
    height: 40px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sc-bg-card);
    border: 1px solid var(--sc-border-color);
    border-radius: var(--sc-border-radius-sm);
    color: var(--sc-text-secondary);
    transition: all var(--sc-transition-fast);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.footer-social a:hover {
    background: var(--sc-primary);
    border-color: var(--sc-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(249, 132, 74, 0.4);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--sc-border-color);
    text-align: center;
    color: var(--sc-text-muted);
    font-size: 0.85rem;
}

.footer-bottom--simple {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* ==================== PAGE HEADER (Subpages) ==================== */
.main {
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    position: relative;
    z-index: 1;
}

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

.page-title {
    font-family: var(--sc-font-display);
    font-size: clamp(2.5rem, 8vw, 4rem);
    letter-spacing: 0.05em;
    color: var(--sc-primary);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--sc-text-secondary);
    font-size: 1rem;
}

/* Back button for subpages */
.nav .btn:has(.fa-arrow-left) span {
    display: inline;
}

@media (max-width: 480px) {
    .nav .btn:has(.fa-arrow-left) {
        padding: 0.5rem 0.75rem;
    }

    .nav .btn:has(.fa-arrow-left) span {
        display: none;
    }
}

/* ==================== REGELWERK STYLES ==================== */
.regelwerk-section {
    margin-bottom: 2rem;
}

.regelwerk-section:last-child {
    margin-bottom: 0;
}

.regelwerk-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--sc-bg-card);
    border: 1px solid var(--sc-border-color);
    border-radius: var(--sc-border-radius);
    border-left: 4px solid var(--sc-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.regelwerk-section-header:hover {
    background: rgba(249, 132, 74, 0.15);
    border-color: var(--sc-primary);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(249, 132, 74, 0.15);
}

.regelwerk-toggle-icon {
    margin-left: auto;
    color: var(--sc-primary);
    transition: transform 0.3s ease;
}

.regelwerk-section.collapsed .regelwerk-toggle-icon {
    transform: rotate(-90deg);
}

.regelwerk-section-id {
    font-family: var(--sc-font-display);
    font-size: 1.5rem;
    color: var(--sc-primary);
    min-width: 50px;
}

.regelwerk-section-title {
    font-family: var(--sc-font-display);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    flex: 1;
}

.regelwerk-section-content {
    padding: 0 1rem 1rem 1rem;
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    opacity: 1;
}

.regelwerk-section.collapsed .regelwerk-section-content {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.regelwerk-section.collapsed .regelwerk-section-header {
    margin-bottom: 0;
}

.regelwerk-unterabschnitt {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--sc-bg-card);
    border: 1px solid var(--sc-border-color);
    border-left: 3px solid var(--sc-primary);
    border-radius: 0 var(--sc-border-radius-sm) var(--sc-border-radius-sm) 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.regelwerk-unterabschnitt:last-child {
    margin-bottom: 0;
}

.regelwerk-unterabschnitt-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.regelwerk-unterabschnitt-id {
    font-family: var(--sc-font-mono);
    font-size: 0.9rem;
    color: var(--sc-primary);
    font-weight: 600;
}

.regelwerk-unterabschnitt-title {
    font-size: 1rem;
    font-weight: 600;
}

.regelwerk-regel {
    color: var(--sc-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.regelwerk-regel::before {
    content: '';
    position: absolute;
    left: 0;
    color: var(--sc-primary);
}

.regelwerk-regel:last-child {
    margin-bottom: 0;
}

.regelwerk-beispiel {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(249, 132, 74, 0.1);
    border-radius: var(--sc-border-radius-sm);
    font-size: 0.85rem;
    color: var(--sc-text-secondary);
}

.regelwerk-beispiel::before {
    content: 'Beispiel: ';
    color: var(--sc-primary);
    font-weight: 600;
}

.regelwerk-strafkatalog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.straf-item {
    padding: 1rem;
    background: var(--sc-bg-card);
    border: 1px solid var(--sc-border-color);
    border-radius: var(--sc-border-radius-sm);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.straf-typ {
    font-family: var(--sc-font-display);
    font-size: 1rem;
    color: var(--sc-primary);
    margin-bottom: 0.25rem;
}

.straf-beschreibung {
    font-size: 0.85rem;
    color: var(--sc-text-secondary);
}

.regelwerk-hinweis {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--sc-bg-card);
    border: 1px solid var(--sc-border-color);
    border-radius: var(--sc-border-radius-sm);
    color: var(--sc-text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

.regelwerk-beschreibung {
    color: var(--sc-text-secondary);
    margin-bottom: 1rem;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* ==================== MOBILE MENU ==================== */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--sc-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1002;
    transition: color var(--sc-transition-fast);
}

.mobile-toggle:hover {
    color: var(--sc-primary);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 8, 8, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1001;
    padding: 6rem 2rem 2rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--sc-transition), visibility var(--sc-transition);
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--sc-text-secondary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color var(--sc-transition-fast), transform var(--sc-transition-fast);
    z-index: 1;
}

.mobile-menu-close:hover {
    color: var(--sc-primary);
    transform: rotate(90deg);
}

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

.mobile-nav-links a {
    font-family: var(--sc-font-display);
    font-size: 2rem;
    letter-spacing: 0.1em;
    color: var(--sc-text-secondary);
    transition: all var(--sc-transition-fast);
    position: relative;
}

.mobile-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--sc-primary-gradient);
    transition: all var(--sc-transition);
    transform: translateX(-50%);
}

.mobile-nav-links a:hover {
    color: var(--sc-primary);
}

.mobile-nav-links a:hover::after {
    width: 100%;
}

.mobile-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 280px;
    margin-top: 1rem;
}

.mobile-nav-cta .btn {
    width: 100%;
    justify-content: center;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

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

/* Tablet and below */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-value {
        font-size: 2rem;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

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

    .jobs-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
    }
}

/* Large phones */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-logo-main {
        font-size: clamp(2.5rem, 14vw, 5rem);
    }

    .hero-logo-sub {
        font-size: clamp(1rem, 4vw, 1.8rem);
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
    }

    .feature-icon i {
        font-size: 1.25rem;
    }

    .feature-title {
        font-size: 1.1rem;
    }

    .job-card {
        padding: 1.25rem;
    }

    .cta-box {
        padding: 3rem 2rem;
    }

    .cta-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
}

/* Small phones */
@media (max-width: 640px) {
    .header {
        padding: 0.75rem 1rem;
    }

    .logo img {
        height: 48px;
    }

    .header.scrolled .logo img {
        height: 40px;
    }

    .hero {
        padding: 5rem 1rem 3rem;
        min-height: calc(100vh - 60px);
    }

    .hero-logo-main {
        font-size: clamp(2.2rem, 15vw, 4rem);
    }

    .hero-logo-sub {
        font-size: clamp(0.9rem, 4vw, 1.4rem);
        letter-spacing: 0.25em;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 1rem;
    }

    .btn-lg {
        width: 100%;
        max-width: 300px;
        padding: 0.875rem 1.5rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 2rem;
        margin-top: 2rem;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-tag {
        font-size: 0.75rem;
    }

    .section-desc {
        font-size: 0.9rem;
    }

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

    .feature-card {
        padding: 1.25rem;
    }

    .feature-desc {
        font-size: 0.85rem;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .job-card {
        padding: 1rem;
    }

    .job-card:hover {
        transform: translateX(4px);
    }

    .job-icon {
        width: 44px;
        height: 44px;
    }

    .job-icon i {
        font-size: 1.1rem;
    }

    .job-info h4 {
        font-size: 0.95rem;
    }

    .job-info p {
        font-size: 0.75rem;
    }

    .cta-box {
        padding: 2rem 1.25rem;
        border-radius: var(--sc-border-radius);
    }

    .cta-desc {
        font-size: 0.9rem;
    }

    .connect-info {
        flex-direction: column;
        padding: 0.75rem;
    }

    .connect-info code {
        font-size: 0.95rem;
    }

    .main {
        padding: 6rem 1rem 3rem;
    }

    .page-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .regelwerk-section-header {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .regelwerk-section-id {
        font-size: 1.25rem;
        min-width: 40px;
    }

    .regelwerk-section-title {
        font-size: 0.9rem;
    }

    .regelwerk-toggle-icon {
        font-size: 0.9rem;
    }

    .regelwerk-unterabschnitt {
        padding: 0.875rem;
    }

    .regelwerk-unterabschnitt-header {
        gap: 0.5rem;
    }

    .regelwerk-unterabschnitt-id {
        font-size: 0.8rem;
    }

    .regelwerk-unterabschnitt-title {
        font-size: 0.9rem;
    }

    .regelwerk-regel {
        font-size: 0.85rem;
        padding-left: 0.75rem;
    }

    .back-link span {
        display: none;
    }

    .footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-logo img {
        height: 32px;
    }

    .footer-links {
        gap: 0.75rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
    }

    .footer-bottom {
        font-size: 0.75rem;
        margin-top: 1.5rem;
        padding-top: 1rem;
    }

    /* Mobile menu adjustments */
    .mobile-menu {
        padding: 5rem 1.5rem 2rem;
    }

    .mobile-nav-links a {
        font-size: 1.5rem;
    }

    .mobile-nav-links {
        gap: 1.25rem;
    }

    /* Impressum/Datenschutz mobile styles */
    .impressum-section,
    .datenschutz-section {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .impressum-section h2,
    .datenschutz-section h2 {
        font-size: 1.1rem;
    }

    .impressum-section p,
    .datenschutz-section p {
        font-size: 0.9rem;
    }
}

/* Extra small phones */
@media (max-width: 375px) {
    .hero-logo-main {
        font-size: 2rem;
    }

    .hero-logo-sub {
        font-size: 0.8rem;
        letter-spacing: 0.2em;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .mobile-nav-links a {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 5rem 2rem 2rem;
    }

    .hero-logo-main {
        font-size: 2.5rem;
    }

    .hero-stats {
        margin-top: 1.5rem;
    }

    .mobile-menu {
        padding: 4rem 2rem 1rem;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .mobile-nav-links {
        gap: 0.75rem;
    }

    .mobile-nav-links a {
        font-size: 1.25rem;
    }
}

/* ==================== IMPRESSUM STYLES ==================== */
.impressum-content {
    max-width: 800px;
    margin: 0 auto;
}

.impressum-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--sc-bg-card);
    border: 1px solid var(--sc-border-color);
    border-radius: var(--sc-border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

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

.impressum-section h2 {
    font-family: var(--sc-font-display);
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    color: var(--sc-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--sc-border-color);
}

.impressum-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--sc-text-primary);
}

.impressum-section p {
    color: var(--sc-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

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

.impressum-section a {
    color: var(--sc-primary);
    transition: color var(--sc-transition-fast);
}

.impressum-section a:hover {
    color: var(--sc-text-primary);
}

.impressum-section i {
    margin-right: 0.5rem;
    color: var(--sc-primary);
}

/* ==================== DATENSCHUTZ STYLES ==================== */
.datenschutz-content {
    max-width: 800px;
    margin: 0 auto;
}

.datenschutz-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--sc-bg-card);
    border: 1px solid var(--sc-border-color);
    border-radius: var(--sc-border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.datenschutz-section:last-child {
    margin-bottom: 0;
}

.datenschutz-section h2 {
    font-family: var(--sc-font-display);
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    color: var(--sc-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--sc-border-color);
}

.datenschutz-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--sc-text-primary);
}

.datenschutz-section h3:first-of-type {
    margin-top: 0;
}

.datenschutz-section p {
    color: var(--sc-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.datenschutz-section p:last-child {
    margin-bottom: 0;
}

.datenschutz-section ul {
    color: var(--sc-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.datenschutz-section li {
    margin-bottom: 0.5rem;
}

.datenschutz-section li:last-child {
    margin-bottom: 0;
}

.datenschutz-section a {
    color: var(--sc-primary);
    transition: color var(--sc-transition-fast);
    word-break: break-word;
}

.datenschutz-section a:hover {
    color: var(--sc-text-primary);
}

.datenschutz-section strong {
    color: var(--sc-text-primary);
}

/* ==================== CAPTCHA STYLES ==================== */
.captcha-hint {
    color: var(--sc-text-secondary);
    margin-bottom: 1rem;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.captcha-question {
    font-family: var(--sc-font-mono);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--sc-primary);
    padding: 0.5rem 1rem;
    background: var(--sc-bg-dark);
    border-radius: var(--sc-border-radius-sm);
    border: 1px solid var(--sc-border-color);
}

/* Captcha Input Base Styles */
.captcha-input,
.captcha-input-sm {
    font-family: var(--sc-font-mono);
    text-align: center;
    background: var(--sc-bg-dark);
    border: 1px solid var(--sc-border-color);
    border-radius: var(--sc-border-radius-sm);
    color: var(--sc-text-primary);
    caret-color: var(--sc-primary);
    transition: border-color var(--sc-transition-fast);
}

.captcha-input {
    width: 80px;
    padding: 0.5rem 0.75rem;
    font-size: 1.1rem;
}

.captcha-input-sm {
    width: 50px;
    padding: 0.25rem 0.4rem;
    font-size: 0.95rem;
}

.captcha-input:focus,
.captcha-input-sm:focus {
    outline: none;
    border-color: var(--sc-primary);
}

/* Remove number input spinners */
.captcha-input::-webkit-outer-spin-button,
.captcha-input::-webkit-inner-spin-button,
.captcha-input-sm::-webkit-outer-spin-button,
.captcha-input-sm::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.captcha-input[type=number],
.captcha-input-sm[type=number] {
    -moz-appearance: textfield;
}

.captcha-input::placeholder {
    color: var(--sc-text-muted);
}

/* Captcha Button Base Styles */
.captcha-btn,
.captcha-btn-sm {
    background: var(--sc-bg-card);
    border: 1px solid var(--sc-border-color);
    border-radius: var(--sc-border-radius-sm);
    color: var(--sc-primary);
    cursor: pointer;
    transition: all var(--sc-transition-fast);
}

.captcha-btn {
    padding: 0.5rem 1rem;
}

.captcha-btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

.captcha-btn:hover,
.captcha-btn-sm:hover {
    background: var(--sc-primary);
    border-color: var(--sc-primary);
    color: white;
}

/* Captcha Error Styles */
.captcha-error,
.captcha-error-inline {
    color: #ff6b6b;
}

.captcha-error {
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.captcha-error-inline {
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

/* Inline Captcha (für Datenschutz) */
.captcha-hint-inline {
    color: var(--sc-text-secondary);
}

.captcha-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.captcha-question-sm {
    font-family: var(--sc-font-mono);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--sc-primary);
    padding: 0.25rem 0.5rem;
    background: var(--sc-bg-dark);
    border-radius: var(--sc-border-radius-sm);
    border: 1px solid var(--sc-border-color);
}

/* ==================== "UND VIELES MEHR" CARD ==================== */
.more-card-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.more-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: var(--sc-bg-card);
    border: 1px solid var(--sc-border-color);
    border-radius: var(--sc-border-radius);
    transition: all var(--sc-transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.more-card:hover {
    background: var(--sc-bg-card-hover);
    border-color: var(--sc-border-color-hover);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(249, 132, 74, 0.1);
}

.more-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sc-primary-light);
    border-radius: var(--sc-border-radius-sm);
}

.more-icon i {
    font-size: 1.25rem;
    color: var(--sc-primary);
}

.more-card span {
    font-family: var(--sc-font-display);
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    color: var(--sc-text-secondary);
}

/* Mobile responsive for more-card */
@media (max-width: 640px) {
    .more-card {
        padding: 1rem 1.5rem;
    }

    .more-icon {
        width: 40px;
        height: 40px;
    }

    .more-icon i {
        font-size: 1rem;
    }

    .more-card span {
        font-size: 1rem;
    }
}
