/* ============================================================
   Agnes Schieder – Heilmassage  |  Stylesheet
   Farbpalette aus dem Logo abgeleitet:
   Salbeigrün + Kupfer/Terrakotta-Akzent auf Creme/Weiß.
   ============================================================ */

:root {
    --sage:        #7e8e72;
    --sage-dark:   #5f6e55;
    --sage-light:  #a7b79b;
    --sage-soft:   #cdd6c2;
    --copper:      #c2986b;
    --copper-dark: #a87c4e;
    --cream:       #faf7f1;
    --beige:       #e7ddcd;
    --ink:         #33372e;
    --muted:       #6b6f64;
    --white:       #ffffff;

    --radius:   14px;
    --radius-s: 9px;
    --shadow:   0 10px 30px rgba(51, 55, 46, .08);
    --shadow-s: 0 4px 14px rgba(51, 55, 46, .07);
    --maxw:     1120px;
    --transition: .25s ease;

    --font-head: "Cormorant Garamond", Georgia, serif;
    --font-body: "Nunito Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: .2em 0 .4em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0 0 .3em; }
h3 { font-size: 1.25rem; margin: 0 0 .3em; }
p  { margin: 0 0 1em; }
a  { color: var(--sage-dark); text-decoration: none; }
a:hover { color: var(--copper-dark); }
img { max-width: 100%; height: auto; display: block; }

/* ---------- Layout-Helfer ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--alt { background: var(--white); }

.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section__kicker, .section__intro { color: var(--muted); }
.section__kicker {
    display: inline-block; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
    color: var(--copper-dark); font-weight: 700; margin-bottom: .6em;
}
.section__intro { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block; cursor: pointer; border: 2px solid transparent;
    padding: .8em 1.6em; border-radius: 999px; font-family: var(--font-body);
    font-weight: 700; font-size: .98rem; transition: var(--transition); text-align: center;
}
.btn--primary { background: var(--sage); color: var(--white); border-color: var(--sage); }
.btn--primary:hover { background: var(--sage-dark); border-color: var(--sage-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--sage-dark); border-color: var(--sage); }
.btn--ghost:hover { background: var(--sage); color: var(--white); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Navbar ---------- */
.navbar {
    position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 241, .92);
    backdrop-filter: blur(8px); border-bottom: 1px solid var(--beige);
}
.navbar__inner {
    max-width: var(--maxw); margin: 0 auto; padding: 8px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.navbar__brand img { width: 170px; }
.navbar__nav { display: flex; align-items: center; gap: 22px; }
.navbar__nav a { color: var(--ink); font-weight: 600; font-size: .96rem; }
.navbar__nav a:hover { color: var(--copper-dark); }
.navbar__cta {
    background: var(--sage); color: var(--white) !important; padding: .5em 1.1em; border-radius: 999px;
}
.navbar__cta:hover { background: var(--sage-dark); }
.navbar__toggle {
    display: none; flex-direction: column; gap: 5px; background: none; border: 0;
    cursor: pointer; padding: 8px;
}
.navbar__toggle span { width: 26px; height: 2px; background: var(--ink); transition: var(--transition); }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(160deg, var(--cream) 0%, var(--beige) 100%);
    overflow: hidden;
}
.hero__inner {
    max-width: 760px; margin: 0 auto; padding: clamp(64px, 10vw, 120px) 24px;
    text-align: center;
}
.hero__eyebrow { color: var(--copper-dark); font-weight: 700; letter-spacing: .04em; margin-bottom: .4em; }
.hero__slogan { font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-style: italic; color: var(--sage-dark); margin: -.2em 0 .8em; }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; margin-left: auto; margin-right: auto; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.4em; justify-content: center; }

/* ---------- Beschwerde-Check ---------- */
.check__buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.check__btn {
    background: var(--white); border: 2px solid var(--sage-soft); color: var(--ink);
    padding: .65em 1.2em; border-radius: 999px; cursor: pointer; font-family: var(--font-body);
    font-weight: 600; font-size: .95rem; transition: var(--transition);
}
.check__btn:hover { border-color: var(--sage); }
.check__btn.is-active { background: var(--sage); border-color: var(--sage); color: var(--white); }
.check__result {
    margin-top: 28px; background: var(--cream); border: 1px solid var(--beige);
    border-left: 4px solid var(--copper); border-radius: var(--radius-s);
    padding: 22px 24px; max-width: 720px; margin-left: auto; margin-right: auto;
}
.check__result h3 { color: var(--sage-dark); }
.check__placeholder, .quiz__progress { color: var(--muted); }
.check__note, .quiz__disclaimer {
    margin-top: 12px; font-size: .85rem; color: var(--muted); font-style: italic;
}

/* ---------- Schmerzpunkt-Körperkarte ---------- */
.painmap { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: start; max-width: 920px; margin: 0 auto; }
.painmap__views { display: flex; gap: 8px; justify-content: center; margin-bottom: 14px; }
.painmap__view {
    background: var(--white); border: 2px solid var(--sage-soft); color: var(--ink);
    padding: .5em 1.2em; border-radius: 999px; cursor: pointer; font-family: var(--font-body);
    font-weight: 600; font-size: .92rem; transition: var(--transition);
}
.painmap__view:hover { border-color: var(--sage); }
.painmap__view.is-active { background: var(--sage); border-color: var(--sage); color: var(--white); }
.painmap__canvaswrap {
    background: var(--white); border: 1px solid var(--beige); border-radius: var(--radius);
    box-shadow: var(--shadow-s); padding: 14px; display: flex; justify-content: center;
}
.painmap__canvas { width: 100%; max-width: 320px; height: auto; cursor: crosshair; touch-action: manipulation; border-radius: var(--radius-s); }
.painmap__controls {
    background: var(--white); border: 1px solid var(--beige); border-radius: var(--radius);
    padding: 26px; box-shadow: var(--shadow-s);
}
.painmap__controls h3 { color: var(--sage-dark); }
.painmap__hint { color: var(--muted); font-size: .95rem; }
.painmap__sizelabel { display: block; font-weight: 600; margin: 16px 0 8px; font-size: .92rem; }
.painmap__sizerow { display: flex; align-items: center; gap: 16px; }
.painmap__sizerow input[type="range"] { flex: 1; accent-color: var(--sage); }
.painmap__preview {
    flex: 0 0 auto; width: 84px; height: 84px; border: 1px dashed var(--beige); border-radius: var(--radius-s);
    display: flex; align-items: center; justify-content: center; background: var(--cream);
}
.painmap__previewdot { display: block; width: 26px; height: 26px; border-radius: 50%; background: rgba(208,48,40,.4); border: 3px solid rgba(176,28,24,.95); }
.painmap__intensity { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.painmap__int {
    width: 34px; height: 34px; border: 2px solid transparent; border-radius: 8px; cursor: pointer;
    color: #fff; font-weight: 700; font-size: .9rem; text-shadow: 0 1px 2px rgba(0,0,0,.4);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.painmap__int:hover { transform: translateY(-2px); }
.painmap__int.is-active { border-color: var(--ink); box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(51,55,46,.3); transform: translateY(-2px); }
.painmap__types { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.painmap__type {
    background: var(--cream); border: 2px solid var(--beige); color: var(--ink); border-radius: 999px;
    padding: .35em 1em; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: .85rem;
    transition: var(--transition);
}
.painmap__type:hover { border-color: var(--sage-light); }
.painmap__type.is-active { background: var(--sage); border-color: var(--sage); color: #fff; }
#painmap-type {
    width: 100%; padding: 10px 12px; border: 2px solid var(--beige); border-radius: var(--radius-s);
    font-family: var(--font-body); font-size: .95rem; color: var(--ink); background: #fff;
}
#painmap-type:focus { outline: none; border-color: var(--sage); }
.painmap__count { margin: 16px 0; font-weight: 600; color: var(--sage-dark); }
.painmap__region { margin: 0 0 16px; background: var(--cream); border-left: 4px solid var(--copper); border-radius: var(--radius-s); padding: 14px 16px; }
.painmap__region strong { display: block; color: var(--sage-dark); margin-bottom: 4px; }
.painmap__region p { margin: 0 0 6px; font-size: .95rem; }
.painmap__regionnote { font-size: .8rem; color: var(--muted); font-style: italic; }

/* ---------- Popup / Modal (Schmerz-Markierung) ---------- */
.form__painbtn { width: 100%; }
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-start; justify-content: center; padding: 24px; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal__backdrop { position: fixed; inset: 0; background: rgba(51, 55, 46, .55); }
.modal__dialog {
    position: relative; z-index: 1; margin: auto; width: 100%; max-width: 960px;
    background: var(--cream); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.3);
    padding: clamp(20px, 4vw, 40px);
}
.modal__close {
    position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; cursor: pointer;
    border-radius: 50%; background: var(--beige); color: var(--ink); font-size: 1.6rem; line-height: 1; transition: var(--transition);
}
.modal__close:hover { background: var(--sage); color: #fff; }
.modal__title { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 44px .3em 0; }
.modal__intro { color: var(--muted); margin-bottom: 1.5em; }
.modal .painmap { margin: 0; }
.painmap__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.painmap__note { margin-top: 14px; font-size: .82rem; color: var(--muted); font-style: italic; }

/* ---------- Behandlungs-Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.card {
    background: var(--cream); border: 1px solid var(--beige); border-radius: var(--radius);
    padding: 22px 24px; transition: var(--transition);
}
.section--alt .card { background: var(--cream); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    width: 100%; background: none; border: 0; cursor: pointer; padding: 0; text-align: left;
}
.card__title { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: var(--ink); margin: 0; }
.card__head { font: inherit; color: inherit; }
.card__icon {
    flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--sage);
    color: var(--white); font-size: 1.2rem; line-height: 24px; text-align: center; transition: var(--transition);
}
.card__head[aria-expanded="true"] .card__icon { transform: rotate(45deg); background: var(--copper); }
.card__short { color: var(--muted); margin: .7em 0 0; font-size: .96rem; }
.card__body { margin-top: .8em; padding-top: .8em; border-top: 1px dashed var(--beige); }
.card__body p { margin: 0; }
.card__more {
    display: inline-block; margin-top: .9em; font-weight: 700; color: var(--copper-dark);
}
.card__more:hover { color: var(--sage-dark); }

/* ---------- Detailseite (Behandlung) ---------- */
.article__back { margin-bottom: 1.4em; font-size: .92rem; color: var(--muted); }
.article__back a { color: var(--sage-dark); font-weight: 600; }
.article__source a { color: var(--sage-dark); font-weight: 600; }
.article h1 { margin-top: .2em; }
.article__lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 1.6em; }
.article__body p { margin: 0 0 1.1em; }
.article__source { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--beige); padding-top: 1em; }
.article__note { font-size: .85rem; color: var(--muted); font-style: italic; background: var(--white); border-left: 4px solid var(--copper); border-radius: var(--radius-s); padding: 14px 18px; }
.article__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8em; }

/* ---------- Quiz ---------- */
.quiz {
    background: var(--white); border: 1px solid var(--beige); border-radius: var(--radius);
    padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-s);
}
.quiz__step { border: 0; margin: 0; padding: 0; }
.quiz__step legend { font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; margin-bottom: 18px; }
.quiz__options { display: grid; gap: 12px; }
.quiz__options label {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer;
    border: 2px solid var(--beige); border-radius: var(--radius-s); transition: var(--transition);
}
.quiz__options label:hover { border-color: var(--sage-light); }
.quiz__options input { accent-color: var(--sage); width: 18px; height: 18px; }
.quiz__nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; }
.quiz__progress { font-size: .9rem; }
.quiz__result {
    margin-top: 22px; background: var(--cream); border-left: 4px solid var(--copper);
    border-radius: var(--radius-s); padding: 22px 24px;
}
.quiz__result h3 { color: var(--sage-dark); }

/* ---------- Preise ---------- */
.preise { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.preis-card { background: var(--cream); border: 1px solid var(--beige); border-radius: var(--radius); padding: 24px 26px; }
.preis-card h3 { color: var(--ink); margin-bottom: .15em; }
.preis-card h3 a { color: var(--sage-dark); text-decoration: underline; }
.preis-card h3 a:hover { color: var(--copper-dark); }
.preis-card__sub { color: var(--muted); font-size: .92rem; margin: 0 0 1em; }
.preis-card__list { list-style: none; margin: 0 0 1em; padding: 0; }
.preis-card__list li { display: flex; justify-content: space-between; gap: 12px; padding: .55em 0; border-bottom: 1px dashed var(--beige); }
.preis-card__list li:last-child { border-bottom: 0; }
.preis-card__list strong { color: var(--copper-dark); white-space: nowrap; }
.preis-card__note, .preis-card__desc { font-size: .9rem; color: var(--muted); margin: 0; }
.preis-card__desc a { font-weight: 700; color: var(--sage-dark); }
.preise__hinweis { margin-top: 24px; background: var(--cream); border-left: 4px solid var(--copper); border-radius: var(--radius-s); padding: 14px 18px; font-size: .95rem; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; position: relative; }
.timeline::before {
    content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--sage-soft);
}
.timeline__item { display: flex; gap: 22px; position: relative; padding-bottom: 28px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__num {
    flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--sage);
    color: var(--white); font-family: var(--font-head); font-size: 1.2rem; font-weight: 600;
    display: flex; align-items: center; justify-content: center; z-index: 1;
}
.timeline__content { padding-top: 3px; }
.timeline__content p { color: var(--muted); margin: 0; }

/* ---------- Über ---------- */
.ueber { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.ueber__media { text-align: center; }
.ueber__media img {
    margin: 0 auto; width: 100%; max-width: 420px; height: auto; border-radius: var(--radius);
    box-shadow: var(--shadow); object-fit: cover;
}
.ueber__rolle { color: var(--copper-dark); font-weight: 700; margin-top: -.3em; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--beige); border-radius: var(--radius-s); overflow: hidden; }
.faq__h { margin: 0; font-size: inherit; }
.faq__q {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
    background: none; border: 0; cursor: pointer; padding: 18px 22px; text-align: left;
    font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; color: var(--ink);
}
.faq__icon {
    flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--sage-soft);
    color: var(--sage-dark); text-align: center; line-height: 22px; font-size: 1.1rem; transition: var(--transition);
}
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); background: var(--copper); color: var(--white); }
.faq__a { padding: 0 22px 18px; }
.faq__a p { margin: 0; color: var(--muted); }

/* ---------- Kontakt ---------- */
.kontakt { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
.kontakt__card {
    background: var(--sage); color: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
}
.kontakt__card h3 { color: var(--white); }
.kontakt__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 16px; }
.kontakt__label { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.kontakt__list a { color: var(--white); font-weight: 700; font-size: 1.1rem; }
.kontakt__list a:hover { color: var(--beige); }
.kontakt__hint { background: rgba(255,255,255,.13); border-radius: var(--radius-s); padding: 14px 16px; font-size: .92rem; margin: 0; }
.kontakt__map { margin-top: 32px; }
.kontakt__map iframe { width: 100%; height: 360px; border: 1px solid var(--beige); border-radius: var(--radius); box-shadow: var(--shadow-s); display: block; }
.kontakt__maplink { margin: 10px 2px 0; font-size: .9rem; font-weight: 600; }

/* ---------- Formular ---------- */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__row { margin-bottom: 16px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; }
.form input, .form textarea {
    width: 100%; padding: 12px 14px; border: 2px solid var(--beige); border-radius: var(--radius-s);
    font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--white);
    transition: var(--transition);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--sage); }
.form textarea { resize: vertical; }
.form__note { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.form__marker {
    display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 10px 14px;
    background: #e6efe0; border: 1px solid var(--sage-light); border-radius: var(--radius-s);
    font-weight: 600; color: var(--sage-dark); font-size: .92rem;
}
.form__marker-icon {
    flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--sage);
    color: var(--white); text-align: center; line-height: 22px; font-size: .8rem;
}
.form__marker-remove {
    margin-left: auto; background: none; border: 0; color: var(--copper-dark);
    text-decoration: underline; cursor: pointer; font-weight: 600; font-size: .85rem;
}

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius-s); margin-bottom: 18px; font-weight: 600; }
.alert--success { background: #e6efe0; color: var(--sage-dark); border: 1px solid var(--sage-light); }
.alert--error   { background: #f6e4dc; color: #9a4a2c; border: 1px solid #e0b59f; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #d9dcd2; padding: 56px 0 0; }
.footer__inner {
    max-width: var(--maxw); margin: 0 auto; padding: 0 24px 40px;
    display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 32px;
}
.footer h3 { color: var(--white); font-size: 1.1rem; }
.footer a { color: var(--sage-light); }
.footer a:hover { color: var(--white); }
.footer__name { font-family: var(--font-head); font-size: 1.5rem; color: var(--white); margin-bottom: 6px; }
.footer__small { font-size: .88rem; color: #aeb2a6; }
.footer__address { font-style: normal; line-height: 1.7; }
.footer__legal { margin-top: 8px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.footer__legal a { color: #c9cdc1; font-weight: 600; }
.footer__legal a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 24px; text-align: center; font-size: .85rem; color: #9b9f93; }

/* ---------- Nach-oben-Button ---------- */
.to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 46px; height: 46px;
    border-radius: 50%; border: 0; background: var(--sage); color: var(--white); font-size: 1.3rem;
    cursor: pointer; box-shadow: var(--shadow); transition: var(--transition);
}
.to-top:hover { background: var(--sage-dark); }
.to-top[hidden] { display: none; }

/* ---------- Reveal-Animation ---------- */
.section, .hero__text, .hero__media { }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* ---------- Skip-Link (Barrierefreiheit) ---------- */
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--sage-dark); color: var(--white);
    padding: 10px 16px; border-radius: var(--radius-s); font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Kurzfakten (Startseite) ---------- */
.section--facts { padding: 0; margin-top: -28px; position: relative; z-index: 2; }
.keyfacts {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; background: var(--white);
    border: 1px solid var(--beige); border-radius: var(--radius); box-shadow: var(--shadow-s); overflow: hidden;
}
.keyfacts__item { padding: 18px 22px; border-right: 1px solid var(--beige); }
.keyfacts__item:last-child { border-right: 0; }
.keyfacts dt {
    font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-dark);
    font-weight: 700; margin-bottom: .35em;
}
.keyfacts dd { margin: 0; font-size: .95rem; line-height: 1.5; }
.keyfacts dd a { color: var(--sage-dark); font-weight: 600; white-space: nowrap; }

/* ---------- Auf einen Blick (Detailseite) ---------- */
.facts {
    background: var(--white); border: 1px solid var(--beige); border-left: 4px solid var(--sage);
    border-radius: var(--radius-s); padding: 20px 24px; margin: 0 0 2em;
}
.facts__title { font-size: 1.1rem; margin: 0 0 .8em; }
.facts__list { margin: 0; display: grid; gap: 10px; }
.facts__list > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: start; }
.facts__list dt { font-weight: 700; color: var(--copper-dark); font-size: .88rem; letter-spacing: .04em; text-transform: uppercase; padding-top: .15em; }
.facts__list dd { margin: 0; font-size: .97rem; line-height: 1.55; }
.facts__note { display: block; font-size: .85rem; color: var(--muted); }
.facts__note a { color: var(--sage-dark); font-weight: 600; }
/* ---------- Rechtsseiten (Impressum, Datenschutz) ---------- */
.legal h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 1.6em 0 .5em; }
.legal h3 { font-size: 1.1rem; margin: 1.2em 0 .4em; }
.legal p { margin: 0 0 1em; }
.legal a { color: var(--sage-dark); font-weight: 600; word-break: break-word; }
.legal__address { font-style: normal; line-height: 1.7; margin: 0 0 1em; }
.legal__list { margin: 0 0 1em; display: grid; gap: 8px; }
.legal__list > div { display: grid; grid-template-columns: 200px 1fr; gap: 12px; align-items: start; }
.legal__list dt { font-weight: 700; color: var(--copper-dark); font-size: .88rem; letter-spacing: .04em; text-transform: uppercase; padding-top: .15em; }
.legal__list dd { margin: 0; }
.legal__ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal__ul li { margin-bottom: .35em; }
.legal__stand { font-size: .88rem; color: var(--muted); }
.legal code { font-size: .9em; background: var(--cream); padding: 1px 5px; border-radius: 4px; }

/* ---------- Einwilligung im Kontaktformular ---------- */
.form__consent label { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-weight: 400; font-size: .9rem; line-height: 1.5; color: var(--muted); cursor: pointer; }
.form__consent input[type="checkbox"] { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--sage-dark); }
.form__consent a { color: var(--sage-dark); font-weight: 700; }
@media (max-width: 860px) {
    .keyfacts { grid-template-columns: 1fr 1fr; }
    .keyfacts__item:nth-child(2n) { border-right: 0; }
    .keyfacts__item:nth-child(-n+2) { border-bottom: 1px solid var(--beige); }
    .painmap { grid-template-columns: 1fr; }
    .ueber { grid-template-columns: 1fr; text-align: center; }
    .ueber__media img { max-width: 320px; }
    .kontakt { grid-template-columns: 1fr; }

    .navbar__toggle { display: flex; }
    .navbar__nav {
        position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
        background: var(--cream); border-bottom: 1px solid var(--beige); padding: 8px 0;
        max-height: 0; overflow: hidden; transition: max-height .3s ease; align-items: stretch;
    }
    .navbar__nav.is-open { max-height: 420px; }
    .navbar__nav a { padding: 12px 24px; }
    .navbar__cta { margin: 8px 24px; text-align: center; }
    .navbar.is-open .navbar__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .navbar.is-open .navbar__toggle span:nth-child(2) { opacity: 0; }
    .navbar.is-open .navbar__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 520px) {
    .legal__list > div { grid-template-columns: 1fr; gap: 2px; }
    .keyfacts { grid-template-columns: 1fr; }
    .keyfacts__item { border-right: 0; border-bottom: 1px solid var(--beige); }
    .keyfacts__item:last-child { border-bottom: 0; }
    .facts__list > div { grid-template-columns: 1fr; gap: 2px; }
    .form__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal] { opacity: 1; transform: none; transition: none; }
}
