/* PRUEFMARKE: site.css Stand 2026-08-19-AE (Fixes: Dell-Gruen als Primaerfarbe, Sticky-Header, Mobilmenue menu-open, data-fade nur Listen, Dropdown-Eltern verlinken) */

/* ============================================================
   sabrinadell-shiatsu.ch | GD Core
   Farben und Schriften kommen zur Laufzeit aus config.php
   (brand_style). Hier stehen nur Fallbacks und das Layout.
   Rollen: Afacad = Titel/Navigation, Work Sans = Fliesstext,
   Poppins = Buttons.
   ============================================================ */

:root {
    --petrol:       #507D2B;   /* Olivgruen | Header, Footer, Buttons */
    --petrol-deep:  #3E6120;
    --petrol-tint:  #F1EDE8;
    --coral:        #8B4513;   /* Sattelbraun | Titel */
    --coral-soft:   #EEEEEE;
    --paper:        #FFFFFF;
    --ink:          #323232;
    --muted:        #666666;
    --rating:       #E7A93C;
    --font-display: "Afacad", system-ui, sans-serif;
    --font-body:    "Work-Sans", system-ui, sans-serif;
    --font-button:  "Poppins", system-ui, sans-serif;
    --wrap:         1180px;
    --radius:       10px;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 380;
    line-height: 1.75;
    color: var(--ink);
    background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--coral); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    color: var(--coral);
    margin: 0 0 .5em;
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.wrap-schmal { max-width: 880px; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 200;
    background: var(--paper); color: var(--ink); padding: .6rem 1rem;
}
.skip-link:focus { left: 0; }

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

/* ---------- Einblenden beim Scrollen ----------
   Das JS blendet nur .gd-liste[data-fade] per ist-sichtbar ein - deshalb
   darf NUR diese Kombination anfangs versteckt sein. Alles andere mit
   data-fade bleibt sichtbar (sonst fehlen Inhalte, wenn kein Beobachter
   dafuer laeuft). */
.js .gd-liste[data-fade] li { opacity: 0; transform: translateY(10px); }
.js .gd-liste[data-fade].ist-sichtbar li {
    opacity: 1; transform: none;
    transition: opacity .45s ease, transform .45s ease;
    transition-delay: calc(var(--i, 0) * 70ms);
}
@media (prefers-reduced-motion: reduce) { .js .gd-liste[data-fade] li { opacity: 1; transform: none; } }

/* ============================================================
   HEADER | gruenes Band, zentrierte Navigation, CTA-Pille
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--petrol);
}
/* site.js setzt beim Scrollen header-compact: Leiste etwas flacher. */
.header-compact .hdr-inner { min-height: 72px; }
.hdr-inner { transition: min-height .2s ease; }
.hdr-inner {
    max-width: var(--wrap);
    margin-inline: auto;
    padding: 0 clamp(1rem, 3vw, 1.6rem);
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2.4rem);
}
.hdr-nav-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; align-items: center;
    gap: clamp(.9rem, 2.4vw, 2.2rem);
}
.hdr-nav-item { position: relative; }
.hdr-nav-link {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.02rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .4rem 0;
}
.hdr-nav-link:hover, .hdr-nav-link[aria-current="page"] { color: #fff; opacity: .85; }
.hdr-nav-link[aria-current="page"] { border-bottom: 2px solid rgba(255,255,255,.85); }
.nav-caret { transition: transform .2s ease; }
.has-sub:hover .nav-caret, .has-sub:focus-within .nav-caret { transform: rotate(180deg); }

/* Aufklappmenue */
.hdr-sub {
    list-style: none; margin: 0; padding: .5rem 0;
    position: absolute; left: 50%; top: 100%;
    transform: translateX(-50%) translateY(6px);
    min-width: 250px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 14px 34px rgba(0,0,0,.16);
    opacity: 0; visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-sub:hover .hdr-sub, .has-sub:focus-within .hdr-sub {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.hdr-sub a {
    display: block;
    padding: .55rem 1.2rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1rem;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
}
.hdr-sub a:hover, .hdr-sub a[aria-current="page"] { color: var(--petrol-deep); background: var(--petrol-tint); }

/* CTA-Pille "Termin online buchen" */
.hdr-cta {
    font-family: var(--font-button);
    font-size: .95rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    border: 1.6px solid rgba(255,255,255,.9);
    border-radius: 999px;
    padding: .55rem 1.35rem;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease;
}
.hdr-cta:hover { background: #fff; color: var(--petrol-deep); }

/* Burger + mobiles Vollbildmenue */
.burger {
    display: none;
    background: none; border: 0; cursor: pointer;
    width: 44px; height: 44px;
    flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.burger span { display: block; width: 26px; height: 2.4px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.4px) rotate(-45deg); }

.mm {
    position: fixed; inset: 0; z-index: 40;
    background: var(--petrol);
    display: none;
    overflow-y: auto;
    padding: 110px 1.4rem 3rem;
}
.mm.ist-offen, body.menu-open .mm { display: block; }
body.menu-open { overflow: hidden; }
.mm-nav { list-style: none; margin: 0; padding: 0; }
.mm-item { opacity: 0; transform: translateY(10px); animation: mmRein .35s ease forwards; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes mmRein { to { opacity: 1; transform: none; } }
.mm-main {
    display: block;
    font-family: var(--font-display);
    font-weight: 600; font-size: 1.35rem;
    letter-spacing: .06em; text-transform: uppercase;
    color: #fff; text-decoration: none;
    padding: .55rem 0;
}
.mm-main[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.mm-sub { list-style: none; margin: 0 0 .4rem; padding: 0 0 0 1rem; }
.mm-sub a { display: block; color: rgba(255,255,255,.92); text-decoration: none; font-size: 1.05rem; padding: .3rem 0; }
.mm-cta { border: 1.6px solid rgba(255,255,255,.9); border-radius: 999px; display: inline-block; padding: .5rem 1.3rem; font-size: 1.05rem; margin-top: .8rem; }

@media (max-width: 980px) {
    .hdr-inner { justify-content: space-between; min-height: 68px; }
    .hdr-nav, .hdr-cta { display: none; }
    .burger { display: flex; }
}

/* ---------- Schnellwahl-Leiste rechts ---------- */
.quick-rail {
    position: fixed; right: 0; top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    display: flex; flex-direction: column; gap: 2px;
}
.quick-rail a {
    display: flex; align-items: center; justify-content: center;
    width: 46px; height: 46px;
    background: var(--petrol);
    color: #fff;
    border-radius: 8px 0 0 8px;
    transition: width .15s ease, background .15s ease;
}
.quick-rail a:hover { background: var(--petrol-deep); width: 52px; }
.quick-rail a.ist-buchung { background: #B3261E; }
.quick-rail a.ist-buchung:hover { background: #8f1e18; }
.quick-rail svg { width: 21px; height: 21px; }
@media (max-width: 700px) { .quick-rail { display: none; } }

/* ============================================================
   BUTTONS | gruene Pille (Poppins), weisse Variante
   ============================================================ */
.fs-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-button);
    font-size: .95rem; font-weight: 500;
    text-decoration: none;
    border: 0; cursor: pointer;
    border-radius: 999px;
    padding: .62rem 1.7rem;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.fs-btn-gruen, .fs-btn-grad, button.fs-btn {
    background: var(--petrol); color: #fff;
}
.fs-btn-gruen:hover, .fs-btn-grad:hover, button.fs-btn:hover { background: var(--petrol-deep); color: #fff; }
.fs-btn-weiss {
    background: #fff; color: var(--petrol-deep);
    box-shadow: inset 0 0 0 1.6px var(--petrol);
}
.fs-btn-weiss:hover { background: var(--petrol); color: #fff; }
.fs-ico { width: 17px; height: 17px; }
.gd-button-zeile { margin: 1.4rem 0; }

/* ============================================================
   STARTSEITE
   ============================================================ */

/* ---------- Hero: Bild mit Bogen-Unterkante ---------- */
.sd-hero {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 48% 48% / 0 0 5.5vw 5.5vw;
}
.sd-hero-bild {
    width: 100%;
    height: clamp(320px, 46vw, 640px);
    object-fit: cover;
    object-position: center 35%;
}

/* ---------- Intro: braune H1, gruene Zeilen ---------- */
.sd-intro { padding: clamp(2.4rem, 6vw, 4.2rem) 0 clamp(1.2rem, 3vw, 2rem); text-align: center; }
.sd-h1 {
    font-size: clamp(2.1rem, 5.4vw, 3.4rem);
    font-weight: 500;
    margin-bottom: .8em;
}
.sd-eyebrow {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.2rem);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--petrol-deep);
    margin: 0 0 1.1em;
}
.sd-claim {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    letter-spacing: .07em;
    line-height: 1.6;
    text-transform: uppercase;
    color: var(--petrol-deep);
    margin: 0;
}

/* ---------- Drei Karten mit Oval-Bild ---------- */
.sd-karten { padding: clamp(2rem, 5vw, 3.6rem) 0 clamp(2.6rem, 6vw, 4.4rem); }
.sd-karten-reihe {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.6rem, 4vw, 3.4rem);
}
.sd-karte { text-align: center; }
.sd-karte-oval {
    display: block;
    width: min(300px, 78%);
    margin: 0 auto 1.5rem;
    aspect-ratio: 6 / 5;
    border-radius: 50%;
    overflow: hidden;
}
.sd-karte-oval img { width: 100%; height: 100%; object-fit: cover; }
.sd-karte-titel {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    margin-bottom: .7em;
}
.sd-karte-text { max-width: 30ch; margin: 0 auto 1.3rem; }
@media (max-width: 860px) {
    .sd-karten-reihe { grid-template-columns: 1fr; gap: 2.6rem; }
    .sd-karte-text { max-width: 44ch; }
}

/* ---------- Parallax-Stimmungsbild ---------- */
.sd-parallax { overflow: hidden; }
.sd-parallax-bild {
    width: 100%;
    height: clamp(280px, 42vw, 560px);
    object-fit: cover;
}

/* ---------- Bewertungen ---------- */
.sd-bewertungen { padding: clamp(2.6rem, 6vw, 4.4rem) 0; }
.sd-titel {
    font-size: clamp(1.9rem, 4.6vw, 3rem);
    font-weight: 500;
    margin-bottom: 1em;
}
.bw-kopf {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.4rem; flex-wrap: wrap;
    background: #f6f6f4;
    border-radius: var(--radius);
    padding: 1.1rem 1.5rem;
    margin-bottom: 1.6rem;
}
.bw-gesamt { display: flex; align-items: center; gap: .7rem; margin: 0; flex-wrap: wrap; }
.bw-marke { font-weight: 600; }
.bw-note { font-size: 1.35rem; font-weight: 700; }
.bw-zahl { color: var(--muted); font-size: .9rem; }
.bw-sterne { color: var(--rating); letter-spacing: .12em; font-size: 1.05rem; }
.bw-link { font-size: .88rem; padding: .5rem 1.2rem; }
.bw-karten {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.1rem;
}
.bw-karte {
    margin: 0;
    background: #f6f6f4;
    border-radius: var(--radius);
    padding: 1.2rem 1.3rem;
}
.bw-name { font-weight: 600; margin: 0 0 .2rem; }
.bw-zeit { color: var(--muted); font-weight: 400; font-size: .85rem; margin-left: .3rem; }
.bw-text { margin: .5rem 0 0; font-size: .95rem; }

/* ---------- Kontaktabschnitt der Startseite ---------- */
.sd-kontakt { padding: clamp(2.4rem, 6vw, 4.2rem) 0 clamp(3rem, 7vw, 5rem); }
.sd-kontakt-spalten {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}
.sd-kontakt-info .sd-karte-titel { text-align: left; }
.sd-adresse { margin: 0 0 1.1rem; }
.sd-adresse a { color: var(--ink); text-decoration: none; }
.sd-adresse a:hover { color: var(--petrol-deep); }
.sd-kontakt-bild { max-width: 380px; margin-top: 1.4rem; }
@media (max-width: 900px) {
    .sd-kontakt-spalten { grid-template-columns: 1fr; }
}

/* ============================================================
   UNTERSEITEN
   ============================================================ */
.page-kopf { padding: clamp(2.2rem, 5.5vw, 3.8rem) 0 0; }
.page-titel { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 500; margin: 0; }
.page-lead { font-size: 1.1rem; color: var(--muted); margin: .6rem 0 0; }

.fs-band { padding: clamp(1.8rem, 4.5vw, 3rem) 0 clamp(2.6rem, 6vw, 4.4rem); }
.fs-gradient { background: none; }

/* Zwei Spalten: Inhalt links, Bilder rechts */
.fs-zwei-spalten {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: clamp(1.8rem, 4.5vw, 4rem);
    align-items: start;
}
.fs-zwei-spalten.ist-einspaltig { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
@media (max-width: 860px) { .fs-zwei-spalten { grid-template-columns: 1fr; } }

.measure { max-width: 820px; }

/* ---------- Fliesstext / Elemente ---------- */
.prose { font-size: 1.02rem; }
.prose h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin: 1.6em 0 .55em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; color: var(--ink); margin: 1.4em 0 .4em; }
.prose p { margin: 0 0 1.1em; }
.prose blockquote {
    margin: 1.6em 0;
    padding: .3em 0 .3em 1.2em;
    border-left: 3px solid var(--petrol);
    font-family: var(--font-display);
    font-size: 1.18rem;
    line-height: 1.55;
    color: var(--coral);
}
.prose blockquote p { margin: 0; }

.gd-liste { list-style: none; margin: 0 0 1.3em; padding: 0; }
.gd-liste li { position: relative; padding-left: 1.5em; margin-bottom: .45em; }
.gd-liste li::before {
    content: ""; position: absolute; left: 0; top: .58em;
    width: .55em; height: .55em; border-radius: 50%;
    background: var(--petrol);
}
.gd-liste-haken li::before {
    content: "✓"; background: none;
    width: auto; height: auto; top: 0;
    color: var(--petrol-deep); font-weight: 700;
}

.gd-akk { border-bottom: 1px solid #e5e2dd; }
.gd-akk summary {
    cursor: pointer; list-style: none;
    font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
    color: var(--ink);
    padding: .9rem 1.6rem .9rem 0;
    position: relative;
}
.gd-akk summary::-webkit-details-marker { display: none; }
.gd-akk summary::after {
    content: ""; position: absolute; right: .2rem; top: 50%;
    width: .6rem; height: .6rem;
    border-right: 2px solid var(--petrol-deep); border-bottom: 2px solid var(--petrol-deep);
    transform: translateY(-70%) rotate(45deg);
    transition: transform .2s ease;
}
.gd-akk[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.gd-akk-inhalt { padding: 0 0 1.1rem; }

.md-bild { margin: 0 0 1.4rem; }
.md-bild img { border-radius: var(--radius); width: 100%; }
.md-bild.ist-klein img { max-width: 300px; width: auto; border-radius: 0; margin-inline: auto; }

/* Rechtsseiten: Titel + Accordion */
.fs-acc details { border-bottom: 1px solid #e5e2dd; }
.fs-acc summary {
    cursor: pointer; list-style: none;
    font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
    padding: 1rem 1.6rem 1rem 0; position: relative; color: var(--ink);
}
.fs-acc summary::-webkit-details-marker { display: none; }
.fs-acc summary::after {
    content: ""; position: absolute; right: .2rem; top: 50%;
    width: .6rem; height: .6rem;
    border-right: 2px solid var(--petrol-deep); border-bottom: 2px solid var(--petrol-deep);
    transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.fs-acc details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.fs-acc .prose { padding-bottom: 1.2rem; }

/* ============================================================
   FORMULARE (Schritt-Formular aus GD Core)
   ============================================================ */
.gd-form { max-width: 620px; }
.gd-form label { display: block; font-weight: 600; margin-bottom: 1rem; font-size: .96rem; }
.gd-form input[type="text"], .gd-form input[type="email"], .gd-form input[type="tel"],
.gd-form select, .gd-form textarea {
    display: block; width: 100%;
    margin-top: .35rem;
    font: inherit; font-weight: 400;
    color: var(--ink);
    background: #fff;
    border: 1px solid #cfccc6;
    border-radius: 8px;
    padding: .62rem .8rem;
}
.gd-form input:focus, .gd-form select:focus, .gd-form textarea:focus {
    outline: 2px solid var(--petrol); outline-offset: 1px; border-color: var(--petrol);
}
.gd-form fieldset { border: 0; margin: 0; padding: 0; }
.gd-hp { position: absolute; left: -9999px; }
.gd-pflicht { color: #B3261E; }
.gd-hinweis { color: var(--muted); font-size: .88rem; }
.gd-form-fehler { color: #B3261E; font-weight: 600; }
.gd-form-dank { background: var(--petrol-tint); border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.gd-schritt-knoepfe { display: flex; gap: .8rem; margin-top: 1.2rem; }
.gd-fortschritt { margin-bottom: 1.4rem; }
.gd-fortschritt-text { display: block; font-size: .88rem; color: var(--muted); margin-bottom: .4rem; }
.gd-fortschritt-bahn { display: block; height: 8px; background: #e8e6e1; border-radius: 999px; overflow: hidden; }
.gd-fortschritt-fuellung {
    display: flex; align-items: center; justify-content: flex-end;
    height: 100%; background: var(--petrol); border-radius: 999px;
    color: transparent; font-size: 0;
    transition: width .3s ease;
}
.gd-termin iframe { width: 100%; border: 0; border-radius: var(--radius); }

/* ============================================================
   FOOTER | gruen, zwei Spalten mit Trennlinie
   ============================================================ */
.site-footer {
    background: var(--petrol);
    color: #fff;
    margin-top: clamp(2rem, 5vw, 3.5rem);
    padding: clamp(2.2rem, 5vw, 3.6rem) 0 1.4rem;
}
.footer-spalten {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.6rem, 4vw, 3rem);
}
.footer-uebersicht { border-left: 1px solid rgba(255,255,255,.45); padding-left: clamp(1.6rem, 4vw, 3rem); }
.footer-titel {
    color: #fff;
    font-size: 1.15rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    margin-bottom: 1rem;
}
.footer-adresse { margin: 0 0 1.1rem; font-size: .96rem; line-height: 1.8; }
.footer-adresse a { color: #fff; text-decoration: none; }
.footer-adresse a:hover { text-decoration: underline; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav a {
    display: inline-block;
    color: #fff; text-decoration: none;
    font-size: .96rem; padding: .12rem 0;
}
.footer-nav a:hover { text-decoration: underline; }
.footer-unten { text-align: center; margin-top: clamp(1.8rem, 4vw, 2.8rem); }
.footer-zeile { margin: 0 0 .5rem; font-size: .92rem; }
.footer-zeile a { color: #fff; text-decoration: none; }
.footer-zeile a:hover { text-decoration: underline; }
.footer-trenner { margin: 0 .5rem; opacity: .8; }
.footer-agentur { margin: 0; font-size: .8rem; }
.footer-agentur a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-agentur a:hover { color: #fff; }
@media (max-width: 700px) {
    .footer-spalten { grid-template-columns: 1fr; }
    .footer-uebersicht { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.45); padding-top: 1.6rem; }
}

/* ---------- 404 ---------- */
.fs-404 { text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; }

/* ---------- Druck ---------- */
@media print {
    .site-header, .quick-rail, .site-footer { display: none; }
    body { font-size: 12pt; }
}
