/* Praxis Karli – Stylesheet
   Layout und Design sind fest; Texte werden über admin.php gepflegt. */

:root {
    --bg: #f7f9fa;
    --surface: #edf1f3;
    --ink: #243038;
    --ink-soft: #47575f;
    --line: #d7dee2;
    --brand: #d8005b;
    --brand-ink: #ad004a;
    --alert: #8f2b1c;
    --alert-bg: #f7edea;
    --alert-line: #e3cdc7;
    --radius: 10px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    font-size: 1.125rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.wrap {
    max-width: 68rem;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

h1, h2, h3 {
    font-family: "Literata", Georgia, serif;
    font-weight: 500;
    line-height: 1.25;
    text-wrap: balance;
    color: var(--ink);
}

h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 1.25rem; }
h3 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }

p { margin: 0 0 1rem; max-width: 65ch; text-wrap: pretty; }
.lead { font-size: 1.2rem; }

a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 150ms ease; }

@media (hover: hover) and (pointer: fine) {
    a:hover { color: var(--ink); }
}

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

/* Sichtbarer Fokus für Tastatur-Navigation */
:focus-visible {
    outline: 3px solid var(--brand-ink);
    outline-offset: 2px;
    border-radius: 3px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 100;
    background: var(--ink);
    color: #fff;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
}

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

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 249, 250, 0.94);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

/* Reihenfolge Desktop: Logo | Navigation (rechts) | Notfall-Knopf */
.header-inner .site-nav { order: 2; margin-left: auto; }
.header-inner .btn-notfall { order: 3; }

.logo img { width: 302px; height: auto; }

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    flex-wrap: wrap;
}

.site-nav a {
    text-decoration: none;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 1rem;
    /* Touch-Ziel vergrössern ohne sichtbare Layout-Änderung */
    padding: 0.6rem 0.15rem;
    margin: -0.35rem -0.15rem;
}

@media (hover: hover) and (pointer: fine) {
    .site-nav a:hover { color: var(--brand-ink); }
}

.btn-notfall {
    background: var(--alert);
    color: #fff !important;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 150ms ease, transform 150ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
    .btn-notfall:hover { background: #6f2115; }
}

.btn-notfall:active { transform: scale(0.97); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: clamp(24rem, 62vh, 40rem);
    display: flex;
    align-items: flex-start;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 65%;
}

/* Heller Verlauf oben, damit Titel auf jedem Bild lesbar bleibt */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(247, 249, 250, 0.92) 0%,
        rgba(247, 249, 250, 0.65) 45%,
        rgba(247, 249, 250, 0) 80%);
}

.hero-text { z-index: 1; }

.hero-text {
    position: relative;
    width: 100%;
    padding-top: clamp(3rem, 9vh, 6rem);
    animation: hero-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-text h1 {
    max-width: 22ch;
    text-shadow: 0 1px 6px rgba(247, 249, 250, 0.8);
}

.hero-sub {
    font-size: 1.2rem;
    max-width: 46ch;
    color: var(--ink);
    text-shadow: 0 1px 6px rgba(247, 249, 250, 0.8);
}

@keyframes hero-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-text { animation: none; }
}

/* ---------- Sektionen ---------- */

section { padding: clamp(3rem, 7vw, 5.5rem) 0; }

.alt-bg { background: var(--surface); }

.dots {
    display: flex;
    gap: 9px;
    margin-bottom: 1.1rem;
}

.dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
}

.grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5.5fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

/* Bild abwechselnd links statt rechts – bricht die rasterartige Wiederholung auf.
   DOM-Reihenfolge bleibt (Überschrift zuerst) für Vorlesbarkeit/SEO. */
.grid-2.media-left .bild { order: -1; }

.bild { margin: 0; }

.bild img {
    border-radius: var(--radius);
    width: 100%;
    object-fit: cover;
}

/* ---------- Aktuell / Abwesenheit ---------- */

.aktuell { padding: clamp(2rem, 4vw, 3rem) 0; }

.aktuell-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.aktuell-box h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--brand-ink);
}

.abwesenheiten {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-weight: 700;
    font-size: 1.15rem;
}

.abwesenheiten li { padding: 0.15rem 0; }

.vertretung { color: var(--ink-soft); margin-bottom: 0; }

/* ---------- Angebot ---------- */

.angebot-intro { max-width: none; }

/* Methoden-Block unter der Schwerpunkte-Liste */
.methoden-block { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.methoden-block h3 { margin-top: 0; }

.stoerungen {
    columns: 2;
    column-gap: 2rem;
    padding-left: 1.2rem;
    margin: 0.75rem 0 0;
}

.stoerungen li {
    padding: 0.18rem 0;
    break-inside: avoid;
}

.stoerungen li::marker { color: var(--brand); }

/* ---------- Team ---------- */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem);
    max-width: 56rem;
}

.person img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.person h3 { margin: 0.5rem 0 0.15rem; }

.person .rolle {
    color: var(--brand-ink);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

/* ---------- Praktische Infos ---------- */

.info-liste {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 3.5rem;
    margin: 1.5rem 0 1rem;
    max-width: 60rem;
}

.info-item {
    padding-top: 1rem;
    border-top: 2px solid var(--line);
}

.info-item dt {
    font-family: "Literata", Georgia, serif;
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    color: var(--ink);
}

.info-item dd { margin: 0; color: var(--ink-soft); }

.downloads {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.downloads li {
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
    max-width: 40rem;
}

.pdf-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0.05rem 0.4rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* ---------- Notfall ---------- */

.notfall {
    background: var(--alert-bg);
    border-top: 1px solid var(--alert-line);
    border-bottom: 1px solid var(--alert-line);
}

.notfall h2 { color: var(--alert); }

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

.notfall-stelle {
    background: #fff;
    border: 1px solid var(--alert-line);
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
}

.notfall-stelle h3 { margin: 0 0 0.6rem; font-size: 1.1rem; }

.notfall-stelle .tel a {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--alert);
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .notfall-stelle .tel a:hover { text-decoration: underline; }
}

.notfall-stelle p { margin-bottom: 0.35rem; }

/* ---------- Kontakt ---------- */

address {
    font-style: normal;
    margin-bottom: 1rem;
}

.kontakt-links { font-size: 1.15rem; line-height: 2; }

.kontakt-links .tel {
    font-weight: 700;
    text-decoration: none;
    font-size: 1.3rem;
}

/* ---------- Footer ---------- */

.site-footer {
    border-top: 1px solid var(--line);
    padding: 1.5rem 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 1.25rem; }
.footer-inner a { color: var(--ink-soft); }
.credit { font-size: 0.85rem; }

/* ---------- Buttons ---------- */

.btn-primary,
.btn-outline {
    display: inline-block;
    border-radius: 999px;
    padding: 0.7rem 1.6rem;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease,
        transform 180ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 180ms ease;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 2px 8px rgba(173, 0, 74, 0.18);
}

@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover { background: var(--brand-ink); color: #fff; transform: translateY(-2px); }
    .btn-outline:hover { border-color: var(--brand-ink); color: var(--brand-ink); transform: translateY(-2px); }
}

.btn-primary:active,
.btn-outline:active { transform: scale(0.98); }

.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}

/* ---------- Hero-Panel ---------- */

.hero-panel {
    max-width: 50rem;
    margin: 0 auto;
    text-align: center;
    background: rgba(247, 249, 250, 0.58);
    backdrop-filter: blur(5px);
    border-radius: var(--radius);
    padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.75rem, 3.5vw, 2.75rem);
    box-shadow: 0 2px 12px rgba(36, 48, 56, 0.05);
}

/* Im zentrierten Panel füllen Titel und Absätze die Breite; text-align übernimmt die Zentrierung */
.hero-panel h1,
.hero-panel p { max-width: none; }

.hero-text h1 {
    text-shadow: none;
    margin: 0 0 0.5rem;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero-claim {
    font-family: "Literata", Georgia, serif;
    font-style: italic;
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    color: var(--brand-ink);
    margin: 0 0 0.6rem;
}

.hero-sub {
    font-size: 1.12rem;
    color: var(--ink);
    text-shadow: none;
    margin: 0 0 0.3rem;
}

.hero-cred {
    font-size: 0.92rem;
    color: var(--ink-soft);
    margin: 0 0 1.15rem;
}

.hero-panel .btn-primary { margin-top: 0.2rem; }

/* ---------- Prominente Abwesenheitsmeldung ---------- */

.ap-prominent-section { padding: clamp(1.75rem, 4vw, 2.75rem) 0 0; }

.ap-prominent {
    background: #fbf4ef;
    border: 1px solid #e2c4b8;
    border-radius: var(--radius);
    padding: clamp(1.35rem, 3vw, 1.9rem) clamp(1.5rem, 3vw, 2rem);
}

.ap-prominent-titel {
    font-size: clamp(1.3rem, 2.4vw, 1.6rem);
    color: var(--alert);
    margin: 0 0 0.5rem;
}

.ap-prominent-text {
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0 0 0.5rem;
    max-width: none;
}

.ap-prominent-zusatz {
    color: var(--ink-soft);
    margin: 0 0 1.1rem;
    max-width: none;
}

.ap-prominent-btn {
    background: var(--alert);
    box-shadow: 0 2px 8px rgba(143, 43, 28, 0.18);
}

@media (hover: hover) and (pointer: fine) {
    .ap-prominent-btn:hover { background: #6f2115; }
}

/* ---------- Geplante Abwesenheiten (kompakt, unterer Bereich) ---------- */

.geplante { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }

.geplante h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: 0.35rem; }

.geplante-sub {
    color: var(--ink-soft);
    font-weight: 600;
    margin: 0 0 1rem;
}

.geplante-liste {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.geplante-liste li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.geplante-hinweis {
    color: var(--ink-soft);
    margin: 0;
    max-width: 60ch;
}

/* ---------- Vertrauenskarten ---------- */

.vertrauen { padding: clamp(2rem, 4vw, 3rem) 0 0; }

.vertrauen-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.vertrauen-karte {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem 1.65rem;
    transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .vertrauen-karte:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(36, 48, 56, 0.07); }
}

.vertrauen-dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand);
    margin-bottom: 0.9rem;
}

.vertrauen-karte h2 {
    font-size: 1.2rem;
    margin: 0 0 0.45rem;
    line-height: 1.3;
}

.vertrauen-karte p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--ink-soft);
}

/* ---------- Abwesenheit – klarere Hierarchie ---------- */

.aktuell-kopf {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.6rem;
}

.aktuell-marke {
    width: 6px;
    height: 1.7rem;
    border-radius: 3px;
    background: var(--brand);
    flex: none;
}

.aktuell-box h2 {
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
    margin: 0;
    color: var(--brand-ink);
}

.aktuell-box .abwesenheiten {
    display: grid;
    gap: 0.4rem;
    margin: 0.9rem 0 1.1rem;
}

.aktuell-box .abwesenheiten li {
    background: var(--surface);
    border-radius: 8px;
    padding: 0.5rem 0.85rem;
    font-variant-numeric: tabular-nums;
}

/* ---------- Journey / Ihr Weg zu uns ---------- */

.weg-timeline {
    list-style: none;
    margin: 2.5rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    counter-reset: none;
}

.weg-schritt {
    position: relative;
    padding-top: 2.9rem;
}

/* feine horizontale Linie zwischen den Punkten */
.weg-schritt::before {
    content: "";
    position: absolute;
    top: 1rem;
    left: 0;
    right: -1.5rem;
    height: 2px;
    background: var(--line);
}

.weg-schritt:last-child::before { right: 0; }

.weg-nr {
    position: absolute;
    top: 0;
    left: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--brand);
    color: var(--brand-ink);
    font-family: "Literata", Georgia, serif;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.weg-schritt h3 { margin: 0 0 0.5rem; font-size: 1.12rem; }
.weg-schritt p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Bild-Hover ---------- */

.bild-hover img {
    box-shadow: 0 4px 14px rgba(36, 48, 56, 0.08);
    transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 300ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .bild-hover:hover img { transform: scale(1.02); box-shadow: 0 8px 22px rgba(36, 48, 56, 0.12); }
}

/* ---------- Variante 3: grösseres Bild neben Text (50/50), 4:3, zentriert ---------- */

.werken-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.bild-v3 { margin: 0; }

.bild-v3 img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 6px 20px rgba(36, 48, 56, 0.09);
}

@media (max-width: 800px) {
    .werken-grid { grid-template-columns: 1fr; }
    .werken-grid .bild-v3 { order: -1; }
}

/* ---------- Bild-Band (Panorama über die volle Contentbreite) ---------- */

.bild-band {
    margin: clamp(1.75rem, 4vw, 2.75rem) 0 0;
}

.bild-band img,
.bild-band iframe {
    display: block;
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    border: 0;
    border-radius: var(--radius);
    box-shadow: 0 6px 20px rgba(36, 48, 56, 0.09);
}

@media (max-width: 600px) {
    /* Auf dem Handy ist 21:9 zu flach – etwas höheres Format */
    .bild-band img,
    .bild-band iframe { aspect-ratio: 3 / 2; }
}

/* ---------- Anklickbare Adresse (Google Maps) ---------- */

.adresse-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.adresse-link:hover,
.adresse-link:focus-visible {
    color: var(--brand-ink);
    border-bottom-color: currentColor;
}

/* ---------- Angebot als Tags ---------- */

.stoerungen-tags {
    list-style: none;
    margin: 1.1rem 0 0;
    padding: 0;
    columns: 3;
    column-gap: 2.5rem;
}

.stoerungen-tags li {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.45;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    break-inside: avoid;
}

/* dezente Akzentmarkierung statt Button-Optik */
.stoerungen-tags li::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    transform: translateY(-0.15em);
}

/* ---------- Team als Karten ---------- */

.person {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem 1.6rem 1.75rem;
    transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .person:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(36, 48, 56, 0.08); }
}

.person img { object-position: center top; }
.person h3 { margin: 0.5rem 0 0.15rem; }
.person > p { max-width: 40ch; line-height: 1.65; }

.person-zitat {
    margin: 1.25rem 0 0;
    padding: 1rem 1.1rem;
    background: #fbf4f7;
    border-radius: 8px;
    font-family: "Literata", Georgia, serif;
    font-style: italic;
    color: var(--ink-soft);
    /* Zitat unten ausrichten, damit die Karten gleich wirken */
    margin-top: auto;
}

/* ---------- FAQ / Accordion ---------- */

.faq-liste {
    margin-top: 1.5rem;
    max-width: 52rem;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-frage { margin: 0; font-size: 1.05rem; }

.faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    padding: 1.1rem 1.35rem;
    font: inherit;
    font-family: "Literata", Georgia, serif;
    font-size: 1.05rem;
    color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
    .faq-toggle:hover { color: var(--brand-ink); }
}

.faq-icon {
    flex: none;
    width: 14px;
    height: 14px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: var(--brand);
    border-radius: 2px;
    transition: transform 250ms cubic-bezier(0.23, 1, 0.32, 1), opacity 250ms ease;
}

.faq-icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq-icon::after  { top: 0; left: 6px; width: 2px; height: 14px; }

.faq-toggle[aria-expanded="true"] .faq-icon::after { transform: scaleY(0); opacity: 0; }

.faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-panel.is-open { grid-template-rows: 1fr; }

.faq-panel-inner { overflow: hidden; }

.faq-panel-inner p {
    margin: 0;
    padding: 0 1.35rem 1.25rem;
    color: var(--ink-soft);
}

/* Ohne JavaScript bleiben alle Antworten sichtbar */
.no-js .faq-panel { grid-template-rows: 1fr; }
.no-js .faq-icon::after { transform: scaleY(0); opacity: 0; }

/* ---------- Kontakt-CTA ---------- */

.kontakt-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
}

.kontakt-cta {
    display: grid;
    gap: 0.7rem;
    margin: 0 0 1.25rem;
    max-width: 30rem;
}

@media (max-width: 700px) {
    .kontakt-info { grid-template-columns: 1fr; }
}

.kontakt-zeile {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.3rem 0.9rem;
    background: #fbf0f5;
    border: 1px solid #edcade;
    border-radius: var(--radius);
    padding: 0.85rem 1.15rem;
    text-decoration: none;
    color: var(--ink);
    transition: background-color 180ms ease, transform 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .kontakt-zeile:hover { background: #f6e2ed; transform: translateY(-2px); color: var(--ink); }
}

.kontakt-label {
    font-size: 0.8rem;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 4.5rem;
}

.kontakt-wert {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-ink);
    font-variant-numeric: tabular-nums;
    margin-left: auto;
}

.kontakt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

/* ---------- Footer ---------- */

.footer-nav { flex-wrap: wrap; }

/* ---------- Scroll-Reveal ---------- */

.reveal-ready .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms ease, transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
    .faq-panel { transition: none; }
    .btn-primary, .btn-outline, .vertrauen-karte, .person, .bild-hover img, .kontakt-zeile { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .vertrauen-grid { grid-template-columns: repeat(2, 1fr); }
    .stoerungen-tags { columns: 2; }
    /* Journey: vertikale Timeline */
    .weg-timeline {
        grid-template-columns: 1fr;
        gap: 0;
        margin-left: 0.4rem;
    }
    .weg-schritt {
        padding: 0 0 2.25rem 3rem;
        min-height: 2.4rem;
    }
    .weg-schritt::before {
        top: 0;
        left: 1rem;
        right: auto;
        bottom: -0.25rem;
        width: 2px;
        height: auto;
    }
    .weg-schritt:last-child { padding-bottom: 0; }
    .weg-schritt:last-child::before { bottom: auto; height: 2rem; }
}

@media (max-width: 600px) {
    .vertrauen-grid { grid-template-columns: 1fr; }
    .info-liste { grid-template-columns: 1fr; }
    .stoerungen-tags { columns: 1; }
    .kontakt-buttons .btn-primary,
    .kontakt-buttons .btn-outline { width: 100%; text-align: center; }
}

@media (max-width: 800px) {
    /* Zweizeiliger Header ist höher – Anker-Sprünge müssen tiefer landen */
    html { scroll-padding-top: 7.5rem; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-2 .bild { order: -1; }
    .kontakt .grid-2 .bild { order: 1; }
    .hero { min-height: 22rem; }
    .hero-panel { max-width: none; }
    .logo img { width: 176px; }
    .header-inner {
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
        row-gap: 0.35rem;
    }
    /* Mobile: Logo + Notfall in erster Zeile, Links darunter */
    .header-inner .btn-notfall { order: 1; margin-left: auto; padding: 0.45rem 1rem; }
    .header-inner .site-nav { order: 2; width: 100%; margin-left: 0; }
    .site-nav { gap: 0.5rem 0.95rem; }
    .site-nav a { font-size: 0.95rem; }
    .footer-inner { flex-direction: column; gap: 0.75rem; }
}
