/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    --olive:        #6B7B2C;
    --olive-dark:   #556322;
    --olive-light:  #8A9A45;
    --olive-pale:   #E8EDC9;
    --anthracite:   #3C3C3C;
    --anthracite-l: #555555;
    --charcoal:     #2A2A2A;
    --white:        #FFFFFF;
    --off-white:    #F7F7F5;
    --sand:         #F0EDE6;
    --sand-dark:    #E2DED4;
    --text-body:    #4A4A4A;
    --text-light:   #777777;
    --shadow-sm:    0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:    0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg:    0 8px 40px rgba(0,0,0,0.12);
    --radius:       4px;
    --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Source Sans 3', 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--white);
    overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--anthracite);
    line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 10px;
}

.section-title {
    margin-bottom: 20px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Decorative line under headings */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--olive);
    margin: 18px auto 0;
    border-radius: 2px;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    box-shadow: 0 1px 16px rgba(0,0,0,0.07);
}

/* -- Top bar: logo centered with accent lines -- */
.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px 12px;
    position: relative;
    transition: padding var(--transition);
}

.header.scrolled .header-top {
    padding: 10px 24px 8px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

.logo img {
    height: 100px;
    width: auto;
    transition: height var(--transition);
}

.header.scrolled .logo img {
    height: 46px;
}

/* Decorative lines flanking the logo */
.logo-line {
    display: block;
    width: 80px;
    height: 1px;
    background: linear-gradient(to var(--dir, right), var(--olive), transparent);
    transition: width var(--transition);
}

.logo-line--left  { --dir: right; margin-right: 24px; }
.logo-line--right { --dir: left;  margin-left: 24px; }

.header.scrolled .logo-line { width: 50px; }

/* -- Bottom bar: navigation -- */
.header-nav {
    display: flex;
    justify-content: center;
    padding-bottom: 8px;
    border-top: 1px solid var(--sand);
    position: relative;
}

/* Thin olive accent line on top of nav */
.header-nav::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--olive);
    border-radius: 1px;
}

.nav-links {
    display: flex;
    gap: 2px;
    padding-top: 8px;
}

.nav-links a {
    position: relative;
    padding: 8px 20px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--anthracite);
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--olive);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--olive);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

/* Dot separator between nav items */
.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links li + li::before {
    content: '';
    display: block;
    width: 3px;
    height: 3px;
    background: var(--sand-dark);
    border-radius: 50%;
    margin: 0 2px;
}

/* Mobile Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    background: none;
    border: none;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--anthracite);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5.5px);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5.5px);
}

/* ============================================
   HERO / SLIDESHOW
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
    will-change: transform, opacity;
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(42,42,42,0.75) 0%,
        rgba(42,42,42,0.65) 40%,
        rgba(42,42,42,0.8) 100%
    );
}

.slide.active {
    opacity: 1;
    animation: kenburns 6s linear forwards;
}

@keyframes kenburns {
    from { transform: scale(1); }
    to   { transform: scale(1.08); }
}

/* Fallback-Hintergrund falls Bild nicht geladen wird */
.slide {
    background-color: var(--charcoal);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
    max-width: 800px;
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 0.3s ease forwards;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.88);
    max-width: 560px;
    margin: 0 auto 35px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 0.5s ease forwards;
}

.hero-cta {
    display: inline-flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 0.7s ease forwards;
}

.btn {
    display: inline-block;
    padding: 14px 34px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    border-radius: var(--radius);
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}

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

.btn-primary:hover {
    background: var(--olive-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107,123,44,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Slideshow indicators */
.slide-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
}

.slide-indicators button {
    width: 32px;
    height: 3px;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    border-radius: 2px;
    transition: all var(--transition);
    padding: 0;
}

.slide-indicators button.active {
    background: var(--white);
    width: 48px;
}

/* Scroll-down indicator */
.scroll-hint {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-hint svg {
    width: 28px;
    height: 28px;
    stroke: rgba(255,255,255,0.6);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.5s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.6s; }

/* ============================================
   SECTION: ÜBER UNS
   ============================================ */
.section {
    padding: 100px 0;
}

.about { background: var(--white); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--sand) 0%, var(--sand-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
    border-radius: var(--radius);
}

.about-image::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 80px;
    height: 80px;
    border-top: 3px solid var(--olive);
    border-left: 3px solid var(--olive);
    border-radius: 2px 0 0 0;
    pointer-events: none;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-body);
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--sand-dark);
    text-align: center;
}

.stat-item {
    flex: 1;
}

.stat-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--olive);
    line-height: 1.2;
}

.stat-item span {
    font-size: 0.85rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

/* ============================================
   SECTION: LEISTUNGEN
   ============================================ */
.services { background: var(--off-white); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--olive);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
    z-index: 1;
}

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

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

.service-thumb {
    overflow: hidden;
}

.service-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.service-card h3 {
    padding: 18px 22px 4px;
    font-size: 1.1rem;
}

.service-subtitle {
    padding: 0 22px 18px;
    font-size: 0.85rem;
    color: var(--olive);
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ---- Service Modal / Popup ---- */
.service-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.service-modal.open {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.service-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.service-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 6px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: translateY(30px);
    transition: transform 0.35s ease;
}

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

.service-modal-close {
    position: sticky;
    top: 12px;
    float: right;
    margin: 12px 12px 0 0;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background var(--transition);
}

.service-modal-close:hover {
    background: var(--olive-pale);
}

.service-modal-close svg {
    width: 20px;
    height: 20px;
}

.service-modal-header {
    padding: 30px 35px 10px;
}

.service-modal-header h2 {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.service-modal-subtitle {
    color: var(--olive);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Modal Slideshow */
.modal-slideshow {
    position: relative;
    margin: 10px 35px 20px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--charcoal);
}

.modal-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
}

.modal-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.modal-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.modal-slide-prev,
.modal-slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background var(--transition), transform var(--transition);
}

.modal-slide-prev { left: 12px; }
.modal-slide-next { right: 12px; }

.modal-slide-prev:hover,
.modal-slide-next:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.modal-slide-prev svg,
.modal-slide-next svg {
    width: 20px;
    height: 20px;
}

.modal-slide-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.modal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition);
}

.modal-dot.active {
    background: var(--white);
    border-color: var(--white);
}

.service-modal-text {
    padding: 10px 35px 20px;
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.8;
}

.service-modal-text p {
    margin-bottom: 14px;
}

.service-modal-text ul {
    list-style: none;
    margin-bottom: 14px;
    padding-left: 0;
}

.service-modal-text li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
}

.service-modal-text li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--olive);
    border-radius: 50%;
}

.service-modal-cta {
    padding: 10px 35px 30px;
}

/* Modal scrollbar styling */
.service-modal-content::-webkit-scrollbar {
    width: 6px;
}
.service-modal-content::-webkit-scrollbar-thumb {
    background: var(--sand-dark);
    border-radius: 3px;
}

/* Modal responsive */
@media (max-width: 768px) {
    .logo img { height: 64px; }
    .service-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    .service-modal-header { padding: 24px 20px 8px; }
    .modal-slideshow { margin: 10px 20px 16px; }
    .service-modal-text { padding: 10px 20px 16px; }
    .service-modal-cta { padding: 8px 20px 24px; }
}

/* ============================================
   SECTION: KONTAKT
   ============================================ */
.contact { background: var(--off-white); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 24px;
    color: var(--text-light);
}

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

.contact-detail-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: var(--olive-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--olive);
}

.contact-detail div strong {
    display: block;
    font-size: 0.9rem;
    color: var(--anthracite);
    margin-bottom: 2px;
}

.contact-detail div span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--anthracite);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--anthracite);
    background: var(--off-white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--olive);
    box-shadow: 0 0 0 3px rgba(107,123,44,0.12);
    background: var(--white);
}

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

.form-submit {
    text-align: right;
}

.form-submit .btn {
    padding: 14px 40px;
}

/* Google Maps Embed */
.contact-map {
    margin-top: 28px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact-map iframe {
    display: block;
    width: 100%;
}

/* Klickbare Kontaktlinks */
.contact-detail a {
    color: var(--text-light);
    transition: color var(--transition);
}

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

/* Social Media Icons */
.contact-social {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--sand-dark);
}

.contact-social strong {
    display: block;
    font-size: 0.9rem;
    color: var(--anthracite);
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #6B7B2C !important;
    color: #FFFFFF;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: #556322;
    transform: translateY(-2px);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   SECTION: PARTNER
   ============================================ */
.partners { background: var(--off-white); }

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.partner-logo {
    flex: 0 0 auto;
    opacity: 0.5;
    transition: opacity var(--transition), filter var(--transition);
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.partner-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* ============================================
   SECTION: NEWS
   ============================================ */
.news { background: var(--white); }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--off-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
}

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

.news-image {
    overflow: hidden;
}

.news-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: var(--sand);
    transition: transform 0.5s ease;
}

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

.news-content {
    padding: 24px;
}

.news-date {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 8px;
    display: block;
}

.news-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.news-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.6);
    padding: 50px 0 30px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 24px;
}

.footer-brand .logo img {
    height: 45px;
    filter: brightness(0) invert(1);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.85rem;
    max-width: 280px;
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 14px;
    font-family: var(--font-body);
    font-weight: 600;
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    padding: 3px 0;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
}

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

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
}

/* Social Media Icons */
.footer-social h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 14px;
    font-family: var(--font-body);
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 14px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--olive);
    color: var(--white);
    transform: translateY(-2px);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--olive);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--olive-dark);
    transform: translateY(-3px);
}

.scroll-top svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   PARALLAX DIVIDER
   ============================================ */
.parallax-divider {
    height: 300px;
    background-color: var(--charcoal);
    background-image: url('../images/allgemein/parallax-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

/* Overlay-Gradient über dem Hintergrundbild */
.parallax-divider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(42,42,42,0.8),
        rgba(107,123,44,0.6)
    );
}

.parallax-divider h2 {
    position: relative;
    z-index: 1;
    color: var(--white);
    font-size: clamp(1.4rem, 3vw, 2rem);
    max-width: 700px;
    padding: 0 24px;
}

.parallax-divider h2::after { display: none; }

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image { order: -1; }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .header-nav {
        border-top: none;
    }

    .header-nav::before {
        display: none;
    }

    .logo-line {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 40px;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        transition: right var(--transition);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links li + li::before {
        display: none;
    }

    .nav-links a {
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--sand);
        letter-spacing: 1px;
    }

    .nav-links a::after { display: none; }

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

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

    .partner-logos {
        gap: 24px;
    }

    .partner-logo img {
        height: 45px;
    }

    .hero { min-height: 500px; }

    .section { padding: 70px 0; }

    .about-stats {
        gap: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px 22px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .parallax-divider {
        background-attachment: scroll;
        height: 220px;
    }
}

@media (max-width: 480px) {
    .about-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #2a2a2a;
    color: #f0f0f0;
    padding: 16px 24px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.3);
}

.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    color: #ccc;
}

.cookie-banner-text a.cookie-more {
    color: #a0b060;
    text-decoration: underline;
    margin-left: 4px;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-cookie:hover {
    opacity: 0.85;
}

.btn-cookie--accept {
    background: #6B7B2C;
    color: #fff;
}

.btn-cookie--decline {
    background: transparent;
    color: #ccc;
    border: 1px solid #555;
}

/* ========== MAP PLACEHOLDER ========== */
.map-placeholder {
    width: 100%;
    height: 220px;
    background: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    border: 1px solid #ddd;
}

.map-placeholder p {
    margin: 0;
}

/* ========== FORMULAR FEEDBACK ========== */
.form-feedback {
    display: none;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.form-feedback--success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-feedback--error {
    display: block;
    background: #fdecea;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Responsive Cookie Banner */
@media (max-width: 600px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}