/* Praxis Thorsten Beyer - Heilpraktiker Bad Liebenzell */

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 400 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/fonts/geist.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* Markenfarben aus Logo (Waldgrün) und Illustration (Schiefer, Sand) */
  --wald: #0d3b2d;
  --wald-tief: #082a20;
  --wald-hell: #2c5a49;
  --schiefer: #56625e;
  --sand: #b8976c;
  --sand-hell: #e7dccb;
  --papier: #f7f5ef;
  --nebel: #edeae1;
  --nebel-tief: #e2ded2;
  --tinte: #18221e;
  --text: #36413c;
  --leise: #6a746f;
  --linie: rgba(13, 59, 45, 0.14);
  --weiss: #fffdf9;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;

  --breite: 1240px;
  --rand: clamp(1.25rem, 4vw, 2.5rem);
  --abschnitt: clamp(5rem, 10vw, 8.5rem);

  --r-klein: 10px;
  --r-mittel: 18px;
  --r-gross: 28px;

  --schatten: 0 1px 2px rgba(8, 42, 32, 0.06), 0 12px 32px -12px rgba(8, 42, 32, 0.18);
  --schatten-gross: 0 2px 4px rgba(8, 42, 32, 0.05), 0 32px 64px -24px rgba(8, 42, 32, 0.28);
  --feder: cubic-bezier(0.22, 1, 0.36, 1);

  --z-kopf: 20;
  --z-menue: 30;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--papier);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

address {
  font-style: normal;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  color: var(--tinte);
  font-weight: 450;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
  color: var(--tinte);
}

/* Hervorhebung wie im Original (Textmarker), ruhiger umgesetzt */
mark {
  background: linear-gradient(transparent 62%, var(--sand-hell) 62%, var(--sand-hell) 92%, transparent 92%);
  color: inherit;
  padding: 0 0.08em;
}

.huelle {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--rand);
}

.sprung {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--wald);
  color: var(--weiss);
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-klein);
  text-decoration: none;
  transition: top 0.2s;
}
.sprung:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
  border-radius: 6px;
}

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

/* ---------- Kopfzeile ---------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: var(--z-kopf);
  background: rgba(247, 245, 239, 0.78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.kopf.ist-gescrollt {
  border-bottom-color: var(--linie);
  background: rgba(247, 245, 239, 0.92);
}
.kopf__innen {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 80px;
}
.kopf__logo img {
  height: 54px;
  width: auto;
}
.kopf__nav {
  margin-left: auto;
}
.kopf__nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.kopf__nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--tinte);
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.kopf__nav a:hover {
  background: var(--nebel);
}
.kopf__nav a[aria-current="true"] {
  color: var(--wald);
  background: var(--nebel);
}

.menue-knopf {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  background: var(--weiss);
  cursor: pointer;
  place-items: center;
}
.menue-knopf span,
.menue-knopf span::before,
.menue-knopf span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--tinte);
  position: relative;
  transition: transform 0.3s var(--feder), background 0.2s;
}
.menue-knopf span::before,
.menue-knopf span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menue-knopf span::before {
  top: -6px;
}
.menue-knopf span::after {
  top: 6px;
}
.menue-knopf[aria-expanded="true"] span {
  background: transparent;
}
.menue-knopf[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}
.menue-knopf[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Knöpfe ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1.35rem 0.7rem 1rem;
  border-radius: 14px;
  text-decoration: none;
  font-family: var(--sans);
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--feder), background 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.knopf:hover {
  transform: translateY(-2px);
}
.knopf:active {
  transform: translateY(0) scale(0.98);
}
.knopf svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.knopf__text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.knopf__haupt {
  font-weight: 600;
  font-size: 0.9375rem;
}
.knopf__neben {
  font-size: 0.78rem;
  opacity: 0.72;
  margin-top: 2px;
}
.knopf--voll {
  background: var(--wald);
  color: var(--weiss);
  box-shadow: 0 10px 24px -12px rgba(13, 59, 45, 0.7);
}
.knopf--voll:hover {
  background: var(--wald-hell);
  box-shadow: 0 16px 30px -14px rgba(13, 59, 45, 0.75);
}
.knopf--rahmen {
  background: var(--weiss);
  color: var(--tinte);
  border-color: var(--linie);
}
.knopf--rahmen:hover {
  border-color: rgba(13, 59, 45, 0.35);
  box-shadow: var(--schatten);
}
.knopf--rahmen svg {
  color: var(--wald);
}
.knopf--klein {
  padding: 0.55rem 1.1rem 0.55rem 0.85rem;
}
.knopf--klein svg {
  width: 18px;
  height: 18px;
}
.knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: -81px;
  padding-top: calc(81px + clamp(3.5rem, 9vw, 7rem));
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}
.hero__bild {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(247, 245, 239, 0.96) 0%, rgba(247, 245, 239, 0.86) 45%, rgba(247, 245, 239, 0.7) 75%, var(--papier) 100%),
    radial-gradient(120% 80% at 85% 20%, rgba(184, 151, 108, 0.12), transparent 60%);
}
.hero__raster {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.hero h1 {
  font-size: clamp(3rem, 7.4vw, 6.25rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.hero__unter {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  font-style: italic;
  color: var(--wald);
  margin: 1.25rem 0 1.5rem;
  line-height: 1.3;
}
.hero__text {
  max-width: 34rem;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}
.adresse-karte {
  background: rgba(255, 253, 249, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--schatten), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-radius: var(--r-mittel);
  padding: 1.5rem 1.6rem;
  font-size: 0.98rem;
  line-height: 1.55;
}
.adresse-karte__titel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leise);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.adresse-karte a {
  text-decoration: none;
  border-bottom: 1px solid var(--sand);
}

/* ---------- Einleitung ---------- */

.einleitung {
  padding-block: clamp(2rem, 4vw, 3rem) var(--abschnitt);
}
.einleitung__raster {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.rahmenbild {
  position: relative;
}
.rahmenbild::before {
  content: "";
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 1px solid var(--sand);
  border-radius: var(--r-gross);
  z-index: -1;
}
.rahmenbild img {
  border-radius: var(--r-gross);
  box-shadow: var(--schatten-gross);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.einleitung__lead {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.1vw, 1.65rem);
  line-height: 1.42;
  color: var(--tinte);
  margin-bottom: 3rem;
}
.einleitung__lead p {
  margin-bottom: 0.9em;
}
.einleitung__lead strong {
  font-weight: 600;
}
.vorteile {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--linie);
}
.vorteile li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.25rem 1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--linie);
}
.vorteile__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: var(--nebel);
  color: var(--wald);
  display: grid;
  place-items: center;
}
.vorteile__icon svg {
  width: 20px;
  height: 20px;
}
.vorteile h3 {
  font-size: 1.45rem;
  margin: 0.35rem 0 0.4rem;
}
.vorteile p {
  grid-column: 2;
  font-size: 1rem;
  color: var(--text);
}

/* ---------- Zahlen ---------- */

.zahlen {
  background: var(--nebel);
  padding-block: var(--abschnitt);
  position: relative;
}
.zahlen__raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.zahl {
  padding: 0 clamp(1.25rem, 3vw, 3rem);
  border-left: 1px solid var(--linie);
}
.zahl:first-child {
  border-left: 0;
  padding-left: 0;
}
.zahl__wert {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(4rem, 8vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--wald);
  font-variant-numeric: lining-nums tabular-nums;
}
.zahl h3 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 1.25rem 0 0.9rem;
}
.zahl p {
  font-size: 0.98rem;
  max-width: 34ch;
}

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

.fragen {
  padding-block: var(--abschnitt);
}
.fragen__raster {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.akkordeon {
  border-top: 1px solid var(--linie);
}
.akkordeon details {
  border-bottom: 1px solid var(--linie);
}
.akkordeon summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--tinte);
  line-height: 1.25;
  transition: color 0.2s;
}
.akkordeon summary::-webkit-details-marker {
  display: none;
}
.akkordeon summary:hover {
  color: var(--wald);
}
.akkordeon__plus {
  margin-left: auto;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--linie);
  position: relative;
  transition: background 0.25s, border-color 0.25s, transform 0.4s var(--feder);
}
.akkordeon__plus::before,
.akkordeon__plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--wald);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--feder), background 0.25s;
}
.akkordeon__plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
details[open] .akkordeon__plus {
  background: var(--wald);
  border-color: var(--wald);
  transform: rotate(180deg);
}
details[open] .akkordeon__plus::before,
details[open] .akkordeon__plus::after {
  background: var(--weiss);
}
details[open] .akkordeon__plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.akkordeon__inhalt {
  padding: 0 3.5rem 1.75rem 0;
  max-width: 62ch;
}
.akkordeon__icon {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--wald);
}

.ziele {
  position: sticky;
  top: 112px;
  background: var(--wald);
  color: rgba(255, 253, 249, 0.86);
  border-radius: var(--r-gross);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--schatten-gross);
  overflow: hidden;
  contain: paint;
  isolation: isolate;
}
.ziele::after {
  content: "";
  position: absolute;
  right: -30%;
  top: -40%;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(184, 151, 108, 0.35);
  z-index: -1;
}
.ziele h2 {
  color: var(--weiss);
  font-size: clamp(1.75rem, 2.6vw, 2.15rem);
  margin-bottom: 1.25rem;
}
.ziele ul {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}
.ziele li {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 253, 249, 0.12);
}
.ziele li svg {
  width: 18px;
  height: 18px;
  color: var(--sand);
  flex: none;
}
.ziele .knoepfe {
  flex-direction: column;
}
.ziele .knopf {
  justify-content: flex-start;
}
.ziele .knopf--voll {
  background: var(--weiss);
  color: var(--wald);
  box-shadow: none;
}
.ziele .knopf--voll:hover {
  background: var(--sand-hell);
}
.ziele .knopf--rahmen {
  background: transparent;
  color: var(--weiss);
  border-color: rgba(255, 253, 249, 0.3);
}
.ziele .knopf--rahmen svg {
  color: var(--sand);
}
.ziele .knopf--rahmen:hover {
  border-color: rgba(255, 253, 249, 0.6);
  box-shadow: none;
}

/* ---------- Ablauf ---------- */

.ablauf {
  padding-block: 0 var(--abschnitt);
}
.abschnitt-titel {
  font-size: clamp(2.25rem, 4.6vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.ablauf__schritte {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  counter-reset: schritt;
}
.schritt {
  position: relative;
  background: var(--weiss);
  border-radius: var(--r-gross);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 1px 0 rgba(13, 59, 45, 0.04);
  border: 1px solid rgba(13, 59, 45, 0.07);
  counter-increment: schritt;
  transition: transform 0.4s var(--feder), box-shadow 0.4s;
}
.schritt:hover {
  transform: translateY(-4px);
  box-shadow: var(--schatten);
}
.schritt:nth-child(2) {
  margin-top: clamp(0rem, 3vw, 2.5rem);
}
.schritt:nth-child(3) {
  margin-top: clamp(0rem, 6vw, 5rem);
}
.schritt__kopf {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}
.schritt__nr::before {
  content: "0" counter(schritt);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--sand);
}
.schritt__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--nebel);
  color: var(--wald);
  display: grid;
  place-items: center;
}
.schritt__icon svg {
  width: 28px;
  height: 28px;
}
.schritt h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}
.schritt p {
  font-size: 0.98rem;
}

/* ---------- Studie ---------- */

.studie {
  background: var(--weiss);
  padding-block: var(--abschnitt);
  border-block: 1px solid rgba(13, 59, 45, 0.06);
}
.studie__kopf {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.studie__kopf p {
  font-size: 1.125rem;
  color: var(--text);
}
.studie__raster {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.studie__bild {
  position: sticky;
  top: 112px;
}
.studie__bild img {
  border-radius: var(--r-gross);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--schatten-gross);
}
.studie__artikel h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1.25rem;
}
.studie__artikel h4 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--wald);
  letter-spacing: 0;
  line-height: 1.4;
  padding-left: 1rem;
  border-left: 2px solid var(--sand);
  margin-bottom: 1.5rem;
}
.studie__artikel p {
  max-width: 62ch;
}
.quelle {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--linie);
  font-size: 0.95rem;
  color: var(--leise);
}
.quelle a {
  color: var(--wald);
  font-weight: 500;
  text-underline-offset: 3px;
  text-decoration-color: var(--sand);
}
.quelle a:hover {
  text-decoration-thickness: 2px;
}

/* ---------- Stuhldiagnostik ---------- */

.stuhl {
  padding-block: var(--abschnitt);
}
.stuhl__raster {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.stuhl h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.stuhl__text {
  margin-bottom: 2rem;
  max-width: 60ch;
}
.stuhl__bild img {
  border-radius: var(--r-gross);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--schatten-gross);
}
.stuhl .akkordeon summary {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
}

/* ---------- Über mich ---------- */

.ueber {
  background: var(--nebel);
  padding-block: var(--abschnitt);
}
.ueber__raster {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.ueber h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.ueber__bild img {
  border-radius: var(--r-gross);
  width: 100%;
  box-shadow: var(--schatten-gross);
}
.ueber__text {
  padding-top: clamp(0rem, 8vw, 7.5rem);
}
.ueber h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--linie);
}
.ueber__text .knoepfe {
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--linie);
}

/* ---------- Standort ---------- */

.standort {
  padding-block: var(--abschnitt) clamp(3rem, 6vw, 5rem);
}
.standort__raster {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.standort__karte {
  background: #56625e;
  border-radius: var(--r-gross);
  overflow: hidden;
  color: var(--weiss);
  display: flex;
  flex-direction: column;
}
.standort__illu {
  flex: 1;
  min-height: 220px;
  position: relative;
}
.standort__illu img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.standort__adresse {
  padding: 1.75rem 2rem 2rem;
  background: var(--wald);
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.45;
}
.standort__adresse a {
  color: var(--weiss);
  text-decoration: none;
  border-bottom: 1px solid var(--sand);
}
.standort__plan {
  position: relative;
  border-radius: var(--r-gross);
  overflow: hidden;
  background: var(--nebel);
  min-height: 360px;
}
.standort__plan img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.standort__plan figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  background: rgba(255, 253, 249, 0.85);
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-top-left-radius: 8px;
  color: var(--leise);
}
.standort__plan figcaption a {
  color: inherit;
}
.standort__plan figure,
figure {
  margin: 0;
}

/* ---------- Galerie ---------- */

.galerie {
  padding-block: clamp(1rem, 3vw, 2rem) var(--abschnitt);
}
.galerie__raster {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-rows: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.galerie__raster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-gross);
}
.galerie__gross {
  grid-row: span 2;
  aspect-ratio: 4 / 5;
}
.galerie__raster > img:not(.galerie__gross) {
  aspect-ratio: 3 / 2;
}

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

.fuss {
  background: var(--wald-tief);
  color: rgba(255, 253, 249, 0.72);
  padding-top: var(--abschnitt);
  font-size: 0.98rem;
}
.fuss__raster {
  display: grid;
  grid-template-columns: minmax(0, 4.2fr) minmax(0, 2.3fr) minmax(0, 2fr) minmax(0, 3.2fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.fuss h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.25rem;
}
.fuss ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fuss li + li {
  margin-top: 0.6rem;
}
.fuss__links a {
  color: var(--weiss);
  text-decoration: none;
  transition: color 0.2s;
}
.fuss__links a:hover {
  color: var(--sand-hell);
}
.fuss__marke {
  display: flex;
  gap: 1.25rem;
  align-items: flex-end;
  margin-top: 2.5rem;
}
.fuss__marke img {
  width: 76px;
  border-radius: 10px;
  flex: none;
}
.fuss__marke p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.45;
  color: rgba(255, 253, 249, 0.82);
}
.fuss__logo img {
  height: 54px;
  width: auto;
  margin-bottom: 1.5rem;
}
.person {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.25rem;
}
.person img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  object-position: 50% 20%;
}
.person strong {
  display: block;
  color: var(--weiss);
  font-weight: 500;
}
.person span {
  font-size: 0.88rem;
}
.fuss .knopf--rahmen {
  background: transparent;
  color: var(--weiss);
  border-color: rgba(255, 253, 249, 0.22);
}
.fuss .knopf--rahmen svg {
  color: var(--sand);
}
.fuss .knopf--rahmen:hover {
  border-color: rgba(255, 253, 249, 0.5);
  box-shadow: none;
}
.fuss__hinweis {
  border-top: 1px solid rgba(255, 253, 249, 0.1);
  padding-block: 1.75rem;
  font-size: 0.8rem;
  color: rgba(255, 253, 249, 0.5);
  text-align: center;
}
.fuss__hinweis p {
  max-width: 80ch;
  margin-inline: auto;
}

/* Formular */
.formular {
  display: grid;
  gap: 0.75rem;
}
.feld {
  position: relative;
}
.feld input,
.feld textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--weiss);
  background: rgba(255, 253, 249, 0.05);
  border: 1px solid rgba(255, 253, 249, 0.16);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  transition: border-color 0.2s, background 0.2s;
}
.feld textarea {
  min-height: 120px;
  resize: vertical;
}
.feld input::placeholder,
.feld textarea::placeholder {
  color: rgba(255, 253, 249, 0.55);
}
.feld input:hover,
.feld textarea:hover {
  border-color: rgba(255, 253, 249, 0.3);
}
.feld input:focus,
.feld textarea:focus {
  outline: none;
  border-color: var(--sand);
  background: rgba(255, 253, 249, 0.08);
}
.feld[data-fehler] input,
.feld[data-fehler] textarea {
  border-color: #e3a08a;
}
.feld__fehler {
  display: none;
  font-size: 0.82rem;
  color: #f0b9a6;
  margin-top: 0.35rem;
}
.feld[data-fehler] .feld__fehler {
  display: block;
}
.formular button {
  justify-content: center;
  width: 100%;
  padding: 0.95rem 1rem;
  font-weight: 600;
  font-size: 0.98rem;
  background: var(--sand);
  color: var(--wald-tief);
  border: 0;
}
.formular button:hover {
  background: var(--sand-hell);
}
.formular button[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}
.formular__status {
  font-size: 0.9rem;
  min-height: 1.4em;
  margin: 0;
}
.formular__status[data-art="fehler"] {
  color: #f0b9a6;
}
.formular__status[data-art="ok"] {
  color: var(--sand-hell);
}

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

.recht {
  padding-block: clamp(3.5rem, 8vw, 6rem) var(--abschnitt);
}
.recht h1 {
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.recht__inhalt {
  max-width: 72ch;
  background: var(--weiss);
  border-radius: var(--r-gross);
  padding: clamp(1.75rem, 5vw, 3.5rem);
  border: 1px solid rgba(13, 59, 45, 0.06);
  overflow-wrap: anywhere;
}
.recht__inhalt h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin: 2.5rem 0 1rem;
}
.recht__inhalt h3 {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  margin: 1.75rem 0 0.5rem;
}
.recht__inhalt > :first-child {
  margin-top: 0;
}
.recht__inhalt p {
  margin-bottom: 0.35em;
}
.recht__inhalt h3 + p {
  margin-top: 0;
}
.recht__inhalt .abstand {
  height: 0.75rem;
}
.recht__inhalt .abstand + h3 {
  margin-top: 1rem;
}
.recht__inhalt a {
  color: var(--wald);
  text-decoration-color: var(--sand);
  text-underline-offset: 3px;
}

/* ---------- Bewegung ---------- */

.js .einblenden {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--feder), transform 0.9s var(--feder);
  transition-delay: var(--verzug, 0s);
}
.js .einblenden.ist-sichtbar {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .einblenden {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Mobil ---------- */

@media (max-width: 1080px) {
  .kopf__nav,
  .kopf__anruf {
    display: none;
  }
  .menue-knopf {
    display: grid;
  }
  .kopf__nav.ist-offen {
    display: block;
    position: fixed;
    inset: 80px 0 auto 0;
    background: var(--papier);
    border-bottom: 1px solid var(--linie);
    box-shadow: var(--schatten);
    padding: 1rem var(--rand) 1.5rem;
    z-index: var(--z-menue);
  }
  .kopf__nav.ist-offen ul {
    flex-direction: column;
    gap: 0;
  }
  .kopf__nav.ist-offen a {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
    padding: 0.7rem 0;
    border-radius: 0;
    border-bottom: 1px solid var(--linie);
  }
  .kopf__nav.ist-offen a:hover {
    background: none;
  }
  .kopf__nav .kopf__nav-anruf {
    display: none;
  }
  .kopf__nav.ist-offen .kopf__nav-anruf {
    display: flex;
    margin-top: 1.25rem;
  }
  .kopf__nav.ist-offen .kopf__nav-anruf a {
    font-family: var(--sans);
    font-size: 0.95rem;
    border: 1px solid transparent;
    padding: 0.7rem 1.35rem 0.7rem 1rem;
    border-radius: 14px;
  }
  .fuss__raster {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .fuss__form {
    grid-column: 1 / -1;
    max-width: 560px;
  }
}

@media (min-width: 1081px) {
  .kopf__nav-anruf {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero__raster,
  .einleitung__raster,
  .fragen__raster,
  .studie__kopf,
  .studie__raster,
  .stuhl__raster,
  .ueber__raster,
  .standort__raster {
    grid-template-columns: minmax(0, 1fr);
  }
  .adresse-karte {
    max-width: 420px;
  }
  .rahmenbild {
    max-width: 520px;
    margin-right: 1.5rem;
  }
  .ziele,
  .studie__bild {
    position: static;
  }
  .ablauf__schritte {
    grid-template-columns: minmax(0, 1fr);
  }
  .schritt:nth-child(n) {
    margin-top: 0;
  }
  .zahlen__raster {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
  .zahl,
  .zahl:first-child {
    border-left: 0;
    padding: 2.5rem 0 0;
    border-top: 1px solid var(--linie);
  }
  .zahl:first-child {
    border-top: 0;
    padding-top: 0;
  }
  .ueber__text {
    padding-top: 0;
  }
  .stuhl__bild img,
  .studie__bild img {
    aspect-ratio: 3 / 2;
  }
  .standort__plan {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }
  .kopf__innen {
    min-height: 72px;
  }
  .kopf__logo img {
    height: 40px;
  }
  .kopf__nav.ist-offen {
    inset: 72px 0 auto 0;
  }
  .hero {
    margin-top: -73px;
    padding-top: calc(73px + 3rem);
  }
  .knoepfe .knopf {
    width: 100%;
  }
  .akkordeon__inhalt {
    padding-right: 0;
  }
  .galerie__raster {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }
  .galerie__gross {
    grid-row: auto;
  }
  .fuss__raster {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .fuss__kontakt {
    grid-column: 1 / -1;
  }
  .ziele .knopf,
  .ueber .knopf {
    width: 100%;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 84px;
  }
}
