/* =============================================================================
   Pflege-Daheim — öffentliches Design
   =============================================================================
   Kontrast-Nachweis (WCAG 2.1 AA, gerechnet gegen #FFFFFF bzw. die genannte
   Fläche, relative Luminanz nach der Standardformel):

     --brand-magenta #E5097D  auf Weiß  = 4.50:1  (Grenzwert AA großer Text/UI)
     --brand-teal    #068EA2  auf Weiß  = 3.89:1  (NICHT ausreichend für Fließtext)
     --magenta-ink   #B80663  auf Weiß  = 6.47:1  (AA, auch für kleinen Text)
     --teal-ink      #03606E  auf Weiß  = 7.24:1  (AAA)
     --ink           #0A3B44  auf Weiß  = 12.20:1 (AAA)
     --ink-soft      #4A6B72  auf Weiß  = 5.77:1  (AA)
     --ink           auf --surface-tint (#E6F4F6) = 10.82:1
     --ink           auf --surface-warm (#FDEAF3) = 10.59:1
     --ink-soft      auf --surface-tint            = 5.12:1 (AA)
     --magenta-ink   auf --surface-tint            = 5.74:1 (AA)
     --teal-ink      auf --surface-tint            = 6.42:1 (AA)
     Weiß auf --magenta-ink (Primär-Button-Fläche)  = 6.47:1
     Weiß auf --teal-ink (dunkle Flächen)           = 7.24:1

   Deshalb: --brand-magenta und --brand-teal ausschließlich für Flächen/Icons,
   nie als Schrift- oder Button-Text-Farbe. Für Schrift, Links und Buttons
   ausschließlich die *-ink-Varianten.
   ========================================================================= */

@font-face {
    font-family: "Spectral";
    src: url("../fonts/spectral-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Spectral";
    src: url("../fonts/spectral-semibold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Public Sans";
    src: url("../fonts/public-sans-var.woff2") format("woff2-variations");
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Markenfarben — nur für Flächen, Grafik, Icons, Logo */
    --brand-magenta: #E5097D;
    --brand-teal:    #068EA2;
    /* Textsichere Varianten — für Schrift, Links, Buttons */
    --magenta-ink:   #B80663;
    --teal-ink:      #03606E;
    /* Text und Flächen */
    --ink:           #0A3B44;
    --ink-soft:      #4A6B72;
    --surface:       #FFFFFF;
    --surface-tint:  #E6F4F6;
    --surface-warm:  #FDEAF3;

    --border-soft: #CFE6EA;
    --font-head: "Spectral", Georgia, "Times New Roman", serif;
    --font-body: "Public Sans", -apple-system, "Segoe UI", Arial, sans-serif;
    --radius: 14px;
    --max-line: 70ch;
    --container: 1160px;
    --shadow-soft: 0 2px 14px rgba(10, 59, 68, 0.08);
    --focus-ring: 3px solid #0A3B44;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--surface);
    padding-bottom: 76px; /* Platz für die feste Mobil-CTA-Leiste */
}

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

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.25;
    color: var(--ink);
    margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem); margin-top: 1.4em; }
h3 { font-size: 1.25rem; }

p, li { max-width: var(--max-line); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.4em; }

a { color: var(--teal-ink); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { color: var(--magenta-ink); }

:focus-visible {
    outline: var(--focus-ring);
    outline-offset: 2px;
    border-radius: 4px;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* padding-top/-bottom statt der Kurzform "padding", damit sich .section nicht
   mit .container (padding: 0 20px) beißt, wenn beide Klassen am selben Element
   stehen — sonst gewinnt je nach Reihenfolge im Stylesheet eine der beiden
   Angaben komplett und die andere Achse (links/rechts oder oben/unten) fehlt. */
.section { padding-top: 56px; padding-bottom: 56px; }
.section--tint { background: var(--surface-tint); }
.section--warm { background: var(--surface-warm); }

/* ---------------------------------------------------------------------------
   Hilfsklassen — bewusst als Klasse statt als inline style="...", da CSP
   (style-src 'self') inline style-Attribute im Browser blockiert.
   ------------------------------------------------------------------------- */
.u-narrow-sm { max-width: 640px; }
.u-narrow-md { max-width: 760px; }
.u-narrow { max-width: 800px; }
.u-wide { max-width: 960px; }
.u-max-none { max-width: none; }
.u-w-full { width: 100%; }
.u-text-center { text-align: center; }
.u-font-normal { font-weight: 400; }
.u-mt-0 { margin-top: 0; }
.u-mt-10 { margin-top: 10px; }
.u-mt-20 { margin-top: 20px; }
.u-mt-24 { margin-top: 24px; }
.u-mt-32 { margin-top: 32px; }
.u-mb-0 { margin-bottom: 0; }
.u-mb-32 { margin-bottom: 32px; }
.u-plain-link { color: inherit; text-decoration: none; }

.kontakt-grid { display: grid; gap: 40px; }
.pflegegrad-option-label {
    display: flex; gap: 10px; align-items: center; font-weight: 400; margin-bottom: 8px;
}
.pflegegrad-option-input { width: 20px; height: 20px; }
.pflegegrad-legend { font-weight: 700; padding: 0 6px; }
.service-card__title-compact { font-size: 1.25rem; margin-top: 0; }

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

.skip-link {
    position: absolute; left: 8px; top: -60px; background: var(--ink);
    color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 1000;
    transition: top 0.15s ease;
}
.skip-link:focus { top: 8px; }

/* ---------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.5em;
    min-height: 48px; min-width: 48px;
    padding: 12px 24px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
}
.btn--primary { background: var(--magenta-ink); color: #fff; }
.btn--primary:hover { background: #96054F; color: #fff; }
.btn--secondary { background: transparent; border-color: var(--teal-ink); color: var(--teal-ink); }
.btn--secondary:hover { background: var(--surface-tint); color: var(--teal-ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.site-header {
    border-bottom: 1px solid var(--border-soft);
    background: var(--surface);
    position: sticky; top: 0; z-index: 100;
    transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 2px 12px rgba(10,59,68,0.1); }

/* Eine Zeile: Logo links, Navigation daneben, Telefon/Menü-Symbol rechtsbündig.
   Schrumpft beim Scrollen (Klasse .is-scrolled, per JS gesetzt, siehe app.js),
   damit die Kopfzeile beim Lesen nicht zu viel Platz wegnimmt. Nur Eigenschaften,
   die sich weich animieren lassen (padding, Höhe, Schriftgröße) — daher eine
   einzeilige Struktur statt zwei separaten Zeilen, die sich nicht sauber
   ineinander überblenden ließen. */
.site-header__inner {
    display: flex; align-items: center; flex-wrap: wrap;
    gap: 8px 20px; padding: 18px 20px;
    transition: padding 0.25s ease;
}
.site-header.is-scrolled .site-header__inner { padding: 8px 20px; }

.site-header__logo { display: inline-flex; text-decoration: none; order: 0; }
.site-header__logo-img {
    height: 68px; width: auto; display: block;
    transition: height 0.25s ease;
}
.site-header.is-scrolled .site-header__logo-img { height: 38px; }

.site-header__actions {
    display: flex; align-items: center; gap: 14px; order: 1; margin-left: auto;
}

/* Utility-Farbklassen — bewusst als Klasse statt als inline style="color:var(...)",
   da sich Custom Properties in manchen Rendering-Umgebungen innerhalb von
   inline style-Attributen nicht zuverlässig auflösen lassen. */
.icon-teal { color: var(--teal-ink); }
.icon-magenta { color: var(--magenta-ink); }

.pflegegrad-fieldset {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-bottom: 20px;
}
.site-header__phone {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--magenta-ink); font-weight: 700; text-decoration: none;
    white-space: nowrap; transition: font-size 0.25s ease;
}
.site-header.is-scrolled .site-header__phone { font-size: 0.9rem; }
.site-nav {
    display: none; order: 2; flex: 1 0 100%;
}
.site-nav.is-open { display: block; }
.site-nav ul {
    list-style: none; margin: 8px 0 0; padding: 10px 0 0; display: flex; flex-direction: column;
    border-top: 1px solid var(--border-soft);
}
.site-nav a {
    display: block; padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 600;
    border-bottom: 1px solid var(--border-soft);
    transition: font-size 0.25s ease, padding 0.25s ease;
}
.site-nav__toggle {
    background: none; border: 2px solid var(--border-soft); border-radius: 10px;
    padding: 8px 12px; min-height: 48px; min-width: 48px; cursor: pointer;
}

@media (min-width: 900px) {
    .site-header__logo-img { height: 88px; }
    .site-header.is-scrolled .site-header__logo-img { height: 42px; }
    .site-nav { display: block; order: 1; flex: none; }
    .site-nav ul { flex-direction: row; flex-wrap: wrap; margin: 0; padding: 0; border-top: none; gap: 4px 18px; }
    .site-nav a { border-bottom: none; padding: 6px 4px; }
    .site-header.is-scrolled .site-nav a { font-size: 0.88rem; }
    .site-header__actions { order: 2; }
    .site-nav__toggle { display: none; }
}

/* ---------------------------------------------------------------------------
   Signature-Element: Bogen aus dem Logo-Kreislauf
   ------------------------------------------------------------------------- */
.arc-divider { display: block; width: 100%; height: auto; color: var(--surface-tint); }
.arc-divider--warm { color: var(--surface-warm); }

.arc-steps { list-style: none; margin: 40px 0 0; padding: 0; position: relative; }
.arc-steps__svg { display: block; width: 100%; height: auto; margin-bottom: -20px; }
.arc-steps__grid { display: grid; gap: 28px; }
.arc-step { display: flex; gap: 16px; align-items: flex-start; }
.arc-step__num {
    flex: none; width: 44px; height: 44px; border-radius: 50%;
    background: var(--surface-tint); color: var(--teal-ink);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-weight: 600; font-size: 1.2rem;
    border: 2px solid var(--teal-ink);
}
@media (min-width: 800px) {
    .arc-steps__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero { padding: 40px 0 56px; }
.hero__grid { display: grid; gap: 28px; align-items: center; }
.hero__eyebrow {
    display: inline-block; color: var(--teal-ink); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.85rem;
    margin-bottom: 10px;
}
.hero__lead { font-size: 1.2rem; color: var(--ink-soft); }
.hero__media {
    background: var(--surface-tint); border-radius: var(--radius);
    border: 1px dashed var(--teal-ink);
    padding: 20px; text-align: center; color: var(--ink-soft);
    min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero__media--photo { border: none; padding: 0; background: none; overflow: hidden; display: block; }
.hero__media-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); display: block; }
@media (min-width: 900px) {
    .hero__grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* Hero mit Video/Bild als breitem Hintergrund (statt seitlicher Box) —
   aktiv, sobald ein Hero-Bild oder -Video hinterlegt ist. */
.hero--media {
    position: relative; overflow: hidden; padding: 72px 0; min-height: 460px;
    display: flex; align-items: center;
}
.hero--media .hero__bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
    transition: opacity 0.6s ease-in-out;
}
.hero--media .hero__scrim {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(8,18,20,0.82) 0%, rgba(8,18,20,0.62) 42%, rgba(8,18,20,0.28) 100%);
}
.hero--media .hero__content { position: relative; max-width: 620px; }
.hero--media .hero__eyebrow { color: #fff; opacity: 0.92; }
.hero--media h1 { color: #fff; }
.hero--media .hero__lead { color: rgba(255,255,255,0.9); }
.hero--media .btn--secondary { border-color: #fff; color: #fff; }
.hero--media .btn--secondary:hover { background: rgba(255,255,255,0.12); color: #fff; }
@media (min-width: 900px) {
    .hero--media { min-height: 600px; padding: 96px 0; }
}

/* ---------------------------------------------------------------------------
   Video-Banner (zweites Hintergrundvideo, weiter unten auf der Startseite)
   ------------------------------------------------------------------------- */
.video-banner {
    position: relative; overflow: hidden; min-height: 320px;
    display: flex; align-items: center; justify-content: center;
    background: var(--ink);
}
.video-banner__media {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
    transition: opacity 0.6s ease-in-out;
}
.video-banner__overlay {
    position: relative; width: 100%; padding: 48px 0;
    background: linear-gradient(0deg, rgba(10,20,22,0.55), rgba(10,20,22,0.35));
}
.video-banner__text {
    color: #fff; font-family: var(--font-head); font-size: 1.6rem; text-align: center;
    max-width: 720px; margin: 0 auto; text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
@media (min-width: 900px) {
    .video-banner { min-height: 420px; }
    .video-banner__text { font-size: 2rem; }
}

/* ---------------------------------------------------------------------------
   Vertrauensleiste
   ------------------------------------------------------------------------- */
.trust-bar { background: var(--surface-tint); }
.trust-bar__grid {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}
.trust-bar__item { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.trust-bar__icon { flex: none; color: var(--teal-ink); }
@media (min-width: 800px) {
    .trust-bar__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------------------------------------------------------------------------
   Kapazitätsblock
   ------------------------------------------------------------------------- */
.capacity-banner {
    background: var(--surface-warm); border: 2px solid var(--magenta-ink);
    border-radius: var(--radius); padding: 20px 24px; display: flex;
    flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.capacity-banner p { margin: 0; font-weight: 600; }

/* ---------------------------------------------------------------------------
   Leistungskarten
   ------------------------------------------------------------------------- */
.card-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
    position: relative; overflow: hidden;
    background: var(--surface); border: 1px solid var(--border-soft);
    border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-soft);
    display: flex; flex-direction: column; gap: 10px;
}
.service-card::before {
    content: ""; position: absolute; top: -30px; right: -30px; width: 90px; height: 90px;
    border: 10px solid var(--surface-tint); border-radius: 50%;
}
.service-card h3 { margin-bottom: 0.2em; }
.service-card__teaser { color: var(--ink-soft); flex-grow: 1; }
.service-card__link { font-weight: 700; }

.service-card--wound {
    background: var(--surface-warm); border-color: var(--brand-magenta);
}

/* ---------------------------------------------------------------------------
   Sprachen
   ------------------------------------------------------------------------- */
.lang-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .lang-grid { grid-template-columns: 1fr 1fr; } }
.lang-card {
    background: var(--surface); border: 1px solid var(--border-soft);
    border-radius: var(--radius); padding: 24px;
}
.lang-card [lang] { display: block; margin-top: 6px; }

/* ---------------------------------------------------------------------------
   Team
   ------------------------------------------------------------------------- */
/* auto-fit statt fester Spaltenzahl: bei wenigen Mitarbeitenden bleiben die
   Fotos angemessen klein und zentriert, statt sich über die ganze Breite zu
   strecken — funktioniert unabhängig davon, wie viele Personen später über
   den Admin-Bereich hinzukommen. */
.team-grid {
    display: grid; gap: 22px; justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(120px, 160px));
}
.team-card { text-align: center; }
.team-card__photo {
    aspect-ratio: 1; border-radius: 50%; background: var(--surface-tint);
    border: 2px dashed var(--teal-ink); display: flex; align-items: center; justify-content: center;
    color: var(--ink-soft); font-size: 0.85rem; padding: 10px; margin-bottom: 10px;
}
.team-card__photo-img {
    aspect-ratio: 1; width: 100%; border-radius: 50%; object-fit: cover;
    margin-bottom: 10px; border: 2px solid var(--border-soft);
}
.team-card__name { font-weight: 700; margin: 0; }
.team-card__role { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

.team-grid--leadership {
    grid-template-columns: repeat(2, minmax(180px, 240px));
    justify-content: center;
    max-width: 560px; margin: 0 auto 36px; gap: 28px;
}
.team-card--lead .team-card__photo-img,
.team-card--lead .team-card__photo { border-width: 3px; }
.team-card--lead .team-card__name { font-size: 1.2rem; font-family: var(--font-head); }
.team-card--lead .team-card__role { font-weight: 600; }

.content-image {
    width: 100%; max-width: 100%; height: auto; border-radius: var(--radius);
    margin: 20px 0; border: 1px solid var(--border-soft);
}

.placeholder-box {
    border: 1px dashed var(--teal-ink); background: var(--surface-tint);
    border-radius: var(--radius); padding: 20px; color: var(--ink-soft);
}

/* ---------------------------------------------------------------------------
   Bewertungen
   ------------------------------------------------------------------------- */
.review-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card {
    background: var(--surface); border: 1px solid var(--border-soft);
    border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-soft);
}
.review-card__stars { color: var(--magenta-ink); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 10px; }
.review-card__text { color: var(--ink); font-style: italic; }
.review-card__author { color: var(--ink-soft); font-weight: 700; font-style: normal; margin: 0; }

/* ---------------------------------------------------------------------------
   Kosten-Tabelle
   ------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; }
table.cost-table { border-collapse: collapse; width: 100%; min-width: 520px; }
.cost-table th, .cost-table td {
    text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border-soft);
}
.cost-table th { font-family: var(--font-head); background: var(--surface-tint); }

/* ---------------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------------- */
.faq-item { border-bottom: 1px solid var(--border-soft); padding: 6px 0; }
.faq-item summary {
    cursor: pointer; font-weight: 700; padding: 14px 4px; list-style: none;
    display: flex; justify-content: space-between; gap: 12px; min-height: 48px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--teal-ink); }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-answer { padding: 0 4px 16px; color: var(--ink-soft); }

/* ---------------------------------------------------------------------------
   Formulare
   ------------------------------------------------------------------------- */
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 700; margin-bottom: 6px; }
.form-field .hint { display: block; color: var(--ink-soft); font-size: 0.9rem; margin-top: 4px; }
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%; font: inherit; padding: 12px 14px; border-radius: 10px;
    border: 1.5px solid var(--border-soft); background: #fff; color: var(--ink);
    min-height: 48px;
}
.form-field textarea { min-height: 120px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; }
.form-check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success {
    background: var(--surface-tint); border: 1px solid var(--teal-ink);
    border-radius: var(--radius); padding: 18px 20px;
}
.form-error {
    background: var(--surface-warm); border: 1px solid var(--magenta-ink);
    border-radius: var(--radius); padding: 14px 18px; margin-bottom: 16px; color: var(--ink);
}

/* ---------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer { background: var(--surface-tint); color: var(--ink-soft); padding: 56px 0 110px; }
.site-footer a { color: var(--teal-ink); }
.site-footer a:hover { color: var(--magenta-ink); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.site-footer h2 { color: var(--ink); font-size: 1.1rem; margin-top: 0; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 14px; }
.footer-contact-row { display: flex; gap: 8px; margin: 0 0 4px; }
.footer-contact-label { flex: 0 0 62px; }
.footer-bottom {
    margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-soft);
    font-size: 0.9rem; color: var(--ink-soft);
    display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}

/* ---------------------------------------------------------------------------
   Mobile CTA-Leiste (immer sichtbar)
   ------------------------------------------------------------------------- */
.mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: var(--border-soft);
    box-shadow: 0 -4px 16px rgba(10,59,68,0.15);
}
.mobile-cta a {
    background: var(--surface); color: var(--magenta-ink); text-decoration: none;
    font-weight: 700; text-align: center; padding: 14px 8px; min-height: 60px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.mobile-cta a:first-child { background: var(--magenta-ink); color: #fff; }

/* Die feste Leiste ist eine mobile Bedienhilfe (kurze Daumenreichweite zum
   Telefon). Ab Desktop-Breite gibt es genug Platz für Buttons im Fließtext
   und einen sichtbaren Telefonlink im Header, daher blenden wir sie dort aus. */
@media (min-width: 900px) {
    .mobile-cta { display: none; }
    body { padding-bottom: 0; }
}

/* ---------------------------------------------------------------------------
   Cookie-Hinweis
   ------------------------------------------------------------------------- */
.cookie-note {
    position: fixed; left: 0; right: 0; bottom: 76px; z-index: 300;
    background: var(--surface); border-top: 1px solid var(--border-soft);
    padding: 10px 16px; font-size: 0.85rem; color: var(--ink-soft);
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
}
/* Ohne diese Regel gewinnt display:flex oben immer gegen das hidden-Attribut,
   das der Browser sonst automatisch auf display:none setzt — der Hinweis
   ließe sich dann per Klick auf "Verstanden" nie mehr ausblenden. */
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; flex: 1 1 240px; }
.cookie-note strong { color: var(--ink); }
.cookie-note button {
    flex: none; background: transparent; color: var(--teal-ink); border: 1.5px solid var(--teal-ink);
    border-radius: 999px; padding: 6px 16px; font-weight: 700; cursor: pointer;
    min-height: 36px; font-size: 0.85rem;
}
@media (min-width: 900px) {
    .cookie-note {
        left: auto; right: 20px; bottom: 20px; max-width: 360px;
        border: 1px solid var(--border-soft); border-radius: var(--radius);
        box-shadow: var(--shadow-soft); flex-direction: column; align-items: flex-start;
    }
}

/* ---------------------------------------------------------------------------
   Kontaktübersicht (Adresse / Kontakt / Rechtliches)
   ------------------------------------------------------------------------- */
.contact-overview {
    display: grid; gap: 24px; grid-template-columns: 1fr; margin-bottom: 32px;
}
@media (min-width: 720px) { .contact-overview { grid-template-columns: repeat(3, 1fr); } }
.contact-overview__item { display: flex; gap: 14px; align-items: flex-start; }
.contact-overview__item h3 { margin: 0 0 4px; font-size: 1.05rem; }
.contact-overview__item p { margin: 0; color: var(--ink-soft); }

/* ---------------------------------------------------------------------------
   Map-Vorschau (kein automatischer iFrame, lädt erst nach Klick)
   ------------------------------------------------------------------------- */
.map-teaser {
    position: relative; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border-soft); background: var(--surface);
    min-height: 320px; display: flex; align-items: center; justify-content: center;
}
.map-teaser a.btn { text-decoration: none; }
.map-teaser__grid {
    position: absolute; inset: 0; opacity: 0.5;
    background-image:
        linear-gradient(var(--border-soft) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
    background-size: 28px 28px;
}
.map-teaser__content { position: relative; text-align: center; padding: 24px; max-width: 420px; }
.map-teaser__iframe { border: 0; display: block; }

/* ---------------------------------------------------------------------------
   Fade-in beim Scrollen — Klasse wird per JS gesetzt (assets/js/app.js),
   damit ohne JavaScript oder bei "Bewegungen reduzieren" einfach alles
   normal sichtbar bleibt.
   ------------------------------------------------------------------------- */
.fade-in-section {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
