/* ============================================
   Schriften (lokal, variable Schriftdateien für 400 und 500)
   ============================================ */

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("schriften/lora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("schriften/lora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("schriften/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("schriften/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================
   Grundlagen
   ============================================ */

:root {
  --gruen: #0d5e01;
  --gruen-hell: #1a7a0c;
  --gruen-blass: #eef3ea;
  --grund: #faf7f2;
  --flaeche: #ffffff;
  --text: #2b2b28;
  --text-leise: #5f5e58;
  --linie: #e2ddd3;
  --breite: 1120px;
  --radius: 6px;
  --kontakt-knopf-abstand: 8rem;
  --kontakt-knopf-abstand-handy: 1.75rem;
  --preis-hinweis-abstand: 2.5rem;
  --kasten-innenabstand: 1.75rem;
  --sticky-knopf-abstand: 1.75rem;
  --sticky-knopf-breite: 12rem;
  --sticky-knopf-oben: 117px;
  --inhalt-polster: 1.5rem;
  --ueberschrift-groesse: 1.35rem;
  --rechtstext-h2-groesse: var(--ueberschrift-groesse);
  --rechtstext-h2-oben: 2.25rem;
  --ueberschrift-abstand: 0.5em;
  --rechtstext-absatz-abstand: 1rem;
  --rechtstext-liste-einzug: 1.25rem;
  --leiste-hoehe: 3.1rem;
  --pfeil-groesse-handy: 2.25rem;
  --pfeil-abstand-leiste: 0.75rem;
  --sprung-zeile-abstand: 0.85rem;
  --sprung-kasten-abstand: 1.5rem;
  --sprung-abstand-unten: 2rem;
  --thema-foto-abstand: 1.25rem;
  --karten-abstand-handy: 1.5rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--grund);
}

body {
  background: var(--grund);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.25;
  color: var(--gruen);
}

h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: var(--ueberschrift-groesse); }

h2, h3 {
  margin-bottom: var(--ueberschrift-abstand);
}

p + p {
  margin-top: 1rem;
}

a {
  color: var(--gruen);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.inhalt {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   Kopfbereich
   ============================================ */

.kopf {
  background: var(--grund);
  border-bottom: 1px solid var(--linie);
  position: sticky;
  top: 0;
  z-index: 100;
}

.kopf-innen {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo img {
  width: 58px;
  height: 58px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: "Lora", Georgia, serif;
  font-size: 1.15rem;
  color: var(--gruen);
}

.logo-rolle {
  font-size: 0.78rem;
  color: var(--text-leise);
  letter-spacing: 0.04em;
}

/* Navigation */

.nav-schalter {
  display: none;
  background: none;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  color: var(--gruen);
  font-size: 1.3rem;
  line-height: 1;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.nav a {
  color: var(--text);
  font-size: 0.95rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--gruen);
  text-decoration: none;
  border-bottom-color: var(--gruen);
}

.nav a.aktiv {
  color: var(--gruen);
  border-bottom-color: var(--gruen);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  background: var(--flaeche);
  border-bottom: 1px solid var(--linie);
  padding: 5rem 0;
}

.hero-innen {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-vorzeile {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-leise);
  margin-bottom: 1rem;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-leise);
  margin-bottom: 2rem;
}

.hero-bild {
  aspect-ratio: 4 / 5;
  background: var(--gruen-blass);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gruen);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Video-Standbild im Hero */
.hero-video {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border: none;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--gruen-blass);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-play {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(13, 94, 1, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, background 0.18s ease;
}

.hero-video-play svg {
  fill: #fff;
  margin-left: 3px;
}

.hero-video:hover .hero-video-play {
  transform: scale(1.08);
  background: var(--gruen);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 30, 18, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.offen {
  opacity: 1;
}

.lightbox-frame {
  width: 70%;
  max-width: 1100px;
  min-width: 300px;
  transform: scale(0.4);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 0.84, 0.44, 1), opacity 0.35s ease;
}

.lightbox.offen .lightbox-frame {
  transform: scale(1);
  opacity: 1;
}

.lightbox-ratio {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-ratio video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
  object-fit: contain;
  background: #000;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 28px;
  z-index: 210;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease;
}

.lightbox-close:hover {
  color: var(--gruen-blass);
}

.knopf-reihe {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.knopf {
  display: inline-block;
  background: var(--gruen);
  color: #fff;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: background 0.15s;
}

.knopf:hover {
  background: var(--gruen-hell);
  text-decoration: none;
}

.knopf-leer {
  background: transparent;
  color: var(--gruen);
  border: 1px solid var(--gruen);
}

.knopf-leer:hover {
  background: var(--gruen-blass);
}

/* ============================================
   Abschnitte
   ============================================ */

.abschnitt {
  padding: 4.5rem 0;
}

.abschnitt-hell {
  background: var(--flaeche);
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
}

.abschnitt-kopf {
  max-width: 680px;
  margin-bottom: 2.75rem;
}

.abschnitt-kopf-mitte {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.abschnitt-kopf h2 {
  margin-bottom: var(--ueberschrift-abstand);
}

.umbruch-desktop {
  display: none;
}

@media (min-width: 901px) {
  .umbruch-desktop {
    display: inline;
  }
}

.abschnitt-kopf p {
  color: var(--text-leise);
}

/* Zwei-Spalten-Block (Bild + Text) */

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.duo-bild {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--gruen-blass);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gruen);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.duo h2 {
  margin-bottom: var(--ueberschrift-abstand);
}

.duo p {
  color: var(--text-leise);
}

.duo .knopf-reihe {
  margin-top: 1.75rem;
}

/* ============================================
   Kacheln
   ============================================ */

.kacheln {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.kachel {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: block;
  color: var(--text);
  transition: border-color 0.15s;
}

.kachel:hover {
  border-color: var(--gruen);
  text-decoration: none;
}

.kachel h3 {
  margin-bottom: var(--ueberschrift-abstand);
}

.kachel p {
  color: var(--text-leise);
  font-size: 0.95rem;
}

.abschnitt-hell .kachel {
  background: var(--grund);
}

/* ============================================
   Fußbereich
   ============================================ */

.fuss {
  margin-top: auto;
  background: var(--gruen);
  color: #d8e6d4;
  padding: 1.5rem 0;
}

.fuss a {
  color: #d8e6d4;
}

.fuss-zeile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
}

.fuss-zeile nav {
  display: flex;
  gap: 1.25rem;
}

/* ============================================
   Mobil
   ============================================ */

@media (max-width: 900px) {
  .hero-innen,
  .duo {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-bild {
    aspect-ratio: 3 / 2;
    order: -1;
  }

  .hero-video {
    order: -1;
  }

  .lightbox-frame {
    width: 100%;
    transform: none;
  }

  .lightbox.offen .lightbox-frame {
    transform: none;
  }

  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }

  .nav-schalter {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--grund);
    border-bottom: 1px solid var(--linie);
    padding: 0.5rem 1.5rem 1.25rem;
  }

  .nav.offen {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav li {
    border-bottom: 1px solid var(--linie);
  }

  .nav li:last-child {
    border-bottom: none;
  }

  .nav a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: none;
  }

  .nav a:hover,
  .nav a.aktiv {
    border-bottom: none;
  }

  .kopf-innen {
    position: relative;
  }

  .hero {
    padding: 3rem 0;
  }

  .abschnitt {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 1.8rem; }
  .logo img { width: 48px; height: 48px; }
  .knopf-reihe { flex-direction: column; align-items: stretch; }
  .knopf { text-align: center; }
}

/* ============================================
   Seitenkopf Unterseiten
   ============================================ */

.seitenkopf {
  background: var(--flaeche);
  border-bottom: 1px solid var(--linie);
  padding: 1.75rem 0;
}

.seitenkopf h1 {
  margin-bottom: 0;
  text-align: center;
}

.seitenkopf p {
  color: var(--text-leise);
  font-size: 1.1rem;
  max-width: 680px;
  margin-top: 1rem;
}

/* ============================================
   Kachelindex
   ============================================ */

.index {
  padding: 3.5rem 0;
}

.index .kacheln {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ============================================
   Inhaltsbereich
   ============================================ */

.bereich {
  position: relative;
  padding-bottom: 0;
}

/* ============================================
   Ankerabschnitte
   ============================================ */

.thema h2 {
  margin-bottom: var(--ueberschrift-abstand);
}

.thema p {
  color: var(--text-leise);
}

.thema-meta {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: var(--text-leise);
}

.thema-meta strong {
  color: var(--text);
  font-weight: 500;
}

.thema {
  scroll-margin-top: 110px;
  display: grid;
  grid-template-columns: 1fr 45%;
  gap: 2rem;
  align-items: start;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 3.25rem 1.5rem;
}

.thema-streifen {
  background: var(--flaeche);
  border-top: 1px solid var(--linie);
}

.thema-streifen:last-child {
  border-bottom: 1px solid var(--linie);
}

.thema-bild {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--gruen-blass);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gruen);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.thema-text {
  grid-column: 1;
  grid-row: 1;
}

.thema-links {
  grid-template-columns: 45% 1fr;
}

.thema-links .thema-bild {
  grid-column: 1;
}

.thema-links .thema-text {
  grid-column: 2;
}

.thema-inhalt {
  max-width: 1120px;
}

/* ============================================
   Zurück nach oben
   ============================================ */

.nach-oben {
  position: fixed;
  bottom: 1.75rem;
  left: 50%;
  z-index: 90;
  width: 44px;
  height: 44px;
  border: 1px solid var(--linie);
  border-radius: 50%;
  background: var(--flaeche);
  color: var(--gruen);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s, border-color 0.15s;
}

.nach-oben.sichtbar {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nach-oben:hover {
  border-color: var(--gruen);
}

/* Fester Termin-Button unten rechts */

/* Immer sichtbar, bewegt sich nie. Schmale Fenster: rechte Kante bündig mit
   der rechten Inhaltskante (Rand ohne Polster). Breite Fenster: im freien
   Rand rechts neben dem Inhalt (siehe Media Query unten). */
.knopf-sticky {
  position: fixed;
  top: var(--sticky-knopf-oben);
  right: max(var(--inhalt-polster), calc(50% - var(--breite) / 2 + var(--inhalt-polster)));
  z-index: 90;
  width: var(--sticky-knopf-breite);
  text-align: center;
}

/* Startseite und Kontakt: Sticky-Button nur am Handy (siehe Handy-Block am Dateiende) */
.knopf-sticky.knopf-sticky-handy {
  display: none;
}

/* Breakpoint = --breite - 2 * --inhalt-polster + 2 * (--sticky-knopf-abstand + --sticky-knopf-breite)
   = 1120 - 48 + 2 * (28 + 192) = 1512px, plus 18px Reserve für die Scrollleiste = 1530px.
   Media Queries können keine Variablen lesen: bei Änderung der Werte neu berechnen. */
@media (min-width: 1530px) {
  .knopf-sticky {
    right: auto;
    left: calc(50% + var(--breite) / 2 - var(--inhalt-polster) + var(--sticky-knopf-abstand));
  }
}

/* ============================================
   Mobil
   ============================================ */

@media (max-width: 900px) {
  .seitenkopf {
    padding: 2.5rem 0;
  }

  .index {
    padding: 2.5rem 0 0.5rem;
  }

  .thema {
    scroll-margin-top: 90px;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .thema-links {
    grid-template-columns: 1fr;
  }

  .thema {
    row-gap: var(--thema-foto-abstand);
  }

  .thema-text,
  .thema-links .thema-text {
    grid-column: 1;
    grid-row: 2;
  }

  .thema-bild,
  .thema-links .thema-bild {
    grid-column: 1;
    grid-row: 1;
  }
}

/* ============================================
   Preistabelle
   ============================================ */

.preis-raster {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--linie);
}

.preisblock h2 {
  margin-bottom: var(--ueberschrift-abstand);
}

.preisblock > p {
  color: var(--text-leise);
  margin-bottom: 1.25rem;
}

.preisliste {
  list-style: none;
}

.preisliste li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--linie);
}

.preisliste li:last-child {
  border-bottom: none;
}

.preis-titel {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-leise);
  margin: 1.5rem 0 0.25rem;
}

.preis-was {
  color: var(--text);
}

.preis-wert {
  color: var(--gruen);
  font-weight: 500;
  white-space: nowrap;
}

.hinweis {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--text-leise);
}

.gutschein + .hinweis {
  margin-top: var(--preis-hinweis-abstand);
  text-align: center;
}

.gutschein {
  max-width: 720px;
  margin: 0 auto;
}

.gutschein h2 {
  margin-bottom: var(--ueberschrift-abstand);
  text-align: center;
}

.gutschein p {
  color: var(--text-leise);
}

.gutschein .knopf-reihe {
  justify-content: center;
}

/* ============================================
   Kontaktangaben
   ============================================ */

.kontakt-raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.kontakt-block .knopf-reihe {
  margin-top: var(--kontakt-knopf-abstand);
}

.kontakt-block .block-titel {
  margin-top: 2.25rem;
}

@media (max-width: 900px) {
  .kontakt-raster .kontakt-block:nth-child(2) {
    order: 2;
  }

  .kontakt-raster .kontakt-block:last-child {
    order: 1;
  }

  .kontakt-block .knopf-reihe {
    margin-top: var(--kontakt-knopf-abstand-handy);
  }
}

@media (min-width: 901px) {
  .kontakt-raster {
    grid-template-columns: 1fr auto 1fr;
  }

  .kontakt-raster .kontakt-block:first-child {
    justify-self: start;
  }

  .kontakt-raster .kontakt-block:last-child {
    justify-self: end;
  }

  .kontakt-raster .kontakt-block:last-child {
    text-align: right;
  }

  .kontakt-raster .kontakt-block:nth-child(2) {
    text-align: center;
  }

  .kontakt-raster .kontakt-block:nth-child(2) .mit-symbol {
    justify-content: center;
  }

  .kontakt-block .knopf-reihe {
    justify-content: center;
  }
}

.kontakt-block h2 {
  font-size: var(--ueberschrift-groesse);
  margin-bottom: var(--ueberschrift-abstand);
}

.kontakt-block p {
  color: var(--text-leise);
}

.kontakt-gross {
  font-size: 1.15rem;
}

.mit-symbol {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mit-symbol svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--gruen);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================
   Über mich
   ============================================ */

.vita {
  display: grid;
  grid-template-columns: 1fr 40%;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.vita-bild {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--gruen-blass);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gruen);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.duo-bild img,
.thema-bild img,
.vita-bild img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ausbildung {
  max-width: 720px;
}

.ausbildung ul {
  list-style: none;
  border-left: 2px solid var(--linie);
  margin-top: 1.25rem;
}

.ausbildung li {
  padding: 0.6rem 0 0.6rem 1.25rem;
  color: var(--text-leise);
}

@media (max-width: 900px) {
  .vita {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .vita-bild {
    aspect-ratio: 3 / 2;
    order: -1;
  }

  .preis-raster {
    grid-template-columns: 1fr;
    gap: var(--karten-abstand-handy);
  }

  .preisblock {
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    padding: var(--kasten-innenabstand);
  }

  .preis-wert {
    flex-shrink: 0;
  }
}

/* ============================================
   Kacheln: Varianten
   ============================================ */

/* Infokasten im Kachelraster: nicht klickbar */
.kasten-hausbesuche {
  background: var(--gruen-blass);
  border-radius: var(--radius);
  padding: var(--kasten-innenabstand);
}

.kasten-hausbesuche h3 {
  margin-bottom: var(--ueberschrift-abstand);
}

.kasten-hausbesuche p {
  color: var(--text-leise);
  font-size: 0.95rem;
}

/* Kacheln, die keine Links sind (div.kachel): kein Hover-Effekt */
div.kachel:hover {
  border-color: var(--linie);
}

/* Feste 3 Spalten auf dem Desktop, alle Kacheln gleich groß */
@media (min-width: 901px) {
  .kasten-hausbesuche {
    grid-column: span 2;
  }

  .kasten-hausbesuche.kasten-einfach {
    grid-column: span 1;
  }

  .kacheln.kacheln-drei {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
  }

  .kacheln-drei .kachel {
    min-height: 170px;
  }
}

/* ============================================
   Rechtstexte (Impressum, Datenschutz)
   ============================================ */

.rechtstext h2 {
  font-size: var(--rechtstext-h2-groesse);
  margin: var(--rechtstext-h2-oben) 0 var(--ueberschrift-abstand);
}

.rechtstext ul {
  margin-top: var(--rechtstext-absatz-abstand);
  padding-left: var(--rechtstext-liste-einzug);
}

.rechtstext ul + p {
  margin-top: var(--rechtstext-absatz-abstand);
}

/* ============================================
   Handy: Leiste, Pfeil, Sprungliste
   ============================================ */

@media (max-width: 900px) {
  /* Termin-Button als Leiste ganz unten */
  .knopf-sticky {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: calc(var(--leiste-hoehe) + env(safe-area-inset-bottom, 0px));
    padding: 0 var(--inhalt-polster) env(safe-area-inset-bottom, 0px);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .knopf-sticky.knopf-sticky-handy {
    display: flex;
  }

  /* Am Handy ersetzt die Leiste diese Buttons */
  .nur-desktop {
    display: none;
  }

  /* Platz unten, damit die Leiste den Footer nicht verdeckt */
  body:has(.knopf-sticky) {
    padding-bottom: calc(var(--leiste-hoehe) + env(safe-area-inset-bottom, 0px));
  }

  /* Pfeil nach oben: kleiner, rechts, über der Leiste */
  .nach-oben,
  .nach-oben.sichtbar {
    left: auto;
    right: var(--inhalt-polster);
    bottom: calc(var(--leiste-hoehe) + env(safe-area-inset-bottom, 0px) + var(--pfeil-abstand-leiste));
    width: var(--pfeil-groesse-handy);
    height: var(--pfeil-groesse-handy);
    font-size: 1rem;
  }

  .nach-oben {
    transform: translateY(8px);
  }

  .nach-oben.sichtbar {
    transform: translateY(0);
  }

  /* Kacheln oben als Sprungliste */
  .index {
    padding-bottom: var(--sprung-abstand-unten);
  }

  .index .kacheln {
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--linie);
  }

  .index .kachel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: var(--sprung-zeile-abstand) 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--linie);
    border-radius: 0;
  }

  .index .kachel h3 {
    margin-bottom: 0;
    font-size: 1rem;
  }

  .index .kachel p {
    display: none;
  }

  .index .kachel::after {
    content: "\203A";
    flex-shrink: 0;
    color: var(--gruen);
    font-size: 1.4rem;
    line-height: 1;
  }

  .index .kasten-hausbesuche {
    margin-top: var(--sprung-kasten-abstand);
  }
}
