/**
 * Main Stylesheet for GaLa-Bau Kiki
 * Modern, professional design matching logo aesthetics
 */

/* ========================================
   CSS Variables - Color Scheme
   ======================================== */
:root {
    /* Primary Colors - Based on Logo */
    --color-primary-dark: #1B5E20;   /* Dunkelgrün - Header Top, Footer */
    --color-primary: #2E7D32;        /* Mittelgrün - Buttons, Links */
    --color-primary-light: #66BB6A;  /* Hellgrün - Hover, Akzente */
    --color-accent: #FF6F00;         /* Orange - CTA, wichtige Buttons */
    --color-accent-dark: #E65100;    /* Dunkelorange - CTA Hover */
    
    /* Graustufen */
    --color-text: #212121;
    --color-text-light: #757575;
    --color-border: #E0E0E0;
    --color-bg: #F5F5F5;
    --color-white: #FFFFFF;
    
    /* Logo Colors */
    --color-logo-green: #7CB342;     /* Helles Logo-Grün */
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;     /* Headings - modern, klar */
    --font-secondary: 'Inter', sans-serif;     /* Body - lesbar, professionell */
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 5rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    
    /* Schatten */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
    --shadow-xl: 0 12px 40px rgba(0,0,0,0.25);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2E7D32, #43A047);
    --gradient-accent: linear-gradient(135deg, #FF6F00, #F57C00);
    --gradient-overlay: linear-gradient(135deg, rgba(27, 94, 32, 0.33), rgba(46,125,50,0.6));
}

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

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

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

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

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

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

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

.section {
    padding: var(--spacing-xl) 0;
}

.section-light {
    background-color: var(--color-white);
}

.section-dark {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--color-white);
}

/* ========================================
   Header & Navigation - MODERN DESIGN
   ======================================== */

/* Header Modern */
.header-modern {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.header-modern.scrolled {
    box-shadow: var(--shadow-md);
}

/* Header Top Bar */
.header-top {
    background: var(--color-primary-dark);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.header-contact-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-contact-bar .contact-item {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.header-contact-bar .contact-item:hover {
    color: var(--color-logo-green);
}

.header-contact-bar .contact-item i {
    font-size: 0.9rem;
}

.social-links-header {
    display: flex;
    gap: 15px;
    margin-left: auto;
}

.social-links-header a {
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links-header a:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

/* Header Main */
.header-main {
    background: white;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo */
.logo-container {
    flex-shrink: 0;
}

.logo-large {
    height: 70px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

/* Navigation Modern */
.nav-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.nav-modern .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-modern .nav-item i {
    font-size: 1.1rem;
    color: var(--color-primary);
}

.nav-modern .nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--color-primary-light);
    transition: transform 0.3s ease;
}

.nav-modern .nav-item:hover,
.nav-modern .nav-item.active {
    color: var(--color-primary);
    background: rgba(124, 179, 66, 0.08);
}

.nav-modern .nav-item:hover::after,
.nav-modern .nav-item.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Header CTA */
.header-cta {
    flex-shrink: 0;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover span {
    background: var(--color-accent);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: white;
    color: var(--color-primary);
    transform: rotate(90deg);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mobile-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
}

.mobile-menu-overlay.active .mobile-nav .nav-item {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav .nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav .nav-item.cta {
    background: var(--gradient-accent);
    margin-top: 1rem;
    box-shadow: 0 8px 20px rgba(255, 111, 0, 0.3);
}

.mobile-nav .nav-item i {
    font-size: 1.3rem;
}

/* Staggered animation for mobile menu items */
.mobile-menu-overlay.active .mobile-nav .nav-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-nav .nav-item:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-overlay.active .mobile-nav .nav-item:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-nav .nav-item:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-overlay.active .mobile-nav .nav-item:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu-overlay.active .mobile-nav .nav-item:nth-child(6) { transition-delay: 0.35s; }
/* ========================================
   Hero Sections - Modern Design
   ======================================== */

/* Fullscreen Hero (Homepage) */
.hero-fullscreen {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.hero-content-center {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
    font-weight: 600;
    color: white;
}

.hero-badge i {
    color: var(--color-logo-green);
    font-size: 1.2rem;
}

.hero-title-xl {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-large {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: white;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    margin: 0 auto 10px;
}

.scroll-indicator p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Page Hero (Other pages) */
.hero-page {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.hero-page-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

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

.hero-page .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: white;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-page-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.hero-wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.hero-wave-bottom svg {
    width: 100%;
    height: 60px;
    display: block;
}

/* Old Hero - Keep for backward compatibility */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
    background-image: url('../files/banner_.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.75) 0%, rgba(46, 125, 50, 0.55) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: var(--spacing-md);
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    border-radius: 6px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    text-decoration: none;
    line-height: 1.5;
}

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

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

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-accent:hover {
    background-color: #E65100;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    margin-left: 1rem;
}

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

/* ========================================
   Cards
   ======================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.card {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

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

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 3rem;
    color: var(--color-primary-light);
    margin-bottom: var(--spacing-sm);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(124, 179, 66, 0.1);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.card:hover .card-icon {
    background-color: rgba(124, 179, 66, 0.2);
    transform: scale(1.1);
}

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

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

.card a {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--spacing-sm);
}

.card a:hover {
    color: var(--color-primary-light);
    gap: 0.75rem;
}

/* ========================================
   Service Lists
   ======================================== */
.service-category {
    margin-bottom: var(--spacing-lg);
}

.service-category h3 {
    color: var(--color-primary);
    border-bottom: 3px solid var(--color-primary-light);
    padding-bottom: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

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

.service-list li {
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    background-color: var(--color-white);
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.service-list li:hover {
    border-left-color: var(--color-primary-light);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.service-list li::before {
    content: '✓';
    color: var(--color-primary-light);
    font-weight: bold;
    font-size: 1.25rem;
    margin-right: var(--spacing-sm);
}

/* ========================================
   Footer Modern
   ======================================== */

.footer-modern {
    background: var(--color-primary-dark);
    color: white;
    position: relative;
    margin-top: 5rem;
}

/* Footer Wave */
.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* Footer Content Wrapper */
.footer-content-wrapper {
    padding: 4rem 0 2rem;
}

/* Footer CTA Section */
.footer-cta-section {
    background: linear-gradient(135deg, rgba(255, 111, 0, 0.1), rgba(245, 124, 0, 0.1));
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.footer-cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Footer Columns */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Footer Brand Column */
.footer-brand .footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Social Media Icons */
.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon-modern {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.social-icon-modern:hover {
    background: var(--gradient-accent);
    border-color: var(--color-accent);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 111, 0, 0.4);
}

/* Footer Links Modern */
.footer-links-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links-modern a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.footer-links-modern a:hover {
    color: var(--color-logo-green);
    padding-left: 8px;
}

.footer-links-modern a i {
    color: var(--color-logo-green);
    font-size: 1rem;
}

/* Footer Contact Modern */
.footer-contact-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-modern li {
    display: flex;
    gap: 15px;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.footer-contact-modern i {
    color: var(--color-accent);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-contact-modern a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-modern a:hover {
    color: var(--color-logo-green);
}

/* Footer Hours */
.footer-hours {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-hours li:last-child {
    border-bottom: none;
}

.footer-hours .day {
    color: white;
    font-weight: 600;
}

.footer-hours .time {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer 24/7 Service Badge */
.service-badge-247 {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-badge-247 i {
    font-size: 2rem;
    color: white;
}

.service-badge-247 strong {
    display: block;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
}

.service-badge-247 p {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Footer Bottom */
.footer-bottom-modern {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-legal .separator {
    color: rgba(255, 255, 255, 0.4);
}

.footer-credit a {
    color: var(--color-accent);
    font-weight: 600;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-credit a:hover {
    color: var(--color-logo-green);
}

/* ========================================
   Forms
   ======================================== */
.form-group {
    margin-bottom: var(--spacing-md);
}

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

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-secondary);
    font-size: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    transition: all var(--transition-fast);
    background-color: var(--color-white);
    color: var(--color-text);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.1);
}

.form-control::placeholder {
    color: var(--color-text-light);
}

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

.form-error {
    color: #D32F2F;
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.form-success {
    color: #388E3C;
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.alert {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.alert-success {
    background-color: #E8F5E9;
    border-left: 4px solid var(--color-primary);
    color: var(--color-primary);
}

.alert-error {
    background-color: #FFEBEE;
    border-left: 4px solid #F44336;
    color: #C62828;
}

/* ========================================
   Tables (Price List)
   ======================================== */
.price-table {
    width: 100%;
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-md);
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: left;
    font-family: var(--font-primary);
    font-weight: 600;
}

.price-table td {
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid #F5F5F5;
    color: var(--color-text);
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tbody tr {
    transition: background-color var(--transition-fast);
}

.price-table tbody tr:hover {
    background-color: rgba(124, 179, 66, 0.05);
}

/* ========================================
   Gallery Filters
   ======================================== */
.gallery-filter {
    margin: 0.5rem;
    padding: 10px 24px;
    border: 2px solid var(--color-primary);
    background-color: transparent;
    color: var(--color-primary);
    border-radius: 6px;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.gallery-filter:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.gallery-filter.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

/* ========================================
   Gallery & Lightbox
   ======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.gallery-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(46, 125, 50, 0.95), rgba(46, 125, 50, 0.3));
    color: var(--color-white);
    padding: var(--spacing-md);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.gallery-overlay p {
    margin: 0;
    opacity: 0.9;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    background: rgba(46, 125, 50, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    border: 2px solid var(--color-white);
}

.lightbox-close:hover {
    background-color: var(--color-primary-light);
    transform: rotate(90deg);
}

/* ========================================
   Before/After Slider
   ======================================== */
.slider-container {
    position: relative;
    max-width: 900px;
    margin: var(--spacing-md) auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.slider-images {
    position: relative;
    aspect-ratio: 16/9;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.slider-image.after {
    clip-path: inset(0 0 0 50%);
}

.slider-handle {
    position: absolute;
    width: 4px;
    height: 100%;
    background-color: var(--color-primary-light);
    left: 50%;
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 10;
    box-shadow: 0 0 10px rgba(124, 179, 66, 0.5);
}

.slider-button {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: var(--color-white);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--color-primary-light);
    cursor: ew-resize;
}

.slider-button::before,
.slider-button::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
}

.slider-button::before {
    transform: rotate(-135deg);
    left: 12px;
}

.slider-button::after {
    transform: rotate(45deg);
    right: 12px;
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
    text-align: center;
}

.text-accent {
    color: var(--color-accent);
}

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

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

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

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

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

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

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

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

/* ========================================
   Accessibility - Focus States
   ======================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--color-primary-light);
    outline-offset: 2px;
}

.btn:focus-visible {
    outline: 3px solid var(--color-primary-light);
    outline-offset: 3px;
}

.nav-link:focus-visible {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 2px;
    background-color: rgba(124, 179, 66, 0.1);
}

/* Skip to main content link for screen readers */
.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 0 0 6px 0;
}

.skip-to-main:focus {
    left: 0;
    top: 0;
}

/* ========================================
   Additional Utility Classes
   ======================================== */
.text-primary {
    color: var(--color-primary) !important;
}

.text-light {
    color: var(--color-text-light) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-light-green {
    background-color: var(--color-background) !important;
}

.rounded {
    border-radius: 8px !important;
}

.rounded-lg {
    border-radius: 12px !important;
}

.shadow {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .header,
    .footer,
    .mobile-menu-toggle,
    .btn,
    .gallery-overlay,
    .nav {
        display: none !important;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    a {
        text-decoration: underline;
    }
}
.hero-content-center {
    background: rgb(105 105 105 / 40%); /* Mindestens 30-40% für sichtbaren Blur */
    padding: 3rem 2rem;
    border-radius: 20px;
    backdrop-filter: blur(2px); /* Blur erhöht */
    -webkit-backdrop-filter: blur(12px); /* Für Safari */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Optional: Glaseffekt */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); /* Optional: Tiefe */
    max-width: 900px;
    margin: 0 auto;
}

/* Hide reCAPTCHA v3 badge - text notice required per Google policy */
.grecaptcha-badge {
    visibility: hidden !important;
}
