/* ==========================================================================
   CSS Variables & Theming (Modernized)
   ========================================================================== */
   :root {
    /* Colors */
    --primary: #0033a0;
    --primary-light: #1a53ff;
    --primary-dark: #001f66;
    
    --accent: #ff6600;
    --accent-hover: #ff8533;
    --accent-light: rgba(255, 102, 0, 0.1);
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #ffffff;
    
    --bg-main: #ffffff;
    --bg-light: #f1f5f9;
    --bg-dark: #0f172a;
    
    --border: #e2e8f0;
    --border-light: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-text: 'Inter', sans-serif;
    
    /* Spacing */
    --container-width: 1440px;
    --border-radius: 8px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(0, 51, 160, 0.15);
    --shadow-accent: 0 8px 16px rgba(255, 102, 0, 0.25);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: 4.5rem; letter-spacing: -0.03em; }
h2 { font-size: 2.75rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

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

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.font-medium { font-weight: 500; }

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

@media (min-width: 1024px) {
    .container {
        padding: 0 100px;
    }
}

.section {
    padding: 100px 0;
    position: relative;
}

.bg-primary { background-color: var(--primary) !important; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.text-white { color: var(--text-light) !important; }
.text-center { text-align: center; }
.text-center-desktop { text-align: center; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Buttons (Modernized)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(255, 102, 0, 0.3);
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-link {
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    position: relative;
    overflow: visible;
}

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

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

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

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

.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--primary);
}

.btn-link:hover {
    color: var(--primary-dark);
}

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

.btn-link:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   Top Bar & Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: var(--container-width);
    z-index: 1000;
    transition: all 0.4s ease;
    border-radius: 100px;
}

/* Top Bar removed */

.header {
    background-color: transparent;
    transition: var(--transition);
    border-radius: inherit;
}

.site-header.scrolled .header, .site-header.menu-active .header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    border-radius: inherit;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    transition: var(--transition);
}

.site-header.scrolled .header-content {
    height: 80px;
}

/* Logos */
.logo img {
    height: 56px;
    transition: var(--transition);
}

.main-logo {
    /* Filter to make the blue logo pure white */
    filter: brightness(0) invert(1);
}

.site-header.scrolled .main-logo, .site-header.menu-active .main-logo {
    /* Revert to original colors when scrolled */
    filter: none;
}

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

/* For footer or other static white logos */
.logo-white-filter {
    filter: brightness(0) invert(1);
}

/* Navigation Links */
.main-nav ul {
    display: flex;
    gap: 36px;
    align-items: center;
}

.main-nav a:not(.btn) {
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
    letter-spacing: 1.5px;
}

.site-header.scrolled .main-nav a:not(.btn), .site-header.menu-active .main-nav a:not(.btn) {
    color: var(--primary-dark);
}

.main-nav a:not(.btn):hover, .main-nav a:not(.btn).active {
    color: var(--accent);
}

.site-header.scrolled .main-nav a:not(.btn):hover, .site-header.scrolled .main-nav a:not(.btn).active,
.site-header.menu-active .main-nav a:not(.btn):hover, .site-header.menu-active .main-nav a:not(.btn).active {
    color: var(--accent);
}

.btn-nav {
    padding: 10px 28px;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    outline: none;
}

.mobile-menu-toggle:focus {
    outline: none;
}

.site-header.scrolled .mobile-menu-toggle, .site-header.menu-active .mobile-menu-toggle {
    color: var(--primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    overflow: hidden;
    padding-top: 40px;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    z-index: 1;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(0, 51, 160, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-kicker {
    display: block;
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.hero h1 {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
        white-space: normal !important;
    }
    .hero p {
        white-space: normal !important;
        font-size: 1.1rem;
    }
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 48px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    margin-bottom: 60px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-light);
    color: var(--text-light);
    background: rgba(0, 51, 160, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

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

.section-title {
    margin-bottom: 24px;
    position: relative;
    line-height: 1.3;
}

.section-subtitle {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 32px;
    font-weight: 500;
    line-height: 1.5;
}

.section-intro {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.max-w-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Services (Modern Cards)
   ========================================================================== */
.grid {
    display: grid;
    gap: 30px;
}

.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Spezifisches Layout für die Leistungs-Karten (3 Spalten) */
#leistungen .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

#leistungen .service-card {
    /* Zurück zu Flexbox, damit Icon oben ist */
    display: flex;
    flex-direction: column;
    padding: 40px;
    height: 100%;
}

#leistungen .card-icon-wrapper {
    margin-bottom: 24px;
}

#leistungen .btn-link {
    margin-top: auto;
    align-self: flex-start;
}

@media (max-width: 768px) {
    #leistungen .cards-grid {
        grid-template-columns: 1fr;
    }
    #leistungen .service-card {
        padding: 30px;
    }
}

.service-card {
    background-color: var(--bg-main);
    padding: 40px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

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

.card-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 51, 160, 0.05) 0%, rgba(0, 51, 160, 0.15) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
    transform: rotate(-5deg);
}

.service-card:hover .card-icon-wrapper {
    transform: rotate(0) scale(1.1);
    background: var(--primary);
}

.card-icon {
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .card-icon {
    color: var(--text-light);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.card-subtitle {
    font-family: var(--font-text);
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 24px;
}

.card-list {
    margin-bottom: 30px;
    flex-grow: 1;
}

.card-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.card-list li i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 2px;
}

.service-card .btn-link {
    align-self: flex-start;
    margin-top: auto;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.about-image {
    position: relative;
}

.glass-effect {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
}

.glass-effect img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.glass-effect::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-xl);
    z-index: 2;
    pointer-events: none;
}



.about-image:hover .glass-effect img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: #ffffff;
    border: 1px solid rgba(255,255,255,1);
    color: var(--primary);
    padding: 30px;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.12);
    text-align: center;
    z-index: 3;
}

.floating-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.experience-badge .years {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-heading);
    color: var(--accent);
}

.experience-badge .label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
    color: var(--text-main);
}

/* ==========================================================================
   Benefits / Why Us (Modernized)
   ========================================================================== */
.section-benefits {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.section-benefits::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(0, 51, 160, 0.2) 0%, transparent 60%);
    z-index: 0;
}

.section-benefits .container {
    position: relative;
    z-index: 1;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
}

.section-benefits .section-intro {
    color: rgba(255, 255, 255, 0.7);
}

.benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    margin-top: 60px;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: var(--border-radius-xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition);
}

.glass-panel:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.15);
}

.benefit-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3);
    transform: rotate(-10deg);
    transition: var(--transition);
}

/* ==========================================================================
   Floating Actions (Contact & Back to Top)
   ========================================================================== */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    min-width: 50px;
    height: 50px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 13px;
    color: var(--text-light);
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    border: none;
    overflow: hidden;
}

.float-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
}

.float-text {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
}

.float-btn:hover .float-text {
    max-width: 200px;
    opacity: 1;
    margin-left: 10px;
}

.float-phone {
    background-color: var(--accent); /* Orange */
}

.float-email {
    background-color: var(--primary);
}

.back-to-top {
    background-color: rgba(0, 0, 0, 0.5); /* Dezenter, transparenter Dunkelgrau-Ton */
    backdrop-filter: blur(4px);
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    box-shadow: none;
    justify-content: center;
    padding: 0;
    margin-top: 15px; /* Extra Abstand zu den Kontakt-Buttons */
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.float-btn:hover {
    transform: translateY(-5px);
    color: var(--text-light);
}

.back-to-top.visible:hover {
    transform: translateY(-5px);
}

.glass-panel:hover .benefit-icon-wrapper {
    transform: rotate(0) scale(1.1);
}

.benefit-number {
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.glass-panel h3 {
    color: var(--text-light);
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.glass-panel p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   Region / Einsatzgebiet
   ========================================================================== */
.city-badge {
    background-color: rgba(0, 51, 160, 0.05);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(0, 51, 160, 0.1);
    transition: all 0.3s ease;
}

.city-badge:hover {
    background-color: rgba(255, 102, 0, 0.1);
    color: var(--accent);
    border-color: rgba(255, 102, 0, 0.2);
    transform: translateY(-2px);
}

.icon-pulse {
    width: 100px;
    height: 100px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
}

.icon-pulse::before {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(255, 102, 0, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.region-icon {
    font-size: 3.5rem;
    color: var(--accent);
}

.region-text {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.8;
}

.region-text strong {
    color: var(--text-main);
    font-weight: 600;
}

.closing-teaser {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
    color: var(--text-muted);
}

.closing-teaser .signature {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--primary);
    margin-top: 30px;
    font-weight: 700;
}

/* ==========================================================================
   Partner Logos
   ========================================================================== */
.partner-logos-section {
    padding: 60px 0;
    background-color: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-logos-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
}

.partner-logo {
    max-height: 90px;
    max-width: 18%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--primary-dark);
    padding: 40px 0 0 0;
    color: #ffffff;
    font-size: 0.95rem;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.8fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    height: 75px;
    margin-bottom: 24px;
}

.footer-desc {
    max-width: 320px;
    line-height: 1.8;
    margin-top: 40px;
}

.footer-title {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.contact-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    font-size: 1.2rem;
    margin-top: 2px;
}

.contact-list span {
    line-height: 1.5;
}

/* Die Links nutzen nun die .footer-link Klasse für Farbe und Hover */

.office-hours {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
}

.footer-bottom a {
    color: #ffffff;
    margin: 0 15px;
    position: relative;
    text-decoration: none;
}

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

/* ==========================================================================
   Contact Form
   ========================================================================== */
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.glass-panel-light {
    background: var(--bg-main);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    background-color: var(--bg-light);
    font-family: var(--font-text);
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
}

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

.btn-submit {
    width: 100%;
    font-size: 1.1rem;
    padding: 16px;
    margin-top: 10px;
}

.form-status {
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
}
.form-status.success { color: #10b981; }
.form-status.error { color: #ef4444; }

/* ==========================================================================
   Animations / Intersection Observer Classes
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0) scale(1);
}

.slide-up { transform: translateY(40px); }
.fade-in-up { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s ease forwards; }
.fade-right { transform: translateX(-40px); }
.fade-left { transform: translateX(40px); }
.zoom-in { transform: scale(0.95); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.25rem; }
    
    .about-grid { gap: 40px; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar-content { justify-content: center; flex-wrap: wrap; }
    
    h1 { font-size: 2.75rem; }
    h2 { font-size: 1.7rem; }
    
    .section-title { font-size: 1.7rem; }
    
    .text-center-desktop { text-align: left !important; }
    
    .header-content { height: 80px; }
    .header.scrolled .header-content { height: 70px; }
    
    .site-header.menu-active {
        width: 100%;
        top: 0;
        border-radius: 0;
    }
    
    .mobile-menu-toggle { display: block; }
    
    .main-nav {
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: var(--bg-main);
        padding: 20px;
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
        text-align: center;
    }

    .main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--border);
    }
    
    .main-nav li:last-child a { border-bottom: none; }
    
    .main-nav a.btn-nav {
        display: inline-block;
        margin-top: 20px;
        padding: 15px 32px;
        border: none;
    }

    .hero { min-height: 90vh; padding-top: 140px; padding-bottom: 40px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    .about-grid { grid-template-columns: 1fr; }
    .cards-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    
    .partner-logos-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .partner-logo {
        max-width: 30%;
        max-height: 60px;
    }
    .about-content { order: 2; }
    .about-image { order: 1; margin-bottom: 30px; }
    
    .experience-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -40px;
        width: 120px; height: 120px;
        padding: 20px;
    }
    .experience-badge .years { font-size: 1.5rem; }
    
    .region-box { padding: 40px 20px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ==========================================================================
   Interactive Map Styles
   ========================================================================== */
#interactive-map {
    background-color: #0d1b2a;
    cursor: default;
}

.custom-map-marker {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.marker-dot {
    width: 12px;
    height: 12px;
    background-color: var(--accent);
    border: 2px solid white;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background-color: rgba(255, 102, 0, 0.4);
    border-radius: 50%;
    animation: mapPulse 2s infinite;
    z-index: 1;
}

@keyframes mapPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* Pure CSS Tooltip */
.tooltip-marker::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: var(--bg-dark);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 10;
}

.tooltip-marker::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    border-width: 6px;
    border-style: solid;
    border-color: var(--bg-dark) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 10;
}

.tooltip-marker:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}
.tooltip-marker:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}
