/* ==========================================================================
   Süd-West GmbH — Premium Corporate Website
   Navy / Blue / Green Design System
   ========================================================================== */

/* --- CSS Custom Properties --- */
:root {
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-primary-light: rgba(37, 99, 235, 0.08);
    --color-accent: #10b981;
    --color-accent-hover: #059669;
    --color-emergency: #dc2626;
    --color-emergency-hover: #b91c1c;
    --color-dark: #0a1628;
    --color-navy: #1e3a5f;
    --color-text: #1a1a2e;
    --color-text-light: #64748b;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-light: #f1f5f9;
    --color-footer: #0a1628;
    --color-footer-text: #94a3b8;
    --color-border: #e2e8f0;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --max-width: 1200px;
    --header-height: 80px;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 50px -12px rgba(0,0,0,0.15);
    --shadow-hover: 0 25px 60px -15px rgba(0,0,0,0.18);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s ease;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

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

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

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin-bottom: 1rem; }

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

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--color-dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 1000;
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    background: rgba(10, 22, 40, 0.97);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.logo img {
    height: 44px;
    width: auto;
}

/* --- Navigation --- */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-xs);
    transition: all var(--transition);
    position: relative;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ffffff;
    background: rgba(255,255,255,0.1);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 6px;
    vertical-align: middle;
    transition: transform var(--transition);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 260px;
    background: var(--color-dark);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-xs);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
}

.dropdown-menu a:hover {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
}

/* Emergency bar */
.emergency-bar {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-emergency);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: all var(--transition);
}

.emergency-bar:hover {
    background: var(--color-emergency-hover);
    color: #fff;
    transform: scale(1.02);
}

.emergency-bar svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Mobile menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-text);
}

.menu-toggle {
    color: #ffffff;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    margin: 5px 0;
    transition: all var(--transition);
    border-radius: 2px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    margin-top: var(--header-height);
    overflow: hidden;
    background: var(--color-dark);
    margin-bottom: -1px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.65) 0%, rgba(30, 58, 95, 0.35) 50%, rgba(10, 22, 40, 0.55) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 720px;
    padding: 5rem 0 8rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.15);
    color: #93c5fd;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.25);
    backdrop-filter: blur(10px);
}

.hero h1 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
}

.hero h1 span {
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    max-width: 580px;
    line-height: 1.8;
}

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

/* Hero Stats Bar */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 1.25rem 0;
}

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

.hero-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.hero-stat-label {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    margin-top: 0.15rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    font-family: var(--font-body);
}

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

.btn-primary:hover {
    background: var(--color-primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    border-color: var(--color-border);
    color: var(--color-text);
    background: var(--color-bg);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-emergency {
    background: var(--color-emergency);
    color: #fff;
}

.btn-emergency:hover {
    background: var(--color-emergency-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.btn-hero-outline {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
    transform: translateY(-2px);
}

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

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

/* --- Sections --- */
.section {
    padding: 6rem 0;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-dark {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-navy) 100%);
    color: #ffffff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #ffffff;
}

.section-dark p {
    color: #cbd5e1;
}

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

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-top: 1rem;
    line-height: 1.7;
}

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

.section-dark .section-label {
    color: #60a5fa;
}

/* --- Audience Cards --- */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.audience-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.audience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity var(--transition);
}

.audience-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
    color: inherit;
}

.audience-card:hover::before {
    opacity: 1;
}

.audience-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    transition: all var(--transition);
}

.audience-card:hover .audience-card-icon {
    background: var(--color-primary);
    color: #fff;
}

.audience-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.audience-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    flex: 1;
    line-height: 1.7;
}

.audience-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.audience-card-link svg {
    transition: transform var(--transition);
}

.audience-card:hover .audience-card-link svg {
    transform: translateX(4px);
}

/* --- Service Cards --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

.service-card {
    background: var(--color-bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
    color: inherit;
}

.service-card-img {
    height: 190px;
    overflow: hidden;
    position: relative;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-img img {
    transform: scale(1.08);
}

.service-card-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    flex: 1;
    line-height: 1.6;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.service-card-link svg {
    transition: transform var(--transition);
}

.service-card:hover .service-card-link svg {
    transform: translateX(4px);
}

/* --- Stats Section --- */
.stats-section {
    display: flex;
    justify-content: center;
    gap: 5rem;
    padding: 2rem 0;
}

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

.stat-number {
    display: inline;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #60a5fa;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* --- Process Steps --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    opacity: 0.2;
}

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

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

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

.step-content p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Reasons / USP Section --- */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.25rem;
}

.reason-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--color-bg);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.reason-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.reason-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50%;
}

.reason-card h4 {
    display: none;
}

.reason-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.6;
}

/* --- Portal Banner --- */
.portal-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.portal-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.portal-banner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.portal-banner-text .section-label {
    color: #60a5fa;
}

.portal-banner-text h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.portal-banner-text p {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.portal-banner-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.portal-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
}

.portal-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.portal-feature svg {
    flex-shrink: 0;
    color: #60a5fa;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1d4ed8 50%, var(--color-navy) 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

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

.cta-section h2 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content h2 {
    color: #ffffff;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85);
}

.cta-section .hero-actions {
    justify-content: center;
}

/* --- Team Section --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2.5rem;
}

/* Für kleine Team-Gruppen (z.B. Geschäftsführung mit 2 Personen): */
/* Karten-Breite fix deckeln und horizontal zentrieren statt linksbündig stretchen. */
.team-grid-compact {
    grid-template-columns: repeat(auto-fit, 220px);
    justify-content: center;
}

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

.team-card-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.25rem;
    border: 3px solid var(--color-bg-alt);
    transition: all var(--transition);
    box-shadow: var(--shadow);
}

.team-card:hover .team-card-img {
    border-color: var(--color-primary);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    transform: scale(1.05);
}

.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-img.placeholder {
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.team-card h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.team-card .role {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.team-card .qualifications {
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

.contact-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Contact form */
.contact-form {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-xs);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition);
    background: var(--color-bg);
    color: var(--color-text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

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

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

/* --- Page Header (Subpages) --- */
.page-header {
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, #eef2f7 100%);
    padding: 3.5rem 0;
    margin-top: var(--header-height);
    border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.page-header p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    margin-top: 0.5rem;
    max-width: 600px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

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

.breadcrumb a:hover {
    color: var(--color-primary);
}

/* --- Content Pages --- */
.content-page {
    padding: 3rem 0 5rem;
}

.content-page .content-body {
    max-width: 800px;
}

.content-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.content-body ul, .content-body ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.content-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.content-hero-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.content-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.sidebar-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-border);
}

.sidebar-card h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* --- Emergency Banner --- */
.emergency-banner {
    background: linear-gradient(135deg, var(--color-emergency) 0%, #991b1b 100%);
    color: #fff;
    text-align: center;
    padding: 3rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.emergency-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.emergency-banner h2 {
    color: #fff;
    margin-bottom: 0.75rem;
    position: relative;
}

.emergency-banner p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    position: relative;
}

.emergency-banner .phone {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    position: relative;
}

.emergency-banner .phone a {
    color: #fff;
    transition: opacity var(--transition);
}

.emergency-banner .phone a:hover {
    opacity: 0.85;
    color: #fff;
}

/* --- Footer --- */
.site-footer {
    background: var(--color-footer);
    color: var(--color-footer-text);
    padding: 4.5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 1rem;
    color: var(--color-footer-text);
}

.footer-logo {
    height: 40px;
}

.site-footer h4 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
}

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

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

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

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

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    font-size: 0.8rem;
}

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

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

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

/* --- Certificates Grid --- */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.cert-item {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
}

.cert-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

.cert-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xl);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition);
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

/* --- Job Cards --- */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.job-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all var(--transition);
}

.job-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.job-card h3 {
    margin-bottom: 0.5rem;
}

.job-card .job-type {
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.job-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* --- Schadenmeldung cards --- */
.schaden-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.schaden-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.schaden-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity var(--transition);
}

.schaden-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
    color: inherit;
}

.schaden-card:hover::before {
    opacity: 1;
}

.schaden-card-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    border-radius: 50%;
    color: var(--color-primary);
    transition: all var(--transition);
}

.schaden-card:hover .schaden-card-icon {
    background: var(--color-primary);
    color: #fff;
}

.schaden-card h3 {
    font-size: 1.2rem;
}

.schaden-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* --- Feature List --- */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

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

.feature-item svg {
    flex-shrink: 0;
    color: var(--color-accent);
    margin-top: 2px;
}

/* --- Trust Badges --- */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2rem 0;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-badge svg {
    color: var(--color-accent);
}

/* --- Content with Sidebar --- */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

/* --- Method Grid --- */
.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.method-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all var(--transition);
}

.method-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.method-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.method-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

a.process-step,
a.method-card {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.video-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-card h3 {
    font-size: 1.1rem;
    text-align: center;
    margin: 0;
}

.youtube-consent {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.youtube-consent iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.youtube-consent.loaded {
    padding: 0;
}

.youtube-consent-inner p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.youtube-consent-btn {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    border: 0;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background var(--transition);
}

.youtube-consent-btn:hover {
    background: var(--color-accent);
}

.partner-banner {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.partner-banner-text h3 {
    margin: 0 0 0.4rem;
    font-size: 1.2rem;
}

.partner-banner-text p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

a.process-step:hover .step-number {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

a.process-step:hover h3,
a.process-step:hover h4,
a.method-card:hover h3,
a.method-card:hover h4 {
    color: var(--color-primary);
}

/* --- Advantage Grid --- */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.advantage-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.advantage-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow);
}

.advantage-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 50%;
    font-family: var(--font-heading);
}

.advantage-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.advantage-item p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* --- Info Box --- */
.info-box {
    background: var(--color-primary-light);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}

.info-box.warning {
    background: rgba(220, 38, 38, 0.06);
    border-left-color: var(--color-emergency);
}

.info-box h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.info-box p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* --- Emergency Phone (Sidebar) --- */
.emergency-phone {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 0.75rem;
}

.emergency-phone a {
    color: var(--color-emergency);
    transition: opacity var(--transition);
}

.emergency-phone a:hover {
    opacity: 0.8;
    color: var(--color-emergency);
}

/* --- CTA Section Enhancements --- */
.cta-section .btn-primary {
    background: #fff;
    color: var(--color-primary);
    font-weight: 700;
}

.cta-section .btn-primary:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: var(--color-primary);
}

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

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

.cta-phone {
    margin-top: 1rem;
}

.cta-phone a {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
}

.cta-phone a:hover {
    opacity: 0.85;
    color: #fff;
}

/* --- Responsive additions --- */
@media (max-width: 768px) {
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
    .method-grid {
        grid-template-columns: 1fr;
    }
    .advantage-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- Responsive --- */
@media (min-width: 768px) {
    .emergency-bar {
        display: flex;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .portal-banner-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .stats-section {
        gap: 3rem;
    }
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-steps::before {
        display: none;
    }
}

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

    .main-nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-dark);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0;
        overflow-y: auto;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 0.85rem 1rem;
        font-size: 1.05rem;
        width: 100%;
        text-align: left;
    }

    .nav-dropdown > a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        display: none;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-content {
        padding: 3rem 0 7rem;
    }

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

    .hero-stats-grid {
        gap: 2rem;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

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

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

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

    .stats-section {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .stat-item {
        flex: 1;
        min-width: 120px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

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

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

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

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

    .section {
        padding: 4rem 0;
    }

    .portal-banner-features {
        grid-template-columns: 1fr;
    }
}

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

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

    .hero-stats-grid {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}
