/* =====================================================================
   SVB Buschhausen - Design-System (Mobile-First, eigenes CSS)
   Farben aus Logo (Gold #DBB878) + Anthrazit. Keine Frameworks.
   ===================================================================== */

/* ---------- Self-hosted Fonts (latin subset, font-display: swap) --------- */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/inter-400.woff2") format("woff2");
}

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

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/assets/fonts/poppins-500.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/poppins-600.woff2") format("woff2");
}

/* ---------- Design Tokens ---------- */
:root {
    --gold: #DBB878;
    --gold-dark: #B8945A;
    --gold-soft: #F3E8D4;
    --ink: #1A1D21;
    /* Anthrazit, Headlines/Header */
    --ink-2: #2A2E33;
    /* dunkle Sektionen */
    --ink-3: #3A3F45;
    --text: #2B2E33;
    --text-muted: #5C636B;
    --line: #E5E2DC;
    --bg: #FFFFFF;
    --bg-muted: #F5F4F1;
    --bg-soft: #FAF9F6;
    --success: #3F8F5B;
    --danger: #C0392B;
    --white: #FFFFFF;

    --maxw: 1160px;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 6px 24px rgba(26, 29, 33, .08);
    --shadow-lg: 0 18px 50px rgba(26, 29, 33, .14);
    --gap: clamp(1.5rem, 4vw, 3rem);

    --ff-head: "Poppins", "Segoe UI", system-ui, sans-serif;
    --ff-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

    --step--1: clamp(.82rem, .8rem + .1vw, .9rem);
    --step-0: clamp(1rem, .96rem + .2vw, 1.08rem);
    --step-1: clamp(1.18rem, 1.1rem + .4vw, 1.4rem);
    --step-2: clamp(1.45rem, 1.3rem + .8vw, 1.9rem);
    --step-3: clamp(1.8rem, 1.5rem + 1.6vw, 2.7rem);
    --step-4: clamp(2.2rem, 1.7rem + 2.6vw, 3.4rem);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

/* scrollbar-gutter: stable -> die Scrollbar-Spalte bleibt immer reserviert.
   Verhindert das horizontale "Springen"/Verschieben des (zentrierten) Inhalts
   beim Wechsel zwischen kurzen (ohne Scrollbar) und langen (mit Scrollbar) Seiten. */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scrollbar-gutter: stable;
}

/* Anker-Ziele (z. B. #schaden-melden) nicht unter den Sticky-Header scrollen. */
[id] {
    scroll-margin-top: 100px;
}

body {
    font-family: var(--ff-body);
    font-size: var(--step-0);
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    /* clip statt hidden: verhindert horizontales Überlaufen (Hero-Deko), macht
       den Body aber NICHT zum Scroll-Container. So bleibt <html> der Scroller und
       scrollbar-gutter:stable reserviert die Scrollbar-Spalte zuverlässig ->
       kein horizontales Springen des Inhalts beim Seitenwechsel. */
    overflow-x: clip;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: var(--gold-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3 {
    font-family: var(--ff-head);
    line-height: 1.15;
    color: var(--ink);
    font-weight: 600;
}

h1 {
    font-size: var(--step-4);
    letter-spacing: -.01em;
}

h2 {
    font-size: var(--step-3);
    letter-spacing: -.01em;
}

h3 {
    font-size: var(--step-1);
}

ul {
    padding: 0;
    list-style: none;
}

:focus-visible {
    outline: 3px solid var(--gold-dark);
    outline-offset: 2px;
    border-radius: 4px;
}

.container {
    width: min(100% - 2.4rem, var(--maxw));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 200;
    background: var(--ink);
    color: #fff;
    padding: .7rem 1.2rem;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

/* ---------- Icons ---------- */
.icon {
    width: 24px;
    height: 24px;
    flex: none;
}

.icon--sm {
    width: 18px;
    height: 18px;
}

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--ff-head);
    font-weight: 600;
    font-size: var(--step-0);
    line-height: 1;
    text-align: center;
    cursor: pointer;
    padding: .85rem 1.5rem;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

/* Deaktiviert (z. B. Senden-Button, solange Pflichtfelder fehlen) */
.btn:disabled,
.btn[disabled] {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn:disabled:hover,
.btn[disabled]:hover {
    transform: none;
}

.btn--primary {
    background: var(--gold);
    color: var(--ink);
    box-shadow: 0 6px 18px rgba(219, 184, 120, .35);
}

.btn--primary:hover {
    background: var(--gold-dark);
    color: #fff;
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.btn--ghost:hover {
    background: var(--ink);
    color: #fff;
}

.btn--ghost-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .6);
}

.btn--ghost-light:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
}

.btn--lg {
    padding: 1.05rem 1.9rem;
    font-size: var(--step-1);
}

.btn--block {
    width: 100%;
}

/* ---------- Topbar ---------- */
.topbar {
    background: var(--ink);
    color: rgba(255, 255, 255, .85);
    font-size: var(--step--1);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 40px;
    padding-block: .35rem;
}

.topbar__claim {
    display: none;
    font-style: italic;
    color: var(--gold-soft);
}

.topbar__phone {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #fff;
    font-weight: 600;
}

.topbar__phone:hover {
    color: var(--gold);
    text-decoration: none;
}

@media (min-width: 800px) {
    .topbar__claim {
        display: inline;
    }
}

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 78px;
}

/* Brand-Container darf wachsen, aber den verfügbaren Platz nicht sprengen. */
.brand {
    flex: 1 1 auto;
    min-width: 0;
}

/* Größeres Logo; per max-height/max-width skaliert es verzerrungsfrei und
   läuft auf schmalen Displays nicht über die Leiste hinaus. */
.brand__logo {
    display: block;
    width: auto;
    height: auto;
    max-height: 46px;
    max-width: 100%;
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: 0;
    cursor: pointer;
    flex: none;
}

.nav-toggle span {
    height: 2.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: .25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile: Panel sitzt bündig UNTER dem Header (top:100%), kein fester Pixel-Offset
   mehr -> kein Abstand/Lücke. Ein-/Ausblenden per Fade + leichtem Slide. */
.primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.2rem 1.6rem;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-nav ul {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.primary-nav a {
    display: block;
    padding: .7rem .2rem;
    font-family: var(--ff-head);
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.primary-nav a:hover {
    color: var(--gold-dark);
    text-decoration: none;
}

.primary-nav a[aria-current] {
    color: var(--gold-dark);
}

.nav-cta {
    margin-top: .4rem;
    flex: none;
    white-space: nowrap;
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }

    /* Logo darf nach unten aus der Leiste herausragen (dezenter Überhang). */
    .site-header {
        overflow: visible;
    }

    /* Schmale Leiste; das Logo setzt oben an und ragt nach unten heraus. */
    .site-header__inner {
        height: 46px;
        min-height: 0;
    }

    .brand {
        align-self: flex-start;
    }

    .brand__logo {
        max-height: 62px;
        max-width: 470px;
        margin-top: 14px;
    }

    /* Desktop: display:flex (vorher fehlend -> CTA rutschte unter die Links),
       Links und Button in EINER Reihe. */
    .primary-nav {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1.4rem;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .primary-nav ul {
        flex-direction: row;
        gap: 1.3rem;
    }

    .primary-nav a {
        padding: .4rem 0;
        border: 0;
        position: relative;
    }

    .primary-nav a[aria-current]::after,
    .primary-nav a:hover::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -4px;
        height: 2.5px;
        background: var(--gold);
        border-radius: 2px;
    }

    /* Mehr Innenabstand, damit der Text nicht am Rand der Pille klebt. */
    .nav-cta {
        margin-top: 0;
        margin-left: .4rem;
        padding: .7rem 1.9rem;
        font-size: var(--step--1);
        white-space: nowrap;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    color: #fff;
    background: radial-gradient(120% 120% at 80% -10%, #34393f 0%, var(--ink-2) 45%, var(--ink) 100%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(115deg, transparent 60%, rgba(219, 184, 120, .10) 60.2%, rgba(219, 184, 120, .10) 72%, transparent 72.2%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 360px;
    height: 360px;
    border: 2px solid rgba(219, 184, 120, .18);
    border-radius: 50%;
}

.hero__inner {
    position: relative;
    padding-block: clamp(3rem, 8vw, 6rem);
}

.hero__content {
    max-width: 720px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--gold);
    font-weight: 600;
    font-family: var(--ff-head);
    font-size: var(--step--1);
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero__title {
    color: #fff;
    margin-bottom: 1rem;
}

.hero__claim {
    font-size: var(--step-1);
    color: var(--gold-soft);
    font-style: italic;
    margin-bottom: 1rem;
}

.hero__lead {
    color: rgba(255, 255, 255, .82);
    max-width: 60ch;
    margin-bottom: 1.8rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-bottom: 1.8rem;
}

.hero__usps {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.hero__usps li {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 500;
    font-size: var(--step--1);
    color: rgba(255, 255, 255, .9);
}

.hero__usps .icon {
    color: var(--gold);
}

/* ---------- Sections ---------- */
.section {
    padding-block: clamp(3rem, 7vw, 5.5rem);
}

.section--muted {
    background: var(--bg-muted);
}

.section--dark {
    background: var(--ink);
    color: rgba(255, 255, 255, .85);
}

.section--dark h2 {
    color: #fff;
}

.section__head {
    max-width: 640px;
    margin: 0 auto clamp(2rem, 5vw, 3rem);
    text-align: center;
}

.section__head--left {
    margin-inline: 0;
    text-align: left;
}

.section__eyebrow {
    color: var(--gold-dark);
    font-family: var(--ff-head);
    font-weight: 600;
    font-size: var(--step--1);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .6rem;
}

.section--dark .section__eyebrow {
    color: var(--gold);
}

.section__intro {
    color: var(--text-muted);
    margin-top: .8rem;
}

.section--dark .section__intro {
    color: rgba(255, 255, 255, .7);
}

/* ---------- Card grid / Service cards ---------- */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

@media (min-width: 600px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.card-grid--3 {
    grid-template-columns: 1fr;
}

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

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

/* Zentrierte Variante: letzte, nicht volle Reihe wird mittig ausgerichtet
   (statt linksbündigem "Waisen"-Card). */
.card-grid--center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card-grid--center>* {
    flex: 1 1 280px;
    max-width: 360px;
}

@media (min-width: 920px) {
    .card-grid--center>* {
        flex-basis: 300px;
    }
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
    text-decoration: none;
}

.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--gold-soft);
    color: var(--gold-dark);
    margin-bottom: .4rem;
}

.service-card__title {
    color: var(--ink);
}

.service-card__text {
    color: var(--text-muted);
    font-size: var(--step--1);
    flex: 1;
}

.service-card__more {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--gold-dark);
    font-weight: 600;
    font-family: var(--ff-head);
    font-size: var(--step--1);
    margin-top: .4rem;
}

.service-card:hover .service-card__more {
    gap: .7rem;
}

/* ---------- Trust section ---------- */
.trust {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 900px) {
    .trust {
        grid-template-columns: 1.3fr 1fr;
        align-items: center;
        gap: 4rem;
    }
}

.trust__list {
    display: grid;
    gap: .8rem;
    margin: 1.6rem 0;
}

.trust__list li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
}

.trust__list .icon {
    color: var(--gold);
    margin-top: 2px;
}

.trust__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .7rem;
    margin-bottom: 2.4rem;
}

.trust__badges li {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem 1rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50px;
    font-size: var(--step--1);
    font-weight: 500;
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .04);
}

.trust__badges .icon {
    color: var(--gold);
}

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

.stat {
    background: var(--ink-2);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    padding: 1.4rem;
    text-align: center;
}

.stat__num {
    display: block;
    font-family: var(--ff-head);
    font-weight: 700;
    font-size: var(--step-1);
    color: var(--gold);
}

.stat__label {
    display: block;
    font-size: var(--step--1);
    color: rgba(255, 255, 255, .65);
    margin-top: .25rem;
}

/* ---------- Split (Zielgruppen) ---------- */
.split {
    display: grid;
    gap: 1.4rem;
}

@media (min-width: 800px) {
    .split {
        grid-template-columns: repeat(2, 1fr);
    }
}

.split__card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
}

.split__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--ink);
    color: var(--gold);
    margin-bottom: 1rem;
}

.split__card h3 {
    margin-bottom: .6rem;
}

.split__card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    font-family: var(--ff-head);
}

.link-arrow:hover {
    gap: .65rem;
    text-decoration: none;
}

/* ---------- Features / Steps (Partner) ---------- */
.feature {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
}

.feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gold-soft);
    color: var(--gold-dark);
    margin-bottom: .8rem;
}

.feature h3 {
    margin-bottom: .4rem;
    font-size: var(--step-0);
}

.feature p {
    color: var(--text-muted);
    font-size: var(--step--1);
}

/* Editorial Vorteils-Liste (kein Karten-Look) */
.benefit-list {
    display: grid;
    gap: 1.6rem 2.6rem;
}

@media (min-width: 700px) {
    .benefit-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.benefit+.benefit {
    /* dezente Trennlinie nur in einspaltiger Ansicht */
}

.benefit__icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gold-soft);
    color: var(--gold-dark);
}

.benefit h3 {
    font-size: var(--step-0);
    margin-bottom: .25rem;
}

.benefit p {
    color: var(--text-muted);
    font-size: var(--step--1);
}

/* Horizontale Schritt-Timeline (verbundene Nummern) */
.timeline {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 980px;
    margin-inline: auto;
}

@media (min-width: 720px) {
    .timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

.timeline__step {
    position: relative;
    text-align: center;
    padding: 0 1rem;
}

.timeline__num {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--gold);
    color: var(--ink);
    font-family: var(--ff-head);
    font-weight: 700;
    font-size: var(--step-1);
    box-shadow: 0 0 0 6px var(--bg);
}

.section--muted .timeline__num {
    box-shadow: 0 0 0 6px var(--bg-muted);
}

/* Verbindungslinie zwischen den Nummern (nur ab 3-Spalten-Layout) */
@media (min-width: 720px) {
    .timeline__step:not(:first-child)::before {
        content: "";
        position: absolute;
        top: 24px;
        left: -50%;
        width: 100%;
        height: 3px;
        background: var(--gold);
        z-index: 0;
    }
}

.timeline__step h3 {
    font-size: var(--step-1);
    margin-bottom: .4rem;
}

.timeline__step p {
    color: var(--text-muted);
    font-size: var(--step--1);
}

.steps {
    display: grid;
    gap: 1.2rem;
    counter-reset: step;
    max-width: 760px;
}

.step {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
}

.step__num {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--ink);
    font-family: var(--ff-head);
    font-weight: 700;
    display: grid;
    place-items: center;
}

.step h3 {
    font-size: var(--step-0);
    margin-bottom: .2rem;
}

.step p {
    color: var(--text-muted);
    font-size: var(--step--1);
}

.partner-cta {
    margin-top: 3rem;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius);
    padding: clamp(2rem, 5vw, 3rem);
    text-align: center;
}

.partner-cta h2 {
    color: #fff;
    margin-bottom: .6rem;
}

.partner-cta p {
    color: rgba(255, 255, 255, .75);
    margin-bottom: 1.4rem;
}

.partner-cta .hero__actions {
    justify-content: center;
    margin: 0;
}

/* ---------- Page hero (Unterseiten) ---------- */
.page-hero {
    background: var(--ink);
    color: #fff;
    padding-block: clamp(2.2rem, 6vw, 3.6rem);
}

.page-hero h1 {
    color: #fff;
    margin-top: .6rem;
}

.page-hero__lead {
    color: rgba(255, 255, 255, .78);
    max-width: 60ch;
    margin-top: .8rem;
}

.page-hero--service .page-hero__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(219, 184, 120, .15);
    color: var(--gold);
    margin-bottom: .4rem;
}

.page-hero__icon .icon {
    width: 30px;
    height: 30px;
}

.breadcrumb {
    font-size: var(--step--1);
    color: rgba(255, 255, 255, .6);
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    align-items: center;
}

.breadcrumb a {
    color: rgba(255, 255, 255, .8);
}

.breadcrumb a:hover {
    color: var(--gold);
}

/* ---------- Service detail ---------- */
.service-detail {
    display: grid;
    gap: 2rem;
}

@media (min-width: 900px) {
    .service-detail {
        grid-template-columns: 1fr 340px;
        gap: 3rem;
        align-items: start;
    }
}

.lead {
    font-size: var(--step-1);
    color: var(--text);
}

.service-detail h2 {
    margin: 2rem 0 1rem;
}

.check-list {
    display: grid;
    gap: .7rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
}

.check-list .icon {
    color: var(--success);
    margin-top: 3px;
}

.info-cards {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 520px) {
    .info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.info-card {
    background: var(--bg-muted);
    border-radius: var(--radius);
    padding: 1.4rem;
}

.info-card__icon {
    display: inline-flex;
    color: var(--gold-dark);
    margin-bottom: .5rem;
}

.info-card h3 {
    font-size: var(--step-0);
    margin-bottom: .3rem;
}

.info-card p {
    color: var(--text-muted);
    font-size: var(--step--1);
}

.cta-box {
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius);
    padding: 1.8rem;
    position: sticky;
    top: 96px;
}

.cta-box h3 {
    color: #fff;
    margin-bottom: .4rem;
}

.cta-box>p {
    color: rgba(255, 255, 255, .75);
    font-size: var(--step--1);
    margin-bottom: 1.2rem;
}

.cta-box .btn {
    margin-bottom: .7rem;
}

.cta-box__hint {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: var(--step--1);
    color: rgba(255, 255, 255, .6);
}

.cta-box__hint .icon {
    color: var(--gold);
}

/* ---------- Über uns: Intro + Qualifikationen ---------- */
.about-intro p {
    margin-bottom: 1.1rem;
    color: var(--text);
}

.about-intro .lead {
    margin-bottom: 1.4rem;
}

.qual-layout {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.qual-layout h2 {
    margin-bottom: 1rem;
}

.qual-layout__text p {
    color: var(--text);
    margin-bottom: 1rem;
}

.qual-layout__media {
    display: flex;
    justify-content: center;
}

/* Klickbare Video-Vorschau (öffnet Lightbox) */
.video-thumb {
    position: relative;
    display: block;
    padding: 0;
    border: 0;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    max-width: 100%;
    line-height: 0;
}

.video-thumb img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: cover;
    transition: transform .35s ease, opacity .25s ease;
}

.video-thumb:hover img,
.video-thumb:focus-visible img {
    transform: scale(1.04);
    opacity: .85;
}

.video-thumb__play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    transition: background .2s ease, transform .2s ease;
}

.video-thumb:hover .video-thumb__play,
.video-thumb:focus-visible .video-thumb__play {
    background: var(--gold-dark);
    transform: scale(1.08);
}

.video-thumb__play .icon {
    width: 30px;
    height: 30px;
}

.video-thumb:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

@media (min-width: 860px) {
    .qual-layout {
        grid-template-columns: 1.15fr .85fr;
        gap: 2.8rem;
    }
}

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */
.legal-doc {
    max-width: 820px;
}

.legal-doc h2 {
    margin: 2rem 0 .8rem;
}

.legal-doc h2:first-child {
    margin-top: 0;
}

.legal-doc p {
    margin-bottom: 1.1rem;
    color: var(--text);
}

.legal-list {
    margin: 0 0 1.1rem;
    padding-left: 1.3rem;
    display: grid;
    gap: .5rem;
    color: var(--text);
}

.legal-list li {
    list-style: decimal;
}

ul.legal-list li {
    list-style: disc;
}

.legal-list li::marker {
    color: var(--gold-dark);
}

.qual-list {
    display: grid;
    gap: .7rem;
    margin-top: 1rem;
}

.qual-list li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
}

.qual-list .icon {
    color: var(--gold-dark);
    margin-top: 2px;
    flex: none;
}

/* ---------- Notes / TODO box ---------- */
.note {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    background: var(--gold-soft);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
    color: var(--ink-3);
    font-size: var(--step--1);
    margin-top: 2rem;
}

.note .icon {
    color: var(--gold-dark);
    margin-top: 2px;
}

.note--small {
    background: var(--bg-muted);
    border-left-color: var(--line);
    color: var(--text-muted);
}

.todo-box {
    background: #FFF7E6;
    border: 1px solid #F0D89B;
    border-left: 5px solid var(--gold-dark);
    border-radius: var(--radius-sm);
    padding: 1.2rem 1.4rem;
    margin-bottom: 2rem;
    font-size: var(--step--1);
    color: #6b5418;
}

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--ink);
}

.cta-band__inner {
    display: grid;
    gap: 1.4rem;
    padding-block: clamp(2.2rem, 5vw, 3.4rem);
}

@media (min-width: 820px) {
    .cta-band__inner {
        grid-template-columns: 1.5fr 1fr;
        align-items: center;
    }
}

.cta-band h2 {
    color: var(--ink);
    margin-bottom: .3rem;
}

.cta-band p {
    color: rgba(26, 29, 33, .8);
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.cta-band__actions .btn--ghost-light {
    color: var(--ink);
    border-color: rgba(26, 29, 33, .4);
}

.cta-band__actions .btn--ghost-light:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

/* Primär-Button auf dem GOLD-Band: dunkel statt gold -> kein Farb-Clash. */
.cta-band__actions .btn--primary {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 6px 18px rgba(26, 29, 33, .25);
}

.cta-band__actions .btn--primary:hover {
    background: var(--ink-2);
    color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .7);
    padding-top: clamp(2.5rem, 6vw, 4rem);
}

.site-footer__grid {
    display: grid;
    gap: 2rem;
    padding-bottom: 2.5rem;
}

@media (min-width: 700px) {
    .site-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
        gap: 2.5rem;
    }
}

.site-footer__logo {
    height: 28px;
    width: auto;
    margin-bottom: 1rem;
}

.site-footer__about {
    font-size: var(--step--1);
    line-height: 1.6;
}

.site-footer h3 {
    color: #fff;
    font-size: var(--step-0);
    margin-bottom: 1rem;
}

.site-footer ul {
    display: grid;
    gap: .55rem;
}

.site-footer a {
    color: rgba(255, 255, 255, .7);
    font-size: var(--step--1);
}

.site-footer a:hover {
    color: var(--gold);
    text-decoration: none;
}

.site-footer__contact {
    font-style: normal;
    font-size: var(--step--1);
    line-height: 1.8;
}

.site-footer__contact strong {
    color: #fff;
}

.site-footer__bar {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.site-footer__bar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .6rem;
    padding-block: 1.3rem;
    font-size: var(--step--1);
}

/* ---------- Contact / Form ---------- */
.contact-layout {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 920px) {
    .contact-layout {
        grid-template-columns: 1.4fr 1fr;
        gap: 3.5rem;
        align-items: start;
    }
}

.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.4rem, 4vw, 2.4rem);
    box-shadow: var(--shadow);
}

.contact-form-wrap h2 {
    margin-bottom: .4rem;
}

.form-intro {
    color: var(--text-muted);
    font-size: var(--step--1);
    margin-bottom: 1.4rem;
}

.req {
    color: var(--danger);
}

.form {
    display: grid;
    gap: 1.1rem;
}

.form-row {
    display: grid;
    gap: 1.1rem;
}

@media (min-width: 560px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.field label,
.field legend {
    font-family: var(--ff-head);
    font-weight: 500;
    font-size: var(--step--1);
    color: var(--ink);
}

.field input,
.field select,
.field textarea {
    font: inherit;
    font-size: var(--step-0);
    color: var(--text);
    padding: .75rem .9rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
    width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--gold-dark);
    box-shadow: 0 0 0 3px rgba(219, 184, 120, .25);
}

.field input[type="radio"],
.field input[type="checkbox"] {
    width: auto;
    padding: 0;
    border-width: 1px;
    accent-color: var(--gold-dark);
}

.field textarea {
    resize: vertical;
    min-height: 110px;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
    border-color: var(--danger);
}

.field--radio {
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: .8rem 1rem;
}

.field--radio.is-invalid {
    border-color: var(--danger);
}

.field--radio legend {
    padding: 0 .3rem;
}

.radio {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 400 !important;
    margin-right: 1.2rem;
    cursor: pointer;
}

.field--check.is-invalid .checkbox span {
    color: var(--danger);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-weight: 400 !important;
    font-size: var(--step--1);
    cursor: pointer;
    color: var(--text-muted);
}

.checkbox input {
    width: auto;
    margin-top: 3px;
}

.field__err {
    color: var(--danger);
    font-size: var(--step--1);
}

.field__hint {
    color: var(--text-muted);
    font-size: var(--step--1);
}

.field input[type="file"] {
    padding: .6rem .7rem;
    font-size: var(--step--1);
    cursor: pointer;
}

/* Detailfelder zum Schaden – nur sichtbar bei Anliegen "Schaden melden". */
.schaden-fields {
    display: grid;
    gap: 1.1rem;
}

.schaden-fields[hidden] {
    display: none;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- Schwebender WhatsApp-Button ---------- */
.whatsapp-fab {
    position: fixed;
    z-index: 200;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: #25D366;
    color: #fff;
    padding: .8rem 1.1rem;
    border-radius: 999px;
    line-height: 1;
    font-family: var(--ff-head);
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.whatsapp-fab:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    background: #1ebe5b;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}

.whatsapp-fab .icon {
    width: 26px;
    height: 26px;
}

.whatsapp-fab__label {
    font-size: var(--step--1);
}

@media (max-width: 559px) {
    .whatsapp-fab {
        padding: .9rem;
    }

    .whatsapp-fab__label {
        display: none;
    }
}

.alert {
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
    margin-bottom: 1.2rem;
}

.alert--error {
    background: #FDECEA;
    border: 1px solid #F5B7B1;
    color: #922B21;
}

.alert--success {
    background: #E9F7EF;
    border: 1px solid #A9DFBF;
    color: #1E6B41;
}

.alert--success h2 {
    color: #1E6B41;
    margin-bottom: .3rem;
}

.contact-info h2 {
    margin-bottom: 1.2rem;
}

.contact-box {
    background: var(--ink);
    border-radius: var(--radius);
    padding: 1.6rem;
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow);
}

.contact-list {
    display: grid;
    gap: 1.1rem;
}

.contact-list li {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
}

.contact-list__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 11px;
    background: rgba(219, 184, 120, .15);
    color: var(--gold);
}

.contact-box .contact-list {
    color: rgba(255, 255, 255, .78);
}

.contact-box .contact-list strong {
    color: #fff;
    font-family: var(--ff-head);
}

.contact-box .contact-list a {
    color: var(--gold);
}

.contact-box .contact-list a:hover {
    color: #fff;
}

.contact-cta {
    background: var(--bg-muted);
    border-radius: var(--radius);
    padding: 1.4rem;
}

.contact-cta p {
    font-size: var(--step--1);
    color: var(--text-muted);
    margin-bottom: .8rem;
}

/* ---------- 404 ---------- */
.error-page {
    text-align: center;
}

.error-page__code {
    font-family: var(--ff-head);
    font-weight: 700;
    font-size: clamp(4rem, 14vw, 8rem);
    color: var(--gold);
    line-height: 1;
}

.error-page .hero__actions {
    justify-content: center;
    margin-top: 1.4rem;
}

/* ---------- Zertifikate-Galerie ---------- */
.cert-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.4rem;
}

@media (min-width: 560px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .cert-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cert {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
}

.cert:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.cert__link {
    position: relative;
    display: block;
    background: var(--bg-muted);
}

.cert__link img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: top center;
}

.cert__zoom {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .55rem;
    font-family: var(--ff-head);
    font-size: var(--step--1);
    font-weight: 600;
    color: #fff;
    background: linear-gradient(transparent, rgba(26, 29, 33, .85));
    opacity: 0;
    transition: opacity .2s ease;
}

.cert__link:hover .cert__zoom,
.cert__link:focus-visible .cert__zoom {
    opacity: 1;
}

.cert__cap {
    padding: 1rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.cert__cap strong {
    color: var(--ink);
    font-family: var(--ff-head);
    font-size: var(--step-0);
    line-height: 1.3;
}

.cert__cap span {
    color: var(--text-muted);
    font-size: var(--step--1);
}

/* Lightbox wird von GLightbox (assets/js/glightbox.min.js + eigenes CSS)
   gerendert - die früheren .lightbox-Styles werden nicht mehr benötigt. */

/* Video-Lightbox (eigene Skin): steht allein, daher keine Blätter-Pfeile. */
.glightbox-svbvideo .gnext,
.glightbox-svbvideo .gprev {
    display: none !important;
}

/* ---------- Zertifikate-Slider ---------- */
.cert-slider {
    display: flex;
    align-items: stretch;
    gap: .6rem;
}

.cert-slider__viewport {
    overflow: hidden;
    flex: 1;
}

.cert-slider__track {
    display: flex;
    gap: 1.2rem;
    transition: transform .4s ease;
}

.cert-slide {
    flex: 0 0 calc((100% - 1 * 1.2rem) / 2);
}

@media (min-width: 700px) {
    .cert-slide {
        flex-basis: calc((100% - 2 * 1.2rem) / 3);
    }
}

@media (min-width: 980px) {
    .cert-slide {
        flex-basis: calc((100% - 3 * 1.2rem) / 4);
    }
}

.cert-slide__link {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cert-slide__link img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: top center;
    transition: transform .2s ease;
}

.cert-slide__link:hover img {
    transform: scale(1.03);
}

.cert-slide__title {
    margin-top: .6rem;
    font-size: var(--step--1);
    font-weight: 600;
    font-family: var(--ff-head);
    color: var(--ink);
    line-height: 1.3;
}

.cert-slider--dark .cert-slide__title {
    color: rgba(255, 255, 255, .9);
}

.cert-slider__nav {
    flex: none;
    align-self: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .2s ease, color .2s ease, opacity .2s ease;
}

.cert-slider__nav:hover {
    background: var(--gold);
    color: var(--ink);
}

.cert-slider__nav:disabled {
    opacity: .35;
    cursor: default;
}

.cert-slider__nav--prev .icon {
    transform: rotate(180deg);
}

.cert-slider--dark .cert-slider__nav {
    background: var(--ink-2);
    border-color: rgba(255, 255, 255, .15);
    color: #fff;
}

.cert-slider--dark .cert-slider__nav:hover {
    background: var(--gold);
    color: var(--ink);
}

.cert-slider__hint {
    margin-top: 1.4rem;
    text-align: center;
}

.cert-slider--dark+.cert-slider__hint .link-arrow {
    color: var(--gold);
}

/* ---------- Team ---------- */
.team-grid {
    display: grid;
    gap: 1.4rem;
    max-width: 760px;
    margin-inline: auto;
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.team-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.8rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.team-card__avatar {
    width: 84px;
    height: 84px;
    margin: 0 auto .9rem;
    border-radius: 50%;
    background: var(--ink);
    color: var(--gold);
    display: grid;
    place-items: center;
}

.team-card__avatar .icon {
    width: 38px;
    height: 38px;
}

.team-card h3 {
    font-size: var(--step-1);
    margin-bottom: .2rem;
}

.team-card__role {
    color: var(--gold-dark);
    font-weight: 600;
    font-family: var(--ff-head);
    font-size: var(--step--1);
    margin-bottom: .6rem;
}

.team-card__text {
    color: var(--text-muted);
    font-size: var(--step--1);
}

/* ---------- Media (Video) ---------- */
.media-item {
    display: grid;
    gap: 1.6rem;
    align-items: center;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.2rem, 3vw, 1.8rem);
}

@media (min-width: 760px) {
    .media-item {
        grid-template-columns: 1fr 1fr;
        gap: 2.4rem;
    }
}

.media-item+.media-item {
    margin-top: 1.6rem;
}

.media-item__media {
    display: flex;
    justify-content: center;
}

.media-video {
    width: auto;
    max-width: 100%;
    max-height: 60vh;
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: block;
}

.media-video--landscape {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-height: 56vh;
}

.media-item__body h2 {
    margin-bottom: .5rem;
}

.media-item__body p {
    color: var(--text-muted);
    margin-bottom: .8rem;
}

.media-item__meta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: var(--step--1);
    color: var(--gold-dark);
    font-weight: 600;
    font-family: var(--ff-head);
}

.media-cta {
    max-width: 640px;
    margin: 3rem auto 0;
    text-align: center;
    background: var(--bg-muted);
    border-radius: var(--radius);
    padding: clamp(1.8rem, 5vw, 2.6rem);
}

.media-cta h2 {
    margin-bottom: .4rem;
}

.media-cta p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.media-cta .hero__actions {
    justify-content: center;
    margin: 0;
}

/* ---------- Leistungs-Galerie (Einblick) ---------- */
/* Schließt direkt an die Detail-Sektion an -> oberen Abstand reduzieren. */
.gallery-section {
    padding-top: 0;
}

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

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

@media (min-width: 980px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-grid__link {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-grid__link img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    object-position: center;
    transition: transform .2s ease;
}

.gallery-grid__link:hover img,
.gallery-grid__link:focus-visible img {
    transform: scale(1.04);
}

/* ---------- Partnerlogos ---------- */
.partner-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

@media (min-width: 700px) {
    .partner-logos {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

.partner-logos__link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.8rem;
    min-height: 140px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.partner-logos__link:hover,
.partner-logos__link:focus-visible {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg, var(--shadow));
}

.partner-logos__link img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
/* ---------- Google-Bewertungen (includes/google-reviews.php) ---------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.gr-summary {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .5rem .8rem;
    margin-top: 1rem;
}

.gr-summary__score {
    font-family: var(--ff-head);
    font-weight: 700;
    font-size: var(--step-3);
    line-height: 1;
    color: var(--ink);
}

.gr-summary .gr-stars {
    font-size: 1.5rem;
}

.gr-summary__count {
    color: var(--text-muted);
}

.gr-stars {
    font-size: 1.15rem;
    display: inline-flex;
    letter-spacing: .05em;
    line-height: 1;
}

.gr-star--full {
    color: var(--gold);
}

.gr-star--empty {
    color: var(--line);
}

.gr-star--half {
    background: linear-gradient(90deg, var(--gold) 50%, var(--line) 50%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gr-card {
    display: flex;
    flex-direction: column;
    gap: .9rem;
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
}

.gr-card__text {
    margin: 0;
    flex: 1;
    color: var(--text);
}

.gr-card__text p {
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gr-card__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .3rem 1rem;
    font-size: var(--step--1);
    font-family: var(--ff-head);
    font-weight: 600;
    color: var(--ink);
}

.gr-card__meta a {
    color: inherit;
}

.gr-card__time {
    font-weight: 400;
    color: var(--text-muted);
}

.gr-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8rem;
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.gr-source {
    margin-top: 1rem;
    text-align: center;
    font-size: var(--step--1);
    color: var(--text-muted);
}
