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

:root {
    /* Farben aus color.txt.txt - Logo-Farbanalyse */
    --primary-green: #004c25;      /* Primär: Dunkles Grün - Solarpaneele (15.113 Pixel) */
    --secondary-yellow: #f9cb0e;   /* Sekundär: Gelb - Sonne (8.462 Pixel) */
    --accent-green: #b0d51c;       /* Akzent: Hellgrün - Felder (4.398 Pixel) */
    --accent-yellow: var(--secondary-yellow); /* Alias für Gelb */
    --secondary-green: var(--accent-green);    /* Alias für Hellgrün */
    --light-green: #e8f5e9;        /* Hintergrund: Sehr helles Grün */
    --dark-green: #004c25;         /* Dunkelstes Grün - für Footer */
    
    /* Grautöne und Weiß */
    --gray-bg: #f5f5f5;
    --gray-text: #666;
    --dark-text: #333;
    --white: #fff;
    
    /* Legacy-Variablen für Kompatibilität */
    --color-primary: var(--primary-green);
    --color-secondary: var(--white);
    --color-text: var(--dark-text);
    --color-text-light: var(--gray-text);
    --color-bg: var(--white);
    --color-bg-dark: var(--dark-green);
    --color-border: #e0e0e0;
    --color-hover: var(--secondary-green); /* #b0d51c - Helles Grün */
    
    /* Typografie */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-base: 0.3s ease;
    
    /* Container */
    --container-max-width: 1400px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

h1 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    line-height: 1.3;
    margin-bottom: 0.875rem;
}

h3 {
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light);
    line-height: 1.6;
}

a {
    color: var(--primary-green); /* #004c25 - Dunkles Grün aus color.txt.txt - Primärfarbe */
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--secondary-green); /* #b0d51c - Hellgrün aus color.txt.txt - Akzentfarbe beim Hover */
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    /* Mobile: Etwas größerer Reihenabstand für bessere Lesbarkeit */
    body {
        line-height: 1.7;
    }
    
    p {
        line-height: 1.7;
    }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-secondary);
    border-bottom: 1px solid var(--color-border);
}

.nav {
    padding: var(--spacing-sm) 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Logo-Text daneben in grün */
.nav-logo-text {
    color: var(--primary-green) !important;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity var(--transition-base);
}

.nav-logo-link:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* Logo-Icon aus assets-Ordner - max 100px height */
.logo-icon {
    height: 100px; /* Max 100px height wie gewünscht */
    width: auto; /* Breite automatisch, um Seitenverhältnis zu erhalten */
    max-width: 100%; /* Nicht breiter als Container */
    flex-shrink: 0;
    object-fit: contain; /* Logo wird nicht verzerrt */
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    z-index: 1001;
}

.hamburger {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 18px;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--primary-green); /* Dunkles Grün #004c25 */
    transition: all var(--transition-base);
    position: absolute;
}

.hamburger-line:nth-child(1) {
    top: 0;
}

.hamburger-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-line:nth-child(3) {
    bottom: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: var(--primary-green); /* Dunkles Grün #004c25 */
    font-weight: 500;
    padding: var(--spacing-xs) 0;
    transition: color var(--transition-base);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green); /* Dunkles Grün #004c25 */
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-green); /* Dunkles Grün #004c25 */
}

/* ============================================
   DROPDOWN NAVIGATION - KOMPAKT
   ============================================ */
.has-dropdown {
    position: relative;
}

.dropdown-icon {
    font-size: 0.75rem;
    margin-left: 0.25rem;
    transition: transform var(--transition-base);
    display: inline-block;
    color: var(--accent-green); /* Helles Grün #b0d51c für Dropdown-Pfeile */
}

.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    min-width: 200px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
    z-index: 1000;
    list-style: none;
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--color-text);
    font-weight: 400;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: background-color var(--transition-base), color var(--transition-base);
}

.dropdown-link:hover {
    background-color: var(--light-green);
    color: var(--primary-green);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--color-secondary);
        border-top: 1px solid var(--color-border);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        padding: var(--spacing-md);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu[data-visible="true"] {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: var(--spacing-sm) 0;
        font-size: 1.125rem;
    }
    
    /* Mobile Dropdown */
    .has-dropdown {
        width: 100%;
    }
    
    .dropdown-icon {
        float: right;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-green);
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-base);
        border-radius: 0;
        min-width: auto;
    }
    
    .has-dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-link {
        padding-left: 2.5rem;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid var(--color-primary);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    min-height: 44px;
    line-height: 1.5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.btn-primary:hover {
    background-color: var(--secondary-green); /* #b0d51c - Helles Grün beim Hover */
    border-color: var(--secondary-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:focus {
    outline: 2px solid var(--color-text);
    outline-offset: 2px;
}

.btn-primary:active {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-green); /* #004c25 - Dunkles Grün */
    border-color: var(--primary-green);
}

.btn-secondary:hover {
    color: var(--secondary-green); /* #b0d51c - Helles Grün beim Hover */
    border-color: var(--secondary-green);
    background-color: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Sekundärer Button in Hero-Bereichen: Weißer Outline */
.hero-section .btn-secondary {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

.hero-section .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-secondary:focus {
    outline: 2px solid var(--color-text);
    outline-offset: 2px;
}

.btn-secondary:active {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-heading {
    margin-bottom: var(--spacing-sm);
    color: var(--dark-green);
    position: relative;
    display: inline-block;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    border-radius: 2px;
}

.section-description {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-text-light);
}

/* Section mit Hintergrundbild */
.section-with-bg {
    position: relative;
    background-size: cover;
    background-position: center center; /* Horizontal und vertikal zentriert */
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 6rem 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.7) 0%, rgba(27, 94, 32, 0.8) 100%);
    z-index: 1;
}

.section-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    width: 100%;
}

.section-content .section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-content .section-heading {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.section-content .section-heading::after {
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
}

.section-content .section-description {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Parallax-Effekt (nur auf Desktop) */
@media (min-width: 769px) {
    .section-with-bg {
        background-attachment: fixed;
    }
}

/* Auf Mobile: Kein fixed (Performance) */
@media (max-width: 768px) {
    .section-with-bg {
        background-attachment: scroll;
        padding: 4rem 0;
        min-height: 400px;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    height: 100vh !important;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
}

/* Hero-Slider Container */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh !important;
    z-index: 0;
}

/* Hero-Slide */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh !important;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.1);
}

.hero-slide .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.4) 0%, rgba(27, 94, 32, 0.6) 100%);
    z-index: 1;
}

/* Legacy Support: hero-background für Seiten ohne Slider */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100vh !important;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.4) 0%, rgba(27, 94, 32, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    color: #ffffff;
    text-align: center;
}

.hero-text {
    color: #ffffff;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--spacing-md);
    color: #ffffff;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-headline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 2px;
    z-index: -1;
}

.hero-subheadline {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    margin-bottom: var(--spacing-lg);
    color: #ffffff;
    line-height: 1.7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-ctas {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.hero-ctas .btn-primary {
    background-color: var(--primary-green) !important;
    color: #ffffff !important;
    border: none;
}

.hero-ctas .btn-secondary {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

.hero-ctas .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-placeholder {
    width: 100%;
    max-width: 600px;
}

.hero-visual-placeholder svg {
    width: 100%;
    height: auto;
}

/* Slider-Navigation (Punkte) - NUR auf Index-Seite anzeigen */
.hero-slider-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: none; /* Standard: Versteckt (für Unterseiten) */
    gap: 0.75rem;
    z-index: 10;
}

/* Nur anzeigen wenn innerhalb .hero-section mit .hero-slider (Index-Seite) */
.hero-section:has(.hero-slider) .hero-slider-nav {
    display: flex;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active,
.slider-dot:hover {
    background-color: #ffffff;
}

/* Vor/Zurück Buttons - NUR auf Index-Seite anzeigen */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid #ffffff;
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: none; /* Standard: Versteckt (für Unterseiten) */
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Nur anzeigen wenn innerhalb .hero-section mit .hero-slider (Index-Seite) */
.hero-section:has(.hero-slider) .slider-prev,
.hero-section:has(.hero-slider) .slider-next {
    display: flex;
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

.slider-prev:hover,
.slider-next:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: #ffffff;
}

@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-subheadline {
        font-size: 1.125rem;
    }
    
    .slider-prev,
    .slider-next {
        display: none; /* Auf Mobile nur Punkte */
    }
    
    .hero-slider-nav {
        bottom: 1rem;
    }
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits-section {
    background-color: var(--color-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.benefit-card {
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all var(--transition-base);
    background-color: var(--color-secondary);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-green);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-md);
    color: var(--primary-green);
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

.benefit-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.benefit-text {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Listen mit korrektem Reihenabstand */
ul, ol {
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

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

@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.service-card {
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all var(--transition-base);
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-green);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-md);
    color: var(--primary-green);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-green);
}

.service-text {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: var(--spacing-xs) 0;
    color: var(--gray-text);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9375rem;
}

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

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

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

/* ============================================
   WORKFLOW SECTION
   ============================================ */
.workflow-section {
    background-color: var(--light-green);
}

.workflow-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    position: relative;
}

.workflow-step {
    position: relative;
    padding: var(--spacing-md);
    background-color: var(--color-secondary);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.workflow-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
    opacity: 0.3;
}

.workflow-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.workflow-text {
    color: var(--color-text-light);
    line-height: 1.6;
}

.workflow-connector {
    position: absolute;
    top: 50%;
    right: -20px;
    width: 40px;
    height: 2px;
    background-color: var(--color-border);
    transform: translateY(-50%);
}

.workflow-connector::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid var(--color-border);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

@media (max-width: 1024px) {
    .workflow-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .workflow-connector {
        display: none;
    }
}

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

/* ============================================
   TECHNOLOGY SECTION
   ============================================ */
.technology-section {
    background-color: var(--color-bg);
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.technology-card {
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-secondary);
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.technology-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-green);
}

.technology-name {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.technology-description {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
}

.technology-features {
    list-style: none;
}

.technology-features li {
    padding: var(--spacing-xs) 0;
    color: var(--color-text-light);
    position: relative;
    padding-left: 1.5rem;
}

.technology-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .technology-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

.video-wrapper {
    max-width: 1200px;
    margin: 2rem auto 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.video-player {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .video-wrapper {
        margin: 1.5rem auto 0;
    }
}

/* ============================================
   EVALUATION SECTION
   ============================================ */
.evaluation-section {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--white) 100%);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.evaluation-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

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

.evaluation-note {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.flaechenbewertung-form-wrapper,
.form-container,
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-secondary);
    padding: var(--spacing-lg);
    border-radius: 12px;
    border: 2px solid var(--primary-green);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.flaechenbewertung-form-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 12px;
    z-index: -1;
    opacity: 0.1;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md) 0;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border-color var(--transition-base);
    background-color: var(--color-secondary);
    color: var(--color-text);
    line-height: 1.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-text);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.5rem;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
    border-color: #dc3545;
    outline-color: #dc3545;
}

/* Formular-Links (nicht weiß wie Footer-Links) */
.form-link {
    color: var(--primary-green) !important;
    text-decoration: underline;
    transition: color var(--transition-base);
}

.form-link:hover {
    color: var(--secondary-green) !important;
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

/* ============================================
   TESTIMONIALS SECTION - SLIDER
   ============================================ */
.testimonials-section {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--white) 100%);
    padding: var(--spacing-xl) 0;
}

.testimonials-slider-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonials-slider {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.testimonial-slide {
    min-width: 100%;
    scroll-snap-align: start;
    padding: 0 var(--spacing-sm);
}

.testimonial-card {
    background-color: var(--color-secondary);
    padding: var(--spacing-lg);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.testimonial-quote {
    margin-bottom: var(--spacing-md);
}

.quote-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-green);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border);
}

.testimonial-name {
    font-size: 1.125rem;
    color: var(--dark-green);
    font-weight: 600;
}

.testimonial-company {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

.testimonial-location {
    color: var(--gray-text);
    font-size: 0.875rem;
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.testimonials-prev,
.testimonials-next {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.testimonials-prev:hover,
.testimonials-next:hover {
    background-color: var(--dark-green);
    transform: scale(1.1);
}

.testimonials-prev:focus,
.testimonials-next:focus {
    outline: 2px solid var(--color-text);
    outline-offset: 2px;
}

.testimonials-prev svg,
.testimonials-next svg {
    width: 24px;
    height: 24px;
}

.testimonials-dots {
    display: flex;
    gap: var(--spacing-xs);
    align-items: center;
}

.testimonials-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(46, 125, 50, 0.3);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.testimonials-dot.active {
    background-color: var(--primary-green);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonial-slide {
        padding: 0 var(--spacing-xs);
    }
    
    .testimonial-card {
        padding: var(--spacing-md);
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .testimonials-prev,
    .testimonials-next {
        width: 40px;
        height: 40px;
    }
    
    .testimonials-controls {
        gap: var(--spacing-sm);
    }
    
    .testimonials-slider {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    background-color: var(--color-bg);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--spacing-sm);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md);
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-base);
}

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

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform var(--transition-base);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
    padding: 0 var(--spacing-md);
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 500px;
    padding: var(--spacing-md);
}

.faq-answer p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background-color: var(--light-green);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.contact-info address {
    font-style: normal;
    color: var(--color-text-light);
    line-height: 1.8;
}

.contact-info address p {
    margin-bottom: var(--spacing-xs);
}

.contact-info address a {
    color: var(--color-text);
    text-decoration: underline;
}

.contact-info address a:hover {
    color: var(--color-hover);
}

/* Kontakt-Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background-color: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-green);
    fill: none;
}

.contact-card h3 {
    color: var(--dark-green);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-card address,
.contact-card p {
    color: var(--dark-text);
    line-height: 1.6;
    margin: 0;
    font-style: normal;
}

.contact-card a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--secondary-green);
    text-decoration: underline;
}

.contact-form-wrapper {
    background-color: var(--color-secondary);
    padding: var(--spacing-md);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    max-width: 800px;
    margin: 0 auto;
}

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

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-wrapper {
        order: 1;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: #004c25 !important; /* Dunkles Grün aus color.txt.txt - Primärfarbe (15.113 Pixel) */
    background-image: url('../images/logoelement.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 800px auto; /* Logo viel größer - 800px */
    position: relative;
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

/* Footer: Overlay für bessere Lesbarkeit - reduziert für deutlichere Logo-Sichtbarkeit */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 76, 37, 0.5); /* Reduzierte Opacity für deutlichere Logo-Sichtbarkeit */
    z-index: 0;
}

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

/* Footer: Alle Links weiß */
.footer a,
.footer-link,
.footer-links a,
.footer-legal a,
.footer-contact a,
.footer-agency a,
.footer-social a {
    color: #ffffff !important;
    text-decoration: none;
    transition: opacity var(--transition-base);
}

.footer a:hover,
.footer-link:hover,
.footer-links a:hover,
.footer-legal a:hover,
.footer-contact a:hover,
.footer-agency a:hover,
.footer-social a:hover {
    color: #ffffff !important;
    opacity: 0.8;
    text-decoration: none;
}

/* Footer: Alle Icons weiß */
.footer svg,
.footer .icon,
.footer-icon,
.footer-links svg,
.footer-legal svg,
.footer-contact svg,
.footer-agency svg,
.footer-social svg {
    fill: #ffffff !important;
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.footer svg:hover,
.footer .icon:hover,
.footer-icon:hover {
    opacity: 0.8;
}

/* Footer: Alle Typo-Elemente, die Links sind, auch weiß */
.footer h4 a,
.footer h3 a,
.footer h2 a,
.footer p a,
.footer li a,
.footer span a {
    color: #ffffff !important;
}

.footer h4 a:hover,
.footer h3 a:hover,
.footer h2 a:hover,
.footer p a:hover,
.footer li a:hover,
.footer span a:hover {
    color: #ffffff !important;
    opacity: 0.8;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: #ffffff !important;
}

.footer-description {
    color: #ffffff !important;
    line-height: 1.6;
}

.footer-heading {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    color: #ffffff !important;
}

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

.footer-list li {
    margin-bottom: var(--spacing-xs);
}

.footer-link {
    color: #ffffff !important;
    transition: opacity var(--transition-base);
}

.footer-link:hover {
    color: #ffffff !important;
    opacity: 0.8;
    text-decoration: none;
}

/* Footer: Kontakt-Adresse weiß */
.footer-address {
    color: #ffffff !important;
    font-style: normal;
    line-height: 1.6;
}

.footer-address p {
    margin-bottom: 0.25rem;
    color: #ffffff !important;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
}

.footer-bottom p {
    margin-bottom: var(--spacing-xs);
    color: #ffffff !important;
}

.footer-copyright {
    color: #ffffff !important;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-dsgvo {
    color: #ffffff !important;
    font-size: 0.875rem;
    margin: 0;
}

@media (max-width: 1024px) {
    .footer {
        background-size: 700px auto; /* Logo auf Tablet-Größe */
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer {
        background-size: 600px auto; /* Logo auch auf Mobile groß */
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-copyright,
    .footer-dsgvo {
        font-size: 0.8125rem;
    }
    
    .logo-icon {
        height: 60px;
        max-height: 100px;
    }
    
    .nav-logo-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        height: 50px;
    }
    
    .nav-logo-text {
        font-size: 0.875rem;
    }
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
    background-color: var(--light-green);
    padding: var(--spacing-xl) 0;
}

.trust-content {
    max-width: 900px;
    margin: 0 auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.trust-item {
    padding: var(--spacing-md);
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trust-item h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-green);
}

.trust-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trust-item li {
    padding: var(--spacing-xs) 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.trust-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
}

.trust-highlight {
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--white);
    border-radius: 8px;
    border: 2px solid var(--primary-green);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trust-highlight p {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-green);
    margin: 0;
    line-height: 1.6;
}

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

/* ============================================
   GLOSSARY SECTION
   ============================================ */
.glossary-section {
    background-color: var(--light-green);
    padding: var(--spacing-xl) 0;
}

.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.glossary-term {
    background-color: var(--color-secondary);
    padding: var(--spacing-md);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.glossary-term:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-green);
}

.glossary-term-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-green);
    font-weight: 600;
}

.glossary-term-definition {
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
}

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

/* ============================================
   INTERNE SEITEN (Impressum, Datenschutz, AGB)
   ============================================ */
.page-header {
    background-color: var(--light-green);
    padding: 3rem 0 2rem;
    border-bottom: 2px solid var(--primary-green);
}

.page-header h1 {
    color: var(--dark-green);
    font-size: 2.5rem;
    margin: 0;
}

.page-actions {
    margin-top: 1rem;
}

.content-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.content-box h2 {
    color: var(--dark-green);
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-box h2:first-child {
    margin-top: 0;
}

.content-box h3 {
    color: var(--primary-green);
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-box p {
    color: var(--dark-text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.content-box a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-box a:hover {
    color: var(--secondary-green);
    text-decoration: underline;
}

.pdf-download-box {
    background-color: var(--light-green);
    border-left: 4px solid var(--primary-green);
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 4px;
}

.pdf-download-box p {
    margin-bottom: 1rem;
}

.pdf-download-box .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================
   AGB DOWNLOAD SECTION - Zentriert
   ============================================ */
.agb-download-section {
    padding: var(--spacing-xl) 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.agb-download-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: var(--spacing-lg);
}

.agb-download-container h1 {
    color: var(--primary-green);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-md);
}

.agb-info-text {
    color: var(--gray-text);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.agb-download-box {
    margin-top: var(--spacing-lg);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.btn-download svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .agb-download-container {
        padding: var(--spacing-md);
    }
    
    .agb-info-text {
        font-size: 1rem;
    }
    
    .btn-download {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 2rem 0 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-box {
        padding: 1.5rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

/* ============================================
   PROJEKTE-PREVIEW-SECTION
   ============================================ */
.projects-preview-section {
    background-color: #ffffff;
    padding: 5rem 0;
}

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

.project-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 76, 37, 0.1);
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Logo vollständig anzeigen */
    object-position: center;
    background-color: #f5f5f5; /* Leichter Hintergrund für Logo */
    padding: 1rem;
    transition: transform 0.3s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #004c25;
    margin-bottom: 0.5rem;
}

.project-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.project-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: #004c25;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Mobile */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-stats {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PROJEKT-DETAIL-SECTION
   ============================================ */
.project-detail-section {
    padding: 5rem 0;
}

.project-detail-header {
    text-align: center;
    margin-bottom: 3rem;
}

.project-badge {
    display: inline-block;
    background-color: #004c25;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
}

.project-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.project-detail-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.project-detail-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Logo vollständig anzeigen */
    object-position: center;
    background-color: #f5f5f5; /* Leichter Hintergrund für Logo */
    padding: 1rem;
}

.project-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #004c25;
}

.project-detail-description {
    margin-bottom: 2rem;
    line-height: 1.7;
    color: #333;
}

.section-light-green {
    background-color: #e8f5e9;
}

.section-white {
    background-color: #ffffff;
}

/* ============================================
   NEW SECTIONS - Security, Legal, Tracking
   ============================================ */
.security-investment-section,
.legal-flexibility-section,
.tracking-technology-section,
.process-models-section,
.tracking-structure-section {
    padding: var(--spacing-xl) 0;
}

.security-investment-section {
    background-color: #ffffff;
}

.security-investment-section .section-icon-wrapper {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.security-investment-section .section-icon {
    width: 64px;
    height: 64px;
    color: var(--primary-green);
}

.security-investment-section .section-content {
    max-width: 800px;
    margin: 0 auto;
}

.security-investment-section .content-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light-green);
    padding: var(--spacing-lg);
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
    box-shadow: 0 2px 8px rgba(0, 76, 37, 0.1);
}

.security-investment-section .content-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--dark-text);
    margin: 0;
    text-align: center;
}

/* Tracking Technology Section */
.tracking-technology-section {
    background-color: var(--light-green);
}

.tracking-content-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-top: var(--spacing-lg);
}

.tracking-image-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 76, 37, 0.15);
}

.tracking-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tracking-text-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.tracking-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--dark-text);
}

.highlight-box {
    background-color: #ffffff;
    padding: var(--spacing-lg);
    border-radius: 12px;
    border: 2px solid var(--primary-green);
    box-shadow: 0 4px 12px rgba(0, 76, 37, 0.1);
}

.highlight-title {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
}

.highlight-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-text);
    margin: 0;
}

/* Process Models Section */
.process-models-section {
    background-color: #ffffff;
}

.process-models-section .section-icon-wrapper {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.process-models-section .section-icon {
    width: 64px;
    height: 64px;
    color: var(--primary-green);
}

.process-content {
    max-width: 1000px;
    margin: 0 auto;
}

.process-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--dark-text);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.process-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.process-feature-card {
    background-color: var(--light-green);
    padding: var(--spacing-lg);
    border-radius: 12px;
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    border-top: 4px solid var(--primary-green);
}

.process-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 76, 37, 0.15);
}

.process-feature-card .feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-md);
    color: var(--primary-green);
}

.process-feature-card .feature-icon svg {
    width: 100%;
    height: 100%;
}

.process-feature-card .feature-title {
    font-size: 1.25rem;
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
}

.process-feature-card .feature-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-text);
    margin: 0;
}

/* Consultation CTA Section */
.consultation-cta-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--primary-green);
    background-position: center center;
    position: relative;
}

.consultation-cta-section .section-overlay {
    background: linear-gradient(135deg, rgba(0, 76, 37, 0.85) 0%, rgba(0, 76, 37, 0.9) 100%);
}

.cta-content-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-icon-wrapper {
    margin-bottom: var(--spacing-md);
}

.cta-icon {
    width: 64px;
    height: 64px;
    color: #ffffff;
    margin: 0 auto;
}

.cta-icon svg {
    width: 100%;
    height: 100%;
}

.consultation-cta-section .section-heading {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.consultation-cta-section .section-description {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: var(--spacing-md);
}

.btn-large svg {
    width: 20px;
    height: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tracking-content-layout {
        grid-template-columns: 1fr;
    }
    
    .tracking-image-wrapper {
        height: 300px;
    }
    
    .process-features-grid {
        grid-template-columns: 1fr;
    }
    
    .security-investment-section .content-card {
        padding: var(--spacing-md);
    }
    
    .highlight-box {
        padding: var(--spacing-md);
    }
    
    .highlight-title {
        font-size: 1.25rem;
    }
}

/* ============================================
   TARGET GROUPS SECTION
   ============================================ */
.target-groups-section {
    padding: var(--spacing-xl) 0;
}

.target-groups-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.target-group-card {
    background-color: var(--light-green);
    padding: var(--spacing-md);
    border-radius: 8px;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.target-group-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.target-group-card h3 {
    font-size: 1.25rem;
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
}

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

/* Tablet */
@media (max-width: 1024px) {
    .target-groups-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .project-detail-content {
        grid-template-columns: 1fr;
    }
    
    .project-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .target-groups-grid {
        grid-template-columns: 1fr;
    }
    
    .security-investment-section,
    .legal-flexibility-section,
    .tracking-technology-section,
    .process-models-section,
    .tracking-structure-section {
        padding: var(--spacing-lg) 0;
    }
    
    .security-investment-section .section-content,
    .legal-flexibility-section .section-content,
    .tracking-technology-section .section-content,
    .process-models-section .section-content,
    .tracking-structure-section .section-content {
        padding: 0 var(--spacing-sm);
    }
}

/* ============================================
   HOFNAHE FLÄCHEN SECTION
   ============================================ */
.hofnahe-flaechen-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-green);
}

.flaechen-criteria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.criterion-card {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.criterion-card h3 {
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.criterion-list {
    list-style: none;
    padding: 0;
}

.criterion-list li {
    padding: var(--spacing-xs) 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text);
}

.criterion-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.hofnahe-flaechen-section .text-center {
    margin-top: var(--spacing-lg);
}

/* ============================================
   VERPACHTUNG ABLAUF SECTION
   ============================================ */
.verpachtung-ablauf-section {
    padding: var(--spacing-xl) 0;
}

.verpachtung-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.verpachtung-step-card {
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-base);
}

.verpachtung-step-card:hover {
    transform: translateY(-4px);
}

.step-number-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto var(--spacing-sm);
}

.step-title {
    color: var(--primary-green);
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
}

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

/* ============================================
   INVESTOREN-TEASER SECTION
   ============================================ */
.investoren-teaser-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--light-green);
}

.investoren-teaser-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.investoren-teaser-content .section-heading {
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
}

.investoren-teaser-content .section-description {
    color: var(--dark-text);
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
    line-height: 1.6;
}

/* ============================================
   HERO HIGHLIGHT
   ============================================ */
.hero-highlight {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-green);
    margin: var(--spacing-sm) 0;
    text-align: center;
}

.evaluation-highlight {
    margin-top: var(--spacing-sm);
    color: var(--accent-green);
    font-size: 1.1rem;
}

/* ============================================
   RESPONSIVE: HOFNAHE FLÄCHEN & VERPACHTUNG
   ============================================ */
@media (max-width: 1024px) {
    .flaechen-criteria-grid {
        grid-template-columns: 1fr;
    }
    
    .verpachtung-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hofnahe-flaechen-section {
        padding: var(--spacing-lg) 0;
    }
    
    .verpachtung-ablauf-section {
        padding: var(--spacing-lg) 0;
    }
    
    .verpachtung-steps-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .criterion-card {
        padding: var(--spacing-sm);
    }
    
    .hero-highlight {
        font-size: 1.1rem;
    }
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    padding: var(--spacing-xl) 0;
    background-color: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: var(--spacing-lg);
}

.gallery-item {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    background-color: #f5f5f5;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 76, 37, 0.2);
}

.gallery-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
    will-change: transform;
}

.gallery-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover .gallery-thumbnail {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 76, 37, 0.7) 0%, rgba(0, 76, 37, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    width: 48px;
    height: 48px;
    color: #ffffff;
}

/* ============================================
   GALLERY MODAL
   ============================================ */
/* Fade-In für Modal */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scale für Modal-Image */
@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-modal[aria-hidden="false"] {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    animation: fadeIn 0.3s ease;
}

.gallery-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.gallery-modal-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: calc(95vh - 100px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.3s ease;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.gallery-modal-image video {
    max-width: 100%;
    max-height: calc(95vh - 100px);
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
    z-index: 10002;
    backdrop-filter: blur(10px);
}

.gallery-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.gallery-modal-close svg {
    width: 24px;
    height: 24px;
}

.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    transition: background var(--transition-base), border-color var(--transition-base);
    z-index: 10002;
}

.gallery-modal-prev {
    left: 20px;
}

.gallery-modal-next {
    right: 20px;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.gallery-modal-prev svg,
.gallery-modal-next svg {
    width: 28px;
    height: 28px;
}

.gallery-modal-info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 1rem;
    z-index: 10003;
}

.gallery-modal-counter {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Mobile: Buttons anpassen */
@media (max-width: 768px) {
    .gallery-modal-prev {
        left: 10px;
    }
    
    .gallery-modal-next {
        right: 10px;
    }
    
    .gallery-modal-close {
        top: 10px;
        right: 10px;
    }
    
    .gallery-modal-info {
        bottom: 10px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .gallery-item {
        aspect-ratio: 1 / 1;
    }
    
    .gallery-modal-content {
        max-width: 95vw;
        max-height: 95vh;
        padding: 1rem;
    }
    
    .gallery-modal-image {
        max-height: 85vh;
    }
    
    .gallery-modal-prev,
    .gallery-modal-next {
        width: 44px;
        height: 44px;
    }
    
    .gallery-modal-close {
        width: 40px;
        height: 40px;
        top: 5px;
        right: 5px;
    }
}

/* ============================================
   VIDEO GALLERY SECTION
   ============================================ */
.video-gallery-section {
    padding: var(--spacing-lg) 0;
}

.video-player-container {
    margin: var(--spacing-lg) 0;
    display: none;
}

.video-player-container.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.main-video-player {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
}

.video-player-info {
    padding: var(--spacing-md);
    background-color: var(--white);
}

.video-player-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--dark-text);
}

.video-player-description {
    color: var(--gray-text);
    font-size: 1rem;
    line-height: 1.6;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: var(--spacing-lg);
}

.video-preview-item {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center;
}

.video-preview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 76, 37, 0.2);
}

.video-preview-item.active {
    border: 3px solid var(--primary-green);
    box-shadow: 0 0 0 2px rgba(0, 76, 37, 0.1);
}

.video-preview-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.video-preview-item:hover .video-preview-thumbnail {
    transform: scale(1.1);
}

.video-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 76, 37, 0.7) 0%, rgba(0, 76, 37, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.video-preview-item:hover .video-preview-overlay {
    opacity: 1;
}

.video-preview-icon {
    width: 64px;
    height: 64px;
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.video-preview-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

.video-empty,
.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-lg);
    color: var(--gray-text);
    font-size: 1.125rem;
}

/* Mobile: Video-Grid anpassen */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .video-preview-item {
        aspect-ratio: 16 / 9;
    }
    
    .video-player-info {
        padding: var(--spacing-sm);
    }
    
    .video-player-title {
        font-size: 1.25rem;
    }
}
