@charset "UTF-8";
/* ==========================================================================
   Psychotherapie Praxis Petersen, "Psychotherapie aus der Mitte"

   Redesign Oktober 2026 nach Andreas Ziel-Design ("Design Homepage
   adaptiert", 16.10.2026): Logo links, Menueleiste oben, Kreis-Logo,
   Foto aus der Praxis, Werte-Kacheln mit Icons, neue Seite "Termine".

   Grundsatz bleibt: EINE Breite fuer alles. Kopf, Inhalt und Fusszeile
   teilen sich dieselbe Spalte und damit dieselben Kanten.

   Reihenfolge
     1.  Tokens
     2.  Grundlagen
     3.  Logo
     4.  Kopfzeile und Navigation
     5.  Startseite: Bildbereich
     6.  Werte-Kacheln
     7.  Seitenkopf der Unterseiten
     8.  Inhalt
     9.  Bausteine (Karten, Bild neben Text, Schritte, Listen)
    10.  Termine: Auswahl, Wege, Hinweisfenster, Buchung
    11.  Kontakt: Anfahrt und Karte
    12.  Fusszeile
    13.  Kleine Bildschirme
    14.  Bewegung
    15.  Druck
   ========================================================================== */


/* 1. TOKENS =============================================================== */

:root {
  /* Farben, aus Andreas Mock-ups abgenommen */
  --tinte:        #1F4542;   /* Logo, Ueberschriften, Schaltflaechen        */
  --tinte-tief:   #163634;   /* Hover der Schaltflaechen                    */
  --text:         #34504F;   /* Fliesstext                                  */
  --text-leise:   #5E7472;   /* Nebentext                                   */
  --kupfer:       #C9955E;   /* Zierlinien, aktiver Menuepunkt              */
  --kupfer-text:  #9A5A26;   /* Links im Text (Kontrast AA auf Creme)       */
  --rose:         #F2E4DC;   /* Icon-Kreise                                 */
  --salbei:       #E3EAE3;   /* Band hinter den Kacheln, Auswahl            */
  --salbei-rand:  #B9CBBE;
  --creme:        #FAF6F1;   /* Seite                                       */
  --papier:       #FFFCF8;   /* Karten                                      */
  --sand:         #E9E1D6;   /* Linien                                      */

  --schrift: 'Jost', 'Avenir Next', 'Century Gothic', 'Futura', -apple-system, 'Segoe UI', sans-serif;

  --breite: 1180px;
  --rand:   clamp(20px, 4vw, 48px);

  --radius:  10px;
  --schatten: 0 10px 30px rgba(31, 69, 66, .08), 0 2px 6px rgba(31, 69, 66, .05);
  --weich:   cubic-bezier(.25, .1, .25, 1);
}


/* 2. GRUNDLAGEN =========================================================== */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--kupfer-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--tinte); }

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

::selection { background: var(--rose); color: var(--tinte); }

h1, h2, h3 { font-family: var(--schrift); color: var(--tinte); line-height: 1.25; font-weight: 400; }

figure { margin: 0; }

/* Die eine Spalte. Kopf, Inhalt und Fusszeile stehen alle in dieser Regel,
   dadurch koennen ihre Kanten nicht auseinanderlaufen. */
.kopf__innen,
.inhalt,
.seitenkopf__innen,
.werte__innen,
.band__innen,
.fuss__oben,
.fuss__unten-innen {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--rand);
}

.sprunglink {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--tinte);
  color: var(--creme);
  padding: 10px 18px;
  text-decoration: none;
}
.sprunglink:focus { left: 0; color: var(--creme); }

/* Grossbuchstaben mit Laufweite: die Stimme des Logos */
.versal {
  text-transform: uppercase;
  letter-spacing: .14em;
}

/* Kurze Kupferlinie unter Titeln, wie im Logo */
.zierlinie {
  display: block;
  width: 48px;
  height: 1.5px;
  background: var(--kupfer);
  border: 0;
  margin: 18px 0 22px;
}


/* 3. LOGO ================================================================= */

/* Das Logo ist ein Inline-SVG mit echtem Text in Jost, kein Bild: es bleibt
   in jeder Groesse scharf und erbt die Farbe ueber currentColor. */
.logo { display: block; color: var(--tinte); overflow: visible; }
.logo text { font-family: var(--schrift); fill: currentColor; }
.logo .logo__kreis { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.logo .logo__gross { font-size: 44px; font-weight: 400; }
.logo .logo__klein { font-size: 25px; font-weight: 400; }


/* 4. KOPFZEILE UND NAVIGATION ============================================= */

.kopf {
  background: rgba(250, 248, 244, .96);
  border-bottom: 1px solid var(--sand);
  position: relative;
  z-index: 10;
}
.kopf__innen {
  display: flex;
  align-items: center;
  gap: 24px 36px;
  min-height: 92px;
  padding-block: 12px;
}

.kopf__marke {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--tinte);
  flex: 0 0 auto;
}
.kopf__marke .logo { width: 132px; }
.kopf__zusatz {
  border-left: 1.5px solid var(--kupfer);
  padding-left: 14px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--tinte);
}

.nav { flex: 1 1 auto; }
.nav__liste {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 26px;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: inline-block;
  color: var(--tinte);
  font-size: 13.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0 5px;
  border-bottom: 1.5px solid transparent;
  transition: color .2s var(--weich), border-color .2s var(--weich);
}
.nav__link:hover,
.nav__link:focus-visible { color: var(--kupfer-text); border-bottom-color: var(--kupfer); }
.nav__link[aria-current="page"] { color: var(--kupfer-text); border-bottom-color: var(--kupfer); }

/* "Termine" ist der wichtigste Weg und traegt dauerhaft eine Linie in
   Tinte, auch wenn die Seite nicht aktiv ist (Mock-up Startseite). */
.nav__link--termine { border-bottom-color: var(--tinte); }

.kopf__extra {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 0 0 auto;
}
.kopf__extra a {
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-leise);
}
.kopf__extra a:hover { color: var(--tinte); }
.kopf__extra a[aria-current="page"] { color: var(--kupfer-text); }


/* 5. STARTSEITE: BILDBEREICH ============================================== */

/* Erster Bildschirm: Logo und Haltung links, Praxisraum rechts, darunter
   die drei Werte. Zusammen passen sie ohne Scrollen in den Bildschirm. */
.held {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(440px, calc(100svh - 92px - 190px), 640px);
  background: linear-gradient(100deg, #F6EFE6 0%, #F3E8DB 55%, #EFE2D3 100%);
  overflow: hidden;
}

/* Weicher Blattschatten am linken Rand, aus Andreas Monstera-Foto */
.held::before,
.seitenkopf--schatten::before {
  content: "";
  position: absolute;
  inset: -40px auto -40px -60px;
  width: min(42vw, 520px);
  background: url("../img/blattschatten.webp") left center / cover no-repeat;
  mix-blend-mode: multiply;
  opacity: .16;
  pointer-events: none;
}

.held__text {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px var(--rand);
}
.held__text .logo { width: clamp(220px, 21vw, 300px); }

.held__unterzeile {
  margin: 22px 0 0;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.35;
  color: var(--tinte);
  max-width: 22ch;
}
.held .zierlinie { margin: 18px auto; }
.held__zielgruppe {
  margin: 0 0 30px;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  max-width: 44ch;
}

.held__bild { position: relative; }
.held__bild img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}


/* Schaltflaechen */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--tinte);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 15px 30px;
  font-family: var(--schrift);
  font-size: 13.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--weich);
}
.knopf:hover, .knopf:focus-visible { background: var(--tinte-tief); color: #fff; }
.knopf__pfeil { width: 18px; height: 12px; flex: none; transition: transform .25s var(--weich); }
.knopf:hover .knopf__pfeil { transform: translateX(3px); }
.knopf--breit { width: 100%; }

/* Textlink mit Pfeil, fuer "Weiterlesen" und Verweise */
.weiterlesen {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--tinte);
  border-bottom: 1px solid var(--kupfer);
  padding-bottom: 3px;
}
.weiterlesen:hover { color: var(--kupfer-text); }


/* 6. WERTE-KACHELN ======================================================== */

.werte {
  background: var(--salbei);
  padding-block: 26px 30px;
}
.werte .kacheln { margin: 0; }

.kacheln {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  padding: 0;
}

.kachel { perspective: 1400px; min-height: 152px; }

/* Ein Knopf traegt die Interaktion: per Maus (Hover), Tastatur und
   Antippen umdrehbar, mit korrektem aria-pressed. */
.kachel__flaeche {
  all: unset;
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform .6s var(--weich);
}
.kachel:hover .kachel__flaeche,
.kachel__flaeche:focus-visible,
.kachel__flaeche[aria-pressed="true"] { transform: rotateY(180deg); }

.kachel__seite {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.kachel__vorne { background: var(--papier); box-shadow: var(--schatten); }
.kachel__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--rose);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  color: var(--tinte);
}
.kachel__icon svg { width: 32px; height: 32px; }
.kachel__hauptwort {
  font-size: 17px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tinte);
  line-height: 1.3;
}
.kachel__attribute { font-size: 15px; color: var(--text); margin-top: 2px; }

.kachel__hinten { transform: rotateY(180deg); color: #fff; }
.kachel:nth-child(1) .kachel__hinten { background: #8FA796; }
.kachel:nth-child(2) .kachel__hinten { background: var(--tinte); }
.kachel:nth-child(3) .kachel__hinten { background: #4B634F; }
.kachel__attribut { font-size: 21px; font-style: italic; line-height: 1.2; }
.kachel__unterzeile { font-size: 14px; font-style: italic; margin-top: 6px; opacity: .92; }

/* Kleine Fassung auf "Ueber mich" */
.kacheln--klein { gap: 14px; max-width: 720px; }
.kacheln--klein .kachel { min-height: 128px; }
.kacheln--klein .kachel__icon { width: 46px; height: 46px; }
.kacheln--klein .kachel__icon svg { width: 24px; height: 24px; }
.kacheln--klein .kachel__hauptwort { font-size: 14px; }
.kacheln--klein .kachel__attribute { font-size: 13px; }
.kacheln--klein .kachel__attribut { font-size: 17px; }
.kacheln--klein .kachel__unterzeile { font-size: 12.5px; }


/* 7. SEITENKOPF DER UNTERSEITEN =========================================== */

.seitenkopf {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, #F7F1E9 0%, #F5ECE1 60%, #F1E5D7 100%);
  border-bottom: 1px solid var(--sand);
}
.seitenkopf__innen { position: relative; padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px); }

.seitenkopf h1 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 50px);
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.15;
}
.seitenkopf .zierlinie { margin: 20px 0 20px; }
.seitenkopf__einleitung {
  margin: 0;
  max-width: 62ch;
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--tinte);
}

/* Variante mit Bild, das weich in den hellen Grund auslaeuft
   (Behandlungsspektrum). Bewusst zurueckhaltend und austauschbar:
   ein neues Bild ersetzt nur die Dateien limette-band.*. */
.seitenkopf--bild .seitenkopf__bild {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.75) 100%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.75) 100%);
  opacity: .8;
}
.seitenkopf--bild .seitenkopf__bild img { width: 100%; height: 100%; object-fit: cover; }


/* 8. INHALT =============================================================== */

.inhalt { padding-block: clamp(36px, 5vw, 60px) 10px; }

/* Lesespalte fuer Fliesstext, Bausteine duerfen die volle Breite nutzen */
.inhalt > p,
.inhalt > h2,
.inhalt > h3,
.inhalt > ul,
.inhalt > ol,
.inhalt > address,
.lesespalte { max-width: 760px; }

.inhalt h2 { font-size: clamp(23px, 2.2vw, 28px); margin: 44px 0 14px; }
.inhalt h3 { font-size: 19px; font-weight: 500; margin: 28px 0 8px; }
.inhalt > h2:first-child, .inhalt > p:first-child { margin-top: 0; }

/* Ueberschrift in Versalien fuer Abschnitte, die eine Entscheidung
   einleiten ("Worum geht es bei Ihrem Anliegen?") */
.inhalt h2.versal { font-size: 16px; letter-spacing: .16em; margin-bottom: 18px; }

.inhalt p { margin: 0 0 18px; }
.lede { font-size: 19px; color: var(--tinte); }

.inhalt ul, .inhalt ol { margin: 0 0 18px; padding-left: 1.2em; }
.inhalt li { margin-bottom: 8px; }
.inhalt li::marker { color: var(--kupfer); }

.trenner { border: 0; border-top: 1px solid var(--sand); margin: 44px 0; }

.hinweis {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--papier);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
  max-width: 760px;
}
.hinweis p { margin: 0; }
.hinweis p + p { margin-top: 10px; }


/* 9. BAUSTEINE ============================================================ */

/* Runder Icon-Kreis, ueberall dieselbe Form */
.kreis {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--rose);
  color: var(--tinte);
  display: grid;
  place-items: center;
}
.kreis svg { width: 26px; height: 26px; }
.kreis--gross { width: 72px; height: 72px; }
.kreis--gross svg { width: 34px; height: 34px; }

/* Karten */
.karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.karte {
  background: var(--papier);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.karte h3, .karte h2 {
  margin: 0 0 12px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.karte address { font-style: normal; line-height: 1.85; }
.karte p { margin: 0 0 10px; }
.karte p:last-child { margin-bottom: 0; }

/* Bild neben Text (Ueber mich, Die Praxis) */
.bildtext {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin: 0 0 36px;
}
.bildtext__bild img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--schatten);
}
.bildtext__text > *:first-child { margin-top: 0; }
.bildtext__text h2 { font-size: 22px; margin: 32px 0 12px; }
.bildtext__text ul { padding-left: 1.2em; }
.bildtext__text li::marker { color: var(--kupfer); }

/* Ablauf in Schritten (ADHS-Diagnostik). Echte Reihenfolge, deshalb Ziffern. */
.schritte { list-style: none; padding: 0; margin: 8px 0 28px; max-width: 760px; counter-reset: schritt; }
.schritte > li {
  position: relative;
  padding: 0 0 26px 64px;
  margin: 0;
  counter-increment: schritt;
}
.schritte > li::before {
  content: counter(schritt);
  position: absolute;
  left: 0;
  top: -2px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rose);
  color: var(--tinte);
  display: grid;
  place-items: center;
  font-size: 18px;
}
.schritte > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 20.5px;
  top: 46px;
  bottom: 4px;
  width: 1px;
  background: var(--sand);
}
.schritte h3 { margin: 6px 0 8px; }
.schritte p { margin: 0 0 12px; }

/* Abschluss-Aufforderung am Seitenende */
.aufforderung {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  background: var(--salbei);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 44px 0 0;
}
.aufforderung h2 { margin: 0 0 6px; font-size: 22px; }
.aufforderung p { margin: 0; max-width: 56ch; }

/* Notfall: Rufnummern */
.rufliste { list-style: none; margin: 0 0 18px; padding: 0; max-width: 760px; }
.rufliste li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 10px 0;
  margin: 0;
  border-bottom: 1px solid var(--sand);
}
.rufliste li:first-child { border-top: 1px solid var(--sand); }
.rufliste__ort { flex: 1 1 min(58%, 340px); }
.rufliste__nummer { font-variant-numeric: tabular-nums; white-space: nowrap; }

.notruf { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 24px; padding: 0; list-style: none; }
.notruf li {
  flex: 1 1 200px;
  max-width: 300px;
  margin: 0;
  background: var(--papier);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
}
.notruf__nummer { display: block; font-size: 32px; line-height: 1.2; color: var(--tinte); text-decoration: none; }
.notruf__label { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }


/* 10. TERMINE ============================================================= */

/* Schritt 1: Auswahl des Anliegens */
.anliegen {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 0 0 22px;
}
.anliegen__wahl {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px 26px;
  background: var(--papier);
  border: 1.5px solid var(--sand);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .2s var(--weich), background-color .2s var(--weich), box-shadow .2s var(--weich);
}
.anliegen__wahl:hover { border-color: var(--salbei-rand); box-shadow: var(--schatten); }
.anliegen__wahl:focus-visible { outline: 2px solid var(--kupfer); outline-offset: 3px; }
.anliegen__wahl[aria-expanded="true"] { background: #EDF2EC; border-color: #7E9C8C; }
.anliegen__titel {
  display: block;
  font-size: 15.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tinte);
  line-height: 1.35;
  margin-bottom: 6px;
}
.anliegen__text { display: block; font-size: 15.5px; line-height: 1.5; color: var(--text); }
.anliegen__pfeil { margin-left: auto; width: 22px; height: 14px; flex: none; color: var(--tinte); transition: transform .3s var(--weich); }
.anliegen__wahl[aria-expanded="true"] .anliegen__pfeil { transform: rotate(90deg); }

/* Schritt 2: die zwei Wege fuer das gewaehlte Anliegen */
.wege {
  background: rgba(255, 252, 248, .7);
  border: 1px solid var(--sand);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(22px, 3vw, 34px);
  margin: 0 0 30px;
}
.wege__kopf { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 24px; }
.wege__kopf h2 { margin: 4px 0 6px; font-size: clamp(21px, 2vw, 25px); }
.wege__kopf p { margin: 0; max-width: 64ch; }
.wege__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.weg {
  display: flex;
  flex-direction: column;
  background: var(--papier);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 24px;
}
.weg__kopf { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; flex: 1; }
.weg__titel { margin: 2px 0 8px; font-size: 14.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
.weg__kopf p { margin: 0; font-size: 15.5px; line-height: 1.55; }

/* Ohne JavaScript bleiben beide Wege-Bloecke offen sichtbar. Mit
   JavaScript zeigt die Seite nur den gewaehlten. */
.js .wege[hidden] { display: none; }

/* Schritt 3: Hinweisfenster (natives <dialog>) */
.hinweisfenster {
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100svh - 40px);
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--papier);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(20, 40, 38, .28);
}
.hinweisfenster::backdrop { background: rgba(31, 45, 44, .42); backdrop-filter: blur(3px); }
.hinweisfenster__innen { padding: clamp(24px, 4vw, 40px); }
.hinweisfenster__schliessen {
  all: unset;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  color: var(--tinte);
}
.hinweisfenster__schliessen:hover { background: var(--rose); }
.hinweisfenster__schliessen:focus-visible { outline: 2px solid var(--kupfer); }
.hinweisfenster h2 {
  margin: 0 40px 0 0;
  font-size: clamp(19px, 2.2vw, 23px);
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.35;
}
.hinweisfenster .zierlinie { margin: 16px 0 10px; }

.hinweisliste { list-style: none; margin: 0; padding: 0; }
.hinweisliste > li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--sand);
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
}
.hinweisliste > li:last-child { border-bottom: 0; }
.hinweisliste p { margin: 0; }
.hinweisliste p + p { margin-top: 8px; }
.hinweisliste strong { font-weight: 500; color: var(--tinte); }

.kostenbox {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #EEF2EC;
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 8px 0 22px;
  font-size: 14.5px;
  line-height: 1.55;
}
.kostenbox h3 { margin: 4px 0 8px; font-size: 13.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.kostenbox p { margin: 0 0 8px; }
.kostenbox p:last-child { margin-bottom: 0; }
.kostenbox strong { font-weight: 500; color: var(--tinte); }

.hinweisfenster__extern { font-size: 13.5px; color: var(--text-leise); margin: 14px 0 0; text-align: center; }
.hinweisfenster__abbrechen {
  all: unset;
  display: block;
  margin: 14px auto 0;
  font-size: 14.5px;
  color: var(--tinte);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.hinweisfenster__abbrechen:focus-visible { outline: 2px solid var(--kupfer); outline-offset: 3px; }

/* Online-Buchung: der Epikur-Kalender wird erst nach dem Klick im
   Hinweisfenster geladen (vorher keine Verbindung zu Epikur). */
.buchung { margin: 10px 0 30px; }
.buchung[hidden] { display: none; }
.buchung__rahmen {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
}
.buchung iframe { display: block; width: 100%; min-height: 800px; border: 0; }


/* 11. KONTAKT: ANFAHRT UND KARTE ========================================== */

.band {
  background: var(--salbei);
  border-block: 1px solid #D6E0D7;
  padding-block: clamp(36px, 5vw, 60px);
  margin: 40px 0 0;
}
.band h2 { margin: 0 0 18px; font-size: clamp(23px, 2.2vw, 28px); }
.anfahrt {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.anfahrt__adresse { font-weight: 500; color: var(--tinte); margin: 0 0 16px; }
.anfahrt p { margin: 0 0 14px; }
.verbindungen { list-style: none; margin: 0 0 16px; padding: 0; }
.verbindungen li { margin: 0 0 8px; }
.verbindungen strong { font-weight: 500; color: var(--tinte); }

/* Karte mit Zwei-Klick-Loesung: bis zum Klick kommt nichts von Google */
.karte-zustimmung {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(31,69,66,.05) 46px 47px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(31,69,66,.05) 46px 47px),
    #F4F6F2;
  border: 1px solid #D6E0D7;
  display: grid;
  place-items: center;
  padding: 24px;
}
.karte-zustimmung__inhalt {
  max-width: 420px;
  background: var(--papier);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 28px 30px;
  text-align: center;
}
.karte-zustimmung__inhalt .kreis { margin: 0 auto 14px; }
.karte-zustimmung h3 { margin: 0 0 10px; font-size: 18px; }
.karte-zustimmung p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.55; }
.karte-zustimmung iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }


/* 12. FUSSZEILE =========================================================== */

.fuss {
  margin-top: clamp(56px, 7vw, 96px);
  background: #F1EBE2;
  border-top: 1px solid var(--sand);
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text);
}
.fuss__oben {
  padding-block: 44px 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
.fuss__marke .logo { width: 116px; margin-bottom: 14px; }
.fuss__name { margin: 0 0 8px; color: var(--tinte); }
.fuss address { font-style: normal; }
.fuss__rubrik {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tinte);
}
.fuss__rubrik--abstand { margin-top: 22px; }
.fuss__liste { list-style: none; margin: 0; padding: 0; }
.fuss__liste li { margin-bottom: 2px; }
.fuss a { color: var(--text); text-decoration: none; border-bottom: 1px solid transparent; }
.fuss a:hover, .fuss a:focus-visible { color: var(--tinte); border-bottom-color: var(--kupfer); }
.fuss__notfall { color: var(--tinte); font-weight: 500; }
.fuss__unten { border-top: 1px solid var(--sand); }
.fuss__unten-innen {
  padding-block: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  font-size: 13px;
}
.fuss__rechtliches { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; }


/* 13. KLEINE BILDSCHIRME ================================================== */

@media (max-width: 1180px) {
  .kopf__innen { flex-wrap: wrap; justify-content: space-between; }
  .nav { order: 3; flex-basis: 100%; }
  .nav__liste { justify-content: flex-start; gap: 4px 22px; }
}

@media (max-width: 900px) {
  .held { grid-template-columns: 1fr; min-height: 0; }
  .held__bild { height: 300px; order: -1; }
  .held__text { padding-block: 34px 40px; }
  .kacheln { grid-template-columns: 1fr; }
  .kachel { min-height: 132px; }
  .anliegen, .wege__liste { grid-template-columns: 1fr; }
  .anfahrt { grid-template-columns: 1fr; }
  .fuss__oben { grid-template-columns: 1fr 1fr; }
  .fuss__marke { grid-column: 1 / -1; }
  .seitenkopf--bild .seitenkopf__bild { width: 100%; opacity: .35; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .kopf__innen { min-height: 0; padding-block: 14px; gap: 14px; }
  .kopf__marke .logo { width: 108px; }
  .kopf__zusatz { font-size: 11.5px; }
  .nav__link { font-size: 12.5px; letter-spacing: .06em; }
  .bildtext { grid-template-columns: 1fr; }
  .bildtext__bild { max-width: 320px; }
  .wege__kopf, .weg__kopf { flex-direction: column; gap: 14px; }
  .hinweisliste > li, .kostenbox { flex-direction: column; gap: 10px; }
  .aufforderung { padding: 24px; }
  .fuss__oben { grid-template-columns: 1fr; gap: 26px; }
}


/* 14. BEWEGUNG ============================================================ */

/* Ruhig und kurz: eine weiche Blende beim Seitenaufruf, das sanfte
   Aufklappen der Wege auf der Termin-Seite, das Einblenden des
   Hinweisfensters. Nichts springt, nichts federt. */
@keyframes pp-blende { from { opacity: 0; } }
@keyframes pp-auf { from { opacity: 0; transform: translateY(8px); } }

body { animation: pp-blende .25s ease-out; }
.js .wege:not([hidden]) { animation: pp-auf .35s var(--weich); }
.hinweisfenster[open] { animation: pp-auf .3s var(--weich); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body, .js .wege:not([hidden]), .hinweisfenster[open] { animation: none; }
  .kachel__flaeche, .knopf__pfeil, .anliegen__pfeil { transition: none; }
}


/* 15. DRUCK =============================================================== */

@media print {
  .kopf .nav, .kopf__extra, .held__bild, .werte, .sprunglink, .fuss__oben, .karte-zustimmung, .buchung { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; animation: none; }
  .js .wege[hidden] { display: block; }
  .seitenkopf { background: none; }
  a { color: #000; }
  .inhalt a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}

/* Kleinigkeiten */
.held h1 { margin: 0; }
.karte .kreis { margin-bottom: 14px; }
#willkommen, #buchung, .wege { scroll-margin-top: 24px; }

/* Kopfzeile: wie im Mock-up ueber die volle Breite, eine Zeile.
   (Inhalt und Fusszeile behalten die gemeinsame Spalte.) */
.kopf__innen { max-width: 1440px; min-height: 0; padding-block: 16px; gap: 20px 28px; }
.kopf__marke .logo { width: 126px; }
.nav__liste { gap: 6px 22px; flex-wrap: nowrap; }
.nav__link { font-size: 13px; letter-spacing: .08em; white-space: nowrap; }
@media (max-width: 1240px) { .nav__liste { flex-wrap: wrap; } }

/* Erster Bildschirm: Bildbereich plus Kacheln passen ohne Scrollen hinein */
.held { min-height: clamp(380px, calc(100svh - 110px - 220px), 620px); }
.held::before, .seitenkopf--schatten::before { opacity: .085; left: -90px; }
.held__bild img { object-position: center 55%; }
/* .inhalt h3 ist spezifischer als eine einzelne Klasse; die Titel der
   zwei Wege brauchen deshalb den Elternbezug. */
.inhalt .weg__titel { margin: 2px 0 8px; font-size: 14.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }

/* ------------------------------------------------------------------------
   Startseite: das Logo "fliegt" beim Scrollen aus dem Bildbereich in die
   Kopfzeile. Die Kopfzeile bleibt dafuer oben stehen. Das Kopfzeilen-Logo
   ist das einzige bewegte Element: es liegt anfangs genau auf dem grossen
   Logo und wandert mit dem Scrollen in seinen Platz. Ohne JavaScript ist
   alles wie auf den anderen Seiten.
   --------------------------------------------------------------------- */
.seite-start .kopf { position: sticky; top: 0; }
.logo-flug .held h1 .logo { visibility: hidden; }
.logo-flug .kopf__marke .logo { transform-origin: 0 0; will-change: transform; }
.logo-flug .kopf__zusatz { will-change: opacity; }
.logo-flug-ruhig .kopf__marke .logo,
.logo-flug-ruhig .kopf__zusatz { transition: opacity .25s ease; }
.logo-flug-ruhig .kopf .nav { transition: transform .25s ease; }
.karte h3 a { color: var(--tinte); text-decoration: none; }
.karte h3 a:hover { color: var(--kupfer-text); }
.fehlercode { font-size: 13px; color: var(--text-leise); margin-top: 28px; }
/* Kartenlisten sind Bauteile, keine Aufzaehlungen */
.inhalt .karten { padding-left: 0; }
.inhalt .karten > li { margin: 0; }
.inhalt > .karten { max-width: none; }

/* Termine auf dem Telefon: lange Titel duerfen nicht ueber den Rand */
.anliegen__wahl { min-width: 0; }
@media (max-width: 640px) {
  .anliegen__wahl { padding: 20px; gap: 14px; }
  .anliegen__titel { font-size: 14px; letter-spacing: .06em; hyphens: auto; }
}

/* Logo-Flug nur, wo die Kopfzeile einzeilig ist. Darunter steht die
   Kopfzeile nicht fest und zeigt auf der Startseite kein Logo: das grosse
   Logo im Bildbereich ist dort die Marke. */
@media (max-width: 1180px) {
  .seite-start .kopf { position: relative; }
  .seite-start .kopf__marke { display: none; }
}

/* Oktober 2026, Runde 2 ------------------------------------------------- */

/* Startseite: das Foto laeuft weich in den hellen Grund aus, keine Kante */
.held__bild img {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.6) 14%, #000 32%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.6) 14%, #000 32%);
}
@media (max-width: 900px) {
  .held__bild img {
    -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,.6) 18%, #000 40%);
            mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,.6) 18%, #000 40%);
  }
}

/* Unterseiten: kein Titelbereich mehr, nur die Ueberschrift, naeher am Kopf */
.seitenkopf { background: none; border-bottom: 0; overflow: visible; }
.seitenkopf--schatten::before { content: none; }
.seitenkopf__innen { padding-block: clamp(28px, 3.5vw, 44px) 0; }
.seitenkopf + .inhalt, .seitenkopf + * .inhalt { padding-top: clamp(26px, 3vw, 38px); }

/* Fusszeile: Praxis-Links zweispaltig, dadurch niedriger */
.fuss__oben { padding-block: 34px 24px; }
@media (min-width: 901px) { .fuss__oben { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) minmax(0, 1fr); } }
.fuss__liste--zwei { columns: 2; column-gap: 32px; }
.fuss__liste--zwei li { break-inside: avoid; }

/* Die Praxis: Bild ohne Rahmen, weich in den Grund ausgeblendet */
.bildtext__bild--weich img {
  border-radius: 0;
  box-shadow: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent),
                      linear-gradient(to bottom, transparent, #000 5%, #000 84%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent),
                      linear-gradient(to bottom, transparent, #000 5%, #000 84%, transparent);
          mask-composite: intersect;
}

/* Behandlungsspektrum: Limette rechts, laeuft nach links und nach unten
   weich in die Seite aus, ohne Kante. Austauschbar: limette-weich.* */
.seitenkopf--bild { overflow: visible; z-index: 0; }
.seitenkopf--bild .seitenkopf__bild {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(54vw, 820px);
  height: auto;
  z-index: -1;
  opacity: .78;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.5) 38%, #000 70%),
                      linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.5) 38%, #000 70%),
                      linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
          mask-composite: intersect;
}
.seitenkopf--bild .seitenkopf__bild img { display: block; width: 100%; height: auto; }
.seitenkopf--bild ~ .inhalt { position: relative; z-index: 1; }
main:has(.seitenkopf--bild) { position: relative; isolation: isolate; }
@media (max-width: 900px) {
  .seitenkopf--bild .seitenkopf__bild { width: 100%; opacity: .32; }
}

/* Die Praxis: Text links (beginnt mit der Einleitung), Bild rechts auf
   gleicher Hoehe wie die Einleitung */
.bildtext--rechts { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
.bildtext--rechts .bildtext__text .seitenkopf__einleitung { margin: 0 0 22px; }
@media (max-width: 640px) {
  .bildtext--rechts { grid-template-columns: 1fr; }
}

/* Hinweisfenster breit: alles auf einen Blick, ohne Scrollen.
   Ab 900px stehen die Hinweise zweispaltig. */
.hinweisfenster { width: min(1100px, calc(100vw - 48px)); }
@media (min-width: 900px) {
  .hinweisfenster__innen { padding: 26px 40px 20px; }
  .hinweisfenster { max-height: calc(100svh - 24px); }
  .hinweisfenster .zierlinie { margin: 12px 0 4px; }
  .hinweisliste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .hinweisliste > li { padding: 11px 0; font-size: 14.5px; line-height: 1.5; }
  .hinweisliste > li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .kostenbox { margin: 10px 0 18px; padding: 16px 20px; }
  .kostenbox > div { columns: 2; column-gap: 32px; }
  .kostenbox h3 { column-span: all; margin-top: 2px; }
  .kostenbox p { margin: 0 0 6px; }
  .hinweisfenster .knopf--breit { display: flex; justify-content: center; max-width: 460px; margin-inline: auto; }
  .hinweisfenster__abbrechen { margin-top: 10px; }
}

/* Text zum Logo (Andrea, 17.10.): Praxisname, darunter Privatpraxis-Zeile */
.held__unterzeile { max-width: none; }
.held__praxis { margin: 6px 0 0; font-size: clamp(15.5px, 1.2vw, 17px); color: var(--text); }
.wege__hinweis { margin: 10px 0 0; }
.wege__hinweis strong { font-weight: 500; color: var(--tinte); }

/* Termin-Assistent (Fenster mit Schritten) ------------------------------ */
.assistent {
  width: min(1100px, calc(100vw - 32px));
  max-height: calc(100svh - 24px);
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--papier);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(20, 40, 38, .28);
  overflow: auto;
}
.assistent[open] { animation: pp-auf .3s var(--weich); }
.assistent::backdrop { background: rgba(31, 45, 44, .42); backdrop-filter: blur(3px); }

.assistent__kopf {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 110px 1fr 110px;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--papier);
  border-bottom: 1px solid var(--sand);
}
.assistent__zurueck {
  all: unset;
  justify-self: start;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tinte);
  cursor: pointer;
  padding: 8px 6px;
}
.assistent__zurueck[hidden] { visibility: hidden; display: inline; }
.assistent__zurueck:hover { color: var(--kupfer); }
.assistent__zurueck:focus-visible { outline: 2px solid var(--kupfer); outline-offset: 2px; }
.assistent__zu { position: static; justify-self: end; }

/* Schrittleiste wie im Bestellvorgang: Nummer, Name, Linie dazwischen */
.assistent__leiste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}
.assistent__leiste li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-leise);
  white-space: nowrap;
}
.assistent__leiste li + li::before {
  content: "";
  width: clamp(18px, 4vw, 54px);
  height: 1px;
  background: var(--sand);
  margin: 0 12px;
}
.assistent__nr {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--sand);
  font-size: 12.5px;
  letter-spacing: 0;
}
.assistent__leiste .ist-aktiv { color: var(--tinte); }
.assistent__leiste .ist-aktiv .assistent__nr { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.assistent__leiste .ist-erledigt { color: var(--tinte); }
.assistent__leiste .ist-erledigt .assistent__nr { background: var(--rose); border-color: var(--rose); }
.assistent__leiste .ist-erledigt + li::before,
.assistent__leiste .ist-aktiv::before { background: var(--kupfer); }

.assistent__buehne { padding: 26px 40px 28px; }
.assistent__schritt { animation: pp-auf .3s var(--weich); }
.assistent__schritt > h2:first-child:not(.versal) {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 23px);
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.35;
}
.assistent__schritt h2:focus { outline: none; }
.assistent h2.versal { font-size: 16px; letter-spacing: .16em; margin: 4px 0 18px; }
.assistent .anliegen { margin: 0; }
.assistent .wege { border: 0; background: none; padding: 0; margin: 0; }
.assistent .zierlinie { margin: 12px 0 6px; }
.assistent .knopf--breit { display: flex; justify-content: center; max-width: 460px; margin-inline: auto; }
.assistent__mail { margin: 10px 0 6px; max-width: 62ch; }
.assistent__buchung .buchung__rahmen { margin-top: 16px; }
.assistent__buchung iframe { display: block; width: 100%; min-height: 800px; border: 0; }

@media (max-width: 760px) {
  .assistent__kopf { grid-template-columns: auto 1fr auto; padding: 10px 12px; }
  .assistent__name { display: none; }
  .assistent__leiste .ist-aktiv .assistent__name { display: inline; }
  .assistent__buehne { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .assistent[open], .assistent__schritt { animation: none; }
}
@media (min-width: 900px) {
  .assistent__buehne { padding: 20px 40px 18px; }
  .assistent__hinweise .hinweisliste > li { padding: 9px 0; font-size: 14px; line-height: 1.45; }
  .assistent__hinweise .kostenbox { font-size: 13.5px; line-height: 1.45; padding: 14px 18px; margin: 8px 0 14px; }
  .assistent__hinweise .hinweisfenster__extern { margin-top: 8px; }
  .assistent__kopf { padding-block: 10px; }
}

/* Assistent ohne Schrittleiste: nur kleines Zurueck und das X */
.assistent__kopf { display: flex; justify-content: space-between; padding: 8px 12px 0; border-bottom: 0; }
.assistent__zurueck { font-size: 12px; padding: 8px 10px; }
.assistent__buehne { padding-top: 4px; }

/* Online-Buchung: Fenster in voller Hoehe, der Epikur-Kalender fuellt den
   ganzen Rest, nichts wird abgeschnitten */
.assistent--buchung[open] { height: calc(100svh - 24px); display: flex; flex-direction: column; overflow: hidden; }
.assistent--buchung .assistent__buehne { flex: 1; min-height: 0; display: flex; padding-bottom: 20px; }
.assistent__buchung { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.assistent__buchung .buchung__rahmen { flex: 1; min-height: 0; display: flex; }
.assistent__buchung iframe { flex: 1; min-height: 0; height: 100%; }

/* Ueberschrift nur fuer Vorleseprogramme (Online-Buchung im Assistenten) */
.assistent__unsichtbar {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.assistent__buchung .buchung__rahmen { margin-top: 0; }

/* Startseite: Privatpraxis-Zeile steht jetzt unter der Zierlinie */
.held .zierlinie + .held__praxis { margin: 0 0 30px; }

/* Startseite: Bild oben verankert, Oberkante mitten im Segel; unten mehr
   Sessel und Tuerklinke (Ausschnitt start-praxis.* ab y=340 des Originals) */
.held__bild img { object-position: center 20%; }

/* Hochformat-Variante (Die Praxis): schmaler, laeuft frueher nach unten aus.
   Die Seite ist mindestens so hoch, dass das Bild nicht in den Fuss ragt. */
.seitenkopf--bild .seitenkopf__bild--hoch {
  width: min(34vw, 500px);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 35%, #000 65%),
                      linear-gradient(to bottom, #000 0%, #000 35%, transparent 72%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 35%, #000 65%),
                      linear-gradient(to bottom, #000 0%, #000 35%, transparent 72%);
}
main:has(.seitenkopf__bild--hoch) { min-height: min(34vw, 500px); }
@media (max-width: 900px) {
  main:has(.seitenkopf__bild--hoch) { min-height: 0; }
  .seitenkopf--bild .seitenkopf__bild--hoch { width: 100%; max-height: 520px; overflow: hidden; }
}

/* Seitenwechsel ohne Neuladen: weiche Blende, ruhig und kurz.
   Mit View Transitions blendet der Browser alte und neue Seite ineinander,
   sonst blendet nur der neue Inhalt ein. */
::view-transition-old(root),
::view-transition-new(root) { animation-duration: .35s; animation-timing-function: ease; }
main.pp-einblenden { animation: pp-blende .35s ease-out; }
main:focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  main.pp-einblenden { animation: none; }
}

/* Telefon: Menue hinter drei Strichen rechts. Termine, Notfall und
   Sprache bleiben in einer schmalen Zeile darunter sichtbar.
   Ohne JavaScript bleibt das Menue einfach offen. */
.kopf__menue, .kopf__termine { display: none; }
@media (max-width: 900px) {
  .kopf__innen { flex-wrap: wrap; align-items: center; row-gap: 10px; padding-block: 12px; }
  .js .kopf__menue {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-left: auto; padding: 0 10px;
    background: none; border: 0; cursor: pointer; color: var(--tinte);
  }
  .kopf__menue span { display: block; height: 1.5px; background: currentColor; border-radius: 1px; transition: transform .25s var(--weich), opacity .2s; }
  .kopf.ist-offen .kopf__menue span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .kopf.ist-offen .kopf__menue span:nth-child(2) { opacity: 0; }
  .kopf.ist-offen .kopf__menue span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .kopf__menue:focus-visible { outline: 2px solid var(--kupfer); outline-offset: 2px; }

  .js .kopf .nav { display: none; order: 3; flex-basis: 100%; }
  .js .kopf.ist-offen .nav { display: block; }
  .js .kopf .nav__liste { flex-direction: column; flex-wrap: nowrap; gap: 0; }
  .js .kopf .nav__liste li { border-top: 1px solid var(--sand); }
  .js .kopf .nav__link { display: block; padding: 13px 2px; font-size: 14px; letter-spacing: .1em; border-bottom: 0; }
  .js .kopf .nav__link[aria-current] { color: var(--kupfer-text); }
  .js .kopf .nav li:has(.nav__link--termine) { display: none; }

  .kopf__extra { order: 4; flex-basis: 100%; gap: 20px; }
  .js .kopf__termine {
    display: inline-block; color: var(--tinte);
    border-bottom: 1px solid var(--tinte); padding-bottom: 2px;
  }
}

/* Telefon: beide Wege (E-Mail und online) auf einen Blick, ohne Scrollen */
@media (max-width: 640px) {
  .wege__kopf { margin-bottom: 14px; }
  .wege__kopf > .kreis--gross { display: none; }
  .wege__kopf h2 { font-size: 19px; margin: 0 0 6px; }
  .wege__kopf p { font-size: 14.5px; line-height: 1.5; }
  .wege__liste { gap: 10px; }
  .weg { padding: 14px 16px; }
  .weg__kopf { flex-direction: row; gap: 12px; margin-bottom: 12px; }
  .weg__kopf > .kreis { width: 36px; height: 36px; flex: none; }
  .weg__kopf > .kreis svg { width: 17px; height: 17px; }
  .inhalt .weg__titel, .weg__titel { font-size: 13px; margin: 0 0 4px; }
  .weg__kopf p { font-size: 14px; line-height: 1.45; }
  .weg .knopf { padding: 12px 18px; font-size: 12.5px; }
  .assistent__buehne { padding: 6px 18px 18px; }
}

/* Telefon: lange Ein-Wort-Titel passen in die Breite */
@media (max-width: 640px) {
  .seitenkopf h1 { font-size: clamp(23px, 6.8vw, 32px); letter-spacing: .07em; hyphens: auto; overflow-wrap: break-word; }
}
@media (max-width: 900px) {
  .kopf__innen { column-gap: 10px; }
  .kopf__marke { flex: 0 1 auto; min-width: 0; gap: 10px; }
  .kopf__marke .logo { width: 104px; flex: none; }
  .kopf__zusatz { font-size: 11px; padding-left: 10px; }
  .js .kopf__menue { flex: none; }
}
@media (max-width: 400px) {
  .kopf__marke .logo { width: 86px; }
  .kopf__zusatz { font-size: 10.5px; }
}

/* Telefon und Tablet: alles in einer Zeile, Kopfzeile bleibt oben stehen:
   Logo links, dann Termine / Notfall / Sprache, ganz rechts die drei Striche.
   Das aufgeklappte Menue erscheint darunter, innerhalb der Kopfzeile. */
@media (max-width: 900px) {
  .kopf, .seite-start .kopf { position: sticky; top: 0; z-index: 50; }
  .kopf__innen { flex-wrap: wrap; row-gap: 0; }
  .kopf__extra { order: 1; flex-basis: auto; margin-left: auto; gap: 14px; }
  .js .kopf__menue { order: 2; margin-left: 2px; margin-right: -10px; }
  .js .kopf .nav { order: 3; }
  .js .kopf.ist-offen .nav { margin-top: 10px; }
}
@media (max-width: 600px) {
  .kopf__zusatz { display: none; }
  .kopf__marke .logo { width: 84px; }
  .kopf__extra a { font-size: 11px; letter-spacing: .06em; }
}
@media (max-width: 400px) {
  .kopf__marke .logo { width: 70px; }
  .kopf__extra { gap: 10px; }
  .kopf__extra a { font-size: 10.5px; letter-spacing: .04em; }
}
@media (max-width: 400px) {
  .kopf__innen { padding-inline: 14px; column-gap: 8px; }
  .kopf__marke .logo { width: 62px; }
  .kopf__extra { gap: 9px; }
  .kopf__extra a { font-size: 10px; letter-spacing: .02em; }
  .js .kopf__menue { width: 38px; padding: 0 7px; margin-right: -7px; }
}
@media (max-width: 400px) {
  .kopf__innen { column-gap: 6px; }
  .kopf__extra { gap: 8px; }
}

/* Einwilligungs-Banner (Google Analytics). Nicht modal, unten am Rand.
   Ablehnen und Zustimmen sind absichtlich gleich gross und gleich gewichtet
   (TDDDG § 25: Ablehnen muss so einfach sein wie Zustimmen). */
.einwilligung {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 60;
  width: min(880px, calc(100vw - 24px));
  background: var(--papier);
  border: 1px solid var(--sand);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(20, 40, 38, .18);
  animation: pp-auf .35s var(--weich);
}
.einwilligung[hidden] { display: none; }
.einwilligung:focus { outline: none; }
.einwilligung:focus-visible { outline: 2px solid var(--kupfer); outline-offset: 3px; }
.einwilligung__innen { display: flex; align-items: center; gap: 24px; padding: 18px 22px; }
.einwilligung__text h2 {
  margin: 0 0 6px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tinte);
}
.einwilligung__text p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text); }
.einwilligung__text a { color: var(--kupfer-text); }
.einwilligung__knoepfe { display: flex; gap: 10px; flex: none; }
.einwilligung__knopf {
  all: unset;
  box-sizing: border-box;
  min-width: 128px;
  padding: 12px 18px;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tinte);
  border: 1.5px solid var(--tinte);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color .2s var(--weich), color .2s var(--weich);
}
.einwilligung__knopf:hover { background: var(--tinte); color: #fff; }
.einwilligung__knopf:focus-visible { outline: 2px solid var(--kupfer); outline-offset: 2px; }
@media (max-width: 700px) {
  .einwilligung { bottom: 10px; }
  .einwilligung__innen { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .einwilligung__text p { font-size: 13.5px; }
  .einwilligung__knoepfe .einwilligung__knopf { flex: 1; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .einwilligung { animation: none; } }
@media print { .einwilligung { display: none !important; } }
