:root {
  --grund: #efeee6;
  --grund-tief: #e4e3d8;
  --text: 43 42 34;          /* #2b2a22 */
  --t1: rgb(var(--text) / .92);
  --t2: rgb(var(--text) / .68);
  --t3: rgb(var(--text) / .48);
  --linie: rgb(var(--text) / .14);
  --akzent: #55652f;
  --akzent-dunkel: #46542663;
  --leuchten: #f2e6a7;
  --hell: #f6f5ee;

  --serif: "Petrona", Georgia, serif;
  --sans: "Albert Sans", system-ui, sans-serif;

  --rand: 20px;
  --luft: 72px;
  --breite: 1200px;
  --expo: cubic-bezier(0.19, 1, 0.22, 1);
}
@media (min-width: 900px) {
  :root { --rand: 40px; --luft: 120px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--t1);
  font: 400 17px/1.5 var(--sans);
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 2px; }

.rand {
  width: 100%;
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin-inline: auto;
  padding-inline: var(--rand);
}

/* Kopf */
.kopf {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  max-width: calc(var(--breite) + 2 * var(--rand)); margin-inline: auto;
  padding: 16px var(--rand);
  color: var(--hell);
}
.kopf__marke { display: flex; min-height: 40px; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; font-size: 15px; }
.kopf__marke img { width: 40px; height: auto; filter: brightness(0) invert(1); opacity: .92; }
.kopf__nav { display: none; gap: 24px; font-size: 15px; }
.kopf__nav a { text-decoration: none; opacity: .8; transition: opacity 150ms ease-out; }
.kopf__nav a:hover { opacity: 1; }
@media (min-width: 700px) { .kopf__nav { display: flex; } }

/* Einstieg */
.einstieg {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--hell);
  overflow: hidden;
  background: #3b3d2b;
}
.einstieg__bild { position: absolute; inset: 0; }
.einstieg__bild img {
  width: 100%; height: 115%;
  object-fit: cover; object-position: 30% 40%;
  filter: saturate(.72) brightness(.82);
  will-change: transform;
}
.einstieg__bild::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(30 31 22 / .78) 0%, rgb(30 31 22 / .2) 55%, rgb(30 31 22 / .35) 100%);
}
.einstieg__inhalt { position: relative; padding-bottom: 64px; }
.einstieg__ort { font-size: 15px; opacity: .8; margin-bottom: 8px; }
.einstieg__name {
  font: 400 clamp(64px, 19vw, 200px)/0.95 var(--serif);
  letter-spacing: -0.035em;
  margin-left: -0.04em;
}
.zeile { display: block; overflow: hidden; padding-bottom: .06em; }
.zeile > span { display: block; }
.einstieg__satz {
  max-width: 30ch;
  margin-top: 16px;
  font: 400 21px/1.35 var(--serif);
  opacity: .92;
}
.einstieg__aktion { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.einstieg__hinweis { font-size: 15px; opacity: .8; }
.einstieg__legende {
  position: absolute; right: 0; left: 0; bottom: 16px;
  font-size: 13px; opacity: .55; text-align: right;
}
@media (min-width: 900px) {
  .einstieg__inhalt { padding-bottom: 104px; }
  .einstieg__satz { font-size: 26px; }
  .einstieg__name { font-size: min(17vw, 30vh, 220px); }
}

/* Knöpfe & Links */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  background: var(--akzent); color: var(--hell);
  border-radius: 999px;
  font-weight: 500; font-size: 16px; text-decoration: none;
  transition: background-color 150ms ease-out, transform 150ms ease-out;
}
.knopf:hover { background: #4a5928; }
.knopf:active { transform: scale(.98); }
.textlink {
  display: inline-block; padding-block: 8px;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: var(--t3);
  transition: text-decoration-color 150ms ease-out;
}
.textlink:hover { text-decoration-color: currentColor; }

/* Abschnitte */
.abschnitt { padding-block: var(--luft); position: relative; }
.kopfzeile { display: grid; gap: 16px; margin-bottom: 40px; }
.kopfzeile h2, .mama h2, .kontakt h2 {
  font: 400 clamp(40px, 9vw, 72px)/1 var(--serif);
  letter-spacing: -0.025em;
}
.kopfzeile p { color: var(--t2); max-width: 44ch; }
.kopfzeile strong { color: var(--t1); font-weight: 500; }
@media (min-width: 900px) {
  .kopfzeile { grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: 64px; }
}

/* Angebote als Liste */
.liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.liste__zeile {
  display: grid; gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--linie);
}
.liste__zeile h3 { font: 400 28px/1.15 var(--serif); letter-spacing: -0.01em; }
.liste__zeile p { color: var(--t2); max-width: 58ch; }
.liste__zeile dl { display: flex; gap: 8px; font-size: 15px; color: var(--t3); font-variant-numeric: tabular-nums; }
.liste__zeile dd { color: var(--t2); }
@media (min-width: 900px) {
  .liste__zeile { grid-template-columns: 5fr 6fr 3fr; gap: 40px; padding: 40px 0; align-items: baseline; }
  .liste__zeile h3 { font-size: 34px; transition: transform 300ms var(--expo); }
  .liste__zeile:hover h3 { transform: translateX(8px); }
  .liste__zeile dl { flex-direction: column; gap: 0; }
}
.kleingedruckt { margin-top: 24px; font-size: 14px; color: var(--t3); }

.folgebild {
  position: fixed; left: 0; top: 0; z-index: 4;
  width: 240px; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0; transform: translate(-50%, -50%) scale(.9);
  transition: opacity 200ms ease-out;
  display: none;
}
@media (hover: hover) and (min-width: 900px) { .folgebild { display: block; } }

/* Mama-Time */
.mama { background: var(--grund-tief); padding-block: var(--luft); }
.mama__innen { display: grid; gap: 40px; }
.mama__bild { position: relative; }
.mama__bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.mama__bild figcaption { position: absolute; left: 16px; bottom: 16px; font-size: 13px; color: var(--hell); opacity: .8; }
.mama__text { display: grid; gap: 24px; align-content: start; }
.mama__text p { color: var(--t2); max-width: 52ch; }
.mama__text .gross, .kontakt .gross { font: 400 24px/1.35 var(--serif); color: var(--t1); max-width: 26ch; }
@media (min-width: 900px) {
  .mama__innen { grid-template-columns: 5fr 6fr; gap: 104px; align-items: center; }
  .mama__text .gross, .kontakt .gross { font-size: 30px; }
}

/* Praxis */
.galerie { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.galerie figure { overflow: hidden; border-radius: 4px; }
.galerie { align-items: start; }
.galerie img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.galerie__gross { grid-column: 1 / -1; }
.galerie__gross img { aspect-ratio: 3 / 2; }
@media (min-width: 900px) {
  .galerie { gap: 16px; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; }
  .galerie__gross { grid-column: 1; grid-row: 1 / 3; }
  .galerie__gross img { height: 100%; aspect-ratio: auto; }
}
.praxis__unten { display: grid; gap: 40px; margin-top: 64px; }
.zitat p { font: 400 26px/1.3 var(--serif); letter-spacing: -0.01em; max-width: 30ch; }
.zitat footer { margin-top: 16px; font-size: 15px; color: var(--t3); }
.stimmen { display: grid; gap: 16px; align-content: start; }
.stimmen p { font: italic 400 19px/1.45 var(--serif); color: var(--t2); }
.stimmen span { font-size: 14px; color: var(--t3); }
.platzhalter {
  margin-top: 40px; padding: 16px; border: 1px dashed var(--linie);
  border-radius: 4px; font-size: 15px; color: var(--t3);
}
@media (min-width: 900px) {
  .praxis__unten { grid-template-columns: 7fr 5fr; gap: 104px; margin-top: 104px; }
  .zitat p { font-size: 36px; }
}

/* Kontakt */
.kontakt { background: #303224; color: var(--hell); padding-block: var(--luft); }
.kontakt__innen { display: grid; gap: 64px; }
.kontakt__logo {
  width: 120px; margin-bottom: 40px;
  border-radius: 50%; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 8px rgb(242 230 167 / .14), 0 0 64px rgb(242 230 167 / .22);
}
.kontakt__logo img { width: 100%; height: auto; }
.kontakt .gross { color: var(--hell); margin-top: 16px; opacity: .92; }
.anfrage { margin-top: 40px; display: grid; gap: 24px; max-width: 520px; }
.anfrage fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.anfrage legend { font-size: 15px; opacity: .68; margin-bottom: 16px; padding: 0; }
.anfrage label { cursor: pointer; }
.anfrage input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.anfrage label span {
  display: inline-block; padding: 8px 16px; min-height: 40px; line-height: 24px;
  border: 1px solid rgb(246 245 238 / .3); border-radius: 999px; font-size: 15px;
  transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
}
.anfrage input:checked + span { background: var(--hell); color: #303224; border-color: var(--hell); }
.anfrage input:focus-visible + span { outline: 2px solid var(--leuchten); outline-offset: 2px; }
.anfrage__feld { display: grid; gap: 8px; font-size: 15px; color: rgb(246 245 238 / .68); }
.anfrage__feld input {
  font: inherit; font-size: 17px; color: var(--hell);
  background: transparent; border: 0; border-bottom: 1px solid rgb(246 245 238 / .3);
  padding: 8px 0; border-radius: 0;
}
.anfrage__feld input::placeholder { color: rgb(246 245 238 / .4); }
.anfrage__feld input:focus { outline: none; border-bottom-color: var(--leuchten); }
.anfrage .knopf { justify-self: start; background: var(--leuchten); color: #303224; }
.anfrage .knopf:hover { background: #f7eebd; }

.kontakt__rechts { display: grid; gap: 40px; align-content: start; }
.block h3 { font-size: 15px; font-weight: 500; opacity: .68; margin: 0 0 16px; display: flex; gap: 16px; align-items: center; }
.block p + p { margin-top: 8px; }
.leise { opacity: .68; margin-bottom: 16px; }
.offen { font-size: 13px; padding: 0 8px; border-radius: 999px; background: rgb(242 230 167 / .16); color: var(--leuchten); opacity: 1; }
.zeiten { border-collapse: collapse; width: 100%; max-width: 360px; font-variant-numeric: tabular-nums; }
.zeiten th, .zeiten td { text-align: left; vertical-align: top; padding: 8px 0; border-top: 1px solid rgb(246 245 238 / .12); font-weight: 400; }
.zeiten th { opacity: .68; padding-right: 24px; }
.zeiten tr.heute th, .zeiten tr.heute td { color: var(--leuchten); opacity: 1; }
@media (min-width: 900px) {
  .kontakt__innen { grid-template-columns: 7fr 5fr; gap: 104px; }
}

/* Fuss */
.fuss { padding-block: 64px 24px; }
.fuss__name { font: 300 clamp(72px, 22vw, 260px)/.9 var(--serif); letter-spacing: -0.045em; color: var(--t3); margin-left: -0.04em; }
.fuss__zeile { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 24px; font-size: 14px; color: var(--t2); }

/* Bewegung */
.js .zeile > span { transform: translateY(105%); }
.js .geladen .zeile > span { transform: none; transition: transform 1000ms var(--expo); }
.js .einstieg__satz, .js .einstieg__aktion, .js .einstieg__ort { opacity: 0; transform: translateY(16px); }
.js .geladen .einstieg__satz, .js .geladen .einstieg__aktion, .js .geladen .einstieg__ort {
  opacity: .92; transform: none;
  transition: opacity 800ms var(--expo), transform 800ms var(--expo);
}
.js .geladen .einstieg__ort { opacity: .8; transition-delay: 0ms; }
.js .geladen .einstieg__satz { transition-delay: 180ms; }
.js .geladen .einstieg__aktion { opacity: 1; transition-delay: 270ms; }

.js .aufdecken { clip-path: inset(100% 0 0 0); }
.js .aufdecken img { transform: scale(1.15); }
.js .aufdecken.sichtbar { clip-path: inset(0 0 0 0); transition: clip-path 1000ms var(--expo); }
.js .aufdecken.sichtbar img { transform: none; transition: transform 1000ms var(--expo); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .zeile > span, .js .einstieg__satz, .js .einstieg__aktion, .js .einstieg__ort { transform: none !important; opacity: 1 !important; transition: none !important; }
  .js .aufdecken, .js .aufdecken img { clip-path: none !important; transform: none !important; transition: none !important; }
  .einstieg__bild img { transform: none !important; }
  .folgebild { display: none !important; }
}

.fuss__zeile a { display: inline-block; padding-block: 8px; }
.kopf__nav a { padding-block: 8px; }
@media (min-width: 900px) { .mama__bild img { aspect-ratio: 4 / 5; } }
