/* 
   Lohnunternehmen Carrier - Hofgeismar, Nordhessen
   Custom Design System & Styling: "Natur & Präzision"
   High-performance, Zero-framework CSS
*/

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,700;0,800;1,500&display=swap');

/* --- Design Tokens / Root Variables --- */
:root {
    /* Color Palette */
    --color-primary: #1E3F20;         /* Deep Forest Green */
    --color-primary-rgb: 30, 63, 32;
    --color-primary-light: #2D5A27;   /* Medium Grass Green */
    --color-accent: #D4A373;          /* Rich Wheat Gold */
    --color-accent-hover: #C59262;    /* Darker Gold */
    --color-accent-light: #F2E3D5;    /* Soft Creamy Wheat */
    
    /* Backgrounds */
    --color-bg-base: #FDFBF7;         /* Warm Off-White */
    --color-bg-alt: #F5EFEB;          /* Natural Clay/Beige */
    --color-bg-card: #FFFFFF;
    
    /* Text Colors */
    --color-text-main: #1A251D;       /* Deep Slate Charcoal */
    --color-text-muted: #556056;      /* Muted Sage Charcoal */
    --color-text-light: #FFFFFF;
    
    /* Borders & UI Details */
    --color-border: #E5DDD5;
    --color-border-focus: #D4A373;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(30, 63, 32, 0.04);
    --shadow-md: 0 8px 24px rgba(30, 63, 32, 0.06);
    --shadow-lg: 0 16px 40px rgba(30, 63, 32, 0.09);
    
    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Font Families */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Layout */
    --max-width: 1280px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-primary);
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* --- Accessibility & Focus states --- */
*:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --- Layout & Utilities --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    position: relative;
}

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

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

/* --- Section Headers --- */
.section-header {
    max-width: 680px;
    margin: 0 auto 4rem auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-accent-light);
    color: var(--color-primary);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.badge svg {
    width: 14px;
    height: 14px;
    fill: var(--color-primary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3.2rem;
    }
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.15rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.95rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border: 1px solid var(--color-primary);
}

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

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-text-main);
    border: 1px solid var(--color-accent);
}

.btn-accent:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

/* --- Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background-color: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(229, 221, 213, 0.5);
    transition: all 0.3s ease;
}

.header-scrolled {
    height: 70px;
    background-color: rgba(253, 251, 247, 0.96);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-primary);
}

.logo svg {
    width: 32px;
    height: 32px;
    fill: var(--color-accent);
}

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

@media (max-width: 480px) {
    .logo {
        font-size: 1.15rem;
        gap: 0.5rem;
    }
    .logo-img {
        height: 36px;
    }
}

.logo span {
    font-weight: 400;
    color: var(--color-text-main);
}

.nav-menu {
    display: none;
}

@media (min-width: 992px) {
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 2.5rem;
        list-style: none;
    }
    
    .nav-link {
        font-weight: 500;
        color: var(--color-text-muted);
        position: relative;
        padding: 0.5rem 0;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--color-accent);
        transition: width 0.3s ease;
    }
    
    .nav-link:hover, .nav-link.active {
        color: var(--color-primary);
    }
    
    .nav-link.active::after, .nav-link:hover::after {
        width: 100%;
    }
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 767px) {
    .nav-actions .btn {
        display: none !important;
    }
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

@media (min-width: 992px) {
    .mobile-toggle { display: none; }
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

/* Open state mobile toggle */
.mobile-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.mobile-toggle.open span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -7px);
}

/* Mobile Menu Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-bg-base);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    padding: 8rem 2rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.mobile-menu-link:hover, .mobile-menu-link.active {
    color: var(--color-primary);
    padding-left: 0.5rem;
}

/* --- Hero Section --- */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: calc(var(--header-height) + 2rem);
    background: radial-gradient(circle at 80% 20%, rgba(212, 163, 115, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(30, 63, 32, 0.05) 0%, transparent 60%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-content {
    z-index: 10;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title span {
    font-style: italic;
    color: var(--color-accent);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    font-family: var(--font-body);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive media queries for hero section layout */
@media (max-width: 991px) {
    .hero {
        padding-top: calc(var(--header-height) + 1.5rem);
        padding-bottom: 3rem;
        min-height: auto;
    }
    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-title {
        font-size: 2.5rem !important;
        margin-bottom: 1rem;
    }
    .hero-desc {
        font-size: 1rem !important;
        margin-bottom: 1.75rem;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
        margin-bottom: 2rem;
        width: 100%;
    }
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
        width: 100%;
        padding-top: 1.5rem;
    }
    .stat-item {
        text-align: center;
        flex: 1 1 25%;
        min-width: 100px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem !important;
    }
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .stat-item {
        flex: none;
        min-width: 0;
        width: 100%;
        text-align: center;
    }
    .stat-item h3 {
        font-size: 1.6rem;
    }
}

/* Premium Image Frame in Hero */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 520px; /* Restored size on desktop */
    margin: 0 auto;
}

.hero-frame {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid #ffffff;
    transform: rotate(2deg);
    transition: all 0.5s ease;
}

@media (max-width: 991px) {
    .hero-image-container {
        max-width: 320px; /* Mobile and tablet constrained size */
    }
}

.hero-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(30, 63, 32, 0.4));
    pointer-events: none;
}

/* Decorative grid behind image */
.hero-grid-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: -20px;
    right: -20px;
    background-image: radial-gradient(var(--color-accent) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.3;
    z-index: -1;
    border-radius: var(--radius-lg);
}

@media (max-width: 991px) {
    .hero-grid-pattern {
        top: -10px;
        right: -10px;
    }
}

/* --- Values & Philosophies Section --- */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    background-color: var(--color-bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.value-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background-color: var(--color-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.value-icon-wrapper svg {
    width: 32px;
    height: 32px;
    fill: var(--color-primary);
}

.value-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

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

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

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

.service-image-wrapper {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.service-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background-color: rgba(30, 63, 32, 0.9);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
}

.service-info {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card-desc {
    color: var(--color-text-muted);
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .service-card-title {
        min-height: 4rem;
    }
    .service-card-desc {
        min-height: 3.2rem;
    }
}

.service-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.service-feature-item svg {
    width: 16px;
    height: 16px;
    fill: var(--color-accent);
}

/* --- Maschinenpark / Fleet Section --- */
.fleet-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-card);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-color: var(--color-primary);
}

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

@media (min-width: 768px) {
    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .fleet-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.fleet-card {
    background-color: var(--color-bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: all 0.4s ease;
}

.fleet-card.hidden {
    display: none;
}

.fleet-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.fleet-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #e5ddd5;
}

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

.fleet-content {
    padding: 1.5rem;
}

.fleet-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.fleet-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.fleet-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
}

.spec-info span {
    display: block;
}

.spec-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.spec-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* --- Callback & Contact Form --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 0.8fr 1.2fr;
    }
}

.contact-info-panel {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-info-panel::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(212, 163, 115, 0.08);
    border-radius: var(--radius-full);
    pointer-events: none;
}

.contact-info-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-info-desc {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

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

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

.contact-icon-box svg {
    width: 20px;
    height: 20px;
    fill: var(--color-accent);
}

.contact-detail-text h4 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-body);
    margin-bottom: 0.25rem;
}

.contact-detail-text p, .contact-detail-text a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.contact-detail-text a:hover {
    color: var(--color-accent);
}

/* Premium Form Card */
.form-card {
    background-color: var(--color-bg-card);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

@media (max-width: 576px) {
    .form-card {
        padding: 1.5rem;
    }
}

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

@media (min-width: 576px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
    .form-full-width {
        grid-column: span 2;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-base);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--color-accent);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.15);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231E3F20'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 20px;
    padding-right: 2.5rem;
}

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

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.form-checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    margin-top: 0.2rem;
    cursor: pointer;
}

.form-checkbox-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.form-checkbox-label a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

.form-checkbox-label a:hover {
    color: var(--color-accent);
}

/* Success / Error messaging */
.form-message {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 1.5rem;
    display: none;
}

.form-message.success {
    background-color: rgba(30, 63, 32, 0.08);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.form-message.error {
    background-color: rgba(220, 53, 69, 0.08);
    border: 1px solid #dc3545;
    color: #dc3545;
}

/* --- GDPR Modal (Overlay for Datenschutz / Impressum) --- */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 37, 29, 0.6);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 1.5rem;
}

.legal-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.legal-modal-content {
    background-color: var(--color-bg-base);
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-modal.open .legal-modal-content {
    transform: translateY(0);
}

.legal-modal-header {
    padding: 1.75rem 2.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
}

.legal-modal-close {
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-alt);
    transition: all 0.2s ease;
}

.legal-modal-close:hover {
    background-color: var(--color-accent-light);
}

.legal-modal-close svg {
    width: 16px;
    height: 16px;
    fill: var(--color-primary);
}

.legal-modal-body {
    padding: 2.5rem;
    overflow-y: auto;
    font-size: 0.95rem;
    color: var(--color-text-main);
    line-height: 1.7;
}

.legal-modal-body h3 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-modal-body p {
    margin-bottom: 1rem;
}

.legal-modal-body ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

/* --- Floating WhatsApp Channel Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #20BA5A;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

/* Tooltip for WhatsApp */
.whatsapp-float::before {
    content: 'Direkter Draht via WhatsApp';
    position: absolute;
    right: 75px;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.whatsapp-float:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* --- Footer --- */
.footer {
    background-color: #1A251D; /* Extremely dark sage/charcoal */
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem 0;
    border-top: 4px solid var(--color-accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.footer-logo {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo svg {
    width: 32px;
    height: 32px;
    fill: var(--color-accent);
}

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

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

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

.social-link:hover svg {
    fill: var(--color-primary);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

.footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-body);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--color-accent);
    padding-left: 0.25rem;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.9rem;
}

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

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    fill: var(--color-accent);
    margin-top: 0.25rem;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    font-size: 0.8rem;
}

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

@media (max-width: 767px) {
    .footer-bottom p {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .footer-divider {
        display: none;
    }
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

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

.footer-legal-links a {
    cursor: pointer;
}

.footer-legal-links a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* --- Micro-Animations & Interactivity CSS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}
