/* ==========================================================================
   Tierarztpraxis Dr. Bittner — Aichach
   Eine Datei, keine Abhängigkeiten. Reihenfolge:
   1 Grundlagen  2 Typografie  3 Bausteine  4 Header/Menü  5 Sektionen
   6 Anruf-Karte  7 Footer  8 Animation  9 Responsive  10 Assistent  11 Jobs
   12 Bewertungen  13 Hinweise  14 Tiermotive
   ========================================================================== */

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

:root {
  /* Marke — das Grün gibt die Praxis vor: #41c101, voll gesättigt bei 100°.
     Alles andere ist dieselbe Farbe in anderer Helligkeit. Dunkler wird es
     nur so weit, wie Text darauf noch 4,5:1 erreicht; heller nur so weit,
     wie weißer Text auf den Flächen noch lesbar bleibt. */
  --green:       #41c101;   /* Vorgabe: Akzent, Punkte, Linien, Icon-Hover */
  --green-ink:   #277501;   /* dunkler, für Text auf Hell */
  --green-soft:  #eaf8e2;
  --green-light: #d9f6cb;  /* Akzenttext auf --forest; --green reicht dort nicht */
  /* Die dunklen Flächen sind dasselbe Grün, nur abgedunkelt — kein fast
     schwarzes Waldgrün. Weisser Text kommt auf --forest auf 5,4:1; darum
     laufen halbtransparente Texte darauf nirgends unter 88 %. --forest-2
     traegt in .notice ebenfalls weissen Text und darf deshalb nicht heller
     werden, auch wenn es als Hover-Farbe mehr Abstand haben koennte. */
  --forest:      #297a01;   /* Praxisgrün — grosse Flächen */
  --forest-2:    #2c8401;   /* heller, für Hover und Hinweisband */
  --forest-3:    #329301;

  --cream:       #f8f6f0;
  --cream-2:     #f1ede3;
  --sand:        #e6ddca;
  --line:        #e0d9c8;

  --ink:         #16241a;
  --ink-2:       #35473a;
  --muted:       #616f65;   /* knapp dunkler als zuvor: 4,5:1 wurde auf dem
                               Band --cream-2 und unter dem halbtransparenten
                               Header sonst gerissen */
  --white:       #ffffff;

  /* Notfallrot — ein einziges knalliges Rot für alles Dringende. --urgent
     traegt weissen Text (5,1:1); als Text auf hellem Grund reicht es knapp
     nicht, dafuer gibt es --urgent-ink, optisch derselbe Ton. */
  --urgent:      #d81e2c;
  --urgent-ink:  #c81425;   /* dasselbe Rot als Text auf Hell */
  --urgent-dark: #a8121d;   /* Raender und dunkles Verlaufsende */
  --urgent-soft: #fdecee;
  --urgent-line: #f6ccd0;

  --r-sm: 10px;
  --r:    18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --shadow-s: 0 1px 2px rgba(32,60,18,.05), 0 4px 14px rgba(32,60,18,.05);
  --shadow-m: 0 2px 6px rgba(32,60,18,.06), 0 18px 44px rgba(32,60,18,.09);
  --shadow-l: 0 30px 80px rgba(32,60,18,.16);

  --wrap: 1240px;
  --pad: clamp(1.15rem, 4vw, 2.75rem);
  --sec: clamp(4.5rem, 9vw, 8.5rem);

  /* Überschriften laufen seit 26.10.2026 in Playfair Display — eine Serife,
     die der Praxis mehr Charakter gibt als die Grotesk. Als Variable, damit
     ein Wechsel eine Zeile bleibt. */
  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: clamp(1rem, .96rem + .2vw, 1.09rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* clip statt hidden: overflow-x:hidden auf dem Body macht ihn zum
   Scroll-Container und bringt position:sticky im Header ins Stolpern. */
html, body { overflow-x: clip; }

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
/* Der Build packt Bilder für WebP in <picture> (build/picture.js). Die Hülle
   soll das Layout nicht verändern: das <img> verhält sich wie zuvor als
   direktes Kind des umgebenden Elements. */
picture { display: contents; }
img { height: auto; }

a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }

::selection { background: var(--green); color: #fff; }

:focus-visible {
  outline: 3px solid var(--green-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--forest); color: #fff; padding: .9rem 1.4rem;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 46rem; }
.center { text-align: center; }
.center .btn-row { justify-content: center; }

.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ----------------------------------------------------------- 2 Typografie */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  /* Playfair braucht mehr Luft als die vorherige Grotesk: bei -.028em
     laufen die Haarstriche ineinander. */
  letter-spacing: -.012em;
  margin: 0;
  text-wrap: balance;
}

.t-hero { font-size: clamp(2.9rem, 8.4vw, 6.4rem); font-weight: 650; }
/* Ab etwa 1000px steht die Ueberschrift neben dem Bild und hat nur rund
   44 % der Fensterbreite. "für Klein- und" ist die laengste der drei
   Zeilen und passt dort nur in diesem kleineren Grad; sonst wird aus den
   drei Zeilen eine vierte. Die Grenze liegt bewusst unter dem
   Layoutwechsel bei 1020px. */
@media (min-width: 1000px) {
  .t-hero { font-size: clamp(3.4rem, 6.4vw, 5.2rem); }
}
.t-xl   { font-size: clamp(2.4rem, 6.2vw, 4.6rem); }
.t-lg   { font-size: clamp(2rem, 4.4vw, 3.35rem); }
.t-md   { font-size: clamp(1.3rem, 2.1vw, 1.7rem); line-height: 1.15; }

h3 { font-size: 1.19rem; line-height: 1.25; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.06rem, .98rem + .45vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 40rem;
}

.muted { color: var(--muted); font-size: .93rem; line-height: 1.55; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .09em;
  color: var(--green-ink);
  margin: 0 0 1.1rem;
}
.eyebrow .ico { width: 1.1rem; height: 1.1rem; }
.eyebrow--light { color: color-mix(in srgb, var(--green) 20%, #fff); }

.prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin: 2.75rem 0 .85rem;
  letter-spacing: -.02em;
}
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.15rem; margin: 0 0 1.1rem; }
.prose li { margin-bottom: .35rem; }
.prose mark {
  background: #fdf3c9; color: #6b4c00; padding: .1em .45em;
  border-radius: 4px; font-weight: 600;
}
.prose .lead-box { margin-bottom: 2.5rem; }

/* ------------------------------------------------------------ 3 Bausteine */

.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .82rem 1.4rem;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-weight: 600; font-size: .96rem; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .3s;
}
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn:active { transform: translateY(0); }
.btn .ico { width: 1.15rem; height: 1.15rem; }

.btn--solid { --btn-bg: var(--forest); --btn-fg: #fff; --btn-bd: var(--forest); box-shadow: var(--shadow-s); }
@media (hover: hover) { .btn--solid:hover { --btn-bg: var(--forest-2); --btn-bd: var(--forest-2); box-shadow: var(--shadow-m); } }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: color-mix(in srgb, var(--ink) 20%, transparent); }
@media (hover: hover) { .btn--ghost:hover { --btn-bg: var(--white); --btn-bd: var(--ink); } }

.btn--light { --btn-bg: #fff; --btn-fg: var(--forest); --btn-bd: #fff; }
@media (hover: hover) { .btn--light:hover { --btn-bg: var(--green-soft); --btn-bd: var(--green-soft); } }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.42); }
@media (hover: hover) { .btn--ghost-light:hover { --btn-bg: rgba(255,255,255,.12); --btn-bd: #fff; } }

.btn--sm { padding: .58rem 1rem; font-size: .88rem; }
.btn--lg { padding: 1.02rem 1.75rem; font-size: 1.02rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }

.ticks { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .6rem; }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; font-size: .97rem; line-height: 1.5; }
.ticks .ico { width: 1.15rem; height: 1.15rem; margin-top: .2rem; color: var(--green); stroke-width: 2.1; }
.ticks--tight { gap: .45rem; margin-top: 1.1rem; }
.ticks--tight li { font-size: .9rem; color: var(--ink-2); }

.lead-box {
  background: var(--green-soft);
  border: 1px solid color-mix(in srgb, var(--green) 22%, transparent);
  border-radius: var(--r);
  padding: 1.35rem 1.5rem;
  margin-bottom: 2.75rem;
}
.lead-box p { display: flex; gap: .7rem; align-items: flex-start; margin: 0; font-size: 1rem; }
.lead-box .ico { color: var(--green-ink); margin-top: .22rem; }

/* Knallrote Variante für den einen Hinweis, der nicht überlesen werden darf.
   #d81e2c ist so hell, wie es mit weisser Schrift gerade noch geht: 5,07:1.
   Ein reines #ff0000 käme nur auf 4,0:1 und wäre nicht mehr lesbar. */
.lead-box--achtung {
  background: var(--urgent);
  border-color: var(--urgent-dark);
  color: #fff;
  box-shadow: 0 10px 28px rgba(216,30,44,.26);
}
.lead-box--achtung p { font-size: 1.04rem; }
.lead-box--achtung .ico { color: #fff; }
.lead-box--achtung b { color: #fff; }
.lead-box--achtung a { color: #fff; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-s);
}
.card--dark { background: var(--forest); border-color: var(--forest); color: #fff; }
.card--dark h3 { color: #fff; }
.card--dark p { color: rgba(255,255,255,.88); }
.card--dark .tile-ico { background: rgba(255,255,255,.1); color: #fff; }
.card--dark .btn { margin-top: 1.25rem; }
.card h3 { margin: .85rem 0 .5rem; }
.card p { color: var(--ink-2); font-size: .97rem; }

.tile-ico {
  display: inline-grid; place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 14px;
  background: var(--green-soft); color: var(--green-ink);
  transition: transform .4s var(--ease-out), background-color .3s;
}
.tile-ico .ico { width: 1.5rem; height: 1.5rem; }

.big-ico {
  display: inline-grid; place-items: center;
  width: 4.5rem; height: 4.5rem; margin-bottom: 1.75rem;
  border-radius: 50%; background: var(--green-soft); color: var(--green-ink);
}
.big-ico .ico { width: 2.2rem; height: 2.2rem; }


/* ---------------------------------------------------------- 4 Header/Menü */

/* Der Header liegt UNTER dem Overlay-Menü (95) und wird von ihm verdeckt.
   Das Menü bringt seine eigene Leiste mit Schließen-Button mit — sich auf
   diesen sticky Header zu verlassen ging schief: die Scroll-Sperre des
   geöffneten Menüs macht den Body zum Scroll-Container, der Header verliert
   seinen Anker und rutscht aus dem Bild. */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, box-shadow .35s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px rgba(32,60,18,.06);
}
.site-header.is-over { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-over.is-scrolled {
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}

.header-spacer { height: 0; }

.bar {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 4.9rem;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand-mark {
  width: 2.05rem; height: 3.2rem;
  background: var(--forest);
  -webkit-mask: url(/assets/img/logo-mark.png) center/contain no-repeat;
          mask: url(/assets/img/logo-mark.png) center/contain no-repeat;
  transition: background-color .3s;
}
.brand-text { display: grid; line-height: 1.05; }
.brand-text small {
  font-size: .63rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.brand-text b {
  font-family: var(--display);
  font-size: 1.24rem; font-weight: 650; letter-spacing: -.02em;
}
.brand--lg .brand-mark { width: 2.6rem; height: 4.05rem; }
.brand--lg .brand-text b { font-size: 1.5rem; }

/* Acht Punkte in der Leiste — Schrift und Innenabstand etwas knapper als
   bei sieben, damit neben Logo, Telefonknopf und Burger alles in eine Zeile
   passt. */
.nav-desktop { display: flex; align-items: center; gap: .1rem; margin-left: auto; }
.nav-link {
  position: relative;
  padding: .5rem .62rem;
  border-radius: 999px;
  font-size: .88rem; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s, color .25s;
}
.nav-link::after {
  content: ''; position: absolute; left: 50%; bottom: .28rem;
  width: 0; height: 2px; border-radius: 2px; background: var(--green);
  transform: translateX(-50%);
  transition: width .32s var(--ease-out);
}
.nav-link:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.nav-link:hover::after,
.nav-link[aria-current]::after { width: 1.15rem; }
.nav-link[aria-current] { font-weight: 650; }
.nav-link.is-urgent { color: var(--urgent-ink); }
.nav-link.is-urgent::after { background: var(--urgent); }

/* Telefon und Burger stehen immer ganz rechts. Nur solange die Navigation
   sichtbar ist, schiebt diese nach rechts und die Aktionen schliessen direkt
   an. Der Nachbarselektor .nav-desktop + .bar-actions taugt dafuer nicht: er
   greift auch dann, wenn die Navigation per display:none ausgeblendet ist. */
.bar-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }

@media (min-width: 1181px) {
  /* Nur im Seitenkopf, und nur dort, wo tatsaechlich eine Navigation steht.
     Die Leiste des Overlay-Menues hat keine — dort bleibt margin-left:auto,
     damit Telefon und Schliessen-Button immer rechts sitzen. */
  .site-header .bar-actions { margin-left: 0; }
}

/* Der Burger bleibt auch auf großen Bildschirmen sichtbar: nur über das
   Overlay sind Galerie und die Sprechzeiten-Karte erreichbar. */
.burger {
  width: 2.9rem; height: 2.9rem;
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: 50%; background: transparent;
  padding: 0; cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute; left: 50%; width: 1.05rem; height: 1.8px;
  background: var(--ink); border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .38s var(--ease-out), opacity .2s;
}
.burger span:nth-child(1) { top: 1.15rem; }
.burger span:nth-child(2) { top: 1.6rem; }
/* .is-close ist der Schließen-Button im Overlay — der zeigt immer ein X,
   unabhängig von aria-expanded. */
.burger[aria-expanded="true"] span:nth-child(1),
.burger.is-close span:nth-child(1) { transform: translateX(-50%) translateY(.22rem) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2),
.burger.is-close span:nth-child(2) { transform: translateX(-50%) translateY(-.22rem) rotate(-45deg); }

/* Overlay-Menü */
.menu {
  position: fixed; inset: 0; z-index: 95;
  background: var(--forest); color: #fff;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.menu[hidden] { display: block; }        /* hidden steuert nur den Startzustand */
.menu.is-open { opacity: 1; visibility: visible; }

/* Eigene Leiste des Overlays — sie bleibt beim Scrollen im Menü oben stehen
   und trägt den Schließen-Button. */
.menu-bar {
  position: sticky; top: 0; z-index: 2;
  background: var(--forest);
  box-shadow: 0 1px 0 rgba(255,255,255,.1);
}
.menu-bar .brand-mark { background: #fff; }
.menu-bar .brand-text small { color: rgba(255,255,255,.88); }
.menu-bar .brand-text b { color: #fff; }
.menu-bar .burger { border-color: rgba(255,255,255,.88); }
.menu-bar .burger span { background: #fff; }
.menu-bar .burger:hover { border-color: #fff; }

.menu-inner {
  display: grid; grid-template-columns: 1.25fr .95fr; gap: clamp(2rem, 6vw, 5rem);
  padding-top: clamp(2rem, 5vh, 3.5rem); padding-bottom: 4rem;
  align-content: start;
}
.menu-nav ul { list-style: none; margin: 0; padding: 0; }
/* Die Punkte sind im Ruhezustand sichtbar und fahren nur beim Öffnen herein
   (fill-mode both). Vorher standen sie auf opacity 0 und sprangen beim
   Schließen sofort weg, während die grüne Fläche noch ausblendete. */
.menu-nav li { border-top: 1px solid rgba(255,255,255,.2); }
.menu.is-open .menu-nav li {
  animation: menuIn .55s var(--ease-out) both;
  animation-delay: calc(.06s * var(--i) + .1s);
}
.menu-nav li:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.menu-nav a {
  display: grid; grid-template-columns: 2.6rem 1fr; align-items: baseline;
  gap: .25rem 1rem; padding: 1.05rem 0; text-decoration: none;
  transition: padding-left .35s var(--ease-out), color .25s;
}
.menu-nav a:hover, .menu-nav a:focus-visible { padding-left: .8rem; color: var(--green-light); }
.menu-num { font-size: .72rem; letter-spacing: .12em; color: rgba(255,255,255,.88); }
.menu-label {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4.2vw, 2.7rem); font-weight: 600; letter-spacing: -.025em;
  line-height: 1.05;
}
.menu-nav small { grid-column: 2; font-size: .85rem; color: rgba(255,255,255,.88); }


.menu-side { display: grid; gap: 1rem; align-content: start; }
.menu-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r); padding: 1.4rem 1.5rem;
}
.menu-card .eyebrow { color: var(--green-light); margin-bottom: .9rem; }
.menu-card--dark { background: var(--urgent); border-color: var(--urgent-dark); }
.menu-card--dark .eyebrow { color: #fff; }
.menu-card--dark .muted { color: rgba(255,255,255,.94); }
.big-phone {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.6vw, 2.15rem); font-weight: 650; letter-spacing: -.02em;
  text-decoration: none; margin-bottom: .4rem;
}
.menu-address { font-style: normal; font-size: .93rem; color: rgba(255,255,255,.88); line-height: 1.7; }
.menu-address a { color: #fff; }

@keyframes menuIn { from { opacity: 0; transform: translateY(14px); } }

/* Auf dem Desktop soll das geöffnete Menü ohne Scrollen auf den Schirm passen.
   Alle Maße hängen deshalb an der Fensterhöhe statt an der Breite. Massgebend
   ist die rechte Spalte — sie ist die höhere der beiden und entscheidet, ob
   gescrollt werden muss. Der Block steht bewusst NACH den Grundregeln oben,
   sonst überschreiben die ihn wieder. overflow-y am Overlay bleibt als Netz
   für aussergewöhnlich flache Fenster. */
@media (min-width: 1021px) {
  .menu-inner {
    padding-top: clamp(1.25rem, 3.2vh, 3rem);
    padding-bottom: clamp(.75rem, 2.2vh, 3rem);
  }
  .menu-nav a { padding: clamp(.5rem, 1.4vh, 1.05rem) 0; }
  .menu-label { font-size: clamp(1.5rem, 3.1vh, 2.4rem); }
  .menu-nav small { font-size: .82rem; }

  .menu-side { gap: clamp(.45rem, 1.1vh, 1rem); }
  .menu-card { padding: clamp(.8rem, 1.7vh, 1.4rem) 1.5rem; }
  .menu-card .eyebrow { margin-bottom: clamp(.4rem, 1.1vh, .9rem); }
  /* Die Zeitentabelle ist mit Abstand der höchste Block der Spalte (zehn
     Textzeilen). Der engere Zeilenabstand bringt hier am meisten. */
  .hours--compact li { padding: clamp(.12rem, .45vh, .38rem) 0; line-height: 1.35; }
  .big-phone { font-size: clamp(1.3rem, 2.9vh, 2.15rem); margin-bottom: .25rem; }
  .menu-card--dark .muted { font-size: .85rem; }
  .menu-address { font-size: .88rem; line-height: 1.55; }
}

/* Hinweisband */
/* Hinweisbänder aus der Verwaltung: bis zu drei, je mit eigener Farbe.
   Grün = Info, Orange = Wichtig, Rot = Dringend; weiße Schrift hat auf allen
   drei Tönen mindestens 4,7:1. Mehrere Bänder stehen untereinander. */
.notice { background: var(--forest-2); color: #fff; font-size: .95rem; }
.notice--orange { background: #c2410c; }
.notice--rot { background: var(--urgent-ink); }
.notice + .notice { border-top: 1px solid rgba(255,255,255,.22); }
.notice .wrap { display: flex; gap: .8rem; align-items: flex-start; padding-block: .85rem; }
.notice .ico { color: var(--green-light); margin-top: .18rem; flex: none; }
.notice--orange .ico, .notice--rot .ico { color: #fff; }
.notice p { margin: 0; }
.notice b { font-weight: 700; }

/* Mobile Aktionsleiste */
.mobile-cta {
  position: fixed; z-index: 80; left: 0; right: 0; bottom: 0;
  display: none; gap: .55rem;
  padding: .7rem var(--pad) calc(.7rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(120%);
  transition: transform .4s var(--ease-out);
}
.mobile-cta.is-in { transform: none; }
.mobile-cta .btn { flex: 1; }

/* ------------------------------------------------------------ 5 Sektionen */

.section { padding-block: var(--sec); }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--mid { padding-block: clamp(6rem, 14vw, 11rem); }
.section--band { background: var(--cream-2); }

.sec-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head .lead { margin-top: 1.35rem; }
.sec-head--row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; max-width: none;
}
.sec-head--row .btn { margin-bottom: .3rem; }

/* --- Hero --- */

.hero { position: relative; padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
/* Weiche Farbflächen — bewusst als Radialverlauf statt filter:blur(). Ein
   animierter Blur zwingt den Browser zum Neuzeichnen der ganzen Fläche und
   macht das Scrollen auf schwächeren Geräten spürbar zäh. */
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.blob--1 {
  width: 52vw; height: 52vw; top: -16vw; right: -12vw;
  background: radial-gradient(closest-side,
    rgba(190,226,158,.50) 0%, rgba(196,229,167,.30) 38%,
    rgba(203,232,177,.12) 62%, rgba(210,235,187,0) 82%);
  animation: drift 26s ease-in-out infinite;
}
.blob--2 {
  width: 40vw; height: 40vw; bottom: -14vw; left: -10vw;
  background: radial-gradient(closest-side,
    rgba(236,218,172,.48) 0%, rgba(238,222,180,.26) 40%,
    rgba(240,226,190,.10) 64%, rgba(242,230,198,0) 82%);
  animation: drift 32s ease-in-out infinite reverse;
}
@keyframes drift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50%      { transform: translate3d(3vw, 4vw, 0) scale(1.1); }
}

.hero-inner {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
}
.hero-text .lead { margin-top: 1.6rem; }
.t-hero { margin-top: .35rem; }

.hero-facts {
  list-style: none; margin: 2.2rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem .5rem;
}
.hero-facts li {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: .45rem .9rem;
  font-size: .86rem; font-weight: 500;
  box-shadow: var(--shadow-s);
}
.hero-facts .ico { width: .95rem; height: .95rem; color: var(--green); stroke-width: 2.4; }

.hero-media { position: relative; }
.hero-photo {
  margin: 0; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-l);
  aspect-ratio: 4 / 3.35;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-badge {
  position: absolute; left: -1.25rem; bottom: -1.5rem;
  display: flex; align-items: center; gap: .8rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: .9rem 1.25rem;
  box-shadow: var(--shadow-m);
  max-width: 15rem;
}
.hero-badge b { display: block; font-size: .95rem; font-family: var(--display); }
.hero-badge span[data-open-status] { font-size: .84rem; color: var(--muted); }
.hero-badge-dot {
  position: relative;
  width: .6rem; height: .6rem; border-radius: 50%; flex: none;
  background: var(--muted);
}
/* Der Ring ist ein eigenes Element, das nur skaliert und ausblendet. Früher
   lief das über box-shadow, das muss der Browser in jedem Bild neu zeichnen;
   transform und opacity erledigt die Grafikkarte nebenbei. */
.hero-badge.is-open .hero-badge-dot { background: var(--green); }
.hero-badge.is-open .hero-badge-dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--green);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  0%       { transform: scale(1);   opacity: .55; }
  70%, 100% { transform: scale(3.3); opacity: 0; }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%);
  width: 1.55rem; height: 2.5rem; border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
  border-radius: 999px; display: grid; place-items: start center; padding-top: .45rem;
}
.scroll-cue span { width: 3px; height: .45rem; border-radius: 2px; background: var(--green-ink); animation: cue 1.9s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(.7rem); opacity: 0; } }

/* --- Bento --- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.75rem, 1.4vw, 1.1rem);
}
.bento-card {
  position: relative; overflow: hidden;
  grid-column: span 2;
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 15rem;
  padding: clamp(1.5rem, 2.6vw, 2.15rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  box-shadow: var(--shadow-s);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
@media (hover: hover) { a.bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: color-mix(in srgb, var(--green) 45%, transparent); } }
@media (hover: hover) { a.bento-card:hover .tile-ico, a.bento-card:hover .bento-ico { transform: translateY(-3px) rotate(-4deg); } }
@media (hover: hover) { a.bento-card:hover .bento-img { transform: scale(1.06) rotate(1.5deg); opacity: .3; } }

.bento-card h2 { margin: 1rem 0 .6rem; }
.bento-card p { color: var(--ink-2); font-size: .98rem; max-width: 32rem; }

.bento-ico {
  display: inline-grid; place-items: center;
  width: 3.1rem; height: 3.1rem; border-radius: 15px;
  background: var(--green-soft); color: var(--green-ink);
  transition: transform .45s var(--ease-out);
}
.bento-ico .ico { width: 1.6rem; height: 1.6rem; }

.bento-more {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: auto; padding-top: 1.25rem;
  font-weight: 600; font-size: .93rem; color: var(--green-ink);
  text-decoration: none;
}
.bento-more .ico { width: 1.05rem; height: 1.05rem; transition: transform .35s var(--ease-out); }
@media (hover: hover) { a.bento-card:hover .bento-more .ico, .bento-more:hover .ico { transform: translateX(4px); } }

.bento-img {
  position: absolute; right: -12%; bottom: -18%;
  width: 62%; max-width: none; opacity: .16;
  border-radius: var(--r);
  transition: transform .7s var(--ease-out), opacity .5s;
  pointer-events: none;
}

.bento-card--lg { grid-row: span 2; min-height: 22rem; }
/* Schliesst die letzte Reihe, seit die Goldakupunktur-Kachel weg ist —
   sonst bliebe rechts ein Loch. */
.bento-card--breit { grid-column: span 4; min-height: 12rem; }
.bento-card--dark {
  background: var(--forest); border-color: var(--forest); color: #fff;
}
.bento-card--dark p { color: rgba(255,255,255,.88); }
.bento-card--dark .bento-ico { background: rgba(255,255,255,.11); color: #fff; }
.bento-card--dark .bento-more { color: var(--green-light); }

.bento-card--urgent {
  background: var(--urgent-soft); border-color: var(--urgent-line);
}
.bento-card--urgent .bento-ico { background: rgba(255,255,255,.8); color: var(--urgent-ink); }
.bento-card--urgent p { color: #8c1420; }
.bento-phone {
  margin-top: auto; padding-top: 1rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 650;
  letter-spacing: -.02em; color: var(--urgent-ink);
}

.bento-card--hours .mini-hours {
  list-style: none; margin: .35rem 0 0; padding: 0;
  display: grid; gap: .4rem; width: 100%;
}
.mini-hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: .93rem; padding-bottom: .4rem;
  border-bottom: 1px dashed var(--line);
}
.mini-hours li:last-child { border-bottom: 0; }
.mini-hours span:first-child { color: var(--muted); }
.mini-hours span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }

/* --- Kacheln --- */

.tiles {
  display: grid; gap: clamp(.8rem, 1.5vw, 1.15rem);
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}
.tiles--1 { grid-template-columns: 1fr; }
.tiles--2 { grid-template-columns: repeat(2, 1fr); }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tiles--4 { grid-template-columns: repeat(4, 1fr); }

.tile {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.4rem, 2.4vw, 1.85rem);
  box-shadow: var(--shadow-s);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
@media (hover: hover) { .tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: color-mix(in srgb, var(--green) 40%, transparent); } }
@media (hover: hover) { .tile:hover .tile-ico { transform: translateY(-3px) rotate(-4deg); background: var(--green); color: #fff; } }
.tile h3 { margin: 1.05rem 0 .55rem; }
.tile p { color: var(--ink-2); font-size: .96rem; }
.tile .ticks { margin-top: 1rem; }
.tile .ticks li { font-size: .89rem; color: var(--ink-2); }

.tiles--list .tile { display: flex; flex-direction: column; }

/* --- Split --- */

.split-inner {
  display: grid; grid-template-columns: .95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.split-inner--rev .split-media { order: 2; }
.split-inner--rev .split-text { order: 1; }
.split-text .lead { margin-top: 1.4rem; }
.split-text > p:not(.lead):not(.eyebrow) { margin-top: 1.1rem; color: var(--ink-2); }

.split-media { position: relative; display: grid; gap: 1rem; }
.frame { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-m); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
/* Ganzes Bild ohne Beschnitt — fürs Teamfoto (2:3) im Abschnitt „Die Praxis“. */
.frame--ganz { aspect-ratio: 2 / 3; }
.frame--offset { width: 72%; margin-left: auto; margin-top: -20%; border: 6px solid var(--cream); border-radius: var(--r-lg); }

.split-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.6rem); }
.split-cols--eins { grid-template-columns: 1fr; }
.col-urgent, .col-calm {
  border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.1rem);
  border: 1px solid var(--line); background: var(--white);
}
.col-urgent { background: var(--urgent-soft); border-color: var(--urgent-line); }
.col-urgent h3, .col-calm h3 { display: flex; align-items: center; gap: .55rem; margin-bottom: .5rem; }
.col-urgent h3 { color: var(--urgent-ink); }
.col-urgent .ticks .ico { color: var(--urgent-ink); }
.col-calm .muted { margin-top: 1.25rem; }

/* --- Notfall-Band --- */

.emergency { background: var(--forest); color: #fff; position: relative; overflow: hidden; }
.emergency-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
}
.emergency .lead { color: rgba(255,255,255,.9); }
.emergency h2 { color: #fff; margin-top: .3rem; }

.emergency-ring { position: relative; display: grid; place-items: center; min-height: 15rem; }
.emergency-mark {
  width: 6.5rem; height: 10rem; position: relative; z-index: 2;
  background: rgba(255,255,255,.9);
  -webkit-mask: url(/assets/img/logo-mark.png) center/contain no-repeat;
          mask: url(/assets/img/logo-mark.png) center/contain no-repeat;
}
.pulse {
  position: absolute; width: 11rem; height: 11rem; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  animation: pulse 4.2s ease-out infinite;
}
.pulse:nth-child(2) { animation-delay: 1.4s; }
.pulse:nth-child(3) { animation-delay: 2.8s; }
@keyframes pulse {
  0%   { transform: scale(.6); opacity: 0; }
  25%  { opacity: .9; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* Hinweiskasten auf dunklem Grund — ersetzt den früheren „Anfrage schreiben“-
   Knopf: die Praxis möchte lieber in der Sprechstunde beraten als per Mail. */
.note-light {
  display: flex; gap: .75rem; align-items: flex-start;
  margin: 1.75rem 0 0; padding: 1rem 1.25rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r);
  font-size: .95rem; color: rgba(255,255,255,.94); max-width: 36rem;
}
.note-light .ico { flex: none; margin-top: .2rem; color: var(--green-light); }

/* --- Notfallseite --- */

.urgent-head {
  background: linear-gradient(160deg, #a00e1b, var(--urgent-ink) 55%, var(--urgent));
  color: #fff;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5rem);
}
.urgent-head h1 { color: #fff; margin-bottom: 1.75rem; }
.urgent-head .lead { color: rgba(255,255,255,.94); }
.urgent-head .eyebrow--light { color: #fff; }

.urgent-phone {
  display: inline-flex; align-items: center; gap: .75rem;
  background: #fff; color: var(--urgent-ink);
  padding: 1rem 1.9rem; border-radius: 999px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 650; letter-spacing: -.02em;
  text-decoration: none; margin-bottom: 1.75rem;
  box-shadow: 0 18px 44px rgba(0,0,0,.22);
  transition: transform .35s var(--ease-out);
}
@media (hover: hover) { .urgent-phone:hover { transform: translateY(-3px) scale(1.015); } }
.urgent-phone .ico { width: 1.5rem; height: 1.5rem; }

/* Notdienstkarte auf der Sprechzeiten-Seite — bewusst rot, damit sie sich von
   den Sprechzeiten absetzt. */
.card--urgent {
  background: linear-gradient(160deg, var(--urgent-ink), var(--urgent) 60%, #dc2531);
  border-color: var(--urgent-dark); color: #fff;
}
.card--urgent h3 { color: #fff; margin: .6rem 0 .5rem; }
.card--urgent p { color: rgba(255,255,255,.94); }
.card--urgent .tile-ico { background: rgba(255,255,255,.16); color: #fff; }
/* Mit .card--urgent davor, sonst gewinnt die allgemeinere Regel
   `.card--urgent p` über die Klasse. */
.card--urgent .urgent-kicker {
  margin: .9rem 0 0; font-size: .8rem; font-weight: 700;
  letter-spacing: .08em; color: #fff;
}
.urgent-phone--sm {
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  padding: .7rem 1.3rem; margin: 1.25rem 0 0;
  box-shadow: 0 10px 26px rgba(0,0,0,.2);
}
.urgent-phone--sm .ico { width: 1.2rem; height: 1.2rem; }

.fee-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .1rem; }
.fee-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .55rem 0; font-size: .92rem;
  border-bottom: 1px dashed rgba(255,255,255,.3);
}
.fee-list li:last-child { border-bottom: 0; }
.fee-list span { color: rgba(255,255,255,.94); }
.fee-list b { text-align: right; white-space: nowrap; }

.card--urgent .urgent-fine {
  margin: 1rem 0 0; font-size: .83rem; line-height: 1.5;
  color: rgba(255,255,255,.94);
}
.urgent-fine a { color: #fff; }

.urgent-note {
  display: flex; gap: .7rem; align-items: flex-start;
  margin-top: 1.75rem; padding: 1rem 1.25rem;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r);
  font-size: .95rem; max-width: 44rem;
}
.urgent-note .ico { margin-top: .2rem; flex: none; }
.center .urgent-note { text-align: left; margin-inline: auto; }
body:not(.page-urgent) .urgent-note {
  background: var(--urgent-soft); border-color: var(--urgent-line); color: #8c1420;
}

/* --- Seitenkopf --- */

.page-head {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
}
.page-head .lead { margin-top: 1.5rem; }
/* Seitenkopf mit Bild: Text links, Bild rechts daneben. Das Bild wird nicht
   beschnitten — es ist ein Gruppenfoto, da darf niemand fehlen. Stattdessen
   ist die Spalte in der Breite gedeckelt, damit das Hochformat nicht doppelt
   so hoch wird wie der Text. */
.page-head-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.page-head-img {
  margin: 0; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-l);
}
.page-head-img img { display: block; width: 100%; height: auto; }

/* --- Personen --- */

.people {
  display: grid; gap: clamp(.9rem, 1.8vw, 1.35rem);
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
}
/* Auf der Startseite stehen genau vier Personen nebeneinander — keine
   Schiene, nichts zu schieben. Unter 720px greifen die allgemeinen
   .people-Regeln weiter unten (zwei Spalten, dann eine). */
.people--vier { grid-template-columns: repeat(4, 1fr); }

.person {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
@media (hover: hover) { .person:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); } }
/* 2:3 ist das Format aller Portraits — so passt das Bild ohne Beschnitt in
   den Rahmen und kein Kopf wird oben abgeschnitten. Sollte doch einmal ein
   Foto in einem anderen Format dazukommen, schneidet object-position unten
   ab statt oben. */
.person-img { aspect-ratio: 2 / 3; overflow: hidden; background: var(--cream-2); }
/* Praxistiere: quadratisch — ihre Fotos sind teils querformatig und wurden
   beim Aufbereiten so zugeschnitten, dass das ganze Tier drin bleibt. */
.people--tiere .person-img { aspect-ratio: 1 / 1; }
.person-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%;
  transition: transform .8s var(--ease-out);
}
/* Der Zoom beim Überfahren wächst nach unten, nicht aus der Mitte — sonst
   schnitte er oben in den Kopf. */
.person-img img { transform-origin: 50% 0; }
@media (hover: hover) { .person:hover .person-img img { transform: scale(1.04); } }

/* Karten mit zwei Bildern: beide liegen übereinander, das aktive ist sichtbar.
   Ohne JavaScript bleibt einfach das Portrait stehen (es trägt .is-aktiv schon
   im HTML). */
/* touch-action: pan-y — senkrechtes Scrollen macht der Browser, waagerechtes
   Wischen kommt beim Skript an und blättert. */
.person-img[data-wechsel] {
  position: relative; touch-action: pan-y;
  cursor: grab; user-select: none; -webkit-user-select: none;
}
.person-img[data-wechsel]:active { cursor: grabbing; }
.person-img[data-wechsel] img {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s ease, transform .8s var(--ease-out);
}
.person-img[data-wechsel] img.is-aktiv { opacity: 1; }

/* Dunkle Kapsel hinter den Punkten — auf den hellen Praxisfotos wären weiße
   Punkte sonst kaum zu sehen. */
.person-punkte {
  position: absolute; left: 50%; bottom: .55rem; transform: translateX(-50%);
  display: flex; z-index: 2; padding: 0 4px;
  background: rgba(22,36,26,.32); border-radius: 999px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
/* 24 px Trefferfläche, sichtbar nur der Punkt in der Mitte */
.person-punkte button {
  width: 24px; height: 24px; padding: 0; border: 0; background: none;
  cursor: pointer; display: grid; place-items: center;
}
.person-punkte button::before {
  content: ''; width: 8px; height: 8px; border-radius: 999px;
  background: rgba(255,255,255,.65);
  box-shadow: 0 0 0 1px rgba(22,36,26,.25), 0 1px 3px rgba(0,0,0,.25);
  transition: width .3s var(--ease-out), background-color .3s;
}
.person-punkte button.is-aktiv::before { width: 20px; background: #fff; }
.person-punkte button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; border-radius: 999px; }
.person-body { padding: 1.1rem 1.25rem 1.4rem; }
.person-body h3 { font-size: 1.08rem; }
.person-role { margin: .35rem 0 .2rem; font-size: .9rem; font-weight: 600; color: var(--green-ink); }
.person-since { margin: 0; font-size: .85rem; color: var(--muted); }
.person--pet .person-role { color: #8f6d16; }


/* --- Impressionen: Bildraster --- */

/* Zeilen gleicher Höhe ohne Beschnitt: flex-basis und flex-grow sind beide
   proportional zum Seitenverhältnis --sv, also wachsen alle Bilder einer
   Zeile im selben Verhältnis und bleiben gleich hoch. --zeile ist die
   Richthöhe einer Zeile. Das ::after-Element schluckt den Rest der letzten
   Zeile, damit deren Bilder nicht auf volle Breite aufgeblasen werden. */
.galerie {
  --zeile: 240px;
  display: flex; flex-wrap: wrap;
  gap: clamp(.5rem, 1vw, .8rem);
}
.galerie::after { content: ''; flex-grow: 1000; }
.galerie-bild {
  margin: 0;
  flex: var(--sv) 1 calc(var(--sv) * var(--zeile));
  border-radius: var(--r-sm); overflow: hidden;
  background: var(--cream-2);
}
.galerie-bild a { display: block; cursor: zoom-in; }
.galerie-bild img {
  display: block; width: 100%; height: auto;
  transition: transform .7s var(--ease-out), filter .3s;
}
@media (hover: hover) { .galerie-bild a:hover img { transform: scale(1.035); } }
.galerie-bild a:focus-visible { outline: 3px solid var(--green-ink); outline-offset: -3px; }

/* Startseite: feste Reihe aus sechs Hochformaten, die immer die volle
   Inhaltsbreite füllt — 6 / 3 / 2 Spalten, also nie ein Bild allein. */
.galerie--reihe { display: grid; grid-template-columns: repeat(6, 1fr); }
.galerie--reihe::after { content: none; }

/* --- Großansicht --- */

.lightbox {
  width: 100vw; height: 100vh; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: transparent; color: #fff;
  overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(10, 18, 12, .93); }
.lightbox-fig {
  margin: 0; display: grid; justify-items: center; gap: .9rem;
  padding: 4.5rem 4.5rem 2rem;
  touch-action: pan-y pinch-zoom;
}
.lightbox-fig img {
  display: block;
  max-width: min(100%, 1100px);
  max-height: calc(100dvh - 7rem);
  width: auto; height: auto;
  border-radius: var(--r);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  user-select: none; -webkit-user-drag: none;
}
.lightbox button {
  position: fixed; display: grid; place-items: center;
  width: 3.1rem; height: 3.1rem; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff;
  cursor: pointer; transition: background-color .2s;
}
@media (hover: hover) { .lightbox button:hover { background: rgba(255,255,255,.26); } }
.lightbox button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lightbox button svg { width: 1.45rem; height: 1.45rem; }
.lightbox-zu { top: 1rem; right: 1rem; }
.lightbox-zurueck { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-vor { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-zahl {
  position: fixed; top: 1.55rem; left: 1.4rem; margin: 0;
  font-size: .88rem; letter-spacing: .04em; color: rgba(255,255,255,.88);
}

/* --- Sprechzeiten --- */

.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .58rem 0; border-bottom: 1px dashed var(--line);
  font-size: .96rem;
}
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child { color: var(--muted); }
.hours li span:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.hours li.is-off span:last-child { font-weight: 500; color: var(--muted); }
.hours li.is-today {
  background: var(--green-soft); border-radius: var(--r-sm);
  padding-inline: .7rem; border-bottom-color: transparent;
}
.hours li.is-today span:first-child { color: var(--green-ink); font-weight: 600; }
.hours--compact li { padding: .38rem 0; font-size: .89rem; border-bottom-color: rgba(255,255,255,.88); }
.hours--compact li span:first-child { color: rgba(255,255,255,.88); }
.hours--compact li.is-today { background: rgba(255,255,255,.1); }
.hours--compact li.is-today span:first-child { color: var(--green-light); }

.card--hours .card-note { color: var(--muted); font-size: .92rem; margin: -.4rem 0 1.15rem; }
/* Zwei Zeilen zu je zwei Karten: oben Sprechzeiten neben Notdienst, darunter
   die beiden kurzen Hinweise. stretch statt start, damit die Karten einer
   Zeile unten buendig abschliessen und links kein Loch bleibt. */
.hours-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.4vw, 1.6rem); align-items: stretch;
}

/* --- FAQ --- */

.faq { display: grid; gap: .6rem; max-width: 52rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq-item[open] { border-color: color-mix(in srgb, var(--green) 45%, transparent); box-shadow: var(--shadow-s); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.15rem 1.4rem; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.02rem;
  font-family: var(--display); letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  position: relative; width: 1.1rem; height: 1.1rem; flex: none;
}
.faq-item summary i::before, .faq-item summary i::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  background: var(--green-ink); border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease-out), opacity .3s;
}
.faq-item summary i::before { width: 1.1rem; height: 2px; }
.faq-item summary i::after  { width: 2px; height: 1.1rem; }
.faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 1.4rem 1.35rem; }
.faq-answer p { color: var(--ink-2); font-size: .99rem; max-width: 44rem; }

/* --- Kontakt --- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
/* Beide Spalten tragen Inhalt; die Karte liegt darunter über die volle
   Breite, sonst wächst eine Spalte endlos und die andere endet auf halber
   Höhe. */
/* Der Abstand war mit clamp(1rem, 2vw, …) an die Fensterbreite gekoppelt und
   fiel auf schmalen Fenstern auf 16 px zurück — zwischen zwei weissen Karten
   auf cremefarbenem Grund sieht das nach gar keinem Abstand aus. Jetzt
   mindestens 1,75 rem. */
.contact-text, .contact-side {
  display: grid; align-content: start;
  gap: clamp(1.75rem, 2.2vw, 2.5rem);
}
.contact-map { margin-top: clamp(1.75rem, 4vw, 3rem); }
.contact-map .map-embed { margin-top: 0; aspect-ratio: 21 / 9; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.05rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .ico { color: var(--green-ink); margin-top: .28rem; width: 1.3rem; height: 1.3rem; }
.contact-list b { display: block; font-size: 1.02rem; font-weight: 600; }
.contact-list b a { text-decoration: none; }
.contact-list b a:hover { color: var(--green-ink); }
.contact-list span { font-size: .89rem; color: var(--muted); }

.map-embed {
  margin-top: 1.25rem;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--cream-2);
  aspect-ratio: 16 / 10;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-load {
  width: 100%; height: 100%; border: 0; cursor: pointer;
  background:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(93,172,49,.06) 22px 44px),
    var(--cream-2);
  display: grid; place-items: center; padding: 1.5rem;
  font: inherit; color: var(--ink);
  transition: background-color .3s;
}
.map-load:hover { background-color: var(--green-soft); }
.map-load-inner { display: grid; justify-items: center; gap: .45rem; text-align: center; }
.map-load .ico { width: 2rem; height: 2rem; color: var(--green-ink); }
.map-load b { font-family: var(--display); font-size: 1.02rem; }
.map-load small { color: var(--muted); font-size: .84rem; max-width: 20rem; }

/* --- CTA-Band --- */

.cta-band { padding-block: clamp(3rem, 6vw, 5.5rem); }
.cta-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  box-shadow: var(--shadow-m);
}
.cta-actions { display: grid; gap: .75rem; justify-items: start; }
.cta-actions .btn { width: 100%; }
.cta-actions .muted { margin-top: .35rem; }

/* ---------------------------------------------------------- 6 Anruf-Karte */

/* Die Praxis will angerufen werden, nicht angeschrieben — ein
   Kontaktformular gibt es bewusst nicht. An seiner Stelle steht diese
   Karte. Vom früheren Formular-Abschnitt ist nur der Grundstil für
   Eingabefelder übrig, weil das Suchfeld des Assistenten ihn nutzt. */

input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  /* Mindestens 16 px — darunter zoomt iOS Safari beim Antippen ins Feld
     hinein und die Seite bleibt vergrössert zurück. */
  font: inherit; font-size: max(16px, 1rem); color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
input:focus {
  outline: 0; border-color: var(--green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 22%, transparent);
}

.ruf-karte {
  background: linear-gradient(155deg, #1b5200 0%, var(--forest) 55%, #2c8401 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-m);
}
.ruf-nummer {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 650;
  letter-spacing: -.03em; line-height: 1;
  color: #fff; text-decoration: none;
  margin-bottom: 1.1rem;
  transition: transform .3s var(--ease-out);
}
@media (hover: hover) { .ruf-nummer:hover { transform: translateY(-2px); } }
.ruf-text { color: rgba(255,255,255,.93); font-size: .98rem; }
.ruf-karte .btn-row { margin-top: 1.6rem; }
.ruf-mail {
  margin: 1.5rem 0 0; padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: .89rem; color: rgba(255,255,255,.9);
}
.ruf-mail a { color: #fff; }

/* --------------------------------------------------------------- 7 Footer */

/* Bewusst schmal gehalten: Logo, Anschrift, Kontakt, Icons — mehr nicht.
   Sprechzeiten und Seitenliste standen hier nur doppelt (Menü, Unterseiten). */
.site-footer {
  background: var(--forest); color: rgba(255,255,255,.88);
  padding-block: clamp(2.75rem, 5vw, 4rem) 1.5rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.site-footer .brand-mark { background: #fff; }
.site-footer .brand-text small { color: rgba(255,255,255,.88); }
.site-footer .brand-text b { color: #fff; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: start;
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.footer-claim { margin-top: 1.25rem; font-size: .96rem; max-width: 20rem; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.5rem; }
.footer-social a {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #fff;
  transition: background-color .25s, transform .3s var(--ease-out), border-color .25s;
}
@media (hover: hover) { .footer-social a:hover { background: var(--green); border-color: var(--green); transform: translateY(-2px); } }

.footer-col { font-size: .96rem; }
.footer-col address { font-style: normal; line-height: 1.7; margin-bottom: .85rem; }
.footer-col a { color: #fff; }
.footer-contact { margin: 0; line-height: 1.7; }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 1.75rem; font-size: .87rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 1.25rem; }
.footer-bottom a { color: rgba(255,255,255,.88); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ------------------------------------------------------------ 8 Animation */

/* Überschriftenzeilen: Maske, aus der der Text hochfährt. */
h1[data-lines], h2[data-lines] { display: block; }
.ln { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.ln > span { display: block; }
html.js .ln > span {
  transform: translateY(125%);
  opacity: 0;
}
html.js .is-in .ln > span,
html.js .ln.is-in > span {
  transform: none; opacity: 1;
  transition: transform .85s var(--ease-out), opacity .6s ease;
  transition-delay: calc(.085s * var(--i, 0));
}

html.js .reveal { opacity: 0; transform: translateY(22px); }
html.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s ease, transform .8s var(--ease-out);
  transition-delay: calc(.075s * var(--i, 0));
}

html.js .reveal-img { opacity: 0; transform: translateY(28px) scale(.985); }
html.js .reveal-img.is-in {
  opacity: 1; transform: none;
  transition: opacity .8s ease, transform 1s var(--ease-out);
  transition-delay: calc(.075s * var(--i, 0));
}

/* Endlosschleifen außerhalb des Bildes anhalten (Klasse setzt main.js). */
.is-ruhig, .is-ruhig *, .is-ruhig *::after { animation-play-state: paused !important; }

/* Auftakt: Was beim Laden sofort im Bild steht (Startseiten-Hero, Seitenkopf
   der Unterseiten, Notfallkopf), läuft per CSS-Animation an statt über den
   Scroll-Beobachter. Sonst wartet der größte sichtbare Inhalt — Überschrift
   oder Praxisfoto — bis main.js geladen ist, und die Seite gilt bei Google
   als langsam (LCP). Start bei opacity .01 statt 0: völlig unsichtbare
   Elemente zählt Chrome nicht als LCP-Kandidaten. main.js lässt diese
   Bereiche aus (siehe Reveal-Animation). */
@keyframes auftakt       { from { opacity: .01; transform: translateY(22px); } }
@keyframes auftakt-zeile { from { opacity: .01; transform: translateY(125%); } }
html.js :is(.hero, .page-head, .urgent-head) :is(.reveal, .reveal-img) {
  opacity: 1; transform: none;
  animation: auftakt .8s var(--ease-out) both;
  animation-delay: var(--d, 0s);
}
html.js :is(.hero, .page-head, .urgent-head) .ln > span {
  opacity: 1; transform: none;
  animation: auftakt-zeile .85s var(--ease-out) both;
  animation-delay: calc(.1s + .085s * var(--i, 0));
}
:is(.hero, .page-head, .urgent-head) :is(.hero-photo, .page-head-img) { --d: .1s; }
:is(.hero, .page-head, .urgent-head) .lead                           { --d: .3s; }
:is(.hero, .page-head, .urgent-head) :is(.btn-row, .urgent-phone)    { --d: .38s; }
:is(.hero, .page-head, .urgent-head) :is(.hero-facts, .urgent-note)  { --d: .46s; }
.hero .hero-badge                                                    { --d: .6s; }
.urgent-head .lead                                                   { --d: .46s; }
.urgent-head .urgent-note                                            { --d: .54s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  html.js .reveal, html.js .reveal-img, html.js .ln > span {
    opacity: 1 !important; transform: none !important;
  }
  .blob { animation: none; }
}

/* ----------------------------------------------------------- 9 Responsive */

@media (max-width: 1180px) {
  .nav-desktop { display: none; }
}

@media (max-width: 1020px) {
  /* Seitenkopf mit Bild: untereinander, Bild unter dem Text. */
  .page-head-grid { grid-template-columns: 1fr; }
  .page-head-img { max-width: 420px; }
  .galerie--reihe { grid-template-columns: repeat(3, 1fr); }
  .people--vier { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-badge { left: auto; right: 0; bottom: -1.25rem; }
  .scroll-cue { display: none; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card, .bento-card--lg { grid-column: span 1; grid-row: auto; min-height: 14rem; }
  .bento-card--lg { min-height: 17rem; }

  .tiles--4 { grid-template-columns: repeat(2, 1fr); }
  .tiles--3 { grid-template-columns: repeat(2, 1fr); }
  /* Hochkant ist eine breite Karte zu flach. */
  .contact-map .map-embed { aspect-ratio: 16 / 10; }
  .split-inner, .emergency-inner, .contact-grid, .cta-inner,
  .hours-grid, .split-cols { grid-template-columns: 1fr; }
  .split-inner--rev .split-media { order: 0; }
  .split-inner--rev .split-text { order: 0; }
  .emergency-ring { display: none; }
  .frame--offset { width: 62%; margin-top: -14%; }
  .menu-inner { grid-template-columns: 1fr; }
  .cta-actions { justify-items: stretch; }
}

@media (max-width: 720px) {
  .bar { min-height: 4.3rem; }
  .bar-actions .btn--sm span { display: none; }
  .bar-actions .btn--sm { padding: .6rem; width: 2.9rem; height: 2.9rem; }
  .bar-actions .btn--sm .ico { width: 1.25rem; height: 1.25rem; }

  .mobile-cta { display: flex; }
  body { padding-bottom: 4.6rem; }
  .site-footer { margin-bottom: 0; }

  .bento { grid-template-columns: 1fr; }
  .tiles, .tiles--2, .tiles--3, .tiles--4 { grid-template-columns: 1fr; }
  .people, .people--vier { grid-template-columns: repeat(2, 1fr); }
  .galerie { --zeile: 150px; }
  /* Großansicht: Pfeile unten in Daumenhöhe statt seitlich über dem Bild */
  .lightbox-fig { padding: 4rem .75rem 6rem; }
  .lightbox-fig img { max-height: calc(100dvh - 10rem); }
  .lightbox-zurueck, .lightbox-vor { top: auto; bottom: 1.25rem; transform: none; }
  .lightbox-zurueck { left: calc(50% - 4rem); }
  .lightbox-vor { right: calc(50% - 4rem); }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .sec-head--row { flex-direction: column; align-items: flex-start; }
  .frame--offset { width: 70%; margin-top: -18%; }
}

@media (max-width: 460px) {
  .t-hero { font-size: clamp(2.2rem, 12.3vw, 2.9rem); }
  .people { grid-template-columns: 1fr; }
  .people--vier { grid-template-columns: repeat(2, 1fr); }
  .galerie { --zeile: 120px; }
  .galerie--reihe { grid-template-columns: repeat(2, 1fr); }
  .hero-badge { position: static; margin-top: 1rem; max-width: none; }
}

@media print {
  .site-header, .menu, .mobile-cta, .scroll-cue, .map-embed, .site-footer .footer-social { display: none !important; }
  body { background: #fff; }
  .section { padding-block: 1.5rem; }
  html.js .reveal, html.js .reveal-img, html.js .ln > span { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------------------ 10 Assistent */

/* Sprechblase unten rechts. Liegt über der mobilen Aktionsleiste (z-index 80),
   aber unter dem Overlay-Menü (95) und dem Header (96) — ein geöffnetes Menü
   soll sie verdecken. */

/* Raster statt Flex, weil Chat- und Schließen-Symbol übereinander liegen und
   getauscht werden (beide in Zelle 1/1). Spalte 2 trägt die Beschriftung. */
.kb-knopf {
  position: fixed; z-index: 85;
  right: 1.25rem; bottom: 1.25rem;
  display: inline-grid;
  grid-template-columns: 1.4rem auto;
  align-items: center;
  gap: .55rem;
  height: 3.4rem; padding: 0 1.3rem 0 1.1rem;
  border: 0; border-radius: 999px;
  background: var(--forest); color: #fff;
  font: inherit; font-weight: 600; font-size: .95rem; line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(32,60,18,.28);
  transition: transform .35s var(--ease-out), background-color .25s, box-shadow .35s;
}
@media (hover: hover) { .kb-knopf:hover { transform: translateY(-2px); background: var(--forest-2); } }
.kb-knopf:active { transform: translateY(0); }
.kb-knopf .ico { width: 1.4rem; height: 1.4rem; }

.kb-knopf-ico {
  grid-area: 1 / 1;
  display: grid; place-items: center;
  width: 1.4rem; height: 1.4rem;
  transition: opacity .25s, transform .35s var(--ease-out);
}
.kb-knopf-ico--zu { opacity: 0; transform: rotate(-90deg); }
.kb-knopf.is-offen .kb-knopf-ico--chat { opacity: 0; transform: rotate(90deg); }
.kb-knopf.is-offen .kb-knopf-ico--zu { opacity: 1; transform: none; }
.kb-knopf-text { grid-column: 2; }

.kb-panel {
  position: fixed; z-index: 85;
  right: 1.25rem; bottom: 5.4rem;
  width: min(23.5rem, calc(100vw - 2.5rem));
  height: min(35rem, calc(100vh - 9rem));
  display: flex; flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(32,60,18,.26);
  overflow: hidden;
  opacity: 0; transform: translateY(14px) scale(.98);
  transition: opacity .26s ease, transform .3s var(--ease-out);
}
.kb-panel.is-offen { opacity: 1; transform: none; }

.kb-kopf {
  display: flex; align-items: center; gap: .6rem;
  padding: .9rem 1rem .9rem 1.15rem;
  background: var(--forest); color: #fff;
}
.kb-kopf-text { display: grid; line-height: 1.2; margin-right: auto; }
.kb-kopf-text b { font-family: var(--display); font-size: 1rem; }
.kb-kopf-text small { font-size: .78rem; color: rgba(255,255,255,.88); }
.kb-kopf-tel, .kb-kopf-zu {
  display: grid; place-items: center; flex: none;
  width: 2.1rem; height: 2.1rem; padding: 0;
  border: 1px solid rgba(255,255,255,.3); border-radius: 50%;
  background: transparent; color: #fff; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.kb-kopf-tel:hover, .kb-kopf-zu:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.kb-kopf .ico { width: 1.05rem; height: 1.05rem; }

.kb-liste {
  flex: 1; overflow-y: auto; overscroll-behavior: contain;
  padding: 1rem; display: flex; flex-direction: column; gap: .7rem;
  scrollbar-width: thin;
}

.kb-msg { display: flex; flex-direction: column; gap: .4rem; max-width: 100%; }
.kb-msg--du { align-items: flex-end; }

.kb-blase {
  max-width: 92%;
  padding: .7rem .9rem;
  border-radius: 14px;
  font-size: .91rem; line-height: 1.5;
}
.kb-msg--bot .kb-blase {
  background: #fff; border: 1px solid var(--line);
  border-bottom-left-radius: 5px; color: var(--ink);
}
.kb-msg--du .kb-blase {
  background: var(--forest); color: #fff;
  border-bottom-right-radius: 5px;
}
.kb-blase p { margin: 0 0 .6rem; }
.kb-blase p:last-child { margin-bottom: 0; }
.kb-blase a { color: var(--green-ink); font-weight: 600; }
.kb-laden { color: var(--muted); font-style: italic; }

.kb-hinweis {
  font-size: .85rem; color: var(--ink-2);
  border-left: 2px solid var(--green); padding-left: .65rem;
}
.kb-liste .kb-liste, .kb-blase ul.kb-liste { }
ul.kb-liste { margin: .4rem 0 .6rem; padding-left: 1.05rem; font-size: .88rem; }
ul.kb-liste li { margin-bottom: .25rem; }

ul.kb-zeiten { list-style: none; margin: .5rem 0 .2rem; padding: 0; }
ul.kb-zeiten li {
  display: flex; justify-content: space-between; gap: .75rem;
  padding: .3rem 0; font-size: .85rem;
  border-bottom: 1px dashed var(--line);
}
ul.kb-zeiten li:last-child { border-bottom: 0; }
ul.kb-zeiten span:first-child { color: var(--muted); }
ul.kb-zeiten span:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

.kb-ruf { margin: .7rem 0 0; }
.kb-tel {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1rem; border-radius: 999px;
  background: var(--urgent); color: #fff !important;
  font-weight: 650; font-size: 1rem; text-decoration: none;
}
.kb-tel:hover { background: #a33a0f; }
.kb-tel .ico { width: 1.05rem; height: 1.05rem; }

.kb-links { display: flex; flex-direction: column; gap: .3rem; max-width: 92%; }
.kb-link {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .7rem;
  background: var(--green-soft);
  border: 1px solid color-mix(in srgb, var(--green) 28%, transparent);
  border-radius: 999px;
  font-size: .83rem; font-weight: 600; color: var(--green-ink);
  text-decoration: none;
}
.kb-link:hover { background: #dfeed3; }
.kb-link-pfeil { width: .9rem; height: .9rem; flex: none; transition: transform .3s var(--ease-out); }
@media (hover: hover) { .kb-link:hover .kb-link-pfeil { transform: translateX(3px); } }

.kb-chips { display: flex; flex-wrap: wrap; gap: .4rem; padding-top: .2rem; }
.kb-chip {
  padding: .45rem .8rem; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font: inherit; font-size: .82rem; color: var(--ink-2);
  cursor: pointer;
  transition: border-color .2s, color .2s, background-color .2s;
}
.kb-chip:hover { border-color: var(--green); color: var(--green-ink); background: var(--green-soft); }

.kb-form {
  display: flex; gap: .5rem; padding: .75rem;
  border-top: 1px solid var(--line); background: #fff;
}
.kb-form input {
  /* ebenfalls mindestens 16 px gegen den iOS-Zoom beim Antippen */
  flex: 1; padding: .6rem .9rem; font-size: max(16px, 1rem);
  border: 1px solid var(--line); border-radius: 999px;
}
.kb-form button {
  display: grid; place-items: center; flex: none;
  width: 2.6rem; height: 2.6rem; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--forest); color: #fff; cursor: pointer;
  transition: background-color .2s;
}
.kb-form button:hover { background: var(--forest-2); }
.kb-form .ico { width: 1.15rem; height: 1.15rem; }

.kb-fuss {
  margin: 0; padding: .5rem .9rem .7rem;
  background: #fff; border-top: 1px solid var(--cream-2);
  font-size: .72rem; color: var(--muted); text-align: center;
}

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

/* Über der mobilen Aktionsleiste bleiben — aber nur, solange die auch da ist.
   Sie fährt erst nach rund 420 px Scrollweg ein; main.js setzt dafür
   html.cta-an. Ohne diese Kopplung schwebt die Sprechblase oben auf der Seite
   mit einer Lücke über dem Rand. */
@media (max-width: 720px) {
  .kb-knopf {
    right: 1rem;
    bottom: calc(1.1rem + env(safe-area-inset-bottom));
    transition: transform .35s var(--ease-out), background-color .25s,
                box-shadow .35s, bottom .4s var(--ease-out);
  }
  .kb-panel {
    right: .75rem; left: .75rem;
    width: auto;
    bottom: calc(4.9rem + env(safe-area-inset-bottom));
    height: min(28rem, calc(100vh - 9rem));
    transition: opacity .26s ease, transform .3s var(--ease-out), bottom .4s var(--ease-out);
  }
  html.cta-an .kb-knopf { bottom: calc(5.1rem + env(safe-area-inset-bottom)); }
  html.cta-an .kb-panel {
    bottom: calc(8.9rem + env(safe-area-inset-bottom));
    height: min(28rem, calc(100vh - 13rem));
  }
}

/* Auf schmalen Geräten nur noch der Kreis — neben der Aktionsleiste ist für
   eine Pille mit Beschriftung kein Platz.
   justify-content zentriert die Rasterspalte im Kreis; justify-items würde
   nur das Symbol in seiner Spalte zentrieren und die Spalte selbst links
   kleben lassen. Genau das sah schief aus. */
@media (max-width: 560px) {
  .kb-knopf-text { display: none; }
  .kb-knopf {
    grid-template-columns: 1.4rem;
    justify-content: center;
    gap: 0;
    width: 3.4rem; height: 3.4rem; padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kb-panel, .kb-knopf, .kb-knopf-ico--chat, .kb-knopf-ico--zu { transition: none; }
}

@media print { .kb-knopf, .kb-panel { display: none !important; } }

/* ---------------------------------------------------------------- 11 Jobs */

.stelle {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-s);
}
.stelle-kopf {
  display: grid; grid-template-columns: 1.3fr .7fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.stelle-kopf .lead { margin-top: 1.25rem; }

/* Eckdaten der Stelle — Umfang, Ort, Beginn, Vergütung */
.eckdaten { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; align-content: start; }
.eckdaten li { display: flex; gap: .8rem; align-items: flex-start; }
.eckdaten .ico { color: var(--green-ink); margin-top: .22rem; width: 1.2rem; height: 1.2rem; flex: none; }
.eckdaten b {
  display: block; font-size: .8rem; font-weight: 700;
  letter-spacing: .06em; color: var(--muted);
}
.eckdaten span { display: block; font-size: .97rem; margin-top: .1rem; }

.stelle-spalten {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}
.stelle-spalten h3 { display: flex; align-items: center; gap: .55rem; }
.stelle-spalten h3 .ico { color: var(--green-ink); }
.stelle-plus { margin: 1.5rem 0 0; font-size: .92rem; color: var(--ink-2); }

@media (max-width: 860px) {
  .stelle-kopf, .stelle-spalten { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------- 12 Bewertungen */

.sterne { display: inline-flex; gap: .15rem; color: #e0a000; }
.sterne svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.sterne svg.is-leer { fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .4; }

/* Ein mittiger Block statt Zitatkacheln: Sterne, Note, Anzahl, Weg zu Google. */
.bewertung-band {
  display: grid; justify-items: center; text-align: center;
  gap: 1.1rem; max-width: 34rem; margin-inline: auto;
}
.bewertung-band .eyebrow { margin: 0; }
.bewertung-band h2 { margin: 0; }
.bewertung-band .sterne { gap: .3rem; }
.bewertung-band .sterne svg { width: 1.75rem; height: 1.75rem; }
.bewertung-text { margin: 0; color: var(--ink-2); }

/* --------------------------------------------------------- 13 Hinweise */

/* Fenster für kurzfristige Hinweise, gepflegt unter /verwaltung/.
   Bewusst mittig mit Hintergrund statt als Ecke unten: unten rechts sitzt
   schon der Assistent, unten die mobile Aktionsleiste. */
.hinweis-hg {
  position: fixed; inset: 0; z-index: 97;
  display: grid; place-items: center;
  padding: 1.25rem;
  background: rgba(14, 30, 12, .55);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .26s ease;
}
.hinweis-hg.is-da { opacity: 1; }

.hinweis {
  position: relative;
  width: min(30rem, 100%);
  max-height: calc(100vh - 2.5rem); overflow-y: auto;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: 0 30px 70px rgba(14, 30, 12, .32);
  transform: translateY(14px) scale(.98);
  transition: transform .3s var(--ease-out);
}
.hinweis-hg.is-da .hinweis { transform: none; }

.hinweis-zu {
  position: absolute; top: .9rem; right: .9rem;
  display: grid; place-items: center;
  width: 2.3rem; height: 2.3rem; padding: 0;
  border: 1px solid var(--line); border-radius: 50%;
  background: #fff; color: var(--ink); cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.hinweis-zu:hover { background: var(--green-soft); border-color: var(--green); }

.hinweis-kicker {
  margin: 0; font-size: .8rem; font-weight: 700;
  letter-spacing: .07em; color: var(--green-ink);
}
/* Farbige Kante oben nach der dringendsten Farbe; mehrere Hinweise im selben
   Fenster stehen als eigene Abschnitte mit Farbstreifen untereinander. */
.hinweis--orange { border-top: 6px solid #c2410c; }
.hinweis--rot { border-top: 6px solid var(--urgent-ink); }
.hinweis--gruen { border-top: 6px solid var(--forest-2); }
.hinweis-teil + .hinweis-teil { margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.hinweis-teil--orange .hinweis-kicker { color: #b45309; }
.hinweis-teil--rot .hinweis-kicker { color: var(--urgent-ink); }
.hinweis-teil:first-of-type .hinweis-kicker { padding-right: 2.6rem; }
.hinweis-titel {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3.4vw, 1.9rem);
  margin: .5rem 0 .6rem;
}
.hinweis-text { margin: 0; color: var(--ink-2); }
.hinweis-aktionen { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }

@media (prefers-reduced-motion: reduce) {
  .hinweis-hg, .hinweis { transition: none; }
}
@media print { .hinweis-hg { display: none !important; } }

/* ------------------------------------------------------------ 14 Tiermotive */

/* Rind, Pferd und Schwein sind gezeichnete Strichgrafiken. Sie liegen als
   PNG mit Alphakanal vor und werden über mask-image eingefärbt — dieselbe
   Datei funktioniert dadurch in Grün auf Hell und in Weiß auf Dunkel.
   Die Linien sind fein: unter 3 rem wird daraus Matsch. */
.tier {
  display: inline-block;
  width: var(--gr, 4rem);
  height: var(--gr, 4rem);
  flex: none;
  background: currentColor;
  -webkit-mask: var(--motiv) center/contain no-repeat;
          mask: var(--motiv) center/contain no-repeat;
}

/* In der Leistungskachel steht das Motiv anstelle des kleinen Symbolkastens. */
.tier--kachel {
  color: var(--green-ink);
  margin-bottom: .35rem;
  transition: transform .45s var(--ease-out);
}
@media (hover: hover) { .tile:hover .tier--kachel { transform: translateY(-3px) rotate(-3deg); } }

/* Auf der dunklen Bento-Kachel ersetzt es das Icon-Quadrat. */
.tier--bento { color: var(--green-light); }
@media (hover: hover) { a.bento-card:hover .tier--bento { transform: translateY(-3px) rotate(-4deg); } }
.bento-card .tier { transition: transform .45s var(--ease-out); }

/* Pferd und Schwein nebeneinander im Hinweiskasten. */
.tier-paar { align-items: center !important; }
.tier-paar .tier { color: var(--green-ink); margin-right: -.6rem; }
.tier-paar .tier:last-of-type { margin-right: .3rem; }

@media (max-width: 560px) {
  .tier-paar { flex-wrap: wrap; }
}
