/* Praxis Johanna Hirte-Rackwitz
   Icons nach Feather Icons, feathericons.com, MIT-Lizenz */

:root {
  --papier: #faf4e9;
  --papier-soft: #f2e8d6;
  --karte: #fffdf7;
  --tinte: #332a21;
  --tinte-weich: #6f6151;
  --tinte-blass: #736353;
  --feldrand: #9c8560;
  --akzent: #8a3b2e;
  --akzent-tief: #6e2d22;
  --akzent-soft: #b57a67;
  --akzent-hell: #f3e1d8;
  --akzent-nacht: #46201a;
  --linie: #e7dcc5;
  --radius: 14px;
  --schatten: 0 6px 30px rgba(61, 55, 40, 0.08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--sans);
  font-size: 17px;
  background: var(--papier);
  color: var(--tinte);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
}

h1 em, h2 em {
  font-style: italic;
  color: var(--akzent-tief);
}

p + p { margin-top: 1em; }

a { color: var(--akzent); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--akzent);
  outline-offset: 2px;
  border-radius: 3px;
}

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

ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.4em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--akzent-tief);
  color: #fff;
  padding: 0.6em 1em;
  z-index: 300;
}

.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-schmal {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Topleiste ---------- */

.topbar {
  background: var(--akzent-nacht);
  color: #f0ddd1;
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

.topbar-innen {
  max-width: 1080px;
  margin: 0 auto;
  padding: 7px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar a {
  color: #fff;
  text-decoration: none;
}

.topbar a:hover { text-decoration: underline; }

/* ---------- Navigation ---------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 244, 233, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}

.kopf-innen {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--tinte);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 11px;
  line-height: 1.2;
  padding: 10px 0;
  white-space: nowrap;
}

.logo-zeichen {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.logo small {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--akzent);
}

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

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--tinte);
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.offen span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.offen span:nth-child(2) { opacity: 0; }
.nav-toggle.offen span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hauptnav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hauptnav li { margin: 0; }

.hauptnav a {
  font-size: 15px;
  color: var(--tinte-weich);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.hauptnav a:hover { color: var(--akzent-tief); }

.hauptnav a[aria-current="page"] {
  color: var(--akzent-tief);
  font-weight: 600;
}

.nav-cta {
  background: var(--akzent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.nav-cta:hover { background: var(--akzent-tief); }

@media (max-width: 1120px) {
  .nav-toggle { display: flex; }

  .hauptnav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--papier);
    border-bottom: 1px solid var(--linie);
    box-shadow: 0 16px 30px rgba(46, 42, 35, 0.1);
    display: none;
  }

  .hauptnav.offen { display: block; }

  .hauptnav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 18px;
  }

  .hauptnav a {
    display: block;
    padding: 13px 0;
    font-size: 17px;
  }

  .nav-cta { text-align: center; margin-top: 8px; }
}

/* ---------- Einstieg ---------- */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-innen {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px 90px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-innen.einspaltig {
  grid-template-columns: 1fr;
  max-width: 820px;
  padding: 70px 24px 70px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--akzent-tief);
  background: var(--akzent-hell);
  border: 1px solid #e8d0c4;
  border-radius: 99px;
  padding: 7px 16px;
  margin-bottom: 22px;
}

.badge-punkt {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--akzent);
  flex: 0 0 auto;
}

.vorzeile {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--akzent);
  margin-bottom: 16px;
}

.hero h1 {
  font-weight: 500;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.hero .unterzeile {
  font-size: 18.5px;
  color: var(--tinte-weich);
  max-width: 540px;
  margin-bottom: 32px;
}

.cta-reihe {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.cta-reihe.mittig {
  justify-content: center;
  margin-top: 26px;
}

.hero-innen.mittig .unterzeile {
  margin-left: auto;
  margin-right: auto;
}

.button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  background: var(--akzent);
  color: #fff;
  border: 1.5px solid var(--akzent);
  box-shadow: 0 8px 22px rgba(110, 45, 34, 0.22);
  transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover { background: var(--akzent-tief); border-color: var(--akzent-tief); }
.button:active { transform: translateY(1px); }

.button-leise {
  background: transparent;
  color: var(--akzent-tief);
  border: 1.5px solid var(--akzent-soft);
  box-shadow: none;
}

.button-leise:hover { background: var(--akzent-hell); }

.trust-liste {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
  color: var(--tinte-weich);
  list-style: none;
  padding: 0;
}

.trust-liste li { margin: 0; }

.trust-liste li::before {
  content: "\2713 ";
  color: var(--akzent);
  font-weight: 700;
}

.portrait-bild {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--schatten);
}

.ueber-raster {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
  align-items: center;
}

.ueber-raster .portrait-bild {
  max-width: 360px;
  justify-self: center;
}

@media (max-width: 720px) {
  .ueber-raster { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Abschnitte ---------- */

.abschnitt { padding: 88px 0; }

.abschnitt-soft { background: var(--papier-soft); }

.abschnitt-kopf {
  max-width: 640px;
  margin-bottom: 48px;
}

.abschnitt-kopf.mittig {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.abschnitt-kopf h2 {
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}

/* Überschrift eines Textblocks ohne eigenen Abschnittskopf */
.blocktitel {
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 20px;
}

/* Der kleinere Titel im Schlussblock jeder Seite */
.schlusstitel {
  font-weight: 500;
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: 14px;
}

.abschnitt.dicht { padding-top: 0; }

.mittig { text-align: center; }

.leise { color: var(--tinte-weich); }

.klein { font-size: 14.5px; color: var(--tinte-blass); }

.abschnitt-kopf p {
  font-size: 17.5px;
  color: var(--tinte-weich);
}

/* Angebots-Karten */

.karten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.karte {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--schatten);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.karte:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(61, 55, 40, 0.12);
}

.karte .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--akzent-hell);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.karte .icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--akzent-tief);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.karte h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.karte p {
  font-size: 15.5px;
  color: var(--tinte-weich);
}

.karten-fuss {
  margin-top: auto;
  padding-top: 18px;
}

.hinweis-zeile {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--akzent);
  margin-bottom: 6px;
}

.pfeil-link {
  font-weight: 600;
  text-decoration: none;
}

.pfeil-link::after { content: " \2192"; }
.pfeil-link:hover { text-decoration: underline; }

/* Themen-Chips */

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
}

.chips li {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 99px;
  padding: 9px 20px;
  font-size: 15px;
  color: var(--tinte-weich);
  margin: 0;
}

/* Themenliste (auf den Angebotsseiten) */

.themen-liste {
  columns: 2;
  column-gap: 48px;
  list-style: none;
  padding: 0;
}

.themen-liste li {
  break-inside: avoid;
  padding: 10px 0 10px 26px;
  border-bottom: 1px dashed var(--linie);
  position: relative;
  margin: 0;
}

.themen-liste li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.15em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--akzent-soft);
}

/* Ablauf in Schritten */

.schritte {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  counter-reset: schritt;
  list-style: none;
  padding: 0;
}

.schritte.dreier { grid-template-columns: repeat(3, 1fr); }

.schritte li {
  counter-increment: schritt;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  margin: 0;
  box-shadow: var(--schatten);
}

.schritte li::before {
  content: counter(schritt, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--akzent-hell);
  position: absolute;
  top: 18px;
  right: 24px;
  line-height: 1;
}

.schritte h3 {
  font-size: 20px;
  margin-bottom: 10px;
  padding-right: 60px;
}

.schritte p {
  font-size: 15px;
  color: var(--tinte-weich);
}

/* Zitat / Leitgedanke */

.leitgedanke {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 2.6vw, 26px);
  line-height: 1.5;
  color: var(--akzent-tief);
  border-left: 3px solid var(--akzent-soft);
  padding-left: 24px;
  max-width: 620px;
  margin: 0 auto;
}

/* Fakten-Liste (Werdegang) */

.fakten {
  list-style: none;
  font-size: 15.5px;
  color: var(--tinte-weich);
  padding: 0;
  max-width: 640px;
}

.fakten li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--linie);
  margin: 0;
}

.fakten li:last-child { border-bottom: none; }

.fakten strong { color: var(--tinte); }

/* Preiskarten und Tabelle */

.preis-block {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 30px 30px;
  margin-bottom: 20px;
}

.preis-block h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.preis-block p {
  font-size: 15.5px;
  color: var(--tinte-weich);
}

.preis {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--akzent-tief);
  display: block;
  margin: 6px 0 10px;
}

.preis small {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--tinte-blass);
  font-weight: 400;
}

.tabelle-scroll { overflow-x: auto; }

.tabelle-scroll:focus-visible {
  outline: 3px solid var(--akzent);
  outline-offset: 2px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schatten);
}

th, td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--linie);
  vertical-align: top;
}

thead th {
  background: var(--akzent-hell);
  color: var(--akzent-tief);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tbody tr:last-child th,
tbody tr:last-child td { border-bottom: none; }

/* FAQ */

.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq details {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 24px;
  color: var(--akzent);
  transition: transform 0.25s ease;
  flex: 0 0 auto;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq .faq-antwort {
  padding: 0 24px 20px;
  font-size: 15.5px;
  color: var(--tinte-weich);
}

/* Info-Kasten */

.infokasten {
  background: var(--akzent-hell);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 26px 0;
  font-size: 15.5px;
  color: var(--akzent-tief);
}

.infokasten p + p { margin-top: 12px; }

/* ---------- Anfahrtskarte ---------- */

.karte-rahmen {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--linie);
  box-shadow: var(--schatten);
  background: var(--papier-soft);
}

.karte-rahmen iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}

.karte-consent {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 40px 24px;
}

.karte-consent svg {
  width: 44px;
  height: 44px;
  stroke: var(--akzent);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.karte-consent h3 {
  font-size: 22px;
  font-weight: 600;
}

.karte-consent p {
  max-width: 460px;
  font-size: 14.5px;
  color: var(--tinte-weich);
}

.karte-consent .button { margin-top: 8px; }

.karte-hinweis {
  font-size: 13.5px;
  color: var(--tinte-blass);
  margin-top: 14px;
  text-align: center;
}

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

.buchung {
  max-width: 720px;
  margin: 0 auto;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 20px;
  box-shadow: var(--schatten);
  padding: 44px 40px;
}

.frage-block {
  margin-bottom: 34px;
  border: none;
  padding: 0;
}

.frage {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  width: 100%;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.frage-nr {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--akzent-hell);
  color: var(--akzent-tief);
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pillen {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Die Radios selbst bleiben unsichtbar, aber fokussierbar */
.pillen input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pillen label {
  font-size: 15.5px;
  color: var(--tinte);
  background: var(--papier);
  border: 1.5px solid var(--feldrand);
  border-radius: 99px;
  padding: 11px 22px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pillen label:hover { border-color: var(--akzent-soft); }

.pillen input:checked + label {
  background: var(--akzent);
  border-color: var(--akzent);
  color: #fff;
  font-weight: 600;
}

.pillen input:focus-visible + label {
  outline: 3px solid var(--akzent);
  outline-offset: 2px;
}

.feld-raster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.buchung label,
.formular label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.buchung .optional,
.formular .optional {
  font-weight: 400;
  color: var(--tinte-blass);
}

.buchung input[type="text"],
.buchung input[type="email"],
.buchung input[type="tel"],
.buchung textarea {
  width: 100%;
  padding: 13px 14px;
  font-size: 15.5px;
  font-family: inherit;
  border: 1px solid var(--feldrand);
  border-radius: 10px;
  background: var(--papier);
  color: var(--tinte);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.buchung input:focus,
.buchung textarea:focus {
  outline: none;
  border-color: var(--akzent);
  box-shadow: 0 0 0 4px rgba(181, 122, 103, 0.18);
  background: #fff;
}

/* Bei Tastaturbedienung bleibt der deutliche Rahmen sichtbar */
.buchung input:focus-visible,
.buchung textarea:focus-visible {
  outline: 3px solid var(--akzent);
  outline-offset: 2px;
}

.buchung textarea { min-height: 90px; resize: vertical; }

.checkbox-feld {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  margin-top: 22px;
}

.checkbox-feld input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--akzent);
}

.checkbox-feld label {
  font-weight: 400;
  margin: 0;
  color: var(--tinte-weich);
}

.buchung .button { width: 100%; margin-top: 24px; }

.hp-feld {
  position: absolute;
  left: -6000px;
  top: auto;
}

.formular-hinweis {
  font-size: 13.5px;
  color: var(--tinte-blass);
  margin-top: 14px;
  text-align: center;
}

/* Kontaktdaten-Karte */

.kontakt-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-top: 32px;
  font-size: 14.5px;
  color: var(--tinte-weich);
  text-align: center;
}

.info-karte {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 32px 30px;
}

.info-karte h2, .info-karte h3 {
  font-size: 22px;
  margin-bottom: 18px;
}

.info-zeile {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--linie);
  font-size: 15.5px;
  color: var(--tinte-weich);
}

.info-zeile:last-of-type { border-bottom: none; }

.info-zeile svg {
  width: 20px;
  height: 20px;
  stroke: var(--akzent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
  margin-top: 4px;
}

.info-zeile strong {
  display: block;
  color: var(--tinte);
  font-size: 15px;
}

.kontakt-raster {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  align-items: start;
}

.tel-gross {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--akzent-tief);
  text-decoration: none;
}

/* ---------- Fußbereich ---------- */

.fussbereich {
  background: var(--akzent-nacht);
  color: #ecd9cd;
  font-size: 14.5px;
  padding: 56px 24px 28px;
  margin-top: 88px;
}

.fuss-raster {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.fussbereich h2 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 12px;
}

.fussbereich a { color: #fff; }
.fussbereich a:hover { color: var(--akzent-hell); }

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

.fussbereich li { margin-bottom: 8px; }

.fussbereich address { font-style: normal; }

.fuss-raster p { margin-top: 10px; }

/* Impressum und Datenschutz bekommen nur die schmale Fußzeile */
.fussbereich.knapp { margin-top: 0; }

.fussbereich.knapp .fuss-unten {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.fuss-unten {
  max-width: 1080px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: #c9ab9c;
}

/* ---------- Rechtstexte ---------- */

.rechtstext h1 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 30px; }
.rechtstext h2 { font-size: 22px; margin: 40px 0 12px; }
.rechtstext ul { margin: 12px 0; }

/* ---------- Paar-Szene (Paartherapie) ----------
   Der Regler steuert den Verlauf, das Skript setzt dafür nur
   die Custom Properties auf .paar-szene. */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.paar-szene {
  /* Startwerte sind das Endbild, damit die Szene ohne JS im Guten steht */
  --himmel-oben: #f2ddbc;
  --himmel-unten: #f8ead0;
  --boden-farbe: #6f9c63;
  --huegel-farbe: #86ab74;
  --laub: #5f9057;
  --laub2: #6fa361;
  --stamm: #7a5c40;
  --busch: #6fa065;
  --wolke-farbe: #ffffff;
  --wolken: 0.7;
  --sonne: 1;
  --regen: 0;
  --blumen: 1;
  --spross: 1;
  --ax: 37.5;
  --bx: 51;
  --a-lean: 2;
  --b-lean: -2;
  --a-schritt: 0;
  --b-schritt: 0;
  --a-arm: -46;
  --b-arm: 46;
  --a-braue-l: 0;
  --a-braue-r: 0;
  --b-braue-l: 0;
  --b-braue-r: 0;
  --a-frown: 0;
  --a-neutral: 0;
  --a-laecheln: 1;
  --b-frown: 0;
  --b-neutral: 0;
  --b-laecheln: 1;
  --funken: 0;
  --herz-x: 44.25;
  --herz-o: 1;
  --herz-scale: 1;
  --blase-o: 1;
  --blase-y: 0;
  --blase-a-x: 30.5;
  --blase-b-x: 58;
  --figur-groesse: 1;

  position: relative;
  height: 560px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--himmel-oben) 0%, var(--himmel-unten) 100%);
  box-shadow: 0 12px 32px rgba(40, 50, 40, 0.14);
}

.sonne {
  position: absolute;
  top: 52px;
  right: 96px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #f4cf92;
  opacity: var(--sonne);
  box-shadow: 0 0 70px 34px rgba(242, 201, 138, 0.5);
}

.wolke {
  position: absolute;
  opacity: var(--wolken);
}

.wolke-1 {
  top: 58px;
  left: 13%;
  width: 130px;
  height: 54px;
  animation: wolkendrift 26s ease-in-out infinite alternate;
}

.wolke-2 {
  top: 36px;
  left: 62%;
  width: 110px;
  height: 48px;
  animation: wolkendrift 32s ease-in-out infinite alternate-reverse;
}

.wolke div {
  position: absolute;
  background: var(--wolke-farbe);
  border-radius: 50%;
}

.wolke .wolke-basis { border-radius: 20px; }
.wolke-1 .wolke-basis { bottom: 0; left: 0; width: 130px; height: 36px; }
.wolke-1 div:nth-child(2) { bottom: 16px; left: 20px; width: 46px; height: 46px; }
.wolke-1 div:nth-child(3) { bottom: 18px; left: 58px; width: 56px; height: 56px; }
.wolke-2 .wolke-basis { bottom: 0; left: 0; width: 110px; height: 30px; border-radius: 16px; }
.wolke-2 div:nth-child(2) { bottom: 12px; left: 16px; width: 40px; height: 40px; }
.wolke-2 div:nth-child(3) { bottom: 14px; left: 48px; width: 48px; height: 48px; }

.regen {
  position: absolute;
  inset: 0;
  opacity: var(--regen);
}

.tropfen {
  position: absolute;
  top: 0;
  width: 2.5px;
  height: 13px;
  border-radius: 2px;
  background: rgba(215, 226, 238, 0.55);
  animation: regenfall 1.6s linear infinite;
}

.huegel {
  position: absolute;
  bottom: 9%;
  height: 14%;
  border-radius: 50%;
  background: var(--huegel-farbe);
}

.huegel-links { left: -6%; right: 54%; }
.huegel-rechts { left: 48%; right: -8%; bottom: 8.5%; height: 16%; }

.boden {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 15%;
  background: var(--boden-farbe);
}

.baum {
  position: absolute;
  bottom: 13%;
  transform: translateX(-50%);
}

.baum div { position: absolute; border-radius: 50%; background: var(--laub); }
.baum .stamm { border-radius: 8px 8px 4px 4px; background: var(--stamm); }
.baum .krone-hell { background: var(--laub2); }

.baum-gross { left: 7%; width: 120px; height: 210px; }
.baum-gross .stamm { bottom: 0; left: 52px; width: 16px; height: 92px; }
.baum-gross .krone { bottom: 74px; left: 8px; width: 104px; height: 104px; }
.baum-gross .krone-hell:nth-child(3) { bottom: 104px; left: -6px; width: 66px; height: 66px; }
.baum-gross .krone-hell:nth-child(4) { bottom: 118px; left: 34px; width: 76px; height: 76px; }

.baum-klein { left: 90%; bottom: 13.5%; width: 90px; height: 160px; }
.baum-klein .stamm { bottom: 0; left: 38px; width: 13px; height: 70px; border-radius: 7px 7px 3px 3px; }
.baum-klein .krone { bottom: 56px; left: 4px; width: 82px; height: 82px; }
.baum-klein .krone-hell { bottom: 96px; left: 24px; width: 56px; height: 56px; }

.busch {
  position: absolute;
  background: var(--busch);
  transform: translateX(-50%);
}

.busch-1 { left: 20%; bottom: 13.8%; width: 70px; height: 26px; border-radius: 16px 16px 0 0; }
.busch-2 { left: 68%; bottom: 13.5%; width: 88px; height: 30px; border-radius: 18px 18px 0 0; }

.blume {
  position: absolute;
  width: 12px;
  opacity: var(--blumen);
  transform: scale(var(--blumen));
  transform-origin: 50% 100%;
}

.blume-1 { left: 30%; bottom: 14%; height: 26px; }
.blume-2 { left: 61%; bottom: 13.6%; height: 24px; }

.blume .stiel { position: absolute; left: 5px; bottom: 0; width: 3px; height: 18px; background: #4c7a58; border-radius: 2px; }
.blume-2 .stiel { height: 16px; }
.blume .bluete { position: absolute; left: 1px; bottom: 14px; width: 10px; height: 10px; border-radius: 50%; background: #d98a66; }
.blume-2 .bluete { bottom: 12px; background: #c9788a; }

.spross {
  position: absolute;
  left: 76%;
  bottom: 14%;
  width: 26px;
  height: 32px;
  opacity: var(--spross);
  transform: scale(var(--spross));
  transform-origin: 50% 100%;
}

.spross div { position: absolute; background: #4c7a58; }
.spross .halm { left: 12px; bottom: 0; width: 3px; height: 22px; border-radius: 2px; }
.spross .blatt-l { left: 0; bottom: 15px; width: 13px; height: 9px; border-radius: 50% 0 50% 50%; }
.spross .blatt-r { right: 0; bottom: 18px; width: 13px; height: 9px; border-radius: 0 50% 50% 50%; }

.schatten {
  position: absolute;
  bottom: 11.2%;
  width: calc(104px * var(--figur-groesse));
  height: 15px;
  border-radius: 50%;
  background: rgba(12, 16, 24, 0.26);
  transform: translateX(-50%);
  filter: blur(2px);
}

.schatten-a { left: calc(var(--ax) * 1%); }
.schatten-b { left: calc(var(--bx) * 1%); }

/* Die beiden Figuren */

.figur {
  position: absolute;
  bottom: 12%;
  width: 96px;
  height: 172px;
  transform-origin: 50% 100%;
}

.figur-a {
  --haut: #98a1af;
  --kleidung: #5a6577;
  --aermel: #4d5869;
  --bein: #3f4757;
  --haar: #2e3540;
  --gesicht: #232932;
  left: calc(var(--ax) * 1%);
  transform: translateX(-50%) rotate(calc(var(--a-lean) * 1deg)) scale(var(--figur-groesse));
}

.figur-b {
  --haut: #a8a09b;
  --kleidung: #7b6f72;
  --aermel: #6b6064;
  --bein: #544b50;
  --haar: #4a3c38;
  --gesicht: #2c2622;
  left: calc(var(--bx) * 1%);
  transform: translateX(-50%) rotate(calc(var(--b-lean) * 1deg)) scale(var(--figur-groesse));
}

.figur-innen {
  position: relative;
  width: 100%;
  height: 100%;
  animation: schweben 4.6s ease-in-out infinite;
}

.figur-b .figur-innen { animation-duration: 5.2s; }

.figur .arm {
  position: absolute;
  top: 56px;
  width: 13px;
  height: 54px;
  border-radius: 7px;
  background: var(--aermel);
  transform-origin: 50% 6px;
}

.figur .arm::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--haut);
}

.figur-a .arm-aktiv { left: 74px; transform: rotate(calc(var(--a-arm) * 1deg)); }
.figur-a .arm-ruhig { left: 9px; transform: rotate(4deg); }
.figur-b .arm-aktiv { left: 9px; transform: rotate(calc(var(--b-arm) * 1deg)); }
.figur-b .arm-ruhig { left: 74px; transform: rotate(-4deg); }

.figur .bein {
  position: absolute;
  top: 116px;
  width: 15px;
  height: 52px;
  border-radius: 7px;
  background: var(--bein);
  transform-origin: 50% 5px;
}

.figur .bein-l { left: 29px; }
.figur .bein-r { left: 52px; }

/* Schritte am Anfang: eine Figur läuft hinterher, die andere weicht aus */
.figur-a .bein-l { transform: rotate(calc(var(--a-schritt) * 1deg)); }
.figur-a .bein-r { transform: rotate(calc(var(--a-schritt) * -1deg)); }
.figur-b .bein-l { transform: rotate(calc(var(--b-schritt) * -1deg)); }
.figur-b .bein-r { transform: rotate(calc(var(--b-schritt) * 1deg)); }

.figur .koerper {
  position: absolute;
  top: 48px;
  left: 16px;
  width: 64px;
  height: 74px;
  border-radius: 26px 26px 16px 16px;
  background: var(--kleidung);
}

.figur .kopf {
  position: absolute;
  top: 0;
  left: 21px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--haut);
}

.figur .haar {
  position: absolute;
  top: -3px;
  left: -2px;
  width: 58px;
  height: 22px;
  border-radius: 28px 28px 8px 8px;
  background: var(--haar);
}

.figur-b .haar-seite {
  position: absolute;
  top: 12px;
  width: 9px;
  height: 30px;
  border-radius: 5px;
  background: var(--haar);
}

.figur-b .haar-seite.links { left: -4px; }
.figur-b .haar-seite.rechts { right: -4px; }

.figur .braue {
  position: absolute;
  top: 22px;
  width: 12px;
  height: 3px;
  border-radius: 2px;
  background: var(--gesicht);
}

.figur-a .braue-l { left: 11px; transform: rotate(calc(var(--a-braue-l) * 1deg)); }
.figur-a .braue-r { right: 11px; transform: rotate(calc(var(--a-braue-r) * 1deg)); }
.figur-b .braue-l { left: 11px; transform: rotate(calc(var(--b-braue-l) * 1deg)); }
.figur-b .braue-r { right: 11px; transform: rotate(calc(var(--b-braue-r) * 1deg)); }

.figur .auge {
  position: absolute;
  top: 29px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gesicht);
}

.figur .auge-l { left: 14px; }
.figur .auge-r { right: 14px; }

.figur .mund-frown {
  position: absolute;
  top: 38px;
  left: 18px;
  width: 18px;
  height: 10px;
  box-sizing: border-box;
  border-top: 3px solid #6f4a3e;
  border-radius: 50%;
}

.figur .mund-neutral {
  position: absolute;
  top: 42px;
  left: 20px;
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: #6f4a3e;
}

.figur .mund-laecheln {
  position: absolute;
  top: 35px;
  left: 18px;
  width: 18px;
  height: 12px;
  box-sizing: border-box;
  border-bottom: 3px solid #6f4a3e;
  border-radius: 50%;
}

.figur-a .mund-frown { opacity: var(--a-frown); }
.figur-a .mund-neutral { opacity: var(--a-neutral); }
.figur-a .mund-laecheln { opacity: var(--a-laecheln); }
.figur-b .mund-frown { opacity: var(--b-frown); }
.figur-b .mund-neutral { opacity: var(--b-neutral); }
.figur-b .mund-laecheln { opacity: var(--b-laecheln); }

/* Ärger-Funken über Person A */
.funken {
  position: absolute;
  top: -18px;
  left: 64px;
  opacity: var(--funken);
}

.funken div {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #c0654f;
}

.funken div:nth-child(1) { height: 11px; transform: rotate(24deg); }
.funken div:nth-child(2) { left: 9px; top: -5px; height: 13px; transform: rotate(2deg); }
.funken div:nth-child(3) { left: 18px; top: 0; height: 11px; transform: rotate(-22deg); }

/* Herz zwischen den beiden */
.herz {
  position: absolute;
  left: calc(var(--herz-x) * 1%);
  bottom: 47%;
  width: 26px;
  height: 26px;
  transform: translateX(-50%) scale(var(--herz-scale));
  opacity: var(--herz-o);
}

.herz-form {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: #c0654f;
  transform: rotate(45deg);
  animation: herzpuls 2.4s ease-in-out infinite;
}

.herz-form::before,
.herz-form::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #c0654f;
}

.herz-form::before { left: -7px; top: 0; }
.herz-form::after { left: 0; top: -7px; }

/* Sprechblasen */
.blase {
  position: absolute;
  bottom: 64%;
  opacity: var(--blase-o);
  transform: translate(-50%, calc(var(--blase-y) * 1px));
}

.blase-a { left: calc(var(--blase-a-x) * 1%); }
.blase-b { left: calc(var(--blase-b-x) * 1%); }

.blase-takt { animation: blasetakt 6s ease-in-out infinite; }
.blase-b .blase-takt { animation-delay: -3s; }

.blase-kasten {
  position: relative;
  width: 70px;
  height: 48px;
  background: #fdfaf3;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.blase-kasten::after {
  content: "";
  position: absolute;
  bottom: -5px;
  width: 12px;
  height: 12px;
  background: #fdfaf3;
  transform: rotate(45deg);
}

.blase-a .blase-kasten::after { left: 44px; }
.blase-b .blase-kasten::after { left: 14px; }

.symbole {
  position: relative;
  width: 24px;
  height: 24px;
}

.symbole span {
  position: absolute;
  inset: 0;
  font-size: 19px;
  line-height: 24px;
  text-align: center;
  opacity: 0;
  animation: symbolwechsel 9s ease-in-out infinite;
}

.symbole span:nth-child(2) { animation-delay: 3s; }
.symbole span:nth-child(3) { animation-delay: 6s; }
.blase-b .symbole span:nth-child(1) { animation-delay: 1.5s; }
.blase-b .symbole span:nth-child(2) { animation-delay: 4.5s; }
.blase-b .symbole span:nth-child(3) { animation-delay: 7.5s; }

.punkte { display: flex; gap: 3px; }

.punkte div {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9a9384;
  animation: punktblink 1.2s infinite;
}

.punkte div:nth-child(2) { animation-delay: 0.2s; }
.punkte div:nth-child(3) { animation-delay: 0.4s; }

/* Regler unter der Szene */

.paar-regler { padding: 26px 4px 0; }

.paar-regler input[type="range"] {
  width: 100%;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, #d8c7b0, var(--akzent-soft), var(--akzent-tief));
  cursor: pointer;
}

.paar-regler input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--akzent);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  cursor: grab;
}

.paar-regler input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--akzent);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  cursor: grab;
}

.regler-marken {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.regler-marken button {
  flex: 1;
  background: none;
  border: none;
  padding: 6px 2px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tinte-blass);
  transition: color 0.2s ease;
}

.regler-marken button:nth-child(1) { text-align: left; }
.regler-marken button:nth-child(2),
.regler-marken button:nth-child(3) { text-align: center; }
.regler-marken button:nth-child(4) { text-align: right; }

.regler-marken button:hover { color: var(--akzent); }

.regler-marken button.aktiv {
  color: var(--akzent-tief);
  font-weight: 800;
}

.anim-hinweis {
  text-align: center;
  font-size: 14px;
  color: var(--tinte-blass);
  margin-top: 16px;
}

@keyframes regenfall {
  from { transform: translateY(-40px); }
  to { transform: translateY(660px); }
}

@keyframes wolkendrift {
  from { transform: translateX(-16px); }
  to { transform: translateX(20px); }
}

@keyframes schweben {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes herzpuls {
  0%, 100% { transform: rotate(45deg) scale(1); }
  50% { transform: rotate(45deg) scale(1.14); }
}

@keyframes blasetakt {
  0%, 40% { opacity: 1; transform: scale(1); }
  50%, 90% { opacity: 0.3; transform: scale(0.88); }
  100% { opacity: 1; }
}

@keyframes punktblink {
  0%, 100% { opacity: 0.25; }
  30% { opacity: 1; }
}

@keyframes symbolwechsel {
  0%, 27% { opacity: 1; transform: scale(1); }
  33%, 94% { opacity: 0; transform: scale(0.7); }
  100% { opacity: 1; }
}

@media (max-width: 640px) {
  .paar-szene {
    height: 440px;
    --figur-groesse: 0.78;
  }

  .regler-marken button:nth-child(2),
  .regler-marken button:nth-child(3) { display: none; }
}

/* ---------- Einblenden beim Scrollen ---------- */

.einblenden {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.einblenden.sichtbar {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 900px) {
  .hero-innen {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 56px 24px 64px;
  }

  .hero-seite { max-width: 420px; }

  .karten, .schritte, .schritte.dreier, .fuss-raster {
    grid-template-columns: 1fr;
  }

  .themen-liste { columns: 1; }

  .kontakt-raster { grid-template-columns: 1fr; }

  .feld-raster { grid-template-columns: 1fr; }

  .abschnitt { padding: 64px 0; }

  .buchung { padding: 30px 22px; }

  .topbar-innen { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
  .einblenden { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
