@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/caveat-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/inter-800-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/inter-900-normal.woff2') format('woff2');
}

/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
:root {
    /* Colors (from Logo & Flyer) */
    --primary: #7aa331;        /* Plant green from ZEMSCH logo text */
    --primary-light: #8cb83e;  /* Brighter green */
    --primary-dark: #5d7d23;   /* Darker leaf green */
    --secondary: #2c3e1b;      /* Dark forest green (replaces wood brown) */
    --secondary-dark: #1d2a12;
    --text-main: #000000;      /* Pure black as requested */
    --text-muted: #333333;     /* Dark charcoal for descriptions */
    
    /* Backgrounds */
    --bg-page: #ffffff;        /* Pure white background (no beige!) */
    --bg-light: #f7f9f5;       /* Very light grey-green tint for section variations */
    --bg-dark-accent: #f2f6ed; /* Slightly darker light green tint for section backgrounds */
    --bg-white: #ffffff;

    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-handwriting: 'Caveat', cursive; /* For the flyer handwriting slogan */

    /* Shadows & Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-round: 50%;
    --shadow-sm: 0 4px 12px rgba(122, 163, 49, 0.08);
    --shadow-md: 0 8px 24px rgba(44, 62, 27, 0.1);
    --shadow-hover: 0 16px 36px rgba(122, 163, 49, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-page);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
    list-style: none;
}

/* ==========================================================================
   Typography & Headings
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1.15;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 950;
    text-transform: uppercase;
}

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

h3 {
    font-size: 1.35rem;
    font-weight: 700;
}

h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   Flyer Headers (Dünner, zentriert und ohne Strich!)
   ========================================================================== */
.dashed-header-container {
    width: 100%;
    margin-bottom: 2.75rem; /* Spacious default before grids/timelines/etc. */
    display: flex;
    justify-content: center;
}

.dashed-header {
    text-align: center;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--primary-dark);
    font-weight: 600; /* Thinner font weight */
    width: auto;
    position: relative;
    padding-bottom: 0;
    text-transform: none;
    margin-bottom: 0 !important; /* Prevent heading margins from pushing content */
}

.dashed-header::before,
.dashed-header::after {
    display: none; /* No lines or dashes */
}

.dashed-header.dark {
    color: var(--secondary);
}

/* Pull description paragraphs closer to the header container */
.dashed-header-container + p {
    margin-top: -1.75rem !important;
    margin-bottom: 2.5rem !important;
}

/* ==========================================================================
   Layout & Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6.5rem 0;
}

.bg-dark-accent {
    background-color: var(--bg-dark-accent);
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn i {
    font-size: 1.2em;
}

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

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

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

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

.btn-large {
    padding: 1.15rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(122, 163, 49, 0.15);
    transition: var(--transition-normal);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

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

.nav {
    display: none;
}

.nav > a {
    color: var(--secondary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav > a:hover {
    color: var(--primary);
}

.header-cta {
    display: none;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
}

.mobile-only-cta {
    display: none;
    width: 100%;
}

@media (min-width: 992px) {
    .nav {
        display: flex;
        gap: 0.5rem;
    }
    .header-cta {
        display: flex;
    }
}

@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: var(--secondary);
        font-size: 1.8rem;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1001;
        transition: var(--transition-fast);
    }
    
    .menu-toggle:hover {
        color: var(--primary);
    }
    
    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 3px solid var(--primary);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        padding: 1.5rem 2rem;
        gap: 0.5rem;
        z-index: 999;
    }
    
    .nav.active {
        display: flex;
        animation: navSlideDown 0.3s ease-out forwards;
    }
    
    .nav > a {
        display: block;
        padding: 0.8rem 0;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(122, 163, 49, 0.1);
        border-radius: 0;
        width: 100%;
    }
    
    .nav > a:hover {
        padding-left: 8px;
    }
    
    .mobile-only-cta {
        display: block;
        margin-top: 1rem;
    }
}

@keyframes navSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 80vh;
    padding-top: 170px;
    padding-bottom: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-subpage {
    min-height: 40vh;
    padding-top: 130px;
    padding-bottom: 3rem;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.88);
}

.hero-container-centered {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content-centered {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.hero-sup-title {
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.5px;
    margin-bottom: 2.2rem;
    text-transform: uppercase;
}

.hero-main-title {
    color: var(--secondary);
    font-size: clamp(3.2rem, 8vw, 6.2rem);
    line-height: 0.95;
    margin-top: 0.25rem;
    margin-bottom: 0;
}

/* Organic Green Brush Slogan Banner */
.brush-banner {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 1.25rem 4.5rem 0.65rem;
    border-radius: 120px 20px 100px 15px / 20px 100px 15px 80px;
    font-family: var(--font-handwriting);
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
    line-height: 1.2;
    display: inline-block;
    transform: rotate(-1.5deg);
    margin: 1.5rem 0 2.5rem;
    box-shadow: 0 6px 16px rgba(122, 163, 49, 0.2);
    text-align: center;
    max-width: 100%;
}

@media (min-width: 992px) {
    .brush-banner {
        white-space: nowrap; /* Single line on desktop */
    }
}

@media (max-width: 991px) {
    .brush-banner {
        font-size: 1.4rem;
        padding: 1.05rem 1.5rem 0.55rem;
        border-radius: 30px;
        transform: none;
        white-space: normal; /* Wrap on mobile to prevent overflow */
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 720px;
    font-weight: 500;
}

/* ==========================================================================
   Unser Service Grid (Vertikales linksbündiges Card-Design)
   ========================================================================== */
.services-grid-flyer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
    gap: 3rem;
}

.service-item-flyer {
    display: flex;
    flex-direction: column;    /* Stacks children vertically */
    align-items: flex-start;   /* Aligns items left inside the card */
    text-align: left;          /* Aligns text content left */
    background: var(--bg-white);
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(122, 163, 49, 0.06);
    transition: var(--transition-normal);
}

.service-item-flyer:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.circle-icon {
    width: 55px; /* Smaller icon wrapper */
    height: 55px;
    border-radius: var(--radius-round);
    background-color: var(--bg-dark-accent);
    border: 2px solid var(--primary);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem; /* Smaller icon font size */
    margin-bottom: 1.5rem; /* Distance below icon, above heading */
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.service-item-flyer:hover .circle-icon {
    transform: scale(1.06);
    background-color: var(--primary);
    color: var(--bg-white);
}

.service-text {
    min-width: 0;
    width: 100%;
}

.service-text h3 {
    color: var(--secondary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.service-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ==========================================================================
   Preise & Preislisten (Highlights + Original-Flyer)
   ========================================================================== */
.pricing-highlight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.pricing-card {
    background: var(--bg-white);
    padding: 2.5rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(122, 163, 49, 0.12);
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

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

.pricing-card.highlight {
    border-color: var(--primary);
    border-width: 2px;
    box-shadow: var(--shadow-md);
}

.pricing-card.highlight:hover {
    box-shadow: var(--shadow-hover);
}

.pricing-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px dashed rgba(122, 163, 49, 0.15);
    padding-bottom: 1rem;
}

.pricing-card-header i {
    font-size: 2rem;
    color: var(--primary-dark);
}

.pricing-card-header h3 {
    margin-bottom: 0;
    color: var(--secondary);
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
}

.pricing-card-list {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px dashed rgba(122, 163, 49, 0.1);
}

.pricing-card-list li:last-child {
    border-bottom: none;
}

.item-name {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.item-price {
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 1.05rem;
    text-align: right;
    white-space: nowrap;
}

.pricing-info-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 4.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Flyers Section */
.flyers-download-section {
    border-top: 1px solid rgba(122, 163, 49, 0.15);
    padding-top: 4rem;
}

.flyers-download-section h3 {
    text-align: center;
    color: var(--secondary);
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 1.25rem; /* Reduced from 2.5rem */
    text-transform: uppercase;
}

.prices-flyers-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 740px;
    margin: 0 auto;
}

.flyer-thumbnail-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(122, 163, 49, 0.12);
    text-align: center;
    transition: var(--transition-normal);
}

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

.flyer-thumbnail-card h4 {
    color: var(--secondary);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.flyer-img-container {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1 / 1.414; /* Standard flyer format */
    border: 1px solid #eee;
}

.flyer-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.flyer-img-container a {
    display: block;
    width: 100%;
    height: 100%;
}

.zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(122, 163, 49, 0.9);
    color: var(--bg-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.flyer-img-container:hover img {
    transform: scale(1.06);
}

.flyer-img-container:hover .zoom-overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .prices-flyers-gallery {
        grid-template-columns: 1fr;
        max-width: 380px;
    }
}

/* ==========================================================================
   Über uns & Qualität
   ========================================================================== */
.quality-grid-flyer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.quality-item {
    background-color: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(122, 163, 49, 0.1);
    transition: var(--transition-normal);
}

.quality-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.quality-item:hover .circle-icon {
    transform: scale(1.06);
    background-color: var(--primary);
    color: var(--bg-white);
}

.quality-item h4 {
    color: var(--secondary);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    width: 100%;
}

.quality-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==========================================================================
   So einfach geht's (Prozess-Zeitleiste)
   ========================================================================== */
.process-steps-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 3rem;
    margin-top: 2rem;
}

.process-steps-timeline::before {
    content: '';
    position: absolute;
    top: 35px; /* Aligns with the center of the 70px icon */
    left: 35px;
    right: 35px;
    height: 4px;
    background-color: var(--primary);
    opacity: 0.25;
    z-index: 0;
}

.timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.timeline-step .step-icon {
    width: 70px;
    height: 70px;
    background-color: var(--bg-dark-accent);
    border: 3px solid var(--primary);
    color: var(--primary-dark);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    z-index: 2;
}

.timeline-step:hover .step-icon {
    transform: scale(1.08) rotate(5deg);
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.timeline-step h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.timeline-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 260px;
}

@media (max-width: 992px) {
    .process-steps-timeline::before {
        left: 25px;
        right: 25px;
    }
}

@media (max-width: 768px) {
    .process-steps-timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
        padding-left: 1rem;
    }
    
    .process-steps-timeline::before {
        top: 35px;
        bottom: 35px;
        left: 35px;
        width: 4px;
        height: auto;
        right: auto;
    }
    
    .timeline-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 1.5rem;
    }
    
    .timeline-step .step-icon {
        margin: 0;
        flex-shrink: 0;
    }
    
    .timeline-step p {
        max-width: 100%;
    }
}

/* ==========================================================================
   Vorher-Nachher Galerie (Portfolio)
   ========================================================================== */
.portfolio {
    padding: 6.5rem 0;
}

.portfolio-intro {
    max-width: 700px;
    margin: 0 auto 2rem; /* Reduced margin and removed negative top margin */
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.portfolio-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(122, 163, 49, 0.1);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.portfolio-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background-color: #f0f0f0;
}

.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--transition-normal);
}

.portfolio-img-wrapper .img-after {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.portfolio-item.hover-project:hover .img-after {
    opacity: 1;
}

/* Split-Image Containers for Cropping Collages */
.split-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: opacity var(--transition-normal);
}

.split-image-container img {
    position: absolute;
    left: -6%;
    width: 112%;
    height: 224% !important;
    max-width: none !important;
    object-fit: cover;
}

.split-image-container.img-before img {
    top: -6%;
}

.split-image-container.img-after img {
    top: -118%;
}

.portfolio-item.crop-split .img-after {
    opacity: 0;
    z-index: 2;
}

.portfolio-item.crop-split .img-before {
    opacity: 1;
    z-index: 1;
}

.portfolio-item.crop-split:hover .img-after {
    opacity: 1;
}

.portfolio-badge {
    position: absolute;
    bottom: 1.25rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    pointer-events: none;
}

.portfolio-badge.before {
    left: 1.25rem;
    background-color: var(--secondary);
    color: var(--bg-white);
    opacity: 1;
    transition: opacity var(--transition-normal);
}

.portfolio-badge.after {
    right: 1.25rem;
    background-color: var(--primary);
    color: var(--bg-white);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.portfolio-item.hover-project:hover .portfolio-badge.before {
    opacity: 0;
}

.portfolio-item.hover-project:hover .portfolio-badge.after {
    opacity: 1;
}

.portfolio-badge.after-fixed {
    right: 1.25rem;
    background-color: var(--primary);
    color: var(--bg-white);
    opacity: 1;
}

.portfolio-info {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.portfolio-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   Kundenbewertungen (Testimonial Slider)
   ========================================================================== */
.reviews-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.reviews-slider {
    overflow: hidden;
    width: 100%;
    padding: 1rem 0; /* padding to avoid translateY card shadow clip */
}

.reviews-track {
    display: flex;
    gap: 2.5rem;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.review-slide {
    flex: 0 0 100%; /* Default for mobile */
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(122, 163, 49, 0.1);
    box-shadow: var(--shadow-sm);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-normal);
}

.review-slide:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.review-stars {
    color: #f59e0b;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
}

.review-quote {
    font-size: 1.05rem;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1; /* stretches to align author at bottom */
}

.review-author {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--secondary);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-round);
    background: var(--bg-white);
    border: 2px solid var(--primary);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

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

.slider-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-round);
    background: rgba(122, 163, 49, 0.25);
    cursor: pointer;
    transition: var(--transition-normal);
}

.dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 10px;
}

/* Google Reviews Rating Badge & Cards */
.google-rating-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: var(--bg-white);
    border: 1px solid rgba(122, 163, 49, 0.15);
    border-radius: 50px; /* rounded pill style */
    padding: 0.75rem 2rem;
    max-width: fit-content;
    margin: 0 auto 3rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-normal);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.google-rating-badge:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.google-badge-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.google-badge-divider {
    width: 1px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.1);
}

.google-badge-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.google-logo-svg {
    width: 20px;
    height: 20px;
}

.google-badge-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--dark-bg);
    margin: 0;
}

.google-rating-stars {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-bottom: 0;
}

.google-rating-stars i {
    color: #fcb900; /* Google orange/yellow star color */
    font-size: 1.1rem;
}

.google-rating-score {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark-bg);
    line-height: 1;
    margin-bottom: 0;
}

.google-rating-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

@media (max-width: 576px) {
    .google-rating-badge {
        flex-direction: column;
        gap: 0.5rem;
        border-radius: var(--radius-lg);
        padding: 1rem 1.5rem;
    }
    .google-badge-divider {
        display: none;
    }
}

/* Google Review Card Alignment overrides */
.review-slide.google-review-card {
    align-items: flex-start;
    text-align: left;
    padding: 2.25rem 2rem;
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    text-transform: uppercase;
    flex-shrink: 0;
}

.avatar-antonio { background-color: #8e24aa; } /* Purple */
.avatar-at { background-color: #3f51b5; }      /* Indigo */
.avatar-ilona { background-color: #e91e63; }   /* Pink */
.avatar-giulia { background-color: #4caf50; }  /* Green */

.reviewer-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.reviewer-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark-bg);
    margin: 0;
    line-height: 1.2;
}

.review-date-info {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.review-card-rating {
    display: flex;
    gap: 0.15rem;
    margin-bottom: 1rem;
}

.review-card-rating i {
    color: #fcb900;
    font-size: 1.1rem;
}

.google-review-text {
    font-size: 0.925rem;
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.google-logo-watermark {
    position: absolute;
    top: 2rem;
    right: 2rem;
    opacity: 0.08;
    width: 24px;
    height: 24px;
    pointer-events: none;
}

@media (min-width: 992px) {
    .review-slide {
        flex: 0 0 calc(33.333% - 1.67rem);
    }
}

@media (min-width: 600px) and (max-width: 991px) {
    .review-slide {
        flex: 0 0 calc(50% - 1.25rem);
    }
}

/* ==========================================================================
   FAQ Accordion (Flyer-Look)
   ========================================================================== */
.accordion-flyer {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1.25rem;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    border: 1px solid rgba(122, 163, 49, 0.15);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.accordion-header:hover {
    color: var(--primary-dark);
}

.accordion-header i {
    transition: transform var(--transition-fast);
    color: var(--primary);
    font-size: 1.2rem;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    padding: 0 2rem;
    opacity: 0;
}

.accordion-content.active {
    padding-bottom: 1.5rem;
    opacity: 1;
}

.accordion-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==========================================================================
   Kontakt & Footer
   ========================================================================== */
.contact-section {
    padding: 6.5rem 0;
    background-color: var(--bg-white);
}

.contact-grid-flyer {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    margin-bottom: 0;
}

.contact-left-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-left-info h2 {
    color: var(--secondary);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.75rem; /* Reduced from 1.5rem */
    text-transform: uppercase;
}

.contact-subtext {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem; /* Reduced from 2.5rem */
    line-height: 1.7;
}

.contact-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-ctas .btn {
    text-transform: none;
}

/* Contact Details List Custom Badges */
.contact-details-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.contact-details-list li {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.contact-details-list li:last-child {
    margin-bottom: 0;
}

.contact-details-list li strong {
    color: var(--secondary);
    font-weight: 700;
}

.contact-details-list li a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-details-list li a:hover {
    color: var(--primary);
}

.contact-details-list li:hover .contact-icon-badge {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: scale(1.08);
    border-color: var(--primary);
}

/* Highlight Card for Einsatzgebiet */
.einsatzgebiet-highlight-card {
    background-color: var(--bg-light);
    border: 1px solid rgba(122, 163, 49, 0.08);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    box-sizing: border-box;
}

.einsatzgebiet-highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    background: var(--bg-white);
}

.einsatzgebiet-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-white);
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(122, 163, 49, 0.05);
    border: 1px solid rgba(122, 163, 49, 0.1);
    transition: all var(--transition-normal);
}

.einsatzgebiet-highlight-card:hover .einsatzgebiet-icon-badge {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
    transform: scale(1.08);
}

.einsatzgebiet-details {
    display: flex;
    flex-direction: column;
}

.einsatzgebiet-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.einsatzgebiet-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.35;
}

.contact-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(122, 163, 49, 0.08); /* Soft primary brand green tint */
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    border: 1px solid rgba(122, 163, 49, 0.15);
    transition: all var(--transition-fast);
}

.whatsapp-list-link {
    color: #20ba5a;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-left: 0.5rem;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.whatsapp-list-link:hover {
    transform: scale(1.2) rotate(10deg);
    color: #1a9e4d;
}

/* WhatsApp Button Custom Branding */
.btn-whatsapp {
    background-color: #20ba5a; /* Sleek forest-branding WhatsApp green */
    color: var(--bg-white);
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition-normal);
    letter-spacing: 0.5px;
}

.btn-whatsapp:hover {
    background-color: #1a9e4d;
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(32, 186, 90, 0.25);
}

/* Premium Card CTA (kontakt.html Right Side) */
.contact-card-premium {
    background: var(--bg-white);
    padding: 3.5rem 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(122, 163, 49, 0.12);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.contact-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.contact-card-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(122, 163, 49, 0.06);
    border: 2px solid rgba(122, 163, 49, 0.12);
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.contact-card-premium:hover .contact-card-icon-wrapper {
    background: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
    transform: scale(1.05) rotate(15deg);
}

.contact-card-premium h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-card-premium .accent-bar {
    width: 45px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.contact-card-premium p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.contact-card-premium .btn i {
    transition: transform var(--transition-normal);
}

.contact-card-premium .btn:hover i {
    transform: translateX(4px);
}

/* Online-Anfrage Formular */
.footer-right-form {
    background: var(--bg-white);
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    color: var(--text-main);
}

.footer-right-form h3 {
    color: var(--secondary);
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 2px dashed rgba(122, 163, 49, 0.2);
    padding-bottom: 1rem;
    text-transform: uppercase;
}

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

.form-group-flyer {
    margin-bottom: 1.5rem;
}

.form-group-flyer label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--secondary);
}

.form-group-flyer input,
.form-group-flyer textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(44, 62, 27, 0.2);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    background-color: var(--bg-light);
}

.form-group-flyer input:focus,
.form-group-flyer textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(122, 163, 49, 0.15);
}

.form-success-flyer {
    color: var(--primary-dark);
    margin-top: 1.5rem;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ==========================================================================
   Neuer 3-Spalten Footer (Helles Grün mit dunklem Text)
   ========================================================================== */
.footer {
    background-color: var(--bg-dark-accent); /* Light green for footer */
    color: var(--text-main);
    padding: 2.5rem 0 0;
    border-top: 1px solid rgba(122, 163, 49, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr 0.8fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: var(--secondary); /* Dark green for column titles */
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary);
}

.footer-logo {
    margin-bottom: 1.25rem;
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: inline-block;
    max-width: 100%;
    box-shadow: none;
}

.footer-logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.footer-about-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-contact-list,
.footer-legal-list {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding-left: 0;
}

.footer-contact-list li,
.footer-legal-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 500;
}

.footer-contact-list li i,
.footer-legal-list li i {
    color: var(--primary-dark); /* Darker leaf green for WCAG contrast on light green background */
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.footer-contact-list a,
.footer-legal-list a {
    color: var(--secondary); /* Dark green for links */
    font-weight: 500;
    transition: var(--transition-fast);
}

.footer-contact-list a:hover,
.footer-legal-list a:hover {
    color: var(--primary-dark);
    padding-left: 3px;
}

.whatsapp-inline-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background-color: #25d366;
    color: var(--bg-white) !important;
    padding: 0.15rem 0.6rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.whatsapp-inline-badge i {
    color: var(--bg-white) !important;
    font-size: 0.85rem !important;
    margin-top: 0 !important;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.03); /* Soft accent background for copyright */
    padding: 1.25rem 0;
    border-top: 1px solid rgba(122, 163, 49, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 992px) {
    .contact-grid-flyer {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .footer-right-form {
        padding: 2.5rem 1.5rem;
    }
    .contact-card-premium {
        padding: 3rem 1.75rem;
    }
    .form-row-flyer {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary);
    color: var(--bg-white);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    border: 2px solid transparent;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(122, 163, 49, 0.35);
    color: var(--bg-white);
}

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

@media (max-width: 576px) {
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    .btn-large {
        padding: 0.95rem 1.75rem;
        font-size: 1rem;
    }
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border-radius: 12px;
    max-width: 800px;
    width: 90vw;
    max-height: 90vh;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.lightbox-img-wrapper {
    position: relative;
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    width: 100%;
    height: auto;
    max-height: 65vh;
    object-fit: contain;
    display: block;
}

.lightbox-caption {
    padding: 1.5rem 2rem;
    text-align: center;
    overflow-y: auto;
    background: var(--bg-white);
}

.lightbox-caption h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: var(--secondary);
    font-family: var(--font-heading);
    font-weight: 800;
}

.lightbox-caption p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 30px;
    font-weight: 300;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    line-height: 1;
    transition: background 0.2s;
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--primary);
}
