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

html { scroll-behavior: smooth; }

body {
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #1A1A1A;
    /* Durchgehende Erd-Szene: ein einziger warmer Abstieg von Oberboden (hell)
       über Lehm/Sand bis in den tiefen Grund — die ganze Seite ist EIN Raum.
       Layer 1: feine SVG-Noise (fixed) für Papier-/Erd-Anmutung.
       Layer 2: vertikaler Erdschichten-Verlauf (scrollt mit dem Dokument). */
    background-color: #F7F2E8;
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.30 0 0 0 0 0.22 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
        linear-gradient(180deg,
            #F9F4EC 0%,
            #F4EEE0 20%,
            #EFE5D1 44%,
            #E8DABF 68%,
            #E0CFAD 88%,
            #D8C49E 100%);
    background-attachment: fixed, scroll;
    background-size: 180px 180px, 100% 100%;
    background-repeat: repeat, no-repeat;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Sanft driftende Erd-/Sonnenlicht-Pools über der ganzen Szene — macht den
   "Raum" lebendig, ohne Effekt-Hascherei. Liegt hinter allen hellen Sektionen;
   die dunklen Sektionen (Kontakt/Footer) decken es bewusst ab. */
body::before {
    content: "";
    position: fixed;
    inset: -10vh -10vw;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(38% 42% at 16% 22%, rgba(232, 118, 31, 0.055), transparent 70%),
        radial-gradient(46% 50% at 88% 68%, rgba(193, 142, 78, 0.07), transparent 72%);
    animation: ambientDrift 52s ease-in-out infinite alternate;
}
@keyframes ambientDrift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(2.2%, -1.8%, 0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
    body::before { animation: none; }
}
/* Statische Tiefen-Vignette: lässt die Ränder leicht abdunkeln und sammelt
   das Licht in der Mitte — gibt dem "Raum" Wände statt flacher Wand-zu-Wand-Fläche. */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(255, 252, 245, 0.5), transparent 42%),
        radial-gradient(130% 100% at 50% 60%, transparent 58%, rgba(74, 52, 28, 0.07) 100%);
}
[data-theme="dark"] body::after {
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(232, 200, 150, 0.05), transparent 45%),
        radial-gradient(130% 100% at 50% 55%, transparent 55%, rgba(0, 0, 0, 0.4) 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }


/* ============ HEADER ============ */
.site-header {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}
.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.brand img {
    height: 64px;
    width: auto;
}

.nav {
    margin-left: auto;
}
.nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav a {
    font-family: 'Familjen', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.005em;
    color: #1A1A1A;
    padding: 6px 0;
    transition: color .15s ease;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.55);
}
.nav a:hover {
    color: #E8761F;
}
.nav-phone {
    font-variant-numeric: tabular-nums;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 24px;
}
.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1A1A1A;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(26, 26, 26, 0.12);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 6px 16px -6px rgba(0, 0, 0, 0.15);
    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        transform .2s cubic-bezier(.16, 1, .3, 1);
    text-decoration: none;
}
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn.phone:hover {
    background: rgba(232, 118, 31, 0.95);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 10px 24px -6px rgba(232, 118, 31, 0.55);
}
.icon-btn.whatsapp:hover {
    background: rgba(37, 211, 102, 0.95);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 10px 24px -6px rgba(37, 211, 102, 0.55);
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid #CCCCCC;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border-radius: 4px;
    margin-left: 10px;
}
.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1A1A1A;
    transition: transform .2s ease, opacity .2s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100svh;
    background: transparent;
    overflow: hidden;
    color: #1A1A1A;
}
.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 54%;
    z-index: 0;
    overflow: hidden;
    /* Diagonale linke Kante — bleibt bei Scale 1, damit sie nicht in den Text wandert */
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
}
/* Innere Bildebene trägt das Foto + den Scroll-Parallax (JS setzt translateY).
   Überstand oben/unten gibt Spielraum, ohne die Clip-Kante zu verschieben. */
.hero-bg-img {
    position: absolute;
    inset: -11% -6%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}
html.js-ready .hero-bg-img {
    animation: heroBgFade 1.2s ease both;
}
@keyframes heroBgFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.hero-overlay {
    /* nicht mehr benötigt im Split-Layout, lassen für Compat */
    display: none;
}
/* Unterkante des Heros schmilzt in die Über-uns-Sektion (durchgehende Szene) */
.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 22%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(247, 241, 229, 0.85) 88%, #F6F0E2 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 180px 60px 100px 64px;
    display: grid;
    grid-template-columns: minmax(0, 44%) 1fr;
    align-items: center;
    min-height: 100svh;
}
.hero-text {
    max-width: 560px;
    padding-right: 40px;
}
.hero h1 {
    font-family: 'Familjen', sans-serif;
    font-size: clamp(38px, 4.2vw, 74px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.028em;
    margin-bottom: 28px;
    color: #1A1A1A;
    text-wrap: balance;
    overflow-wrap: break-word;
}
.hero p {
    font-family: 'Sora', sans-serif;
    font-size: clamp(15px, 1.25vw, 18px);
    font-weight: 400;
    color: #4A4A48;
    max-width: 480px;
    margin: 0 0 40px;
    line-height: 1.6;
    letter-spacing: 0.002em;
}
.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.hero-phone {
    width: 50px;
    height: 50px;
}
.hero-phone svg { width: 22px; height: 22px; }


/* ============ BUTTONS — GLASSPILLOWS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-family: 'Familjen', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        transform .2s cubic-bezier(.16, 1, .3, 1);
    text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: linear-gradient(180deg, rgba(255, 145, 56, 0.92), rgba(232, 118, 31, 0.95));
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 -1px 0 rgba(0, 0, 0, 0.08) inset,
        0 10px 28px -8px rgba(232, 118, 31, 0.55),
        0 2px 6px -2px rgba(232, 118, 31, 0.35);
}
.btn-primary:hover {
    background: linear-gradient(180deg, rgba(255, 145, 56, 1), rgba(232, 118, 31, 1));
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55) inset,
        0 -1px 0 rgba(0, 0, 0, 0.1) inset,
        0 16px 32px -8px rgba(232, 118, 31, 0.65),
        0 4px 10px -2px rgba(232, 118, 31, 0.4);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.55);
    color: #1A1A1A;
    border-color: rgba(26, 26, 26, 0.12);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 -1px 0 rgba(0, 0, 0, 0.04) inset,
        0 8px 24px -8px rgba(0, 0, 0, 0.18),
        0 2px 6px -2px rgba(0, 0, 0, 0.08);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(26, 26, 26, 0.22);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 -1px 0 rgba(0, 0, 0, 0.05) inset,
        0 14px 28px -8px rgba(0, 0, 0, 0.22),
        0 4px 10px -2px rgba(0, 0, 0, 0.1);
}


/* ============ LEGAL PAGES (Impressum / Datenschutz) ============ */
.legal-page .site-header {
    position: relative;
    background: #FFFFFF;
    border-bottom: 1px solid #E5E5E5;
}
.legal-page .nav a {
    text-shadow: none;
}
.legal-page .nav a.active {
    color: #E8761F;
}
.legal {
    max-width: 780px;
    margin: 60px auto 120px;
    padding: 0 32px;
}
.legal h1 {
    font-family: 'Familjen', sans-serif;
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 28px;
}
.legal h2 {
    font-family: 'Familjen', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin: 36px 0 12px;
    padding-top: 24px;
    border-top: 1px solid #E5E5E5;
}
.legal h2:first-of-type { border-top: none; padding-top: 0; }
.legal p, .legal li {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #4A4A48;
    margin-bottom: 12px;
}
.legal-todo {
    background: #FFF7E6;
    border: 1px dashed #E8761F;
    color: #8B4A0E;
    padding: 18px 22px;
    border-radius: 6px;
    font-family: 'Familjen', sans-serif;
}
.legal-stand {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #E5E5E5;
    font-size: 14px !important;
    color: #8A8A88 !important;
}
[data-theme="dark"] .legal-stand { border-top-color: rgba(255, 255, 255, 0.12); }

/* ============ DANKE-SEITE ============ */
.thanks {
    max-width: 720px;
    margin: 0 auto;
    padding: 100px 32px 140px;
    text-align: center;
}
.thanks-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.thanks-check {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #FFFFFF;
    background: linear-gradient(180deg, #FF9138, #E8761F);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.5) inset,
        0 14px 32px -8px rgba(232, 118, 31, 0.55);
    margin-bottom: 8px;
}
.thanks-check svg { width: 42px; height: 42px; }
.thanks-eyebrow {
    font-family: 'Familjen', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #E8761F;
}
.thanks h1 {
    font-family: 'Familjen', sans-serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.028em;
    color: #1A1A1A;
    margin-bottom: 4px;
    text-wrap: balance;
}
.thanks-lead {
    font-family: 'Sora', sans-serif;
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.6;
    color: #4A4A48;
    max-width: 540px;
}
.thanks-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 18px;
}
[data-theme="dark"] .thanks h1 { color: #FFFFFF; }
[data-theme="dark"] .thanks-lead { color: rgba(241, 236, 227, 0.72); }
@media (max-width: 600px) {
    .thanks { padding: 60px 24px 90px; }
    .thanks-cta { flex-direction: column; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
    .thanks-cta .btn { width: 100%; }
}

/* ============ ABOUT SECTION (mittig zentriert) ============ */
.about {
    background: transparent;
    padding: 130px 0 140px;
    position: relative;
    overflow: hidden;
}
/* Warmer, organischer Erd-Schimmer statt Raster — gibt der Text-Sektion Tiefe ohne Tech-Look */
.about::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(60% 70% at 88% 18%, rgba(232, 118, 31, 0.06), transparent 60%),
        radial-gradient(70% 80% at 8% 92%, rgba(26, 26, 26, 0.04), transparent 65%);
}
.about-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 72px;
    align-items: center;
}
.about-content {
    text-align: left;
}
.about-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 30px;
}
.about-eyebrow {
    font-family: 'Familjen', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #E8761F;
    display: inline-block;
}
.about h2 {
    font-family: 'Familjen', sans-serif;
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.028em;
    color: #1A1A1A;
    text-wrap: balance;
}
.about-body {
    display: flex;
    flex-direction: column;
    gap: 22px;
    text-align: left;
}
.about-body p {
    font-family: 'Sora', sans-serif;
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.7;
    color: #2B2B2B;
}

/* Google-Maps-Karte rechts neben Über-uns-Text */
.about-map {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.6) inset,
        0 24px 60px -20px rgba(26, 26, 26, 0.22),
        0 4px 14px -4px rgba(26, 26, 26, 0.1);
    background: #FFFFFF;
    /* Schmaler oranger Akzent am unteren Rand der Caption */
}
.about-map #map {
    display: block;
    width: 100%;
    height: 420px;
    background: #DDDBD2;
    z-index: 1;
}
/* Leaflet-Attribution Styling — etwas zurückhaltender */
.about-map .leaflet-control-attribution {
    font-family: 'Sora', sans-serif;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.85);
    padding: 2px 6px;
}
.about-map .leaflet-popup-content {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    line-height: 1.5;
}
.about-map .leaflet-popup-content strong {
    font-family: 'Familjen', sans-serif;
    color: #1A1A1A;
}
.about-map-caption {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    line-height: 1.45;
    color: #2B2B2B;
    background: #FFFFFF;
    border-top: 1px solid #EEEAE2;
}
.about-map-caption .map-pin {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #FF9138, #E8761F);
    color: #FFFFFF;
    box-shadow: 0 6px 14px -4px rgba(232, 118, 31, 0.5);
}
.about-map-caption .map-pin svg { width: 20px; height: 20px; }
.about-map-caption strong {
    color: #1A1A1A;
    font-weight: 600;
}

@media (max-width: 960px) {
    .about { padding: 80px 0; }
    .about-inner {
        padding: 0 24px;
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .about-body p { font-size: 16px; }
    .about-map #map { height: 320px; }
}

/* ============ SERVICES SECTION (Unsere Kernkompetenzen) ============ */
.services {
    background: transparent;
    padding: 130px 0 140px;
    position: relative;
    overflow: hidden;
}
/* Warme Lichtinsel statt harter weißer Bühne — die Karten heben sich jetzt
   gegen den warmen Erd-Verlauf ab, die Sektion bleibt Teil des einen Raums. */
.services::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(75% 55% at 50% 8%, rgba(255, 255, 255, 0.55), transparent 60%),
        radial-gradient(50% 60% at 12% 78%, rgba(232, 118, 31, 0.05), transparent 65%);
}
.services-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}
.services-head {
    text-align: center;
    margin-bottom: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.services-eyebrow {
    font-family: 'Familjen', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #E8761F;
    display: inline-block;
}
.services h2 {
    font-family: 'Familjen', sans-serif;
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.028em;
    color: #1A1A1A;
    text-wrap: balance;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px 56px;
    padding: 20px 0;
}

/* ----- POLAROID CARDS ----- */
.service-card {
    background: #FFFFFF;
    padding: 16px 16px 28px;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.10),
        0 18px 32px -10px rgba(0, 0, 0, 0.22);
    position: relative;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1);
    z-index: 1;
}
/* nth-child rotation gibt jedem Polaroid eigenen Tilt */
.service-card:nth-child(1) { --rot: -2deg; }
.service-card:nth-child(2) { --rot: 1.5deg; }
.service-card:nth-child(3) { --rot: -1deg; }
.service-card:nth-child(4) { --rot: 1deg; }
.service-card:nth-child(5) { --rot: -1.5deg; }
.service-card:nth-child(6) { --rot: 2deg; }
.service-card:hover {
    transform: rotate(0deg) translateY(-8px) !important;
    z-index: 5;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.12),
        0 26px 44px -12px rgba(0, 0, 0, 0.30);
}

/* Klebeband oben mittig */
.service-card::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 50%;
    width: 110px;
    height: 26px;
    transform: translateX(-50%) rotate(-3deg);
    background:
        linear-gradient(180deg, rgba(255, 215, 80, 0.82), rgba(255, 200, 60, 0.68)),
        repeating-linear-gradient(90deg, transparent 0 6px, rgba(0, 0, 0, 0.04) 6px 7px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    border-left: 1px dashed rgba(0, 0, 0, 0.05);
    border-right: 1px dashed rgba(0, 0, 0, 0.05);
    z-index: 6;
    pointer-events: none;
}

/* Foto-Bereich oben (zeigt die Nummer wo später ein Bild hin kann) */
.service-card .photo {
    background:
        linear-gradient(135deg, #2A2A28 0%, #161614 100%);
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
}
.service-card .photo::after {
    /* dezenter Stoff-Pattern für Foto-Anmutung */
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(45deg, transparent 0 24px, rgba(232, 118, 31, 0.04) 24px 25px);
    pointer-events: none;
}
.service-card .service-num {
    font-family: 'Familjen', sans-serif;
    font-size: clamp(110px, 9vw, 170px);
    font-weight: 700;
    color: #E8761F;
    line-height: 1;
    letter-spacing: -0.04em;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.service-card .service-icon {
    width: clamp(64px, 7vw, 96px);
    height: clamp(64px, 7vw, 96px);
    color: #FFFFFF;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
    transition: color .25s ease, transform .35s ease;
}
.service-card:hover .service-icon {
    color: #E8761F;
    transform: scale(1.06);
}

.service-card .service-title {
    display: block;
    font-family: 'Familjen', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #1A1A1A;
    margin: 0 12px 12px;
    text-align: center;
}
.service-card .service-text {
    font-family: 'Sora', sans-serif;
    font-size: 13.5px;
    line-height: 1.6;
    color: #4A4A48;
    margin: 0 12px;
    text-align: left;
}
.service-card .service-text strong {
    color: #1A1A1A;
    font-weight: 600;
}

/* Lead-Text unter der H2 in der Services-Section */
.services-lead {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #4A4A48;
    max-width: 720px;
    margin: 6px 0 0;
    text-align: center;
    text-wrap: pretty;
}

/* Tag-Cluster pro Service-Karte (Leistungen einer Gruppe) */
.service-card .service-tags {
    list-style: none;
    margin: 16px 12px 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.service-card .service-tags .tag {
    font-family: 'Sora', sans-serif;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.2;
    color: #4A4A48;
    background: #F6F1E6;
    border: 1px solid rgba(232, 118, 31, 0.22);
    border-radius: 999px;
    padding: 5px 11px;
    white-space: nowrap;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.service-card:hover .service-tags .tag {
    background: #FFFFFF;
    border-color: rgba(232, 118, 31, 0.45);
    color: #1A1A1A;
}

/* Einsatzbereiche-Strip unterhalb der 3 Gruppenkarten */
.service-areas {
    margin-top: 96px;
    padding: 36px 32px;
    background: #FFFFFF;
    border-left: 4px solid #E8761F;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.08),
        0 18px 32px -14px rgba(0, 0, 0, 0.18);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: center;
}
.service-areas-head .service-areas-eyebrow {
    display: inline-block;
    font-family: 'Familjen', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #E8761F;
    margin-bottom: 12px;
}
.service-areas-head h3 {
    font-family: 'Familjen', sans-serif;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1A1A1A;
    margin: 0 0 12px;
    line-height: 1.15;
}
.service-areas-head p {
    font-family: 'Sora', sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    color: #4A4A48;
    margin: 0;
    max-width: 38ch;
}
.service-areas-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
}
.service-areas-list li {
    font-family: 'Sora', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: #1A1A1A;
    background: #F6F1E6;
    border: 1px solid rgba(232, 118, 31, 0.25);
    border-radius: 6px;
    padding: 9px 14px;
}

@media (max-width: 760px) {
    .service-areas {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 28px 22px;
        margin-top: 72px;
    }
}

.services-cta {
    text-align: center;
    margin-top: 90px;
}

/* Scroll-Animation für Polaroid: respektiert die Rotation */
html.js-ready .polaroid-card {
    opacity: 0;
    transform: rotate(var(--rot, -1.5deg)) translateY(50px);
    transition:
        opacity .9s ease,
        transform 1s cubic-bezier(.16, 1, .3, 1);
    will-change: transform, opacity;
}
html.js-ready .polaroid-card.in {
    opacity: 1;
    transform: rotate(var(--rot, -1.5deg)) translateY(0);
}

@media (max-width: 960px) {
    .services { padding: 80px 0; }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 28px;
    }
}
@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; gap: 56px; max-width: 360px; margin: 0 auto; }
    .service-card:nth-child(odd) { --rot: -1deg; }
    .service-card:nth-child(even) { --rot: 1deg; }
}

/* ============ CONTACT SECTION ============ */
.contact {
    /* Querschnitt-Übergang: warmer Oberboden oben → Lehm-Naht → dunkler Grund.
       Der Abstieg der Erd-Szene endet hier sauber im tiefen Untergrund,
       statt mit einer harten Farbkante. */
    background:
        linear-gradient(180deg,
            #E7D8BE 0%,
            #B68A52 5%,
            #4A381F 11%,
            #1E1A15 19%,
            #161614 27%);
    background-color: #161614;
    color: #F1ECE3;
    padding: 150px 0 140px;
    position: relative;
    overflow: hidden;
}
/* Tiefer Erd-Verlauf statt Raster — warmer Boden unten rechts */
.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(80% 90% at 85% 110%, rgba(232, 118, 31, 0.10), transparent 60%);
}
.contact::after {
    /* warmer Orange-Glow oben links */
    content: '';
    position: absolute;
    top: -200px;
    left: -160px;
    width: 540px;
    height: 540px;
    background: radial-gradient(circle, rgba(232, 118, 31, 0.18) 0%, transparent 65%);
    pointer-events: none;
}
.contact-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}
.contact-head {
    text-align: center;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.contact-eyebrow {
    font-family: 'Familjen', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #E8761F;
    display: inline-block;
}
.contact h2 {
    font-family: 'Familjen', sans-serif;
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.028em;
    color: #FFFFFF;
    text-wrap: balance;
}
.contact-lead {
    font-family: 'Sora', sans-serif;
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.6;
    color: rgba(241, 236, 227, 0.72);
    max-width: 560px;
    margin-top: 6px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) 1.4fr;
    gap: 64px;
    align-items: start;
}

/* ----- Kontakt-Info links ----- */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 10px;
}
.info-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.info-block:last-child { border-bottom: none; padding-bottom: 0; }

.info-label {
    font-family: 'Familjen', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #E8761F;
}
.info-block p {
    font-family: 'Sora', sans-serif;
    font-size: 15.5px;
    line-height: 1.55;
    color: #F1ECE3;
}
.info-block p a {
    color: #F1ECE3;
    border-bottom: 1px solid rgba(232, 118, 31, 0.4);
    transition: color .15s ease, border-color .15s ease;
}
.info-block p a:hover {
    color: #E8761F;
    border-bottom-color: #E8761F;
}
.info-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}
/* Ghost-Button hier auf dunklem Hintergrund anpassen */
.contact .btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #F1ECE3;
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 8px 24px -10px rgba(0, 0, 0, 0.5);
}
.contact .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.38);
}

/* ----- Formular rechts ----- */
.contact-form {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 36px 36px 32px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow:
        0 20px 60px -20px rgba(0, 0, 0, 0.45),
        0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.form-honey {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}
.form-row { display: flex; gap: 16px; flex-direction: column; }
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.field-label {
    font-family: 'Familjen', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(241, 236, 227, 0.72);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.field-req {
    color: #E8761F;
    margin-left: 2px;
}
.form-field input,
.form-field select,
.form-field textarea {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 13px 14px;
    width: 100%;
    transition:
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.form-field textarea {
    resize: vertical;
    min-height: 130px;
    font-family: 'Sora', sans-serif;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(241, 236, 227, 0.35);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(232, 118, 31, 0.7);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(232, 118, 31, 0.18);
}
/* Custom Pfeil für Select */
.form-field select {
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(241, 236, 227, 0.6) 50%),
        linear-gradient(135deg, rgba(241, 236, 227, 0.6) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% + 2px),
        calc(100% - 13px) calc(50% + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 36px;
    cursor: pointer;
}
.form-field select option {
    background: #1F1F1D;
    color: #F1ECE3;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(241, 236, 227, 0.72);
    cursor: pointer;
    margin-top: 4px;
}
.form-consent input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #E8761F;
    cursor: pointer;
}
.form-consent a {
    color: #F1ECE3;
    border-bottom: 1px solid rgba(232, 118, 31, 0.5);
}
.form-consent a:hover {
    color: #E8761F;
    border-bottom-color: #E8761F;
}
.form-submit {
    align-self: flex-start;
    margin-top: 10px;
    min-width: 200px;
}

@media (max-width: 960px) {
    .contact { padding: 80px 0 90px; }
    .contact-head { margin-bottom: 50px; }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .contact-form { padding: 26px 22px 24px; }
    .form-row-2 { grid-template-columns: 1fr; }
    .form-submit { width: 100%; }
}


/* ============ FOOTER ============ */
.site-footer {
    background: #0F0F0E;
    color: rgba(241, 236, 227, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 70px 32px 50px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr 1fr;
    gap: 48px;
}
.footer-col { display: flex; flex-direction: column; gap: 14px; }

.footer-brand .footer-logo {
    height: auto;
    width: auto;
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    align-self: flex-start;
    margin-bottom: 4px;
    /* Logo auf dunklem Hintergrund: leicht aufhellen */
    filter: brightness(1.05);
}
.footer-claim {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(241, 236, 227, 0.62);
    max-width: 300px;
}

.footer-head {
    font-family: 'Familjen', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #E8761F;
    margin-bottom: 6px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
}
.footer-list a {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    color: rgba(241, 236, 227, 0.72);
    transition: color .15s ease;
}
.footer-list a:hover {
    color: #FFFFFF;
}

.footer-address {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(241, 236, 227, 0.72);
    font-style: normal;
}
.footer-address a {
    color: rgba(241, 236, 227, 0.85);
    border-bottom: 1px solid rgba(232, 118, 31, 0.35);
    transition: color .15s ease, border-color .15s ease;
}
.footer-address a:hover {
    color: #E8761F;
    border-bottom-color: #E8761F;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #0A0A09;
}
.footer-bottom-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 32px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    color: rgba(241, 236, 227, 0.45);
}
.footer-bottom-inner .footer-copy   { justify-self: start; }
.footer-bottom-inner .footer-credit { justify-self: center; text-align: center; }
.footer-bottom-inner .footer-back   { justify-self: end; }
.footer-back a {
    color: rgba(241, 236, 227, 0.6);
    transition: color .15s ease;
}
.footer-back a:hover { color: #E8761F; }

@media (max-width: 960px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px 28px;
        padding: 56px 24px 40px;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 24px;
    }
}
@media (max-width: 520px) {
    .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}


/* ============ FLY-IN SCROLL ANIMATIONS ============
   Defensiv: ohne JS bleibt alles sichtbar.
   Erst wenn JS die Klasse .js-ready auf html setzt,
   werden Elemente initial versteckt + transformiert. */
html.js-ready .fly {
    opacity: 0;
    will-change: transform, opacity;
    transition:
        opacity .9s cubic-bezier(.16, 1, .3, 1),
        transform 1s cubic-bezier(.16, 1, .3, 1);
}
html.js-ready .fly-from-left   { transform: translate3d(-100vw, 0, 0); }
html.js-ready .fly-from-right  { transform: translate3d(100vw, 0, 0); }
html.js-ready .fly-from-top    { transform: translate3d(0, -120%, 0); }
html.js-ready .fly-from-bottom { transform: translate3d(0, 120%, 0); }
html.js-ready .fly.in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* WRITE-IN: clip-path-Wipe, Text wird von links nach rechts "geschrieben" */
html.js-ready .write {
    clip-path: inset(0 100% 0 0);
    -webkit-clip-path: inset(0 100% 0 0);
    will-change: clip-path;
    transition:
        clip-path 1.1s cubic-bezier(.22, 1, .36, 1),
        -webkit-clip-path 1.1s cubic-bezier(.22, 1, .36, 1);
}
html.js-ready .write.in {
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
}

/* Reduced motion fallback */
@media (prefers-reduced-motion: reduce) {
    html.js-ready .fly,
    html.js-ready .write {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
        -webkit-clip-path: none !important;
        transition: none !important;
    }
}

/* ============ MOBILE ============ */
@media (max-width: 960px) {
    .burger {
        display: inline-flex;
    }
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        background: #FFFFFF;
        border-bottom: 1px solid #E5E5E5;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
        box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.2);
    }
    .nav.open .fly { opacity: 1 !important; transform: none !important; transition: none !important; }
    .header-icons { margin-left: auto; }
    .nav.open {
        max-height: 400px;
    }
    .nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 32px 24px;
    }
    .nav li {
        border-bottom: 1px solid #F0F0F0;
    }
    .nav li:last-child {
        border-bottom: none;
    }
    .nav a {
        display: block;
        padding: 16px 0;
        font-size: 17px;
        text-shadow: none;
    }

    /* Hero auf Mobile: zurück zu Image-Background mit Overlay */
    .hero {
        min-height: 78svh;
        color: #FFFFFF;
    }
    .hero::after { display: none; }
    .hero-bg {
        width: 100%;
        clip-path: none;
    }
    .hero-overlay {
        display: block;
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.65) 100%);
        z-index: 1;
    }
    .hero-content {
        grid-template-columns: 1fr;
        padding: 120px 20px 70px;
        min-height: 78svh;
        text-align: center;
    }
    .hero-text { max-width: 100%; margin: 0 auto; padding-right: 0; }
    .hero h1 { color: #FFFFFF; }
    .hero p { color: rgba(255, 255, 255, 0.9); margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; align-items: center; flex-direction: column; max-width: 320px; margin: 0 auto; }
    .hero-ctas .btn { width: 100%; }
    .btn-ghost {
        background: rgba(255, 255, 255, 0.12);
        color: #FFFFFF;
        border-color: rgba(255, 255, 255, 0.35);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.2) inset,
            0 8px 24px -8px rgba(0, 0, 0, 0.3);
    }
    .btn-ghost:hover {
        background: rgba(255, 255, 255, 0.22);
        color: #FFFFFF;
        border-color: rgba(255, 255, 255, 0.55);
    }

    .brand img { height: 52px; }
    .header-inner { padding: 12px 20px; }
}


/* ============ FOOTER-SEPARATOR + CREDIT LINK ============ */
.footer-sep {
    display: inline-block;
    margin: 0 10px;
    color: rgba(241, 236, 227, 0.28);
}
.footer-bottom-inner a {
    color: rgba(241, 236, 227, 0.7);
    border-bottom: 1px solid rgba(232, 118, 31, 0.28);
    transition: color .15s ease, border-color .15s ease;
}
.footer-bottom-inner a:hover {
    color: #E8761F;
    border-bottom-color: #E8761F;
}


/* ============ THEME TOGGLE BUTTON ============ */
.theme-toggle {
    /* Erbt .icon-btn Grundlayout — hier nur button-spezifische Korrekturen */
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(26, 26, 26, 0.12);
    cursor: pointer;
    padding: 0;
    font: inherit;
}
.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #E8761F;
    border-color: rgba(232, 118, 31, 0.4);
}
.theme-icon { width: 20px; height: 20px; }
.theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark { display: block; }


/* ============ DARK MODE OVERRIDES ============ */
[data-theme="dark"] body {
    background-color: #14120E;
    color: #F1ECE3;
    /* Dunkler Erd-Abstieg: warmer Nacht-Oberboden → tiefer Grund */
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.45 0 0 0 0 0.32 0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
        linear-gradient(180deg,
            #1B1812 0%,
            #16130E 45%,
            #120F0B 75%,
            #0E0C08 100%);
}
[data-theme="dark"] body::before {
    background:
        radial-gradient(38% 42% at 16% 22%, rgba(232, 118, 31, 0.08), transparent 70%),
        radial-gradient(46% 50% at 88% 68%, rgba(193, 142, 78, 0.06), transparent 72%);
}

/* Hero */
[data-theme="dark"] .hero h1 { color: #F1ECE3; }
[data-theme="dark"] .hero p { color: rgba(241, 236, 227, 0.72); }
[data-theme="dark"] .hero::after {
    background: linear-gradient(180deg, transparent 0%, rgba(20, 17, 12, 0.85) 88%, #191510 100%);
}
[data-theme="dark"] .hero-vignette {
    background:
        radial-gradient(48% 54% at 21% 43%, rgba(232, 150, 70, 0.12), transparent 68%),
        radial-gradient(120% 85% at 72% 64%, transparent 0%, transparent 52%, rgba(0, 0, 0, 0.45) 100%),
        linear-gradient(90deg, rgba(20, 17, 12, 0.78) 0%, rgba(20, 17, 12, 0.28) 26%, transparent 42%);
}

/* Header — Nav + Icons im transparent Header über Hero */
[data-theme="dark"] .nav a {
    color: #F1ECE3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
[data-theme="dark"] .nav a:hover { color: #E8761F; }

[data-theme="dark"] .icon-btn {
    background: rgba(255, 255, 255, 0.06);
    color: #F1ECE3;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 6px 16px -6px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .theme-toggle:hover,
[data-theme="dark"] .icon-btn.phone:hover {
    /* phone keeps orange-hover (already defined for both themes) */
}
[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #E8761F;
    border-color: rgba(232, 118, 31, 0.4);
}

/* Burger Mobile */
[data-theme="dark"] .burger { border-color: rgba(255, 255, 255, 0.22); }
[data-theme="dark"] .burger span { background: #F1ECE3; }

/* Btn-ghost (Hero-CTA "Anrufen", Contact-Info "Anrufen") */
[data-theme="dark"] .btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #F1ECE3;
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 8px 24px -8px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.4);
}

/* About */
[data-theme="dark"] .about::before {
    background:
        radial-gradient(60% 70% at 88% 18%, rgba(232, 118, 31, 0.10), transparent 60%),
        radial-gradient(70% 80% at 8% 92%, rgba(255, 255, 255, 0.03), transparent 65%);
}
[data-theme="dark"] .about-body p { color: #D9D3C6; }
[data-theme="dark"] .about h2 { color: #FFFFFF; }
[data-theme="dark"] .about-map {
    background: #1E1C18;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 24px 60px -20px rgba(0, 0, 0, 0.65);
}
[data-theme="dark"] .about-map .leaflet-tile {
    filter: invert(0.92) hue-rotate(180deg) saturate(0.6) brightness(0.95);
}
[data-theme="dark"] .about-map .leaflet-control-attribution {
    background: rgba(30, 28, 24, 0.85);
    color: rgba(241, 236, 227, 0.6);
}
[data-theme="dark"] .about-map .leaflet-control-attribution a { color: #E8761F; }
[data-theme="dark"] .about-map-caption {
    background: #1E1C18;
    color: rgba(241, 236, 227, 0.72);
    border-top-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .about-map-caption strong { color: #FFFFFF; }

/* Services Bühne */
[data-theme="dark"] .services {
    background: transparent;
}
[data-theme="dark"] .services::before {
    background:
        radial-gradient(75% 55% at 50% 8%, rgba(255, 255, 255, 0.04), transparent 60%),
        radial-gradient(50% 60% at 12% 78%, rgba(232, 118, 31, 0.06), transparent 65%);
}
[data-theme="dark"] .services h2 { color: #FFFFFF; }

/* Polaroid Cards */
[data-theme="dark"] .service-card {
    background: #2A2722;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.35),
        0 18px 32px -10px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .service-card:hover {
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.4),
        0 26px 44px -12px rgba(0, 0, 0, 0.75);
}
[data-theme="dark"] .service-card .service-title { color: #F1ECE3; }
[data-theme="dark"] .service-card .service-text { color: rgba(241, 236, 227, 0.7); }
[data-theme="dark"] .service-card .service-text strong { color: #F1ECE3; }

[data-theme="dark"] .services-lead { color: rgba(241, 236, 227, 0.72); }

[data-theme="dark"] .service-card .service-tags .tag {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(232, 118, 31, 0.35);
    color: rgba(241, 236, 227, 0.78);
}
[data-theme="dark"] .service-card:hover .service-tags .tag {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(232, 118, 31, 0.6);
    color: #F1ECE3;
}

[data-theme="dark"] .service-areas {
    background: #2A2722;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.35),
        0 18px 32px -14px rgba(0, 0, 0, 0.55);
}
[data-theme="dark"] .service-areas-head h3 { color: #F1ECE3; }
[data-theme="dark"] .service-areas-head p { color: rgba(241, 236, 227, 0.72); }
[data-theme="dark"] .service-areas-list li {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(232, 118, 31, 0.4);
    color: #F1ECE3;
}

/* Legal Pages */
[data-theme="dark"] .legal-page .site-header {
    background: #1E1C18;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .legal h1 { color: #FFFFFF; }
[data-theme="dark"] .legal h2 {
    color: #FFFFFF;
    border-top-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .legal p,
[data-theme="dark"] .legal li { color: rgba(241, 236, 227, 0.72); }
[data-theme="dark"] .legal a { color: #F1ECE3; }
[data-theme="dark"] .legal a:hover { color: #E8761F; }

/* Mobile Nav Dropdown */
@media (max-width: 960px) {
    [data-theme="dark"] .nav {
        background: #1E1C18;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    [data-theme="dark"] .nav li { border-bottom-color: rgba(255, 255, 255, 0.06); }
}


/* ============ SCROLL-TOP GLASS PILLOW ============ */
.scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    color: #1A1A1A;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(26, 26, 26, 0.12);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 6px 16px -6px rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition:
        opacity .25s ease,
        transform .25s cubic-bezier(.16, 1, .3, 1),
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
    z-index: 50;
}
.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.scroll-top:hover {
    background: rgba(232, 118, 31, 0.95);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 10px 24px -6px rgba(232, 118, 31, 0.55);
    transform: translateY(-2px);
}
.scroll-top svg { width: 18px; height: 18px; }

[data-theme="dark"] .scroll-top {
    background: rgba(255, 255, 255, 0.06);
    color: #F1ECE3;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 6px 16px -6px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .scroll-top:hover {
    background: rgba(232, 118, 31, 0.95);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 600px) {
    .scroll-top {
        right: 16px;
        bottom: 16px;
    }
}

/* ============ FOOTER-BOTTOM Mobile-Stacking ============ */
@media (max-width: 700px) {
    .footer-bottom-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
        padding: 18px 24px;
    }
    .footer-bottom-inner .footer-copy,
    .footer-bottom-inner .footer-credit {
        justify-self: center;
    }
}


/* ====================================================================
   HERO — Premium Polish
   ==================================================================== */

/* Subtle radial vignette ueber dem Foto-Anteil — gibt der Hero mehr Tiefe */
.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        /* warmer Sonnenlicht-Pool hinter der Headline */
        radial-gradient(48% 54% at 21% 43%, rgba(255, 239, 216, 0.6), transparent 68%),
        /* sanfte Tiefe in der unteren rechten Foto-Ecke */
        radial-gradient(120% 85% at 72% 64%, transparent 0%, transparent 52%, rgba(28, 20, 10, 0.24) 100%),
        /* Creme blendet weich über die diagonale Foto-Kante */
        linear-gradient(90deg, rgba(247, 242, 232, 0.82) 0%, rgba(247, 242, 232, 0.28) 26%, transparent 42%);
}

.hero-eyebrow {
    display: inline-block;
    font-family: 'Familjen', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #E8761F;
    margin-bottom: 22px;
    position: relative;
    padding-left: 36px;
}
.hero-eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, #E8761F, rgba(232, 118, 31, 0));
}

.hero-h1-accent {
    color: #E8761F;
    font-style: normal;
    display: inline-block;
    position: relative;
}

.hero-trust {
    list-style: none;
    padding: 0;
    margin: 36px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    color: #4A4A48;
    font-family: 'Sora', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
}
.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero-trust li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #E8761F;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    flex: 0 0 18px;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(26, 26, 26, 0.55);
    pointer-events: none;
    animation: heroScrollPulse 2.4s ease-in-out infinite;
}
.hero-scroll-hint svg { width: 16px; height: 16px; }
.hero-scroll-label {
    font-family: 'Familjen', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
@keyframes heroScrollPulse {
    0%, 100% { transform: translate(-50%, 0); opacity: .55; }
    50%      { transform: translate(-50%, 6px); opacity: .9; }
}

@media (max-width: 760px) {
    .hero-vignette { background:
        radial-gradient(120% 70% at 50% 35%, transparent 0%, transparent 50%, rgba(0, 0, 0, 0.18) 100%),
        linear-gradient(180deg, rgba(246, 241, 230, 0) 0%, rgba(246, 241, 230, 0.7) 100%);
    }
    .hero-scroll-hint { display: none; }
}

/* ====================================================================
   BUTTONS — Arrow + Shine Sweep
   ==================================================================== */

.btn-arrow {
    position: relative;
    overflow: hidden;
    gap: 10px;
    padding-right: 22px;
}
.btn-arrow .btn-arrow-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
.btn-arrow:hover .btn-arrow-icon { transform: translateX(4px); }

/* Shine-Sweep nur auf Primary */
.btn-primary.btn-arrow::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.32) 50%, transparent 100%);
    transform: skewX(-18deg);
    transition: left .8s cubic-bezier(.16, 1, .3, 1);
    pointer-events: none;
}
.btn-primary.btn-arrow:hover::before { left: 130%; }

/* Fokus-Ring (sichtbar fuer Keyboard) */
.btn:focus-visible {
    outline: 3px solid rgba(232, 118, 31, 0.5);
    outline-offset: 3px;
}


/* ====================================================================
   SERVICE-CARDS — Modern (Foto-Header statt Polaroid)
   ==================================================================== */

/* Override: modern-card kippt die Polaroid-Effekte und macht eine moderne Card */
.service-card.modern-card {
    background: #FFFFFF;
    padding: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.06),
        0 18px 36px -16px rgba(0, 0, 0, 0.18);
    transform: none;
    transition:
        transform .45s cubic-bezier(.16, 1, .3, 1),
        box-shadow .45s cubic-bezier(.16, 1, .3, 1);
}
/* Polaroid-Effekte abschalten */
.service-card.modern-card::before { content: none; }
.service-card.modern-card:nth-child(odd) { --rot: 0deg; }
.service-card.modern-card:nth-child(even) { --rot: 0deg; }
.service-card.modern-card:hover {
    transform: translateY(-6px) !important;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.08),
        0 30px 56px -18px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(232, 118, 31, 0.1);
}

.service-card.modern-card .photo {
    background: #1A1A1A;
    aspect-ratio: 4 / 3;
    margin-bottom: 0;
    overflow: hidden;
    position: relative;
}
.service-card.modern-card .photo::after { content: none; }
.service-card.modern-card .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .8s cubic-bezier(.16, 1, .3, 1), filter .35s ease;
    filter: brightness(0.92) saturate(1.05);
}
.service-card.modern-card:hover .photo img {
    transform: scale(1.06);
    filter: brightness(1) saturate(1.1);
}

/* Foto-Gradient von unten (fuer evtl. Overlay-Lesbarkeit) */
.service-card.modern-card .photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Nummer-Badge top-left */
.service-card.modern-card .photo-num {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    font-family: 'Familjen', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Icon-Pill bottom-right (im Foto-Bereich) */
.service-card.modern-card .photo-icon {
    position: absolute;
    bottom: 18px;
    right: 18px;
    z-index: 2;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E8761F;
    color: #FFFFFF;
    border-radius: 50%;
    box-shadow:
        0 6px 18px -4px rgba(232, 118, 31, 0.55),
        0 0 0 4px rgba(255, 255, 255, 0.12);
    transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
.service-card.modern-card .photo-icon svg { width: 22px; height: 22px; }
.service-card.modern-card:hover .photo-icon { transform: rotate(-6deg) scale(1.08); }

/* Body unter dem Foto */
.service-card.modern-card .card-body {
    padding: 24px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.service-card.modern-card .service-title {
    margin: 0;
    text-align: left;
    font-size: 15px;
    letter-spacing: 0.12em;
}
.service-card.modern-card .service-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.62;
}
.service-card.modern-card .service-scope {
    margin: 10px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(26, 26, 26, 0.08);
    font-family: 'Sora', sans-serif;
    font-size: 12.5px;
    line-height: 1.8;
    color: #6E6E69;
    letter-spacing: 0.005em;
}
.service-card.modern-card .scope-label {
    display: block;
    font-family: 'Familjen', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #E8761F;
    margin-bottom: 7px;
}

/* Anim: Modern-Card slidet von unten rein (kein Polaroid-Rotate) */
html.js-ready .service-card.modern-card {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity .8s ease,
        transform .9s cubic-bezier(.16, 1, .3, 1),
        box-shadow .45s cubic-bezier(.16, 1, .3, 1);
}
html.js-ready .service-card.modern-card.in {
    opacity: 1;
    transform: translateY(0);
}


/* ====================================================================
   SECTION: REFERENZEN / IMPRESSIONEN
   ==================================================================== */

.referenzen {
    background: transparent;
    padding: 130px 0 160px;
    position: relative;
    overflow: hidden;
}
.referenzen::before {
    /* organischer Warm-Schimmer — tiefere Lehm-Zone der Szene, kurz vor dem
       Abstieg in den dunklen Grund (Kontakt) */
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(55% 65% at 90% 8%, rgba(232, 118, 31, 0.08), transparent 60%),
        radial-gradient(60% 70% at 5% 96%, rgba(70, 50, 28, 0.05), transparent 65%);
}
.referenzen-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}
.referenzen-head {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.ref-eyebrow {
    font-family: 'Familjen', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #E8761F;
}
.referenzen h2 {
    font-family: 'Familjen', sans-serif;
    font-size: clamp(34px, 4.8vw, 64px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.028em;
    color: #1A1A1A;
    margin: 0;
    text-wrap: balance;
}
.ref-lead {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #4A4A48;
    max-width: 680px;
    margin: 0;
    text-align: center;
    text-wrap: pretty;
}

.gallery-grid {
    column-count: 4;
    column-gap: 16px;
}

.gallery-tile {
    appearance: none;
    border: 0;
    padding: 0;
    width: 100%;
    margin: 0 0 16px;
    display: block;
    break-inside: avoid;
    background: #1A1A1A;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.08),
        0 14px 28px -14px rgba(0, 0, 0, 0.25);
    transition:
        transform .45s cubic-bezier(.16, 1, .3, 1),
        box-shadow .45s cubic-bezier(.16, 1, .3, 1);
}
/* Variierende Höhen → lebendige Masonry-Wand statt gleichförmigem Raster */
.gallery-tile:nth-child(4n+1) { aspect-ratio: 4 / 3; }
.gallery-tile:nth-child(4n+2) { aspect-ratio: 4 / 5; }
.gallery-tile:nth-child(4n+3) { aspect-ratio: 1 / 1; }
.gallery-tile:nth-child(4n)   { aspect-ratio: 3 / 4; }
.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .85s cubic-bezier(.16, 1, .3, 1), filter .35s ease;
    filter: brightness(0.9) saturate(1.05);
}
.gallery-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.45) 100%);
    opacity: 0;
    transition: opacity .35s ease;
}
.gallery-tile:hover,
.gallery-tile:focus-visible {
    transform: translateY(-4px);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.1),
        0 22px 40px -14px rgba(0, 0, 0, 0.4),
        0 0 0 2px rgba(232, 118, 31, 0.5);
    outline: none;
}
.gallery-tile:hover img,
.gallery-tile:focus-visible img {
    transform: scale(1.06);
    filter: brightness(1) saturate(1.1);
}
@media (max-width: 1100px) {
    .gallery-grid { column-count: 3; }
}
@media (max-width: 760px) {
    .gallery-grid { column-count: 2; column-gap: 12px; }
    .gallery-tile { margin-bottom: 12px; }
}

.referenzen-cta {
    text-align: center;
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.referenzen-cta p {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    color: #4A4A48;
    margin: 0;
}


/* ====================================================================
   LIGHTBOX
   ==================================================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(8, 7, 6, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5vh 6vw;
    animation: lbFadeIn .25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.lb-figure {
    margin: 0;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.lb-figure img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow:
        0 20px 60px -20px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.06);
    animation: lbZoomIn .35s cubic-bezier(.16, 1, .3, 1);
}
@keyframes lbZoomIn {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}
.lb-close, .lb-prev, .lb-next {
    position: absolute;
    appearance: none;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.lb-close svg, .lb-prev svg, .lb-next svg { width: 22px; height: 22px; }
.lb-close { top: 4vh; right: 4vw; }
.lb-prev  { left: 3vw;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 3vw; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.06);
}
.lb-prev:hover { transform: translateY(-50%) scale(1.06); }
.lb-next:hover { transform: translateY(-50%) scale(1.06); }
body.lb-open { overflow: hidden; }
@media (max-width: 600px) {
    .lb-close { top: 2vh; right: 4vw; width: 42px; height: 42px; }
    .lb-prev, .lb-next { width: 42px; height: 42px; }
    .lb-prev  { left: 2vw; }
    .lb-next  { right: 2vw; }
}


/* ====================================================================
   LOGO — Dark-Theme Fallback fuer das neue Frank-Bagger-Logo
   (Logo hat dunkle Schrift — auf dunklem BG braucht es einen Halo)
   ==================================================================== */
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }


/* ====================================================================
   REFERENZEN-Section — Dark-Theme
   ==================================================================== */
[data-theme="dark"] .referenzen {
    background: transparent;
}
[data-theme="dark"] .referenzen::before {
    background:
        radial-gradient(55% 65% at 90% 8%, rgba(232, 118, 31, 0.10), transparent 60%),
        radial-gradient(60% 70% at 5% 96%, rgba(255, 255, 255, 0.022), transparent 65%);
}
/* Kontakt-Übergang im Dark-Mode: dunkler Lehm → tiefster Grund (kein Tan-Band) */
[data-theme="dark"] .contact {
    background:
        linear-gradient(180deg,
            #16130E 0%,
            #241C12 6%,
            #18140F 16%,
            #141210 27%);
    background-color: #141210;
}
[data-theme="dark"] .referenzen h2 { color: #FFFFFF; }
[data-theme="dark"] .ref-lead { color: rgba(241, 236, 227, 0.72); }
[data-theme="dark"] .referenzen-cta p { color: rgba(241, 236, 227, 0.72); }
[data-theme="dark"] .gallery-tile {
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.4),
        0 14px 28px -14px rgba(0, 0, 0, 0.5);
}


/* ====================================================================
   HERO Trust — Dark-Theme
   ==================================================================== */
[data-theme="dark"] .hero-trust { color: rgba(241, 236, 227, 0.78); }


/* ====================================================================
   SERVICE-CARDS Modern — Dark-Theme
   ==================================================================== */
[data-theme="dark"] .service-card.modern-card .service-scope {
    color: rgba(241, 236, 227, 0.62);
    border-top-color: rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .service-card.modern-card {
    background: #2A2722;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.4),
        0 18px 36px -16px rgba(0, 0, 0, 0.55);
}
[data-theme="dark"] .service-card.modern-card:hover {
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.45),
        0 30px 56px -18px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(232, 118, 31, 0.25);
}
