/* Marcellus und Jost, selbst gehostet. Lizenz: SIL Open Font License 1.1, siehe OFL-*.txt */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(schriften/jost-latin-ext-300-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(schriften/jost-latin-300-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(schriften/jost-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(schriften/jost-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(schriften/jost-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(schriften/jost-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(schriften/jost-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(schriften/jost-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(schriften/marcellus-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(schriften/marcellus-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Dream Beauty – Stil (Konzept 2027, mit Nachtrag 1)
   Mobile first. Ab 960 px die breite Ansicht: Foto links (rund 60 %), rechts ein Blatt (mockup/Desktop.html).
   Kein Inline-Stil im HTML. Die @font-face-Regeln (schriften/schriften.css) setzt der Bau davor,
   die Bildausschnitte aus den Seitendaten (Feld „fokus“) dahinter. */

:root {
  --creme: #f9f5ee;        /* Seitengrund */
  --beige: #eadfce;        /* Hervorhebung, Grund hinter dem Blatt */
  --sand: #bda88a;         /* Griff, Ränder */
  --gold: #a88a4a;         /* Gold aus dem Logo: Zeichen, Unterstrich */
  --gold-tief: #675636;    /* kleine Schrift auf Hell (Kontrast 6,5 : 1) */
  --stern: #7d6638;        /* Sterne (5,0 : 1) */
  --tinte: #2b2724;        /* Text */
  --anthrazit: #333333;    /* nur der Fuß */
  --gold-hell: #c6b085;    /* kleine Schrift auf dem dunklen Fuß (6,0 : 1) */
  --rot-grund: #ffb8b1;    /* Vorschau: was fehlt oder mit Anna zu klären ist (Nachtrag 8) */
  --rot-schrift: #4a0a05;  /* auf --rot-grund: Kontrast 9,5 : 1 */
  --linie: rgb(189 168 138 / 0.6);
  --platzhalter: linear-gradient(160deg, #e3d6c0 0%, #cdb999 100%);
  --schleier: linear-gradient(to top, #f9f5ee 0%, rgb(249 245 238 / 0.92) 20%, rgb(249 245 238 / 0.5) 50%, rgb(249 245 238 / 0) 100%);
  --blatt-schatten: 0 -12px 30px -18px rgb(43 39 36 / 0.5);

  /* Leiste unten am Handy: dunkel (Nachtrag 1, Punkt 4). Variante hell zum Vergleich:
     --leiste-grund: rgb(255 255 255 / 0.94); --leiste-rand: #a88a4a; --leiste-schrift: #2b2724;
     --leiste-aktiv-grund: #2b2724; --leiste-aktiv-schrift: #f9f5ee; --leiste-fokus: #2b2724; */
  --leiste-grund: rgb(43 39 36 / 0.94);
  --leiste-rand: rgb(249 245 238 / 0.22);
  --leiste-schatten: 0 16px 36px -14px rgb(43 39 36 / 0.55);
  --leiste-schrift: #f2e9da;
  --leiste-aktiv-grund: #f9f5ee;
  --leiste-aktiv-schrift: #2b2724;
  --leiste-fokus: #f2e9da;

  --display: 'Marcellus', Georgia, 'Times New Roman', serif;
  --text: 'Jost', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;

  --rand: 24px;
  --leiste-h: 60px;
  --leiste-abstand: 20px;
  --sicher-unten: env(safe-area-inset-bottom, 0px);
  --frei-unten: calc(var(--leiste-h) + var(--leiste-abstand) + var(--sicher-unten) + 24px);
  --frei-oben: 88px;
  /* H1 der Startseite: 40 px bei 390 px Breite, nie unter 32 px, immer zwei Zeilen */
  --h1-start: clamp(32px, calc((100vw - 48px) / 8.55), 40px);
  /* Sichtbarer Kopf des Start-Blatts: Griff, H1, Platz für die Leiste (214 px bei 390 px) */
  --kopf: calc(30px + 2 * 1.06 * var(--h1-start) + 19px + var(--leiste-h) + var(--leiste-abstand) + var(--sicher-unten));
  --weich: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

/* ---------- Grundlagen ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--frei-oben);
  scroll-padding-bottom: var(--frei-unten);   /* Fokus und Sprungziele nie unter der Leiste */
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--tinte);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.5;
  overflow-wrap: break-word;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
dialog { color: inherit; }

:focus-visible { outline: 2px solid var(--tinte); outline-offset: 3px; }

.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.sprung {
  position: absolute; z-index: 100; left: 16px; top: -120px;
  padding: 12px 18px; border-radius: 22px;
  background: var(--tinte); color: var(--creme);
  font-weight: 500; text-decoration: none;
}
.sprung:focus { top: max(16px, env(safe-area-inset-top, 0px)); }

/* Vorschau (Nachtrag 8): rot hinterlegt wie mit einem Textmarker ist, was fehlt oder mit Anna zu klären ist.
   Drei Formen: Marke im Text ([was fehlt, von wem] oder der unbestätigte Wert selbst), Hinweis als eigene Zeile,
   Schild zum Foto. Auf hellem und dunklem Grund gleich, auch im Fuß. Der Live-Bau enthält keine Marke. */
.offen {
  padding: 2px 5px; border-radius: 3px;
  background: var(--rot-grund); color: var(--rot-schrift);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.pruefhinweis { margin-top: 12px; font-size: 0.9375rem; line-height: 1.6; }
.schild {
  position: absolute; z-index: 3; top: 12px; left: 12px;
  padding: 2px 5px; border-radius: 3px;
  font-size: 0.8125rem; font-weight: 500; line-height: 1.3; white-space: nowrap;
  background: var(--rot-grund); color: var(--rot-schrift); pointer-events: none;
}
.schild--unter { position: static; display: inline-block; margin-top: 6px; white-space: normal; }

/* ---------- Kopf: Logo-Plakette und Leiste ---------- */

.kopf { position: absolute; z-index: 30; inset: 0 0 auto 0; height: 0; }

.plakette {
  position: fixed; z-index: 30;
  top: max(16px, env(safe-area-inset-top, 0px)); left: 16px;
  display: flex; align-items: center; gap: 8px;
  height: 56px; padding: 0 16px 0 8px;
  border-radius: 28px;
  background: rgb(249 245 238 / 0.9);
  border: 1px solid rgb(255 255 255 / 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  text-decoration: none;
  transition: background-color 0.4s var(--weich), border-color 0.4s var(--weich);
}
.plakette__zeichen { width: 40px; height: 40px; }
.plakette__schrift { width: 113px; height: 28px; }
.seite--hell .plakette,
.ist-gescrollt .plakette { background: var(--creme); border-color: var(--linie); }
.seite--behandlung .plakette { display: none; }   /* am Handy liegt das Blatt darüber */

.leiste {
  position: fixed; z-index: 40;
  left: 20px; right: 20px;
  bottom: calc(var(--leiste-abstand) + var(--sicher-unten));
  max-width: 440px; margin-inline: auto;
  height: var(--leiste-h);
  display: flex; align-items: center; gap: 2px;
  padding: 0 8px;
  border-radius: 30px;
  background: var(--leiste-grund);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--leiste-rand);
  box-shadow: var(--leiste-schatten);
}
.leiste__link {
  flex: 1 1 0; min-width: 0; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 22px;
  font-size: 1rem; font-weight: 500; line-height: 1;
  color: var(--leiste-schrift); text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
}
.leiste__link:hover:not([aria-current]) { background: rgb(249 245 238 / 0.12); }
.leiste__link[aria-current] { background: var(--leiste-aktiv-grund); color: var(--leiste-aktiv-schrift); }
.leiste__link:focus-visible { outline: 2px solid var(--leiste-fokus); outline-offset: 2px; }
@media (max-width: 374px) {
  .leiste { padding: 0 6px; }
  .leiste__link { font-size: 0.875rem; }
}

/* ---------- Fotos und Platzhalter ---------- */

.foto { position: relative; display: block; overflow: hidden; background: var(--platzhalter); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto__auftrag {
  position: absolute; left: var(--rand); top: 96px; max-width: 240px;
  font-size: 0.8125rem; line-height: 1.4; color: var(--tinte);
}
/* Fehlendes Foto: der Platzhalter ist rot (Nachtrag 8) */
.foto--platzhalter { background: var(--rot-grund); }
.foto--platzhalter .foto__auftrag { color: var(--rot-schrift); }

/* Instagram und Facebook: runde Icon-Plätze, dunkel wie die untere Leiste, Icon weiß 22 px (Nachtrag 5) */
.netz { display: flex; gap: 8px; }
.netz__link, .netz__platz {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: var(--leiste-grund);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--leiste-rand);
  color: var(--leiste-schrift); text-decoration: none;
}
.netz__platz, .netz__kurz { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em; }
.netz__icon, .netz__zeichen { width: 22px; height: 22px; }

/* Google-Note */

/* Runde Knöpfe (Schließen) */
.knopf-rund {
  flex: none; width: 44px; height: 44px; padding: 0;
  display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--linie);
  background: transparent; color: var(--tinte);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.25s;
}
.knopf-rund:hover { background: var(--beige); }

.griff { display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--sand); }

/* Stiller Textlink, z. B. „Termin per WhatsApp vereinbaren“ */
.textlink {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 500; color: var(--tinte);
  text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.textlink:hover { text-decoration-thickness: 2px; }

/* Abschnitte (Behandlung, Anna) */
.abschnitt { margin-top: 28px; }
.abschnitt__titel { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.abschnitt > p, .abschnitt__offen { margin-top: 8px; }
.abschnitt p { text-wrap: pretty; hyphens: auto; }
.abschnitt h3, .preisgruppe__titel {
  margin-top: 18px; font-family: var(--display); font-weight: 400; font-size: 1.25rem; line-height: 1.2;
}
.abschnitt > h3 + p { margin-top: 6px; }
.abschnitt > p + p { margin-top: 10px; }

/* ---------- Start: das Foto steht, das Blatt schiebt sich darüber (nur CSS) ---------- */

.seite--start { background: var(--creme); }
.start { position: relative; }
.auftakt {
  position: sticky; top: 0; z-index: 0;
  height: calc(100svh - var(--kopf) + 28px);
  overflow: hidden; background: var(--beige);
}
.auftakt > .foto { position: absolute; inset: 0; }
.netz--auftakt { position: absolute; z-index: 2; top: max(22px, env(safe-area-inset-top, 0px)); right: 16px; }
.auftakt > .schild { top: calc(max(22px, env(safe-area-inset-top, 0px)) + 54px); left: auto; right: 16px; }   /* unter Instagram und Facebook */

.startblatt {
  position: relative; z-index: 1;
  margin-top: -28px;
  padding: 30px var(--rand) 4px;
  background: var(--creme);
  border-radius: 28px 28px 0 0;
  box-shadow: var(--blatt-schatten);
}
.startblatt__griff {
  position: absolute; top: -10px; left: 50%; margin-left: -32px;
  width: 64px; height: 44px; display: grid; place-items: center;
  border-radius: 22px;
}
.startblatt__titel { font-family: var(--display); font-weight: 400; font-size: var(--h1-start); line-height: 1.06; }
.startblatt__zeile { display: block; white-space: nowrap; }
.netz--startblatt { display: none; }

/* Sprungziel /#wuensche: Die Blattkante landet knapp unter der Logo-Pille, H1 und Liste bleiben frei */
.wuensche { margin-top: 15px; scroll-margin-top: calc(80px + 30px + 2 * 1.06 * var(--h1-start) + 15px); }
.wuensche__frage {
  display: flex; align-items: center; min-height: 44px;
  font-family: var(--text); font-size: 1rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--gold-tief);
}
.wuensche__eintrag { border-top: 1px solid var(--linie); transition: border-color 0.3s; }
.wuensche__eintrag:last-child { border-bottom: 1px solid var(--linie); }
.wuensche__eintrag:has(.wunsch:hover),
.wuensche__eintrag:has(.wunsch:hover) + .wuensche__eintrag,
.wuensche__eintrag:has(.wunsch:active),
.wuensche__eintrag:has(.wunsch:active) + .wuensche__eintrag { border-top-color: transparent; }
.wunsch {
  position: relative;
  display: flex; flex-direction: column; gap: 4px;
  margin: 0 -12px; padding: 18px 12px;
  border-radius: 18px;
  color: var(--tinte); text-decoration: none;
  transition: background-color 0.3s var(--weich), padding 0.3s var(--weich);
}
.wunsch__wort {
  font-family: var(--display); line-height: 1.1;
  font-size: clamp(1.75rem, calc((100vw - 48px) / 8.6), 2.125rem);
}
.wunsch__name { font-size: 0.9375rem; line-height: 1.4; color: var(--gold-tief); }
/* Rundes Vorschaubild: beim Berühren oder Überfahren, nur bei eigenem Kopf-Foto */
.wunsch__bild {
  position: absolute; right: 12px; top: 50%;
  width: 60px; height: 60px; margin-top: -30px;
  border-radius: 50%; overflow: hidden; border: 1px solid var(--gold);
  opacity: 0; transform: scale(0.85); pointer-events: none;
  transition: opacity 0.3s var(--weich), transform 0.3s var(--weich);
}
.wunsch__bild .foto { width: 100%; height: 100%; }
.wunsch:hover, .wunsch:focus-visible, .wunsch:active { background: var(--beige); }
.wunsch:hover .wunsch__bild, .wunsch:focus-visible .wunsch__bild, .wunsch:active .wunsch__bild { opacity: 1; transform: none; }

.startblatt__fuss { display: none; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 30px; }

/* Ein Blick ins Studio */
.studio { position: relative; z-index: 1; padding: 22px 0 40px; background: var(--creme); }   /* mit den 4 px der Reihe: 44 px bis zum Fuß */
.studio__titel { padding: 0 var(--rand); font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.studio__reihe {
  display: flex; gap: 12px; margin-top: 16px; padding: 0 var(--rand) 4px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-left: var(--rand);
  scrollbar-width: none;
}
.studio__reihe::-webkit-scrollbar { display: none; }
.studio__reihe:focus-visible { outline-offset: -2px; border-radius: 20px; }
.studio__bild { flex: none; width: 220px; scroll-snap-align: start; }
.studio__bild figure { display: flex; flex-direction: column; gap: 8px; }
.studio__foto { position: relative; }   /* Foto mit Schild (Nachtrag 8) */
.studio__foto > .schild { top: auto; bottom: 12px; }   /* unten links: beim Eingangsfoto ist das Gesicht oben (Nachtrag 10) */
.foto--studio { width: 220px; height: 280px; border-radius: 20px; }
.studio__bild figcaption { font-size: 0.9375rem; line-height: 1.3; }

/* ---------- Behandlung als Blatt ---------- */

.seite--behandlung { background: var(--beige); }
.blatt-daneben { position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 24px; }
.blatt {
  position: relative; z-index: 2;
  margin-top: 24px; padding: 26px 12px 40px;
  background: var(--creme);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -12px 30px -18px rgb(43 39 36 / 0.4);
}
.blatt__griff { position: absolute; top: 10px; left: 50%; margin-left: -22px; }
.blatt__bild { position: relative; }
.blatt__bild .foto { height: clamp(200px, 60.5vw, 440px); border-radius: 20px; }
.foto--blatt .foto__auftrag { top: auto; left: 16px; bottom: 18px; max-width: 250px; }
.blatt__zu { position: absolute; z-index: 3; top: 38px; right: 24px; background: rgb(249 245 238 / 0.92); }
.blatt--ohne-bild .blatt__zu { top: 22px; }
.blatt--ohne-bild .blatt__kopf { padding-right: 56px; }
.blatt__inhalt { padding: 20px 12px 0; }

.blatt__kopfzeile {
  position: sticky; z-index: 4; top: 0;
  height: 64px; margin: 0 -24px -64px; padding: 0 16px 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--creme); border-bottom: 1px solid var(--linie);
  visibility: hidden; opacity: 0;
  transition: opacity 0.25s var(--weich), visibility 0.25s;
}
.blatt__kopfzeile.ist-sichtbar { visibility: visible; opacity: 1; }
.blatt__name {
  min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.02em; color: var(--gold-tief);
}
.blatt__titel {
  font-family: var(--text); font-size: 0.9375rem; font-weight: 500; line-height: 1.4;
  letter-spacing: 0.02em; color: var(--gold-tief);
}
.blatt__gefuehl { margin-top: 8px; font-family: var(--display); font-size: 2rem; line-height: 1.1; text-wrap: balance; }

.steckbrief { margin-top: 18px; border-bottom: 1px solid var(--linie); }
.steckbrief__zeile {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-top: 1px solid var(--linie);
}
.steckbrief dt { flex: none; font-size: 0.875rem; color: var(--gold-tief); }
.steckbrief dd { font-size: 1rem; text-align: right; }

/* Stiller WhatsApp-Link gleich nach dem Steckbrief (Nachtrag 4): 6 px Abstand, Zeile 44 px, 8 px zum nächsten Baustein */
.blatt__whatsapp { margin-top: 6px; }
.blatt__whatsapp + .kleinbild, .blatt__whatsapp + .stimme { margin-top: 8px; }

/* Kleines Bild beim Steckbrief */
.kleinbild { margin-top: 16px; display: flex; align-items: center; gap: 14px; }
.foto--klein { flex: none; width: 96px; height: 96px; border-radius: 16px; }
.kleinbild figcaption { font-size: 0.9375rem; line-height: 1.4; color: var(--gold-tief); }

/* Annas Stimme */
.stimme {
  margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  min-height: 60px; padding: 8px 18px 8px 8px; border-radius: 30px;
  background: var(--beige);
}
.stimme__knopf {
  flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--tinte); color: var(--creme); cursor: pointer;
}
button.stimme__knopf { display: none; }        /* ohne Skript: die Abspielleiste des Browsers */
.js button.stimme__knopf { display: grid; }
.js .stimme__ton { display: none; }
.stimme__ton { flex: 1 1 100%; min-width: 0; height: 40px; }
.stimme__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.stimme__titel { font-size: 0.9375rem; font-weight: 500; }
.stimme__laenge { font-size: 0.8125rem; color: var(--gold-tief); }
.stimme__welle { flex: none; color: var(--sand); }
.zeichen--pause, .ist-am-spielen .zeichen--abspielen { display: none; }
.ist-am-spielen .zeichen--pause { display: block; }
.ist-am-spielen .stimme__welle rect { animation: welle 1.1s ease-in-out infinite alternate; transform-origin: center; transform-box: fill-box; }
.ist-am-spielen .stimme__welle rect:nth-child(3n) { animation-delay: -0.4s; }
.ist-am-spielen .stimme__welle rect:nth-child(3n + 1) { animation-delay: -0.8s; }
@keyframes welle { to { transform: scaleY(0.45); } }

/* Ablauf in Bildern */
.ablauf { margin-top: 14px; display: flex; flex-direction: column; gap: 14px; }
.ablauf__schritt { display: flex; align-items: center; gap: 16px; }
.foto--ablauf { flex: none; width: clamp(88px, 30vw, 120px); aspect-ratio: 1; border-radius: 16px; }
.ablauf__bild { flex: none; width: clamp(88px, 30vw, 120px); }   /* Foto und Schild darunter (Nachtrag 8) */
.ablauf__bild > .foto--ablauf { width: 100%; }
.ablauf__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ablauf__titel {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px;
  font-family: var(--display); font-weight: 400; font-size: 1.375rem; line-height: 1.2;
}
.ablauf__nummer { color: var(--gold-tief); }
.abschnitt .ablauf__satz { margin: 0; font-size: 0.9375rem; line-height: 1.45; hyphens: manual; }

/* Preise mit Führungspunkten */
.preisliste { margin-top: 10px; font-variant-numeric: tabular-nums; }
.preisgruppe:first-child .preisliste { margin-top: 2px; }
.preisliste__posten { display: flex; align-items: baseline; gap: 10px; padding: 5px 0; }
.preisliste__punkte {
  flex: 1 1 0; min-width: 20px;
  border-bottom: 1px dotted rgb(43 39 36 / 0.5); transform: translateY(-5px);
}
.preisliste__preis { white-space: nowrap; }
.preisliste__hinweis { margin-top: 6px; font-size: 0.9375rem; line-height: 1.4; color: var(--gold-tief); }
.preis-offen { margin-top: 8px; }

/* Aufklappen: Preise je Behandlung, Fragen */
.abschnitt > .aufklapper:first-of-type { margin-top: 8px; }
.aufklapper { border-bottom: 1px solid var(--linie); }
.aufklapper + .aufklapper > .aufklapper__zeile { border-top: 0; }
.aufklapper__zeile {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 48px; padding: 10px 0;
  border-top: 1px solid var(--linie);
  cursor: pointer; list-style: none;
}
.aufklapper__zeile::-webkit-details-marker { display: none; }
.aufklapper__zeile::marker { content: ""; }
.aufklapper__zeile:hover .aufklapper__titel { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.zeichen--plus { flex: none; color: var(--gold-tief); }
.zeichen__senkrecht { transform-box: view-box; transform-origin: 8px 8px; transition: transform 0.3s var(--weich); }
.aufklapper[open] .zeichen__senkrecht { transform: scaleY(0); }
.aufklapper__inhalt { padding: 2px 0 16px; }
.aufklapper__inhalt > p { margin-top: 0; }

.blatt__schluss { margin-top: 12px; }

/* ---------- Seiten mit Kopf-Foto: Anna, Kontakt, 404 ---------- */

.kopfbild { position: relative; height: clamp(300px, 44svh, 480px); overflow: hidden; background: var(--beige); }
.kopfbild > .foto { position: absolute; inset: 0; }
.kopfbild > .schild { top: auto; bottom: 28px; left: auto; right: 12px; }   /* unten rechts: dort ist bei Kontakt, 404 und Team kein Gesicht; über dem Inhaltsteil, der 16 px hineinragt */
.kopfbild__schleier { position: absolute; left: 0; right: 0; bottom: -1px; height: 54%; background: var(--schleier); }
.kopfseite__inhalt { position: relative; margin-top: -16px; padding: 0 var(--rand) 48px; }
.kopfseite--ohne-bild .kopfseite__inhalt { margin-top: 0; padding-top: 92px; }
.kopfseite__kicker { font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.02em; color: var(--gold-tief); }
.kopfseite__titel {
  margin-top: 8px; font-family: var(--display); font-weight: 400; font-size: 2.125rem; line-height: 1.1;
  text-wrap: balance;
}
.kopfseite__titel--name { margin-top: 0; }
.kopfseite__text { margin-top: 14px; font-size: 1rem; }
.kopfseite__text p + p { margin-top: 10px; }

.kopfseite__inhalt > .kontaktliste { margin-top: 20px; }
.kopfseite__inhalt > .textlink, .kopfseite__inhalt > .textseite__link { margin-top: 12px; }

/* Team und Ausbildung */
.team__liste { margin-top: 16px; display: flex; gap: 16px; }
.team__person { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.foto--team { width: 100%; max-width: 96px; aspect-ratio: 1; margin-bottom: 8px; border-radius: 50%; border: 1px solid var(--gold); }
.team__person > .schild--unter { margin: 0 0 6px; }
.team__name { font-size: 1rem; font-weight: 500; line-height: 1.3; }
.team__aufgabe { font-size: 0.875rem; line-height: 1.3; color: var(--gold-tief); }
.foto--ausbildung { margin-top: 12px; width: 100%; aspect-ratio: 3 / 2; border-radius: 20px; }
.abschnitt .ausbildung__text { margin-top: 12px; font-size: 1rem; }
.kundenstimme { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--gold); }
.kundenstimme figcaption { margin-top: 6px; font-size: 0.9375rem; color: var(--gold-tief); }

/* ---------- Textseiten: Preise, Impressum, Datenschutz ---------- */

.textseite { padding: 92px var(--rand) 48px; }
.textseite > *, .textseite__text { max-width: 44rem; }
.textseite__titel {
  font-family: var(--display); font-weight: 400; line-height: 1.05;
  font-size: clamp(2.5rem, 11.3vw, 2.75rem);
}
.textseite__text > h2, .kopfseite__text > h2 {
  margin-top: 30px; font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.2;
}
.textseite__text > p, .textseite__text > .liste, .textseite__text > .felder { margin-top: 10px; }
.textseite__text p { hyphens: auto; text-wrap: pretty; }
.textseite__text > :first-child { margin-top: 20px; }
.textseite__link { margin-top: 20px; }
.liste { padding-left: 1.2em; list-style: disc; }
.liste li + li { margin-top: 6px; }
.liste li::marker { color: var(--gold); }

.felder { border-bottom: 1px solid var(--linie); }
.felder__zeile { padding: 10px 0; border-top: 1px solid var(--linie); }
.felder dt { font-size: 0.875rem; color: var(--gold-tief); }
.felder dd { margin-top: 2px; }

/* Preise */
.sprungmarken { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.sprungmarke {
  display: flex; align-items: center; height: 44px; padding: 0 18px;
  border-radius: 22px; border: 1px solid var(--sand);
  font-size: 0.9375rem; font-weight: 500; color: var(--tinte); text-decoration: none;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.sprungmarke:hover { border-color: var(--tinte); }
.sprungmarke[aria-current] { background: var(--tinte); border-color: var(--tinte); color: var(--creme); }
.preisseite__gruppen { margin-top: 30px; }
.preisseite__behandlung + .preisseite__behandlung,
.preisblock + .preisblock { margin-top: 24px; }
.preisblock__titel { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.preisseite__stand { margin-top: 32px; font-size: 0.9375rem; color: var(--gold-tief); }

/* ---------- Kontakt: Zeilen wie im Mockup, die ganze Zeile ist der Link ---------- */

.kontaktliste { border-bottom: 1px solid var(--linie); }
.kontaktliste > li { border-top: 1px solid var(--linie); }
.kontakt__zeile {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 58px; padding: 8px 0;
  color: var(--tinte); text-decoration: none;
}
a.kontakt__zeile:hover .kontakt__wert { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.kontakt__name { flex: none; font-size: 0.875rem; color: var(--gold-tief); }
.kontakt__wert { min-width: 0; text-align: right; }
.kontakt__wert--nummer { white-space: nowrap; }
.kontakt__wert--bild { display: flex; align-items: center; gap: 10px; }
/* WhatsApp: das runde Logo-Zeichen wie in der Plakette neben „Nachricht schreiben“, ohne Rahmen (Nachtrag 6) */
.kontakt__zeichen { flex: none; width: 40px; height: 40px; }
@media (max-width: 359px) {   /* 320 px: „Nachricht schreiben“ neben dem Logo-Zeichen bleibt einzeilig */
  .kontakt__zeile { gap: 10px; }
  .kontakt__wert--bild { gap: 8px; }
}
/* Öffnungszeiten als kleine Tabelle (Nachtrag 9): Tage links, so breit wie „Mo–Fr“, Zeit rechts; nichts bricht um */
.zeiten { border-collapse: collapse; font-size: 0.9375rem; line-height: 1.6; }
.zeiten th, .zeiten td { padding: 0; font-weight: inherit; text-align: left; white-space: nowrap; vertical-align: baseline; }
.zeiten th { padding-right: 12px; }
.kontakt__wert--zeiten .zeiten { margin-left: auto; }
.offen--muster { margin-left: 6px; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0; }
.zeiten__hinweis { margin-top: 4px; }

/* Kontakt als Blatt von unten */
.kontaktblatt {
  position: fixed; inset: auto 0 0 0;
  width: 100%; max-width: 100%; max-height: 100dvh;
  margin: 0; padding: 0; border: 0;
  background: transparent; overflow: visible;
}
.kontaktblatt::backdrop { background: rgb(43 39 36 / 0.32); }
.kontaktblatt__blatt {
  position: relative;
  max-width: 560px; margin: 0 auto;
  max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain;
  scroll-padding-bottom: var(--frei-unten);   /* Fokus nie unter der Leiste im Blatt */
  padding: 30px var(--rand) var(--frei-unten);
  background: var(--creme);
  border-radius: 28px 28px 0 0;
  box-shadow: var(--blatt-schatten);
  transition: transform 0.3s ease-in;
}
.kontaktblatt .griff { position: absolute; top: 10px; left: 50%; margin-left: -22px; }
.kontaktblatt__kopf {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: -6px -8px 14px 0;
}
.kontaktblatt__titel { font-family: var(--display); font-weight: 400; font-size: 2.125rem; line-height: 1.1; }
.kontaktblatt.schliesst .kontaktblatt__blatt { transform: translateY(100%); }
.kontaktblatt.schliesst::backdrop { opacity: 0; transition: opacity 0.3s; }

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

.fuss {
  position: relative; z-index: 1;
  background: var(--anthrazit); color: var(--beige);
  padding: 28px var(--rand) calc(28px + var(--frei-unten));
  font-size: 1rem; line-height: 1.55;
}
.fuss__spalten { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; }
.fuss__logo { width: 112px; height: auto; }
/* Google-Note mittig unter dem Logo (Nachtrag 9): Logo bleibt, die Zeile richtet sich an seiner Mitte aus.
   Tippfläche 44 px, ohne dass die Zeile mehr Platz braucht; Stern als eigenes SVG in Gold hell. */
.fuss__marke { display: flex; flex-direction: column; align-items: center; width: 112px; }
.fuss__note { margin-top: 8px; font-size: 0.9375rem; line-height: 1.4; white-space: nowrap; }
.fuss__note-link { display: inline-flex; align-items: center; padding: 11.5px 0; margin: -11.5px 0; color: var(--beige); text-decoration: none; }
.fuss__stern { color: var(--gold-hell); vertical-align: -1px; }
.fuss__block--kontakt { grid-column: 1 / -1; }
/* Nachtrag 11: statt der Öffnungszeiten ein Satz zu den Terminen, neben dem Logo; bricht an Wortgrenzen um */
.fuss__termine { font-size: 0.9375rem; line-height: 1.5; text-wrap: pretty; overflow-wrap: break-word; }
.fuss__titel {
  margin-bottom: 4px; font-family: var(--text); font-size: 0.9375rem; font-weight: 500;
  letter-spacing: 0.04em; color: var(--gold-hell);
}
.fuss__link {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--beige); text-decoration-color: var(--gold-hell); text-underline-offset: 4px;
}
.fuss__recht {
  display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 28px; padding-top: 10px;
  border-top: 1px solid rgb(234 223 206 / 0.22); font-size: 0.9375rem;
}
.fuss__recht .fuss__link { text-decoration: none; }
.fuss__recht .fuss__link:hover { text-decoration: underline; }
.fuss :focus-visible { outline-color: var(--gold-hell); }
/* Kontakt im Fuß (Nachtrag 7): Adresse als Link zu Google Maps (Tippfläche 44 px, ohne mehr Platz zu brauchen),
   darunter runde Knöpfe in einer Zeile: 5 × 44 + 4 × 12 = 268 px, passt auch bei 320 px Breite (272 px).
   Die Knopfreihe steht mittig im Kontakt-Block, auf allen Breiten mit denselben fünf Knöpfen (Wünsche von Mathias,
   18.11.2026: „alle buttons mittig“, am Computer „wie am Handy“); der Text darüber bleibt linksbündig. */
.fuss__adresse .fuss__link { min-height: 0; padding: 10px 0; margin: -10px 0; }
.netz--fuss { margin-top: 14px; gap: 12px; justify-content: center; }
.netz--fuss .netz__link { -webkit-backdrop-filter: none; backdrop-filter: none; border-color: rgb(198 176 133 / 0.7); }
.fuss__legende { margin-top: 14px; font-size: 0.875rem; line-height: 1.6; }   /* Legende der roten Marken (nur Vorschau) */

/* ---------- Mittlere Breiten ---------- */

@media (min-width: 600px) {
  :root { --rand: 40px; }
  .startblatt, .studio { padding-inline: max(var(--rand), calc((100vw - 44rem) / 2)); }
  .studio { padding-inline: 0; }
  .studio__titel { padding-inline: max(var(--rand), calc((100vw - 44rem) / 2)); }
  .studio__reihe { padding-inline: max(var(--rand), calc((100vw - 44rem) / 2)); scroll-padding-left: max(var(--rand), calc((100vw - 44rem) / 2)); }
  .kopfseite__inhalt { max-width: 46rem; }
  .blatt { padding-inline: 16px; }
  .blatt__inhalt { padding-inline: 24px; max-width: 46rem; }
  .blatt__kopfzeile { margin-inline: -40px; padding-inline: 40px 24px; }
  .blatt__gefuehl { font-size: 2.5rem; }
  /* Kontakt bleibt unter Logo und Öffnungszeiten, damit die fünf Knöpfe in einer Zeile stehen (Nachtrag 7) */
  .fuss__spalten { gap: 40px; }
  .fuss__logo, .fuss__marke { width: 168px; }
}

/* Nachtrag 10: „Über uns“ zeigt unter 960 px das Teamfoto (wie am Computer). Die drei Gesichter (Band 39,3 bis 58,4 %
   der Bildhöhe, Bild 1920 × 2939, Mitte 48,85 % = 74,75 cqw) sitzen mittig zwischen Plakette (Unterkante + 12 px = 84 px)
   und Schleier (unteres Drittel); in breiten, niedrigen Fenstern wird das Kopfbild dafür höher.
   Kontakt (Antwort von Mathias vom 18.11.2026: „wie Start“): das Foto der Startseite (auftakt-handy, 983 × 1151) im selben
   Kopfbild. Annas Gesicht (24 bis 46 % der Bildhöhe, Mitte 35 % = 40,98 cqw) sitzt mittig zwischen Plakette + 12 px und
   Schleier, aber das Foto beginnt nie unter der Oberkante (min mit 0 px), sonst bliebe oben ein Streifen frei. */
@media (max-width: 959px) {
  .kopfseite--anna .kopfbild, .kopfseite--kontakt .kopfbild {
    --kopf-hoehe: clamp(380px, 112vw, max(64svh, 44vw + 132px));
    height: var(--kopf-hoehe);
    container-type: inline-size;
  }
  .kopfseite--anna .kopfbild__schleier, .kopfseite--kontakt .kopfbild__schleier { height: 34%; }
  .kopfseite--anna .foto--kopf img { object-position: 50% calc((84px + var(--kopf-hoehe) * 0.66) / 2 - 74.75cqw); }
  .kopfseite--kontakt .foto--kopf img { object-position: 0% min(0px, calc((84px + var(--kopf-hoehe) * 0.66) / 2 - 40.98cqw)); }
}
/* Nachtrag 10: Startseite zwischen 600 und 959 px (nicht niedrig): Ausschnitt etwas tiefer, damit Annas Gesicht mit
   Abstand über dem Blatt und unter der Plakette steht (auch 959 × 600). Links endet schon das Foto selbst an ihrem Haar. */
@media (min-width: 600px) and (max-width: 959px) and (min-height: 560px) {
  .seite--start .foto--auftakt img { object-position: 0% 22%; }
}

/* Niedrige Bildschirme (Höhe unter 560 px, etwa Handy quer): kein Blatt-Effekt, Foto oben, H1 darunter */
@media (max-height: 559px) and (max-width: 959px) {
  :root { --leiste-h: 52px; --leiste-abstand: 8px; --frei-oben: 16px; }
  .plakette { position: absolute; }
  .auftakt { position: relative; height: min(56vw, 62svh); }
  .startblatt { margin-top: 0; padding-top: 24px; border-radius: 0; box-shadow: none; }
  .startblatt__griff { display: none; }
  .kopfbild { height: min(56vw, 70svh); }
}

/* ---------- Breite Ansicht: Foto links, Blatt rechts ---------- */

@media (min-width: 960px) {
  :root {
    --rand: clamp(28px, 5vw, 72px);
    --blatt-rand: clamp(32px, 4vw, 64px);
    --frei-oben: 24px;
    --frei-unten: 24px;
    --spalten: minmax(0, 1.55fr) minmax(480px, 1fr);
  }

  .plakette {
    position: absolute; top: clamp(20px, 3vw, 32px); left: clamp(20px, 3vw, 40px);
    height: 64px; gap: 10px; padding: 0 20px 0 8px; border-radius: 32px;
  }
  .plakette__zeichen { width: 48px; height: 48px; }
  .plakette__schrift { width: 138px; height: 34px; }
  .seite--behandlung .plakette { display: flex; }
  .ist-gescrollt .plakette { background: rgb(249 245 238 / 0.9); border-color: rgb(255 255 255 / 0.8); }
  .seite--hell .plakette { background: var(--creme); border-color: var(--linie); }

  /* Leiste oben rechts als Textlinks, der aktive Punkt mit feinem Goldstrich */
  .leiste {
    position: absolute; top: 28px; right: calc(var(--blatt-rand) - 14px); bottom: auto; left: auto;
    max-width: none; height: auto; margin: 0; padding: 0; gap: 0;
    background: transparent; border: 0; box-shadow: none; border-radius: 0;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .leiste__link {
    flex: none; height: 44px; padding: 0 14px; border-radius: 22px;
    font-size: 0.9375rem; color: var(--gold-tief);
  }
  .leiste__link:hover:not([aria-current]) { background: transparent; color: var(--tinte); }
  .leiste__link[aria-current] {
    background: transparent; color: var(--tinte);
    text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 8px;
  }
  .leiste__link:focus-visible { outline-color: var(--tinte); outline-offset: -2px; }

  .foto__auftrag { top: 124px; left: clamp(20px, 3vw, 40px); max-width: min(300px, 50%); font-size: 0.875rem; }
  .foto--blatt .foto__auftrag { top: 124px; bottom: auto; left: clamp(20px, 3vw, 40px); }

  /* Start */
  .start { display: grid; grid-template-columns: var(--spalten); }
  .auftakt { position: relative; grid-column: 1; grid-row: 1; height: auto; min-height: clamp(640px, 52vw, 920px); margin-right: -28px; }
  .auftakt > .schild { top: 24px; right: 44px; }
  .netz--auftakt { display: none; }
  .startblatt {
    grid-column: 2; grid-row: 1; margin: 0;
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    padding: 28px var(--blatt-rand) 36px;
    border-radius: 28px 0 0 0; box-shadow: -12px 0 30px -18px rgb(43 39 36 / 0.5);
  }
  .startblatt::before { content: ""; flex: none; height: 44px; }   /* Platz der Leiste: die Mitte sitzt zwischen Leiste und Note */
  .startblatt__griff { display: none; }
  .startblatt__titel { font-size: clamp(2rem, 2.8vw, 2.75rem); line-height: 1.1; }
  .startblatt__zeile { white-space: normal; }
  /* /#wuensche: In der breiten Ansicht stehen die Wünsche schon im ersten Bildschirm, die Seite bleibt oben
     (scrollY 0). Der große Rand führt das Sprungziel an den Seitenanfang (Nachtrag 5). */
  .wuensche { margin-top: 40px; scroll-margin-top: max(100vh, 1200px); }
  .wuensche__frage { min-height: 0; margin-bottom: 10px; font-size: 0.9375rem; }
  .wunsch {
    flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 24px;
    padding: 13px 12px; border-radius: 14px;
  }
  .wunsch__wort { font-size: clamp(1.375rem, 1.75vw, 1.625rem); line-height: 1.2; }
  .wunsch__name { font-size: 0.875rem; white-space: nowrap; }
  .wunsch__bild { width: 44px; height: 44px; margin-top: -22px; }
  .wunsch--bild:hover, .wunsch--bild:focus-visible { padding-right: 68px; }
  .startblatt__fuss { display: flex; justify-content: flex-end; padding-top: 0; }   /* Instagram und Facebook rechts unter den Wünschen (Mockup zu Nachtrag 9) */
  .netz--startblatt { display: flex; }

  .studio { grid-column: 1 / -1; padding: clamp(48px, 6vw, 88px) var(--rand) 72px; }
  .studio__titel { padding-inline: 0; }
  .studio__reihe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; overflow: visible; }
  .studio__bild { width: auto; }
  .foto--studio { width: 100%; height: auto; aspect-ratio: 4 / 5; }

  /* Behandlung: Foto links (steht), Blatt rechts */
  .seite--behandlung { background: var(--creme); }
  .blatt-daneben, .blatt__griff { display: none; }
  .blatt {
    margin: 0; padding: 0; border-radius: 0; box-shadow: none; background: transparent;
    display: grid; grid-template-columns: var(--spalten); align-items: start;
  }
  .blatt__bild { grid-column: 1; grid-row: 1; position: sticky; top: 0; height: 100svh; margin-right: -28px; }
  .blatt__bild > .schild { top: auto; bottom: 24px; left: 24px; }   /* oben links liegt die Plakette */
  .blatt__bild .foto { height: 100%; border-radius: 0; }
  .blatt__zu {
    position: relative; grid-column: 2; grid-row: 1; justify-self: start; align-self: start;
    top: auto; right: auto; margin: 28px 0 0 calc(var(--blatt-rand) - 4px); background: transparent;
  }
  .blatt__inhalt {
    position: relative; z-index: 1; grid-column: 2; grid-row: 1; min-height: 100svh;
    padding: 112px var(--blatt-rand) 48px;
    background: var(--creme); border-radius: 28px 0 0 0; box-shadow: -12px 0 30px -18px rgb(43 39 36 / 0.5);
  }
  .blatt__zu { z-index: 2; }
  .blatt__kopfzeile { margin-inline: calc(-1 * var(--blatt-rand)); padding-inline: var(--blatt-rand); }
  .blatt--ohne-bild { grid-template-columns: minmax(0, 1fr); }
  .blatt--ohne-bild .blatt__zu, .blatt--ohne-bild .blatt__inhalt { grid-column: 1; }
  .blatt--ohne-bild .blatt__inhalt { max-width: 56rem; border-radius: 0; box-shadow: none; }
  .blatt__gefuehl { font-size: clamp(2rem, 2.8vw, 2.75rem); }

  /* Anna, Kontakt, 404: Foto links (steht), Blatt rechts */
  .kopfseite { display: grid; grid-template-columns: var(--spalten); align-items: start; }
  .kopfbild { grid-column: 1; grid-row: 1; position: sticky; top: 0; height: 100svh; margin-right: -28px; }
  .kopfbild > .schild { top: auto; bottom: 24px; right: 44px; }
  .kopfbild__schleier { display: none; }
  .kopfseite__inhalt {
    grid-column: 2; grid-row: 1; max-width: none; min-height: 100svh; margin: 0;
    padding: 120px var(--blatt-rand) 48px;
    background: var(--creme); border-radius: 28px 0 0 0; box-shadow: -12px 0 30px -18px rgb(43 39 36 / 0.5);
  }
  .kopfseite--ohne-bild { grid-template-columns: minmax(0, 1fr); }
  .kopfseite--ohne-bild .kopfseite__inhalt { grid-column: 1; border-radius: 0; box-shadow: none; }
  .kopfseite__titel { font-size: clamp(2rem, 2.8vw, 2.75rem); }

  /* Textseiten */
  .textseite { padding: calc(var(--rand) + 120px) var(--rand) clamp(64px, 8vw, 120px); }
  .textseite__titel { font-size: clamp(2.25rem, 3vw, 2.75rem); }
  .preisseite__gruppen {
    max-width: 72rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; align-items: start;
  }
  .preisseite__behandlung + .preisseite__behandlung { margin-top: 0; }

  /* Kontakt-Blatt: ohne eigene Leiste */
  .leiste--im-blatt { display: none; }
  .kontaktblatt__blatt { padding-bottom: 36px; }

  .fuss { padding: clamp(36px, 5vw, 64px) var(--rand) 28px; }
  /* Fuß am Computer wie am Handy: Adresse, darunter die fünf Knöpfe mittig. Kontakt ist die mittlere Spalte und
     wird nie schmaler als die Knopfreihe (268 px; bei 960 px wären es sonst 261). Die Spalten links und rechts
     bleiben gleich breit, die Knöpfe stehen also in der Mitte der Seite. */
  .fuss__spalten { grid-template-columns: minmax(0, 1fr) minmax(268px, 1fr) minmax(0, 1fr); gap: 40px; }
  .fuss__block--kontakt { grid-column: auto; order: 1; }
  .fuss__block--zeiten, .fuss__block--termine { order: 2; }
  .fuss__recht { margin-top: 36px; }
}

/* ---------- Bewegung: dezent, aus bei „weniger Bewegung“ ---------- */

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .plakette { view-transition-name: plakette; }
  .leiste:not(.leiste--im-blatt) { view-transition-name: leiste; }
  ::view-transition-old(root) { animation: 0.22s ease both vt-aus; }
  ::view-transition-new(root) { animation: 0.45s var(--weich) both vt-ein; }

  .startblatt__titel, .blatt__kopf, .kopfseite__titel { animation: steigen 0.9s var(--weich) both; }
  .kontaktblatt[open] .kontaktblatt__blatt { animation: blatt-hoch 0.45s var(--weich); }
  .kontaktblatt[open]::backdrop { animation: einblenden 0.3s ease; }

  @supports (interpolate-size: allow-keywords) {
    .aufklapper { interpolate-size: allow-keywords; }
    .aufklapper::details-content {
      block-size: 0; overflow: clip;
      transition: block-size 0.4s var(--weich), content-visibility 0.4s allow-discrete;
    }
    .aufklapper[open]::details-content { block-size: auto; }
  }

  @supports (animation-timeline: view()) {
    .wuensche__eintrag {
      animation: steigen-leicht linear both; animation-timeline: view(); animation-range: entry 0% entry 70%;
    }
  }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 959px) {
  .blatt { view-transition-name: blatt; }
  ::view-transition-new(blatt):only-child { animation: 0.5s var(--weich) both vt-blatt-hoch; }
  ::view-transition-old(blatt):only-child { animation: 0.32s ease-in both vt-blatt-runter; }
}

/* Nachtrag 9: Startseite am Handy – die Leiste erscheint erst beim Scrollen. Das Skript setzt am html-Element
   „leiste-skript“ (es übernimmt) und „leiste-da“ (ab 40 px gescrollt, nach 4 s ohne Scrollen, schon gescrollt geladen).
   Ohne Skript gilt die Regel nicht (scripting); lädt das Skript nicht, ist die Leiste nach 4 s trotzdem da.
   Unsichtbar lässt sie sich nicht antippen, bleibt aber für Tastatur und Vorleseprogramme erreichbar (Fokus zeigt sie). */
@media (max-width: 959px) and (scripting: enabled) {
  .seite--start .leiste:not(.leiste--im-blatt) {
    opacity: 0; transform: translateY(12px); pointer-events: none;
    transition: opacity 0.35s var(--weich), transform 0.35s var(--weich);
    animation: leiste-notnagel 0s 4s forwards;
  }
  .leiste-skript .seite--start .leiste:not(.leiste--im-blatt) { animation: none; }
  .leiste-da .seite--start .leiste:not(.leiste--im-blatt),
  .seite--start .leiste:not(.leiste--im-blatt):focus-within { opacity: 1; transform: none; pointer-events: auto; }
  .leiste-sofort .seite--start .leiste:not(.leiste--im-blatt) { transition: none; }
}
@keyframes leiste-notnagel { to { opacity: 1; transform: none; pointer-events: auto; } }

/* Nachtrag 9: sanfte Bewegung beim Scrollen, einmal, wenn etwa 15 % zu sehen sind. Bilder im Inhalt blenden ein und
   kommen im festen Rahmen zur Ruhe (104 % auf 100 %), Überschriften (H2) blenden ein und steigen 10 px. Nur opacity und
   Transform (scale, translate), nichts verschiebt sich. Den verborgenen Zustand „kommt“ setzt nur das Skript, und nur bei
   Elementen, die beim Laden noch nicht zu sehen sind; ohne Skript, bei „weniger Bewegung“ und im Druck ist alles da. */
.bewegt-bild img { transition: opacity 0.7s var(--weich), scale 0.9s var(--weich); }
.bewegt-bild.kommt img { opacity: 0; scale: 1.04; }
.bewegt-titel { transition: opacity 0.6s var(--weich), translate 0.6s var(--weich); }
.bewegt-titel.kommt { opacity: 0; translate: 0 10px; }

@keyframes vt-aus { to { opacity: 0; } }
@keyframes vt-ein { from { opacity: 0; } }
@keyframes vt-blatt-hoch { from { transform: translateY(100vh); } }
@keyframes vt-blatt-runter { to { transform: translateY(100vh); } }
@keyframes steigen { from { transform: translateY(14px); } }
@keyframes steigen-leicht { from { transform: translateY(16px); } }
@keyframes blatt-hoch { from { transform: translateY(100%); } }
@keyframes einblenden { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}

@media print {
  .leiste, .plakette, .kontaktblatt, .blatt__zu, .blatt__kopfzeile, .sprung, .startblatt__griff { display: none !important; }
  .auftakt { position: relative; height: 40vh; }
  .fuss { background: none; color: var(--tinte); padding: 24px 0; }
  .kommt, .kommt img { opacity: 1 !important; scale: none !important; translate: none !important; }
}

/* Bildausschnitte aus den Seitendaten (Feld „fokus“) */
.fokus-50-0 img { object-position: 50% 0%; }
.fokus-14-0 img { object-position: 14% 0%; }
.fokus-88-15 img { object-position: 88% 15%; }
.fokus-58-35 img { object-position: 58% 35%; }
.fokus-0-0 img { object-position: 0% 0%; }
.fokus-55-22 img { object-position: 55% 22%; }
.fokus-40-42 img { object-position: 40% 42%; }
.fokus-60-40 img { object-position: 60% 40%; }
.fokus-42-50 img { object-position: 42% 50%; }
.fokus-50-45 img { object-position: 50% 45%; }
.fokus-50-55 img { object-position: 50% 55%; }
.fokus-50-30 img { object-position: 50% 30%; }
.fokus-78-45 img { object-position: 78% 45%; }
.fokus-50-10 img { object-position: 50% 10%; }
@media (min-width: 1200px) { .foto--auftakt img { object-position: 0% 0%; } }
@media (max-height: 559px) and (max-width: 959px) { .foto--auftakt img { object-position: 50% 45%; } }
