/* Physiotherapie Scherer – Entwurf Seetalwebsites */
:root {
  --sand: #f4efe6;
  --sand-tief: #ebe3d5;
  --weiss: #fffdf9;
  --gruen: #1f3326;
  --salbei: #6f8f72;
  --salbei-hell: #dfe8dc;
  --wasser: #4f8fa8;
  --wasser-hell: #dcebf0;
  --orange: #e88801;
  --text-leise: #4a5a4e;
  --linie: rgba(31, 51, 38, .14);
  --rund: 22px;
  --titel: "Fraunces", Georgia, serif;
  --schrift: "Atkinson Hyperlegible", system-ui, sans-serif;
  --weich: cubic-bezier(.22, .8, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--gruen);
  font: 400 1.125rem/1.6 var(--schrift);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titel); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h1 em { font-style: italic; color: var(--salbei); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.rahmen { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gruen); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.vorzeile {
  font-size: .9rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--salbei); margin-bottom: .8em;
  display: flex; align-items: center; gap: .6em;
}
.vorzeile::before { content: ""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 54px; padding: 0 1.6em; border-radius: 999px;
  background: var(--gruen); color: var(--sand); text-decoration: none; font-weight: 700;
  transition: transform .3s var(--weich), background .3s;
}
.knopf:hover { background: #2d4a37; transform: translateY(-2px); }
.knopf-hell { background: transparent; color: var(--gruen); box-shadow: inset 0 0 0 2px var(--gruen); }
.knopf-hell:hover { background: var(--gruen); color: var(--sand); }
.knopf-klein { min-height: 48px; padding: 0 1.2em; font-size: 1rem; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; transition: background .3s, box-shadow .3s; }
.kopf.gescrollt { background: rgba(244, 239, 230, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--linie); }
.kopf-innen { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.marke-zeichen {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--salbei); color: var(--sand); font: 600 1.4rem/1 var(--titel);
}
.marke-name { display: block; font: 600 1.2rem/1.1 var(--titel); }
.marke-zusatz { display: block; font-size: .85rem; color: var(--text-leise); letter-spacing: .06em; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 700; font-size: 1rem; padding: 8px 0; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--weich); }
.nav a:hover { background-size: 100% 2px; }

/* Einstieg */
.einstieg { padding: clamp(24px, 5vw, 64px) 0 clamp(56px, 8vw, 110px); }
.einstieg-raster { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.einstieg-lead { font-size: 1.25rem; color: var(--text-leise); max-width: 34ch; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.einstieg-tel { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; text-decoration: none; color: var(--salbei); }
.einstieg-bild { margin: 0; position: relative; }
.einstieg-bild img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 42% 60%; border-radius: 200px 200px var(--rund) var(--rund); }
.einstieg-bild::after {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 38%; height: 38%;
  border-radius: 0 0 calc(var(--rund) + 8px) 0; border: 2px solid var(--orange); border-top: 0; border-left: 0; pointer-events: none;
}

/* Abschnitte */
.abschnitt { padding: clamp(64px, 9vw, 120px) 0; }
.kopfzeile { max-width: 640px; margin-bottom: 44px; }
.kopfzeile p:last-child { color: var(--text-leise); font-size: 1.2rem; }

/* Orte */
#orte { background: var(--weiss); border-radius: 40px 40px 0 0; }
.orte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ort { background: var(--sand); border-radius: var(--rund); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--weich), box-shadow .4s; }
.ort:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -24px rgba(31, 51, 38, .45); }
.ort img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.ort-text { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.ort-text p { color: var(--text-leise); }
.ort-marke {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .45em;
  font-size: .9rem; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  background: var(--salbei-hell); margin-bottom: 14px;
}
.ort-wasser { background: var(--wasser-hell); }
.ort-wasser .ort-marke { background: #fff; color: #2f6a82; }
.ort-pferd .ort-marke { background: var(--gruen); color: var(--sand); }
.ort-adresse { margin: auto 0 0 !important; padding-top: 14px; border-top: 1px solid var(--linie); display: flex; gap: .5em; align-items: flex-start; font-weight: 700; color: var(--gruen) !important; font-size: 1rem; }
.ort-adresse .ico { margin-top: .2em; }

/* Hippotherapie */
.hippo { background: var(--gruen); color: var(--sand); }
.hippo .vorzeile { color: #b9cfb8; }
.hippo-raster { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hippo-bild { margin: 0; }
.hippo-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rund) var(--rund) var(--rund) 160px; }
.hippo-text > div > p { color: #d5dcd3; font-size: 1.2rem; }
.schritte { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 14px; }
.schritte li { display: flex; gap: 18px; padding: 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.schritte h3 { font-size: 1.2rem; margin-bottom: .25em; }
.schritte p { margin: 0; color: #d5dcd3; }
.nr { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--gruen); font: 600 1.1rem/1 var(--titel); }
.hippo .knopf { background: var(--sand); color: var(--gruen); }
.hippo .knopf:hover { background: #fff; }

/* Angebot */
.angebot-raster { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 12px 20px; border-radius: 999px; background: var(--weiss); border: 1px solid var(--linie); font-weight: 700; }
.kompetenz { background: var(--weiss); border-radius: var(--rund); padding: 30px; }
.kompetenz ul { list-style: none; padding: 0; margin: 0; }
.kompetenz li { padding: 11px 0 11px 28px; border-top: 1px solid var(--linie); position: relative; }
.kompetenz li::before { content: ""; position: absolute; left: 4px; top: 1.15em; width: 9px; height: 9px; border-radius: 50%; background: var(--salbei); }

/* Team + Anmeldung */
.anmeldung { background: var(--sand-tief); }
.anmeldung-raster { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.personen { display: grid; gap: 14px; margin-top: 26px; }
.person { display: flex; align-items: center; gap: 16px; background: var(--weiss); border-radius: 18px; padding: 18px 20px; }
.person strong { display: block; font-size: 1.15rem; }
.person span:not(.initialen) { color: var(--text-leise); }
.initialen { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--salbei-hell); font: 600 1.1rem/1 var(--titel); }
.karte-anmeldung { background: var(--gruen); color: var(--sand); border-radius: 28px; padding: clamp(26px, 4vw, 42px); }
.karte-anmeldung > p:first-of-type { color: #d5dcd3; }
.kontakt { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .14); text-decoration: none; margin: 0; overflow-wrap: anywhere; }
.kontakt .ico { width: 26px; height: 26px; color: var(--orange); }
.kontakt small { display: block; font-size: .85rem; color: #b9cfb8; }
.kontakt span { font-weight: 700; font-size: 1.15rem; }
a.kontakt:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* Fuss */
.fuss { background: var(--gruen); color: #c8d2c6; padding: 28px 0 32px; font-size: 1rem; }
.fuss-innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.fuss p { margin: 0; }
.fuss strong { color: var(--sand); }
.entwurf { color: #9fb09d; }

/* Handy-Knopf unten */
.handy-knopf { display: none; }

/* Einblenden */
.js .zeige { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--weich) var(--d, 0s), transform .8s var(--weich) var(--d, 0s); }
.js .zeige.sichtbar { opacity: 1; transform: none; }
.js .einstieg-text > *, .js .einstieg-bild { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--weich), transform .9s var(--weich); }
.js .einstieg-bild { transition-delay: .15s; transform: scale(.97); }
.bereit .einstieg-text > *, .bereit .einstieg-bild { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .zeige, .js .einstieg-text > *, .js .einstieg-bild { opacity: 1; transform: none; }
}

/* Tablet */
@media (max-width: 980px) {
  .nav { display: none; }
  .orte { grid-template-columns: 1fr 1fr; }
  .ort-pferd { grid-column: 1 / -1; flex-direction: row; }
  .ort-pferd img { width: 45%; aspect-ratio: auto; }
  .angebot-raster, .anmeldung-raster { grid-template-columns: 1fr; }
}

/* Handy */
@media (max-width: 700px) {
  body { padding-bottom: 76px; }
  .kopf .knopf-klein { display: none; }
  .kopf-innen { min-height: 66px; }
  .einstieg-raster { grid-template-columns: 1fr; }
  .einstieg-bild { order: -1; }
  .einstieg-bild img { aspect-ratio: 4 / 3.3; border-radius: 140px 140px var(--rund) var(--rund); }
  .einstieg-bild::after { display: none; }
  .knoepfe .knopf { flex: 1 1 100%; }
  .orte { grid-template-columns: 1fr; }
  .ort-pferd { flex-direction: column; }
  .ort-pferd img { width: 100%; aspect-ratio: 4 / 3; }
  #orte { border-radius: 28px 28px 0 0; }
  .hippo-raster { grid-template-columns: 1fr; }
  .hippo-bild img { aspect-ratio: 4 / 3.4; object-position: center 35%; border-radius: var(--rund) var(--rund) var(--rund) 100px; }
  .hippo .knopf { width: 100%; }
  .handy-knopf {
    display: flex; align-items: center; justify-content: center; gap: .5em;
    position: fixed; left: 16px; right: 16px; bottom: 12px; z-index: 30;
    min-height: 56px; border-radius: 999px; background: var(--orange); color: var(--gruen);
    font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px -10px rgba(31, 51, 38, .6);
  }
}
