/* EN-vier – Website-Stile (aus index.php ausgelagert am 19.10.2026). Dynamische Teile (Schriften, Logo, Schrift-Variablen) stehen weiter inline im <head>. */
:root {
    color-scheme: light;
    --primary: #86BC25;
    --primary-dark: #0F3A24;
    --primary-soft: #E5E7EA;
    --accent: #DAA62A;
    --ink: #0F3A24;
    --ink-soft: #2B2F2C;
    --text: #0F3A24;
    --text-muted: #2B2F2C;
    --muted: #E5E7EA;
    --panel: #ffffff;
    --panel-alt: #ffffff;
    --panel-muted: #E5E7EA;
    --line: rgba(15, 58, 36, 0.08);
    --line-soft: rgba(15, 58, 36, 0.12);
    --line-strong: rgba(15, 58, 36, 0.2);
    --line-heavy: rgba(15, 58, 36, 0.28);
    --page-bg: #ffffff;
    --header-bg: #ffffff;
    --tag-bg: rgba(255, 255, 255, 0.7);
    --hero-sheen: rgba(255, 255, 255, 0.9);
    --hero-glow: transparent;
    --section-alt-base: #E5E7EA;
    --topic-accent: #86BC25;
    --topic-accent-soft: #E5E7EA;
    --topic-accent-surface-strong: var(--topic-accent-soft);
    --cta-bg: #DAA62A;
    --cta-bg-strong: #DAA62A;
    --cta-text: #ffffff;
    --cta-shadow: rgba(218, 166, 42, 0.32);
    --cta-invert-bg: #ffffff;
    --cta-invert-ink: #0F3A24;
    --footer-bg: #0F3A24;
    --footer-ink: #E5E7EA;
    --footer-ink-soft: #E5E7EA;
    --nav-panel-bg: #ffffff;
    --landing-bg: #ffffff;
    --landing-bg-image: none;
    --landing-panel: #ffffff;
    --landing-ink: #0F3A24;
    --landing-line: #0F3A24;
    --landing-logo-bg: transparent;
    --landing-logo-border: transparent;
    --landing-logo-shadow: none;
    --landing-logo-pad: 0;
    --logo-glow: rgba(15, 58, 36, 0.18);
    --brand-sash-bg: transparent;
    --brand-sash-border: transparent;
    --brand-sash-shadow: none;
    --brand-sash-pad: 0;
    --reference-card-bg: var(--panel);
    --reference-media-bg: var(--line-soft);
    --lightbox-backdrop: rgba(8, 18, 17, 0.72);
    --lightbox-panel-bg: rgba(255, 255, 255, 0.94);
    --lightbox-stage-bg: rgba(255, 255, 255, 0.42);
    --lightbox-figure-bg: transparent;
    --lightbox-control-bg: rgba(255, 255, 255, 0.78);
    --lightbox-control-ink: var(--text);
    --lightbox-caption-bg: transparent;
    --hero-ratio: 0.78;
    --radius-lg: 16px;
    --radius-md: 16px;
    --radius-btn: 14px;
    --radius-input: 12px;
    --radius-sm: 8px;
    --radius-pill: 999px;
    --primary-tint: #F0F7E1;
    --primary-light: #B8E056;
    --primary-deep: #76A81F;
    --ink-deep: #0B1F15;
    --surface-soft: #EEF1F0;
    --danger: #C0392B;
    --danger-dark: #A12A2A;
    --warn: #B07C0A;
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.5rem;
    --fs-2xl: clamp(1.8rem, 3vw, 2.35rem);
    --fs-section: clamp(2rem, 3.4vw, 2.65rem);
    --fs-hero: clamp(2.55rem, 5.6vw, 5rem);
    --lh-display: 1.08;
    --lh-heading: 1.2;
    --lh-body: 1.55;
    --ls-none: 0;
    --ls-caps: 0.07em;
    --ls-caps-wide: 0.12em;
    font-family: var(--body-font);
}

:root[data-theme="dark"] {
    --primary-tint: rgba(134, 188, 37, 0.14);
    --surface-soft: #20272A;
    color-scheme: dark;
    --ink: #F6F8F4;
    --ink-soft: #D6DDD5;
    --text: #F6F8F4;
    --text-muted: #BAC5BD;
    --muted: #30373A;
    --panel: #252D30;
    --panel-alt: #1D2427;
    --panel-muted: #30383C;
    --line: rgba(246, 248, 244, 0.08);
    --line-soft: rgba(246, 248, 244, 0.12);
    --line-strong: rgba(246, 248, 244, 0.18);
    --line-heavy: rgba(246, 248, 244, 0.26);
    --page-bg: #171D1F;
    --header-bg: #13191B;
    --tag-bg: rgba(37, 45, 48, 0.88);
    --hero-sheen: rgba(23, 29, 31, 0.9);
    --hero-glow: transparent;
    --section-alt-base: #20272A;
    --topic-accent-soft: #2E3639;
    --topic-accent-surface-strong: #384145;
    --cta-shadow: rgba(218, 166, 42, 0.34);
    --cta-invert-bg: #ffffff;
    --cta-invert-ink: #0F3A24;
    --footer-bg: #0D1411;
    --footer-ink: #E5E7EA;
    --footer-ink-soft: #BAC5BD;
    --nav-panel-bg: #1D2427;
    --landing-bg: #171D1F;
    --landing-bg-image: none;
    --landing-panel: #252D30;
    --landing-ink: #F6F8F4;
    --landing-line: #86BC25;
    --landing-logo-bg: transparent;
    --landing-logo-border: transparent;
    --landing-logo-shadow: none;
    --landing-logo-pad: 0;
    --logo-glow: rgba(134, 188, 37, 0.22);
    --brand-sash-bg: transparent;
    --brand-sash-border: transparent;
    --brand-sash-shadow: none;
    --brand-sash-pad: 0;
    --reference-card-bg: #20282B;
    --reference-media-bg: #111719;
    --lightbox-backdrop: rgba(5, 10, 10, 0.78);
    --lightbox-panel-bg: rgba(28, 36, 39, 0.96);
    --lightbox-stage-bg: #12191B;
    --lightbox-figure-bg: #07100F;
    --lightbox-control-bg: rgba(32, 40, 43, 0.94);
    --lightbox-control-ink: #F6F8F4;
    --lightbox-caption-bg: rgba(7, 16, 15, 0.76);
}

* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: calc(var(--header-offset, 120px) + 4px);
}

body {
    margin: 0;
    background: var(--page-bg);
    --topic-accent-surface: #E5E7EA;
    --topic-accent-surface-strong: #86BC25;
    font-family: var(--body-font);
    font-size: var(--fs-base);
    color: var(--ink-soft);
    line-height: var(--lh-body);
}

button,
input,
textarea,
select,
optgroup {
    font-family: var(--body-font);
}

:root[data-theme="dark"] body {
    --topic-accent-surface: #20272A;
    --topic-accent-surface-strong: #384145;
    --cta-shadow: rgba(218, 166, 42, 0.34);
}

section[id] {
    scroll-margin-top: calc(var(--header-offset, 120px) + 4px);
}

/* Selektor BEWUSST nur direktes <header> als Topbar — sonst würden
   inner <header>-Elemente (.legal-hero, .legal-company-head, .inquiry-shell-header)
   ebenfalls sticky und z-index 30 erhalten und die Topbar überlagern. */
body > header {
    background: var(--header-bg);
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    box-shadow: 0 6px 18px rgba(15, 58, 36, 0.08);
    padding: 0;
    isolation: isolate;
}
body > header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--header-bg);
    z-index: -1;
}

.header-core {
    padding: 0.45rem 5% 0.25rem;
    display: grid;
    align-items: center;
    column-gap: 1rem;
    row-gap: 0.25rem;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
 ". brand actions"
 "topics topics topics"
 "nav nav nav";
}

.brand-sash {
    position: relative;
    background: var(--brand-sash-bg);
    padding: var(--brand-sash-pad);
    border-radius: 20px 0 0 0;
    border: 1px solid var(--brand-sash-border);
    box-shadow: var(--brand-sash-shadow);
    grid-area: brand;
    justify-self: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    position: relative;
    z-index: 0;
}

.logo img {
    height: 88px;
    width: auto;
    display: none;
    border-radius: var(--radius-pill);
    filter: drop-shadow(0 6px 16px var(--logo-glow)) drop-shadow(0 0 18px var(--logo-glow));
}

.logo img.logo-light {
    display: block;
}

:root[data-theme="dark"] .logo img.logo-light {
    display: none;
}

:root[data-theme="dark"] .logo img.logo-dark {
    display: block;
}

.logo span {
    font-family: var(--display-font);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: var(--ls-caps-wide);
    color: #ffffff;
    text-transform: uppercase;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding-right: 0;
    grid-area: actions;
    justify-self: end;
    align-self: center;
}

.header-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-input);
    background: var(--primary);
    color: white;
    transition: transform 0.15s, box-shadow 0.15s;
}

.header-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(134, 188, 37, 0.32);
}

.header-instagram svg {
    width: 20px;
    height: 20px;
}

.header-cta-mobile {
    display: none;
}

nav {
    display: flex;
    gap: 0.95rem;
    align-items: center;
    width: 100%;
    grid-area: nav;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 0.35rem;
    margin-top: 0;
    padding: 0.35rem 0 0.4rem;
    border-top: 1px solid var(--line);
}

nav a {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: var(--ls-caps);
    transition: color 0.2s ease;
    font-family: var(--display-font);
    color: var(--ink-soft);
}

nav a:hover,
nav a:focus-visible {
    color: var(--topic-accent);
}

nav a.is-active {
    color: var(--topic-accent);
}

.nav-group {
    display: contents;
}

.nav-group--topics {
    display: none;
}

.nav-group--social {
    display: none;
}

.nav-group-title {
    display: none;
    font-family: var(--display-font);
    text-transform: uppercase;
    letter-spacing: var(--ls-caps-wide);
    font-size: var(--fs-xs);
    color: var(--ink-soft);
}

.nav-group-links {
    display: contents;
}

body.nav-locked {
    overflow: hidden;
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(43, 47, 44, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 19;
    display: none;
    backdrop-filter: blur(4px);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    background: var(--panel);
    color: var(--ink);
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    letter-spacing: 0;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    border-radius: var(--radius-pill);
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: var(--radius-pill);
    transition: transform 0.2s ease;
}

.nav-toggle span::before {
    transform: translateY(-6px);
}

.nav-toggle span::after {
    transform: translateY(6px);
}

header.nav-open .nav-toggle span {
    background: transparent;
}

header.nav-open .nav-toggle span::before {
    transform: translateY(0) rotate(45deg);
}

header.nav-open .nav-toggle span::after {
    transform: translateY(0) rotate(-45deg);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    transform: translateY(-1px);
    border-color: var(--topic-accent);
    box-shadow: 0 10px 18px rgba(15, 58, 36, 0.12);
}

.cta-link {
    padding: 0.78rem 1.65rem;
    border-radius: var(--radius-btn);
    background: var(--cta-bg);
    color: var(--cta-text);
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    text-decoration: none;
    box-shadow: 0 10px 20px var(--cta-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-invert {
    background: var(--cta-invert-bg);
    color: var(--cta-invert-ink);
    box-shadow: none;
}

.cta-accent {
    background: var(--topic-accent);
    box-shadow: 0 12px 24px rgba(15, 58, 36, 0.2);
    color: #ffffff;
}

/* === Header-Telefon: prominenter Kontakt-Pfad === */
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.95rem;
    border-radius: var(--radius-btn);
    border: 1px solid var(--topic-accent);
    background: var(--topic-accent-soft);
    color: var(--ink);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    min-width: max-content;
    flex: 0 0 auto;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.header-phone-icon {
    width: 16px;
    height: 16px;
    color: var(--topic-accent);
    flex-shrink: 0;
}
.header-phone-number { letter-spacing: 0.01em; }
.header-phone:hover,
.header-phone:focus-visible {
    background: var(--topic-accent);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(134, 188, 37, 0.28);
}
.header-phone:hover .header-phone-icon,
.header-phone:focus-visible .header-phone-icon { color: #ffffff; }
:root[data-theme="dark"] .header-phone {
    background: rgba(134, 188, 37, 0.12);
}
@media (max-width: 560px) {
    .header-phone-number { display: none; }
    .header-phone {
        min-width: 38px;
        width: 38px;
        height: 38px;
        padding: 0;
        justify-content: center;
    }
}

/* === Theme-Toggle: dezent, nicht mehr Kontakt-konkurrierend === */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0;
    width: 36px;
    min-height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink-soft);
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    align-self: center;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.theme-toggle--mobile { display: none; }
.theme-toggle--desktop {
    display: inline-flex;
    width: 36px;
    min-height: 36px;
}
.theme-toggle-label { display: none; }
.theme-toggle:hover,
.theme-toggle:focus-visible {
    border-color: var(--line-strong);
    color: var(--ink);
    outline: none;
}
.theme-icon { width: 16px; height: 16px; }
.theme-icon--moon { display: none; }
:root[data-theme="dark"] .theme-icon--sun { display: none; }
:root[data-theme="dark"] .theme-icon--moon { display: inline-block; }

.cta-link:hover,
.cta-link:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 58, 36, 0.18);
}

.topic-deck {
    padding: 0;
    background: transparent;
    position: relative;
    z-index: 1;
    flex: 1 1 320px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    grid-area: topics;
    justify-self: center;
    width: 100%;
    margin-top: 0.1rem;
    padding-top: 0.3rem;
    border-top: 1px solid var(--line);
}

.topic-deck-inner {
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
    width: min(760px, 100%);
    justify-content: center;
}

.topic-deck-label {
    margin: 0;
    display: none;
}

.topic-cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    align-items: flex-end;
    justify-content: center;
}

.topic-card {
    --card-accent: var(--primary);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.6rem 1.15rem 0.7rem;
    text-decoration: none;
    color: var(--ink);
    background: var(--panel);
    border: 1px solid var(--line-soft);
    border-top: 3px solid var(--card-accent);
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(15, 58, 36, 0.12);
    transform: translateY(0);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.3s ease;
    animation: liftIn 0.6s ease both;
    min-width: 148px;
    margin-bottom: 0;
    z-index: 1;
    line-height: 1.15;
    text-align: center;
    overflow: hidden;
}

:root[data-theme="light"] .topic-card::before {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 6px;
    height: 2px;
    background: var(--card-accent);
    opacity: 0;
    transform: scaleX(0.2);
    transform-origin: left;
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
}

:root[data-theme="light"] .topic-card:hover::before,
:root[data-theme="light"] .topic-card:focus-visible::before {
    opacity: 1;
    transform: scaleX(1);
}

:root[data-theme="dark"] .topic-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.18);
    opacity: 0;
    transform: translateX(-120%);
    transition: transform 0.55s ease, opacity 0.3s ease;
    pointer-events: none;
}

.topic-card:nth-child(2) {
    animation-delay: 0.05s;
}

.topic-card:nth-child(3) {
    animation-delay: 0.1s;
}

.topic-card:nth-child(4) {
    animation-delay: 0.15s;
}

.topic-card.is-active {
    border-color: var(--card-accent);
    box-shadow: 0 10px 18px rgba(15, 58, 36, 0.18);
    transform: translateY(-1px);
    background: var(--card-accent);
    color: #ffffff;
}

.topic-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(15, 58, 36, 0.18);
    border-color: var(--card-accent);
    background: var(--card-accent);
    color: #ffffff;
}

:root[data-theme="dark"] .topic-card:hover::after,
:root[data-theme="dark"] .topic-card:focus-visible::after {
    opacity: 1;
    transform: translateX(120%);
}

.topic-card-title {
    font-family: var(--display-font);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
}

.topic-content {
    position: relative;
}


.landing {
    padding: clamp(2.5rem, 6vw, 5rem) 6%;
    background-color: var(--landing-bg);
    background-image: var(--landing-bg-image);
    color: var(--landing-ink);
    border-bottom: 1px solid var(--landing-line);
    min-height: calc(100vh - var(--header-offset, 120px));
    display: grid;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.landing-shell {
    display: grid;
    gap: 2rem;
    position: relative;
}

.landing-gallery {
    position: relative;
    padding: 0.75rem;
    background: var(--landing-panel);
    border-radius: 28px;
    border: 1px solid var(--landing-line);
    overflow: hidden;
}

.landing-track {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.landing-track::-webkit-scrollbar {
    display: none;
}

 [data-slider-track] {
    cursor: grab;
    touch-action: pan-y;
}

@media (pointer: coarse) {
 [data-slider-track] {
        touch-action: auto;
    }
}

 [data-slider-track].is-dragging {
    cursor: grabbing;
}

.slider-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.slider-controls--overlay {
    position: absolute;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 2;
}

.slider-controls--inline {
    justify-content: flex-end;
    margin: 0.2rem 0 0.6rem;
}

.slider-button {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 10px 20px rgba(15, 58, 36, 0.12);
}

.slider-button:hover,
.slider-button:focus-visible {
    transform: translateY(-1px);
    border-color: var(--line-heavy);
}

.landing-gallery .slider-button {
    border-color: var(--landing-line);
    background: var(--landing-panel);
    color: var(--landing-ink);
}

.landing-slide {
    flex: 0 0 86%;
    max-width: 820px;
    scroll-snap-align: center;
    border-radius: 24px;
    overflow: hidden;
    background: var(--text-muted);
    aspect-ratio: 16 / 9;
    border: 1px solid var(--landing-line);
}

.landing-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: none;
}

body.landing-zoom-open {
    overflow: hidden;
}

.landing-gallery.is-paused [data-slider-track],
.landing-gallery.is-paused .slider-controls {
    pointer-events: none;
}

.landing-zoom-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(43, 47, 44, 0.86);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1200;
}

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

.landing-zoom-overlay img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.45);
}

.landing-zoom-overlay .close-hint {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.landing-zoom-overlay .close-hint:hover,
.landing-zoom-overlay .close-hint:focus-visible {
    background: rgba(0, 0, 0, 0.65);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.landing-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-weight: 700;
    color: var(--landing-ink);
    background: transparent;
}

.landing-logo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
    opacity: var(--logo-opacity, 0);
    transition: opacity 0.25s ease;
}

.landing-logo-badge {
    background: var(--landing-logo-bg);
    border: 1px solid var(--landing-logo-border);
    border-radius: 22px 0 0 0;
    padding: var(--landing-logo-pad);
    box-shadow: var(--landing-logo-shadow);
    position: relative;
    z-index: 0;
    --logo-parallax: 0;
    --logo-shatter: 0;
    --logo-image: var(--logo-light-url);
    transform: translateY(calc(var(--logo-parallax) * 1px)) scale(calc(1 - (var(--logo-shatter) * 0.06)));
    transition: transform 0.18s ease-out;
    will-change: transform;
}

.landing-logo-badge img {
    width: clamp(220px, 34vw, 420px);
    height: auto;
    display: none;
    border-radius: var(--radius-pill);
    filter: drop-shadow(0 10px 26px var(--logo-glow)) drop-shadow(0 0 30px var(--logo-glow));
    position: relative;
    z-index: 1;
    opacity: calc(1 - (var(--logo-shatter) * 0.55));
    transition: opacity 0.2s ease;
}

.landing-logo-shards {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: calc(var(--logo-shatter) * 0.85);
    transition: opacity 0.2s ease;
}

.landing-logo-shards span {
    position: absolute;
    inset: 0;
    background-image: var(--logo-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border-radius: var(--radius-pill);
    opacity: 0.9;
}

.landing-logo-shards .shard-1 {
    clip-path: polygon(0 0, 54% 0, 46% 46%, 0 54%);
    transform: translate(calc(var(--logo-shatter) * -16px), calc(var(--logo-shatter) * -12px)) rotate(calc(var(--logo-shatter) * -2deg));
}

.landing-logo-shards .shard-2 {
    clip-path: polygon(54% 0, 100% 0, 100% 46%, 46% 46%);
    transform: translate(calc(var(--logo-shatter) * 18px), calc(var(--logo-shatter) * -10px)) rotate(calc(var(--logo-shatter) * 2deg));
}

.landing-logo-shards .shard-3 {
    clip-path: polygon(0 54%, 46% 54%, 46% 100%, 0 100%);
    transform: translate(calc(var(--logo-shatter) * -14px), calc(var(--logo-shatter) * 14px)) rotate(calc(var(--logo-shatter) * 2deg));
}

.landing-logo-shards .shard-4 {
    clip-path: polygon(46% 54%, 100% 54%, 100% 100%, 46% 100%);
    transform: translate(calc(var(--logo-shatter) * 16px), calc(var(--logo-shatter) * 12px)) rotate(calc(var(--logo-shatter) * -1.5deg));
}

.landing-logo-badge img.logo-light {
    display: block;
}

:root[data-theme="dark"] .landing-logo-badge {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    padding: 0;
}

:root[data-theme="dark"] .landing-logo-badge img.logo-light {
    display: none;
}

:root[data-theme="dark"] .landing-logo-badge img.logo-dark {
    display: block;
}

:root[data-theme="dark"] .landing-logo-badge {
    --logo-image: var(--logo-dark-url);
}

:root:not([data-theme="dark"]) .landing-logo-badge {
    --logo-image: var(--logo-light-url);
}

@media (prefers-reduced-motion: reduce) {
    .landing-logo-badge {
        transform: none;
    }
    .landing-logo-badge,
    .landing-logo-badge img,
    .landing-logo-shards {
        --logo-parallax: 0;
        --logo-shatter: 0;
        transition: none;
    }
}

:root:not([data-theme="dark"]) .logo img,
:root:not([data-theme="dark"]) .landing-logo-badge img {
    filter: drop-shadow(0 10px 22px rgba(15, 58, 36, 0.22)) drop-shadow(0 0 10px rgba(15, 58, 36, 0.18));
}

:root:not([data-theme="dark"]) .logo img {
    filter: none;
}

:root:not([data-theme="dark"]) .landing-logo-badge img {
    filter: none;
}

:root:not([data-theme="dark"]) .logo::after,
:root:not([data-theme="dark"]) .landing-logo-badge::after {
    content: '';
    position: absolute;
    inset: -14%;
    border-radius: var(--radius-pill);
    background: rgba(15, 58, 36, 0.08);
    filter: blur(6px);
    z-index: -1;
    pointer-events: none;
}

:root:not([data-theme="dark"]) .logo::after {
    display: none;
}

:root:not([data-theme="dark"]) .landing-logo-badge::after {
    display: none;
}

.landing-copy {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.landing-copy h2 {
    font-family: var(--display-font);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin: 0 0 0.35rem;
    color: var(--landing-ink);
    letter-spacing: 0;
}

.landing-copy p {
    margin: 0;
    color: var(--landing-ink);
    opacity: 0.72;
    text-transform: uppercase;
    letter-spacing: var(--ls-caps-wide);
    font-size: 0.75rem;
}

.landing-cta-row {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.landing-cta {
    margin-top: 0;
    background: var(--accent);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 26px rgba(218, 166, 42, 0.5), 0 0 18px rgba(218, 166, 42, 0.35);
    padding: 0.82rem 1.85rem;
    text-transform: uppercase;
    letter-spacing: var(--ls-caps-wide);
    font-size: 0.82rem;
}

.landing-cta:hover,
.landing-cta:focus-visible {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(218, 166, 42, 0.6), 0 0 22px rgba(218, 166, 42, 0.4);
}

.hero {
    padding: 4.2rem 5% 4rem;
    background: var(--panel-alt);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    left: -200px;
    bottom: -120px;
    width: 62%;
    background: var(--topic-accent-surface);
    clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%);
}

.hero::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: var(--hero-glow);
    opacity: 0.85;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-content {
    max-width: 560px;
    animation: liftIn 0.7s ease both;
}

.hero-subtitle {
    display: inline-flex;
    font-size: 0.85rem;
    letter-spacing: var(--ls-caps-wide);
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.hero h1 {
    font-family: var(--display-font);
    font-weight: 700;
    font-size: clamp(2.4rem, 4.6vw, 3.4rem);
    margin: 0 0 1rem;
    color: var(--ink);
}

.hero p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: var(--ink-soft);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0 0 1.4rem;
}

.hero-tags span {
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line-soft);
    background: var(--tag-bg);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: var(--ls-caps);
    font-weight: 700;
    color: var(--ink);
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* === Home-Hero Aktions-Reihe: primärer CTA + zwei sekundäre Links === */
.hero-buttons--home {
    align-items: center;
    gap: 0.7rem;
}
.hero-buttons--home .cta-link {
    padding: 0.95rem 1.4rem;
}
.hero-buttons--home .ghost-link {
    padding: 0.85rem 1.25rem;
}

/* === Meta-Reihe darunter: Telefon + Shop als feinere Links === */
.hero-meta-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
    margin-top: 1.1rem;
    font-size: 0.94rem;
}
.hero-meta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0;
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.hero-meta-link svg {
    width: 16px;
    height: 16px;
    color: var(--topic-accent);
    flex-shrink: 0;
    transition: color 0.15s ease;
}
.hero-meta-link:hover,
.hero-meta-link:focus-visible {
    color: var(--topic-accent);
    border-bottom-color: var(--topic-accent);
    outline: none;
}
.hero-meta-link--external svg {
    width: 13px;
    height: 13px;
    opacity: 0.8;
}
.hero-meta-sep {
    color: var(--ink-soft);
    opacity: 0.5;
}
@media (max-width: 720px) {
    .hero-buttons--home {
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
    }
    .hero-buttons--home .cta-link,
    .hero-buttons--home .ghost-link {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-block: 0.8rem;
    }
    .hero-meta-links {
        justify-content: center;
        margin-top: 1rem;
    }
    .hero-meta-sep { display: none; }
}

.ghost-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.45rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-heavy);
    font-size: 0.95rem;
    font-family: var(--display-font);
    font-weight: 700;
    text-decoration: none;
    color: var(--ink);
    background: var(--panel);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ghost-link:hover,
.ghost-link:focus-visible {
    transform: translateY(-1px);
    border-color: var(--topic-accent);
    color: var(--topic-accent);
    box-shadow: 0 10px 18px rgba(15, 58, 36, 0.12);
}

.hero-media {
    background: var(--panel);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: 0 18px 40px rgba(15, 58, 36, 0.18);
    position: relative;
    overflow: hidden;
    aspect-ratio: var(--hero-ratio);
    min-height: 260px;
    border: 1px solid var(--line);
    animation: liftIn 0.7s ease both;
    animation-delay: 0.1s;
}

.hero-media-frame {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    -webkit-mask-image: none;
    mask-image: none;
}

.hero-media {
    display: flex;
    align-items: stretch;
}

.hero-media-frame {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: opacity 0.35s ease;
}

.hero-media img.is-fading {
    opacity: 0.5;
}

.stat-bar {
    margin-top: 2rem;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.6rem;
    padding: 0.85rem 1.5rem;
    background: var(--topic-accent);
    color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 58, 36, 0.2);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-label {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: var(--ls-caps);
    opacity: 0.9;
}

.stat-cta {
    margin: 0;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-btn);
    padding: 0.65rem 1.4rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: var(--ls-caps);
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(15, 58, 36, 0.28), 0 0 12px rgba(218, 166, 42, 0.4);
    cursor: pointer;
}

.stat-cta:hover,
.stat-cta:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 58, 36, 0.34), 0 0 18px rgba(218, 166, 42, 0.55);
}


section {
    padding: 4rem 5%;
    background: var(--panel);
}

section:not(.hero) {
    border-bottom: 1px solid var(--line);
}

.section-alt {
    background: var(--topic-accent-surface);
    position: relative;
    overflow: hidden;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: -55px;
    left: 0;
    right: 0;
    height: 110px;
    background: var(--topic-accent-surface-strong);
    transform: skewY(-3.2deg);
    transform-origin: 0 0;
}

.section-alt > * {
    position: relative;
    z-index: 1;
}

.section-heading h2 {
    font-family: var(--display-font);
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 0.75rem;
    color: var(--ink);
}

/* Akzent-Unterstrich entfernt — ersetzt durch .section-eyebrow oben */
.section-heading h2::after { display: none; }

.section-eyebrow {
    display: inline-block;
    margin: 0 0 0.55rem;
    color: var(--topic-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1;
}
.section-heading {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.section-heading h2 {
    margin-top: 0;
}
.section-heading .section-lead {
    margin: 0.4rem 0 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 58ch;
}
/* === Inline-Tags im Lead-Text — klickbare Pills, die wie Wörter im Satz fließen === */
.section-lead--inline-tags {
    margin: 0.6rem 0 0;
    line-height: 2.2;
    max-width: 62ch;
    text-wrap: pretty;
}
.inline-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.78rem;
    margin: 0 0.08rem;
    border: 1px solid rgba(134, 188, 37, 0.5);
    border-radius: var(--radius-pill);
    background: rgba(134, 188, 37, 0.1);
    color: var(--topic-accent);
    font-weight: 700;
    font-size: 0.92em;
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
    vertical-align: baseline;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.inline-tag:hover,
.inline-tag:focus-visible {
    background: var(--topic-accent);
    color: #ffffff;
    border-color: var(--topic-accent);
    transform: translateY(-1px);
    outline: none;
}
:root[data-theme="dark"] .inline-tag {
    background: rgba(134, 188, 37, 0.16);
    border-color: rgba(134, 188, 37, 0.4);
}
@media (max-width: 720px) {
    .section-lead--inline-tags {
        line-height: 2;
    }
    .inline-tag {
        font-size: 0.88em;
        padding: 0.15rem 0.65rem;
    }
}

/* === Audience-Sektion: Atemraum nach Headline und Lead, sauberer Abschluss === */
.home-audiences .section-heading {
    margin-bottom: 2.2rem;
}
.home-audience-grid {
    margin-top: 0;
}

.section-heading p {
    margin: 0;
    color: var(--ink-soft);
    max-width: 640px;
}

.about .section-heading {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.about .section-heading h2::after {
    display: none;
}

.about .section-heading p {
    margin: 0.7rem auto 0;
}

.about-grid {
    margin: 1.8rem auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
    align-items: center;
    max-width: 1040px;
    justify-items: center;
    text-align: center;
}

.about-copy {
    max-width: 740px;
    text-align: center;
}

.about-copy p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.65;
}

.about-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(12, 24, 30, 0.12);
}

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

.about-slider {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: none;
    background: transparent;
    box-shadow: none;
    width: min(1100px, 100%);
}

.about-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.about-track::-webkit-scrollbar {
    display: none;
}

.about-slide {
    position: relative;
    flex: 0 0 100%;
    scroll-snap-align: center;
    border-radius: 16px;
    overflow: hidden;
    background: var(--text-muted);
    border: none;
    aspect-ratio: 16 / 9;
}

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

.about-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.7rem 0.95rem;
    color: #fff;
    font-size: 0.92rem;
    line-height: 1.4;
    background: rgba(0, 0, 0, 0.72);
}

.about-cards {
    display: grid;
    gap: 1rem;
}

.about-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 18px 30px rgba(12, 24, 30, 0.08);
}

.about-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    color: var(--ink);
}

.about-card p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.5;
}

.legal-hero {
    display: grid;
    gap: 0.6rem;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 2rem;
}
.legal-hero h1 {
    margin: 0;
    font-family: var(--display-font);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    color: var(--ink);
}
.legal-hero .hero-subtitle {
    color: var(--topic-accent);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
}
.legal-lede {
    margin: 0.4rem 0 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 68ch;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.4rem;
    margin-top: 0.4rem;
}

.legal-card {
    background: var(--panel-alt);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.4rem;
    box-shadow: 0 12px 20px rgba(15, 58, 36, 0.05);
}
.legal-card h2 {
    margin: 0 0 0.6rem;
    font-size: 1rem;
    color: var(--ink);
}
.legal-card p {
    margin: 0.35rem 0;
    color: var(--ink-soft);
    font-size: 0.94rem;
}

.legal-stack {
    display: grid;
    gap: 1.5rem;
    margin-top: 0.4rem;
    max-width: 900px;
}
.legal-block {
    background: var(--panel-alt);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.5rem;
}
.legal-block h3 {
    margin: 0 0 0.7rem;
    font-size: 1.05rem;
    color: var(--ink);
}
.legal-block p {
    margin: 0.5rem 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.65;
}

.legal-updated {
    margin-top: 1.6rem;
    padding-top: 0.9rem;
    border-top: 1px dashed var(--line);
    font-size: 0.82rem;
    color: var(--ink-soft);
    font-style: italic;
}

body.modal-open {
    overflow: hidden;
}

/* === AGB: Pill-Reihe zur Auswahl der Gesellschaft (NICHT sticky — bewusst einfach) === */
.legal-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 1.6rem;
}
.legal-tab {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.4rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-btn);
    background: var(--panel);
    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.legal-tab:hover {
    border-color: var(--topic-accent);
    color: var(--topic-accent);
}
.legal-tab.is-active {
    background: var(--topic-accent);
    border-color: var(--topic-accent);
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(15, 58, 36, 0.18);
}

.legal-companies {
    display: grid;
    gap: clamp(28px, 4vw, 44px);
}
.legal-company {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: clamp(20px, 3vw, 32px);
    box-shadow: 0 14px 30px rgba(15, 58, 36, 0.05);
    /* Anker-Sprung muss unter den sticky Topbar landen */
    scroll-margin-top: calc(var(--header-offset, 140px) + 20px);
}
.legal-company-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem 1.4rem;
    padding-bottom: 1.1rem;
    margin-bottom: 1.4rem;
    border-bottom: 1px solid var(--line);
}
.legal-company-meta { display: grid; gap: 0.25rem; min-width: 0; }
.legal-section-label {
    color: var(--topic-accent);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
}
.legal-company-meta h2 {
    margin: 0;
    font-family: var(--display-font);
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    line-height: 1.18;
    color: var(--ink);
}
.legal-subtitle {
    margin: 0.25rem 0 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.4;
}

.legal-download {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.2rem;
    border-radius: var(--radius-btn);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.legal-download span[aria-hidden] {
    font-size: 1.1rem;
    line-height: 1;
}

/* Auto-TOC pro Firma */
.legal-toc {
    margin: 0 0 1.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-input);
    background: var(--panel-alt);
    overflow: hidden;
}
.legal-toc > summary {
    list-style: none;
    cursor: pointer;
    padding: 0.7rem 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.legal-toc > summary::-webkit-details-marker { display: none; }
.legal-toc > summary::before {
    content: "+";
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    background: var(--panel);
    font-weight: 700;
    line-height: 1;
}
.legal-toc[open] > summary::before { content: "−"; }
.legal-toc ol {
    list-style: none;
    margin: 0;
    padding: 0 0.6rem 0.8rem;
    display: grid;
    gap: 0.25rem;
}
.legal-toc li { margin: 0; }
.legal-toc a {
    display: flex;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.35;
}
.legal-toc a:hover {
    background: var(--panel);
    color: var(--topic-accent);
}
.legal-toc-num {
    flex: 0 0 28px;
    color: var(--topic-accent);
    font-weight: 700;
    text-align: right;
}
.legal-toc-title { flex: 1 1 auto; }

/* Inhalts-Spalte: angenehme Lese-Typografie */
.legal-content {
    max-width: 70ch;
}
.legal-section-heading {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    margin: 1.8rem 0 0.6rem;
    font-family: var(--display-font);
    font-size: 1.15rem;
    line-height: 1.25;
    color: var(--ink);
    scroll-margin-top: calc(var(--header-offset, 140px) + 20px);
}
.legal-section-heading:first-child { margin-top: 0; }
.legal-section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 0.4rem;
    border-radius: var(--radius-pill);
    background: var(--topic-accent);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}
.legal-section-title { flex: 1 1 auto; }
.legal-content p {
    margin: 0.6rem 0;
    color: var(--ink);
    font-size: 0.97rem;
    line-height: 1.7;
}
.legal-content p + p { margin-top: 0.9rem; }
.legal-content p:first-of-type { margin-top: 0; }

:root[data-theme="dark"] .legal-company {
    background: var(--panel);
    border-color: var(--line-strong);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}
:root[data-theme="dark"] .legal-toc {
    background: var(--panel-alt);
    border-color: var(--line-strong);
}
:root[data-theme="dark"] .legal-toc > summary::before { background: var(--panel); }
:root[data-theme="dark"] .legal-tabs {
    background: transparent;
}
:root[data-theme="dark"] .legal-tab {
    background: var(--panel-alt);
    border-color: rgba(246, 248, 244, 0.14);
    color: var(--ink);
}
:root[data-theme="dark"] .legal-content p { color: var(--ink); }

@media (max-width: 720px) {
    .legal-company-head {
        flex-direction: column;
        align-items: stretch;
    }
    .legal-download { justify-content: center; }
    .legal-tabs { top: 70px; padding: 0.5rem; }
    .legal-section-heading { font-size: 1.05rem; }
}

/* === Prüfpflichten-Check (14.10.2026) === */
.pcheck .pcheck-head { max-width: 760px; }
.pcheck [hidden], .pcheck-form-section[hidden] { display: none !important; }
.pcheck-app {
    max-width: 820px;
    margin-top: 1.8rem;
    background: var(--panel);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    padding: clamp(1.1rem, 3vw, 2rem);
    scroll-margin-top: 96px;
}
.pcheck-app:focus, .pcheck-result:focus { outline: none; }
.pcheck-progress { height: 6px; border-radius: 999px; background: var(--line-strong); overflow: hidden; }
.pcheck-progress span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width 0.3s ease; }
.pcheck-count { margin: 0.7rem 0 1.1rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.pcheck-group { border: 0; margin: 0 0 1.4rem; padding: 0; min-width: 0; }
.pcheck-group:last-child { margin-bottom: 0.6rem; }
.pcheck-q { font-family: var(--display-font); font-size: clamp(1.2rem, 2.4vw, 1.45rem); font-weight: 700; line-height: 1.3; color: var(--ink); padding: 0; margin: 0 0 0.35rem; }
.pcheck-q:focus { outline: none; }
.pcheck-hint { margin: 0 0 0.9rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }
.pcheck-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; margin-top: 0.8rem; }
.pcheck-option { position: relative; display: block; cursor: pointer; }
.pcheck-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pcheck-option__box {
    display: flex; flex-direction: column; gap: 0.25rem; height: 100%;
    border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 0.85rem 1rem 0.85rem 2.6rem;
    background: var(--panel); transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    position: relative;
}
.pcheck-option__box::before {
    content: ""; position: absolute; left: 0.95rem; top: 1rem; width: 1.05rem; height: 1.05rem;
    border: 2px solid var(--line-heavy); border-radius: 50%; background: var(--panel); box-sizing: border-box;
}
.pcheck-group--multi .pcheck-option__box::before { border-radius: 5px; }
.pcheck-option__box strong { color: var(--ink); font-size: 1rem; line-height: 1.35; }
.pcheck-option__box em { font-style: normal; color: var(--text-muted); font-size: 0.88rem; line-height: 1.45; }
.pcheck-option:hover .pcheck-option__box { border-color: var(--accent); }
.pcheck-option input:focus-visible + .pcheck-option__box { box-shadow: 0 0 0 3px rgba(218, 166, 42, 0.35); }
.pcheck-option input:checked + .pcheck-option__box { border-color: var(--accent); background: rgba(218, 166, 42, 0.08); }
.pcheck-option input:checked + .pcheck-option__box::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--panel); }
.pcheck-group--multi .pcheck-option input:checked + .pcheck-option__box::before { box-shadow: none; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.pcheck-error { margin: 0.4rem 0 0; color: var(--danger); font-weight: 700; font-size: 0.92rem; }
.pcheck-nav { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; margin-top: 1.2rem; flex-wrap: wrap; }
.pcheck-nav button { font: inherit; cursor: pointer; }
.pcheck-nav .pcheck-next { margin-left: auto; border: 0; }
.pcheck-nav .pcheck-back { background: transparent; }
.pcheck-direct { margin: 1.3rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line-strong); font-size: 0.92rem; color: var(--text-muted); }
.pcheck-direct a { color: var(--ink); font-weight: 700; }
.pcheck-noscript { margin-top: 1.5rem; padding: 1rem 1.2rem; border-left: 4px solid var(--accent); background: var(--panel-muted); border-radius: 12px; }

.pcheck-sum__title { margin: 0; font-family: var(--display-font); font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.2; color: var(--ink); }
.pcheck-sum__text { margin: 0.5rem 0 0; font-size: 1.05rem; line-height: 1.55; color: var(--ink-soft); }
.pcheck-sum__meta { margin: 0.4rem 0 0; font-size: 0.92rem; color: var(--text-muted); }
.pcheck-cards { display: grid; gap: 0.9rem; margin-top: 1.4rem; }
.pcheck-card { border: 1px solid var(--line-strong); border-left: 5px solid var(--line-heavy); border-radius: 14px; padding: 1.1rem 1.2rem; background: var(--panel); }
.pcheck-card--faellig { border-left-color: var(--danger); }
.pcheck-card--ok { border-left-color: var(--primary); }
.pcheck-card--klaeren, .pcheck-card--gefaehrdung { border-left-color: var(--accent); }
.pcheck-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.6rem 1rem; flex-wrap: wrap; }
.pcheck-card__title { margin: 0; font-size: 1.12rem; line-height: 1.35; color: var(--ink); }
.pcheck-badge { flex: 0 0 auto; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.02em; padding: 0.3rem 0.65rem; border-radius: 8px; background: var(--panel-muted); color: var(--ink); }
.pcheck-badge--faellig { background: var(--danger); color: #fff; }
.pcheck-badge--ok { background: var(--primary); color: #102a12; }
.pcheck-badge--klaeren, .pcheck-badge--gefaehrdung { background: var(--accent); color: #2a2000; }
.pcheck-card__text { margin: 0.6rem 0 0; line-height: 1.6; color: var(--ink-soft); }
.pcheck-facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.3rem 0.9rem; margin: 0.9rem 0 0; padding-top: 0.8rem; border-top: 1px solid var(--line-strong); font-size: 0.92rem; }
.pcheck-facts dt { font-weight: 700; color: var(--ink); }
.pcheck-facts dd { margin: 0; color: var(--ink-soft); }
.pcheck-card__link { display: inline-block; margin-top: 0.8rem; font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.pcheck-pkg { margin-top: 1.4rem; padding: 1.3rem 1.4rem; border-radius: 16px; background: linear-gradient(90deg, #0F3A24, #164a2d); color: #fff; }
.pcheck-pkg__kicker { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; color: #DAA62A; }
.pcheck-pkg__name { margin: 0.35rem 0 0; font-size: 1.25rem; color: #fff; }
.pcheck-pkg__text { margin: 0.45rem 0 0; line-height: 1.55; color: rgba(255, 255, 255, 0.86); }
.pcheck-pkg__actions { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; align-items: center; margin-top: 1rem; }
.pcheck-pkg__actions .ghost-link { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.55); box-shadow: none; }
.pcheck-pkg__actions .ghost-link:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: #fff; }
.pcheck-disclaimer { margin: 1.2rem 0 0; font-size: 0.86rem; line-height: 1.5; color: var(--text-muted); }
.pcheck-again { margin-top: 0.8rem; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; cursor: pointer; }
.pcheck-form-section { scroll-margin-top: 90px; }
@media (max-width: 640px) {
    .pcheck-options { grid-template-columns: 1fr; }
    .pcheck-facts { grid-template-columns: 1fr; gap: 0.1rem; }
    .pcheck-facts dd { margin-bottom: 0.4rem; }
    .pcheck-nav .pcheck-next { flex: 1 1 auto; text-align: center; justify-content: center; }
}

/* === Ratgeber: redaktionelles Design === */
.ratgeber .ratgeber-head { max-width: 760px; }
.ratgeber-kicker {
    display: inline-block;
    color: var(--topic-accent);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.ratgeber-kicker a { color: inherit; text-decoration: none; }
.ratgeber-kicker a:hover { text-decoration: underline; }
.ratgeber-title {
    margin: 0;
    font-family: var(--display-font);
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--ink);
}

/* Übersicht: Karten */
.ratgeber-index .ratgeber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}
.ratgeber-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.25rem;
    box-shadow: 0 10px 24px rgba(15, 58, 36, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.ratgeber-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--topic-accent);
    opacity: 0;
    transition: opacity 0.18s ease;
}
.ratgeber-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(15, 58, 36, 0.10);
    border-color: rgba(134, 188, 37, 0.4);
}
.ratgeber-card:hover::before { opacity: 1; }
.ratgeber-card__title {
    font-family: var(--display-font);
    font-size: 1.15rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
}
.ratgeber-card__title:hover { color: var(--topic-accent); }
.ratgeber-card__teaser {
    margin: 0.7rem 0 1.1rem;
    flex: 1 1 auto;
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.6;
}
.ratgeber-card__more {
    align-self: flex-start;
    color: var(--topic-accent);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}
.ratgeber-card__more:hover { text-decoration: underline; }

/* Artikel: Lesefluss */
.ratgeber-body {
    max-width: 720px;
    margin-top: 1.6rem;
}
.ratgeber-lede {
    margin: 0 0 1rem;
    color: var(--ink);
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 500;
}
.ratgeber-section { margin-top: 2.9rem; }
.ratgeber-h2 {
    position: relative;
    margin: 0 0 1rem;
    padding-bottom: 0.7rem;
    font-family: var(--display-font);
    font-size: 1.5rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--ink);
    scroll-margin-top: calc(var(--header-offset, 140px) + 20px);
}
.ratgeber-h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.2rem;
    height: 3px;
    border-radius: 3px;
    background: var(--topic-accent);
}
.ratgeber-body p {
    margin: 0 0 1rem;
    color: var(--ink);
    font-size: 1.02rem;
    line-height: 1.75;
}
.ratgeber-list {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}
.ratgeber-list li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--ink);
    font-size: 1.02rem;
    line-height: 1.6;
}
.ratgeber-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.62em;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--topic-accent);
}

/* FAQ als schlichtes Accordion (Haarlinien statt Boxen) */
.ratgeber-faq { margin-top: 2.9rem; }
.ratgeber-faq__item {
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    padding: 0;
    margin: 0;
}
.ratgeber-faq__item:first-of-type { border-top: 1px solid var(--line); }
.ratgeber-faq__item > summary {
    cursor: pointer;
    list-style: none;
    position: relative;
    padding: 0.95rem 2rem 0.95rem 0;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--ink);
}
.ratgeber-faq__item > summary::-webkit-details-marker { display: none; }
.ratgeber-faq__item > summary::after {
    content: "+";
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    font-size: 1.35rem;
    line-height: 1;
    color: var(--topic-accent);
}
.ratgeber-faq__item[open] > summary::after { content: "\2013"; }
.ratgeber-faq__item > p {
    margin: 0 0 1rem;
    color: var(--ink-soft);
    font-size: 0.98rem;
    line-height: 1.7;
}

/* CTA-Karte */
.ratgeber-cta {
    margin-top: 2.6rem;
    padding: 1.6rem 1.75rem;
    border-radius: 16px;
    border: 1px solid rgba(134, 188, 37, 0.28);
    background: linear-gradient(135deg, rgba(134, 188, 37, 0.12), rgba(134, 188, 37, 0.04));
}
.ratgeber-cta__text {
    margin: 0 0 1.1rem;
    color: var(--ink);
    font-size: 1.08rem;
    line-height: 1.55;
    font-weight: 500;
}
.ratgeber-cta__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.ratgeber-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ratgeber-btn--primary {
    background: var(--topic-accent);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(134, 188, 37, 0.28);
}
.ratgeber-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(134, 188, 37, 0.34); }
.ratgeber-btn--ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line-strong, rgba(15, 58, 36, 0.18));
}
.ratgeber-btn--ghost:hover { border-color: var(--topic-accent); color: var(--topic-accent); }

/* Related */
.ratgeber-related {
    margin-top: 2.4rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1.2rem;
}
.ratgeber-related__label {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink-soft);
}
.ratgeber-related__link {
    color: var(--topic-accent);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
}
.ratgeber-related__link:hover { text-decoration: underline; }

/* Fassung 3: Hinweiskasten, Vergleichstabelle, Telefon oben, Ansprechpartner */
.ratgeber-body strong { font-weight: 700; color: var(--ink); }
.ratgeber-callout {
    margin: 0.4rem 0 1.2rem !important;
    padding: 1rem 1.15rem;
    border-left: 4px solid var(--topic-accent);
    border-radius: 0 12px 12px 0;
    background: rgba(134, 188, 37, 0.08);
}
.ratgeber-table-wrap { overflow-x: auto; margin: 0.2rem 0 1.2rem; }
.ratgeber-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; line-height: 1.45; }
.ratgeber-table th, .ratgeber-table td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); color: var(--ink); }
.ratgeber-table thead th { font-weight: 700; border-bottom: 2px solid var(--topic-accent); }
.ratgeber-table tbody th { font-weight: 700; }
.ratgeber-topnote {
    display: block;
    margin: 0 0 1.4rem;
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    background: #b42318;
    color: #ffffff;
    font-size: 1.05rem;
    text-decoration: none;
}
.ratgeber-topnote strong { color: #ffffff; }
.ratgeber-cta__contact { margin: -0.4rem 0 1.1rem !important; font-size: 0.98rem !important; color: var(--ink-soft) !important; }
@media (max-width: 560px) {
    .ratgeber-table { font-size: 0.86rem; hyphens: auto; -webkit-hyphens: auto; }
    .ratgeber-table th, .ratgeber-table td { padding: 0.5rem 0.4rem; }
}

@media (max-width: 720px) {
    .ratgeber-h2 { font-size: 1.2rem; }
    .ratgeber-lede { font-size: 1.08rem; }
    .ratgeber-cta { padding: 1.3rem 1.25rem; }
}

/* === Feinschliff Rechtstexte (Widerruf & AGB) === */
/* Widerruf: Lesespalte + ruhigere Karten mit klarer Hierarchie */
.legal-page--widerruf .legal-stack { max-width: 760px; }
.legal-page--widerruf .legal-block {
    border-radius: 16px;
    padding: clamp(20px, 3vw, 30px);
    box-shadow: 0 10px 24px rgba(15, 58, 36, 0.05);
}
.legal-page--widerruf .legal-block > .legal-section-heading:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    font-size: 1.35rem;
}
.legal-page--widerruf .legal-block h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--topic-accent);
}
.legal-page--widerruf .legal-block p {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.75;
}

/* Muster-Widerrufsformular: sieht aus wie ein Formular zum Ausfüllen */
.legal-widerruf-form {
    border-color: rgba(134, 188, 37, 0.28) !important;
    background: linear-gradient(135deg, rgba(134, 188, 37, 0.08), rgba(134, 188, 37, 0.02)) !important;
}
.legal-widerruf-form .legal-card {
    margin: 0.4rem 0 1.4rem;
    background: var(--panel);
}
.legal-widerruf-form .legal-card p { margin: 0.1rem 0; font-weight: 600; }
.widerruf-line {
    margin: 1.1rem 0 0.35rem !important;
    color: var(--ink) !important;
    font-size: 0.95rem !important;
    font-weight: 600;
}
.widerruf-blank {
    margin: 0 0 0.4rem !important;
    height: 2.4rem;
    border: 1px dashed var(--line-strong, rgba(15, 58, 36, 0.22));
    border-radius: 8px;
    background: var(--panel);
}

/* AGB: Karten konsistent mit dem neuen Kartenlook */
.legal-page--agb .legal-company {
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(15, 58, 36, 0.06);
}

/* Widerruf online: Formular-Box */
.wf-box {
    background: linear-gradient(135deg, rgba(134, 188, 37, 0.10), rgba(134, 188, 37, 0.03));
    border: 1px solid rgba(134, 188, 37, 0.28);
    border-radius: 16px;
    padding: clamp(20px, 3vw, 30px);
    margin-bottom: 0.5rem;
}
.wf-box > h2 { margin-top: 0; }
.wf-box p { color: var(--ink); font-size: 1rem; line-height: 1.7; margin: 0 0 1rem; }
.wf-steps {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}
.wf-step {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.65;
}
.wf-step:not(:last-child)::after {
    content: "";
    width: 26px;
    height: 2px;
    margin-left: 0.35rem;
    border-radius: 2px;
    background: var(--line-strong, rgba(15, 58, 36, 0.18));
}
.wf-step__n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--panel);
    border: 1px solid var(--line-strong, rgba(15, 58, 36, 0.2));
    color: var(--ink-soft);
    font-size: 0.8rem;
    line-height: 1;
}
.wf-step.is-active { opacity: 1; color: var(--ink); }
.wf-step.is-active .wf-step__n { background: var(--topic-accent); border-color: var(--topic-accent); color: #fff; }
.wf-step.is-done { opacity: 1; color: var(--ink); }
.wf-step.is-done .wf-step__n { background: rgba(134, 188, 37, 0.16); border-color: var(--topic-accent); color: var(--topic-accent); }
.wf-step.is-done:not(:last-child)::after { background: var(--topic-accent); }
.wf-form { display: grid; gap: 0.9rem; max-width: 520px; }
.wf-form label { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.wf-form input, .wf-form select, .wf-form textarea {
    font: inherit; font-weight: 400; color: var(--ink);
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--line-strong, rgba(15, 58, 36, 0.2));
    border-radius: var(--radius-input); background: var(--panel);
}
.wf-form textarea { resize: vertical; }
.wf-form input:focus, .wf-form select:focus, .wf-form textarea:focus {
    outline: none; border-color: var(--topic-accent);
    box-shadow: 0 0 0 3px rgba(134, 188, 37, 0.18);
}
.wf-req { color: var(--danger); }
.wf-opt { color: var(--ink-soft); font-weight: 400; }
.wf-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 46px; padding: 0.6rem 1.4rem; border-radius: var(--radius-btn);
    font-weight: 700; font-size: 0.95rem; text-decoration: none; border: 1px solid transparent;
    background: var(--topic-accent); color: #fff; cursor: pointer;
    box-shadow: 0 8px 18px rgba(134, 188, 37, 0.28); transition: transform .15s ease, box-shadow .15s ease;
}
.wf-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(134, 188, 37, 0.34); }
.wf-btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong, rgba(15, 58, 36, 0.2)); box-shadow: none; }
.wf-btn.ghost:hover { border-color: var(--topic-accent); color: var(--topic-accent); transform: none; }
.wf-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.4rem; }
.wf-summary { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1.2rem; margin: 0 0 1.1rem; }
.wf-summary dt { color: var(--ink-soft); font-size: 0.9rem; }
.wf-summary dd { margin: 0; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.wf-error { color: var(--danger) !important; font-weight: 600; }
.wf-ok { font-size: 1.05rem !important; }
@media (max-width: 600px) { .wf-summary { grid-template-columns: 1fr; gap: 0.1rem 0; } .wf-summary dd { margin-bottom: 0.5rem; } }

/* Referenzseite: Cross-Link zu Sanierung + Shop */
.reference-crosslink { padding: 0 0 0.5rem; }
.reference-crosslink-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    padding: 1.25rem clamp(16px, 3vw, 28px);
    border-radius: 16px;
    border: 1px solid rgba(134, 188, 37, 0.28);
    background: linear-gradient(135deg, rgba(134, 188, 37, 0.10), rgba(134, 188, 37, 0.03));
}
.reference-crosslink-text {
    margin: 0;
    max-width: 46ch;
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 500;
}
.reference-crosslink-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.reference-crosslink-actions .cta-link.ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line-strong, rgba(15, 58, 36, 0.2));
    box-shadow: none;
}
.reference-crosslink-actions .cta-link.ghost:hover { border-color: var(--topic-accent); color: var(--topic-accent); }

.reference-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    background: rgba(43, 47, 44, 0.58);
    z-index: 55;
}

.reference-modal.is-open {
    display: flex;
}

.reference-panel {
    width: min(920px, 100%);
    max-height: 86vh;
    background: var(--panel);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(12, 24, 30, 0.28);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.reference-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 2rem 1.1rem;
    border-bottom: 1px solid var(--line);
    background: var(--panel);
}

.reference-header h2 {
    margin: 0;
    font-family: var(--display-font);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--ink);
}

.reference-close {
    border: 1px solid var(--line);
    background: var(--panel-alt);
    color: var(--ink);
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: var(--radius-pill);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.reference-close:hover,
.reference-close:focus-visible {
    background: var(--topic-accent-soft);
    border-color: var(--topic-accent);
    color: var(--topic-accent);
}

.reference-body {
    padding: 1.6rem 2rem 2rem;
    overflow-y: auto;
}

.reference-list {
    display: grid;
    gap: 1.4rem;
}

.reference-card {
    background: var(--panel-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.3rem;
    display: grid;
    gap: 1rem;
}

.reference-card h3 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--ink);
}

.reference-card p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.55;
}

.reference-media {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.reference-media img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--line);
}

.reference-modal-backdrop {
    position: absolute;
    inset: 0;
}

.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9000;
    display: none;
}

.cookie-banner.is-visible {
    display: block;
}

.cookie-card {
    width: min(360px, 92vw);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.3rem;
    box-shadow: 0 20px 40px rgba(43, 47, 44, 0.28);
    backdrop-filter: blur(8px);
}

.cookie-title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
}

.cookie-text {
    margin: 0 0 0.9rem;
    font-size: 0.92rem;
    color: var(--ink-soft);
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* Beide Buttons gleichwertig gestaltet: kein farblicher Nudge
   Richtung „Akzeptieren" (EDPB-Guideline 03/2022, DSK-Beanstandungen). */
.cookie-btn {
    flex: 1 1 0;
    min-width: 0;
    border-radius: var(--radius-btn);
    padding: 0.55rem 1.1rem;
    font-size: 0.95rem;
    font-weight: 700;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cookie-btn:hover,
.cookie-btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(15, 58, 36, 0.12);
    border-color: var(--topic-accent);
    color: var(--topic-accent);
}

.cookie-btn:focus-visible {
    outline: 2px solid var(--topic-accent);
    outline-offset: 2px;
}

/* --ghost-Modifier bleibt als No-Op erhalten, damit Markup unverändert
   bleibt — beide Buttons sehen visuell identisch aus. */
.cookie-btn--ghost {
    border-color: var(--line);
    background: transparent;
    color: var(--ink);
}

.cookie-btn--ghost:hover,
.cookie-btn--ghost:focus-visible {
    border-color: var(--topic-accent);
    color: var(--topic-accent);
}

.cookie-link {
    display: inline-flex;
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: var(--ink-soft);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.cookie-link:hover {
    color: var(--topic-accent);
    border-color: var(--topic-accent);
}

:root[data-theme="dark"] .cookie-card {
    background: var(--panel);
    border-color: var(--line-strong);
    color: var(--ink);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.36);
}

:root[data-theme="dark"] .cookie-title {
    color: var(--ink);
}

:root[data-theme="dark"] .cookie-text,
:root[data-theme="dark"] .cookie-link {
    color: var(--ink-soft);
}

:root[data-theme="dark"] .cookie-btn--ghost {
    border-color: var(--line-strong);
    color: var(--ink);
    background: var(--panel-alt);
}

:root[data-theme="dark"] .cookie-btn--ghost:hover,
:root[data-theme="dark"] .cookie-btn--ghost:focus-visible {
    border-color: var(--topic-accent);
    color: var(--topic-accent);
}

@media (max-width: 640px) {
    .cookie-banner {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }

    .cookie-card {
        width: 100%;
    }
}

.inquiry-body {
    padding: 1.6rem 2rem 2rem;
    display: grid;
    gap: 1.4rem;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.inquiry-form {
    display: grid;
    gap: 1rem;
}

/* Sichtbarkeits-Override: ohne dies schlägt display:grid die UA-Regel [hidden]{display:none} bei gleicher Spezifität */
.inquiry-form [hidden],
.inquiry-form-footer [hidden],
.inquiry [hidden] {
    display: none !important;
}

.inquiry-form label:not(.inquiry-option):not(.checkbox):not(.inquiry-upload-pill):not(.inquiry-file-drop) {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--ink);
}

.inquiry-section {
    display: grid;
    gap: 0.55rem;
}

.inquiry-section-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
}

/* Inquiry-Pills: kompakte Toggle-Optionen für optionale Punkte */
.inquiry-extras {
    border: 1px solid var(--line);
    border-radius: var(--radius-input);
    padding: 0;
    background: transparent;
}
.inquiry-extras > summary {
    cursor: pointer;
    list-style: none;
    padding: 0.6rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.inquiry-extras > summary::-webkit-details-marker { display: none; }
.inquiry-extras > summary::before {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-pill);
    background: var(--panel-muted);
    font-weight: 700;
    line-height: 1;
}
.inquiry-extras[open] > summary::before { content: "−"; }
.inquiry-extras > .company-points {
    padding: 0 0.85rem 0.85rem;
}
.inquiry-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.inquiry-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.inquiry-pill:hover { border-color: var(--line-strong); }
.inquiry-pill input { width: 14px; height: 14px; accent-color: var(--topic-accent); }
@supports selector(:has(*)) {
    .inquiry-pill:has(input:checked) {
        border-color: var(--topic-accent);
        background: var(--primary-tint);
        color: var(--topic-accent);
    }
}

.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {
    border-radius: var(--radius-input);
    border: 1px solid var(--line-soft);
    padding: 0.75rem 0.85rem;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--panel);
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus,
.inquiry-form select:focus {
    outline: none;
    border-color: var(--topic-accent);
    box-shadow: 0 0 0 3px var(--muted);
}

/* Validation-Highlight: rote Border + sanfter Shake-Hint */
.inquiry-form .is-invalid,
.inquiry-form .is-invalid:focus {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.18) !important;
    animation: invalidShake 0.32s ease;
}
@keyframes invalidShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-2px); }
}
@media (prefers-reduced-motion: reduce) {
    .inquiry-form .is-invalid { animation: none; }
}

/* === Datei-Item-Liste === */
.inquiry-file-list {
    display: grid;
    gap: 0.4rem;
    margin-top: 0.6rem;
    font-size: 0.85rem;
}
.inquiry-file-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 0.5rem;
    align-items: center;
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-input);
    background: var(--panel);
    transition: border-color 0.15s ease, background 0.15s ease;
}
.inquiry-file-item-icon { font-size: 0.95rem; line-height: 1; }
.inquiry-file-item-name {
    color: var(--ink);
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.inquiry-file-item-size {
    color: var(--ink-soft);
    font-size: 0.78rem;
    white-space: nowrap;
}
.inquiry-file-item-status {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-pill);
    background: rgba(15, 58, 36, 0.08);
    color: var(--ink-soft);
    white-space: nowrap;
}
.inquiry-file-item-status[data-file-status="uploading"] {
    background: rgba(218, 166, 42, 0.15);
    color: var(--warn);
    animation: filePulse 1.2s ease-in-out infinite;
}
.inquiry-file-item-status[data-file-status="done"] {
    background: rgba(134, 188, 37, 0.18);
    color: var(--topic-accent);
    animation: none;
}
.inquiry-file-item-status[data-file-status="error"] {
    background: rgba(192, 57, 43, 0.15);
    color: var(--danger);
}
@keyframes filePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.inquiry-file-summary {
    text-align: right;
    font-size: 0.78rem;
    color: var(--ink-soft);
    padding: 0.2rem 0.4rem;
}
.inquiry-file-summary.is-error {
    color: var(--danger-dark);
    font-weight: 700;
}

/* === Upload-Progress-Bar === */
.inquiry-upload-progress {
    margin-top: 0.9rem;
    padding: 0.85rem 1rem 1rem;
    border-radius: 12px;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: 0 10px 22px rgba(15, 58, 36, 0.08);
}
.inquiry-upload-progress-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}
.inquiry-upload-progress-label {
    font-weight: 700;
    color: var(--ink);
    font-size: 0.92rem;
}
.inquiry-upload-progress-pct {
    font-weight: 700;
    color: var(--topic-accent);
    font-size: 0.92rem;
    font-variant-numeric: tabular-nums;
}
.inquiry-upload-progress-track {
    height: 8px;
    border-radius: var(--radius-pill);
    background: rgba(15, 58, 36, 0.08);
    overflow: hidden;
}
.inquiry-upload-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--topic-accent) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-pill);
    transition: width 0.25s ease;
}
.inquiry-upload-progress-hint {
    margin: 0.55rem 0 0;
    color: var(--ink-soft);
    font-size: 0.82rem;
    line-height: 1.4;
}

/* Submit-Button: Loading-State */
.inquiry-form button[type="submit"].is-loading {
    opacity: 0.85;
    cursor: progress;
}

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

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
    color: var(--ink-soft);
    opacity: 0.75;
}

.inquiry-form input[type="checkbox"],
.inquiry-form input[type="radio"] {
    accent-color: var(--topic-accent);
}

.inquiry-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.5rem;
}

.inquiry-option {
    position: relative;
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    padding: 0.65rem 0.8rem;
    border-radius: var(--radius-input);
    border: 1px solid var(--line);
    background: var(--panel);
    transition: border-color 0.15s ease, background 0.15s ease;
    cursor: pointer;
}

.inquiry-option:hover {
    border-color: var(--line-strong);
}

.inquiry-option.is-hidden {
    display: none;
}

.inquiry-option input {
    margin-top: 0.15rem;
    accent-color: var(--topic-accent);
    flex-shrink: 0;
}

.inquiry-option span {
    display: block;
    line-height: 1.3;
}

.inquiry-option strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
}

.inquiry-option em {
    display: block;
    font-style: normal;
    font-size: 0.74rem;
    color: var(--ink-soft);
    margin-top: 0.15rem;
    line-height: 1.35;
}

@supports selector(:has(*)) {
    .inquiry-option:has(input:checked) {
        border-color: var(--topic-accent);
        background: var(--primary-tint);
        box-shadow: inset 0 0 0 1px var(--topic-accent);
    }
}

:root[data-theme="dark"] .inquiry-option,
:root[data-theme="dark"] .inquiry-pill {
    background: var(--panel-alt);
    border-color: rgba(246, 248, 244, 0.12);
    color: var(--ink);
}

:root[data-theme="dark"] .inquiry-option:hover,
:root[data-theme="dark"] .inquiry-pill:hover {
    border-color: rgba(134, 188, 37, 0.55);
}

:root[data-theme="dark"] .inquiry-option strong {
    color: var(--ink);
}

:root[data-theme="dark"] .inquiry-option em {
    color: var(--text-muted);
}

@supports selector(:has(*)) {
    :root[data-theme="dark"] .inquiry-option:has(input:checked),
    :root[data-theme="dark"] .inquiry-pill:has(input:checked) {
        background: #2d3a2e;
        border-color: var(--topic-accent);
        color: #c8e89a;
    }
}

:root[data-theme="dark"] .inquiry-extras {
    border-color: var(--line-strong);
}

:root[data-theme="dark"] .inquiry-extras > summary::before {
    background: var(--panel-alt);
}

:root[data-theme="dark"] .inquiry-form input,
:root[data-theme="dark"] .inquiry-form textarea,
:root[data-theme="dark"] .inquiry-form select {
    background: var(--panel-alt);
    border-color: rgba(246, 248, 244, 0.14);
    color: var(--ink);
}

:root[data-theme="dark"] .inquiry-form input:focus,
:root[data-theme="dark"] .inquiry-form textarea:focus,
:root[data-theme="dark"] .inquiry-form select:focus {
    border-color: var(--topic-accent);
    box-shadow: 0 0 0 3px rgba(134, 188, 37, 0.2);
}

.company-points {
    display: grid;
    gap: 0.75rem;
}

.company-points-group {
    display: none;
}

.company-points-group.is-active {
    display: block;
}

.inquiry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.inquiry-form .checkbox {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.25rem 0;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}

.inquiry-form .checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 0.15rem 0 0;
    accent-color: var(--topic-accent);
}

.inquiry-form .checkbox > span {
    flex: 1 1 auto;
    min-width: 0;
}

.inquiry-form .checkbox a {
    color: var(--topic-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Spamschutz: kompaktes Inline-Layout statt full-width */
.inquiry-section--challenge {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.9rem 1.1rem;
    align-items: end;
}
.inquiry-section--challenge label[data-message-label] {
    grid-column: 1 / -1;
}
.inquiry-challenge {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink-soft);
}
.inquiry-challenge input {
    width: 88px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
}

/* Submit-Footer: konsistente Gruppe aus Datenschutz + Marketing + Button + Hinweis */
.inquiry-form-footer {
    display: grid;
    gap: 0.85rem;
    padding: 1rem 1.1rem 1.1rem;
    margin-top: 0.2rem;
    border-radius: 14px;
    background: var(--panel-muted);
    border: 1px solid var(--line);
}
.inquiry-form-footer .checkbox {
    margin: 0;
}
.inquiry-form-footer .cta-link {
    margin-top: 0.25rem;
}
.inquiry-form-footer .form-note {
    font-size: 0.78rem;
    text-align: center;
    color: var(--ink-soft);
    margin: 0;
}

:root[data-theme="dark"] .inquiry-form-footer {
    background: var(--panel-alt);
    border-color: var(--line-strong);
}

.inquiry-form .full {
    grid-column: 1 / -1;
}

.inquiry-form .cta-link {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 840px) {
    .inquiry-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .inquiry-body {
        padding: 1.2rem 1.4rem 1.6rem;
    }
}

/* === Inline-Variante des Anfrage- und Upload-Formulars === */
.inquiry--inline {
    background: var(--page-bg);
}
.inquiry--inline .inquiry-shell {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 22px 54px rgba(15, 58, 36, 0.10);
    overflow: hidden;
}
.inquiry--inline .inquiry-shell-header {
    padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px) clamp(14px, 2vw, 22px);
    border-bottom: 1px solid var(--line);
    background: var(--panel);
}
.inquiry--inline .inquiry-kicker {
    display: inline-block;
    color: var(--topic-accent);
    font-size: var(--fs-xs, 0.75rem);
    font-weight: 700;
    letter-spacing: var(--ls-caps-wide, 0.16em);
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}
.inquiry--inline .inquiry-shell-header h2 {
    margin: 0 0 0.45rem;
    font-family: var(--display-font);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.18;
    color: var(--ink);
}
.inquiry--inline .inquiry-shell-header p {
    margin: 0;
    color: var(--ink-soft);
    max-width: 56ch;
}
.inquiry--inline .inquiry-body {
    padding: clamp(18px, 2.6vw, 28px) clamp(20px, 3vw, 32px) clamp(22px, 3vw, 32px);
    display: grid;
    gap: 1.2rem;
}
.home-inquiry-section .inquiry--inline,
.inquiry--topic {
    background: transparent;
}
.inquiry--home .inquiry-shell,
.inquiry--topic .inquiry-shell {
    width: min(1040px, calc(100% - 32px));
}
.inquiry--topic {
    margin-top: 2rem;
}

/* Hinweis: festgenageltes Routing auf Landingpages */
.inquiry-routing-note {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.4rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel-muted);
    font-size: 0.88rem;
    color: var(--ink);
}
.inquiry-routing-line {
    display: inline-flex;
    gap: 0.4rem;
    align-items: baseline;
}
.inquiry-routing-label {
    color: var(--ink-soft);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

/* Upload-Sektion: Drop-Zone + Datei-Typen-Pills */
.inquiry-section--uploads {
    background: transparent;
}
.inquiry-file-drop {
    position: relative;
    display: grid;
    gap: 0.55rem;
    justify-items: start;
    align-content: center;
    padding: 1.5rem 1.6rem;
    margin: 1rem 0 1.2rem;
    border-radius: 14px;
    background:
        repeating-linear-gradient(90deg, var(--line-heavy) 0 8px, transparent 8px 16px) left top / 100% 2px no-repeat,
        repeating-linear-gradient(90deg, var(--line-heavy) 0 8px, transparent 8px 16px) left bottom / 100% 2px no-repeat,
        repeating-linear-gradient(0deg, var(--line-heavy) 0 8px, transparent 8px 16px) left top / 2px 100% no-repeat,
        repeating-linear-gradient(0deg, var(--line-heavy) 0 8px, transparent 8px 16px) right top / 2px 100% no-repeat,
        var(--panel-alt);
    color: var(--ink);
    cursor: pointer;
    transition: background-color 0.2s ease;
    animation: inquiryFileDropMarch 1.2s linear infinite;
}
@keyframes inquiryFileDropMarch {
    to {
        background-position:
            16px top,
            -16px bottom,
            left -16px,
            right 16px,
            0 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .inquiry-file-drop { animation: none; }
}
.inquiry-file-drop:hover,
.inquiry-file-drop:focus-within,
.inquiry-file-drop.is-dragover {
    background:
        repeating-linear-gradient(90deg, var(--topic-accent) 0 8px, transparent 8px 16px) left top / 100% 2px no-repeat,
        repeating-linear-gradient(90deg, var(--topic-accent) 0 8px, transparent 8px 16px) left bottom / 100% 2px no-repeat,
        repeating-linear-gradient(0deg, var(--topic-accent) 0 8px, transparent 8px 16px) left top / 2px 100% no-repeat,
        repeating-linear-gradient(0deg, var(--topic-accent) 0 8px, transparent 8px 16px) right top / 2px 100% no-repeat,
        var(--primary-tint);
}
.inquiry-file-drop.is-dragover {
    animation-duration: 0.5s;
}
.inquiry-file-drop input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    border: 0;
    padding: 0;
}
.inquiry-file-drop-label {
    display: inline-flex;
    align-items: baseline;
    gap: 0.45rem;
    font-weight: 700;
    color: var(--ink);
}
.inquiry-file-drop-label strong {
    font-size: 0.98rem;
}
.inquiry-file-drop-label small {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ink-soft);
}
.inquiry-file-drop-meta {
    font-size: 0.78rem;
    color: var(--ink-soft);
}
.inquiry-file-list {
    display: grid;
    gap: 0.3rem;
    margin-top: 0.4rem;
    font-size: 0.84rem;
    color: var(--ink);
}
.inquiry-file-list:not([hidden]) {
    display: grid;
}
/* Alte generische span-Regel entfernt — die neue strukturierte
   .inquiry-file-item-Markup hat eigene Klassen + Icon. */
.inquiry-upload-types {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.4rem;
}
.inquiry-upload-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.45rem;
}
.inquiry-upload-pill {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--panel-muted);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.inquiry-upload-pill:hover {
    border-color: var(--topic-accent);
}
.inquiry-upload-pill input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-height: 16px;
    flex: 0 0 16px;
    margin: 0.1rem 0 0;
}
@supports selector(:has(*)) {
    .inquiry-upload-pill:has(input:checked) {
        border-color: var(--topic-accent);
        background: var(--panel);
    }
}

:root[data-theme="dark"] .inquiry--inline .inquiry-shell {
    background: var(--panel);
    border-color: var(--line-strong);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32);
}
:root[data-theme="dark"] .inquiry-file-drop {
    background: var(--panel-alt);
    border-color: rgba(246, 248, 244, 0.18);
}
:root[data-theme="dark"] .inquiry-upload-pill {
    background: var(--panel-alt);
    border-color: rgba(246, 248, 244, 0.14);
}
:root[data-theme="dark"] .inquiry-routing-note {
    background: var(--panel-alt);
    border-color: var(--line-strong);
}

@media (max-width: 720px) {
    .inquiry--inline .inquiry-shell {
        width: min(100% - 24px, 720px);
        border-radius: var(--radius-input);
    }
    .inquiry-file-drop {
        padding: 1rem;
    }
}

.topic-content .section-alt {
    background: var(--topic-accent-surface);
}

.topic-content .section-alt::before {
    background: var(--topic-accent-surface-strong);
}

.focus-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.2rem;
    align-items: center;
    margin-top: 2rem;
}

.focus-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 18px 30px rgba(15, 58, 36, 0.18);
}

.focus-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.focus-details {
    background: var(--panel);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    padding: 1.6rem;
    box-shadow: 0 18px 28px rgba(15, 58, 36, 0.12);
}

.focus-eyebrow {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: var(--ls-caps-wide);
    font-weight: 700;
    color: var(--topic-accent);
}

.focus-details h3 {
    margin: 0.6rem 0 0.9rem;
    font-family: var(--display-font);
    font-size: 1.4rem;
    color: var(--ink);
}

.focus-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
    display: grid;
    gap: 0.7rem;
    color: var(--ink-soft);
}

.focus-list li {
    position: relative;
    padding-left: 1.6rem;
}

.focus-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 10px;
    height: 10px;
    border-radius: var(--radius-pill);
    background: var(--topic-accent);
    box-shadow: 0 0 0 4px var(--topic-accent-soft);
}

.contact-topic {
    margin: 0.5rem 0 0.8rem;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--panel);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    box-shadow: 0 12px 24px rgba(15, 58, 36, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(15, 58, 36, 0.14);
}

.service-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.service-card-content {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.service-card h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--ink);
    font-family: var(--display-font);
}

.service-card p {
    margin: 0;
    color: var(--ink-soft);
    flex: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit {
    background: var(--panel);
    color: var(--ink);
    border-radius: 12px;
    padding: 1.8rem 1.6rem;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.65rem;
    border: 1px solid var(--line);
    border-top: 4px solid var(--primary);
    box-shadow: 0 10px 22px rgba(15, 58, 36, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.benefit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 58, 36, 0.12);
}

.benefit h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.25;
    font-weight: 700;
    font-family: var(--display-font);
    color: var(--ink);
}
.benefit p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.55;
}

.process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.process-step {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.6rem;
    background: var(--panel);
    border-left: 4px solid var(--topic-accent);
    box-shadow: 0 12px 22px rgba(15, 58, 36, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.process-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(15, 58, 36, 0.12);
}

.process-step h3 {
    margin: 0 0 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--topic-accent);
    font-family: var(--display-font);
}

.process-step p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.55;
}

.process-cta {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.gallery-grid {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.gallery-grid::-webkit-scrollbar {
    display: none;
}

.gallery-grid img {
    width: 100%;
    border-radius: var(--radius-lg);
    height: clamp(180px, 22vw, 230px);
    object-fit: cover;
    border: 1px solid var(--line);
    box-shadow: 0 10px 22px rgba(15, 58, 36, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-grid img:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(15, 58, 36, 0.16);
}

.gallery-grid figure {
    margin: 0;
    flex: 0 0 clamp(240px, 30vw, 340px);
    scroll-snap-align: center;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.detail-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.1rem 1.2rem;
    background: var(--panel);
    box-shadow: 0 10px 22px rgba(15, 58, 36, 0.08);
}

.detail-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--display-font);
}

.detail-card p {
    margin: 0;
    color: var(--ink-soft);
}

.faq-groups {
    display: grid;
    gap: 1.8rem;
    margin-top: 1.5rem;
}

.faq-group {
    display: grid;
    gap: 0.5rem;
}

.faq-group-title {
    font-family: var(--display-font);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: var(--ls-caps);
}

.faq-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 0.4rem;
}

.faq-group + .faq-group {
    border-top: 1px solid var(--line);
    padding-top: 1.4rem;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    padding: 0.2rem 1rem;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    padding: 0.6rem 0.2rem;
    color: var(--ink);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.faq-item summary::marker {
    color: var(--topic-accent);
}

.faq-item p {
    margin: 0 0 0.9rem;
    color: var(--ink-soft);
    padding: 0 0.2rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 900px) {
    .slider-controls {
        display: none;
    }
}

.contact-card {
    background: var(--topic-accent);
    color: white;
    border-radius: 0 26px 26px 0;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    align-items: center;
    clip-path: polygon(0 0, 96% 0, 100% 50%, 96% 100%, 0 100%);
    box-shadow: 0 20px 40px rgba(15, 58, 36, 0.3);
}

.contact-card h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin: 0 0 0.5rem;
    font-family: var(--display-font);
}

.contact-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.contact-card a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.contact-card .cta-invert {
    color: var(--cta-invert-ink);
}

.contact-form {
    margin-top: 2rem;
    background: var(--panel);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    padding: 2rem;
    box-shadow: 0 16px 30px rgba(15, 58, 36, 0.08);
    position: relative;
}

.contact-form h3 {
    margin: 0 0 1rem;
    font-size: 1.4rem;
    color: var(--ink);
    font-family: var(--display-font);
}

.form-status {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 700;
}

.form-status.success {
    background: var(--muted);
    color: var(--ink);
}

.form-status.error {
    background: var(--muted);
    color: var(--text-muted);
}

.contact-form form {
    display: grid;
    gap: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.contact-form label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: var(--ls-caps);
    font-weight: 700;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: var(--ls-caps);
    font-weight: 700;
    color: var(--ink);
    display: block;
    margin-bottom: 0.4rem;
}

.contact-options .inquiry-option {
    background: var(--panel);
}

.contact-form input,
.contact-form textarea {
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    padding: 0.7rem 0.8rem;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--panel);
    color: var(--ink);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form .full {
    grid-column: 1 / -1;
}

.contact-form .checkbox {
    font-size: 0.8rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.hp-field {
    position: absolute;
    left: -9999px;
    top: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Selektor BEWUSST nur direktes <footer> als Site-Footer — sonst würden
   innere <footer>-Elemente (.thanks-footer, .legal-footer, …) den dunklen
   Hintergrund + helle Farbe erben und Inhalte unsichtbar machen. */
body > footer {
    background: var(--footer-bg);
    color: var(--footer-ink);
    padding: 2.5rem 5%;
    text-align: center;
}

body > footer p {
    margin: 0;
    color: var(--footer-ink-soft);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    justify-content: center;
}

.footer-links a {
    color: var(--footer-ink);
    text-decoration: none;
}

.footer-link-button {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--footer-ink);
    font: inherit;
    cursor: pointer;
}

.footer-links a:hover,
.footer-link-button:hover,
.footer-link-button:focus-visible {
    color: #ffffff;
}

.footer-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-instagram svg {
    width: 16px;
    height: 16px;
}

.footer-instagram:hover {
    color: var(--primary);
}

@keyframes liftIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 1100px) {
    nav {
        gap: 0.75rem;
    }

    nav a {
        font-size: var(--fs-xs);
    }

    .hero {
        padding: 4rem 5% 3.5rem;
    }

    .hero::before {
        width: 72%;
        left: -220px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
        gap: 1.8rem;
    }

    .hero-media {
        padding: 0.8rem;
    }

    .stat-bar {
        gap: 1.6rem;
        padding: 0.75rem 1.2rem;
    }
}

@media (max-width: 1100px) and (min-width: 769px) {
    .header-core {
        grid-template-columns: 1fr auto 1fr;
        grid-template-areas:
 ". brand actions"
 "topics topics topics"
 "nav nav nav";
        row-gap: 0.35rem;
    }

    .topic-deck {
        justify-content: center;
    }

    .topic-cards {
        flex-wrap: nowrap;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero::before {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: auto;
        transform: none;
        border-radius: 0;
        clip-path: none;
    }

    .hero-media {
        max-width: 520px;
        margin: 0 auto;
    }

    .stat-bar {
        width: 100%;
        justify-content: space-between;
    }

    .hero::after {
        display: none;
    }

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

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

    .about-slider {
        width: 100%;
        border-radius: 14px;
    }

    .about-track {
        padding: 0;
    }

    .about-slide {
        border-radius: 14px;
    }

    .topic-cards {
        gap: 0.35rem;
    }

    .topic-card {
        min-width: 132px;
    }
}

@media (max-width: 900px) and (min-width: 769px) {
    section {
        padding: 3.75rem 7%;
    }

    .hero {
        padding: 4.25rem 7% 3.75rem;
    }

    .hero-content {
        max-width: 640px;
    }

    .service-grid,
    .benefits-grid,
    .process,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.6rem;
    }

    .contact-form {
        padding: 2.2rem;
    }

    .gallery-grid figure {
        flex-basis: clamp(240px, 42vw, 360px);
    }
}

@media (max-width: 768px) {
    .header-core {
        display: grid;
        grid-template-columns: auto 1fr auto auto;
        grid-template-areas:
 "brand . theme menu";
        column-gap: 0.85rem;
        row-gap: 0;
        padding: 0.45rem 5% 0.4rem;
        align-items: center;
    }

    .brand-sash {
        grid-area: brand;
        padding: 0.4rem 0.6rem;
        border-radius: 18px 0 0 0;
        border: 1px solid var(--brand-sash-border);
        background: var(--brand-sash-bg);
        box-shadow: var(--brand-sash-shadow);
        justify-self: start;
    }

    .theme-toggle--mobile {
        grid-area: theme;
        margin-left: 0.2rem;
        display: inline-flex;
        width: 34px;
        height: 34px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        justify-self: end;
    }

    .theme-toggle--desktop {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        grid-area: menu;
        justify-self: end;
        width: 36px;
        height: 36px;
        box-shadow: 0 10px 22px rgba(43, 47, 44, 0.18);
    }

    .topic-deck {
        display: none;
        grid-area: topics;
        width: 100%;
        justify-content: center;
        margin-top: 0;
        padding-top: 0.2rem;
        border-top: 1px solid var(--line);
    }

    .topic-deck-inner {
        max-width: 100%;
        justify-content: center;
    }

    .topic-cards {
        width: 100%;
        max-width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.1rem;
        scroll-snap-type: x proximity;
        justify-content: center;
        gap: 0.35rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .topic-card {
        flex: 0 0 auto;
        min-width: 108px;
        max-width: 144px;
        padding: 0.45rem 0.85rem 0.55rem;
        transform: translateY(0);
        scroll-snap-align: center;
        font-size: 0.85rem;
    }

    .topic-card-title {
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .topic-cards::-webkit-scrollbar {
        display: none;
    }

    .topic-deck-label {
        display: none;
    }

    .topic-content * {
        overflow-wrap: anywhere;
        word-break: break-word;
        hyphens: auto;
    }

    .header-cta-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.35rem 0.6rem;
        font-size: var(--fs-xs);
        border-radius: var(--radius-sm);
        white-space: nowrap;
        margin-left: 0;
    }

    .header-cta-desktop {
        display: none;
    }

    .header-actions {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 0 0.85rem;
    }

    .theme-toggle {
        width: 30px;
        height: 30px;
        padding: 0;
        font-size: 0;
        letter-spacing: 0;
    }

    .theme-toggle-indicator {
        width: 8px;
        height: 8px;
        box-shadow: 0 0 0 2px var(--topic-accent-surface);
    }

    .theme-toggle-label {
        display: none;
    }

    nav {
        position: fixed;
        top: calc(var(--header-offset, 120px) + 10px);
        left: 50%;
        transform: translate(-50%, -10px);
        width: min(92vw, 420px);
        flex-direction: column;
        align-items: stretch;
        gap: 0.9rem;
        background: var(--nav-panel-bg);
        border: 1px solid var(--line-strong);
        border-radius: var(--radius-md);
        padding: 0.75rem;
        margin: 0;
        opacity: 0;
        pointer-events: none;
        z-index: 25;
        box-shadow: 0 18px 38px rgba(43, 47, 44, 0.28);
        max-height: calc(100vh - var(--header-offset, 120px) - 24px);
        overflow-y: auto;
    }

    header.nav-open nav {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }

    .nav-backdrop {
        display: block;
    }

    header.nav-open .nav-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-group--topics {
        display: flex;
    }

    .nav-group--social {
        display: flex;
    }

    .nav-group-title {
        display: block;
        font-size: 0.78rem;
        letter-spacing: var(--ls-caps-wide);
        color: var(--ink);
        font-weight: 700;
        text-transform: uppercase;
        padding-left: 0.2rem;
    }

    .nav-group-links {
        display: grid;
        gap: 0.5rem;
    }

    .nav-group-links--topics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-group-links--sections {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    nav::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    nav a {
        width: 100%;
        font-size: var(--fs-xs);
        letter-spacing: var(--ls-caps);
        padding: 0.65rem 0.9rem;
        border-radius: var(--radius-pill);
        text-align: center;
        background: var(--panel);
        border: 1px solid var(--line);
        color: var(--ink);
    }

    nav a:hover,
    nav a:focus-visible {
        color: #ffffff;
        background: var(--topic-accent);
    }

    .nav-group-links--topics a {
        font-weight: 700;
        background: var(--panel);
        border-color: var(--topic-accent);
        box-shadow: 0 10px 18px rgba(43, 47, 44, 0.18);
    }

    .nav-group-links--topics a.is-active {
        color: #ffffff;
        background: var(--topic-accent);
        border-color: var(--topic-accent);
    }

    .nav-group-links--sections a {
        text-align: left;
    }

    .nav-group--social {
        padding-top: 0.5rem;
        border-top: 1px solid var(--line);
        margin-top: 0.5rem;
    }

    .nav-instagram {
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.7rem 1.2rem;
        background: var(--primary);
        color: white;
        text-decoration: none;
        border-radius: 8px;
        font-weight: 700;
        font-size: 0.9rem;
    }

    .nav-instagram svg {
        width: 18px;
        height: 18px;
    }

    section {
        padding: 3rem 5%;
    }

    .brand-sash {
        clip-path: none;
        border-radius: 20px 0 0 0;
        box-shadow: var(--brand-sash-shadow);
    }

    .logo img {
        height: 72px;
    }

    .header-actions {
        padding-right: 0;
        align-items: stretch;
    }

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

    .hero {
        padding: 3.5rem 5% 3rem;
    }


    .landing {
        padding: 2.4rem 6% 2.6rem;
        min-height: calc(100vh - var(--header-offset, 120px));
    }

    .landing-gallery {
        padding: 0.2rem;
        background: transparent;
        border-color: transparent;
    }

    .landing-track {
        gap: 0.45rem;
    }

    .landing-slide {
        flex-basis: 98%;
        border-radius: var(--radius-md);
        border-color: transparent;
    }

    .landing-logo-badge img {
        width: clamp(170px, 60vw, 240px);
    }

    .landing-copy p {
        letter-spacing: var(--ls-caps);
    }

    .hero-subtitle {
        letter-spacing: var(--ls-caps-wide);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons a {
        text-align: center;
    }

    .stat-bar {
        clip-path: none;
        border-radius: 12px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.7rem;
    }

    .stat-item {
        align-items: center;
        text-align: center;
    }

    .hero-media {
        max-width: 100%;
    }

    .service-grid,
    .benefits-grid,
    .process,
    .gallery-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .focus-details {
        padding: 1.3rem;
    }

    .gallery-grid figure {
        flex-basis: 82%;
    }

    .gallery-grid img {
        height: 210px;
    }

    .reference-panel {
        max-height: 90vh;
    }

    .reference-header {
        padding: 1.2rem 1.4rem 0.9rem;
    }

    .reference-body {
        padding: 1.2rem 1.4rem 1.6rem;
    }

    .reference-media img {
        height: 130px;
    }
}

@media (max-width: 640px) {
    .header-core {
        padding: 0.5rem 5% 0.2rem;
    }

    .brand-sash {
        padding: 0.45rem 0.75rem;
        border-radius: 16px 0 0 0;
    }

    .header-cta-mobile {
        padding: 0.4rem 0.65rem;
        font-size: var(--fs-xs);
    }

    .logo img {
        height: 64px;
    }

    .topic-card {
        min-width: 100px;
        max-width: 132px;
        padding: 0.4rem 0.75rem 0.5rem;
        font-size: 0.8rem;
    }

    .gallery-grid figure {
        flex-basis: 88%;
    }

    .gallery-grid img {
        height: 190px;
    }

    nav {
        width: min(94vw, 360px);
        padding: 0.65rem;
    }

    nav a {
        font-size: var(--fs-xs);
        padding: 0.6rem 0.85rem;
    }

    .header-actions {
        width: 100%;
        align-items: stretch;
    }
    .hero {
        padding: 3rem 5% 2.5rem;
    }

    .hero-subtitle {
        font-size: var(--fs-xs);
        letter-spacing: var(--ls-caps-wide);
    }

    .hero h1 {
        font-size: clamp(2rem, 7vw, 2.5rem);
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero-buttons {
        gap: 0.6rem;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    .stat-bar {
        padding: 0.7rem 1rem;
    }

    .stat-value {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: var(--fs-xs);
    }

    .stat-cta {
        font-size: var(--fs-xs);
        padding: 0.45rem 1rem;
    }

    .hero-media {
        padding: 0.7rem;
    }

    .contact-card {
        clip-path: none;
        border-radius: 16px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .faq-item {
        padding: 0.2rem 0.8rem;
    }
}

@media (max-width: 520px) {
    .theme-toggle {
        width: 30px;
        height: 30px;
        padding: 0;
        font-size: 0;
        letter-spacing: 0;
    }

    .theme-toggle-label {
        display: none;
    }

    .logo img {
        height: 56px;
    }

    .header-cta-mobile {
        padding: 0.35rem 0.55rem;
        font-size: var(--fs-xs);
    }

    .nav-toggle {
        width: 34px;
        height: 34px;
    }
}

.topic-card[data-topic] { --card-accent: var(--primary); }
.contact-cta-inline { display: inline-block; margin-top: 1rem; }
.home-hero,
.campaign-hero,
.thanks-page {
    padding-top: clamp(92px, 10vw, 150px);
}
.home-hero-grid,
.campaign-hero-grid,
.home-split {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
}
.home-hero h1,
.campaign-hero h1,
.thanks-page h1 {
    font-size: clamp(2.4rem, 6vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: 0;
    margin: 0 0 1rem;
    text-wrap: balance;
    max-width: 14ch;
}
.home-hero-tagline {
    margin: -0.4rem 0 1.2rem;
    font-family: var(--display-font);
    font-size: clamp(1.15rem, 1.8vw, 1.55rem);
    line-height: 1.25;
    color: var(--ink-soft);
    font-weight: 500;
    max-width: 30ch;
}
.home-hero-copy p,
.campaign-copy p,
.thanks-panel p {
    color: var(--text-muted);
    font-size: clamp(1.02rem, 1.5vw, 1.24rem);
    line-height: 1.65;
}
.home-leverage {
    color: var(--text) !important;
    font-weight: 700;
}
.home-hero-points,
.campaign-checks {
    display: grid;
    gap: 0.65rem;
    padding: 0;
    margin: 1.4rem 0;
    list-style: none;
}
.home-hero-points li,
.campaign-checks li {
    position: relative;
    padding-left: 1.35rem;
    color: var(--text);
}
.home-hero-points li::before,
.campaign-checks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}
/* Wartungspreise: Staffel- + Zonentabelle */
.campaign-pricing-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
    margin-top: 1.6rem;
}
.pricing-block {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.25rem 1.4rem 1.4rem;
    box-shadow: var(--shadow);
}
.pricing-block__title {
    margin: 0 0 0.8rem;
    font-size: 1.02rem;
    color: var(--text);
}
.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table th {
    text-align: left;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    padding: 0 0.6rem 0.5rem 0;
    border-bottom: 1px solid var(--line);
}
.pricing-table td {
    padding: 0.7rem 0.6rem 0.7rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
    color: var(--text);
    vertical-align: top;
}
.pricing-table tbody tr:last-child td { border-bottom: 0; }
.pricing-table td:last-child { font-weight: 700; color: var(--primary); white-space: nowrap; }
.pricing-table--zones td:last-child { color: var(--text); }
.pricing-note {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
}
.pricing-includes { margin-top: 1.6rem; }
.pricing-includes__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.5rem 1.4rem;
    margin: 0.8rem 0 0;
}
.pricing-footnote {
    margin: 1.2rem 0 0;
    padding: 0.9rem 1.1rem;
    border-left: 3px solid var(--accent);
    background: rgba(218, 166, 42, 0.08);
    border-radius: 0 10px 10px 0;
    font-size: 0.92rem;
    color: var(--text);
}
.pricing-cta { margin-top: 1.5rem; }
@media (max-width: 800px) {
    .campaign-pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .pricing-table thead { display: none; }
    .pricing-table, .pricing-table tbody, .pricing-table tr, .pricing-table td { display: block; width: 100%; }
    .pricing-table tr { padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
    .pricing-table tbody tr:last-child { border-bottom: 0; }
    .pricing-table td { border: 0; padding: 0.15rem 0; }
    .pricing-table td::before {
        content: attr(data-label) ": ";
        font-weight: 700;
        color: var(--text-muted);
    }
    .pricing-table td:last-child::before { color: var(--text-muted); }
}
.home-hero-media,
.campaign-media,
.home-reference-card {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.home-hero-media img,
.campaign-media img,
.home-problem-card img,
.home-reference-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.home-card-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.section-actions {
    width: min(1180px, calc(100% - 32px));
    margin: 2rem auto 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.section-actions--center {
    justify-content: center;
}
.content-page-shell,
.reference-page-list,
.about-page-story {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}
.content-page-hero {
    padding: clamp(92px, 12vw, 160px) 0 clamp(58px, 8vw, 96px);
    background: var(--bg);
}
.content-page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(28px, 5vw, 72px);
    align-items: end;
}
.content-page-hero h1 {
    max-width: 820px;
    margin: 0;
    color: var(--text);
    font-size: clamp(2.45rem, 5vw, 4.8rem);
    line-height: 1.05;
}
.content-page-hero p {
    max-width: 720px;
    margin: 1.25rem 0 0;
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.4vw, 1.16rem);
    line-height: 1.6;
}
.content-page-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.reference-page-section,
.about-page-section,
.about-values-section {
    padding: clamp(64px, 9vw, 112px) 0;
}
.reference-page-list {
    display: grid;
    gap: clamp(42px, 7vw, 82px);
}
.reference-case {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
    padding: clamp(20px, 3vw, 34px);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--reference-card-bg);
    box-shadow: var(--shadow);
}
.reference-case-media-block {
    display: grid;
    gap: 16px;
    min-width: 0;
    align-content: start;
}
.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.62s ease, transform 0.62s ease;
}
.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}
@keyframes aboutRevealUp {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes aboutMediaReveal {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.reference-case-media {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--reference-media-bg);
}
.reference-case-media-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.reference-case-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.55s ease, filter 0.55s ease;
}
.reference-case-media-link:hover img,
.reference-case-media-link:focus-visible img {
    filter: saturate(1.05) contrast(1.04);
    transform: scale(1.025);
}
.reference-case-media-link:focus-visible {
    outline: 3px solid var(--topic-accent);
    outline-offset: 4px;
}
.reference-case-copy h2 {
    margin: 0.45rem 0 0;
    color: var(--text);
    font-size: clamp(1.55rem, 2.5vw, 2.35rem);
    line-height: 1.12;
}
.reference-case-lead {
    margin: 1rem 0 0;
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.6;
}
.reference-case-facts,
.reference-case-story {
    display: grid;
    gap: 12px;
    margin: 1.25rem 0 0;
}
.reference-case-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.reference-case-facts div {
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-soft);
}
.reference-case-facts dt,
.reference-case-story h3 {
    margin: 0 0 0.32rem;
    color: var(--text);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.reference-case-facts dd,
.reference-case-story p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.55;
}
.reference-case-story {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.reference-case-story section {
    padding-left: 1rem;
    border-left: 4px solid var(--topic-accent);
}
.reference-case-gallery-wrap {
    grid-column: 1 / -1;
    min-width: 0;
    padding-top: clamp(16px, 2.2vw, 24px);
    border-top: 1px solid var(--line);
}
.reference-gallery-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 12px;
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.reference-gallery-heading span:last-child {
    color: var(--ink-soft);
    font-weight: 600;
}
.reference-case-gallery {
    column-count: 2;
    column-gap: 14px;
    padding: 0;
}
.reference-gallery-tile {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    margin: 0 0 14px;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--reference-media-bg);
    box-shadow: var(--shadow-soft);
    break-inside: avoid;
    transform-origin: center;
}
.reference-gallery-tile:nth-child(4n + 1) {
    aspect-ratio: 4 / 3;
}
.reference-gallery-tile:nth-child(5n + 2) {
    aspect-ratio: 3 / 2;
}
.reference-gallery-tile:nth-child(6n + 4) {
    aspect-ratio: 1 / 1;
}
.reference-gallery-tile:nth-child(7n + 5) {
    aspect-ratio: 5 / 4;
}
.reference-gallery-tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease, filter 0.55s ease;
}
.reference-gallery-tile:hover img,
.reference-gallery-tile:focus-visible img {
    filter: saturate(1.05) contrast(1.04);
    transform: scale(1.045);
}
.reference-gallery-tile:focus-visible {
    outline: 3px solid var(--topic-accent);
    outline-offset: 3px;
}
.reference-gallery-tile:nth-child(2) { transition-delay: 40ms; }
.reference-gallery-tile:nth-child(3) { transition-delay: 80ms; }
.reference-gallery-tile:nth-child(4) { transition-delay: 120ms; }
.reference-gallery-tile:nth-child(5) { transition-delay: 160ms; }
.reference-gallery-tile:nth-child(6) { transition-delay: 200ms; }
.reference-gallery-tile:nth-child(7) { transition-delay: 240ms; }
.reference-gallery-tile:nth-child(8) { transition-delay: 280ms; }
.reference-gallery-tile:nth-child(9) { transition-delay: 320ms; }
.reference-gallery-tile:nth-child(10) { transition-delay: 360ms; }
.reference-gallery-tile:nth-child(n + 11) { transition-delay: 400ms; }
.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: grid;
    place-items: center;
    padding: clamp(16px, 3vw, 36px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}
.image-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}
.image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: var(--lightbox-backdrop);
    backdrop-filter: blur(10px);
}
.image-lightbox-panel {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(1180px, calc(100vw - 32px));
    height: min(860px, calc(100dvh - 32px));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: var(--lightbox-panel-bg);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
    transform: translateY(10px) scale(0.985);
    transition: transform 0.22s ease;
}
.image-lightbox.is-open .image-lightbox-panel {
    transform: none;
}
.image-lightbox-header,
.image-lightbox-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(12px, 1.7vw, 18px) clamp(16px, 2.2vw, 26px);
    border-color: var(--line);
}
.image-lightbox-header {
    border-bottom: 1px solid var(--line);
}
.image-lightbox-footer {
    border-top: 1px solid var(--line);
}
.image-lightbox-title {
    min-width: 0;
}
.image-lightbox-title span {
    display: block;
    color: var(--topic-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.image-lightbox-title h2 {
    margin: 0.25rem 0 0;
    color: var(--text);
    font-size: clamp(1.1rem, 2vw, 1.62rem);
    line-height: 1.15;
}
.image-lightbox-close,
.image-lightbox-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: var(--lightbox-control-bg);
    color: var(--lightbox-control-ink);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.image-lightbox-close {
    min-width: 42px;
    height: 42px;
    border-radius: var(--radius-pill);
    font-size: 1.25rem;
    line-height: 1;
}
.image-lightbox-close:hover,
.image-lightbox-close:focus-visible,
.image-lightbox-nav:hover,
.image-lightbox-nav:focus-visible {
    border-color: var(--topic-accent);
    background: var(--topic-accent);
    color: #ffffff;
    outline: none;
    transform: translateY(-1px);
}
.image-lightbox-stage {
    position: relative;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    gap: clamp(8px, 1.4vw, 14px);
    min-height: 0;
    padding: clamp(12px, 1.8vw, 22px);
    background: var(--lightbox-stage-bg);
}
.image-lightbox-figure {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-md);
    background: var(--lightbox-figure-bg);
}
.image-lightbox-figure img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    background: transparent;
}
.image-lightbox-figure figcaption {
    padding: 0.7rem 0.15rem 0;
    border-top: 0;
    background: var(--lightbox-caption-bg);
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.35;
}
.image-lightbox-nav {
    align-self: center;
    width: 42px;
    height: 58px;
    border-radius: var(--radius-pill);
    font-size: 1.65rem;
    background: var(--lightbox-control-bg);
    color: var(--lightbox-control-ink);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.image-lightbox-footer {
    color: var(--ink-soft);
    font-size: 0.9rem;
    background: var(--lightbox-panel-bg);
}
.image-lightbox-open-original {
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
}
.image-lightbox-open-original:hover,
.image-lightbox-open-original:focus-visible {
    color: var(--topic-accent);
    outline: none;
}
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .reference-gallery-tile img {
        transition: none;
    }
    .image-lightbox,
    .image-lightbox-panel,
    .image-lightbox-close,
    .image-lightbox-nav,
    .reference-case-media img {
        transition: none;
    }
}
.page-mode-about-page .content-page-hero {
    padding: clamp(86px, 9vw, 126px) 0 clamp(54px, 7vw, 90px);
    border-bottom: 1px solid var(--line);
}
.about-page-hero .content-page-shell,
.about-page-section > .about-page-story,
.about-mission-shell,
.about-claim-shell {
    width: min(1240px, calc(100% - 40px));
    margin-inline: auto;
}
.about-page-hero .content-page-shell {
    width: min(1360px, calc(100% - 48px));
}
html.js body.page-mode-about-page [data-reveal] {
    opacity: 1;
    transform: none;
    animation: aboutRevealUp 0.72s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}
html.js body.page-mode-about-page .about-page-media[data-reveal],
html.js body.page-mode-about-page .about-panorama-section[data-reveal] {
    animation-name: aboutMediaReveal;
}
html.js body.page-mode-about-page .about-page-media[data-reveal] {
    animation-delay: 120ms;
}
html.js body.page-mode-about-page .about-story-block:nth-child(2)[data-reveal],
html.js body.page-mode-about-page .about-mission-section[data-reveal],
html.js body.page-mode-about-page .about-value-card:nth-child(2)[data-reveal] {
    animation-delay: 90ms;
}
html.js body.page-mode-about-page .about-panorama-section[data-reveal],
html.js body.page-mode-about-page .about-value-card:nth-child(3)[data-reveal] {
    animation-delay: 150ms;
}
html.js body.page-mode-about-page .about-story-block:nth-child(2) {
    transform: translateY(22px);
}
html.js body.page-mode-about-page .about-story-block:hover {
    transform: translateY(-4px);
}
html.js body.page-mode-about-page .about-story-block:nth-child(2):hover {
    transform: translateY(14px);
}
html.js body.page-mode-about-page .about-value-card:hover {
    transform: translateY(-6px);
}
.about-page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1fr);
    gap: clamp(34px, 4.2vw, 70px);
    align-items: center;
}
.about-page-hero-copy {
    max-width: 650px;
}
.about-page-media[data-reveal] {
    transition-delay: 120ms;
}
.about-page-hero h1 {
    max-width: 720px;
    margin-top: 0.4rem;
    color: var(--primary-dark);
    display: grid;
    gap: clamp(0.4rem, 0.8vw, 0.7rem);
    font-size: inherit;
    line-height: 1;
    letter-spacing: 0;
    text-wrap: balance;
    overflow-wrap: normal;
    hyphens: none;
}
.about-title-main,
.about-title-focus {
    display: block;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: 0;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}
.about-title-main {
    max-width: 13.5ch;
    font-size: clamp(2.28rem, 3.9vw, 3.9rem);
    line-height: 1.04;
    text-wrap: balance;
}
.about-title-focus {
    position: relative;
    max-width: 34ch;
    width: fit-content;
    margin-top: clamp(0.25rem, 0.8vw, 0.55rem);
    padding: clamp(0.72rem, 1vw, 0.9rem) clamp(0.95rem, 1.3vw, 1.25rem);
    border: 1px solid var(--line-strong);
    border-left: 5px solid var(--primary);
    border-radius: var(--radius-input);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 42px rgba(15, 58, 36, 0.08);
    font-size: clamp(1.2rem, 1.75vw, 1.62rem);
    line-height: 1.22;
    text-wrap: pretty;
}
.about-title-focus::before {
    content: none;
}
.about-page-hero p {
    max-width: 580px;
    margin-top: clamp(1.1rem, 2vw, 1.55rem);
    color: var(--ink-soft);
    font-size: clamp(1.03rem, 1.25vw, 1.18rem);
    line-height: 1.58;
}
.about-page-media {
    position: relative;
    justify-self: stretch;
    width: 100%;
    max-width: 760px;
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 24px 62px rgba(15, 58, 36, 0.12);
    transform-origin: center;
}
.about-page-media::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: inherit;
    pointer-events: none;
}
.about-page-media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10.2;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease, filter 0.8s ease;
}
.about-page-media:hover img {
    filter: saturate(1.03) contrast(1.02);
    transform: scale(1.025);
}
.about-page-section {
    padding: clamp(64px, 8vw, 108px) 0 clamp(72px, 9vw, 118px);
}
.about-page-story {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(22px, 3vw, 34px);
    align-items: stretch;
}
.about-story-block {
    position: relative;
    min-height: 100%;
    padding: clamp(28px, 3.4vw, 44px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
    box-shadow: 0 18px 48px rgba(15, 58, 36, 0.07);
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}
.about-story-block::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0.18);
    transform-origin: left center;
    transition: transform 0.36s ease;
}
.about-story-block:nth-child(2) {
    transform: translateY(22px);
}
.about-story-block:nth-child(2)[data-reveal] {
    transition-delay: 90ms;
}
.about-story-block:hover {
    border-color: var(--line-strong);
    box-shadow: 0 24px 60px rgba(15, 58, 36, 0.11);
    transform: translateY(-4px);
}
.about-story-block:nth-child(2):hover {
    transform: translateY(14px);
}
.about-story-block:hover::before {
    transform: scaleX(1);
}
.about-story-block h2,
.about-value-card h3 {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.42rem, 2vw, 1.88rem);
    line-height: 1.13;
    letter-spacing: 0;
    text-wrap: balance;
}
.about-story-block p,
.about-value-card p {
    margin: 1rem 0 0;
    color: var(--ink-soft);
    font-size: clamp(0.98rem, 1vw, 1.04rem);
    line-height: 1.72;
}
.about-story-block p + p {
    margin-top: 1.15rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--line);
}
.about-mission-section {
    padding: clamp(72px, 9vw, 122px) 0 clamp(40px, 6vw, 72px);
    background: var(--primary-dark);
    color: #fff;
}
.about-mission-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    gap: clamp(34px, 6vw, 92px);
    align-items: end;
}
.about-mission-section .section-eyebrow {
    color: var(--accent);
}
.about-mission-section h2 {
    margin: 0.35rem 0 0;
    max-width: 590px;
    color: #fff;
    font-size: clamp(2.65rem, 5vw, 5.1rem);
    line-height: 0.98;
    letter-spacing: 0;
    text-wrap: balance;
}
.about-mission-copy {
    display: grid;
    gap: clamp(1rem, 1.5vw, 1.3rem);
    max-width: 660px;
    padding: clamp(18px, 2.2vw, 28px) 0 0 clamp(18px, 2vw, 28px);
    border-left: 4px solid var(--primary);
}
.about-mission-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.83);
    font-size: clamp(1.03rem, 1.25vw, 1.16rem);
    line-height: 1.72;
}
.about-panorama-section {
    padding: 0 0 clamp(34px, 4vw, 54px);
    background: var(--primary-dark);
}
.about-panorama-media {
    width: min(1360px, calc(100% - 40px));
    margin: 0 auto;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: var(--ink-deep);
    box-shadow: 0 28px 74px rgba(0, 0, 0, 0.24);
}
.about-panorama-media img {
    display: block;
    width: 100%;
    min-height: clamp(260px, 36vw, 500px);
    max-height: 560px;
    object-fit: cover;
    transition: transform 1s ease, filter 1s ease;
}
.about-panorama-media:hover img {
    filter: saturate(1.04) contrast(1.02);
    transform: scale(1.018);
}
.about-claim-section {
    padding: clamp(76px, 10vw, 132px) 0 clamp(84px, 11vw, 142px);
    background: var(--section-alt-base);
}
.about-claim-shell {
    display: grid;
    grid-template-columns: minmax(320px, 0.66fr) minmax(0, 1.34fr);
    gap: clamp(34px, 4.6vw, 64px);
    align-items: start;
}
.about-claim-copy {
    position: sticky;
    top: 132px;
    display: grid;
    gap: clamp(18px, 2vw, 24px);
    max-width: 560px;
}
.about-claim-copy h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(2.25rem, 3.6vw, 3.55rem);
    line-height: 1.02;
    letter-spacing: 0;
    text-wrap: balance;
}
.about-claim-text {
    max-width: 560px;
    padding-left: 20px;
    border-left: 4px solid var(--primary);
}
.about-claim-text h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(1.1rem, 1.45vw, 1.36rem);
    line-height: 1.18;
}
.about-claim-text p {
    margin: 0.75rem 0 0;
    color: var(--text);
    font-size: clamp(0.98rem, 1vw, 1.05rem);
    line-height: 1.72;
}
.about-claim-text p + p {
    margin-top: 0.85rem;
}
.about-value-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(230px, 1fr));
    gap: clamp(18px, 2vw, 24px);
    padding-top: clamp(8px, 1.2vw, 18px);
    min-width: 0;
}
.about-value-card {
    display: grid;
    align-content: start;
    min-height: 100%;
    min-width: 0;
    overflow: hidden;
    padding: clamp(24px, 3vw, 34px);
    border-top: 4px solid var(--primary);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 52px rgba(15, 58, 36, 0.09);
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}
.about-value-card:nth-child(2) {
    margin-top: clamp(8px, 1vw, 14px);
    transition-delay: 70ms;
}
.about-value-card:nth-child(3) {
    margin-top: clamp(16px, 1.8vw, 26px);
    transition-delay: 140ms;
}
.about-value-card:hover {
    border-color: var(--accent);
    box-shadow: 0 26px 66px rgba(15, 58, 36, 0.13);
    transform: translateY(-6px);
}
.about-value-card h3 {
    color: var(--primary-dark);
    max-width: 100%;
    font-size: clamp(1rem, 1.08vw, 1.14rem);
    line-height: 1.22;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
}
.about-value-card p {
    color: var(--text);
    font-size: 0.94rem;
    line-height: 1.66;
}
:root[data-theme="dark"] .about-page-hero h1,
:root[data-theme="dark"] .about-title-main,
:root[data-theme="dark"] .about-title-focus,
:root[data-theme="dark"] .about-claim-copy h2,
:root[data-theme="dark"] .about-claim-text h3,
:root[data-theme="dark"] .about-value-card h3 {
    color: var(--text);
}
:root[data-theme="dark"] .about-page-media {
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}
:root[data-theme="dark"] .about-hero-visuals {
    --about-card-shadow-back: 0 26px 70px rgba(0, 0, 0, 0.28);
    --about-card-shadow-front: 0 34px 92px rgba(0, 0, 0, 0.42);
}
:root[data-theme="dark"] .about-title-focus {
    background: rgba(37, 45, 48, 0.72);
}
:root[data-theme="dark"] .about-story-block,
:root[data-theme="dark"] .about-value-card {
    box-shadow: 0 22px 62px rgba(0, 0, 0, 0.24);
}
:root[data-theme="dark"] .about-claim-text p,
:root[data-theme="dark"] .about-value-card p {
    color: var(--ink-soft);
}
@media (max-width: 1180px) {
    .about-claim-shell {
        grid-template-columns: 1fr;
    }
    .about-claim-copy {
        position: static;
        max-width: 760px;
    }
    .about-value-stack {
        grid-template-columns: repeat(3, minmax(210px, 1fr));
    }
}
@media (max-width: 980px) {
    .about-value-stack {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}
@media (max-width: 900px) {
    .content-page-hero-grid,
    .about-page-hero-grid,
    .reference-case,
    .about-page-story,
    .about-mission-shell,
    .about-claim-shell {
        grid-template-columns: 1fr;
    }
    .about-claim-copy {
        position: static;
    }
    .about-page-hero .content-page-shell,
    .about-page-section > .about-page-story,
    .about-mission-shell,
    .about-claim-shell {
        width: min(100% - 28px, 720px);
    }
    .about-page-hero-copy {
        max-width: none;
    }
    .about-page-hero h1 {
        max-width: 11ch;
    }
    .about-title-main,
    .about-title-focus {
        max-width: 100%;
    }
    .about-page-media {
        max-width: 680px;
    }
    .about-story-block:nth-child(2),
    .about-story-block:nth-child(2):hover {
        transform: none;
    }
    html.js body.page-mode-about-page .about-story-block:nth-child(2),
    html.js body.page-mode-about-page .about-story-block:nth-child(2):hover {
        transform: none;
    }
    .about-mission-copy {
        padding-left: 18px;
    }
    .about-value-card:nth-child(2),
    .about-value-card:nth-child(3) {
        margin-top: 0;
    }
    .content-page-actions {
        justify-content: flex-start;
    }
    .reference-case-facts,
    .reference-case-story,
    .about-value-grid {
        grid-template-columns: 1fr;
    }
    .content-page-hero {
        padding-top: clamp(72px, 14vw, 112px);
    }
    .about-panorama-media {
        width: min(100%, calc(100% - 24px));
    }
}
@media (max-width: 620px) {
    .reference-case {
        padding: 14px;
    }
    .reference-case-gallery {
        column-gap: 10px;
    }
    .reference-gallery-tile {
        margin-bottom: 10px;
        border-radius: 8px;
    }
    .content-page-hero h1 {
        font-size: clamp(2.05rem, 11vw, 3rem);
    }
    .page-mode-about-page .content-page-hero {
        padding-top: clamp(62px, 15vw, 86px);
        padding-bottom: clamp(42px, 10vw, 62px);
    }
    .about-page-hero h1 {
        max-width: none;
        line-height: 1.02;
    }
    .about-title-main {
        max-width: none;
        font-size: clamp(2.2rem, 10.6vw, 3.1rem);
        line-height: 1.03;
        overflow-wrap: normal;
    }
    .about-title-focus {
        max-width: none;
        width: 100%;
        padding: 0.66rem 0.8rem;
        font-size: clamp(1.1rem, 5.8vw, 1.45rem);
        line-height: 1.2;
    }
    .about-page-hero p {
        font-size: 1rem;
        line-height: 1.55;
    }
    .about-page-media {
        border-radius: var(--radius-md);
    }
    .about-page-media img {
        aspect-ratio: 4 / 3;
    }
    .about-page-section,
    .about-mission-section,
    .about-claim-section {
        padding-block: clamp(46px, 12vw, 70px);
    }
    .about-story-block,
    .about-value-card {
        padding: 22px;
    }
    .about-value-stack {
        grid-template-columns: 1fr;
    }
    .about-story-block h2 {
        font-size: clamp(1.26rem, 6vw, 1.65rem);
    }
    .about-mission-section h2,
    .about-claim-copy h2 {
        font-size: clamp(2rem, 9.4vw, 2.65rem);
        line-height: 1.05;
    }
    .about-mission-copy {
        padding: 0 0 0 16px;
    }
    .about-mission-copy p,
    .about-claim-text p,
    .about-story-block p {
        line-height: 1.62;
    }
    .about-panorama-section {
        padding-bottom: 0;
    }
    .about-panorama-media {
        width: 100%;
        border-inline: 0;
        border-radius: 0;
    }
    .about-panorama-media img {
        min-height: 260px;
    }
    .image-lightbox {
        padding: 8px;
    }
    .image-lightbox-panel {
        width: calc(100vw - 16px);
        height: auto;
        max-height: calc(100dvh - 16px);
        border-radius: 14px;
    }
    .image-lightbox-header,
    .image-lightbox-footer {
        padding: 12px 14px;
    }
    .image-lightbox-stage {
        grid-template-columns: 1fr;
        align-content: start;
        overflow: auto;
        padding: 10px;
    }
    .image-lightbox-nav {
        position: absolute;
        z-index: 2;
        top: 50%;
        width: 42px;
        height: 58px;
        transform: translateY(-50%);
        background: var(--lightbox-control-bg);
    }
    .image-lightbox-nav:hover,
    .image-lightbox-nav:focus-visible {
        transform: translateY(-50%);
    }
    .image-lightbox-prev {
        left: 16px;
    }
    .image-lightbox-next {
        right: 16px;
    }
    .image-lightbox-figure {
        grid-template-rows: auto auto;
        align-self: center;
        border-radius: 12px;
    }
    .image-lightbox-figure img {
        justify-self: center;
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: calc(100dvh - 300px);
    }
    .image-lightbox-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.45rem;
    }
}
.page-mode-about-page .content-page-hero {
    padding: clamp(74px, 8vw, 118px) 0 clamp(72px, 8vw, 116px);
    background: var(--bg);
}
.about-page-hero .content-page-shell,
.about-page-section > .about-page-story,
.about-mission-shell,
.about-panorama-media,
.about-workflow-shell,
.about-claim-shell {
    width: min(1360px, calc(100% - 56px));
    margin-inline: auto;
}
.about-page-hero-grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(580px, 1.1fr);
    gap: clamp(54px, 6.6vw, 108px);
}
.about-page-hero-copy {
    max-width: 630px;
}
.about-page-hero h1 {
    max-width: 640px;
    gap: clamp(0.6rem, 1vw, 0.95rem);
}
.about-title-main {
    max-width: 13.2ch;
    font-size: clamp(2.45rem, 4vw, 4.25rem);
    line-height: 1.02;
}
.about-title-focus {
    max-width: 18ch;
    width: auto;
    margin-top: 0;
    padding: 0 0 0 clamp(0.9rem, 1vw, 1.05rem);
    border: 0;
    border-left: 4px solid var(--primary);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: clamp(1.42rem, 2.25vw, 2.25rem);
    line-height: 1.08;
}
.about-page-hero p {
    max-width: 540px;
    margin-top: clamp(1.25rem, 2vw, 1.7rem);
    font-size: clamp(1.02rem, 1.1vw, 1.12rem);
    line-height: 1.62;
}
.about-hero-visuals {
    --about-card-shadow-back: 0 28px 74px rgba(15, 58, 36, 0.13);
    --about-card-shadow-front: 0 34px 86px rgba(15, 58, 36, 0.2);
    position: relative;
    min-height: clamp(440px, 40vw, 620px);
    display: grid;
    align-items: center;
    isolation: isolate;
    perspective: 1200px;
    transform-style: preserve-3d;
}
.about-hero-visuals .about-page-media {
    margin: 0;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--about-card-shadow-back);
    backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: transform, filter, box-shadow;
}
.about-page-media-main {
    width: min(86%, 780px);
    justify-self: end;
    z-index: 1;
    animation: aboutHeroMainCard 11.5s cubic-bezier(0.42, 0, 0.18, 1) infinite;
}
.about-page-media-main img {
    aspect-ratio: 16 / 10.3;
}
.about-page-media-accent {
    position: absolute;
    left: 0;
    bottom: clamp(10px, 3vw, 38px);
    z-index: 2;
    width: min(48%, 420px);
    animation: aboutHeroAccentCard 11.5s cubic-bezier(0.42, 0, 0.18, 1) infinite;
}
.about-page-media-accent img {
    aspect-ratio: 1 / 1;
}
@keyframes aboutHeroMainCard {
    0%, 12%, 44% {
        z-index: 1;
        filter: saturate(1) contrast(1);
        transform: translate3d(0, 0, 0) rotateY(0deg) rotateZ(0deg) scale(1);
        box-shadow: var(--about-card-shadow-back);
    }
    54%, 88% {
        z-index: 3;
        filter: saturate(1.04) contrast(1.02);
        transform: translate3d(-34px, 26px, 76px) rotateY(3deg) rotateZ(-0.8deg) scale(1.035);
        box-shadow: var(--about-card-shadow-front);
    }
    100% {
        z-index: 1;
        filter: saturate(1) contrast(1);
        transform: translate3d(0, 0, 0) rotateY(0deg) rotateZ(0deg) scale(1);
        box-shadow: var(--about-card-shadow-back);
    }
}
@keyframes aboutHeroAccentCard {
    0%, 12%, 44% {
        z-index: 3;
        filter: saturate(1.04) contrast(1.02);
        transform: translate3d(0, 0, 78px) rotateY(-3deg) rotateZ(0.9deg) scale(1.035);
        box-shadow: var(--about-card-shadow-front);
    }
    54%, 88% {
        z-index: 1;
        filter: saturate(0.98) contrast(0.99);
        transform: translate3d(28px, -16px, 0) rotateY(0deg) rotateZ(0deg) scale(0.985);
        box-shadow: var(--about-card-shadow-back);
    }
    100% {
        z-index: 3;
        filter: saturate(1.04) contrast(1.02);
        transform: translate3d(0, 0, 78px) rotateY(-3deg) rotateZ(0.9deg) scale(1.035);
        box-shadow: var(--about-card-shadow-front);
    }
}
.about-hero-proof {
    position: absolute;
    right: clamp(12px, 2vw, 28px);
    bottom: clamp(18px, 3.6vw, 48px);
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    max-width: min(420px, 78%);
    padding: 0.62rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 44px rgba(15, 58, 36, 0.14);
}
.about-hero-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.35rem 0.72rem;
    border-radius: var(--radius-pill);
    background: var(--primary-dark);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.1;
}
@media (prefers-reduced-motion: reduce) {
    .about-page-media-main,
    .about-page-media-accent {
        animation: none !important;
        transform: none !important;
        filter: none !important;
    }
}
.about-page-section {
    padding: clamp(72px, 8vw, 120px) 0;
}
.about-page-story {
    grid-template-columns: minmax(0, 1.16fr) minmax(420px, 0.72fr);
    gap: clamp(34px, 4.4vw, 62px);
    align-items: center;
}
.about-page-story-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 2.2vw, 30px);
}
.about-story-block {
    min-height: 100%;
    padding: clamp(28px, 2.35vw, 36px);
    border-radius: 12px;
}
.about-story-block h2 {
    font-size: clamp(1.34rem, 1.65vw, 1.74rem);
    line-height: 1.16;
}
.about-story-block p {
    line-height: 1.68;
}
.about-story-block:nth-child(2),
html.js body.page-mode-about-page .about-story-block:nth-child(2),
.about-story-block:nth-child(2):hover,
html.js body.page-mode-about-page .about-story-block:nth-child(2):hover {
    transform: none;
}
.about-story-visuals {
    position: relative;
    min-height: 520px;
}
.about-story-image {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    box-shadow: 0 22px 58px rgba(15, 58, 36, 0.12);
}
.about-story-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.85s ease, filter 0.85s ease;
}
.about-story-image:hover img {
    filter: saturate(1.03) contrast(1.02);
    transform: scale(1.025);
}
.about-story-image-1 {
    inset: 0 12% auto 0;
    height: 340px;
}
.about-story-image-2 {
    right: 0;
    bottom: 0;
    width: 58%;
    height: 260px;
}
.about-mission-section {
    padding-top: clamp(82px, 9vw, 134px);
}
.about-panorama-section {
    padding-bottom: clamp(72px, 8vw, 116px);
}
.about-workflow-section {
    padding: clamp(76px, 8vw, 124px) 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
}
.about-workflow-head {
    max-width: 760px;
    margin: 0 auto clamp(28px, 4vw, 54px);
    text-align: center;
}
.about-workflow-head h2 {
    margin: 0.35rem 0 0;
    color: var(--primary-dark);
    font-size: clamp(2.1rem, 3.4vw, 3.45rem);
    line-height: 1.05;
    letter-spacing: 0;
    text-wrap: balance;
}
.about-workflow-head p {
    max-width: 620px;
    margin: 1rem auto 0;
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.1vw, 1.12rem);
    line-height: 1.65;
}
.about-workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.2vw, 28px);
}
.about-workflow-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    box-shadow: 0 20px 54px rgba(15, 58, 36, 0.08);
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}
.about-workflow-card:hover {
    border-color: var(--line-strong);
    box-shadow: 0 26px 64px rgba(15, 58, 36, 0.12);
    transform: translateY(-5px);
}
.about-workflow-card figure {
    margin: 0;
    overflow: hidden;
    background: var(--section-alt-base);
}
.about-workflow-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10.5;
    object-fit: cover;
    transition: transform 0.75s ease, filter 0.75s ease;
}
.about-workflow-card:hover img {
    filter: saturate(1.03) contrast(1.02);
    transform: scale(1.025);
}
.about-workflow-card div {
    padding: clamp(22px, 2.5vw, 32px);
}
.about-workflow-card span {
    display: inline-flex;
    margin-bottom: 0.85rem;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
}
.about-workflow-card h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(1.18rem, 1.45vw, 1.48rem);
    line-height: 1.16;
    letter-spacing: 0;
    text-wrap: balance;
}
.about-workflow-card p {
    margin: 0.9rem 0 0;
    color: var(--text);
    font-size: 0.98rem;
    line-height: 1.66;
}
.about-claim-section {
    padding: clamp(82px, 9vw, 134px) 0 clamp(88px, 10vw, 148px);
}
.about-claim-shell {
    grid-template-columns: minmax(340px, 0.6fr) minmax(0, 1.4fr);
    gap: clamp(42px, 5vw, 78px);
    align-items: center;
}
.about-value-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    padding-top: 0;
}
.about-value-card {
    min-height: clamp(248px, 22vw, 330px);
    padding: clamp(24px, 2.35vw, 34px);
}
.about-value-card:nth-child(2),
.about-value-card:nth-child(3) {
    margin-top: 0;
}
.about-value-card h3 {
    font-size: clamp(1.05rem, 1.18vw, 1.28rem);
    line-height: 1.18;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}
.about-value-card p {
    font-size: clamp(0.94rem, 0.96vw, 1rem);
    line-height: 1.64;
}
:root[data-theme="dark"] .about-hero-proof {
    background: rgba(36, 45, 48, 0.92);
}
:root[data-theme="dark"] .about-workflow-section,
:root[data-theme="dark"] .page-mode-about-page .content-page-hero {
    background: var(--bg);
}
:root[data-theme="dark"] .about-workflow-card,
:root[data-theme="dark"] .about-story-image {
    box-shadow: 0 22px 62px rgba(0, 0, 0, 0.26);
}
:root[data-theme="dark"] .about-workflow-head h2,
:root[data-theme="dark"] .about-workflow-card h3 {
    color: var(--text);
}
:root[data-theme="dark"] .about-workflow-card p {
    color: var(--ink-soft);
}
@media (max-width: 1160px) {
    .about-page-hero-grid {
        grid-template-columns: 1fr;
    }
    .about-page-hero-copy {
        max-width: 780px;
    }
    .about-title-main {
        max-width: 15ch;
    }
    .about-hero-visuals {
        min-height: 520px;
    }
    .about-page-story {
        grid-template-columns: 1fr;
    }
    .about-story-visuals {
        min-height: 420px;
    }
    .about-story-image-1 {
        inset: 0 auto auto 0;
        width: 68%;
        height: 320px;
    }
    .about-story-image-2 {
        width: 42%;
        height: 260px;
    }
    .about-claim-shell {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .about-claim-copy {
        position: static;
        max-width: 780px;
    }
    .about-value-stack {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 860px) {
    .about-page-hero .content-page-shell,
    .about-page-section > .about-page-story,
    .about-mission-shell,
    .about-workflow-shell,
    .about-claim-shell {
        width: min(100% - 28px, 720px);
    }
    .about-hero-visuals {
        min-height: 0;
        gap: 12px;
    }
    .about-page-media-main,
    .about-page-media-accent {
        position: static;
        width: 100%;
        animation: none;
        transform: none;
    }
    .about-page-media-accent img {
        aspect-ratio: 16 / 9;
    }
    .about-hero-proof {
        position: static;
        max-width: none;
        margin-top: 2px;
        border-radius: 12px;
    }
    .about-page-story-copy,
    .about-workflow-grid,
    .about-value-stack {
        grid-template-columns: 1fr;
    }
    .about-story-visuals {
        display: grid;
        gap: 14px;
        min-height: 0;
    }
    .about-story-image,
    .about-story-image-1,
    .about-story-image-2 {
        position: static;
        width: 100%;
        height: auto;
    }
    .about-story-image img {
        aspect-ratio: 16 / 10;
    }
    .about-claim-shell {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .about-claim-copy {
        position: static;
        max-width: none;
    }
    .about-value-card {
        min-height: auto;
    }
}
@media (max-width: 620px) {
    .page-mode-about-page .content-page-hero {
        padding-top: clamp(54px, 12vw, 78px);
    }
    .about-title-main {
        font-size: clamp(2.15rem, 9.5vw, 3rem);
    }
    .about-title-focus {
        max-width: none;
        font-size: clamp(1.34rem, 6.6vw, 1.9rem);
    }
    .about-hero-proof {
        display: grid;
        grid-template-columns: 1fr;
        padding: 0.5rem;
    }
    .about-hero-proof span {
        justify-content: center;
    }
    .about-page-section,
    .about-workflow-section,
    .about-claim-section {
        padding-block: clamp(52px, 14vw, 76px);
    }
    .about-workflow-head {
        text-align: left;
    }
    .about-workflow-head h2 {
        font-size: clamp(1.95rem, 9vw, 2.55rem);
    }
}
@media (max-width: 340px) {
    .reference-case-gallery {
        column-count: 1;
    }
}
.page-mode-home .section-heading {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}
.page-mode-home .home-problems .section-heading {
    margin-bottom: 1.1rem;
}
.page-mode-home #faq {
    padding-block: clamp(68px, 8vw, 104px);
}
.page-mode-home #faq .section-heading,
.page-mode-home #faq .faq-list--home {
    width: min(980px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}
.page-mode-home #faq .section-heading {
    margin-bottom: 1.35rem;
    text-align: left;
}
.page-mode-home #faq .section-heading h2,
.page-mode-home #faq .section-heading p {
    max-width: 720px;
}
.page-mode-home #faq .faq-list--home {
    gap: 12px;
    margin-top: 0;
}
.page-mode-home #faq .faq-item {
    overflow: hidden;
    padding: 0;
    border-radius: 8px;
}
.page-mode-home #faq .faq-item summary {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 56px;
    padding: 0.95rem 1.15rem;
    list-style: none;
}
.page-mode-home #faq .faq-item summary::-webkit-details-marker {
    display: none;
}
.page-mode-home #faq .faq-item summary::before {
    content: ">";
    color: var(--topic-accent);
    font-weight: 700;
    line-height: 1;
    transition: transform 0.15s ease;
}
.page-mode-home #faq .faq-item[open] summary::before {
    transform: rotate(90deg);
}
.page-mode-home #faq .faq-item p {
    margin: 0;
    padding: 0 1.15rem 1rem 2.25rem;
}
.home-shortcut-row {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 1.55rem;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
    justify-content: center;
}
.home-shortcut-row a {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.72rem 1.1rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-btn);
    background: var(--panel);
    color: var(--topic-accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(15, 58, 36, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.home-shortcut-row a::before {
    content: '';
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--topic-accent);
    transition: background 0.18s ease, transform 0.18s ease;
}
.home-shortcut-row a:hover,
.home-shortcut-row a:focus-visible {
    transform: translateY(-2px);
    background: var(--topic-accent);
    border-color: var(--topic-accent);
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(15, 58, 36, 0.18);
    outline: none;
}
.home-shortcut-row a:hover::before,
.home-shortcut-row a:focus-visible::before {
    background: #ffffff;
    transform: scale(1.15);
}
@media (prefers-reduced-motion: reduce) {
    .home-shortcut-row a,
    .home-shortcut-row a::before {
        transition: none;
    }
    .home-shortcut-row a:hover {
        transform: none;
    }
}
.page-mode-home #services .service-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 1.6rem auto 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
/* Startseite: Leistungs-Karten etwas kompakter */
.page-mode-home #services .service-card {
    min-height: 0;
    border-radius: 12px;
}
.page-mode-home #services .service-card img {
    height: 132px;
}
.page-mode-home #services .service-card-content {
    padding: 1.15rem 1.2rem 1.25rem;
    gap: 0.5rem;
}
.page-mode-home #services .service-card h3 {
    font-size: 1.12rem;
}
.page-mode-home #services .service-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}
@media (max-width: 1020px) {
    .page-mode-home #services .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 680px) {
    .page-mode-home #services .service-grid {
        grid-template-columns: 1fr;
    }
    .home-shortcut-row a {
        flex: 1 1 220px;
        justify-content: center;
    }
}

/* === Startseite: Referenzen als vollflächige, randlose Masonry-Galerie mit zentralem CTA === */
.ref-gallery-section {
    position: relative;
    padding: 0;
    background: var(--panel);
    overflow: hidden;
    isolation: isolate;
}
.ref-masonry {
    column-count: 5;
    column-gap: 8px;
    padding: 8px;
}
.ref-masonry-item {
    margin: 0 0 8px;
    break-inside: avoid;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--surface-soft);
}
.ref-masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}
.ref-masonry-item:hover img {
    transform: scale(1.06);
}
.ref-gallery-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    pointer-events: none;
}
.ref-gallery-card {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.7rem;
    max-width: 520px;
    padding: 2.4rem 2.6rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 26px 60px rgba(15, 58, 36, 0.22);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    backdrop-filter: blur(14px) saturate(1.15);
}
.ref-gallery-eyebrow {
    color: var(--topic-accent);
}
.ref-gallery-overlay h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--display-font);
    font-size: clamp(1.9rem, 4vw, 2.7rem);
}
.ref-gallery-overlay p {
    margin: 0;
    max-width: 40ch;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.55;
}
.ref-gallery-cta {
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 2rem;
    border-radius: var(--radius-btn);
    background: var(--topic-accent);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 16px 38px rgba(134, 188, 37, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ref-gallery-cta span {
    transition: transform 0.2s ease;
}
.ref-gallery-cta:hover,
.ref-gallery-cta:focus-visible {
    transform: translateY(-2px);
    background: var(--primary-deep);
    box-shadow: 0 22px 48px rgba(134, 188, 37, 0.55);
    outline: none;
}
.ref-gallery-cta:hover span,
.ref-gallery-cta:focus-visible span {
    transform: translateX(4px);
}
@media (max-width: 1200px) { .ref-masonry { column-count: 4; } }
@media (max-width: 900px)  { .ref-masonry { column-count: 3; } }
@media (max-width: 600px)  { .ref-masonry { column-count: 2; } }
@media (prefers-reduced-motion: reduce) {
    .ref-masonry-item img,
    .ref-gallery-cta,
    .ref-gallery-cta span {
        transition: none;
    }
    .ref-masonry-item:hover img { transform: none; }
    .ref-gallery-cta:hover { transform: none; }
}

/* === Topic-Seite: Leistungs-Sektion — Aufteilung, Spacing, Präsentation, Animation === */
.page-mode-topic #services .section-heading {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    align-items: center;
}
.page-mode-topic #services .section-heading p {
    margin-left: auto;
    margin-right: auto;
}
.page-mode-topic #services .service-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 2.75rem auto 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.page-mode-topic #services .service-card {
    min-height: 0;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(15, 58, 36, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.page-mode-topic #services .service-card:hover {
    transform: translateY(-6px);
    border-color: var(--topic-accent);
    box-shadow: 0 22px 42px rgba(15, 58, 36, 0.16);
}
.page-mode-topic #services .service-card img {
    height: 190px;
    transition: transform 0.55s ease;
}
.page-mode-topic #services .service-card:hover img {
    transform: scale(1.05);
}
.page-mode-topic #services .service-card-content {
    padding: 1.65rem 1.75rem 1.9rem;
    gap: 0.6rem;
}
/* Gestaffeltes Einblenden beim Scrollen (nutzt das bestehende [data-reveal]-System) */
.js .page-mode-topic #services .service-card[data-reveal]:nth-child(2) { transition-delay: 0.07s; }
.js .page-mode-topic #services .service-card[data-reveal]:nth-child(3) { transition-delay: 0.14s; }
.js .page-mode-topic #services .service-card[data-reveal]:nth-child(4) { transition-delay: 0.21s; }
.js .page-mode-topic #services .service-card[data-reveal]:nth-child(5) { transition-delay: 0.28s; }
.js .page-mode-topic #services .service-card[data-reveal]:nth-child(6) { transition-delay: 0.35s; }
@media (max-width: 1020px) {
    .page-mode-topic #services .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .page-mode-topic #services .service-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .page-mode-topic #services .service-card,
    .page-mode-topic #services .service-card img {
        transition: none;
    }
    .page-mode-topic #services .service-card:hover {
        transform: none;
    }
    .page-mode-topic #services .service-card:hover img {
        transform: none;
    }
}

/* Topic-Seite: Projekte-Heading mittelachsig (wie die Galerie) */
.page-mode-topic #projects .section-heading {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    align-items: center;
}
.page-mode-topic #projects .section-heading p {
    margin-left: auto;
    margin-right: auto;
}

/* === Funnel/Topic-Seiten: kompakterer vertikaler Rhythmus (nur Layout) === */
.page-mode-topic section:not(.hero) {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
/* .section-alt hat eine schräge Akzent-Bande (~55px) am oberen Rand — Polsterung dort nicht unterschreiten */
.page-mode-topic section.section-alt {
    padding-top: 3.6rem;
}
.page-mode-topic .hero {
    padding-top: 3.2rem;
    padding-bottom: 3rem;
}
/* Funnel-Hero: Bild näher an Text/Buttons — Textspalte auf Inhaltsbreite pinnen,
   damit der Rest-Leerraum nicht zwischen Text und Bild landet (≥901px, mobil bleibt gestapelt) */
@media (min-width: 901px) {
    .page-mode-topic .hero-grid {
        max-width: 1200px;
        margin-inline: auto;
        grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
        gap: 1.8rem;
    }
}
.page-mode-topic .focus-grid,
.page-mode-topic .benefits-grid,
.page-mode-topic .process,
.page-mode-topic .gallery-grid,
.page-mode-topic .about-grid {
    margin-top: 1.4rem;
}
.page-mode-topic .focus-grid {
    gap: 1.9rem;
}

.home-card-grid--problems {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 1.6rem;
}
/* 5 Karten modern angeordnet: erste Karte als breites Feature, Rest im 2x2 – kein einzelner Block mehr */
.home-card-grid--problems .home-problem-btn:first-child {
    grid-column: 1 / -1;
}
@media (min-width: 861px) {
    .home-card-grid--problems .home-problem-btn:first-child .home-problem-btn-media {
        flex-basis: 320px;
    }
    .home-card-grid--problems .home-problem-btn:first-child .home-problem-btn-body {
        padding-top: 1.35rem;
        padding-bottom: 1.35rem;
    }
    .home-card-grid--problems .home-problem-btn:first-child .home-problem-btn-title {
        font-size: 1.28rem;
    }
    .home-card-grid--problems .home-problem-btn:first-child .home-problem-btn-text {
        -webkit-line-clamp: 3;
        font-size: 0.9rem;
    }
}
/* Akzent-Leiste, die beim Hover von links einläuft */
.home-problem-btn::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--topic-accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    pointer-events: none;
}
.home-problem-btn:hover::after,
.home-problem-btn:focus-visible::after {
    transform: scaleX(1);
}
/* Gestaffeltes Einblenden beim Scrollen (nutzt bestehendes [data-reveal]-System) */
.js .home-card-grid--problems .home-problem-btn[data-reveal]:nth-child(2) { transition-delay: 0.06s; }
.js .home-card-grid--problems .home-problem-btn[data-reveal]:nth-child(3) { transition-delay: 0.12s; }
.js .home-card-grid--problems .home-problem-btn[data-reveal]:nth-child(4) { transition-delay: 0.18s; }
.js .home-card-grid--problems .home-problem-btn[data-reveal]:nth-child(5) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
    .home-problem-btn::after { transition: none; }
}
/* Startseite: Problem-Tiles als kompakte, moderne Karten (Bild + Text) */
.home-problem-btn {
    position: relative;
    display: flex;
    gap: 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    color: var(--text);
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.home-problem-btn:hover,
.home-problem-btn:focus-visible {
    transform: translateY(-3px);
    border-color: var(--topic-accent);
    box-shadow: 0 14px 28px rgba(15, 58, 36, 0.12);
    outline: none;
}
.home-problem-btn-media {
    flex: 0 0 124px;
    align-self: stretch;
    overflow: hidden;
    background: var(--line);
}
.home-problem-btn-media img {
    width: 100%;
    height: 100%;
    min-height: 124px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.home-problem-btn:hover .home-problem-btn-media img,
.home-problem-btn:focus-visible .home-problem-btn-media img {
    transform: scale(1.05);
}
.home-problem-btn-body {
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
    min-width: 0;
    padding: 0.95rem 1.1rem 0.95rem 0;
}
.home-problem-btn-kicker {
    color: var(--topic-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.66rem;
    line-height: 1;
}
.home-problem-btn-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
}
.home-problem-btn-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-problem-btn-cta {
    margin-top: 0.15rem;
    color: var(--topic-accent);
    font-weight: 700;
    font-size: 0.84rem;
    white-space: nowrap;
}
.home-problem-btn-cta span {
    display: inline-block;
    transition: transform 0.22s ease;
}
.home-problem-btn:hover .home-problem-btn-cta span,
.home-problem-btn:focus-visible .home-problem-btn-cta span {
    transform: translateX(4px);
}
@media (max-width: 560px) {
    .home-problem-btn-media {
        flex-basis: 96px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-problem-btn,
    .home-problem-btn-media img,
    .home-problem-btn-cta span {
        transition: none;
    }
    .home-problem-btn:hover {
        transform: none;
    }
}
.home-problem-card,
.campaign-entry-card,
.home-choice-card,
.home-reference-card {
    display: grid;
    gap: 0.75rem;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--panel);
    color: var(--text);
    text-decoration: none;
    text-align: left;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.home-problem-card:hover,
.campaign-entry-card:hover,
.home-choice-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.home-problem-card span {
    color: var(--topic-accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
}
.home-problem-card h3,
.campaign-entry-card h3,
.home-choice-card h3,
.home-reference-card h3 {
    margin: 0;
    font-size: 1.2rem;
}
.home-problem-card p,
.campaign-entry-card p,
.home-choice-card p,
.home-reference-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.55;
}
.home-problem-card strong,
.campaign-entry-card strong,
.home-choice-card strong,
.text-link {
    color: var(--topic-accent);
    text-decoration: none;
    font-weight: 700;
}
.home-audiences {
    padding: clamp(58px, 8vw, 96px) 0;
    background: var(--page-bg);
    border-top: 1px solid var(--line);
}
.home-audience-grid,
.campaign-audience-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.campaign-audience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.home-audience-card,
.campaign-audience-card {
    position: relative;
    display: grid;
    gap: 0.6rem;
    min-height: 200px;
    padding: 1.8rem 1.5rem 1.6rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(134, 188, 37, 0.06) 0%, transparent 90px),
        var(--panel);
    color: var(--text);
    box-shadow: 0 12px 28px rgba(15, 58, 36, 0.06);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.home-audience-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--topic-accent) 0%, rgba(134, 188, 37, 0.4) 100%);
    border-radius: 12px 12px 0 0;
}
.home-audience-card:hover,
.campaign-audience-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(15, 58, 36, 0.12);
    border-color: rgba(134, 188, 37, 0.45);
}
.home-audience-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 0.7rem;
    border-radius: 14px;
    background: rgba(134, 188, 37, 0.12);
    color: var(--topic-accent);
    box-shadow: inset 0 0 0 1px rgba(134, 188, 37, 0.25);
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.home-audience-icon svg {
    width: 26px;
    height: 26px;
}
.home-audience-card:hover .home-audience-icon {
    background: var(--topic-accent);
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: inset 0 0 0 1px var(--topic-accent), 0 8px 18px rgba(134, 188, 37, 0.28);
}
.home-audience-card h3,
.campaign-audience-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.1rem;
    line-height: 1.25;
    font-family: var(--display-font);
}
.home-audience-card p,
.campaign-audience-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}
:root[data-theme="dark"] .home-audience-card,
:root[data-theme="dark"] .campaign-audience-card {
    background:
        linear-gradient(180deg, rgba(134, 188, 37, 0.08) 0%, transparent 90px),
        var(--panel);
}
:root[data-theme="dark"] .home-audience-icon {
    background: rgba(134, 188, 37, 0.12);
    box-shadow: inset 0 0 0 1px rgba(134, 188, 37, 0.3);
}
@media (max-width: 720px) {
    .home-audience-card,
    .campaign-audience-card {
        min-height: 0;
        padding: 1.4rem 1.3rem 1.3rem;
    }
    .home-audience-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.2rem;
    }
    .home-audience-icon svg { width: 20px; height: 20px; }
}
.campaign-audience-section {
    padding: clamp(38px, 5vw, 66px) 0;
    background: var(--page-bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.campaign-audience-section .section-heading {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto clamp(22px, 3vw, 34px);
    text-align: center;
    align-items: center;
    gap: 0.5rem;
}
.campaign-audience-section .section-heading h2 {
    max-width: 22ch;
    margin-inline: auto;
    text-wrap: balance;
}
.campaign-audience-lead {
    margin: 0.5rem auto 0;
    max-width: 56ch;
    color: var(--ink-soft);
    font-size: clamp(0.98rem, 1.4vw, 1.1rem);
    line-height: 1.55;
    text-align: center;
    text-wrap: pretty;
    position: relative;
    padding-top: 1.1rem;
}
.campaign-audience-lead::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 2px;
    border-radius: var(--radius-pill);
    background: var(--topic-accent);
    opacity: 0.8;
}
.campaign-audience-grid {
    width: min(1120px, calc(100% - 32px));
}
@media (max-width: 720px) {
    .campaign-audience-section .section-heading h2 {
        font-size: clamp(1.5rem, 6.2vw, 1.9rem);
        line-height: 1.18;
        max-width: 18ch;
    }
    .campaign-audience-lead {
        padding-top: 0.85rem;
        font-size: 0.96rem;
        max-width: 36ch;
    }
    .campaign-audience-lead::before { width: 28px; }
}
.home-about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}
.home-choice-card {
    cursor: pointer;
    font: inherit;
}
.campaign-section,
.campaign-entry,
.campaign-visuals,
.campaign-form-section,
.campaign-final {
    padding: clamp(56px, 8vw, 96px) 0;
}
.campaign-bullets {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}
.campaign-bullets span {
    padding: 0.9rem 1rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    font-weight: 700;
}
.campaign-visual-grid {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.4vw, 28px);
}
.campaign-visual-grid--count-3 {
    width: min(1120px, calc(100% - 64px));
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.campaign-visual-card {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.campaign-visual-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
.campaign-visual-card figcaption {
    flex: 1;
    display: grid;
    grid-template-columns: 4px 1fr;
    gap: 0.8rem;
    align-items: start;
    min-height: 96px;
    padding: 1rem 1.1rem 1.15rem;
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.42;
}
.campaign-visual-card figcaption::before {
    content: "";
    width: 4px;
    height: 44px;
    border-radius: var(--radius-pill);
    background: var(--primary);
    margin-top: 0.1rem;
}
.form-note {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.form-field-hint {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.45;
}
.reference-facts {
    display: grid;
    gap: 0.5rem;
    margin: 0.35rem 0 0;
    color: var(--text);
}
.reference-facts div {
    display: grid;
    gap: 0.15rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-muted);
}
.reference-facts dt {
    color: var(--topic-accent);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.reference-facts dd {
    margin: 0;
    color: var(--text);
    line-height: 1.45;
}
.references-more {
    width: min(1180px, calc(100% - 32px));
    margin: 1rem auto 0;
}
.references-more > summary {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.72rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    background: var(--panel);
    color: var(--topic-accent);
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}
.references-more > summary::-webkit-details-marker {
    display: none;
}
.references-more .home-card-grid {
    width: 100%;
    margin-top: 1rem;
}
.legal-page-section {
    padding: clamp(128px, 13vw, 180px) 0 clamp(74px, 9vw, 116px);
    background: var(--page-bg);
}
.legal-page-shell {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
}
.legal-page--agb .legal-page-shell {
    width: min(1080px, calc(100% - 32px));
}
.legal-page-grid {
    margin-top: 1.6rem;
}
.campaign-final {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    text-align: center;
}
/* === Neue Danke-Seite mit Hero + Prozess-Timeline + Kontakt-Block === */
.thanks-page {
    padding-block: clamp(72px, 9vw, 120px) clamp(56px, 7vw, 96px);
    background: var(--page-bg);
}
.thanks-shell {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: clamp(40px, 5vw, 64px);
}
.thanks-hero {
    text-align: left;
}
.thanks-hero h1 {
    margin: 0.4rem 0 0.6rem;
    font-family: var(--display-font);
    font-size: clamp(1.8rem, 3.8vw, 2.6rem);
    line-height: 1.12;
    color: var(--ink);
    text-wrap: balance;
    max-width: 22ch;
}
.thanks-hero .section-lead {
    margin: 0;
    max-width: 56ch;
}
.thanks-hero-cta {
    margin-top: 1.4rem;
}
.thanks-hero-cta .cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}
.thanks-hero-cta svg {
    width: 16px;
    height: 16px;
}

/* Prozess-Timeline */
.thanks-process {
    display: grid;
    gap: 1.6rem;
}
.thanks-process-head h2 {
    margin: 0.3rem 0 0;
    font-family: var(--display-font);
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    line-height: 1.2;
    color: var(--ink);
    max-width: 32ch;
}
.thanks-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
    position: relative;
}
.thanks-step {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1.1rem;
    padding-bottom: 1.6rem;
}
.thanks-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 27px;
    top: 56px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(134, 188, 37, 0.4) 0%, var(--line) 100%);
    border-radius: 2px;
}
.thanks-step-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: 0 8px 18px rgba(15, 58, 36, 0.06);
    flex-shrink: 0;
}
.thanks-step-num {
    font-family: var(--display-font);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ink-soft);
}
.thanks-step.is-current .thanks-step-marker {
    background: var(--topic-accent);
    border-color: var(--topic-accent);
    box-shadow: 0 10px 22px rgba(134, 188, 37, 0.32);
}
.thanks-step.is-current .thanks-step-num {
    color: #ffffff;
}
.thanks-step-body h3 {
    margin: 0 0 0.35rem;
    font-family: var(--display-font);
    font-size: 1.08rem;
    line-height: 1.3;
    color: var(--ink);
}
.thanks-step-body p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.55;
    max-width: 62ch;
}
.thanks-step-eta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.6rem;
    padding: 0.18rem 0.55rem;
    border-radius: var(--radius-pill);
    background: rgba(134, 188, 37, 0.1);
    color: var(--topic-accent);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

/* Kontakt-Block */
.thanks-contact-card {
    padding: clamp(24px, 3.5vw, 36px);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(134, 188, 37, 0.06) 0%, transparent 100%), var(--panel);
    box-shadow: 0 14px 30px rgba(15, 58, 36, 0.06);
}
.thanks-contact-card h2 {
    margin: 0.4rem 0 0.5rem;
    font-family: var(--display-font);
    font-size: clamp(1.3rem, 2.4vw, 1.65rem);
    line-height: 1.22;
    color: var(--ink);
}
.thanks-contact-card p {
    margin: 0 0 1.2rem;
    color: var(--ink-soft);
    max-width: 56ch;
    line-height: 1.55;
}
.thanks-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
}
.thanks-contact-actions .cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}
.thanks-contact-actions .cta-link svg {
    width: 16px;
    height: 16px;
}
.thanks-contact-actions .ghost-link {
    border-color: transparent;
    background: transparent;
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 0.5rem 0.25rem;
}
.thanks-contact-actions .ghost-link:hover {
    color: var(--topic-accent);
}

/* Footer */
.thanks-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
}
.thanks-footer .ghost-link {
    border: 0;
    background: transparent;
    padding: 0.4rem 0;
    color: var(--ink);
}
.thanks-footer .ghost-link:hover {
    color: var(--topic-accent);
}
.thanks-confirmation-hint {
    margin: 0;
    font-size: 0.86rem;
    color: var(--ink-soft);
    max-width: 56ch;
}

:root[data-theme="dark"] .thanks-step-marker {
    background: var(--panel-alt);
    border-color: var(--line-strong);
}
:root[data-theme="dark"] .thanks-contact-card {
    background: linear-gradient(180deg, rgba(134, 188, 37, 0.1) 0%, transparent 100%), var(--panel-alt);
    border-color: var(--line-strong);
}
@media (max-width: 720px) {
    .thanks-step {
        grid-template-columns: 44px 1fr;
        gap: 0.85rem;
        padding-bottom: 1.3rem;
    }
    .thanks-step:not(:last-child)::after {
        left: 21px;
        top: 44px;
    }
    .thanks-step-marker {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
    .thanks-step-num { font-size: 1.05rem; }
    .thanks-step-body h3 { font-size: 1rem; }
    .thanks-step-body p { font-size: 0.92rem; }
    .thanks-footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 1100px) {
    .home-audience-grid,
    .campaign-audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 860px) {
    .home-hero-grid,
    .campaign-hero-grid,
    .home-split,
    .home-card-grid--problems,
    .home-audience-grid,
    .campaign-audience-grid {
        grid-template-columns: 1fr;
    }
    .home-about-actions {
        justify-content: flex-start;
    }
}

/* Client correction: flat, crisp colors instead of gradients. */
body {
    background: var(--page-bg) !important;
}

.hero::before,
.hero::after,
.section-alt::before,
.topic-content .section-alt::before,
.topic-card::before,
.topic-card::after,
.logo::after,
.landing-logo-badge::after {
    display: none !important;
}

.hero,
.section-alt,
.campaign-section.section-alt,
.campaign-form-section,
.campaign-entry {
    background: var(--muted) !important;
}

:root[data-theme="dark"] .hero,
:root[data-theme="dark"] .section-alt,
:root[data-theme="dark"] .campaign-section.section-alt,
:root[data-theme="dark"] .campaign-form-section,
:root[data-theme="dark"] .campaign-entry {
    background: var(--section-alt-base) !important;
}

:root[data-theme="dark"] .home-hero,
:root[data-theme="dark"] .campaign-hero,
:root[data-theme="dark"] .thanks-page {
    background: var(--page-bg) !important;
}

:root[data-theme="dark"] header {
    border-bottom-color: rgba(246, 248, 244, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
}

:root[data-theme="dark"] .topic-card:not(.is-active),
:root[data-theme="dark"] .home-card,
:root[data-theme="dark"] .benefit,
:root[data-theme="dark"] .process-step,
:root[data-theme="dark"] .reference-card,
:root[data-theme="dark"] .faq-item,
:root[data-theme="dark"] .campaign-card,
:root[data-theme="dark"] .home-audience-card,
:root[data-theme="dark"] .campaign-audience-card,
:root[data-theme="dark"] .reference-facts div,
:root[data-theme="dark"] .campaign-visual-card,
:root[data-theme="dark"] .campaign-form-card {
    background: var(--panel) !important;
    border-color: var(--line-strong) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .topic-card:not(.is-active):hover,
:root[data-theme="dark"] .topic-card:not(.is-active):focus-visible {
    background: var(--panel-muted) !important;
}

:root[data-theme="dark"] .page-mode-landing .campaign-problem-section .campaign-bullets span,
:root[data-theme="dark"] .page-mode-landing .campaign-solution-section .campaign-checks li {
    background: #252D30;
    border-color: rgba(246, 248, 244, 0.14);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] .page-mode-landing .campaign-problem-section .campaign-bullets span::before {
    color: #111816;
}

:root[data-theme="dark"] .page-mode-landing .campaign-solution-section {
    background: #1B2225;
}

:root[data-theme="dark"] .thanks-panel,
:root[data-theme="dark"] .cookie-card {
    background: var(--panel);
    border-color: var(--line-strong);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32);
}

.cta-link,
.landing-cta,
.landing-cta:hover,
.landing-cta:focus-visible,
.stat-cta {
    background: var(--cta-bg) !important;
    color: #ffffff !important;
    border-color: var(--cta-bg) !important;
}

.header-instagram,
.nav-instagram {
    background: var(--primary) !important;
    color: #ffffff !important;
}

.nav-topic-link.is-active,
.topic-card.is-active,
.topic-card:hover,
.topic-card:focus-visible {
    background: var(--card-accent, var(--topic-accent)) !important;
    border-color: var(--card-accent, var(--topic-accent)) !important;
    color: #ffffff !important;
}

.logo img {
    height: 88px;
    max-width: 240px;
    border-radius: 0;
    filter: none !important;
}

.brand-sash {
    border-radius: 0;
    padding: 0;
    min-width: 198px;
}

.page-mode-landing .campaign-hero {
    padding: clamp(44px, 5vw, 68px) 0 clamp(56px, 6vw, 82px);
    background: var(--page-bg) !important;
}

.page-mode-landing .campaign-hero-grid {
    width: min(1280px, calc(100% - 64px));
    grid-template-columns: minmax(430px, 0.88fr) minmax(480px, 1fr);
    gap: clamp(40px, 5.4vw, 84px);
    align-items: center;
}

.page-mode-landing .campaign-copy {
    max-width: 610px;
}

.page-mode-landing .campaign-hero h1 {
    font-size: clamp(3rem, 4.4vw, 4.85rem);
    line-height: 1.03;
    max-width: 13.6ch;
    text-wrap: balance;
    hyphens: none;
    overflow-wrap: normal;
}

.page-mode-landing .section-heading h2,
.page-mode-landing #services.campaign-section h2,
.page-mode-landing .campaign-final h2 {
    margin-top: 0;
}

.page-mode-landing .campaign-copy p {
    max-width: 580px;
    font-size: clamp(1rem, 1.16vw, 1.16rem);
    line-height: 1.58;
}

.page-mode-landing .hero-tags {
    margin: 1.1rem 0 0;
    gap: 0.45rem;
}

.page-mode-landing .hero-tags span {
    padding: 0.42rem 0.68rem;
    font-size: var(--fs-xs);
    line-height: 1.1;
    background: var(--panel);
    border-color: var(--line-strong);
}

:root[data-theme="dark"] .page-mode-landing .hero-tags span {
    background: var(--panel);
    border-color: var(--line-strong);
    color: var(--ink);
}

.page-mode-landing .hero-buttons {
    margin-top: 1.35rem;
}

.page-mode-landing .campaign-media {
    border-radius: 8px;
    align-self: center;
}

.page-mode-landing .campaign-media img {
    min-height: clamp(340px, 31vw, 470px);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.page-mode-landing .campaign-section,
.page-mode-landing .campaign-entry,
.page-mode-landing .campaign-form-section,
.page-mode-landing .campaign-final {
    padding: clamp(52px, 6vw, 80px) 0;
}

.page-mode-landing .campaign-entry {
    padding: clamp(34px, 4vw, 48px) 0 clamp(46px, 5vw, 66px);
}

.page-mode-landing .campaign-entry .home-card-grid {
    width: min(1120px, calc(100% - 64px));
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.page-mode-landing .campaign-entry-card {
    min-height: 128px;
    padding: 20px;
    align-content: start;
}

.page-mode-landing .campaign-entry-card h3 {
    font-size: 1.04rem;
}

.page-mode-landing .campaign-entry-card p {
    font-size: 0.92rem;
    line-height: 1.5;
}

.page-mode-landing .campaign-problem-section {
    padding: clamp(72px, 7vw, 110px) max(32px, calc((100% - 1180px) / 2));
    display: grid;
    grid-template-columns: minmax(400px, 0.96fr) minmax(0, 1.04fr);
    gap: clamp(34px, 5vw, 72px);
    align-items: center;
}

.page-mode-landing #focus > .section-heading,
.page-mode-landing .campaign-visuals > .section-heading,
.page-mode-landing #process > .section-heading,
.page-mode-landing #faq > .section-heading {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto clamp(20px, 2.4vw, 28px);
}

.page-mode-landing .campaign-visuals > .section-heading {
    width: min(980px, calc(100% - 64px));
    text-align: center;
}

.page-mode-landing .campaign-visuals > .section-heading h2::after {
    margin-left: auto;
    margin-right: auto;
}

.page-mode-landing .campaign-visuals > .section-heading p {
    max-width: 720px;
    margin: 0 auto;
}

.page-mode-landing .campaign-problem-section > .section-heading {
    width: auto;
    margin: 0;
}

.page-mode-landing .campaign-problem-section > .section-heading h2 {
    max-width: 650px;
    font-size: clamp(2rem, 3.45vw, 2.7rem);
    line-height: 1.14;
}

.page-mode-landing .campaign-problem-section > .section-heading p {
    max-width: 520px;
    font-size: 1.02rem;
    line-height: 1.72;
}

.page-mode-landing .campaign-problem-section .campaign-bullets {
    counter-reset: risk-card;
    width: auto;
    margin: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.page-mode-landing .campaign-problem-section .campaign-bullets span {
    counter-increment: risk-card;
    position: relative;
    min-height: 88px;
    display: flex;
    align-items: center;
    padding: 1rem 1.1rem 1rem 4.25rem;
    background: var(--panel);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.36;
    box-shadow: 0 16px 34px rgba(15, 58, 36, 0.08);
}

.page-mode-landing .campaign-problem-section .campaign-bullets span::before {
    content: counter(risk-card, decimal-leading-zero);
    position: absolute;
    left: 1.1rem;
    top: 50%;
    width: 2.28rem;
    height: 2.28rem;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    border-radius: var(--radius-pill);
    background: var(--primary);
    color: #ffffff;
    font-size: var(--fs-xs);
    letter-spacing: 0;
    font-weight: 700;
}

.page-mode-landing .campaign-solution-section {
    background: var(--page-bg);
    border-top: 1px solid var(--line);
}

.page-mode-landing .campaign-solution-section .campaign-solution-grid {
    width: min(1120px, calc(100% - 64px));
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(34px, 5vw, 72px);
    align-items: center;
}

.page-mode-landing .campaign-solution-section h2 {
    margin-top: 0;
    color: var(--ink);
    font-size: clamp(1.9rem, 3.2vw, 2.65rem);
    line-height: 1.1;
}

.page-mode-landing .campaign-solution-section p {
    max-width: 560px;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.72;
}

.page-mode-landing .campaign-solution-section .campaign-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.page-mode-landing .campaign-solution-section .campaign-checks li {
    min-height: 82px;
    display: flex;
    align-items: center;
    padding: 1rem 1.1rem 1rem 3rem;
    background: var(--panel);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.45;
    box-shadow: 0 14px 30px rgba(15, 58, 36, 0.07);
}

.page-mode-landing .campaign-solution-section .campaign-checks li::before {
    left: 1.15rem;
    top: 50%;
    width: 10px;
    height: 10px;
    transform: translateY(-50%);
    background: var(--accent);
    box-shadow: 0 0 0 7px rgba(218, 166, 42, 0.12);
}

.page-mode-landing #process .process {
    width: min(1280px, calc(100% - 64px));
    margin: 0 auto;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.page-mode-landing #process .process-step {
    min-height: 154px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-color: var(--line-strong);
}

.page-mode-landing #process .process-step h3 {
    font-size: 0.88rem;
    line-height: 1.25;
}

.page-mode-landing #process .process-step p {
    font-size: 0.92rem;
    line-height: 1.55;
}

.page-mode-landing .campaign-form-section {
    padding: clamp(58px, 7vw, 90px) 0;
}

.page-mode-landing .campaign-form-section--early {
    padding: clamp(28px, 4.5vw, 48px) 0;
}

.page-mode-landing #faq {
    padding: clamp(58px, 7vw, 92px) 0;
}

.page-mode-landing #faq .faq-list--home {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
    gap: 10px;
}

.page-mode-landing .campaign-final {
    padding: clamp(52px, 6vw, 74px) 0;
}

.topic-card {
    animation: none !important;
    opacity: 1 !important;
    --card-accent: var(--primary) !important;
}

@media (min-width: 769px) {
    .header-core {
        width: min(1640px, calc(100% - 96px));
        margin: 0 auto;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas:
            "brand topics actions"
            ". nav .";
        column-gap: 1.4rem;
        padding: 0.65rem 0 0.38rem;
    }

    .brand-sash {
        justify-self: start;
    }

    .topic-deck {
        justify-content: center;
        min-width: 0;
    }

    .header-actions {
        justify-self: end;
    }
}

@media (min-width: 981px) and (max-width: 1280px) {
    .header-core {
        width: min(1180px, calc(100% - 48px));
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "brand actions"
            "topics topics"
            "nav nav";
        column-gap: 1rem;
        row-gap: 0.35rem;
        padding-top: 0.55rem;
    }

    .brand-sash {
        justify-self: start;
    }

    .header-actions {
        justify-self: end;
        gap: 0.65rem;
        min-width: max-content;
    }

    .topic-deck {
        width: 100%;
        justify-self: stretch;
    }

    .topic-deck-inner {
        width: min(980px, 100%);
    }

    .topic-cards {
        width: 100%;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0.45rem;
    }

    .topic-card {
        flex: 1 1 0;
        min-width: 120px;
        max-width: 166px;
        padding-inline: 0.8rem;
    }

    .header-phone {
        padding-inline: 0.75rem;
        font-size: 0.88rem;
    }
}

@media (max-width: 1180px) {
    .page-mode-landing .campaign-hero-grid {
        width: min(100% - 48px, 1080px);
        grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1fr);
        gap: 34px;
    }

    .page-mode-landing #process .process {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .page-mode-landing .campaign-hero-grid,
    .page-mode-landing #services.campaign-section .home-split {
        width: min(100% - 40px, 720px);
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .page-mode-landing .campaign-copy {
        max-width: none;
    }

    .page-mode-landing .campaign-hero h1 {
        max-width: none;
    }

    .page-mode-landing .campaign-media img {
        min-height: 280px;
    }

    .page-mode-landing .campaign-entry .home-card-grid,
    .page-mode-landing .campaign-visuals > .section-heading,
    .page-mode-landing .campaign-visual-grid,
    .page-mode-landing #faq .faq-list--home,
    .page-mode-landing #process > .section-heading,
    .page-mode-landing #faq > .section-heading {
        width: min(100% - 40px, 720px);
    }

    .page-mode-landing .campaign-entry .home-card-grid {
        grid-template-columns: 1fr;
    }

    .page-mode-landing #focus.campaign-section {
        padding: clamp(48px, 8vw, 68px) max(20px, calc((100% - 720px) / 2));
        grid-template-columns: 1fr;
    }

    .page-mode-landing .campaign-visual-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-mode-landing #process .process {
        width: min(100% - 40px, 720px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .campaign-hero {
        padding-top: 84px;
    }

    .campaign-hero-grid {
        width: min(100% - 32px, 620px);
        grid-template-columns: 1fr;
    }

    .campaign-hero h1 {
        max-width: none;
    }

    .campaign-media img {
        min-height: 260px;
    }

    .page-mode-landing .campaign-hero {
        padding-top: 56px;
    }

    .page-mode-landing .campaign-hero-grid,
    .page-mode-landing .campaign-entry .home-card-grid,
    .page-mode-landing .campaign-visuals > .section-heading,
    .page-mode-landing .campaign-visual-grid,
    .page-mode-landing #services.campaign-section .home-split,
    .page-mode-landing #process .process,
    .page-mode-landing #faq .faq-list--home,
    .page-mode-landing #process > .section-heading,
    .page-mode-landing #faq > .section-heading {
        width: min(100% - 32px, 620px);
    }

    .page-mode-landing .campaign-visual-grid,
    .page-mode-landing #process .process {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-mode-landing .campaign-problem-section .campaign-bullets,
    .page-mode-landing .campaign-solution-section .campaign-checks {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .logo img {
        height: 52px;
        max-width: 148px;
    }

    .brand-sash {
        min-width: auto;
    }

    .page-mode-landing .campaign-hero h1 {
        font-size: clamp(2.35rem, 12vw, 3rem);
    }
}

@media (max-width: 980px) {
    header.nav-open {
        z-index: 80;
    }

    .header-core {
        width: 100%;
        margin: 0;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto auto auto auto;
        grid-template-areas: "brand . phone instagram theme menu";
        column-gap: clamp(0.4rem, 2vw, 0.8rem);
        row-gap: 0;
        align-items: center;
        padding: 0.45rem clamp(14px, 4vw, 32px) 0.4rem;
    }

    .brand-sash {
        grid-area: brand;
        justify-self: start;
        clip-path: none;
        border-radius: 18px 0 0 0;
        min-width: 0;
    }

    .logo img {
        height: clamp(52px, 8vw, 72px);
        max-width: 180px;
    }

    .topic-deck,
    .theme-toggle--desktop {
        display: none;
    }
    /* Mobil: .header-actions wird transparent gemacht (display: contents),
       damit die Telefonnummer ins Grid hochgezogen wird. */
    .header-actions {
        display: contents;
    }
    .header-actions > .header-instagram {
        display: inline-flex;
        grid-area: instagram;
        justify-self: end;
        width: 38px;
        height: 38px;
        border-radius: var(--radius-input);
    }
    .header-phone {
        grid-area: phone;
        justify-self: end;
    }

    .theme-toggle--mobile {
        display: inline-flex;
        grid-area: theme;
        justify-content: center;
        justify-self: end;
        width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 50%;
        margin: 0;
    }

    .theme-toggle--mobile .theme-toggle-label {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        grid-area: menu;
        justify-self: end;
        width: 38px;
        height: 38px;
        box-shadow: 0 10px 22px rgba(43, 47, 44, 0.16);
    }

    nav {
        position: fixed;
        top: calc(var(--header-offset, 76px) + 10px);
        left: clamp(12px, 3vw, 24px);
        right: clamp(12px, 3vw, 24px);
        width: auto;
        max-width: 560px;
        margin: 0 auto;
        transform: translateY(-10px);
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
        justify-content: stretch;
        gap: 1rem;
        padding: clamp(0.95rem, 3vw, 1.2rem);
        background: var(--nav-panel-bg);
        border: 1px solid var(--line-strong);
        border-radius: var(--radius-md);
        opacity: 0;
        pointer-events: none;
        z-index: 25;
        box-shadow: 0 20px 44px rgba(43, 47, 44, 0.28);
        max-height: calc(100dvh - var(--header-offset, 76px) - 24px);
        overflow-y: auto;
        overflow-x: hidden;
    }

    header.nav-open nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-backdrop {
        display: block;
    }

    header.nav-open .nav-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-group {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.55rem;
        min-width: 0;
    }

    .nav-group--topics,
    .nav-group--social {
        display: grid;
    }

    .nav-group--social {
        padding-top: 0.75rem;
        border-top: 1px solid var(--line);
        margin-top: 0.15rem;
    }

    .nav-group-title {
        display: block;
        padding: 0 0.1rem;
        color: var(--ink);
        font-size: var(--fs-xs);
        font-weight: 700;
        letter-spacing: var(--ls-caps-wide);
        text-transform: uppercase;
    }

    .nav-group-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.55rem;
        width: 100%;
        min-width: 0;
    }

    .nav-group-links--topics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-group-links--sections {
        grid-template-columns: 1fr;
    }

    nav a,
    .nav-instagram {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        width: 100%;
        min-height: 44px;
        padding: 0.76rem 0.85rem;
        border-radius: 14px;
        border: 1px solid var(--line);
        background: var(--panel);
        color: var(--ink);
        text-align: center;
        text-decoration: none;
        white-space: normal;
        overflow-wrap: anywhere;
        font-size: var(--fs-xs);
        line-height: 1.25;
        letter-spacing: var(--ls-caps);
        box-shadow: none;
    }

    :root[data-theme="dark"] nav a {
        background: var(--panel);
        border-color: var(--line-strong);
        color: var(--ink);
    }

    :root[data-theme="dark"] .nav-group-links--topics a {
        background: var(--panel-alt);
        border-color: rgba(134, 188, 37, 0.72);
    }

    :root[data-theme="dark"] .nav-group-links--sections a {
        background: #252D30;
    }

    .nav-group-links--topics a {
        border-color: var(--topic-accent);
        font-weight: 700;
        box-shadow: 0 8px 18px rgba(43, 47, 44, 0.12);
    }

    nav a:hover,
    nav a:focus-visible,
    .nav-group-links--topics a.is-active {
        border-color: var(--topic-accent);
        background: var(--topic-accent);
        color: #ffffff;
    }

    .nav-group-links--sections a {
        justify-content: flex-start;
        padding-inline: 1rem;
        text-align: left;
    }

    .nav-instagram {
        gap: 0.55rem;
        background: var(--primary);
        color: #ffffff;
        border-color: var(--primary);
        font-weight: 700;
    }

    .nav-instagram svg {
        width: 18px;
        height: 18px;
        flex: 0 0 auto;
    }
}

@media (max-width: 340px) {
    .nav-group-links--topics {
        grid-template-columns: 1fr;
    }
}

/* Lato-only typography finishing pass. */
h1,
h2,
h3,
.topic-card-title,
.home-reference-card h3,
.campaign-entry-card h3,
.home-choice-card h3,
.home-audience-card h3,
.campaign-audience-card h3 {
    letter-spacing: var(--ls-none);
}

.home-hero h1,
.campaign-hero h1,
.thanks-page h1 {
    font-size: var(--fs-hero);
    line-height: var(--lh-display);
    letter-spacing: var(--ls-none);
}

.hero h1 {
    line-height: var(--lh-display);
    letter-spacing: var(--ls-none);
}

.section-heading h2,
.page-mode-landing .campaign-problem-section > .section-heading h2,
.page-mode-landing .campaign-solution-section h2,
.page-mode-landing .inquiry--inline .inquiry-shell-header h2,
.page-mode-landing .campaign-final h2 {
    font-size: var(--fs-section);
    line-height: var(--lh-heading);
    letter-spacing: var(--ls-none);
}

.section-heading h2::after,
.campaign-visuals > .section-heading h2::after,
.about .section-heading h2::after {
    display: none;
}

.hero-subtitle,
.inquiry-kicker,
.nav-group-title,
.home-problem-card span,
.reference-facts dt,
.campaign-visual-card figcaption,
.landing-copy p {
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-caps);
    font-weight: 700;
}

.hero-subtitle,
.inquiry-kicker {
    letter-spacing: var(--ls-caps-wide);
}

nav a {
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-caps);
    font-weight: 700;
}

.topic-card-title,
.nav-group-links--topics a {
    font-size: 0.8125rem;
    letter-spacing: var(--ls-caps);
    font-weight: 700;
}

.cta-link,
.ghost-link {
    font-size: var(--fs-sm);
    font-weight: 700;
    line-height: 1.2;
}

.ghost-link {
    box-shadow: none;
}

.hero-buttons a.ghost-link[href^="tel:"] {
    border-color: transparent;
    background: transparent;
    color: var(--ink);
    padding-inline: 0.5rem;
}

.home-hero-copy p,
.campaign-copy p,
.home-problem-card p,
.campaign-entry-card p,
.home-choice-card p,
.home-reference-card p,
.home-audience-card p,
.campaign-audience-card p,
.page-mode-home #faq .faq-item p,
.page-mode-landing .campaign-entry-card p,
.page-mode-landing .campaign-solution-section p,
.page-mode-landing .campaign-problem-section > .section-heading p {
    line-height: var(--lh-body);
}

.home-problem-card span {
    color: var(--text-muted);
}

@media (min-width: 981px) {
    .home-hero,
    .campaign-hero {
        padding-top: clamp(84px, 7vw, 118px);
    }
}

@media (max-width: 520px) {
    :root {
        --fs-hero: clamp(1.78rem, 7.6vw, 2.08rem);
    }

    .home-hero,
    .campaign-hero {
        padding-top: clamp(76px, 18vw, 96px);
    }

    .page-mode-home .home-hero h1,
    .page-mode-landing .campaign-hero h1 {
        max-width: none;
        font-size: var(--fs-hero);
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: auto;
    }

    .home-hero h1,
    .campaign-hero h1 {
        line-height: 1.1;
    }

    .hero-buttons a.ghost-link[href^="tel:"] {
        width: auto;
        min-height: 0;
        margin-inline: auto;
        padding: 0.2rem 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        color: var(--ink);
    }

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .cookie-card {
        width: 100%;
        padding: 0.95rem 1rem;
        border-radius: 14px;
    }

    .cookie-title {
        font-size: var(--fs-sm);
    }

    .cookie-text {
        margin-bottom: 0.7rem;
        font-size: var(--fs-sm);
        line-height: 1.45;
    }

    .cookie-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.45rem;
    }

    .cookie-btn {
        width: 100%;
        min-width: 0;
        padding: 0.5rem 0.55rem;
        font-size: 0.78rem;
        white-space: nowrap;
    }
}

/* === Mobile: finales Glattziehen von Layout & Typografie === */
@media (max-width: 720px) {
    /* Hero */
    .home-hero,
    .campaign-hero {
        padding-block: clamp(60px, 12vw, 90px) clamp(28px, 6vw, 48px);
    }
    .home-hero h1,
    .campaign-hero h1 {
        font-size: clamp(2rem, 8vw, 2.7rem);
        line-height: 1.06;
        margin-bottom: 0.7rem;
    }
    .home-hero-tagline {
        margin: -0.2rem 0 1rem;
        font-size: 1.02rem;
        line-height: 1.3;
    }
    .home-hero-copy p {
        font-size: 1rem;
        line-height: 1.55;
    }
    .home-hero-points {
        gap: 0.5rem;
        margin: 1.1rem 0;
    }
    .home-hero-points li { font-size: 0.95rem; }
    .hero-buttons {
        gap: 0.6rem;
    }
    .hero-buttons .cta-link,
    .hero-buttons .ghost-link {
        width: 100%;
        justify-content: center;
        padding-block: 0.85rem;
    }
    .hero-buttons .ghost-link[href^="tel:"] {
        width: auto;
        margin-top: 0.4rem;
        background: transparent;
        border: 0;
        padding: 0;
        color: var(--ink);
    }

    /* Section-Vertikal-Rhythmus */
    section[id] {
        padding-block: clamp(40px, 9vw, 64px);
    }
    .home-problems,
    .home-audiences,
    #services,
    #advantages,
    #process,
    #projects,
    #faq,
    #contact {
        padding-block: clamp(40px, 9vw, 64px);
    }

    /* Section-Heading */
    .section-heading {
        width: min(100% - 28px, 720px);
        margin-inline: auto;
        margin-bottom: 1.3rem;
        gap: 0.3rem;
    }
    .section-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.18em;
        margin-bottom: 0.35rem;
    }
    .section-heading h2 {
        font-size: clamp(1.5rem, 6.4vw, 1.95rem);
        line-height: 1.18;
        margin: 0;
    }
    .section-heading .section-lead {
        margin-top: 0.3rem;
        font-size: 0.98rem;
        line-height: 1.5;
    }
    .section-tags {
        margin-top: 0.7rem;
        gap: 0.35rem;
    }
    .section-tags li {
        padding: 0.35rem 0.75rem;
        font-size: 0.78rem;
    }

    /* Card-Grids — alles auf eine Spalte mit ruhigem Gap */
    .home-card-grid {
        width: min(100% - 28px, 560px);
        gap: 14px;
        grid-template-columns: 1fr;
    }
    .home-card-grid--problems { grid-template-columns: 1fr; }
    .home-problem-card,
    .campaign-entry-card,
    .home-choice-card,
    .home-reference-card {
        padding: 20px;
        gap: 0.6rem;
        border-radius: var(--radius-md);
    }
    .home-problem-card h3,
    .home-choice-card h3,
    .home-reference-card h3,
    .campaign-entry-card h3 {
        font-size: 1.08rem;
        line-height: 1.25;
    }
    .home-problem-card p,
    .home-choice-card p,
    .home-reference-card p,
    .campaign-entry-card p {
        font-size: 0.94rem;
        line-height: 1.5;
    }

    /* Audience-Cards */
    .home-audience-grid,
    .campaign-audience-grid {
        width: min(100% - 28px, 560px);
        gap: 14px;
        grid-template-columns: 1fr;
    }
    .home-audience-card,
    .campaign-audience-card {
        padding: 20px;
        border-radius: var(--radius-md);
    }

    /* Services / Solutions */
    .service-grid {
        width: min(100% - 28px, 560px);
        gap: 16px;
        grid-template-columns: 1fr;
    }
    .service-card-content {
        padding: 1.2rem 1.2rem 1.4rem;
        gap: 0.6rem;
    }
    .service-card img { height: 140px; }
    .service-card h3 { font-size: 1.1rem; }

    /* Benefits */
    .benefits-grid {
        width: min(100% - 28px, 560px);
        gap: 14px;
        grid-template-columns: 1fr;
    }
    .benefit {
        padding: 1.3rem;
        min-height: 0;
    }
    .benefit h3 { font-size: 1rem; }
    .benefit p { font-size: 0.94rem; line-height: 1.5; }

    /* Process Steps */
    .process {
        width: min(100% - 28px, 560px);
        margin-inline: auto;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .process-step {
        padding: 1.1rem 1.2rem;
    }
    .process-step h3 { font-size: 0.98rem; }
    .process-step p { font-size: 0.92rem; }

    /* About-Sektion */
    .home-split {
        gap: 1.2rem;
    }
    .home-about-actions {
        gap: 0.7rem;
        flex-direction: column;
        align-items: stretch;
    }
    .home-about-actions .cta-link,
    .home-about-actions .ghost-link {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    /* FAQ */
    .page-mode-home #faq .faq-list--home {
        width: min(100% - 28px, 560px);
        gap: 8px;
    }
    .page-mode-home #faq .faq-item summary {
        font-size: 0.96rem;
        padding: 0.85rem 1rem;
        min-height: 50px;
    }
    .page-mode-home #faq .faq-item p {
        padding: 0 1rem 0.9rem 2rem;
        font-size: 0.92rem;
        line-height: 1.55;
    }

    /* Buttons generell etwas kompakter */
    .cta-link, .ghost-link {
        font-size: 0.92rem;
    }

    /* Topic-Deck im Header — sanftere Pills */
    .topic-card { min-width: 0; }

    /* Anfrageformular: auf kleinen Screens kompakter */
    .inquiry-form-footer {
        padding: 0.85rem;
    }
    .inquiry-form-footer .checkbox {
        font-size: 0.86rem;
        line-height: 1.4;
    }
}

/* === Shop-Einbindung: Startseiten-Sektion, Themenseiten-Block, Hero-/Nav-/Footer-Links === */
.home-shop,
.topic-shop {
    --topic-accent: var(--primary);
    --topic-accent-surface: var(--primary-tint);
}
.home-shop .section-heading,
.topic-shop .section-heading {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}
.home-card-grid--shop,
.home-card-grid--shop-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 1.6rem;
}
.home-card-grid--shop-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.shop-tile {
    flex-direction: column;
    gap: 0;
    border-radius: var(--radius-md);
}
.shop-tile .home-problem-btn-media {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--surface-soft);
}
.shop-tile .home-problem-btn-media img {
    min-height: 0;
    object-fit: contain;
    padding: 10px;
    mix-blend-mode: multiply;
}
.shop-tile .home-problem-btn-body {
    padding: 1rem 1.15rem 1.1rem;
    flex: 1 1 auto;
}
.shop-tile .home-problem-btn-cta {
    margin-top: auto;
    padding-top: 0.5rem;
}
.shop-tile .home-problem-btn-text {
    -webkit-line-clamp: 3;
}
.shop-tile--product .home-problem-btn-title {
    font-size: 0.92rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shop-tile--konfigurator {
    grid-column: 1 / -1;
    background: linear-gradient(90deg, var(--ink) 0%, var(--ink-deep) 100%);
    border-color: transparent;
    color: #fff;
}
.shop-tile--konfigurator .home-problem-btn-body {
    padding: 1.6rem 1.8rem;
    max-width: 62ch;
}
.shop-tile--konfigurator .home-problem-btn-kicker,
.shop-tile--konfigurator .home-problem-btn-cta {
    color: var(--accent);
}
.shop-tile--konfigurator .home-problem-btn-title {
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.2;
}
.shop-tile--konfigurator .home-problem-btn-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    -webkit-line-clamp: 4;
}
.shop-tile--konfigurator:hover,
.shop-tile--konfigurator:focus-visible {
    border-color: var(--accent);
    box-shadow: 0 14px 28px rgba(15, 58, 36, 0.28);
}
.home-shop-actions {
    width: min(1180px, calc(100% - 32px));
    margin: 1.6rem auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.home-shop-actions .cta-link.ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line-heavy);
    box-shadow: none;
}
.home-shop-actions .cta-link.ghost:hover,
.home-shop-actions .cta-link.ghost:focus-visible {
    border-color: var(--ink);
    background: var(--primary-tint);
}
.ghost-link--shop {
    gap: 0.4rem;
    border-color: var(--primary);
    color: var(--primary-deep);
}
.ghost-link--shop:hover,
.ghost-link--shop:focus-visible {
    background: var(--primary-tint);
    border-color: var(--primary-deep);
}
.nav-shop-link--primary {
    font-weight: 700;
    color: var(--primary-deep);
}
@media (min-width: 981px) {
    .nav-shop-link--first {
        margin-left: 0.35rem;
        padding-left: 0.9rem;
        border-left: 1px solid var(--line-strong);
    }
}
.footer-links--shop {
    font-weight: 600;
}
@media (max-width: 1024px) {
    .home-card-grid--shop,
    .home-card-grid--shop-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {
    .home-card-grid--shop,
    .home-card-grid--shop-products {
        grid-template-columns: minmax(0, 1fr);
    }
    .shop-tile .home-problem-btn-media {
        flex: 0 0 auto;
        width: 100%;
    }
    .shop-tile--konfigurator .home-problem-btn-body {
        padding: 1.3rem 1.2rem;
    }
}
:root[data-theme="dark"] .shop-tile .home-problem-btn-media {
    background: #e9ece9;
}
:root[data-theme="dark"] .shop-tile .home-problem-btn-media img {
    mix-blend-mode: normal;
}


/* === Mobile-Feinschliff (W0.4) === */
@media (max-width: 720px) {
    html { -webkit-text-size-adjust: 100%; }
    h1, h2, h3 { overflow-wrap: anywhere; hyphens: auto; }
    section { padding: 2.6rem 5%; }
    .section-heading h2 { font-size: clamp(1.55rem, 6.4vw, 1.9rem); }
    .section-heading .section-lead { font-size: 1rem; }
    .section-eyebrow { font-size: 0.68rem; letter-spacing: 0.14em; }

    /* --- Tap-Ziele: mindestens 44px --- */
    .text-link,
    .ratgeber-card__more,
    .hero-meta-link {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        min-height: 44px;
    }
    .inline-tag { padding: 0.3rem 0.8rem; margin: 0.12rem 0.08rem; }
    .footer-links { gap: 0.1rem 0.4rem; }
    .footer-links a,
    .footer-link-button { display: inline-block; padding: 0.6rem 0.45rem; }
    .footer-inner p { font-size: 0.9rem; }
    .faq-item summary { padding: 0.8rem 0.2rem; }
    .faq-group-title { font-size: 0.95rem; letter-spacing: 0.04em; }

    /* --- Startseite: Hero --- */
    .hero-subtitle { font-size: 0.7rem; letter-spacing: 0.1em; }
    .hero-buttons--home {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }
    .hero-buttons--home .cta-link,
    .hero-buttons--home .ghost-link--shop { grid-column: 1 / -1; }
    .hero-buttons--home .ghost-link {
        padding: 0.78rem 0.5rem;
        font-size: 0.84rem;
        white-space: nowrap;
    }
    .hero-meta-links { margin-top: 0.4rem; justify-content: center; }

    /* --- Startseite: Fokus-Schnellwahl als 2er-Raster --- */
    .home-shortcut-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 1.2rem;
    }
    .home-shortcut-row a:first-child { grid-column: 1 / -1; }
    .home-shortcut-row a {
        min-height: 44px;
        padding: 0.5rem 0.6rem;
        font-size: 0.86rem;
        text-align: center;
    }
    .home-card-grid--problems { gap: 12px; margin-top: 1rem; }

    /* --- Shop-Kacheln: kompakte Zeilen statt hoher Karten --- */
    .home-card-grid--shop,
    .home-card-grid--shop-products { gap: 10px; margin-top: 1.2rem; }
    .shop-tile:not(.shop-tile--konfigurator) { flex-direction: row; align-items: stretch; }
    .shop-tile:not(.shop-tile--konfigurator) .home-problem-btn-media {
        flex: 0 0 104px;
        width: 104px;
        min-height: 104px;
        aspect-ratio: auto;
    }
    .shop-tile .home-problem-btn-media img { padding: 6px; }
    .shop-tile:not(.shop-tile--konfigurator) .home-problem-btn-body {
        padding: 0.75rem 0.85rem 0.75rem 0.1rem;
        gap: 0.2rem;
    }
    .shop-tile .home-problem-btn-text { font-size: 0.8rem; -webkit-line-clamp: 2; }
    .shop-tile .home-problem-btn-cta { padding-top: 0.25rem; }
    .shop-tile--product .home-problem-btn-title { -webkit-line-clamp: 2; }
    .shop-tile--konfigurator .home-problem-btn-body { padding: 1.25rem 1.2rem; }
    .shop-tile--konfigurator .home-problem-btn-title { font-size: 1.15rem; }
    .shop-tile--konfigurator .home-problem-btn-text { font-size: 0.9rem; -webkit-line-clamp: 3; }
    .home-shop-actions { flex-direction: column; align-items: stretch; margin-top: 1.1rem; gap: 8px; }
    .home-shop-actions .cta-link { justify-content: center; text-align: center; }

    /* --- Leistungen / Ablauf / Projekte --- */
    .service-card img { height: 120px; }
    .service-card-content { padding: 1.1rem 1.15rem 1.2rem; }
    .page-mode-home #services .service-card img,
    .page-mode-topic #services .service-card img { height: 130px; }
    .page-mode-topic #services .service-card-content,
    .page-mode-home #services .service-card-content { padding: 1.05rem 1.1rem 1.15rem; }
    .page-mode-topic #services .service-grid { margin-top: 1.4rem; gap: 12px; }
    .process-step { padding: 1.05rem 1.1rem 1.1rem 1rem; }
    .process-step h3 { font-size: 0.74rem; letter-spacing: 0.06em; }
    .ref-masonry { column-count: 2; column-gap: 6px; padding: 6px; }
    .ref-masonry-item { margin-bottom: 6px; }
    .ref-gallery-section .ref-masonry-item:nth-child(n+9) { display: none; }

    /* --- Formular: Unterlagen-Chips zweispaltig --- */
    .inquiry-upload-types-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .inquiry-upload-pill { min-height: 44px; min-width: 0; overflow-wrap: anywhere; }

    /* --- Themenseiten: Galerie-Hero kompakt, Text lesbar, Hero nicht doppelt --- */
    .landing { min-height: 0; padding: 1rem 5% 1.4rem; }
    .landing-copy { margin-top: 0.9rem; }
    .landing-copy h2 { font-size: 1.55rem; }
    .landing-copy p,
    .landing-cta-row { display: none; }
    .hero-media { aspect-ratio: 4 / 3; min-height: 0; padding: 0.5rem; }
    .stat-bar { width: 100%; justify-content: center; gap: 0.6rem 1.2rem; padding: 0.8rem 1rem; }

    /* --- Inhaltsseiten (Referenzen, Über uns): Titel nicht breiter als der Bildschirm --- */
    .content-page-hero h1 {
        font-size: clamp(1.9rem, 8.5vw, 2.6rem);
        line-height: 1.08;
    }
    .content-page-actions { flex-wrap: wrap; }
    /* --- Themenseiten: Galerie-Hero entfällt (Hero #top übernimmt), Kontaktkasten + Formularbreite --- */
    .page-mode-topic .landing { display: none; }
    .contact-card {
        clip-path: none;
        border-radius: var(--radius-md);
        padding: 1.3rem 0.85rem 0.85rem;
        grid-template-columns: minmax(0, 1fr);
        box-shadow: none;
    }
    .contact-card h2 { font-size: 1.5rem; }
    .inquiry-body { grid-template-columns: minmax(0, 1fr); }
    .inquiry-form,
    .inquiry-grid,
    .inquiry-option { min-width: 0; }
    .shop-tile:not(.shop-tile--konfigurator) .home-problem-btn-media img { object-fit: cover; padding: 0; }
}
@media (max-width: 400px) {
    .hero-buttons--home .ghost-link { font-size: 0.8rem; padding: 0.75rem 0.35rem; }
    .home-shortcut-row a { font-size: 0.82rem; }
}

/* === DESIGN 10/2026 START ===
   Überarbeitung Layout + Typografie (14.10.2026). Steht bewusst am Ende des Stylesheets und
   überschreibt ältere Regeln; Rückweg: Block zwischen START und ENDE entfernen.
   Raster: eine Seitenbreite (--page-max) für alle Bereiche, eine Lesebreite für Textseiten. */
:root {
    --page-max: 1180px;
    --page-gutter: clamp(20px, 4vw, 48px);
    --read-max: 760px;
    --section-space: clamp(56px, 6.5vw, 96px);
    --primary-text: #476F10; /* 15.10.2026: 5,9:1 auf Weiß, 4,8:1 auf Grau (WCAG AA) */
    --gold-text: #8A6512;
    --card-border: rgba(15, 58, 36, 0.12);
    --card-shadow: 0 1px 2px rgba(15, 58, 36, 0.05), 0 8px 24px rgba(15, 58, 36, 0.06);
    --card-shadow-hover: 0 2px 4px rgba(15, 58, 36, 0.06), 0 14px 32px rgba(15, 58, 36, 0.10);
    --cta-text: #0F3A24;
}
:root[data-theme="dark"] {
    --primary-text: #A6D94A;
    --gold-text: #DAA62A;
    --card-border: rgba(246, 248, 244, 0.12);
    --card-shadow: none;
    --card-shadow-hover: 0 10px 28px rgba(0, 0, 0, 0.35);
    --cta-text: #10260F;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) { --primary-text: #A6D94A; --gold-text: #DAA62A; }
}

/* ---------- Typografie ---------- */
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
main h1, main h2, main h3 { color: var(--ink); text-wrap: balance; }
main p, main li { text-wrap: pretty; }
.section-eyebrow,
.ratgeber-kicker,
.inquiry-kicker,
.hero-subtitle {
    color: var(--primary-text);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    font-weight: 800;
}
.section-heading h2 {
    font-size: clamp(1.9rem, 3.1vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.section-heading .section-lead,
.section-heading > p {
    font-size: 1.08rem;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 62ch;
}
/* Links in Karten: Markengrün ist auf Weiß zu hell für kleinen Text */
.home-problem-btn-cta,
.service-card a,
.service-card-link,
.ratgeber-card__more,
.ratgeber-related a {
    color: var(--primary-text);
}

/* ---------- Knöpfe ---------- */
.cta-link {
    color: var(--cta-text);
    box-shadow: 0 1px 2px rgba(15, 58, 36, 0.14);
    letter-spacing: 0;
    text-transform: none;
}
.cta-link:hover,
.cta-link:focus-visible {
    box-shadow: 0 6px 16px rgba(218, 166, 42, 0.30);
    transform: translateY(-1px);
}
.ghost-link {
    border-radius: var(--radius-btn);
    border: 1.5px solid var(--ink);
    background: transparent;
    letter-spacing: 0;
    text-transform: none;
}
.ghost-link:hover,
.ghost-link:focus-visible {
    background: var(--ink);
    color: var(--panel);
    border-color: var(--ink);
    box-shadow: none;
}

/* ---------- Kopfbereich (Desktop; Hamburger-Menü bis 980 px bleibt unverändert) ---------- */
@media (min-width: 981px) {
    body > header { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(15, 58, 36, 0.05); }
    body > header .header-core {
        width: min(1320px, calc(100% - 2 * var(--page-gutter)));
        margin: 0 auto;
        padding: 10px 0 0;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas:
            "brand topics actions"
            "nav nav nav";
        column-gap: 28px;
        row-gap: 0;
        align-items: center;
    }
    body > header .brand-sash { justify-self: start; }
    body > header .logo img { height: 62px; filter: none; }
    body > header .topic-deck {
        border-top: 0;
        padding-top: 0;
        margin-top: 0;
        justify-content: center;
        min-width: 0;
    }
    body > header .topic-deck-inner { width: auto; max-width: 100%; }
    body > header .topic-cards { gap: 4px; flex-wrap: nowrap; justify-content: center; }
    body > header .topic-card {
        min-width: 0;
        max-width: none;
        flex: 0 0 auto;
        padding: 9px 14px;
        border: 1px solid transparent;
        border-top: 1px solid transparent;
        border-radius: 999px;
        background: transparent;
        box-shadow: none;
        transform: none;
        color: var(--ink);
        font-size: 0.92rem;
    }
    body > header .topic-card .topic-card-title { font-weight: 700; letter-spacing: 0; white-space: nowrap; }
    body > header .topic-card::before,
    body > header .topic-card::after { display: none; }
    body > header .topic-card:hover,
    body > header .topic-card:focus-visible {
        background: var(--primary-tint) !important;
        color: var(--ink) !important;
        border-color: transparent !important;
        box-shadow: none;
        transform: none;
    }
    body > header .topic-card.is-active {
        background: var(--ink) !important;
        color: var(--panel) !important;
        border-color: var(--ink) !important;
        box-shadow: none;
        transform: none;
    }
    body > header .header-actions { justify-self: end; gap: 10px; min-width: max-content; }
    body > header .header-phone { box-shadow: none; }
    body > header #site-nav {
        grid-area: nav;
        margin-top: 10px;
        padding: 9px 0 10px;
        border-top: 1px solid var(--line);
        gap: 4px 22px;
        flex-wrap: wrap;
        justify-content: center;
    }
    body > header #site-nav a { font-size: 0.74rem; letter-spacing: 0.09em; color: var(--ink-soft); }
    body > header #site-nav a:hover,
    body > header #site-nav a:focus-visible,
    body > header #site-nav a.is-active { color: var(--primary-text); }
}
/* Zu schmal für Logo + Themen + Kontakt in einer Zeile: Themen in eigene Zeile
   (6 kurze Themen auf Start-/Themenseiten passen ab 1080 px, 7 Anliegen ab 1360 px) */
@media (min-width: 981px) and (max-width: 1359px) {
    body:not(.page-mode-home):not(.page-mode-topic) > header .header-core {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "brand actions"
            "topics topics"
            "nav nav";
    }
    body:not(.page-mode-home):not(.page-mode-topic) > header .topic-deck { margin-top: 6px; }
}
@media (min-width: 981px) and (max-width: 1279px) {
    body > header #site-nav { gap: 4px 15px; }
    body > header #site-nav a { font-size: 0.7rem; letter-spacing: 0.07em; }
    body > header .logo img { height: 54px; }
}
@media (min-width: 981px) and (max-width: 1079px) {
    body > header .header-core {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "brand actions"
            "topics topics"
            "nav nav";
    }
    body > header .topic-deck { margin-top: 6px; }
}
@media (min-width: 981px) and (max-width: 1100px) {
    body > header #site-nav { gap: 4px 11px; }
    body > header #site-nav a { font-size: 0.68rem; letter-spacing: 0.05em; }
    body > header .topic-cards { overflow-x: auto; justify-content: flex-start; scrollbar-width: none; max-width: 100%; }
    body > header .topic-card { padding: 8px 11px; font-size: 0.86rem; }
}
/* ---------- Themenleiste im Kopf (15.10.2026): gefasste Leiste, Icon je Thema, 17 px ---------- */
@media (min-width: 981px) {
    body > header .topic-cards {
        gap: 4px;
        padding: 5px;
        border-radius: 999px;
        background: var(--surface-soft);
        box-shadow: inset 0 0 0 1px var(--card-border);
    }
    body > header .topic-card {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        gap: 9px;
        padding: 10px 20px;
        font-size: 1.06rem;
        line-height: 1.2;
        transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    }
    body > header .topic-card:has(.topic-card-icon) { padding-left: 15px; }
    /* Schatten älterer Karten-Regeln (Dunkelmodus) nicht auf die Reiter */
    body > header .topic-card:not(.is-active):not(:hover):not(:focus-visible) { box-shadow: none !important; }
    body > header .topic-card-icon { display: inline-flex; flex: none; color: var(--primary-text); transition: color 0.18s ease, transform 0.18s ease; }
    body > header .topic-card-icon svg { width: 22px; height: 22px; display: block; }
    body > header .topic-card:hover,
    body > header .topic-card:focus-visible {
        background: var(--panel) !important;
        color: var(--ink) !important;
        box-shadow: 0 1px 2px rgba(15, 58, 36, 0.08), 0 4px 14px rgba(15, 58, 36, 0.10) !important;
    }
    body > header .topic-card:hover .topic-card-icon { transform: translateY(-1px); }
    body > header .topic-card.is-active {
        background: var(--ink) !important;
        color: var(--panel) !important;
        box-shadow: 0 2px 8px rgba(15, 58, 36, 0.25) !important;
    }
    body > header .topic-card.is-active .topic-card-icon { color: var(--primary); }
    :root[data-theme="dark"] body > header .topic-card.is-active .topic-card-icon { color: #4F7A12; }
}
@media (min-width: 981px) and (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) body > header .topic-card.is-active .topic-card-icon { color: #4F7A12; }
}
/* Schmalere Bildschirme: etwas kompakter */
@media (min-width: 981px) and (max-width: 1359px) {
    body > header .topic-card { padding: 9px 16px; font-size: 1rem; gap: 7px; }
    body > header .topic-card:has(.topic-card-icon) { padding-left: 12px; }
    body > header .topic-card-icon svg { width: 20px; height: 20px; }
}
/* 7 Anliegen teilen sich ab 1360 px die Zeile mit Logo und Kontakt: etwas kompakter */
@media (min-width: 1360px) {
    body:not(.page-mode-home):not(.page-mode-topic) > header .topic-cards { gap: 2px; }
    body:not(.page-mode-home):not(.page-mode-topic) > header .topic-card { padding: 9px 13px; font-size: 1rem; }
}
/* Unter 1280 px reicht der Platz neben Logo und Kontakt nicht für Icons */
@media (min-width: 981px) and (max-width: 1279px) {
    body > header .topic-cards { gap: 2px; padding: 4px; }
    body > header .topic-card,
    body > header .topic-card:has(.topic-card-icon) { padding: 8px 14px; }
    body > header .topic-card-icon { display: none; }
}
@media (min-width: 981px) and (max-width: 1100px) {
    body > header .topic-card,
    body > header .topic-card:has(.topic-card-icon) { padding: 8px 11px; font-size: 0.92rem; }
}

/* ---------- Raster: eine Seitenbreite ---------- */
#advantages > .benefits-grid,
#advantages > .section-heading,
#process > .process,
#faq > .section-heading,
#faq > .faq-groups,
#contact > .inquiry,
#contact > .contact-card,
#landing > .landing-shell,
#about > .section-heading,
#about > .about-grid,
#services > .section-heading,
.campaign-hero-grid,
.campaign-audience-section > .section-heading,
.campaign-audience-grid,
.campaign-entry > .home-card-grid,
.campaign-solution-grid,
.campaign-visuals > .section-heading,
.campaign-visual-grid,
.content-page-shell,
.about-page-story,
.about-mission-shell,
.about-panorama-media,
.about-workflow-shell,
.about-claim-shell,
.thanks-shell {
    width: min(var(--page-max), 100%);
    max-width: var(--page-max);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
/* Abschnittsköpfe einheitlich linksbündig */
#about > .section-heading,
#services > .section-heading,
#advantages > .section-heading,
#faq > .section-heading,
.campaign-audience-section > .section-heading,
.campaign-visuals > .section-heading {
    text-align: left;
    align-items: flex-start;
}
#about > .section-heading p,
#services > .section-heading p,
.campaign-audience-section > .section-heading p,
.campaign-visuals > .section-heading p { margin-left: 0; margin-right: 0; }
.campaign-audience-section > .section-heading h2::after,
.campaign-audience-section > .section-heading .section-divider { margin-left: 0; }
/* FAQ: linksbündig im Raster, Lesebreite */
#faq > .faq-list,
#faq > .faq-list--home {
    width: min(var(--page-max), 100%);
    max-width: var(--page-max);
    margin-left: auto;
    margin-right: auto;
}
#faq > .faq-list > *,
#faq > .faq-list--home > * { max-width: 880px; }

/* Textseiten (Ratgeber, Rechtliches, Check): gleiche Breite, weniger Leerraum oben */
.legal-page-section {
    padding-top: clamp(40px, 5vw, 72px);
    padding-bottom: var(--section-space);
}
.legal-page-section > .legal-page-shell {
    width: min(980px, 100%);
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}
.content-page-hero { padding-top: clamp(48px, 5.5vw, 80px); }
.home-hero { padding-top: clamp(40px, 5vw, 72px); }

/* ---------- Überschriften der ersten Ebene ---------- */
.home-hero h1,
.campaign-hero h1 {
    color: var(--ink);
    font-size: clamp(2.5rem, 4.6vw, 4.1rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
}
.content-page-hero h1,
.reference-page-hero h1,
.thanks-hero h1 {
    font-size: clamp(2.2rem, 3.9vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
}
/* ---------- Raster generisch: Abschnitte füllen ihren Hintergrund voll, Inhalt liegt in --page-max ---------- */
/* 18.10.2026: Abschnitte mit eigener Breite (Kästen) ausgenommen – sonst landet der Raster-Abstand in der Box */
main > section:not(.legal-page-section):not(.campaign-inline-cta):not(.campaign-final),
main > div > section:not(.campaign-inline-cta):not(.campaign-final) {
    padding-left: max(var(--page-gutter), calc((100% - var(--page-max)) / 2)) !important;
    padding-right: max(var(--page-gutter), calc((100% - var(--page-max)) / 2)) !important;
}
main section > .section-heading,
main section > .focus-grid,
main section > .hero-grid,
main section > .gallery-grid,
main section > .slider-controls--inline,
main section > .process,
main section > .about-grid,
main section > .service-grid,
main section > .benefits-grid,
main section > .faq-groups,
main section > .home-card-grid,
main section > .home-shop-actions,
main section > .landing-shell,
main section > .home-hero-grid,
main section > .home-split {
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
main section > .section-heading { text-align: left !important; align-items: flex-start !important; }
main section > .section-heading > p,
main section > .section-heading > .section-lead { margin-left: 0 !important; margin-right: 0 !important; }

/* ---------- Startseite ---------- */
/* Themen im Fließtext als Textlinks statt Pillen */
.section-lead--inline-tags { line-height: 1.6 !important; }
.section-lead--inline-tags a {
    display: inline !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: var(--primary-text) !important;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}
/* Karten einheitlich: Linie + leichter Schatten, keine farbigen Kanten */
.home-audience-card,
.benefit,
.service-card,
.home-problem-btn:not(.shop-tile--konfigurator),
.process-step,
.ratgeber-card {
    border: 1px solid var(--card-border) !important;
    border-radius: 16px !important;
    box-shadow: var(--card-shadow) !important;
    background: var(--panel) !important;
}
.home-audience-card::before,
.home-audience-card::after,
.benefit::before { display: none !important; }
.home-audience-card { background-image: none !important; }
.home-problem-btn:not(.shop-tile--konfigurator):hover,
.service-card:hover,
.ratgeber-card:hover,
.home-audience-card:hover {
    box-shadow: var(--card-shadow-hover) !important;
    border-color: rgba(15, 58, 36, 0.22) !important;
}
/* Vorteile: Haken statt farbiger Oberkante */
.benefit { padding-top: 1.6rem !important; }
.benefit h3 { position: relative; padding-top: 3rem; margin-top: 0; }
.benefit h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: var(--primary-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F7A12' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 60% no-repeat;
}
/* Ablauf: nummerierte Schritte in einer Reihe */
.process { counter-reset: ev-step; gap: 1rem !important; }
@media (min-width: 1200px) {
    .process:has(> .process-step:nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
}
/* 18.10.2026: fünf Schritte bei 981–1199 px in zwei ausgewogenen Reihen (3 + 2) statt fünf zu schmalen Spalten */
@media (min-width: 981px) and (max-width: 1199px) {
    .process:has(> .process-step:nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
    .process:has(> .process-step:nth-child(5):last-child) > .process-step:nth-child(-n+3) { grid-column: span 2; }
    .process:has(> .process-step:nth-child(5):last-child) > .process-step:nth-child(n+4) { grid-column: span 3; }
}
@media (min-width: 981px) {
    .process:has(> .process-step:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    .process:has(> .process-step:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
.process-step { counter-increment: ev-step; padding: 1.4rem 1.3rem 1.5rem !important; }
.process-step::before {
    content: counter(ev-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    margin-bottom: 0.9rem;
    border-radius: 50%;
    background: var(--ink);
    color: var(--panel);
    font-family: var(--display-font);
    font-weight: 800;
    font-size: 0.95rem;
}
.process-step h3 {
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 1.02rem !important;
    line-height: 1.3;
    color: var(--ink) !important;
    margin-bottom: 0.45rem !important;
}
.process-step p { font-size: 0.95rem !important; }
.process-step:hover { transform: none !important; }

/* Referenz-Bildwand im Raster, ruhiger Abschluss nach unten */
.ref-masonry {
    column-count: 4 !important;
    column-gap: 10px !important;
    padding: 0 !important;
    max-height: 760px;
    overflow: hidden;
    border-radius: 16px;
    -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent);
    mask-image: linear-gradient(to bottom, #000 78%, transparent);
}
.ref-masonry-item { margin-bottom: 10px !important; border-radius: 12px !important; }
.ref-gallery-card {
    background: var(--panel) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border: 1px solid var(--card-border) !important;
    box-shadow: 0 24px 60px rgba(15, 58, 36, 0.22) !important;
}
.ref-gallery-cta,
.cta-accent {
    background: var(--ink) !important;
    color: var(--panel) !important;
    box-shadow: none !important;
}

/* FAQ: Pfeil rechts, ruhige Zeilen */
.faq-item { border: 1px solid var(--card-border) !important; border-radius: 14px !important; padding: 0 1.2rem !important; }
.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0 !important;
    font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: none !important; display: none !important; }
.faq-item summary::after {
    content: "";
    flex: 0 0 auto;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid var(--primary-text);
    border-bottom: 2px solid var(--primary-text);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-item p { padding: 0 0 1.1rem !important; margin: 0 !important; line-height: 1.6; }
#faq#faq > .section-heading,
#faq#faq > .faq-list { width: auto !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
#faq#faq > .faq-list { display: grid; gap: 10px; max-width: 880px !important; }

/* ---------- Themenseiten ---------- */
.landing-gallery { border: 0 !important; box-shadow: none !important; padding: 0 !important; background: transparent !important; }
.landing-copy { text-align: left !important; margin-left: 0 !important; margin-right: 0 !important; max-width: 820px !important; }
.landing-copy p {
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
    font-size: 1.08rem !important;
    line-height: 1.6 !important;
    color: var(--ink-soft) !important;
}
.landing-cta-row { justify-content: flex-start !important; }
.about-copy { margin-left: 0 !important; margin-right: 0 !important; text-align: left !important; }

/* Knopf-Rangfolge: in einer Gruppe ist nur der erste Knopf gold, die weiteren als Umriss */
main .cta-link ~ .cta-link:not(.ref-gallery-cta) {
    background: transparent !important;
    color: var(--ink) !important;
    border: 1.5px solid var(--ink) !important;
    box-shadow: none !important;
}
main .cta-link ~ .cta-link:not(.ref-gallery-cta):hover {
    background: var(--ink) !important;
    color: var(--panel) !important;
}
/* Helle Hintergründe der Wechselabschnitte etwas ruhiger */
:root:not([data-theme="dark"]) { --section-alt-base: #EEF2EE; }
main section > .home-shortcut-row,
main section > .campaign-hero-grid,
main section > .reference-page-list,
main section > .content-page-shell,
main section > .about-page-story,
main section > .about-mission-shell,
main section > .about-workflow-shell,
main section > .about-claim-shell,
main section > .about-panorama-media,
main section > .thanks-shell {
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* Referenz-Galerie (Startseite): Überschrift wie jeder Abschnitt, darunter gleichmäßiges Bildraster */
main #projects.ref-gallery-section {
    display: flex !important;
    flex-direction: column;
    padding-top: var(--section-space) !important;
    padding-bottom: var(--section-space) !important;
    height: auto !important;
    min-height: 0 !important;
}
.ref-gallery-section .ref-gallery-overlay {
    order: -1;
    position: static !important;
    inset: auto !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 0 28px !important;
    pointer-events: auto;
}
.ref-gallery-section .ref-gallery-card {
    align-items: flex-start !important;
    text-align: left !important;
    max-width: none !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    gap: 0.6rem !important;
}
.ref-gallery-section .ref-gallery-overlay h2 {
    font-size: clamp(1.9rem, 3.1vw, 2.6rem) !important;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.ref-gallery-section .ref-gallery-overlay p { max-width: 62ch !important; font-size: 1.08rem !important; }
.ref-gallery-section .ref-gallery-cta { margin-top: 0.6rem; }
.ref-gallery-section .ref-masonry {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(150px, 15vw, 220px);
    gap: 10px !important;
    column-count: auto !important;
    max-height: none !important;
    overflow: visible !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    border-radius: 0 !important;
}
.ref-gallery-section .ref-masonry-item { margin: 0 !important; height: 100%; }
.ref-gallery-section .ref-masonry-item:nth-child(n+9) { display: none !important; }
.ref-gallery-section .ref-masonry-item img { width: 100%; height: 100% !important; object-fit: cover; }
@media (max-width: 720px) {
    .ref-gallery-section .ref-masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; }
    .ref-gallery-section .ref-masonry-item:nth-child(n+7) { display: none !important; }
}
/* Themenseiten: Galerie ohne harte Rahmen, Kennzahl-Leiste als ruhige Zeile */
.landing-slide { border: 1px solid var(--card-border) !important; border-radius: 16px !important; }
.stat-bar {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    border-left: 3px solid var(--accent) !important;
    border-radius: 0 !important;
    padding: 2px 0 2px 16px !important;
    color: var(--ink) !important;
    display: inline-flex !important;
    align-items: center;
    gap: 18px !important;
}
.stat-bar .stat-value { color: var(--ink) !important; font-size: 1.12rem !important; }
.stat-bar .stat-label { color: var(--ink-soft) !important; }
.stat-bar .stat-cta {
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: var(--primary-text) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 0.95rem !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* Kleine Kategorie-Labels in Karten lesbar */
.home-problem-btn:not(.shop-tile--konfigurator) .home-problem-btn-kicker { color: var(--primary-text) !important; }
/* Shop-Kacheln: Produktbilder auf Weiß statt Grau */
.shop-tile:not(.shop-tile--konfigurator) .home-problem-btn-media {
    background: #fff !important;
    border-bottom: 1px solid var(--card-border);
}
.shop-tile:not(.shop-tile--konfigurator) .home-problem-btn-media img { mix-blend-mode: normal !important; padding: 14px !important; }
/* Abschnittsköpfe: alle Teile linksbündig (manche Köpfe zentrierten Überschrift/Trenner per margin:auto) */
main section > .section-heading > * { margin-left: 0 !important; margin-right: 0 !important; text-align: left !important; }
/* Schlagwort-Pillen: Satzschreibung statt Versalien */
.hero-tags { gap: 8px !important; }
.hero-tags span {
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    padding: 6px 12px !important;
    border-color: var(--card-border) !important;
    background: var(--panel) !important;
    color: var(--ink) !important;
}
/* Ratgeber-Artikel: durchgehender Lesefluss ohne Einzug und Trennlinien */
.ratgeber-body .ratgeber-section,
.ratgeber-body .ratgeber-faq {
    padding: 0 !important;
    margin-top: 2.6rem !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
}
.ratgeber-body p,
.ratgeber-body li { font-size: 1.06rem; line-height: 1.7; }
.ratgeber .ratgeber-head { margin-bottom: 0.4rem; }
/* Über uns: Text und Bilder gleich breit, Text oben bündig unter der Kennzeile */
.about-page-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: start !important;
    margin-top: 18px;
}
.about-page-hero-copy { max-width: none !important; padding-top: 8px; }
.about-page-hero h1 { margin-top: 0 !important; }
/* Referenzen: Hinweisbox behält ihren Innenabstand */
main section > .content-page-shell.reference-crosslink-inner { padding: 22px 28px !important; }
/* Über uns: Kopf kompakter */
.about-page-hero { padding-top: clamp(48px, 5.5vw, 80px) !important; }
.about-page-hero .about-title-main { font-size: clamp(2.2rem, 3.9vw, 3.4rem) !important; line-height: 1.08 !important; }
.about-page-hero .about-title-focus { max-width: none !important; font-size: clamp(1.3rem, 2.1vw, 1.8rem) !important; margin-top: 0.8rem !important; }
.about-page-hero-copy > p { margin-bottom: 1.4rem !important; }

/* ---------- Footer: vier Spalten + Rechtliches ---------- */
body > footer { padding: clamp(44px, 5vw, 64px) 0 24px !important; text-align: left !important; }
body > footer .footer-inner--grid {
    display: grid;
    /* 19.10.2026: fünf Spalten – Firma, Leistungen, Service, Online-Shop, Kontakt */
    grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr);
    gap: 32px 40px;
    width: min(var(--page-max), calc(100% - 2 * var(--page-gutter)));
    margin: 0 auto;
    align-items: start;
}
body > footer .footer-col { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
body > footer .footer-title {
    margin: 0 0 6px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #B8E056;
}
body > footer .footer-col a { color: var(--footer-ink); text-decoration: none; font-size: 0.95rem; opacity: 0.88; }
body > footer .footer-col a:hover,
body > footer .footer-col a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
body > footer .footer-logo { align-self: flex-start; opacity: 1 !important; }
body > footer .footer-logo img { height: 64px; width: auto; display: block; }
body > footer .footer-claim { margin-top: 6px; max-width: 34ch; font-size: 0.95rem; line-height: 1.6; opacity: 0.82; }
body > footer .footer-address { font-size: 0.95rem; line-height: 1.6; opacity: 0.88; }
body > footer .footer-contact-link { font-weight: 700; opacity: 1 !important; }
body > footer .footer-cta {
    align-self: flex-start;
    margin-top: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-btn);
    background: var(--accent);
    color: #0F3A24 !important;
    font-weight: 800;
    opacity: 1 !important;
    text-decoration: none !important;
}
body > footer .footer-cta:hover { background: #E4B73D; }
body > footer .footer-bottom {
    width: min(var(--page-max), calc(100% - 2 * var(--page-gutter)));
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(229, 231, 234, 0.16);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    align-items: center;
    font-size: 0.86rem;
}
body > footer .footer-copy { opacity: 0.75; }
body > footer .footer-bottom .footer-links { justify-content: flex-end; gap: 8px 18px; font-size: 0.86rem; }
body > footer .footer-bottom .footer-links a,
body > footer .footer-bottom .footer-link-button { opacity: 0.85; }
body > footer .footer-mini { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 0; }
body > footer .footer-mini a { font-size: 0.9rem; }
@media (max-width: 1180px) {
    body > footer .footer-inner--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    body > footer .footer-inner--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body > footer .footer-col--brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    body > footer .footer-inner--grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    body > footer .footer-bottom { flex-direction: column; align-items: flex-start; }
    body > footer .footer-bottom .footer-links { justify-content: flex-start; }
}
/* Goldene Hauptknöpfe: dunkle Schrift (Weiß auf Gold erreicht nur 2,2:1 Kontrast) */
main .cta-link:not(.ref-gallery-cta):not(.cta-accent),
.pcheck .cta-link {
    color: #0F3A24 !important;
}
@media (max-width: 720px) {
    .stat-bar { justify-content: flex-start !important; text-align: left !important; flex-wrap: wrap; }
    .stat-bar .stat-item { text-align: left !important; }
}
/* Dunkelmodus: keine Kästen hinter Seitenköpfen, Themen ohne Umrandung */
main .ratgeber-head,
main .pcheck-head,
main .legal-hero {
    background: none !important;
    box-shadow: none !important;
}
:root[data-theme="dark"] body > header .topic-card:not(.is-active):not(:hover) {
    border-color: transparent !important;
    background: transparent !important;
}
/* Themenseiten, Abschnitt „Über uns“: Text linksbündig, Bildleiste in voller Rasterbreite */
.about-grid > .about-copy { justify-self: start !important; margin-left: 0 !important; text-align: left !important; }
.about-grid > .about-slider { justify-self: stretch !important; width: auto !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
/* Bilder mit width/height-Angabe (gegen Layoutsprünge) behalten ihr Seitenverhältnis; Regeln mit Klassen gehen vor */
:where(img[width][height]) { height: auto; }
/* Ratgeber: Titelbild im Artikel, Vorschaubilder in der Übersicht */
.ratgeber-hero { margin: 1.6rem 0 0.4rem; max-width: 760px; }
.ratgeber-hero img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.ratgeber-card__media {
    display: block;
    margin: -1.5rem -1.5rem 1.1rem;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-soft);
}
.ratgeber-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ratgeber-card:hover .ratgeber-card__media img { transform: scale(1.03); }
.ratgeber-card__heading { margin: 0; font-size: inherit; line-height: inherit; }
/* Prüfpflichten-Check: Überblick unter dem Formular */
.pcheck-info-section { padding-top: var(--section-space) !important; }
.pcheck-info-h { margin: 0 0 0.6rem; font-family: var(--display-font); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2; color: var(--ink); }
.pcheck-info-lead { margin: 0 0 1.4rem; max-width: 62ch; font-size: 1.05rem; line-height: 1.6; color: var(--ink-soft); }
.pcheck-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pcheck-info-item { border: 1px solid var(--card-border); border-radius: 14px; padding: 1.1rem 1.2rem; background: var(--panel); }
.pcheck-info-item h3 { margin: 0 0 0.45rem; font-size: 1.05rem; color: var(--ink); }
.pcheck-info-item p { margin: 0 0 0.6rem; font-size: 0.95rem; line-height: 1.6; color: var(--ink-soft); }
.pcheck-info-item a { font-weight: 700; font-size: 0.92rem; color: var(--primary-text); }
@media (max-width: 640px) { .pcheck-info-grid { grid-template-columns: minmax(0, 1fr); } }
.ratgeber-index .ratgeber-head .ratgeber-lede { margin-top: 0.9rem; }
/* ---------- Korrekturen Dunkelmodus + Kontrast (14.10.2026, nach Live-Prüfung) ---------- */
/* Umriss-Knöpfe neben dem Gold-Knopf: Schrift und Rand folgen der Textfarbe (vorher im Dunkelmodus unsichtbar) */
main .cta-link ~ .cta-link.cta-link:not(.ref-gallery-cta) {
    color: var(--ink) !important;
    border: 1.5px solid var(--ink) !important;
    background: transparent !important;
    box-shadow: none !important;
}
main .cta-link ~ .cta-link.cta-link:not(.ref-gallery-cta):hover,
main .cta-link ~ .cta-link.cta-link:not(.ref-gallery-cta):focus-visible {
    color: var(--panel) !important;
    background: var(--ink) !important;
}
/* Markengrün als Fläche: dunkle Schrift (Weiß auf #86BC25 erreicht nur 2,3:1) */
.ratgeber-btn--primary {
    background: var(--accent) !important;
    color: #0F3A24 !important;
    box-shadow: none !important;
}
.legal-section-number,
.wf-btn,
.nav-instagram,
.nav-topic-link.is-active,
.header-instagram {
    color: #0F3A24 !important;
}
/* Kontaktbox der Themenseiten: dunkelgrün statt grellem Hellgrün */
.contact-card {
    background: linear-gradient(90deg, #0F3A24, #164a2d) !important;
    color: #fff !important;
}
.contact-card h2,
.contact-card p,
.contact-card strong,
.contact-card a:not(.cta-link) { color: #fff !important; }
:root[data-theme="dark"] .contact-card { background: linear-gradient(90deg, #12301F, #183E28) !important; }
/* Produktbilder im Dunkelmodus auf ruhigem Hellgrau statt grellem Weiß */
:root[data-theme="dark"] .shop-tile:not(.shop-tile--konfigurator) .home-problem-btn-media {
    background: #D9DFDB !important;
    border-bottom-color: transparent !important;
}
:root[data-theme="dark"] .shop-tile:not(.shop-tile--konfigurator) .home-problem-btn-media img { mix-blend-mode: multiply !important; }
/* Landingpages: Einleitung unter „Für Hausverwaltungen …“ linksbündig, Trennstrich links */
.campaign-audience-lead { text-align: left !important; margin-left: 0 !important; }
.campaign-audience-lead::before { left: 0 !important; transform: none !important; }
/* Konfigurator-Kachel: feste Markenfarben (der Verlauf nutzte die Textfarbe und wurde im Dunkelmodus fast weiß) */
.shop-tile--konfigurator { background: linear-gradient(90deg, #0F3A24 0%, #0B1F15 100%) !important; }
.shop-tile--konfigurator .home-problem-btn-title,
.shop-tile--konfigurator .home-problem-btn-text { color: #fff !important; }
/* ---------- Handy-Korrekturen (14.10.2026) ---------- */
/* Textseiten: Seitenrand wie überall (vorher lief der Text auf dem Handy bis an den Bildschirmrand) */
.legal-page-section > .legal-page-shell {
    width: min(980px, calc(100% - 2 * var(--page-gutter))) !important;
    max-width: 980px;
}
/* Über uns: zwei Spalten nur auf dem Desktop */
@media (max-width: 980px) {
    .about-page-hero-grid { grid-template-columns: minmax(0, 1fr) !important; }
}
/* Handy: keine verschachtelten Rahmen, Inhalt nutzt die Breite innerhalb des Seitenrands */
@media (max-width: 640px) {
    /* Prüfpflichten-Check: Fragen und Ergebnis ohne äußeren Kasten */
    .pcheck-app {
        border: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        margin-top: 1.4rem !important;
    }
    .pcheck-option__box { padding: 12px 12px 12px 40px !important; }
    .pcheck-option__box::before { left: 12px !important; top: 14px !important; }
    .pcheck-card { padding: 14px 14px 16px !important; border-left-width: 4px !important; }
    .pcheck-card__text { font-size: 0.97rem; }
    .pcheck-pkg { padding: 18px 16px !important; }
    .pcheck-pkg__actions .cta-link,
    .pcheck-pkg__actions .ghost-link { width: 100%; justify-content: center; text-align: center; }
    .pcheck-direct { font-size: 0.9rem; }
    .pcheck-info-item { padding: 14px !important; }
    /* Formulare: Karte bis an den Seitenrand, kleinerer Innenabstand */
    .inquiry-shell { margin-left: 0 !important; margin-right: 0 !important; }
    .inquiry-shell-header,
    .inquiry-body { padding-left: 16px !important; padding-right: 16px !important; }
    /* Karten mit großem Innenabstand */
    .reference-case { padding: 16px !important; }
    .about-story-block { padding: 20px !important; }
    main section > .content-page-shell.reference-crosslink-inner { padding: 18px 16px !important; }
    .campaign-entry-card { padding-left: 16px !important; padding-right: 16px !important; }
}
@media (max-width: 640px) {
    .inquiry-shell { width: auto !important; max-width: none !important; }
}
/* ---------- Handy-Menü (Burger) – neu 14.10.2026 ---------- */
.nav-group--contact { display: none; }
@media (max-width: 980px) {
    /* Abdunkelung erst unter dem Kopf: Logo, Telefon und ✕ bleiben klar sichtbar */
    body > header .nav-backdrop {
        top: var(--header-offset, 76px) !important;
        background: rgba(11, 31, 21, 0.42) !important;
        -webkit-backdrop-filter: blur(2px) !important;
        backdrop-filter: blur(2px) !important;
    }
    body > header #site-nav {
        top: calc(var(--header-offset, 76px) + 8px) !important;
        left: 12px !important;
        right: 12px !important;
        padding: 18px 16px 14px !important;
        gap: 20px !important;
        border-radius: 18px !important;
        border: 1px solid var(--card-border) !important;
        background: var(--panel) !important;
        box-shadow: 0 24px 60px rgba(11, 31, 21, 0.28) !important;
    }
    body > header #site-nav .nav-group { gap: 8px !important; padding: 0 !important; border: 0 !important; }
    body > header #site-nav .nav-group-title {
        display: block !important;
        margin: 0 0 2px !important;
        font-size: 0.72rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.14em !important;
        text-transform: uppercase;
        color: var(--primary-text) !important;
    }
    /* Alle Menülinks in Satzschreibung */
    body > header #site-nav a { text-transform: none !important; letter-spacing: 0 !important; font-family: var(--body-font); }
    /* Themen / Anliegen: kompakte Kacheln in zwei Spalten */
    body > header #site-nav .nav-group-links--topics {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    body > header #site-nav .nav-group-links--topics a {
        display: flex !important;
        align-items: center;
        justify-content: flex-start !important;
        min-height: 44px;
        padding: 10px 12px !important;
        border: 1px solid var(--card-border) !important;
        border-radius: 12px !important;
        background: var(--panel) !important;
        box-shadow: none !important;
        color: var(--ink) !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        line-height: 1.25;
        text-align: left !important;
    }
    body > header #site-nav .nav-group-links--topics a.is-active {
        background: var(--ink) !important;
        border-color: var(--ink) !important;
        color: var(--panel) !important;
    }
    /* Inhalte: ruhige Liste in zwei Spalten, Trennlinien statt Kästen */
    body > header #site-nav .nav-group-links--sections {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 18px !important;
        row-gap: 0 !important;
    }
    body > header #site-nav .nav-group-links--sections a {
        display: flex !important;
        align-items: center;
        justify-content: space-between !important;
        min-height: 46px;
        padding: 0 2px !important;
        border: 0 !important;
        border-bottom: 1px solid var(--card-border) !important;
        border-radius: 0 !important;
        background: none !important;
        box-shadow: none !important;
        color: var(--ink) !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        text-align: left !important;
    }
    body > header #site-nav .nav-group-links--sections a::after { content: "›"; color: var(--primary-text); font-size: 1.25rem; line-height: 1; }
    body > header #site-nav .nav-group-links--sections a.is-active { color: var(--primary-text) !important; }
    /* Online-Shop: drei Links in einer Reihe */
    body > header #site-nav .nav-group-links--shop {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    body > header #site-nav .nav-group-links--shop a {
        display: flex !important;
        align-items: center;
        justify-content: center !important;
        min-height: 44px;
        padding: 8px 6px !important;
        border: 1px solid var(--card-border) !important;
        border-radius: 12px !important;
        background: var(--panel) !important;
        box-shadow: none !important;
        color: var(--ink) !important;
        font-size: 0.92rem !important;
        font-weight: 700 !important;
        text-align: center !important;
    }
    body > header #site-nav .nav-group-links--shop a.nav-shop-link--primary {
        border-color: var(--accent) !important;
        background: rgba(218, 166, 42, 0.12) !important;
    }
    /* Kontakt: großer Anruf-Knopf, Instagram als Textlink */
    body > header #site-nav .nav-group--contact { display: block !important; padding-top: 14px !important; border-top: 1px solid var(--card-border) !important; }
    body > header #site-nav .nav-phone {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 50px;
        border-radius: 14px !important;
        background: var(--accent) !important;
        color: #0F3A24 !important;
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        text-decoration: none;
    }
    body > header #site-nav .nav-phone__label { font-weight: 600; }
    body > header #site-nav .nav-group--social { display: flex !important; justify-content: center; margin-top: -10px !important; }
    body > header #site-nav .nav-instagram {
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
        width: auto !important;
        min-height: 40px;
        padding: 6px 10px !important;
        border: 0 !important;
        background: none !important;
        box-shadow: none !important;
        color: var(--ink) !important;
        font-size: 0.95rem !important;
        font-weight: 600 !important;
    }
    body > header #site-nav .nav-instagram svg { width: 18px !important; height: 18px !important; }
}
/* ---------- Umbrüche (14.10.2026) ---------- */
/* Ausdrücke, die nicht umbrechen dürfen (vom Skript gesetzt), dazu Telefon- und E-Mail-Links */
.ev-nb { white-space: nowrap; }
/* iPhone erkennt Telefonnummern selbst und färbt sie als Link – Farbe und Schrift vom Text übernehmen */
a[x-apple-data-detectors] {
    color: inherit !important;
    text-decoration: inherit !important;
    font: inherit !important;
}
/* Fließtext: letzte Zeile nicht mit einem einzelnen Wort; Überschriften ausgewogen */
main p, main li, main dd, main td, footer p { text-wrap: pretty; }
main h1, main h2, main h3, main h4, main summary { text-wrap: balance; }
/* Formular: Link „Datenschutzerklärung“ lesbar (Markengrün auf Hellgrau war zu blass) */
.inquiry-form-footer a,
.inquiry-form a:not(.cta-link) { color: var(--primary-text) !important; text-decoration: underline; text-underline-offset: 2px; }
/* Ratgeber-Handlungsaufruf: Telefon- und E-Mail-Links in Textfarbe */
.ratgeber-cta p a[href^="tel:"],
.ratgeber-cta p a[href^="mailto:"] { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
/* ---------- Kontrast (15.10.2026, WCAG AA 4,5:1): Markengrün #86BC25 bleibt für Flächen und Icons,
   Schrift in --primary-text (hell #476F10, dunkel #A6D94A) ---------- */
.home-shortcut-row > a,
.inquiry-kicker,
.hero-subtitle,
.legal-section-label,
.legal-toc-num,
[data-intent-link] > strong,
.campaign-entry-card > strong,
.focus-eyebrow,
.section-eyebrow,
.stat-cta,
.ghost-link--shop,
.about-workflow-card > div > span,
td[data-label="Preis"] { color: var(--primary-text); }
.inquiry--inline .inquiry-kicker,
.legal-hero .hero-subtitle,
.pricing-table:not(.pricing-table--zones) td:last-child { color: var(--primary-text); }
.pricing-note { color: var(--gold-text); }
.legal-tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--panel); }
/* Kartenüberschriften (vorher h4, jetzt h3 für die richtige Reihenfolge): Farbe wie bisher */
.detail-card h3 { color: var(--ink-soft); }
/* ---------- Wartungspreis „ab … je Anlage“ (15.10.2026) ---------- */
.pricing-from { display: inline-block; margin-top: 1.4rem; padding: 18px 26px 18px 22px; background: var(--panel); border: 1px solid var(--card-border); border-left: 5px solid var(--accent); border-radius: 14px; box-shadow: var(--card-shadow); }
.pricing-from__price { margin: 0; font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.15; font-weight: 700; color: var(--ink); }
.pricing-from__note { margin: 6px 0 0; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary-text); }
/* ---------- Fehlerseite 404 (15.10.2026) ---------- */
.notfound-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 40px; margin-top: 36px; }
.notfound-col h2 { margin: 0 0 12px; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary-text); }
.notfound-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.notfound-col a { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; }
.notfound-col a:hover, .notfound-col a:focus-visible { color: var(--primary-text); }
.notfound-col .topic-card-icon { color: var(--primary-text); display: inline-flex; }
.notfound-col .topic-card-icon svg { width: 20px; height: 20px; }
.notfound-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
/* ---------- „Nächster Schritt“ auf den Landingpages + Layout-Korrekturen (18.10.2026) ---------- */
.page-mode-landing .campaign-inline-cta {
    --cta-panel: #0F3A24;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    box-sizing: border-box;
    width: min(var(--page-max), calc(100% - 2 * var(--page-gutter)));
    margin: clamp(40px, 6vw, 72px) auto 0;
    padding: clamp(30px, 4vw, 52px) clamp(22px, 4.5vw, 56px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(22px, 4vw, 56px);
    align-items: center;
    border-radius: 20px;
    background: var(--cta-panel);
    color: #F6F8F4;
    box-shadow: 0 28px 48px -28px rgba(15, 58, 36, 0.6);
}
.page-mode-landing .campaign-inline-cta__art {
    position: absolute;
    top: -14px;
    right: -26px;
    width: clamp(210px, 19vw, 280px);
    height: auto;
    color: #86BC25;
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
}
.page-mode-landing .campaign-inline-cta__copy { min-width: 0; max-width: 660px; }
.page-mode-landing .campaign-inline-cta .campaign-inline-cta__eyebrow {
    margin: 0 0 0.55rem;
    color: #A6D94A;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}
.page-mode-landing .campaign-inline-cta h2 {
    margin: 0 0 0.7rem;
    color: #FFFFFF;
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
    text-wrap: balance;
}
.page-mode-landing .campaign-inline-cta .campaign-inline-cta__text {
    max-width: 56ch;
    margin: 0;
    color: rgba(246, 248, 244, 0.84);
    font-size: 1.02rem;
    line-height: 1.6;
}
.page-mode-landing .campaign-inline-cta__actions {
    display: grid;
    justify-items: center;
    align-self: end;
    gap: 0.9rem;
}
.page-mode-landing .campaign-inline-cta .cta-link {
    padding: 1rem 1.9rem;
    font-size: 1rem;
    white-space: nowrap;
    box-shadow: 0 12px 26px -12px rgba(218, 166, 42, 0.7);
}
.page-mode-landing .campaign-inline-cta .campaign-inline-cta__tel {
    margin: 0;
    color: rgba(246, 248, 244, 0.78);
    font-size: 0.92rem;
}
.page-mode-landing .campaign-inline-cta__tel a {
    color: #FFFFFF;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(166, 217, 74, 0.75);
    text-underline-offset: 3px;
    white-space: nowrap;
}
.page-mode-landing .campaign-inline-cta__tel a:hover { text-decoration-color: #A6D94A; }
.page-mode-landing .campaign-inline-cta .cta-link:focus-visible,
.page-mode-landing .campaign-inline-cta__tel a:focus-visible {
    outline: 3px solid #F6F8F4;
    outline-offset: 3px;
}
:root[data-theme="dark"] .page-mode-landing .campaign-inline-cta {
    --cta-panel: #143B27;
    box-shadow: inset 0 0 0 1px rgba(246, 248, 244, 0.1);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .page-mode-landing .campaign-inline-cta {
        --cta-panel: #143B27;
        box-shadow: inset 0 0 0 1px rgba(246, 248, 244, 0.1);
    }
}
@media (max-width: 980px) {
    .page-mode-landing .campaign-inline-cta { grid-template-columns: 1fr; }
    .page-mode-landing .campaign-inline-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
    .page-mode-landing .campaign-inline-cta__art { width: 220px; right: -34px; top: -8px; opacity: 0.14; }
}
@media (max-width: 560px) {
    .page-mode-landing .campaign-inline-cta { border-radius: 16px; padding: 28px 20px 24px; }
    .page-mode-landing .campaign-inline-cta__actions { flex-direction: column; align-items: stretch; }
    .page-mode-landing .campaign-inline-cta .cta-link { white-space: normal; justify-content: center; text-align: center; }
    .page-mode-landing .campaign-inline-cta .campaign-inline-cta__tel { text-align: center; }
    .page-mode-landing .campaign-inline-cta__art { width: 170px; right: -30px; opacity: 0.12; }
}
/* Lange Wörter in schmalen Karten trennen statt überlaufen („Herstellerunabhängig“, „Schadensbeschreibung“) */
.about-value-card h3,
.about-story-block h2,
.process-step h3,
.process-step p,
.campaign-checks li {
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
}
/* Über uns: Schrift und Innenabstand wachsen mit der Fensterbreite, der Inhalt bleibt bei 1180 px –
   ab ca. 1600 px passten „Dachdeckerhandwerk“ und „Herstellerunabhängig“ nicht mehr in die Karten */
.about-story-block h2 { font-size: clamp(1.34rem, 1.65vw, 1.5rem); }
.about-value-card h3 { font-size: clamp(1.05rem, 1.25vw, 1.15rem); }
/* Schlusskasten der Landingpages: lesbare Zeilenlänge, Luft über dem Knopf */
.page-mode-landing .campaign-final p { max-width: 64ch; margin-left: auto; margin-right: auto; }
.page-mode-landing .campaign-final .cta-link { display: inline-flex; margin-top: 0.9rem; }
/* === DESIGN 10/2026 ENDE === */
