﻿/*
  Kernenbach Gartengestaltung - Modern Styling
*/

/* -------------------------------------
   Self-hosted Fonts (DSGVO-konform)
-------------------------------------- */
@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/cormorant-garamond-500.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/cormorant-garamond-600.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/cormorant-garamond-700.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("fonts/manrope-latin.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

/* -------------------------------------
   Variables & Root
-------------------------------------- */
:root {
    --primary-color: #204838;
    --primary-hover: #173429;
    --header-offset: 140px;
    --page-hero-visible-height: 460px;
    --secondary-color: #f5efe4;
    --accent-color: #c59d5f;
    --text-dark: #14211c;
    --text-muted: #5c695f;
    --background-light: #f7f1e7;
    --surface-color: rgba(255, 252, 247, 0.9);
    --surface-strong: #fffdf8;
    --border-soft: rgba(32, 72, 56, 0.12);
    --border-strong: rgba(197, 157, 95, 0.22);
    --primary-color-dark: #10231c;
    --home-section-gradient: linear-gradient(
        180deg,
        rgba(244, 236, 223, 0.72) 0%,
        rgba(240, 230, 214, 0.66) 100%
    );
    --home-section-radial:
        radial-gradient(
            circle at 14% 20%,
            rgba(197, 157, 95, 0.1),
            transparent 28%
        ),
        radial-gradient(
            circle at 84% 16%,
            rgba(32, 72, 56, 0.06),
            transparent 28%
        );
    --home-surface-gradient: linear-gradient(
        180deg,
        rgba(255, 252, 246, 0.94) 0%,
        rgba(248, 241, 229, 0.91) 100%
    );
    --home-surface-strong: linear-gradient(
        180deg,
        rgba(250, 244, 234, 0.92) 0%,
        rgba(243, 235, 222, 0.9) 100%
    );
    --shadow-soft: 0 20px 60px rgba(14, 26, 20, 0.08);
    --shadow-strong: 0 35px 120px rgba(10, 23, 17, 0.16);
    --shadow-lift: 0 26px 80px rgba(16, 35, 28, 0.12);

    --font-heading: "Cormorant Garamond", serif;
    --font-body: "Manrope", sans-serif;

    --transition: all 0.3s ease-in-out;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* -------------------------------------
    Reset & Basics
-------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background:
        radial-gradient(
            circle at 12% 22%,
            rgba(197, 157, 95, 0.11),
            transparent 31%
        ),
        radial-gradient(
            circle at 84% 14%,
            rgba(32, 72, 56, 0.065),
            transparent 29%
        ),
        radial-gradient(
            circle at 88% 78%,
            rgba(197, 157, 95, 0.06),
            transparent 26%
        ),
        linear-gradient(180deg, #f8f2e7 0%, #f2e8d8 50%, #f6eee1 100%);
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: 0.01em;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: -1;
    filter: blur(60px);
    opacity: 0.8;
}

body::before {
    width: 22rem;
    height: 22rem;
    top: 5rem;
    right: -4rem;
    background: rgba(197, 157, 95, 0.12);
}

body::after {
    width: 26rem;
    height: 26rem;
    bottom: -6rem;
    left: -8rem;
    background: rgba(32, 72, 56, 0.08);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}
.mt-4 {
    margin-top: 2rem;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    padding: 0.85rem 1.1rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.skip-link:focus {
    top: 1rem;
}

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

/* -------------------------------------
   Buttons
-------------------------------------- */
.btn {
    display: inline-block;
    padding: 1rem 1.7rem;
    border-radius: 999px;
    font-weight: 700;
    font-family: var(--font-body);
    text-transform: none;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    overflow: hidden;
    background-clip: padding-box;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.btn-primary {
    background: linear-gradient(180deg, #2a684f 0%, var(--primary-color) 100%);
    color: #fff;
    border-color: rgba(24, 58, 45, 0.92);
    box-shadow: 0 16px 40px rgba(21, 47, 37, 0.22);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #245c46 0%, var(--primary-hover) 100%);
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(21, 47, 37, 0.28);
}

.btn-secondary {
    background-color: #fff;
    color: var(--primary-color);
    border-color: #fff;
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px rgba(21, 47, 37, 0.12);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: rgba(197, 157, 95, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(21, 47, 37, 0.18);
}

/* -------------------------------------
   Header & Navigation
-------------------------------------- */
#main-header {
    background: linear-gradient(
        180deg,
        rgba(250, 246, 238, 0.88) 0%,
        rgba(250, 246, 238, 0.74) 100%
    );
    backdrop-filter: blur(18px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(32, 72, 56, 0.08);
    box-shadow: 0 8px 30px rgba(13, 28, 21, 0.04);
    transition: var(--transition);
}

#main-header.is-scrolled {
    box-shadow: 0 18px 40px rgba(12, 24, 19, 0.08);
    background: linear-gradient(
        180deg,
        rgba(252, 248, 242, 0.94) 0%,
        rgba(248, 241, 230, 0.9) 100%
    );
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    gap: 1.5rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-pdf-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.header-logo-image {
    display: block;
    flex-shrink: 0;
    height: 64px;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: left center;
    background: transparent;
}

.logo-brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--primary-color-dark);
    line-height: 1.05;
    display: block;
}

.logo-subtitle {
    font-size: 0.76rem;
    font-weight: 500;
    margin: 0;
    color: var(--text-muted);
    font-family: var(--font-body);
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.logo-text p {
    font-size: 0.68rem;
    margin: 0;
    color: var(--text-muted);
    font-family: var(--font-body);
}

@media (max-width: 1100px) {
    .logo-subtitle {
        display: none;
    }

    .logo-title {
        font-size: 1.05rem;
    }
}

.primary-navigation {
    list-style: none;
    margin: 0;
    padding: 0.22rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    background: rgba(255, 252, 247, 0.82);
    border: 1px solid rgba(32, 72, 56, 0.08);
    box-shadow: var(--shadow-soft);
}

.primary-navigation li {
    list-style: none;
}

.mobile-nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    line-height: 1;
}

.mobile-nav-toggle i {
    font-size: 1.6rem;
}

.primary-navigation li a {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-dark);
    position: relative;
    display: block;
    padding: 0.7rem 1rem;
    border-radius: 999px;
}

.primary-navigation li a::after {
    content: "";
    position: absolute;
    inset: auto 1rem 0.55rem 1rem;
    width: auto;
    height: 1px;
    opacity: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--accent-color) 50%,
        transparent 100%
    );
    transition: var(--transition);
}

.primary-navigation li a:hover::after,
.primary-navigation li a.active::after {
    opacity: 1;
}

.primary-navigation li a:hover,
.primary-navigation li a.active {
    color: var(--primary-color);
    background: rgba(32, 72, 56, 0.07);
}

/* -------------------------------------
   Hero Section
-------------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 780px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("https://images.unsplash.com/photo-1558904541-efa843a96f09?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80")
        center/cover no-repeat;
    margin-top: 0;
    text-align: center;
    color: #fff;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.76s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-touch-callout: none;
}

.hero-video.is-playing {
    opacity: 1;
}

.hero-video::-webkit-media-controls {
    display: none !important;
}

.hero-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.hero-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.hero-video::-webkit-media-controls-overlay-play-button {
    display: none !important;
}

.hero-video.is-active {
    opacity: 1;
}

.hero.hero-low-power .hero-video {
    transition: opacity 0.38s linear;
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        transition: none;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(197, 157, 95, 0.18),
            transparent 24%
        ),
        linear-gradient(
            110deg,
            rgba(12, 24, 19, 0.82) 0%,
            rgba(22, 43, 34, 0.72) 42%,
            rgba(39, 70, 56, 0.48) 100%
        );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 7rem;
    padding-bottom: 3rem;
}

.hero-premium {
    background-image: url("https://images.unsplash.com/photo-1558904541-efa843a96f09?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80");
}

.hero-shell {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2.4rem 2.2rem;
    border-radius: 40px;
    background: linear-gradient(
        180deg,
        rgba(18, 31, 24, 0.28) 0%,
        rgba(18, 31, 24, 0.18) 100%
    );
    border: 1px solid rgba(255, 244, 224, 0.18);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(14px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: rgba(32, 72, 56, 0.13);
    border: 1px solid rgba(32, 72, 56, 0.26);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    box-shadow: 0 2px 8px rgba(32, 72, 56, 0.09);
}

.hero-shell .eyebrow {
    background: rgba(255, 245, 226, 0.12);
    border: 1px solid rgba(255, 242, 220, 0.22);
    color: #fff2db;
}

.hero-subtitle {
    margin-bottom: 1.35rem;
    font-size: 1.12rem;
    padding: 0.72rem 1.5rem;
    border: 1.5px solid rgba(255, 243, 220, 0.34);
    background: linear-gradient(
        180deg,
        rgba(255, 244, 220, 0.2) 0%,
        rgba(255, 244, 220, 0.12) 100%
    );
    box-shadow:
        0 10px 28px rgba(10, 22, 16, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    letter-spacing: 0.015em;
}

.hero-title {
    font-size: clamp(3.1rem, 6vw, 5.7rem);
    font-weight: 600;
    margin: 0 auto 1.3rem;
    line-height: 1.08;
    max-width: 20ch;
    text-wrap: balance;
}

.hero-title-line {
    display: block;
}

.hero-title-variant-mobile {
    display: none;
}

@media (min-width: 769px) {
    .hero-title-line {
        white-space: nowrap;
    }
}

.hero-text {
    font-size: 1.08rem;
    margin: 0 auto 2rem;
    font-weight: 400;
    color: rgba(255, 247, 235, 0.86);
    max-width: 56ch;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: center;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 251, 243, 0.12);
    border: 1px solid rgba(255, 245, 226, 0.14);
    color: rgba(255, 247, 235, 0.94);
    font-size: 0.88rem;
}

/* -------------------------------------
   Inner Page Hero Section
-------------------------------------- */
.hero-inner {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("Bilder/Bild-22.jpg") center/cover no-repeat;
    margin-top: 0;
    text-align: center;
    color: #fff;
    padding: 6rem 0;
}

.page-hero {
    position: relative;
    padding: calc(var(--header-offset) + 5rem) 0 5rem;
    overflow: hidden;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(
            ellipse at 88% 10%,
            rgba(197, 157, 95, 0.18) 0%,
            transparent 46%
        ),
        radial-gradient(
            ellipse at 8% 90%,
            rgba(197, 157, 95, 0.1) 0%,
            transparent 40%
        ),
        linear-gradient(
            150deg,
            #132619 0%,
            #1c3c2c 38%,
            #234839 68%,
            #2a5440 100%
        );
}

.page-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 560px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(197, 157, 95, 0.55),
        transparent
    );
}

.page-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-hero-content::before {
    content: "";
    display: block;
    width: 2.8rem;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
    margin-bottom: 1.8rem;
}

.page-hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0 0 1rem;
}

.page-hero-content > p {
    font-size: 1.1rem;
    color: rgba(255, 245, 226, 0.68);
    margin: 0;
    max-width: 46ch;
    line-height: 1.65;
}

.hero-inner-shell {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 900px;
    padding: 4rem 3rem;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 36px;
    background: linear-gradient(
        180deg,
        rgba(12, 24, 19, 0.2) 0%,
        rgba(12, 24, 19, 0.08) 100%
    );
    border: 1px solid rgba(255, 244, 224, 0.16);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(14px);
}

.hero-inner-shell .eyebrow {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    color: #eef6dc;
    margin-bottom: 1rem;
}

.hero-inner h1 {
    font-size: clamp(2.9rem, 5vw, 4.6rem);
    position: relative;
    z-index: 2;
    margin-bottom: 0.5rem;
    line-height: 1.08;
}

.hero-inner p {
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
    color: rgba(255, 245, 226, 0.88);
}

.page-intro-section {
    position: relative;
    z-index: 2;
    margin-top: -64px;
}

.page-hero + .page-intro-section {
    margin-top: 0;
}

.page-intro-shell,
.intro-shell.page-intro-shell {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    justify-content: center;
}

.page-intro-shell-single {
    max-width: 980px;
    margin: 0 auto;
    width: 100%;
}

.page-intro-copy-full {
    width: 100%;
}

.page-intro-copy-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.thank-you-shell {
    max-width: 760px;
    margin: 0 auto;
}

.thank-you-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5.5rem;
    height: 5.5rem;
    margin: 0 auto 1.5rem;
    border-radius: 999px;
    background: rgba(47, 93, 58, 0.12);
    color: var(--color-primary, #2f5d3a);
    font-size: 3rem;
}

.thank-you-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.page-intro-copy-centered .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.page-intro-title {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

.nowrap {
    white-space: nowrap;
}

.page-intro-section > .container > :first-child,
.page-intro-section > .contact-container > :first-child {
    margin-left: auto;
    margin-right: auto;
}

.page-intro-section .split-layout:first-child {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.contact-header {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.page-intro-copy-full .section-subtitle {
    margin-bottom: 0;
}

/* -------------------------------------
   Services Overview (Startseite)
-------------------------------------- */
.section-padding {
    padding: 5.5rem 0;
}

.index-section-divider {
    position: relative;
    z-index: 3;
    width: min(320px, 80vw);
    margin: 0.35rem auto -0.2rem;
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--primary-color);
    opacity: 0.98;
}

.index-section-divider::before {
    content: "";
    position: absolute;
    inset: 0 -2rem;
    z-index: -1;
    background: linear-gradient(
        180deg,
        rgba(245, 237, 224, 0) 0%,
        rgba(241, 232, 217, 0.92) 46%,
        rgba(245, 237, 224, 0) 100%
    );
}

.index-section-divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(197, 157, 95, 0.96) 18%,
        rgba(197, 157, 95, 0.96) 82%,
        transparent 100%
    );
    box-shadow: 0 0 10px rgba(197, 157, 95, 0.18);
}

.index-section-divider i {
    font-size: 1.05rem;
    color: var(--accent-color);
    text-shadow: 0 0 12px rgba(197, 157, 95, 0.2);
}

.section-title {
    font-size: clamp(2.4rem, 4vw, 4rem);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.12;
}

.proof-title {
    max-width: none;
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.08;
}

.section-title-break {
    display: block;
}

.index-section-divider + .service-showcase,
.index-section-divider + .proof-section,
.index-section-divider + .contact-cta {
    padding-top: 4.75rem;
}

.index-section-divider + .proof-section {
    padding-top: 3.2rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 3rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.text-link:hover {
    gap: 0.75rem;
}

.home-intro {
    position: relative;
    z-index: 2;
    margin-top: -92px;
}

.intro-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 2rem;
    align-items: stretch;
}

.intro-copy,
.intro-panel {
    background: var(--home-surface-gradient);
    border: 1px solid rgba(197, 157, 95, 0.12);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.intro-copy {
    padding: 3rem;
    border-radius: 34px;
}

.intro-subtitle {
    max-width: 56ch;
    margin: 0;
}

.intro-panel {
    padding: 2.2rem;
    border-radius: 34px;
    background: var(--home-surface-strong);
}

.intro-panel-title {
    margin-bottom: 1.4rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color-dark);
    font-size: 1.2rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.stat-grid {
    display: grid;
    gap: 1rem;
}

.stat-card {
    padding: 1.1rem 1.2rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--border-soft);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.stat-card strong {
    display: block;
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
    color: var(--primary-color-dark);
    font-size: 1.45rem;
    line-height: 1.05;
}

.stat-card span {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.service-showcase {
    padding-top: clamp(2.2rem, 4.8vw, 3.2rem);
    padding-bottom: clamp(2.1rem, 4.2vw, 3.1rem);
    background: var(--home-section-radial), var(--home-section-gradient);
}

.service-showcase .section-heading-row {
    margin-bottom: 1.15rem;
}

.service-showcase .section-subtitle {
    max-width: 980px;
    margin-bottom: 1.65rem;
}

@media (min-width: 992px) {
    .service-showcase .section-subtitle {
        white-space: nowrap;
    }
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;
    margin-bottom: 1.55rem;
}

.section-heading-centered {
    justify-content: center;
    text-align: center;
}

.service-premium-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.service-premium-card {
    grid-column: span 3;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 34px;
    background: var(--home-surface-gradient);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(197, 157, 95, 0.14);
    height: auto;
    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}

/* 4 oben, 3 unten — bewusst versetzt, kein leeres 3er-Raster */
.service-premium-card:nth-child(1) {
    grid-column: 1 / span 3;
}
.service-premium-card:nth-child(2) {
    grid-column: 4 / span 3;
}
.service-premium-card:nth-child(3) {
    grid-column: 7 / span 3;
}
.service-premium-card:nth-child(4) {
    grid-column: 10 / span 3;
}
.service-premium-card:nth-child(5) {
    grid-column: 2 / span 3;
}
.service-premium-card:nth-child(6) {
    grid-column: 5 / span 3;
}
.service-premium-card:nth-child(7) {
    grid-column: 8 / span 3;
}

.service-premium-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(197, 157, 95, 0.28);
}

.service-premium-card picture {
    display: block;
}

.service-premium-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    object-position: center;
}

.service-premium-content {
    padding: 1.9rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-label {
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0.03em;
    color: var(--primary-color);
}

.home-intro .eyebrow,
.service-showcase .eyebrow,
.proof-content > .eyebrow,
.proof-floating-card .eyebrow,
.contact-content .eyebrow {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
    padding: 0.6rem 1.15rem;
}

.service-premium-content h3 {
    font-size: 2rem;
    color: var(--primary-color-dark);
}

.service-premium-content .text-link {
    margin-top: auto;
    padding-top: 1rem;
}

.service-premium-content p:last-child {
    margin-bottom: 0;
}

.section-divider {
    width: 3rem;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--accent-color),
        transparent
    );
    margin: 0.75rem auto 1.25rem;
    border-radius: 999px;
}

.values-title {
    margin-bottom: 0;
}

.proof-section {
    position: relative;
    background: var(--home-section-radial), var(--home-section-gradient);
}

.proof-section.section-padding {
    padding-bottom: 4.6rem;
}

.proof-content > .eyebrow,
.service-showcase .eyebrow,
.home-gallery .eyebrow,
.faq-section .eyebrow,
.contact-content .eyebrow {
    background: linear-gradient(
        180deg,
        rgba(44, 98, 74, 0.2) 0%,
        rgba(44, 98, 74, 0.12) 100%
    );
    border: 1px solid rgba(44, 98, 74, 0.28);
    color: #1f5b45;
    box-shadow: 0 8px 20px rgba(21, 56, 43, 0.14);
    padding: 0.7rem 1.35rem;
}

.proof-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: start;
    padding: 2.8rem;
    border-radius: 42px;
    background: var(--home-surface-strong);
    border: 1px solid rgba(197, 157, 95, 0.16);
    box-shadow: var(--shadow-soft);
}

.proof-visual-stack {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-right: 2rem;
    padding-bottom: 0;
}

.proof-main-image {
    overflow: hidden;
    border-radius: 38px;
    box-shadow: var(--shadow-strong);
}

.proof-main-image img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.proof-floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: flex-end;
    margin-top: -3.4rem;
    max-width: 340px;
    padding: 2rem;
    border-radius: 30px;
    background: linear-gradient(
        180deg,
        rgba(255, 253, 248, 0.98) 0%,
        rgba(247, 241, 231, 0.96) 100%
    );
    box-shadow:
        0 24px 68px rgba(15, 33, 25, 0.2),
        0 8px 22px rgba(197, 157, 95, 0.14);
    border: 1px solid rgba(197, 157, 95, 0.32);
    z-index: 2;
    overflow: hidden;
}

.proof-floating-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        130deg,
        rgba(197, 157, 95, 0.16) 0%,
        rgba(197, 157, 95, 0.04) 36%,
        rgba(255, 255, 255, 0) 72%
    );
    z-index: -1;
}

.proof-floating-card .eyebrow,
.contact-content .eyebrow {
    background: linear-gradient(
        180deg,
        rgba(44, 98, 74, 0.22) 0%,
        rgba(44, 98, 74, 0.14) 100%
    );
    border-color: rgba(44, 98, 74, 0.26);
    color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(21, 56, 43, 0.16);
}

.proof-floating-card h3 {
    color: var(--primary-color-dark);
    font-size: 1.48rem;
    line-height: 1.12;
    font-family: var(--font-body);
}

.proof-floating-card .value-highlight {
    display: inline-block;
    padding: 0.02em 0.38em;
    border-radius: 0.5em;
    background: linear-gradient(
        180deg,
        rgba(197, 157, 95, 0.34) 0%,
        rgba(197, 157, 95, 0.2) 100%
    );
    border: 1px solid rgba(197, 157, 95, 0.5);
    color: #173c2e;
    font-weight: 800;
    font-family: var(--font-body);
    font-size: 0.9em;
    line-height: 1;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 12px rgba(197, 157, 95, 0.22);
}

.proof-lead {
    margin: 1.15rem 0 2rem;
    color: #415247;
    font-size: 1.08rem;
}

.proof-point-list {
    display: grid;
    gap: 1rem;
}

.proof-point {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 1rem;
    padding: 1.15rem 0;
    border-top: 1px solid rgba(32, 72, 56, 0.12);
}

.proof-point i {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-top: 0.2rem;
}

.proof-point h3 {
    margin-bottom: 0.35rem;
    color: var(--primary-color-dark);
    font-size: clamp(1.3rem, 1.45vw, 1.55rem);
}

.proof-point p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.quote-panel {
    margin-top: 2rem;
    padding: 2rem;
    border-radius: 30px;
    background: var(--home-surface-gradient);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(197, 157, 95, 0.16);
}

.quote-panel p {
    font-size: 1.1rem;
    color: var(--primary-color-dark);
    margin-bottom: 0.8rem;
}

.quote-panel footer {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

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

/* -------------------------------------
   Alternating Services Layout (Unterseiten)
-------------------------------------- */
.service-row {
    display: flex;
    align-items: stretch;
    gap: 3.5rem;
    margin-bottom: 5rem;
}

.premium-service-row {
    padding: 3rem 3.5rem;
    border-radius: 32px;
    background: linear-gradient(
        180deg,
        rgba(255, 252, 247, 0.98) 0%,
        rgba(246, 239, 228, 0.96) 100%
    );
    box-shadow: 0 28px 80px rgba(14, 26, 20, 0.11);
    border: 1px solid rgba(197, 157, 95, 0.15);
    transition: box-shadow 0.3s ease;
}

.premium-service-row:hover {
    box-shadow: 0 36px 100px rgba(14, 26, 20, 0.15);
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-content {
    flex: 0 0 42%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.5rem 0;
}

.premium-service-row .service-label {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: #7a8c80;
}

.service-content h3 {
    font-size: clamp(2.2rem, 3.5vw, 3.6rem);
    color: var(--primary-color);
    margin-bottom: 1.6rem;
    font-weight: 700;
    line-height: 1.15;
}

.service-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.service-list li {
    font-size: 1.05rem;
    color: var(--text-muted);
    padding-left: 1.7rem;
    position: relative;
    line-height: 1.55;
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.52em;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--accent-color);
}

/* Gleiche Stichpunkte in den Startseitenkarten */
.service-premium-content .service-list li {
    font-size: 0.9rem;
}

.service-image {
    flex: 1;
    position: relative;
    min-height: 440px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(14, 26, 20, 0.13);
}

.service-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.premium-service-row:hover .service-image img {
    transform: scale(1.03);
}

/* -------------------------------------
   Feature Cards
-------------------------------------- */

.feature-card {
    background: linear-gradient(
        180deg,
        rgba(255, 253, 248, 0.96) 0%,
        rgba(247, 241, 231, 0.94) 100%
    );
    padding: 3.15rem 2.2rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(197, 157, 95, 0.12);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(62, 109, 48, 0.2);
}

.feature-icon i {
    font-size: 3.4rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-muted);
}

/* -------------------------------------
   FAQ Section
-------------------------------------- */
.faq-section {
    background: var(--home-section-gradient);
    padding: 4.2rem 0;
    text-align: center;
}

.index-section-divider + .faq-section {
    padding-top: 3.2rem;
}
.faq-section .eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
}
.faq-section h2 {
    margin-bottom: 3rem;
}
.faq-section .faq-items {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.faq-item {
    border-bottom: 1px solid rgba(194, 157, 95, 0.2);
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.35rem 0;
    font-family: var(--font-heading);
    font-size: clamp(1.32rem, 1.6vw, 1.6rem);
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: "\002B";
    font-size: 1.7rem;
    font-weight: 300;
    transition: transform 0.3s;
    color: var(--accent-color);
}
.faq-item[open] summary::after {
    content: "\2212";
}
.faq-item summary:hover {
    color: var(--accent-color);
}
.faq-answer {
    padding: 0 0 1.25rem;
    color: #555;
    line-height: 1.7;
}
.faq-answer p {
    margin: 0;
}

/* -------------------------------------
   Contact CTA Area
-------------------------------------- */
.contact-cta {
    background: var(--home-section-radial), var(--home-section-gradient);
    padding: 5rem 0;
}

/* -------------------------------------
   Slim Contact CTA (Startseite)
-------------------------------------- */
.contact-cta-slim {
    background: var(--primary-color);
    padding: 3.5rem 0;
}

.contact-cta-slim-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-cta-slim-text {
    flex: 1 1 340px;
}

.contact-cta-slim-text .eyebrow {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.88);
    box-shadow: none;
    padding: 0.5rem 1.1rem;
    margin-bottom: 1rem;
}

.contact-cta-slim-text h2 {
    font-size: clamp(1.55rem, 2.2vw, 2.1rem);
    color: #fff;
    margin-bottom: 0.6rem;
    line-height: 1.22;
}

.contact-cta-slim-text p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-cta-slim-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
}

.contact-cta-slim-btn {
    min-width: 220px;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.contact-cta-slim .btn-primary {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

.contact-cta-slim .btn-primary:hover {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.contact-cta-slim .btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

.contact-cta-slim .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

@media (max-width: 768px) {
    .contact-cta-slim-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.15rem;
    }

    .contact-cta-slim-text h2 {
        margin-bottom: 0.45rem;
    }

    .contact-cta-slim-text p {
        margin-bottom: 0;
    }

    .contact-cta-slim-actions {
        width: 100%;
        gap: 0.6rem;
    }

    .contact-cta-slim-btn {
        min-width: unset;
        width: 100%;
    }
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-content h2 {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-content p:not(.eyebrow) {
    color: #475569;
    font-size: 1.08rem;
    max-width: 54ch;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    background: var(--home-surface-gradient);
    padding: 1rem 1.5rem;
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    width: fit-content;
    max-width: 100%;
    flex-wrap: wrap;
    border: 1px solid rgba(62, 109, 48, 0.08);
}

.contact-link:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.contact-cta-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 2.8rem;
    align-items: stretch;
}

.contact-cta-intro {
    grid-column: 1;
    grid-row: 1;
}

.contact-cta-intro p:not(.eyebrow) {
    max-width: 62ch;
}

.contact-cta-form-wrapper {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
    max-width: none;
    padding: 1.75rem;
    border-radius: 28px;
}

.contact-cta-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
    row-gap: 0.95rem;
}

.contact-cta-form .form-group {
    margin-bottom: 0;
}

.contact-cta-form .form-group-wide,
.contact-cta-form > .btn-primary {
    grid-column: 1 / -1;
}

.contact-cta-form textarea {
    min-height: 120px;
}

.contact-cta-form .btn-primary {
    margin-top: 0.35rem;
}

.contact-map {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    height: 380px;
    width: 100%;
}

.contact-cta .contact-map .custom-map-widget {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: auto;
    background: url("Maps/Grafschaft.png") 50% 36.5% / cover no-repeat;
}
.map-placeholder {
    background-color: #e2e8f0;
    height: 400px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    border: 2px dashed #cbd5e1;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* -------------------------------------
   About Us & Team Section
-------------------------------------- */
.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-panel {
    padding: 3rem;
    border-radius: 36px;
    background: linear-gradient(
        180deg,
        rgba(255, 253, 248, 0.96) 0%,
        rgba(247, 241, 231, 0.95) 100%
    );
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(197, 157, 95, 0.12);
}

.about-visual-panel {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 38px;
    box-shadow: var(--shadow-strong);
}

.about-image {
    border-radius: 38px;
    box-shadow: var(--shadow-strong);
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.page-intro-section .about-visual-panel .about-image {
    height: 100%;
    min-height: 100%;
}

/* 3-image stack for "Der Betrieb" — fills full text column height */
.page-intro-section .split-layout {
    align-items: stretch;
}

.about-image-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.about-slideshow {
    width: 100%;
    min-height: 0;
}

@media (min-width: 769px) {
    /* Wrapper aus dem Flex-Layout nehmen — Desktop-Stapel wie vorher */
    .about-slideshow,
    .about-slideshow-viewport,
    .about-slideshow-track {
        display: contents;
    }
}

.about-slideshow-viewport {
    width: 100%;
    overflow: visible;
}

.about-slideshow-track {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    transform: none;
}

.about-slideshow-dots {
    display: none;
}

.about-slideshow-dot {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(44, 98, 74, 0.28);
    cursor: pointer;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease;
}

.about-slideshow-dot.is-active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.about-img-cell {
    flex: 1 1 0;
    min-height: 0;
    min-width: 0;
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.about-img-equal {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

.about-text .eyebrow,
.team-section-premium .eyebrow {
    background: linear-gradient(
        180deg,
        rgba(44, 98, 74, 0.2) 0%,
        rgba(44, 98, 74, 0.12) 100%
    );
    border: 1px solid rgba(44, 98, 74, 0.28);
    color: #1f5b45;
    box-shadow: 0 8px 20px rgba(21, 56, 43, 0.14);
    padding: 0.7rem 1.35rem;
}

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

.team-card {
    text-align: center;
    background: linear-gradient(
        180deg,
        rgba(255, 253, 248, 0.98) 0%,
        rgba(247, 241, 231, 0.95) 100%
    );
    padding: 3.2rem 2.2rem;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(197, 157, 95, 0.12);
    transition: var(--transition);
}

.team-card-premium {
    padding: 3.25rem 2.5rem;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-img-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 5px solid var(--secondary-color);
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.1);
}

.team-card h4 {
    font-size: 1.72rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.team-card .role {
    color: #2f4c40;
    font-weight: 700;
    font-family: var(--font-body);
    text-transform: none;
    font-size: 1.02rem;
    letter-spacing: 0.01em;
    line-height: 1.35;
    margin-bottom: 1rem;
}

.team-card p {
    color: var(--text-muted);
    font-size: 1.03rem;
    line-height: 1.62;
}

.team-grid-single {
    display: flex;
    justify-content: center;
}

.team-grid-single .team-card-premium {
    max-width: 520px;
}

.team-contact-details {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color, #e2e8f0);
    text-align: left;
}

.team-contact-heading {
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.22rem;
    font-weight: 700;
}

.team-contact-item {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.team-contact-item a {
    font-weight: 500;
}

.team-contact-icon {
    font-size: 1.2rem;
    color: var(--accent-color);
}

/* Reduce vertical gap between values and team blocks on the about page */
.values-section.section-padding {
    padding-bottom: 3.9rem;
}

.values-section + .team-section-premium.section-padding {
    padding-top: 3.3rem;
}

/* -------------------------------------
   Testimonials (Referenzen)
-------------------------------------- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
}

.testimonial-card {
    background: linear-gradient(
        180deg,
        rgba(255, 253, 248, 0.98) 0%,
        rgba(247, 241, 231, 0.95) 100%
    );
    padding: 3rem 2.2rem;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(197, 157, 95, 0.14);
    height: fit-content;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-avatar {
    width: 65px;
    height: 65px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.avatar-1 {
    background-color: #c99abb;
}
.avatar-2 {
    background-color: #4da6db;
}
.avatar-3 {
    background-color: #72c082;
}

.customer-name {
    font-size: 1.28rem;
    color: #1f2f28;
    margin-bottom: 0.55rem;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.25;
}

.stars {
    color: #f59e0b; /* Gold/Orange */
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: none;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.testimonial-date {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    background: rgba(32, 72, 56, 0.16);
    color: #17382c;
    font-size: 0.92rem;
    font-family: var(--font-body);
    font-weight: 800;
    letter-spacing: 0.01em;
    margin-bottom: 1rem;
    border: 1px solid rgba(32, 72, 56, 0.24);
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.1rem;
    font-style: italic;
}

.testimonial-text-full {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    display: none;
}

.testimonial-more {
    margin-top: 0.3rem;
}

.testimonial-more summary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.testimonial-more summary::-webkit-details-marker {
    display: none;
}

.testimonial-more summary::after {
    content: "+";
    font-size: 1rem;
    line-height: 1;
}

.testimonial-more[open] summary::after {
    content: "-";
}

.testimonial-more[open] .testimonial-text-full {
    display: block;
    margin-top: 0.9rem;
}

/* -------------------------------------
   Homepage Gallery
-------------------------------------- */
.home-gallery {
    background: var(--home-section-radial), var(--home-section-gradient);
    padding-bottom: clamp(1rem, 2.2vw, 1.6rem);
}

.index-section-divider + .home-gallery {
    padding-top: clamp(3.2rem, 5.8vw, 4.6rem);
}

.home-gallery .section-heading-row {
    margin-bottom: 1.15rem;
}

.home-gallery .section-subtitle {
    max-width: 980px;
    margin-bottom: 1.55rem;
}

@media (min-width: 992px) {
    .home-gallery .section-subtitle {
        white-space: nowrap;
    }
}

/* -------------------------------------
   Gallery Category Filter Bar
-------------------------------------- */
.gallery-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin: 0;
}

.gallery-filter-scroll-wrap {
    position: relative;
    margin: 2rem 0 0;
}

.gallery-filter-scroll-wrap::before,
.gallery-filter-scroll-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 28px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.gallery-filter-scroll-wrap::before {
    left: 0;
    background: linear-gradient(
        to right,
        var(--secondary-color) 0%,
        transparent 100%
    );
}

.gallery-filter-scroll-wrap::after {
    right: 0;
    background: linear-gradient(
        to left,
        var(--secondary-color) 0%,
        transparent 100%
    );
}

.gallery-filter-scroll-wrap.is-scrollable::after {
    opacity: 1;
}

.gallery-filter-scroll-wrap.is-scrollable.is-scrolled::before {
    opacity: 1;
}

.gallery-filter-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0.65rem 0 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.gallery-filter-btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
}

.gallery-filter-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.gallery-filter-btn.is-active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.gallery-item.is-hidden,
.gallery-item.is-filter-hidden {
    display: none !important;
}

.gallery-grid.is-filtering {
    pointer-events: none;
}

.gallery-grid.is-category-view .gallery-item {
    animation: none;
    opacity: 1;
    transform: none;
}

.gallery-item.reveal.is-revealed,
.gallery-section-premium .gallery-item.reveal {
    opacity: 1;
    transform: none;
}

/* -------------------------------------
   Project Gallery
-------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-grid.is-category-view {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

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

.gallery-grid-premium {
    margin-top: 1.55rem;
}

.gallery-cta-wrap {
    margin-top: 1.1rem;
    margin-bottom: 0;
}

.home-gallery + .index-section-divider {
    margin-top: -0.1rem;
}

.gallery-cta-btn {
    min-width: 16.5rem;
    justify-content: center;
    gap: 0.5rem;
}

.gallery-cta-btn i {
    transition: transform 0.22s ease;
}

.gallery-cta-btn:hover i {
    transform: translateX(3px);
}

.gallery-item {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-soft);
    background: linear-gradient(
        135deg,
        rgba(241, 233, 219, 0.94) 0%,
        rgba(252, 248, 241, 0.98) 100%
    );
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.5s ease,
        opacity 0.35s ease;
    display: block;
}

.gallery-item img.is-lazy-pending,
.gallery-item img.is-lazy-loading {
    opacity: 0;
}

.gallery-item img.is-lazy-loaded {
    opacity: 1;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.05);
    opacity: 0.9;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.15) 100%
    );
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    transition: background 0.35s ease;
}

.gallery-item:hover .gallery-caption {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.25) 100%
    );
}

.gallery-caption strong {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
}

.gallery-caption span {
    font-size: 0.82rem;
    opacity: 0.85;
}

/* Play-Button Overlay for Videos */
.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    pointer-events: none;
    z-index: 2;
}

/* -------------------------------------
   Contact Layout & Form Styles (Kontakt)
-------------------------------------- */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-header {
    margin-bottom: 3rem;
    grid-column: 1 / -1;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
    text-align: center;
}

.contact-header .intro-copy {
    margin: 0 auto;
}

.site-toast {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 2400;
    max-width: min(90vw, 430px);
    border-radius: 14px;
    padding: 0.82rem 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    box-shadow: 0 14px 36px rgba(10, 24, 19, 0.24);
    border: 1px solid transparent;
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.site-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-toast-success {
    background: rgba(232, 247, 239, 0.98);
    border-color: rgba(32, 72, 56, 0.24);
    color: #143227;
}

.site-toast-error {
    background: rgba(255, 236, 236, 0.98);
    border-color: rgba(143, 25, 31, 0.28);
    color: #6f1418;
}

/* Sidebar Info Styles */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2.4rem;
    border-radius: 34px;
    background: linear-gradient(
        180deg,
        rgba(255, 253, 248, 0.96) 0%,
        rgba(247, 241, 231, 0.95) 100%
    );
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(197, 157, 95, 0.12);
}

.sidebar-title {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    color: var(--text-dark);
}

.sidebar-details p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.btn-block {
    display: inline-block;
    width: auto;
    text-align: center;
    padding: 0.8rem 1.5rem;
}

/* Map specific styling */
.sidebar-map {
    margin-top: 0;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.map-branding {
    display: flex;
    align-items: flex-start;
}

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

.map-container {
    display: block;
    position: relative;
}

.map-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.map-container:hover .map-img {
    transform: scale(1.05);
}

.map-overlay-logo {
    position: static;
    background: linear-gradient(
        180deg,
        rgba(255, 253, 248, 0.98) 0%,
        rgba(247, 241, 231, 0.95) 100%
    );
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(197, 157, 95, 0.18);
    max-width: 100%;
}

.map-overlay-logo .logo-leaf i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.map-overlay-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.map-overlay-logo .logo-text span:first-child {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.map-overlay-logo .logo-text span:last-child {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.custom-map-widget {
    position: relative;
    display: block;
    width: 100%;
    height: 550px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 7px solid var(--primary-color);
    background-color: transparent;
    isolation: isolate;
}

.contact-sidebar .custom-map-widget {
    height: auto;
    aspect-ratio: 1012 / 838;
}

.custom-map-widget-compact {
    height: 350px;
}

.custom-map-frame {
    display: block;
    width: 100%;
    height: 100%;
}

.static-map-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 36.5%;
}

.custom-map-canvas {
    z-index: 1;
}

.custom-map-widget .leaflet-container {
    font-family: var(--font-body);
    background: #e2ecd9;
}

.custom-map-widget .leaflet-popup-content-wrapper {
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(9, 31, 24, 0.22);
}

.custom-map-widget .leaflet-popup-tip {
    background: #ffffff;
}

.custom-map-popup {
    color: #294438;
    line-height: 1.35;
}

.custom-map-popup strong {
    display: block;
    color: var(--primary-color);
    font-size: 1rem;
    font-family: var(--font-heading);
    margin-bottom: 0.15rem;
}

.custom-map-pin-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #f9f8f2;
    border: 3px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(9, 31, 24, 0.3);
}

.custom-map-widget::after {
    display: none;
}

.custom-map-brand-card {
    position: absolute;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 4px solid var(--primary-color);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    z-index: 3;
}

.custom-map-brand-card .logo-leaf {
    width: 2.4rem;
    height: 2.4rem;
    background: #fdfaf5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(32, 72, 56, 0.15);
}

.custom-map-brand-card .logo-leaf i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.custom-map-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.custom-map-brand-text strong {
    color: var(--primary-color);
    font-size: 1.25rem;
    letter-spacing: 0.03em;
    font-weight: 800;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.custom-map-brand-text span {
    color: #4f5f57;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.custom-map-connector {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.custom-map-connector path {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 3;
    stroke-linecap: round;
}

.custom-map-pin {
    position: absolute;
    left: 42%;
    top: 55%;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #ffffff;
    border: 5px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translate(-50%, -50%);
    z-index: 3;
}

.custom-map-mag {
    position: absolute;
    left: calc(42% + 1.9rem);
    top: calc(55% + 1.2rem);
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: rgba(45, 55, 50, 0.85);
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    z-index: 4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .custom-map-widget {
        height: 320px;
    }

    .custom-map-widget-compact {
        height: 320px;
    }

    .custom-map-brand-card {
        max-width: calc(100% - 1.4rem);
        padding: 0.62rem 0.78rem;
        gap: 0.5rem;
    }

    .custom-map-brand-text strong {
        font-size: 0.96rem;
    }

    .custom-map-brand-text span {
        font-size: 0.74rem;
    }

    .custom-map-connector {
        inset: 0;
        width: 100%;
        height: 100%;
    }
}

/* Form Styles */
.contact-form-wrapper {
    background: linear-gradient(
        180deg,
        rgba(255, 253, 248, 0.96) 0%,
        rgba(247, 241, 231, 0.95) 100%
    );
    padding: 3rem;
    border-radius: 34px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(197, 157, 95, 0.12);
}

.page-cta-panel {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(350px, 1fr);
    gap: 1.7rem;
    align-items: center;
    padding: 2.2rem;
    border-radius: 34px;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(44, 98, 74, 0.09),
            transparent 46%
        ),
        radial-gradient(
            circle at 18% 84%,
            rgba(197, 157, 95, 0.1),
            transparent 46%
        ),
        linear-gradient(
            180deg,
            rgba(255, 253, 248, 0.98) 0%,
            rgba(247, 241, 231, 0.95) 100%
        );
    border: 1px solid rgba(197, 157, 95, 0.24);
    box-shadow: 0 24px 58px rgba(16, 35, 28, 0.12);
}

.page-cta-panel footer {
    margin-top: 0;
}

.page-cta-content h3 {
    margin-bottom: 0.7rem;
    color: var(--primary-color-dark);
    font-size: clamp(1.8rem, 2.35vw, 2.45rem);
    line-height: 1.08;
    max-width: 28ch;
    text-wrap: balance;
}

.page-cta-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.7rem;
    padding: 0.46rem 0.95rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.74rem;
    letter-spacing: 0.01em;
    text-transform: none;
    font-weight: 700;
    color: #1f5b45;
    background: linear-gradient(
        180deg,
        rgba(44, 98, 74, 0.2) 0%,
        rgba(44, 98, 74, 0.12) 100%
    );
    border: 1px solid rgba(44, 98, 74, 0.28);
    box-shadow: 0 8px 20px rgba(21, 56, 43, 0.14);
}

.page-cta-copy {
    margin: 0;
    max-width: 58ch;
    color: #33443b;
    font-size: 1.05rem;
    line-height: 1.72;
}

.page-cta-action {
    padding: 1.25rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(32, 72, 56, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    display: grid;
    gap: 1rem;
}

.page-cta-benefits {
    display: grid;
    gap: 0.6rem;
}

.page-cta-benefits li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #2c4338;
    font-size: 0.96rem;
    font-weight: 600;
    margin: 0;
}

.page-cta-benefits i {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(197, 157, 95, 0.28);
    font-size: 1.1rem;
}

.page-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.94rem;
    letter-spacing: 0.01em;
    padding: 0.86rem 1.2rem;
    box-shadow: 0 18px 42px rgba(21, 47, 37, 0.26);
}

.page-cta-btn i {
    transition: transform 0.22s ease;
}

.page-cta-btn:hover i {
    transform: translateX(3px);
}

@media (max-width: 920px) {
    .page-cta-panel {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .page-cta-content h3,
    .page-cta-copy {
        max-width: none;
    }

    .page-cta-action {
        padding: 1rem;
    }

    .page-cta-btn {
        font-size: 0.92rem;
    }
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.contact-form label {
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.contact-form .required {
    color: #e53e3e; /* Red star */
}

/* Base input styles matching the screenshot */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(62, 109, 48, 0.18);
    border-radius: 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.84);
    transition: all 0.3s ease;
}

/* Match focus states for inputs */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(62, 109, 48, 0.4);
    box-shadow: 0 0 0 4px rgba(62, 109, 48, 0.12);
}

.contact-form select {
    cursor: pointer;
    appearance: none; /* remove default arrow */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%232e7d32%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat, repeat;
    background-position:
        right 0.7em top 50%,
        0 0;
    background-size:
        0.65em auto,
        100%;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.contact-form .checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color); /* Green checkbox for modern browsers */
    transform: translateY(-1px);
    margin: 0;
}

.contact-form .checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

.contact-form .btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border-radius: 999px;
    transition: var(--transition);
    align-self: flex-start; /* don't span full width unless mobile */
    margin-top: 1rem;
    box-shadow: 0 12px 30px rgba(62, 109, 48, 0.18);
}

.contact-form .btn-primary:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    :root {
        --header-offset: 108px;
    }

    .header-logo-image {
        height: 52px;
    }

    .logo-pdf-link {
        gap: 0.55rem;
    }

    .logo-title {
        font-size: 0.86rem;
    }

    .logo-subtitle {
        display: block;
        font-size: 0.6rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-wrapper {
        order: -1;
    }

    .contact-sidebar {
        order: 1;
    }
    .sidebar-buttons .btn-block {
        width: 100%;
        text-align: center;
    }

    .contact-link {
        width: 100%;
        justify-content: center;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-form .btn-primary {
        width: 100%;
    }

    .contact-cta-form {
        grid-template-columns: 1fr;
        row-gap: 1.05rem;
    }
}

/* -------------------------------------
   Footer
-------------------------------------- */
.main-footer {
    background:
        radial-gradient(
            circle at top left,
            rgba(197, 157, 95, 0.18),
            transparent 22%
        ),
        linear-gradient(180deg, #14231d 0%, #0f1b16 100%);
    color: #fff;
    padding: 4.5rem 0 2.2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    border-bottom: 1px solid rgba(255, 244, 224, 0.12);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.footer-brand .logo-leaf i {
    color: #d7e6b4;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-brand-logo {
    width: 84px;
    height: 84px;
    object-fit: contain;
    flex: 0 0 auto;
    margin-top: -0.15rem;
}

.footer-brand-mark {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-bottom: 0.15rem;
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #f6f7ef;
    line-height: 1.1;
}

.footer-brand-subtitle {
    font-family: var(--font-body);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: #d7e6b4;
}

.footer-brand p {
    color: #c6d0bf;
    font-size: 0.92rem;
    margin-top: 1rem;
    max-width: 34ch;
    line-height: 1.55;
}

.footer-brand-copy {
    display: flex;
    flex-direction: column;
}

.content-page {
    max-width: 1080px;
    margin: 0 auto;
}

.legal-grid,
.career-grid {
    display: grid;
    gap: 2rem;
}

.legal-card,
.job-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    padding: 2.2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.legal-card h2,
.job-card h3 {
    color: var(--primary-color);
}

.legal-card p,
.legal-card li,
.job-card p,
.job-card li {
    color: var(--text-muted);
}

.legal-card ul,
.job-card ul {
    list-style: disc;
    padding-left: 1.25rem;
}

.page-kicker {
    margin-bottom: 1rem;
}

.job-card ul {
    margin-bottom: 1.5rem;
}

/* -------------------------------------
   Karriere — Boss Quote Panel
-------------------------------------- */
.career-boss-panel {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: linear-gradient(
        180deg,
        rgba(255, 252, 247, 0.98) 0%,
        rgba(246, 239, 228, 0.96) 100%
    );
    border-radius: 32px;
    padding: 3.5rem 4rem;
    box-shadow: 0 28px 80px rgba(14, 26, 20, 0.1);
    border: 1px solid rgba(197, 157, 95, 0.15);
}

.career-boss-image {
    flex: 0 0 220px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(14, 26, 20, 0.18);
    border: 4px solid rgba(197, 157, 95, 0.35);
    flex-shrink: 0;
}

.career-boss-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.career-boss-content {
    flex: 1;
}

.career-boss-content .eyebrow {
    margin-bottom: 0.6rem;
}

.career-boss-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.career-boss-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0;
}

.career-boss-name {
    font-family: var(--font-heading);
    font-size: 1.15rem !important;
    font-weight: 700;
    color: var(--primary-color) !important;
    margin-top: 1.2rem !important;
    letter-spacing: 0.01em;
}

/* -------------------------------------
   Karriere — Benefits Grid
-------------------------------------- */
.career-benefits-section {
    background: transparent;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.career-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.career-benefit-card {
    background: linear-gradient(
        180deg,
        rgba(255, 252, 247, 0.98) 0%,
        rgba(246, 239, 228, 0.95) 100%
    );
    border-radius: 24px;
    padding: 2.2rem 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(197, 157, 95, 0.13);
    transition:
        box-shadow 0.28s ease,
        transform 0.28s ease;
}

.career-benefit-card:hover {
    box-shadow: 0 28px 72px rgba(14, 26, 20, 0.14);
    transform: translateY(-4px);
}

.career-benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        rgba(197, 157, 95, 0.18) 0%,
        rgba(197, 157, 95, 0.08) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.career-benefit-icon i {
    font-size: 1.65rem;
    color: var(--accent-color);
}

.career-benefit-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.career-benefit-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* -------------------------------------
   Karriere — Positions Grid
-------------------------------------- */
.career-positions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.career-position-card {
    background: linear-gradient(
        180deg,
        rgba(255, 252, 247, 0.98) 0%,
        rgba(246, 239, 228, 0.96) 100%
    );
    border-radius: 28px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(197, 157, 95, 0.14);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition:
        box-shadow 0.28s ease,
        transform 0.28s ease;
}

.career-position-card:hover {
    box-shadow: 0 30px 80px rgba(14, 26, 20, 0.14);
    transform: translateY(-4px);
}

.career-position-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        rgba(20, 65, 48, 0.12) 0%,
        rgba(20, 65, 48, 0.06) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.career-position-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.career-position-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    margin: 0;
}

.career-position-type {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin: 0;
}

.career-position-card p:not(.career-position-type) {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.career-apply-btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* -------------------------------------
   Karriere — Apply Panel
-------------------------------------- */
.career-apply-panel {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4033 100%);
    border-radius: 32px;
    padding: 3.5rem 4rem;
    box-shadow: 0 32px 90px rgba(14, 26, 20, 0.2);
}

.career-apply-text {
    flex: 1;
}

.career-apply-text .eyebrow {
    display: block;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.career-apply-text h2 {
    font-size: clamp(1.55rem, 2.8vw, 2.4rem);
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.career-apply-text p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    margin: 0;
}

.career-apply-methods {
    flex: 0 0 auto;
    width: fit-content;
    min-width: 340px;
    margin-top: 0;
}

.career-apply-methods .contact-link {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
}

.career-apply-methods .contact-link:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    transform: translateY(-2px);
}

.hero-shell,
.hero-inner-shell,
.intro-copy,
.intro-panel,
.service-premium-card,
.proof-content,
.proof-visual-stack,
.premium-service-row,
.feature-card,
.about-panel,
.about-visual-panel,
.testimonial-card,
.contact-sidebar,
.contact-form-wrapper,
.job-card,
.legal-card {
    animation: premium-rise 0.85s ease both;
}

.service-premium-card:nth-child(2),
.feature-card:nth-child(2),
.testimonial-card:nth-child(2) {
    animation-delay: 0.08s;
}

.service-premium-card:nth-child(3),
.feature-card:nth-child(3),
.testimonial-card:nth-child(3) {
    animation-delay: 0.16s;
}

@keyframes slider-placeholder {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes premium-rise {
    0% {
        opacity: 0;
        transform: translateY(22px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #dde7d7;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

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

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-social-btn img {
    width: 2.4rem;
    height: 2.4rem;
    object-fit: cover;
    display: block;
}

.footer-social-btn.nav-social-instagram img {
    width: 2.75rem;
    height: 2.75rem;
}

.footer-social-btn:hover {
    transform: translateY(-3px) scale(1.12);
}

/* -------------------------------------
   Scroll to Top Arrow
-------------------------------------- */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c5f4b 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(14, 29, 23, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 100;
}

#scrollToTopBtn.show {
    opacity: 1;
    pointer-events: auto;
}

#scrollToTopBtn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-5px);
}

/* -------------------------------------
   Responsive Design
-------------------------------------- */
@media (max-width: 992px) {
    .page-hero {
        padding: calc(var(--header-offset) + 3.5rem) 0 3.5rem;
    }

    .page-intro-section {
        margin-top: -40px;
    }

    .page-hero + .page-intro-section {
        margin-top: 0;
    }

    .hero-title {
        font-size: 3.2rem;
    }
    .intro-shell,
    .proof-layout {
        grid-template-columns: 1fr;
    }
    .service-premium-grid {
        grid-template-columns: 1fr;
    }

    .service-premium-card,
    .service-premium-card:nth-child(n),
    .service-premium-card:nth-child(7):last-child {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 100%;
        justify-self: stretch;
    }

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

    .gallery-grid.is-category-view {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-section-premium .gallery-item.reveal {
        opacity: 1;
        transform: none;
    }

    .gallery-item {
        min-height: 200px;
    }

    .about-visual-panel.reveal,
    .career-boss-panel.reveal,
    .premium-service-row.reveal {
        opacity: 1;
        transform: none;
    }

    .service-row,
    .service-row.reverse {
        flex-direction: column;
        gap: 0;
        margin-bottom: 3rem;
    }

    .service-content {
        flex: none;
        width: 100%;
        padding: 1.5rem 0 0;
    }

    .service-content h3 {
        font-size: 1.75rem;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .service-image {
        min-height: 240px;
        height: 240px;
        order: -1;
    }

    .section-padding {
        padding: 3.75rem 0;
    }

    .hero-content {
        padding-top: 5.25rem;
    }
    .section-heading-row {
        align-items: start;
        flex-direction: column;
    }
    .split-layout,
    .contact-cta-layout {
        grid-template-columns: 1fr;
    }
    .contact-cta-intro {
        grid-column: auto;
    }
    .contact-map {
        grid-column: auto;
        grid-row: auto;
        margin-top: 2rem;
    }
    .contact-cta .contact-map .custom-map-widget {
        height: 400px;
        min-height: 0;
    }
    .proof-visual-stack {
        padding-right: 0;
        padding-bottom: 0;
    }
    .proof-floating-card {
        position: static;
        max-width: none;
        margin-top: 1.5rem;
    }
    .proof-main-image img {
        height: 440px;
        min-height: 0;
    }
    .service-row,
    .service-row.reverse {
        gap: 2.5rem;
    }

    .premium-service-row {
        padding: 2.2rem 2.5rem;
    }

    .service-content {
        flex: 0 0 44%;
    }

    .service-content h3 {
        font-size: 2.1rem;
    }

    .premium-service-row .service-label {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }

    .career-boss-panel {
        gap: 2.5rem;
        padding: 2.5rem 3rem;
    }

    .career-boss-image {
        flex: 0 0 180px;
        width: 180px;
        height: 180px;
    }

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

    .career-positions-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .career-apply-panel {
        flex-direction: column;
        gap: 2.5rem;
        padding: 2.5rem 3rem;
    }

    .career-apply-methods {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: calc(var(--header-offset) + 2.5rem) 0 2.5rem;
    }

    .page-hero-content h1 {
        font-size: 2.4rem;
    }

    .mobile-nav-toggle {
        display: block;
        position: relative;
        z-index: 1001;
        margin-left: auto;
        padding: 0.35rem;
    }

    .primary-navigation {
        position: fixed;
        inset: 0;
        left: -100vw;
        height: 100vh;
        width: 100vw;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: linear-gradient(
            180deg,
            rgba(15, 27, 22, 0.98) 0%,
            rgba(20, 35, 29, 0.98) 100%
        );
        z-index: 1000;
        transition: transform 0.3s ease-in-out;
        border-radius: 0;
        box-shadow: none;
    }

    .primary-navigation[data-visible="true"] {
        transform: translateX(100vw);
    }

    .primary-navigation li {
        margin: 1rem 0;
    }

    .primary-navigation li a {
        color: #fff;
        font-size: 1.5rem;
        display: block;
    }

    .primary-navigation li a::after {
        background-color: #fff;
    }

    .mobile-nav-toggle[aria-expanded="true"] {
        color: #fff;
    }

    .hero-title {
        font-size: 2.35rem;
        padding: 0;
        max-width: 100%;
        line-height: 1.06;
    }

    .hero-title-line {
        display: block;
        white-space: normal;
    }

    .hero-title-variant-desktop {
        display: none;
    }

    .hero-title-variant-mobile {
        display: block;
    }

    .hero {
        height: auto;
        min-height: 100svh;
        align-items: flex-start;
        padding: calc(var(--header-offset) + 1.2rem) 0 2.25rem;
        overflow: hidden;
    }

    .hero-content {
        min-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    .hero-shell {
        padding: 2rem 1.2rem 1.45rem;
        border-radius: 28px;
    }

    .hero-subtitle {
        margin-bottom: 1rem;
        font-size: 1rem;
        padding: 0.64rem 1.25rem;
    }

    .hero-text {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.65rem;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
        padding: 0.72rem 1.1rem;
        font-size: 0.84rem;
    }

    .hero-meta span,
    .contact-link {
        width: 100%;
    }

    .home-intro {
        margin-top: 0;
    }

    .page-intro-section {
        margin-top: -20px;
    }

    .about-panel,
    .contact-sidebar,
    .contact-form-wrapper {
        padding: 1.5rem;
        border-radius: 24px;
    }

    .premium-service-row {
        padding: 1.6rem 1.8rem;
        border-radius: 24px;
    }

    .intro-copy,
    .intro-panel,
    .service-premium-content,
    .quote-panel {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .contact-content h2,
    .section-title {
        font-size: 1.55rem;
    }

    .proof-title {
        max-width: none;
    }

    .section-title-break {
        display: inline;
    }

    .section-subtitle,
    .intro-subtitle,
    .service-premium-content p,
    .proof-lead,
    .contact-content p:not(.eyebrow) {
        font-size: 1rem;
    }

    .service-premium-grid {
        gap: 1.2rem;
    }

    .service-premium-grid {
        grid-template-columns: 1fr;
    }

    .service-premium-card,
    .service-premium-card:nth-child(n),
    .service-premium-card:nth-child(7):last-child {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 100%;
        justify-self: stretch;
    }

    .service-premium-card,
    .service-premium-card-large {
        border-radius: 24px;
    }

    .service-premium-card img,
    .service-premium-card-large img {
        height: 240px;
        min-height: 240px;
    }

    .gallery-grid,
    .gallery-grid.is-category-view {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .gallery-item {
        min-height: 220px;
    }

    .gallery-caption {
        padding: 1rem 1.1rem;
    }

    .gallery-caption strong {
        font-size: 1rem;
        line-height: 1.25;
    }

    .gallery-caption span {
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .about-image,
    .service-image,
    .gallery-item,
    .sidebar-map,
    .testimonial-card,
    .team-card {
        border-radius: 24px;
    }

    .proof-main-image img {
        height: 320px;
        min-height: 0;
    }

    .proof-floating-card {
        padding: 1.35rem;
    }

    .proof-layout {
        padding: 1.5rem;
        border-radius: 26px;
    }

    .service-row,
    .service-row.reverse {
        margin-bottom: 2.5rem;
    }

    .premium-service-row {
        padding: 1.35rem 1.25rem;
    }

    .service-content {
        padding: 1.25rem 0 0;
    }

    .service-image {
        min-height: 220px;
        height: 220px;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .values-section.section-padding {
        padding-bottom: 2.5rem;
    }

    .values-section + .team-section-premium.section-padding {
        padding-top: 2.5rem;
    }

    /* Karriere Mobile */
    .career-boss-panel {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1.8rem;
        border-radius: 24px;
    }

    .career-boss-image {
        flex: 0 0 160px;
        width: 160px;
        height: 160px;
    }

    .career-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .career-positions-grid {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .career-apply-panel {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1.8rem;
        border-radius: 24px;
    }

    .career-apply-methods {
        width: 100%;
    }

    .career-apply-methods .contact-link {
        width: 100%;
        max-width: 100%;
    }

    /* Über uns — nur Mobile */
    .about-split.split-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-split .about-panel {
        padding: 1.35rem;
    }

    .about-split .about-visual-panel {
        width: 100%;
        min-height: 0;
        align-self: auto;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    .about-split .about-image-grid {
        display: block;
    }

    .about-split .about-slideshow {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .about-split .about-slideshow-viewport {
        display: block;
        overflow: hidden;
        border-radius: 18px;
        box-shadow: var(--shadow-strong);
    }

    .about-split .about-slideshow-track {
        display: flex;
        flex-direction: row;
        gap: 0;
        transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform;
    }

    .about-split .about-img-cell {
        flex: 0 0 100%;
        width: 100%;
        aspect-ratio: 3 / 2;
        min-width: 0;
        min-height: 0;
        border-radius: 0;
        box-shadow: none;
        background: #f0ebe3;
    }

    .about-split .about-img-cell .about-img-equal {
        width: 100%;
        height: 100%;
        aspect-ratio: unset;
        min-height: 0;
        object-fit: cover;
        object-position: center center;
    }

    .about-split .about-slide:first-child .about-img-equal {
        object-fit: contain;
        object-position: center;
    }

    .about-split .about-slideshow-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.55rem;
        margin-top: 0.85rem;
    }

    .gallery-filter-scroll-wrap::after {
        opacity: 1;
    }

    .gallery-filter-hint {
        display: flex;
    }

    .gallery-filter-bar {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.5rem;
        padding-bottom: 0.35rem;
        margin-left: -0.25rem;
        margin-right: -0.25rem;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .gallery-filter-bar::-webkit-scrollbar {
        display: none;
    }

    .gallery-filter-btn {
        flex-shrink: 0;
        font-size: 0.8rem;
        padding: 0.45rem 0.95rem;
        white-space: nowrap;
    }

    .service-premium-content h3 {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .service-premium-content .service-list li,
    .service-content h3,
    .service-list li {
        overflow-wrap: anywhere;
    }

    .premium-service-row {
        overflow: visible;
    }
}

@media (max-width: 480px) {
    .hero-inner h1 {
        font-size: 1.95rem;
    }

    .index-section-divider {
        width: min(220px, 72vw);
        gap: 0.8rem;
    }

    .nowrap {
        white-space: normal;
    }

    .header-container {
        padding: 0.85rem 0;
    }

    .logo-title {
        font-size: 0.86rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-offset) + 1rem);
        padding-bottom: 1.6rem;
    }

    .hero-shell {
        padding: 1.7rem 1rem 1.15rem;
        border-radius: 24px;
    }

    .hero-title {
        font-size: 2.1rem;
        max-width: 100%;
    }

    .eyebrow {
        font-size: 0.72rem;
        letter-spacing: 0.06em;
    }

    .hero-meta span {
        font-size: 0.84rem;
        padding: 0.7rem 0.85rem;
    }

    .hero-text {
        font-size: 0.94rem;
        max-width: 30ch;
    }

    .intro-copy,
    .intro-panel,
    .quote-panel,
    .proof-floating-card {
        padding: 1.2rem;
        border-radius: 22px;
    }

    .service-premium-content h3 {
        font-size: 1.45rem;
    }
}

/* =============================================
   NEW FEATURES — Top 1 GaLaBau Upgrade
============================================= */

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal-left {
    transform: translateX(-40px);
}

.reveal.reveal-right {
    transform: translateX(40px);
}

.reveal.reveal-scale {
    transform: scale(0.92);
}

.reveal.is-revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.reveal-delay-1 {
    transition-delay: 0.08s;
}
.reveal-delay-2 {
    transition-delay: 0.16s;
}
.reveal-delay-3 {
    transition-delay: 0.24s;
}
.reveal-delay-4 {
    transition-delay: 0.32s;
}

/* --- Gallery Lightbox --- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(10, 20, 16, 0.92);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

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

.lightbox-img {
    max-width: 88vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.08);
}

.lightbox-close {
    top: 1.5rem;
    right: 1.5rem;
}

.lightbox-prev {
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.08);
}

.lightbox-next {
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.08);
}

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

/* Hover overlay on gallery items */
.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(32, 72, 56, 0.55) 100%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: inherit;
    pointer-events: none;
}

.gallery-item::before {
    content: "\e9c9";
    font-family: "Phosphor";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    z-index: 2;
    color: #fff;
    font-size: 2.2rem;
    opacity: 0;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    pointer-events: none;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.gallery-item:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* --- WhatsApp Floating Button --- */

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2500;
    background: linear-gradient(
        180deg,
        rgba(255, 253, 248, 0.98) 0%,
        rgba(248, 241, 229, 0.98) 100%
    );
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(197, 157, 95, 0.22);
    box-shadow: 0 -10px 40px rgba(10, 20, 16, 0.1);
    padding: 0.9rem 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1240px;
    width: min(94%, 1240px);
    margin: 0 auto;
    padding: 0 0.5rem;
}

.cookie-main {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.cookie-main p {
    flex: 1;
    margin: 0;
    font-size: 0.84rem;
    color: var(--text-muted);
    min-width: 220px;
    line-height: 1.5;
}

.cookie-main p a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-settings-panel {
    display: none;
}

.cookie-banner.is-settings-open .cookie-main {
    display: none;
}

.cookie-banner.is-settings-open .cookie-settings-panel {
    display: block;
}

.cookie-settings-header {
    margin-bottom: 0.75rem;
}

.cookie-settings-header h3 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    color: var(--primary-color-dark);
}

.cookie-settings-header p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.cookie-settings-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.cookie-actions,
.cookie-settings-actions {
    display: flex;
    gap: 0.55rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-actions .btn,
.cookie-settings-actions .btn {
    padding: 0.62rem 1rem;
    font-size: 0.82rem;
    white-space: nowrap;
}

.cookie-category {
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(197, 157, 95, 0.16);
}

.cookie-category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-category strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--primary-color-dark);
    font-size: 0.88rem;
}

.cookie-category p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.cookie-status-pill {
    flex-shrink: 0;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(44, 98, 74, 0.12);
    color: var(--primary-color-dark);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.cookie-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
}

.cookie-switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-switch-ui {
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: rgba(44, 98, 74, 0.18);
    transition: background-color 0.2s ease;
    position: relative;
}

.cookie-switch-ui::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.cookie-switch input:checked + .cookie-switch-ui {
    background: var(--primary-color);
}

.cookie-switch input:checked + .cookie-switch-ui::after {
    transform: translateX(20px);
}

.cookie-switch input:focus-visible + .cookie-switch-ui {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@media (max-width: 992px) {
    .cookie-settings-categories {
        grid-template-columns: 1fr;
    }

    .cookie-main {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
    }

    .cookie-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .cookie-actions .btn {
        width: 100%;
        min-width: 0;
        padding: 0.65rem 0.55rem;
        font-size: 0.78rem;
    }
}

/* --- Trust Counter Section --- */
.trust-bar {
    background:
        radial-gradient(
            ellipse at 10% 60%,
            rgba(20, 90, 66, 0.35) 0%,
            transparent 55%
        ),
        radial-gradient(
            ellipse at 90% 20%,
            rgba(31, 120, 85, 0.22) 0%,
            transparent 50%
        ),
        linear-gradient(135deg, #0f2d23 0%, #134736 48%, #103527 100%);
    padding: 3.15rem 0 2.7rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.trust-bar + .service-showcase {
    padding-top: clamp(1.9rem, 4.1vw, 2.8rem);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    justify-content: flex-start;
    text-align: center;
    padding: 1.25rem 1rem 1.1rem;
    position: relative;
    border-radius: 22px;
    background: linear-gradient(
        180deg,
        rgba(11, 42, 31, 0.64) 0%,
        rgba(10, 36, 27, 0.52) 100%
    );
    border: 1px solid rgba(229, 242, 234, 0.16);
    backdrop-filter: blur(4px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease,
        background 0.28s ease,
        filter 0.28s ease;
}

.trust-item::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.14) 45%,
        transparent 65%
    );
    opacity: 0;
    transform: translateX(-35%);
    transition:
        opacity 0.28s ease,
        transform 0.36s ease;
}

.trust-number {
    font-family: var(--font-heading);
    font-size: clamp(2.55rem, 3.6vw, 3.35rem);
    font-weight: 700;
    line-height: 0.92;
    color: #f7fbf8;
    letter-spacing: -0.01em;
    min-height: 1.06em;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 3px 14px rgba(5, 15, 11, 0.38);
}

.trust-label {
    display: block;
    font-size: 0.86rem;
    color: rgba(231, 241, 235, 0.92);
    font-weight: 600;
    max-width: 16ch;
    min-height: 3em;
    line-height: 1.45;
    transition: color 0.28s ease;
}

@media (hover: hover) {
    .trust-item:hover {
        transform: translateY(-6px) scale(1.01);
        border-color: rgba(197, 157, 95, 0.52);
        background: linear-gradient(
            180deg,
            rgba(17, 58, 43, 0.8) 0%,
            rgba(13, 44, 33, 0.68) 100%
        );
        box-shadow:
            0 16px 34px rgba(2, 11, 8, 0.34),
            0 0 0 1px rgba(197, 157, 95, 0.28);
        filter: saturate(1.08);
    }

    .trust-item:hover::before {
        opacity: 1;
        transform: translateX(0);
    }

    .trust-item:hover .trust-number {
        color: #fff8eb;
        text-shadow: 0 4px 16px rgba(197, 157, 95, 0.24);
    }

    .trust-item:hover .trust-label {
        color: #f5f7ea;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trust-item,
    .trust-item::before,
    .trust-label {
        transition: none;
    }
}

/* --- Mobile Sticky CTA --- */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 800;
    padding: 0.65rem 1rem;
    background: linear-gradient(
        180deg,
        rgba(255, 253, 248, 0.97) 0%,
        rgba(248, 241, 229, 0.97) 100%
    );
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(197, 157, 95, 0.2);
    box-shadow: 0 -6px 24px rgba(10, 20, 16, 0.1);
    gap: 0.6rem;
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

.mobile-sticky-cta.is-visible {
    transform: translateY(0);
}

.sticky-cta-phone,
.sticky-cta-contact {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    text-align: center;
}

.sticky-cta-phone {
    background: linear-gradient(180deg, #2a684f 0%, var(--primary-color) 100%);
    color: #fff;
}

.sticky-cta-contact {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 1px solid rgba(32, 72, 56, 0.15);
}

/* --- Form Messages --- */
.form-message {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    animation: formMsgSlideIn 0.4s ease;
}

.form-message i {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.form-message a {
    font-weight: 600;
    text-decoration: underline;
}

.form-message-success {
    background: #eaf6ee;
    border: 1px solid #b6dfc4;
    color: #1a5c32;
}

.form-message-success i {
    color: #22883e;
}
.form-message-success a {
    color: #1a5c32;
}

.form-message-error {
    background: #fef2f2;
    border: 1px solid #f5c6c6;
    color: #8b1a1a;
}

.form-message-error i {
    color: #c53030;
}
.form-message-error a {
    color: #8b1a1a;
}

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

/* --- Trust Badges --- */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(32, 72, 56, 0.06);
    border: 1px solid rgba(32, 72, 56, 0.12);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
}

.trust-badge i {
    font-size: 1.1rem;
    color: var(--accent-color);
}

/* --- Testimonial Quote Cards (einzelne Kundenstimmen) --- */
.testimonial-quote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.testimonial-quote-card {
    background: linear-gradient(
        180deg,
        rgba(255, 253, 248, 0.98) 0%,
        rgba(247, 241, 231, 0.95) 100%
    );
    padding: 2.2rem;
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(197, 157, 95, 0.14);
    position: relative;
}

.testimonial-quote-card::before {
    content: "\201C";
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    font-family: var(--font-heading);
    color: rgba(197, 157, 95, 0.22);
    line-height: 1;
}

.testimonial-quote-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-style: italic;
}

.testimonial-quote-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-quote-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.testimonial-quote-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.testimonial-quote-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* --- Gallery Filter --- */
.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.gallery-filter-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(32, 72, 56, 0.15);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-body);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    #scrollToTopBtn {
        bottom: 72px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    .cookie-main {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        gap: 0.85rem;
    }

    .cookie-settings-categories {
        grid-template-columns: 1fr;
    }

    .cookie-actions,
    .cookie-settings-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .cookie-settings-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cookie-actions .btn,
    .cookie-settings-actions .btn {
        width: 100%;
        min-width: 0;
        padding: 0.65rem 0.55rem;
        font-size: 0.78rem;
    }

    .cookie-category-row {
        flex-direction: row;
        align-items: center;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .testimonial-quote-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .trust-number {
        font-size: 2.2rem;
    }

    .trust-item {
        padding: 1rem 0.75rem 0.9rem;
    }
}

/* =============================================
   Nav Social Buttons
============================================= */
.nav-social-btns {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.nav-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-social-btn img {
    width: 2.4rem;
    height: 2.4rem;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

/* Instagram-PNG hat mehr Innenabstand → optisch angleichen */
.nav-social-instagram img {
    width: 2.75rem;
    height: 2.75rem;
}

.nav-social-btn:hover {
    transform: translateY(-3px) scale(1.12);
}

/* Entfernt – Hintergrundfarben kommen aus den PNGs */
.nav-social-instagram,
.nav-social-facebook,
.nav-social-whatsapp {
    background: none;
    box-shadow: none;
}

/* Header-Icons auf Mobile ausblenden (backdrop-filter im Header verhindert position:fixed) */
@media (max-width: 768px) {
    .nav-social-btns {
        display: none !important;
    }
}

/* =============================================
   Mobile Social Bottom Bar (separates Element)
============================================= */
.mobile-social-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-social-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1001;
        display: flex;
        gap: 0;
        background: rgba(252, 248, 242, 0.97);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.15);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        transform: translateY(0);
        transition: transform 0.3s ease;
    }

    .mobile-social-bar.hidden {
        transform: translateY(100%);
    }

    .mobile-social-bar .nav-social-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.55rem 0;
        width: auto;
        height: auto;
    }

    .mobile-social-bar .nav-social-btn img {
        width: 2.1rem;
        height: 2.1rem;
        object-fit: contain;
    }

    .mobile-social-bar .nav-social-instagram img {
        width: 2.4rem;
        height: 2.4rem;
    }

    .mobile-social-bar .nav-social-btn:hover {
        transform: none;
    }

    body {
        padding-bottom: 62px;
    }
}

/* =============================================
   Quiz Funnel Modal
============================================= */
.quiz-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s,
        visibility 0.3s;
}
.quiz-modal.is-open {
    opacity: 1;
    visibility: visible;
}
.quiz-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
}
.quiz-dialog {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 95%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem 2rem 2rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
}
.quiz-modal.is-open .quiz-dialog {
    transform: translateY(0) scale(1);
}
.quiz-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}
.quiz-close:hover {
    color: var(--primary-color);
}

/* Progress bar */
.quiz-progress {
    height: 4px;
    background: #eee;
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}
.quiz-progress-bar {
    height: 100%;
    background: var(--accent-color);
    border-radius: 4px;
    transition: width 0.35s ease;
}

/* Step label */
.quiz-step-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Steps */
.quiz-step {
    display: none;
}
.quiz-step.active {
    display: block;
    animation: quizFadeIn 0.3s ease;
}
@keyframes quizFadeIn {
    from {
        opacity: 0;
        transform: translateX(12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.quiz-step h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* Radio option cards */
.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.quiz-option {
    cursor: pointer;
}
.quiz-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.quiz-option span {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1rem;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    color: #333;
    transition:
        border-color 0.2s,
        background 0.2s,
        color 0.2s;
}
.quiz-option span i {
    font-size: 1.25rem;
    color: var(--accent-color);
}
.quiz-option:hover span {
    border-color: var(--accent-color);
    background: rgba(197, 157, 95, 0.06);
}
.quiz-option input:checked + span {
    border-color: var(--accent-color);
    background: rgba(197, 157, 95, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

/* Text inputs */
.quiz-fields {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.quiz-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s;
    background: #fafafa;
    box-sizing: border-box;
}
.quiz-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #fff;
}
.quiz-input-error {
    border-color: #e74c3c !important;
    animation: quizShake 0.4s ease;
}
@keyframes quizShake {
    0%,
    100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-6px);
    }
    75% {
        transform: translateX(6px);
    }
}

/* Privacy checkbox */
.quiz-privacy {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: #666;
    margin-bottom: 1.25rem;
    cursor: pointer;
}
.quiz-privacy input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}
.quiz-privacy a {
    color: var(--accent-color);
    text-decoration: underline;
}
.quiz-privacy.quiz-input-error {
    color: #e74c3c;
}

/* Buttons */
.quiz-next-btn,
.quiz-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.2s,
        transform 0.15s;
}
.quiz-next-btn {
    background: var(--primary-color);
    color: #fff;
}
.quiz-next-btn:hover {
    background: #183a2c;
    transform: translateY(-1px);
}
.quiz-submit-btn {
    background: var(--accent-color);
    color: #fff;
}
.quiz-submit-btn:hover {
    background: #b08940;
    transform: translateY(-1px);
}
.quiz-submit-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* Success state */
.quiz-success {
    text-align: center;
    padding: 2rem 0;
}
.quiz-success > i {
    font-size: 3.5rem;
    color: #27ae60;
    margin-bottom: 1rem;
    display: block;
}
.quiz-success h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.quiz-success p {
    color: #666;
    margin-bottom: 1.5rem;
}
.quiz-close-btn {
    display: inline-block;
    padding: 0.7rem 2rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.quiz-close-btn:hover {
    background: #183a2c;
}

/* Mobile quiz tweaks */
@media (max-width: 520px) {
    .quiz-dialog {
        padding: 2rem 1.25rem 1.5rem;
        border-radius: 12px;
    }
    .quiz-options {
        grid-template-columns: 1fr;
    }
    .quiz-step h3 {
        font-size: 1.15rem;
    }
}
