/* ===================================
   DESIGN SYSTEM & VARIABLES
   =================================== */
:root {
    /* Colors - Warm Trust Palette */
    --color-primary: #1a5f4a;
    --color-primary-dark: #134438;
    --color-primary-light: #2a8066;
    --color-accent: #c9990d;
    --color-accent-light: #d4a853;

    /* Neutrals */
    --color-bg: #fdfbf7;
    --color-bg-alt: #f5f1ea;
    --color-bg-dark: #1a1a1a;
    --color-text: #2d2d2d;
    --color-text-light: #555555;
    --color-text-muted: #757575;
    --color-white: #ffffff;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, rgba(26, 95, 74, 0.95) 0%, rgba(42, 128, 102, 0.9) 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8f6f2 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.95rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2.25rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;

    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.8;
    --line-height-loose: 2.0;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   ACCESSIBILITY
   =================================== */
/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-md) var(--space-xl);
    z-index: 10000;
    border-radius: 0 0 var(--radius-sm) 0;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus indicators for all interactive elements */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Remove default focus for mouse users, keep for keyboard */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* ===================================
   ANIMATIONS
   =================================== */
/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    will-change: opacity, transform;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

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

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

ul {
    list-style: none;
}

/* ===================================
   LAYOUT
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    /* Changed from 600 to 700 for stronger hierarchy */
    line-height: 1.2;
    color: var(--color-text);
}

h1 {
    font-size: var(--font-size-5xl);
    line-height: 1.1;
}

h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
}

h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.lead {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    line-height: 1.7;
}

.section-label {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-lg);
    color: #042f2e;
    /* Deep teal (text-teal-950) for design harmony */
    letter-spacing: -0.025em;
    /* tracking-tight for modern, compact look */
}

.section-intro {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    max-width: 700px;
    margin-bottom: var(--space-3xl);
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 500;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--color-text);
    box-shadow: var(--shadow-md);
}

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

.btn-full {
    width: 100%;
}

/* Hero CTA Section with Enhanced Visibility */
.hero-cta-wrapper {
    margin-top: var(--space-2xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero Button - larger size with improved visibility */
.hero-content .btn-primary,
.hero-cta {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(201, 153, 13, 0.4), 0 0 0 0 rgba(201, 153, 13, 0.4);
    }
    50% {
        box-shadow: 0 10px 30px rgba(201, 153, 13, 0.4), 0 0 0 8px rgba(201, 153, 13, 0);
    }
}

.hero-cta:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    animation: none;
}

/* Trust Badges in Hero */
.trust-badges {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #f0ece5;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: var(--space-xs) 0;
}

.logo-image {
    height: 100px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-logo:hover .logo-image {
    transform: scale(1.05);
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
    letter-spacing: 0.05em;
}

.logo-subtitle {
    font-size: 1rem;
    color: #555;
    margin-top: 5px;
    letter-spacing: 0.05em;
}

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

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
    padding: var(--space-xs) 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.nav-cta {
    background: var(--color-primary);
    color: var(--color-white) !important;
    padding: var(--space-sm) var(--space-lg) !important;
    border-radius: var(--radius-full);
}

.nav-cta:hover {
    background: var(--color-primary-dark);
}

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

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-left: var(--space-lg);
    padding-left: var(--space-lg);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.lang-link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.lang-link:hover {
    color: var(--color-primary);
    background: rgba(26, 95, 74, 0.1);
}

.lang-link.active {
    color: var(--color-white);
    background: var(--color-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 70px;
    /* Account for fixed navbar */
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 95, 74, 0.82) 0%, rgba(42, 128, 102, 0.80) 100%);
    /* Balanced overlay for good text readability and image visibility */
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: var(--space-xl);
    padding-top: 100px;
    /* Extra space for navbar + eyebrow visibility */
}

.hero-title {
    color: var(--color-white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-eyebrow {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-lg);
}

.hero-slogan {
    color: var(--color-accent-light);
    /* Changed from gold #d4af37 to accent-light for consistency */
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 600;
    font-style: normal;
    /* Removed italic for modern look */
    margin-top: var(--space-lg);
    margin-bottom: var(--space-xl);
    letter-spacing: 0.02em;
}

.hero-subline {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    margin-bottom: var(--space-2xl);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 2.0;
    /* Improved from 1.8 for better readability */
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    animation: float 2s ease-in-out infinite;
    transition: color 0.3s ease;
}

.hero-scroll:hover,
.hero-scroll:focus {
    color: var(--color-white);
    cursor: pointer;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===================================
   VALUES SECTION
   =================================== */
.values {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

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

.value-card {
    text-align: center;
    padding: var(--space-3xl);
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(26, 95, 74, 0.08);
}

.value-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 40px rgba(26, 95, 74, 0.15);
    border-color: var(--color-primary-light);
}

.value-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-xl);
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.value-card h3 {
    margin-bottom: var(--space-md);
    color: var(--color-primary);
}

.value-card p {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
}

/* ===================================
   TRUST STATEMENT
   =================================== */
.trust-statement {
    padding: var(--space-4xl) 0;
    background: var(--color-primary);
}

.trust-statement blockquote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: var(--font-size-2xl);
    font-weight: 300;
    color: var(--color-white);
    font-style: italic;
    line-height: 1.6;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: var(--space-4xl) 0;
    background: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 4px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
}

.about-badge {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    background: var(--color-white);
    padding: var(--space-md) var(--space-xl);
    /* Increased from sm/lg for better visibility */
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

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

/* Profile Info - Name and Title under photo */
.profile-info {
    text-align: center;
    margin-top: var(--space-lg);
    padding: var(--space-md) 0;
}

.profile-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.profile-title {
    font-size: var(--font-size-base);
    color: var(--color-text-light);
    line-height: 1.4;
}

.about-content h2 {
    margin-bottom: var(--space-lg);
    color: #042f2e;
    /* Deep teal (text-teal-950) for design harmony */
    letter-spacing: -0.025em;
    /* tracking-tight for modern, compact look */
}

.about-content .lead {
    margin-bottom: var(--space-md);
}

.about-content>p {
    margin-bottom: var(--space-2xl);
    color: var(--color-text-light);
}

/* ===================================
   UI UPDATE: PROFIL KARTEN & LISTEN
   =================================== */

/* Section Divider - Visuelle Zwischenüberschrift */
.section-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2.5rem 0 1.5rem 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.3;
}

.divider-text {
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    white-space: nowrap;
}

/* Container für die zwei Stärken (Sozialarbeiter vs. Analytiker) */
.profile-strengths {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Auf Desktop nebeneinander */
@media (min-width: 768px) {
    .profile-strengths {
        grid-template-columns: 1fr 1fr;
    }
}

/* Das Design der einzelnen Karte */
.strength-card {
    background: var(--color-bg-alt);
    /* Helles Beige */
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-accent);
    /* Goldener Strich links */
    transition: transform 0.3s ease;
}

.strength-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.strength-card h4 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.strength-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--color-text-light);
}

/* Verbesserung der Qualifikations-Liste (Icons) */
.qualifications {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.qual-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.qual-icon {
    font-size: 1.5rem;
    background: rgba(45, 106, 79, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.qual-content h4 {
    margin-bottom: 0.25rem;
    color: var(--color-primary-dark);
}

.qual-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

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

.exp-card {
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--color-accent);
}

.exp-card h5 {
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

.exp-card p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Changed to 2 columns for better balance */
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--color-primary-light);
}

.service-main {
    grid-row: span 2;
    /* Main card spans 2 rows for emphasis */
    border: 3px solid var(--color-accent);
    /* Thicker border for visibility */
    background: linear-gradient(145deg, #ffffff 0%, #fffef8 100%);
    /* Subtle warm gradient */
}

.service-badge {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    background: var(--gradient-accent);
    color: var(--color-text);
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--space-lg);
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.service-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

.service-highlight {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.service-card>p {
    color: var(--color-text-light);
    font-size: 1rem;
    margin-bottom: var(--space-lg);
    line-height: var(--line-height-relaxed);
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.service-list li {
    font-size: 0.95rem;
    color: var(--color-text-light);
    padding-left: var(--space-xl);
    position: relative;
    line-height: 1.8;
}

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

.not-included {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl);
    border: 2px solid #dee2e6;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

.not-included h4 {
    margin-bottom: var(--space-md);
    color: var(--color-text);
    font-size: var(--font-size-xl);
    font-weight: 600;
}

.not-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.not-list span {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--color-text);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #6c757d;
    line-height: var(--line-height-relaxed);
    text-align: left;
}

.not-list span::before {
    content: 'ℹ️';
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ===================================
   VIDEO SECTION
   =================================== */
.video-section {
    padding: var(--space-4xl) 0;
    background: var(--color-bg);
}

.video-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.video-description {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    max-width: 700px;
    margin: var(--space-lg) auto 0;
    line-height: 1.6;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.faq-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.faq-image {
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.faq-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center 20%;
    /* Show more from bottom, crop Gemini logo at very bottom */
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

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

.faq-item.active {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--color-text);
    text-align: left;
    transition: var(--transition);
    min-height: 60px;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-item.active .faq-question {
    color: var(--color-primary);
    font-weight: 600;
}

.faq-toggle {
    font-size: var(--font-size-xl);
    font-weight: 300;
    color: var(--color-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    width: 28px;
    height: 28px;
    text-align: center;
    flex-shrink: 0;
}

.faq-toggle::before {
    content: '▼';
    font-size: 1rem;
    display: block;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 2000px;
}

.faq-answer>* {
    padding: 0 var(--space-xl);
}

.faq-answer>*:last-child {
    padding-bottom: var(--space-xl);
}

.faq-answer p {
    margin-bottom: var(--space-md);
    color: var(--color-text-light);
}

.faq-answer ul {
    margin-bottom: var(--space-md);
    padding-left: calc(var(--space-xl) + var(--space-lg));
}

.faq-answer li {
    list-style: disc;
    color: var(--color-text-light);
    margin-bottom: var(--space-xs);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
}

.contact-info h2 {
    margin-bottom: var(--space-lg);
}

.contact-info .lead {
    margin-bottom: var(--space-2xl);
}

.contact-features {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.feature-icon {
    font-size: var(--font-size-lg);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

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

.contact-item strong {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.contact-item a,
.contact-item span {
    color: var(--color-text-light);
}

.contact-item a:hover {
    color: var(--color-primary);
    transform: translateX(3px);
}

.contact-item a {
    transition: all 0.3s ease;
    display: inline-block;
}

.languages h4 {
    margin-bottom: var(--space-md);
    color: var(--color-text-light);
    font-weight: 500;
}

.language-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.lang-badge {
    background: var(--color-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* Copy to Clipboard Button */
.copy-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    position: relative;
}

.btn-copy {
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    color: var(--color-text-light);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-copy:hover {
    color: var(--color-primary);
    background: rgba(26, 95, 74, 0.08);
}

.btn-copy:active {
    transform: scale(0.95);
}

.copy-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: var(--color-text);
    color: var(--color-white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    pointer-events: none;
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px;
    border-style: solid;
    border-color: var(--color-text) transparent transparent transparent;
}

.copy-tooltip.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.lang-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.flag-icon {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

/* Kurdish flag colors */
.lang-badge-kurdish {
    font-weight: 600;
}

.kurd-red {
    color: #dc2626;
}

.kurd-yellow {
    color: #eab308;
}

.kurd-green {
    color: #16a34a;
}

.contact-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    padding: var(--space-md);
    border: 2px solid rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    transition: var(--transition);
    min-height: 44px;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #dc2626;
    background: #fef2f2;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: var(--color-primary);
    background: #f0fdf4;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26, 95, 74, 0.15);
    background: var(--color-white);
}

/* Required field indicator */
.form-group .required {
    color: #dc2626;
    font-weight: 700;
}

/* Form success message */
.form-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: var(--space-3xl);
    border-radius: var(--radius-lg);
    text-align: center;
    animation: slideInScale 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-success h3 {
    color: white;
    margin-bottom: var(--space-md);
    font-size: var(--font-size-2xl);
}

.form-success p {
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--font-size-lg);
}

.form-success::before {
    content: '✓';
    display: block;
    font-size: 4rem;
    margin-bottom: var(--space-lg);
    animation: checkmarkPop 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Form error message */
.form-error {
    background: #fef2f2;
    border: 2px solid #dc2626;
    color: #991b1b;
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    margin-top: var(--space-md);
    font-size: var(--font-size-sm);
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

/* Privacy notice styling */
.form-privacy {
    background: var(--color-bg-alt);
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-primary);
    margin-top: var(--space-md);
}

.form-privacy p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin: 0;
}

.form-privacy a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 500;
}

.form-privacy a:hover {
    color: var(--color-primary-dark);
}

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

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-white);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.footer-logo-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-light);
    line-height: 1;
    letter-spacing: 0.05em;
}

.footer-logo-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-light);
    opacity: 0.9;
    margin-top: 5px;
    letter-spacing: 0.05em;
}

.footer-gg1-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.footer-tagline {
    display: block;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.5);
    margin-top: var(--space-xs);
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-links a {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover {
    color: var(--color-white);
}

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

.footer-bottom p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.4);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid .value-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

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

    .service-main {
        grid-column: span 2;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2.5rem;
        --font-size-3xl: 1.75rem;
    }

    /* Mobile navbar adjustments */
    .nav-container {
        height: auto;
        min-height: 60px;
        padding: 8px 12px;
    }

    .nav-logo {
        gap: 6px;
        flex-shrink: 0;
    }

    /* Logo adjustments for mobile */
    .logo-image {
        height: 40px;
    }

    .logo-text-container {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }

    .logo-text {
        font-size: 1rem;
        line-height: 1;
        font-weight: 700;
    }

    .logo-subtitle {
        display: none !important;
        /* Hidden on mobile to save space and prevent wrapping */
    }

    /* Footer adjustments */
    .footer-brand {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

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

    .footer-logo-text {
        font-size: 1.5rem;
    }

    .footer-logo-subtitle {
        font-size: 0.85rem;
    }

    /* Timeline Mobile Anpassungen */
    .timeline-container::before {
        left: 20px;
    }

    .timeline-phase {
        margin-left: 50px;
    }

    .phase-title {
        font-size: var(--font-size-base);
        padding: var(--space-sm) var(--space-md);
    }

    .timeline-item {
        margin-left: 50px;
        padding-left: var(--space-lg);
    }

    .timeline-marker {
        left: -70px;
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
    }

    .timeline-content {
        padding: var(--space-lg);
    }

    .timeline-content h4 {
        font-size: var(--font-size-base);
    }

    .timeline-note {
        flex-direction: column;
        padding: var(--space-lg);
        text-align: center;
    }

    .note-icon {
        font-size: 2rem;
    }

    /* Mobile FAQ Fix - mehr Platz für lange Antworten */
    .faq-item.active .faq-answer {
        max-height: 3000px;
    }

    /* Mobile Navigation Backdrop */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: -1;
    }

    .nav-menu.active::before {
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-lg);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        /* Changed from -150% to -100% */
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
        /* Ensure toggle is above other nav elements */
    }

    .lang-switcher {
        position: absolute;
        top: 15px;
        right: 80px;
        /* Position to the left of nav-toggle */
        z-index: 1000;
        border-left: none;
        padding-left: 0;
        margin-left: 0;
    }

    .lang-link {
        font-size: 0.875rem;
        /* Slightly smaller on mobile */
    }

    /* Improve mobile touch targets */
    .nav-link {
        padding: var(--space-md) 0;
        /* Increased from xs for better touch target */
        min-height: 44px;
        display: flex;
        align-items: center;
    }

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

    .values-grid .value-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

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

    .service-main {
        grid-column: span 1;
    }

    .experience-cards {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-xl);
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-features {
        flex-direction: column;
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: var(--space-md);
    }

    /* Fix hero slogan for small phones */
    .hero-slogan {
        font-size: clamp(1.15rem, 4vw, 2.25rem);
        line-height: 1.4;
        margin-bottom: var(--space-lg);
    }

    .hero-subline {
        font-size: clamp(0.95rem, 2vw, 1.35rem);
        line-height: 1.6;
    }

    /* Trust badges stack vertically on small screens */
    .trust-badges {
        flex-direction: column;
        width: 100%;
        gap: var(--space-sm);
    }

    .trust-badge {
        width: 100%;
        text-align: center;
        padding: var(--space-sm) var(--space-md);
    }

    .hero-cta-wrapper {
        padding: var(--space-lg);
        width: 100%;
    }

    /* Make CTA button full-width on mobile */
    .hero-cta {
        width: 100%;
        min-width: auto;
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }

    /* Service cards more compact on mobile */
    .service-card {
        padding: var(--space-xl);
    }

    .service-list li {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    /* Not-included cards stack on mobile */
    .not-list {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .not-list span {
        font-size: 0.9rem;
    }

    .language-badges {
        justify-content: center;
    }

    /* Ensure all buttons meet touch target requirements */
    .btn {
        min-height: 44px;
    }

    /* Better spacing for mobile */
    .value-card {
        padding: var(--space-xl);
    }

    .value-icon {
        width: 80px;
        height: 80px;
    }

    .value-icon img {
        width: 60px;
        height: 60px;
    }
}

/* Extra small devices (phones, less than 480px) */
@media (max-width: 480px) {
    .nav-container {
        padding: 6px 10px;
        min-height: 55px;
    }

    .nav-logo {
        gap: 5px;
    }

    .logo-image {
        height: 36px;
    }

    .logo-text {
        font-size: 0.95rem;
        font-weight: 700;
    }

    .footer-brand {
        gap: var(--space-xs);
    }

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

    .footer-logo-text {
        font-size: 1.2rem;
    }

    .footer-logo-subtitle {
        font-size: 0.75rem;
    }
}

/* ===================================
   TIMELINE - Betreuungsablauf
   =================================== */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: var(--space-3xl) auto;
    padding: var(--space-2xl) 0;
}

/* Vertikale Linie */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg,
        var(--color-primary) 0%,
        var(--color-primary-light) 50%,
        var(--color-accent) 100%);
    border-radius: 2px;
}

/* Phasen-Überschriften */
.timeline-phase {
    margin: var(--space-3xl) 0 var(--space-xl) 60px;
    position: relative;
}

.timeline-phase:first-child {
    margin-top: 0;
}

.phase-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-accent);
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg,
        rgba(201, 153, 13, 0.1) 0%,
        rgba(212, 168, 83, 0.05) 100%);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-md);
    display: inline-block;
    box-shadow: var(--shadow-sm);
}

/* Timeline Items */
.timeline-item {
    position: relative;
    margin-left: 60px;
    margin-bottom: var(--space-2xl);
    padding-left: var(--space-2xl);
}

/* Nummern-Kreise */
.timeline-marker {
    position: absolute;
    left: -90px;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg,
        var(--color-primary) 0%,
        var(--color-primary-light) 100%);
    border: 4px solid var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(26, 95, 74, 0.3);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(26, 95, 74, 0.4);
}

/* Timeline Content */
.timeline-content {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(26, 95, 74, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 12px solid var(--color-white);
    filter: drop-shadow(-2px 0 2px rgba(0, 0, 0, 0.05));
}

.timeline-item:hover .timeline-content {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

.timeline-content h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.timeline-content p {
    color: var(--color-text-light);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

.timeline-content strong {
    color: var(--color-primary-dark);
    background: rgba(26, 95, 74, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Info-Box am Ende */
.timeline-note {
    max-width: 900px;
    margin: var(--space-3xl) auto;
    background: linear-gradient(135deg,
        #fff9e6 0%,
        #fff5d6 100%);
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: 0 8px 24px rgba(201, 153, 13, 0.15);
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.note-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.note-content h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.note-content p {
    color: var(--color-text);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

/* ===================================
   LEGAL PAGES (Impressum, Datenschutz)
   =================================== */
.legal-page {
    padding: calc(80px + var(--space-4xl)) 0 var(--space-4xl);
    background: var(--color-bg);
    min-height: 100vh;
}

.legal-page h1 {
    font-size: var(--font-size-4xl);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.legal-intro {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.legal-page h2 {
    font-size: var(--font-size-2xl);
    color: var(--color-primary);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
}

.legal-page h3 {
    font-size: var(--font-size-xl);
    color: var(--color-text);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.legal-page p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.legal-page ul {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
}

.legal-page ul li {
    margin-bottom: var(--space-sm);
}

.legal-page a {
    color: var(--color-primary);
    text-decoration: underline;
}

.legal-page a:hover {
    color: var(--color-primary-dark);
}

.legal-back {
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 900;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}

.scroll-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.scroll-to-top:focus {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}