@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

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

:root {
    /* Color Palette */
    --primary-color: #0a1f44; /* Navy */
    --primary-dark: #6fa820; /* Slightly darker shade for hovers */
    --bg-orange: #ef8a00; /* Hero background lime green */
    --bg-light: #ffffff;
    --bg-alt: #f8f9fa; /* Light Grey */
    --text-main: #0a1f44; /* Navy */
    --text-muted: #2e3d55; /* Slate Blue */
    --accent-orange: #ef8a00; /* Lime Green */
    
    /* Spacing Scale (4px/8px-based) */
    --space-xs: 0.25rem;  /* 4px */
    --space-sm: 0.5rem;   /* 8px */
    --space-md: 0.75rem;  /* 12px */
    --space-lg: 1rem;     /* 16px */
    --space-xl: 1.5rem;   /* 24px */
    --space-xxl: 2rem;    /* 32px */
    --space-40: 2.5rem;   /* 40px */
    --space-3xl: 3rem;    /* 48px */
    --space-4xl: 4rem;    /* 64px */
    --space-5xl: 6rem;    /* 96px */

    /* Shadows (Premium, layered) */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --shadow-glow: 0 10px 30px rgba(239, 138, 0, 0.15);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #ff9b1a 0%, #ef8a00 50%, #669a1b 100%);
    --gradient-primary: linear-gradient(135deg, #ff9b1a 0%, #ef8a00 100%);
    --gradient-glow: radial-gradient(circle, rgba(239, 138, 0, 0.08) 0%, transparent 70%);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-blur: blur(12px);
    
    /* Typography */
    --font-main: 'Manrope', sans-serif;
    --font-display: 'Sora', sans-serif;
    
    /* Layout */
    --container-max: 1152px;
    --section-pad: 5rem 1.5rem;
}

@media (min-width: 769px) {
    :root {
        --section-pad: 7rem 2rem;
    }
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--accent-orange);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

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

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

/* Spacing Utilities */
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-xxl { margin-top: var(--space-xxl); }
.mt-40 { margin-top: var(--space-40); }
.mt-3xl { margin-top: var(--space-3xl); }
.mt-4xl { margin-top: var(--space-4xl); }
.mt-5xl { margin-top: var(--space-5xl); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-xxl { margin-bottom: var(--space-xxl); }
.mb-40 { margin-bottom: var(--space-40); }
.mb-3xl { margin-bottom: var(--space-3xl); }
.mb-4xl { margin-bottom: var(--space-4xl); }
.mb-5xl { margin-bottom: var(--space-5xl); }

.ml-xs { margin-left: var(--space-xs); }
.ml-sm { margin-left: var(--space-sm); }
.ml-md { margin-left: var(--space-md); }
.ml-lg { margin-left: var(--space-lg); }
.ml-xl { margin-left: var(--space-xl); }
.ml-xxl { margin-left: var(--space-xxl); }
.ml-40 { margin-left: var(--space-40); }
.ml-3xl { margin-left: var(--space-3xl); }
.ml-4xl { margin-left: var(--space-4xl); }
.ml-5xl { margin-left: var(--space-5xl); }

.p-xs { padding: var(--space-xs); }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }
.p-xxl { padding: var(--space-xxl); }
.p-40 { padding: var(--space-40); }
.p-3xl { padding: var(--space-3xl); }
.p-4xl { padding: var(--space-4xl); }
.p-5xl { padding: var(--space-5xl); }

.px-xs { padding-left: var(--space-xs); padding-right: var(--space-xs); }
.px-sm { padding-left: var(--space-sm); padding-right: var(--space-sm); }
.px-md { padding-left: var(--space-md); padding-right: var(--space-md); }
.px-lg { padding-left: var(--space-lg); padding-right: var(--space-lg); }
.px-xl { padding-left: var(--space-xl); padding-right: var(--space-xl); }
.px-xxl { padding-left: var(--space-xxl); padding-right: var(--space-xxl); }
.px-40 { padding-left: var(--space-40); padding-right: var(--space-40); }
.px-3xl { padding-left: var(--space-3xl); padding-right: var(--space-3xl); }
.px-4xl { padding-left: var(--space-4xl); padding-right: var(--space-4xl); }
.px-5xl { padding-left: var(--space-5xl); padding-right: var(--space-5xl); }

.py-xs { padding-top: var(--space-xs); padding-bottom: var(--space-xs); }
.py-sm { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.py-xxl { padding-top: var(--space-xxl); padding-bottom: var(--space-xxl); }
.py-40 { padding-top: var(--space-40); padding-bottom: var(--space-40); }
.py-3xl { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }
.py-4xl { padding-top: var(--space-4xl); padding-bottom: var(--space-4xl); }
.py-5xl { padding-top: var(--space-5xl); padding-bottom: var(--space-5xl); }

.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-xxl { gap: var(--space-xxl); }
.gap-40 { gap: var(--space-40); }
.gap-3xl { gap: var(--space-3xl); }
.gap-4xl { gap: var(--space-4xl); }
.gap-5xl { gap: var(--space-5xl); }

/* Legacy Spacing Utilities to ensure backward compatibility */
.mt-2 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xxl); }
.ml-2 { margin-left: var(--space-lg); }

/* Centralized Page Header Class */
.page-header {
    padding: var(--space-5xl) var(--space-xxl);
    text-align: center;
    background: linear-gradient(-45deg, #0b1120, #172554, #25528d, #1e3a8a, #0b1120);
    background-size: 400% 400%;
    animation: heroGradientShift 15s ease infinite;
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.page-header > * {
    position: relative;
    z-index: 2;
}

.page-header::before,
.page-header::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

.page-header::before {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, transparent 60%);
    top: -50%;
    left: -10%;
    animation: float 10s ease-in-out infinite;
}

.page-header::after {
    background: radial-gradient(circle, rgba(255, 155, 26, 0.35) 0%, transparent 60%);
    bottom: -50%;
    right: -10%;
    animation: float 12s ease-in-out infinite reverse;
}

.flex-between { display: flex; justify-content: space-between; align-items: center; }
.bg-light { background-color: var(--bg-alt); }

/* Grid Systems */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 2rem;
}

/* Custom Responsive Grid Systems */
.grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.grid-contact {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                background 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                color 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: normal; /* allow wrapping on small screens */
    word-wrap: break-word;
    max-width: 100%;
}

.btn:active {
    transform: translateY(1px) scale(0.98);
}

.btn-primary {
    background: #ffffff;
    color: var(--accent-orange);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px) scale(1.02);
}

.btn-secondary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(239, 138, 0, 0.2);
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(239, 138, 0, 0.35);
    transform: translateY(-2px) scale(1.02);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-orange);
    color: var(--accent-orange);
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(239, 138, 0, 0.2);
    transform: translateY(-2px) scale(1.02);
}

.btn-white-outline {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-white-outline:hover {
    background: #ffffff;
    color: var(--accent-orange);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px) scale(1.02);
}

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

.btn-link {
    color: var(--accent-orange);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Topbar */
.topbar {
    background-color: var(--bg-alt);
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--glass-border);
}

.topbar-contact {
    margin-left: 1.5rem;
    color: var(--text-main);
}

.topbar-contact:hover {
    color: var(--accent-orange);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1600px;
    margin: 0 auto;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-logo {
    max-height: 40px;
    aspect-ratio: 500 / 150;
    width: auto;
    display: block;
}

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

.nav-item {
    position: relative;
}

.nav-item > a {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    color: var(--text-main);
    white-space: nowrap;
}

.nav-item > a:hover {
    color: var(--accent-orange);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 1rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-item.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.dropdown li a:hover {
    background: var(--bg-alt);
    color: var(--accent-orange);
}

.header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 80px);
    height: auto;
    position: relative;
    background: linear-gradient(-45deg, #0b1120, #172554, #25528d, #1e3a8a, #0b1120);
    background-size: 400% 400%;
    animation: heroGradientShift 15s ease infinite;
    overflow: hidden;
    padding: 2rem 2rem;
    display: flex;
    align-items: center;

    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    border-radius: 0 !important;
    max-width: 100vw !important;}

@keyframes heroGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    filter: blur(80px);
    opacity: 0.8;
}

.hero-section::before {
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, transparent 60%);
    animation: floatOrb 15s ease-in-out infinite alternate;
}

.hero-section::after {
    bottom: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255, 155, 26, 0.55) 0%, transparent 60%);
    animation: floatOrb2 18s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(15%, 10%) scale(1.1); }
}

@keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-10%, -15%) scale(1.15); }
}

/* Typographic Hero Extensions */
/* Split Layout Styles */
.hero-split-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    overflow: hidden;
    padding: 6rem 2rem;
    position: relative;
}

.hero-grid-split {
    position: relative;
    z-index: 10;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16 / 9;
}

.hero-video-inline {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {
    .hero-grid-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.hero-title-mega {
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -1px;
}

.text-left {
    text-align: left !important;
}

.hero-text-large {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 90%;
    margin: 0 0 2rem 0;
}

/* End of Hero Typographic Styles */

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    width: 100%;
    height: 100%; /* Takes full height of hero-section */
    position: relative;
    z-index: 10;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 480px; /* Slightly narrower to prevent overlapping with the man */
}

.hero-title {
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #ffffff; /* White text on orange */
}

.hero-image-wrapper {
    position: absolute;
    bottom: 0;
    right: max(2%, calc(50% - 600px));
    height: 95%;
    z-index: 10;
    display: flex;
    align-items: flex-end;
    pointer-events: none; /* Verhindert, dass das Bild Klicks auf Links blockiert */
}

.hero-image {
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: bottom center;
    transform: translateY(0); /* Reset scale to prevent artificial enlargement */
    transform-origin: bottom center;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    display: block;
}

/* Animated Alpha/Euro Symbol Background */
.hero-symbol-animation {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 70%;
    height: 100%;
    z-index: 1; /* Behind the container */
    pointer-events: none; /* Let clicks pass through */
    overflow: hidden; /* Prevent massive blur from causing horizontal scroll */
}

.hero-symbol-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
}

.hero-symbol-front, .hero-symbol-back {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(30rem, 60vw, 80rem);
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.07);
    line-height: 1;
}

.hero-symbol-front {
    animation: morphAlpha 8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-symbol-back {
    animation: morphEuro 8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes morphAlpha {
    0%, 35%   { opacity: 1; filter: blur(0px); transform: scale(1); }
    45%       { opacity: 0; filter: blur(40px); transform: scale(0.9); }
    50%, 85%  { opacity: 0; filter: blur(40px); transform: scale(1.1); }
    95%, 100% { opacity: 1; filter: blur(0px); transform: scale(1); }
}

@keyframes morphEuro {
    0%, 35%   { opacity: 0; filter: blur(40px); transform: scale(1.1); }
    45%, 85%  { opacity: 1; filter: blur(0px); transform: scale(1); }
    95%       { opacity: 0; filter: blur(40px); transform: scale(0.9); }
    100%      { opacity: 0; filter: blur(40px); transform: scale(1.1); }
}

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

/* Badge Utility */
.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(239, 138, 0, 0.08);
    color: var(--accent-orange);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.badge-accent {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* About Section */
.about-section {
    position: relative;
    background-color: #ffffff;
}

.about-bg-glows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.about-bg-glows::before, .about-bg-glows::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(239, 138, 0, 0.04);
    filter: blur(80px);
    pointer-events: none;
}

.about-bg-glows::before {
    top: -10%;
    left: -10%;
}

.about-bg-glows::after {
    bottom: -10%;
    right: -10%;
}

/* Timeline Scroll Zeitraffer Section */
.timeline-scroll-wrapper {
    display: flex;
    gap: 4rem;
    position: relative;
    margin-top: 2rem;
}

.timeline-sticky-year {
    position: -webkit-sticky;
    position: sticky;
    top: 150px;
    height: 300px;
    flex: 0 0 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    align-self: flex-start;
}

.sticky-year-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#timeline-current-year {
    font-size: 6rem;
    font-weight: 700;
    color: var(--accent-orange);
    line-height: 1;
    font-family: var(--font-display);
    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.15s ease;
    text-shadow: 0 10px 30px rgba(239, 138, 0, 0.15);
}

.timeline-progress-bar {
    width: 4px;
    height: 150px;
    background: rgba(0, 0, 0, 0.06);
    margin-top: 2rem;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.timeline-progress-fill {
    width: 100%;
    height: 0%;
    background: var(--accent-orange);
    transition: height 0.1s linear;
}

.timeline-milestones {
    flex: 0 0 70%;
    display: flex;
    flex-direction: column;
}

.milestone-block {
    padding: 3rem 0 3rem 3rem;
    margin-bottom: 5rem;
    border-left: 2px solid rgba(0, 0, 0, 0.06);
    transition: border-color 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    opacity: 0.4;
    transform: translateY(20px);
}

.milestone-block.active {
    border-left-color: var(--accent-orange);
    opacity: 1;
    transform: translateY(0);
}

.milestone-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.milestone-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .timeline-scroll-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .timeline-sticky-year {
        position: relative;
        top: 0;
        height: auto;
        flex: 1 1 100%;
        margin-bottom: 1.5rem;
    }
    
    #timeline-current-year {
        font-size: 4rem;
    }
    
    .timeline-progress-bar {
        display: none;
    }
    
    .timeline-milestones {
        flex: 1 1 100%;
    }
    
    .milestone-block {
        padding: 1.5rem 0 1.5rem 2rem;
        margin-bottom: 2rem;
        opacity: 1 !important;
        transform: none !important;
        border-left-color: var(--accent-orange) !important;
    }
}

/* Partner section */
.partner-section {
    background: radial-gradient(circle at 80% 20%, rgba(239, 138, 0, 0.12), transparent 50%), 
                radial-gradient(circle at 20% 80%, rgba(239, 138, 0, 0.06), transparent 50%),
                #0b0f19;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.partner-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(239, 138, 0, 0.08), transparent 70%);
    filter: blur(100px);
    pointer-events: none;
}

.partner-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.partner-section .section-title {
    color: #ffffff;
    margin-bottom: 1rem;
}

.partner-section .section-text {
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin: 0 auto 2rem auto;
}

.partner-section .btn-primary {
    background: var(--accent-orange);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(239, 138, 0, 0.25);
    border: 1px solid transparent;
}

.partner-section .btn-primary:hover {
    background: #ffffff;
    color: var(--accent-orange);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Sections Base */
section {
    padding: var(--section-pad);
}

.section-title {
    margin-bottom: 1rem;
}

.section-text, .section-subtitle {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Cards */
.card {
    background: #ffffff;
    border: 1px solid rgba(239, 138, 0, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(239, 138, 0, 0.2);
}

.card.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03), 
                inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-orange);
}

.card-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.highlight-card {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
    border: 1.5px solid var(--accent-orange);
    box-shadow: 0 10px 30px rgba(239, 138, 0, 0.08);
}

.highlight-card:hover {
    box-shadow: 0 20px 40px rgba(239, 138, 0, 0.15);
}

/* Feature Boxes */
.feature-box {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(239, 138, 0, 0.06);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(239, 138, 0, 0.2);
}

.feature-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 6rem;
    font-weight: 700;
    color: rgba(239, 138, 0, 0.04);
    line-height: 1;
    z-index: 0;
    transition: transform 0.35s ease, color 0.35s ease;
}

.feature-box:hover .feature-number {
    transform: scale(1.1) rotate(5deg);
    color: rgba(239, 138, 0, 0.08);
}

.feature-title {
    color: var(--accent-orange);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature-text {
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* News Cards */
.news-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(239, 138, 0, 0.06);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(239, 138, 0, 0.12);
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.news-card:hover .news-title {
    color: var(--accent-orange);
}

.news-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--accent-orange);
    padding-bottom: 2px;
}

/* Footer */
.footer {
    background-color: var(--text-main);
    color: #ffffff;
    padding: 5rem 0 2rem;
}

.footer-top.grid-4 {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

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

@media (max-width: 600px) {
    .footer-top.grid-4 {
        grid-template-columns: 1fr;
    }
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-logo {
    max-height: 50px;
    aspect-ratio: 500 / 150;
    width: auto;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-desc {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

.social-icon {
    font-size: 0.85rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-orange);
}

.widget-title {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    color: #d1d5db;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d5db;
    font-size: 0.85rem;
    justify-content: center;
    text-align: center;
}

.cookie-settings {
    text-align: center;
    font-size: 0.8rem;
    color: #9ca3af;
}

.cookie-link:hover {
    color: #ffffff;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .header-actions {
        display: none;
    }
}

@media (max-width: 991px) {
    .grid-split,
    .grid-contact {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 1rem;     /* 16px */
        --space-xxl: 1.5rem;  /* 24px */
        --space-40: 1.75rem;  /* 28px */
        --space-3xl: 2rem;    /* 32px */
        --space-4xl: 2.5rem;  /* 40px */
        --space-5xl: 3.5rem;  /* 56px */
    }

    .page-header {
        padding: var(--space-3xl) var(--space-xl);
    }

    #calendar-times {
        grid-template-columns: 1fr !important;
        gap: var(--space-sm) !important;
    }

    .topbar {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .topbar-contact {
        margin: 0 0.5rem;
    }

    .nav-list {
        display: none;
    }

    .hero-section {
        height: auto !important;
        min-height: auto !important;
        padding: 3rem 1.5rem 3rem 1.5rem !important;
        display: block !important; 
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-grid, .hero-grid-split {
        display: block !important;
        text-align: center;
        height: auto !important;
        position: relative !important;
        z-index: 100 !important;
        width: 100%;
        margin-bottom: 2rem !important; 
    }

    .hero-symbol-animation {
        display: none; /* Hide huge symbol on mobile to prevent clutter */
    }
    
    .hero-content {
        margin: 0 auto;
    }

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

    /* Disable scroll animations on mobile */
    .animate-on-scroll,
    .card, .feature-box, .news-card, .section-title, .section-text, .section-subtitle, .about-content,
    .hero-content,
    .hero-content > *,
    .hero-image-wrapper {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    .hero-image-wrapper {
        display: none !important;
    }

    .card.highlight-card {
        padding: 1.5rem !important;
    }

    html {
        overflow-x: hidden !important;
    }

    .container {
        padding: 0 1rem !important;
    }

    .section-pad {
        padding: 3rem 1rem !important;
    }

    .card {
        padding: 1.5rem !important;
    }

    .feature-box {
        padding: 1.5rem 1.25rem !important;
    }

    .badge {
        white-space: normal !important;
        text-align: center;
        max-width: 100%;
    }

    h1, .hero-title {
        font-size: 2rem !important;
    }

    h2, .section-title {
        font-size: 1.5rem !important;
    }

    h3, .feature-title, .card-title {
        font-size: 1.25rem !important;
    }

    p, span, li, a, label, h1, h2, h3, h4, h5, h6 {
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }

    /* Fixes for new pages (agenturen, vertriebspartner, onboarding) */
    .hero-bullets {
        align-items: flex-start !important;
        margin: 0 auto 2rem auto !important;
        max-width: fit-content;
    }
    .hero-bullets li {
        font-size: 0.95rem !important;
        text-align: left !important;
    }
    .status-tier-container {
        padding: 1rem !important;
    }
    .calculator-card {
        padding: 1rem !important;
    }
    .testimonial-card {
        padding: 1.5rem !important;
    }
    .calculator-slider-container label {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem;
    }
    .slider-value-display {
        font-size: 1.5rem !important;
        align-self: flex-start;
    }
    .hero-text {
        font-size: 1.05rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Button optimizations for mobile */
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.8rem !important;
        width: 100% !important;
        margin-bottom: 2.5rem !important;
    }
    .hero-buttons .btn {
        width: 100% !important;
        padding: 0.8rem 1rem !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        line-height: 1.3 !important;
        min-height: 48px;
    }
    .btn-large {
        padding: 0.8rem 1.25rem !important;
        font-size: 1rem !important;
    }
}

/* Additional Animations */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        margin-left: auto;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--glass-bg);
        backdrop-filter: var(--glass-blur);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        display: flex;
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.4s ease;
        z-index: -1;
    }

    .nav-list.nav-active {
        transform: translateY(0);
        opacity: 1;
        z-index: 999;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0.5rem 0;
        display: none;
    }

    .nav-item.active .dropdown {
        display: block;
    }
}

/* ==========================================================================
   PREMIUM HOVER AND INTERACTION EFFECT IMPROVEMENTS (UI/UX PRO MAX)
   ========================================================================== */

/* Navigation Links - Smooth Underline Slide Effect */
.nav-item > a {
    position: relative;
    display: inline-block;
}

.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

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

/* Social Icon - Premium Micro-interactions */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.05);
    background-color: var(--accent-orange) !important;
    box-shadow: 0 6px 15px rgba(239, 138, 0, 0.3);
}

/* Smooth Scrolling Customizations */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
}

/* ==========================================================================
   New Homepage Context Sections (Stats, Portfolio, Benefits, Onboarding)
   ========================================================================== */

/* 1. Zahlen & Fakten (Stats) */
.stats-section {
    background: var(--bg-light);
    color: var(--text-main);
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.stat-card {
    text-align: center;
    padding: var(--space-xxl);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(239, 138, 0, 0.4);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: var(--space-sm);
    line-height: 1;
    white-space: nowrap;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: var(--space-xs);
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 2. Produktportfolio */
.portfolio-section {
    padding: var(--space-5xl) 0;
    background: var(--bg-light);
}

.portfolio-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: var(--space-xxl);
    background: var(--bg-light);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: rgba(239, 138, 0, 0.25);
}

.portfolio-icon-wrapper {
    width: 52px;
    height: 52px;
    background: rgba(239, 138, 0, 0.08);
    color: var(--accent-orange);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .portfolio-icon-wrapper {
    background: var(--accent-orange);
    color: #ffffff;
    transform: scale(1.05);
}

.portfolio-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 0.5rem;
    word-break: break-word;
    hyphens: auto;
}

.portfolio-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.portfolio-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-orange);
    background: rgba(239, 138, 0, 0.08);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    align-self: flex-start;
}

/* 3. Vertriebspartner-Vorteile */
.benefits-summary-section {
    padding: var(--space-5xl) 0;
    background: var(--bg-alt);
}

.benefit-summary-card {
    background: var(--bg-light);
    padding: var(--space-xxl);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.benefit-summary-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(239, 138, 0, 0.2);
}

.benefit-summary-icon {
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
    display: inline-flex;
}

.benefit-summary-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-main);
    word-break: break-word;
    hyphens: auto;
}

.benefit-summary-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 4. Der Onboarding-Prozess */
.onboarding-section {
    padding: var(--space-5xl) 0;
    background: var(--bg-light);
}

.onboarding-steps {
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
    margin-top: var(--space-3xl);
    position: relative;
}

.onboarding-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.onboarding-badge {
    width: 64px;
    height: 64px;
    background: var(--bg-light);
    border: 3px solid var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin: 0 auto var(--space-lg) auto;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.onboarding-step:hover .onboarding-badge {
    background: var(--accent-orange);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.onboarding-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-main);
}

.onboarding-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Connector line on desktop */
@media (min-width: 769px) {
    .onboarding-steps::before {
        content: '';
        position: absolute;
        top: 32px;
        left: 15%;
        right: 15%;
        height: 2px;
        background: rgba(239, 138, 0, 0.15);
        z-index: 1;
    }
}

@media (max-width: 768px) {
    .onboarding-steps {
        flex-direction: column;
        gap: 3rem;
    }
    .onboarding-step {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Inline Form and Testimonial Page Enhancements */
.form-input {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-glow);
    background: #ffffff;
}

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

.error-msg {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.35rem;
    display: none;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.form-select {
    width: 100%;
    padding: 0.8rem 2.5rem 0.8rem 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--text-main);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-select:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-glow);
    background: #ffffff;
}

.select-arrow {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    color: var(--text-muted);
    transition: transform 0.25s ease, color 0.25s ease;
}

.form-select:focus + .select-arrow {
    color: var(--accent-orange);
    transform: translateY(-50%) rotate(180deg);
}

.form-select option {
    background: #ffffff;
    color: var(--text-main);
    font-family: var(--font-main);
    padding: 0.5rem;
}

.testimonial-card {
    border: 1px solid rgba(239, 138, 0, 0.08);
}

/* ==========================================================================
   Commission Calculator Section
   ========================================================================== */

/* Slider container and elements */
.calculator-slider-container {
    position: relative;
    margin: 1.5rem 0 2.5rem 0;
}

.calculator-slider-container label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.slider-value-display {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-orange);
    background: rgba(239, 138, 0, 0.06);
    padding: 0.25rem 1.2rem;
    border-radius: 30px;
    display: inline-block;
    border: 1px solid rgba(239, 138, 0, 0.15);
}

.custom-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.05);
    outline: none;
    margin: 0;
    cursor: pointer;
    transition: background 0.15s ease;
}

/* Webkit browser thumb */
.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid var(--accent-orange);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.15s ease;
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(239, 138, 0, 0.15);
}

/* Firefox browser thumb */
.custom-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid var(--accent-orange);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.15s ease;
}

.custom-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(239, 138, 0, 0.15);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Progress Bar & Status Tier Styling */
.status-tier-container {
    background: rgba(239, 138, 0, 0.02);
    border: 1px solid rgba(239, 138, 0, 0.06);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    transition: all 0.3s ease;
}

.status-tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.status-tier-badge {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.status-tier-badge.tier-einsteiger {
    background: rgba(75, 85, 99, 0.1);
    color: var(--text-muted);
}

.status-tier-badge.tier-profi {
    background: rgba(239, 138, 0, 0.1);
    color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(239, 138, 0, 0.05);
}

.status-tier-badge.tier-elite {
    background: linear-gradient(135deg, rgba(239, 138, 0, 0.1) 0%, rgba(255, 155, 26, 0.2) 100%);
    color: var(--primary-dark);
    border: 1px solid rgba(239, 138, 0, 0.2);
    box-shadow: 0 0 15px rgba(239, 138, 0, 0.1);
}

.status-tier-next-bonus {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.status-progress-track {
    position: relative;
    height: 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    margin: 1.5rem 0 0.5rem 0;
}

.status-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--accent-orange) 0%, #ff9b1a 100%);
    width: 20%;
    transition: width 0.4s cubic-bezier(0.1, 0.8, 0.3, 1);
}

.status-step-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition: all 0.3s ease;
}

.status-step-marker.reached {
    border-color: var(--accent-orange);
    background: var(--accent-orange);
}

.status-step-marker span {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
}

.status-step-marker.reached span {
    color: var(--accent-orange);
}

.status-step-marker.step-30 {
    left: 26.315%;
}

.status-step-marker.step-70 {
    left: 68.421%;
}

/* Calculator Grid & Cards */
.calculator-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }
}

.calculator-card {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.calculator-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.calculator-card.highlight {
    background: #ffffff;
    border: 2px solid var(--accent-orange);
    box-shadow: var(--shadow-glow);
}

.calculator-card.highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(239, 138, 0, 0.25);
}

.calculator-card-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calculator-card.highlight .calculator-card-title {
    color: var(--accent-orange);
}

.calculator-card-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.calculator-card.highlight .calculator-card-value {
    color: var(--accent-orange);
    font-size: 2rem;
}

.calculator-card-period {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tooltip container and styling */
.tooltip-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.35rem;
    color: var(--text-muted);
    cursor: pointer;
    vertical-align: middle;
    transition: color 0.2s ease;
}

.tooltip-container:hover {
    color: var(--accent-orange);
}

.tooltip-icon {
    font-size: 0.7rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-style: normal;
}

.tooltip-text {
    display: none;
    visibility: hidden;
    width: 200px;
    background-color: var(--text-main);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 0.6rem;
    position: absolute;
    z-index: 10;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    font-size: 0.75rem;
    line-height: 1.3;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--text-main) transparent transparent transparent;
}

.tooltip-container:hover .tooltip-text,
.tooltip-container:focus .tooltip-text {
    display: block;
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Specific styling to make the man larger on the homepage hero section */
.homepage-hero-image {
    transform: scale(1.25) translateY(14%) !important;
}

/* ==========================================================================
   Responsive layout fixes for medium viewports (prevent "zu eng" layout)
   ========================================================================== */
@media (max-width: 1380px) {
    .header-container {
        padding: 0.8rem 1.5rem;
    }
    .nav-list {
        gap: 1.1rem;
    }
    .header-actions {
        gap: 0.35rem;
    }
    .nav-item > a {
        font-size: 0.88rem;
    }
    .header-actions .btn {
        padding: 0.6rem 1rem;
        font-size: 0.88rem;
    }
    .hero-image {
        transform: scale(1.05) translateY(8%) !important;
    }
    .homepage-hero-image {
        transform: scale(1.22) translateY(16%) !important;
    }
    .hero-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 1180px) {
    .header-actions {
        display: none; /* Collapses buttons to prevent wrapping on tablet/medium screen widths */
    }
    .nav-list {
        gap: 0.9rem;
    }
}


/* ==========================================================================
   Cookie Banner
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 600px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 24px;
    display: none;
    flex-direction: column;
    gap: 16px;
    border: 1px solid rgba(0,0,0,0.05);
}

.cookie-banner.show {
    display: flex;
    animation: slideUp 0.4s ease-out forwards;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-banner-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 8px 0;
}

.cookie-banner-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-text a {
    color: var(--accent-orange);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.cookie-banner-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.cookie-btn-accept {
    background: var(--accent-orange);
    color: #fff;
}

.cookie-btn-accept:hover {
    background: var(--accent-orange-dark);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid #ccc;
}

.cookie-btn-decline:hover {
    background: #f5f5f5;
}

.cookie-btn-settings {
    background: transparent;
    color: var(--text-muted);
    text-decoration: underline;
    flex: 100%;
    margin-top: 8px;
    padding: 5px;
    font-size: 0.85rem;
}

.cookie-btn-settings:hover {
    color: var(--text-main);
}

/* Responsive Portal Iframe Preview */
@media (max-width: 768px) {
    .portal-image-wrapper {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        aspect-ratio: auto !important;
        height: 500px !important;
        border-radius: 8px !important;
    }
    .portal-image-wrapper iframe {
        width: 800px !important;
        height: 500px !important;
        max-width: none !important;
    }
}

/* ============================================
   B2B GEWERBEKUNDEN PAGE STYLES
   ============================================ */

/* B2B Hero Section */
.b2b-hero {
    min-height: calc(100vh - 80px);
    position: relative;
    background: linear-gradient(-45deg, #0b1120, #172554, #25528d, #1e3a8a, #0b1120);
    background-size: 400% 400%;
    animation: heroGradientShift 15s ease infinite;
    overflow: hidden;
    padding: 6rem 2rem;
    display: flex;
    align-items: center;
}

.b2b-hero::before,
.b2b-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(80px);
    opacity: 0.7;
}

.b2b-hero::before {
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, transparent 60%);
    animation: floatOrb 15s ease-in-out infinite alternate;
}

.b2b-hero::after {
    bottom: -20%;
    right: -10%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(255, 155, 26, 0.45) 0%, transparent 60%);
    animation: floatOrb2 18s ease-in-out infinite alternate-reverse;
}

.b2b-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.b2b-hero-content {
    text-align: left;
}

.b2b-hero-content .badge {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.b2b-hero-content h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -1px;
}

.b2b-hero-content p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 90%;
}

.b2b-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.b2b-hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.b2b-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Trust Bar */
.trust-bar {
    background: #ffffff;
    padding: 4rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.trust-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(239, 138, 0, 0.06) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.trust-stat {
    text-align: center;
    padding: 1rem;
}

.trust-stat-number {
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--accent-orange);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.trust-stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* B2B Service Cards */
.b2b-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
}

.b2b-service-card {
    background: #ffffff;
    border: 1px solid rgba(239, 138, 0, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.b2b-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.b2b-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(239, 138, 0, 0.2);
}

.b2b-service-card:hover::before {
    opacity: 1;
}

.b2b-service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(239, 138, 0, 0.25);
}

.b2b-service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.b2b-service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* B2B Advantages Section */
.b2b-advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.b2b-advantages-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.b2b-advantages-image img {
    width: 100%;
    height: auto;
    display: block;
}

.b2b-advantages-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.b2b-advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.b2b-advantage-item:hover {
    background: rgba(239, 138, 0, 0.04);
}

.b2b-advantage-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: rgba(239, 138, 0, 0.1);
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 2px;
}

.b2b-advantage-text h4 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    color: var(--text-main);
    font-weight: 600;
}

.b2b-advantage-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Process Steps */
.process-steps {
    display: flex;
    gap: 0;
    justify-content: center;
    padding: 2rem 0;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    padding: 0 1rem;
}

.process-step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(239, 138, 0, 0.3);
}

.process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 28px;
    left: calc(50% + 28px);
    width: calc(100% - 56px);
    height: 2px;
    background: linear-gradient(90deg, var(--accent-orange), rgba(239, 138, 0, 0.2));
    z-index: 1;
}

.process-step h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--accent-orange);
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 200px;
    margin: 0 auto;
}

/* Branch / Industry Cards */
.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 1.5rem;
}

.branch-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(239, 138, 0, 0.08);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.branch-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.branch-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.branch-card h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.branch-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(239, 138, 0, 0.15);
}

.faq-item.active {
    border-color: rgba(239, 138, 0, 0.25);
    box-shadow: 0 4px 15px rgba(239, 138, 0, 0.08);
}

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

.faq-toggle {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: rgba(239, 138, 0, 0.1);
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.active .faq-toggle {
    background: var(--accent-orange);
    color: #ffffff;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem;
}

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

/* B2B CTA Section */
.b2b-cta-section {
    background: linear-gradient(-45deg, #0b1120, #172554, #25528d, #1e3a8a, #0b1120);
    background-size: 400% 400%;
    animation: heroGradientShift 15s ease infinite;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.b2b-cta-section::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(239, 138, 0, 0.2) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
}

.b2b-cta-section h2 {
    color: #ffffff;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.b2b-cta-section > p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.b2b-cta-section .btn {
    position: relative;
    z-index: 2;
}

.b2b-cta-badges {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.b2b-cta-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.b2b-cta-badge-icon {
    color: var(--accent-orange);
    font-size: 1.3rem;
}

/* Rechnung Upload Section */
.upload-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
}

.upload-box {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    border: 2px dashed rgba(239, 138, 0, 0.3);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.upload-box:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 10px 30px rgba(239, 138, 0, 0.1);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.upload-box h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.upload-box p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* ============================================
   B2B PAGE RESPONSIVE STYLES
   ============================================ */

@media (max-width: 991px) {
    .b2b-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .b2b-hero-content {
        text-align: center;
    }

    .b2b-hero-content p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .b2b-hero-actions {
        justify-content: center;
    }

    .b2b-advantages-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

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

@media (max-width: 768px) {
    .b2b-hero {
        padding: 3rem 1.5rem;
        min-height: auto;
    }

    .trust-bar {
        padding: 2.5rem 1rem;
    }

    .trust-bar-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .process-step {
        padding: 0;
        margin-bottom: 2rem;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

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

    .b2b-cta-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .b2b-cta-section {
        padding: 3rem 1.5rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 1rem 1.25rem;
    }

    .b2b-advantage-item {
        padding: 0.75rem;
    }

    .upload-box {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .branch-grid {
        grid-template-columns: 1fr;
    }

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

    .trust-stat {
        padding: 0.5rem;
    }
}
