:root {
  color-scheme: light only;
  --bg: #f6f0e5;
  --surface: rgba(255, 250, 244, 0.82);
  --surface-strong: #fffaf4;
  --surface-dark: #1f2d2a;
  --surface-accent: linear-gradient(135deg, #1d5a4f 0%, #284e49 100%);
  --text: #201a17;
  --text-soft: #665c54;
  --line: rgba(50, 36, 27, 0.12);
  --accent: #1d5a4f;
  --accent-hover: #15453c;
  --warm: #b97b4d;
  --shadow: 0 24px 60px rgba(29, 26, 23, 0.12);
  --radius-sm: 1rem;
  --radius-md: 1.75rem;
  --radius-lg: 2.5rem;
  --container: min(1180px, calc(100vw - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

section[id],
footer[id] {
  scroll-margin-top: 1.25rem;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(185, 123, 77, 0.18), transparent 32%),
    radial-gradient(circle at bottom right, rgba(29, 90, 79, 0.18), transparent 24%),
    var(--bg);
  font:
    400 18px/1.7 "Georgia",
    "Times New Roman",
    serif;
}

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

a {
  color: inherit;
}

.page-shell {
  width: var(--container);
  margin: 0 auto;
  padding-bottom: 2rem;
}

.site-header {
  position: sticky;
  top: 1.58rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

@media (min-width: 641px) {
  .site-header + main {
    padding-top: 3rem;
  }

  .site-header + main > :first-child {
    margin-top: 0;
  }
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(246, 240, 229, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  padding-inline: 1.25rem;
}

.brand img {
  width: auto;
  height: 3.4rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-width: 3.25rem;
  min-height: 3.25rem;
  margin-right: 0.7rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(29, 90, 79, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent);
  font:
    700 0.82rem/1 "Arial",
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-toggle__icon {
  position: relative;
  width: 1.1rem;
  height: 0.8rem;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after,
.menu-toggle__icon span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle__icon::before {
  top: 0;
}

.menu-toggle__icon span {
  top: calc(50% - 1px);
}

.menu-toggle__icon::after {
  bottom: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
  transform: translateY(0.38rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
  transform: translateY(-0.38rem) rotate(-45deg);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
  margin: 0;
  padding: 0.5rem;
}

.site-nav li {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-nav a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-soft);
  font:
    600 0.92rem/1.2 "Arial",
    sans-serif;
  letter-spacing: 0.02em;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
  background: rgba(29, 90, 79, 0.08);
  outline: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding-right: 0.65rem;
}

.lang-switch a {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-soft);
  font:
    700 0.8rem/1 "Arial",
    sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lang-switch a:hover,
.lang-switch a:focus-visible,
.lang-switch a[aria-current="page"] {
  color: #fff;
  background: var(--accent);
  outline: none;
}

.hero,
.section,
.site-footer {
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  min-height: 45rem;
}

/* H1 (Hero) und die H2-Überschriften teilen sich exakt dieselbe
   Größe. Der Max-Wert ist bewusst so gewählt, dass die längste
   Hero-Zeile „Mehr Gleichgewicht." in der ~35rem breiten Copy-
   Spalte des zweispaltigen Desktop-Layouts auf eine Zeile passt.
   Den Zeilenumbruch pro Satz erzwingt das Hero-Template via <br>. */
.hero__copy h1,
.section-heading h2,
.about__copy h2,
.contact__copy h2 {
  margin: 0 0 1rem;
  font:
    600 clamp(2.2rem, 3.2vw, 3rem)/1.05 "Georgia",
    serif;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.lead {
  font-size: 1.25rem;
  color: var(--accent);
}

.hero__copy p {
  max-width: 34rem;
}

.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font:
    700 0.95rem/1 "Arial",
    sans-serif;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  background: var(--accent-hover);
  outline: none;
}

.button--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--accent);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.hero__media {
  position: relative;
  min-height: 40rem;
}

.hero__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 40rem;
  border-radius: 1.8rem;
  object-fit: cover;
  object-position: center 10%;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font:
    700 0.78rem/1.2 "Arial",
    sans-serif;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.trust-strip p {
  margin: 0;
  color: var(--text-soft);
  text-align: center;
  font:
    600 0.95rem/1.4 "Arial",
    sans-serif;
}

.section {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.section--tinted {
  background:
    radial-gradient(circle at top right, rgba(185, 123, 77, 0.12), transparent 28%),
    rgba(255, 251, 246, 0.88);
}

.section--dark {
  color: #f4efe7;
  background:
    linear-gradient(rgba(18, 31, 28, 0.7), rgba(18, 31, 28, 0.78)),
    url("../images/feedback-bg.jpg") center/cover no-repeat;
}

.section--dark .eyebrow,
.section--dark .section-heading p {
  color: rgba(244, 239, 231, 0.72);
}

.section--accent {
  color: #f7f3ed;
  background: var(--surface-accent);
}

.section--accent .button {
  background: #fffaf4;
  color: var(--accent);
  border-color: rgba(255, 255, 255, 0.72);
}

.section--accent .button:hover,
.section--accent .button:focus-visible {
  background: #f2e7d9;
  color: var(--accent-hover);
}

.section--accent .button--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fffaf4;
  border-color: rgba(255, 255, 255, 0.46);
}

.section--accent .button--ghost:hover,
.section--accent .button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.service-grid,
.quote-grid,
.practice-layout,
.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.practice-card,
.quote-card,
.contact-card {
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.64);
}

.service-card h3,
.practice-card h3,
.contact-card h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: 1.45rem;
}

.service-card h3 + *,
.practice-card h3 + *,
.contact-card h3 + *,
.info-card h3 + * {
  margin-top: 0;
}

.service-card ul,
.practice-card ul,
.link-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.service-card li,
.practice-card li,
.link-list li {
  margin-top: 0.45rem;
}

.service-card__media {
  margin: 0.5rem 0 0;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(29, 90, 79, 0.12);
  background: rgba(255, 255, 255, 0.88);
}

.service-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
  object-position: 16% center;
}

.service-card--image {
  padding: 0;
  overflow: hidden;
}

.service-card--image .service-card__media {
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.about {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 2rem;
  /* Oben ausrichten: Name/Intro starten auf Höhe des Portraits. */
  align-items: start;
}

.about__copy {
  order: 1;
}

.about__image {
  order: 2;
}

.about__image {
  display: flex;
  justify-content: flex-end;
  /* Oben ausrichten (statt im Grid vertikal zentriert), damit das
     Portrait auf Höhe des Namens „Kristina Reutlinger" beginnt. */
  align-self: start;
}

.about__image img {
  width: min(100%, 24rem);
  margin-left: auto;
  height: auto;
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

/* Portrait als Lightbox-Trigger: Button ohne eigene Optik, Bild füllt
   ihn aus und behält Rundung/Schatten. */
.about__image .gallery-trigger {
  display: block;
  width: min(100%, 24rem);
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.about__image .gallery-trigger img {
  width: 100%;
  margin: 0;
}

/* Die Info-Boxen liegen als eigene Reihe unter Intro + Portrait und
   nutzen die volle Breite der about-Sektion (nicht nur die Textspalte). */
.about__facts {
  order: 3;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1.3rem;
  /* stretch (Default): nebeneinander stehende Boxen werden gleich hoch,
     auch wenn die Textmenge unterschiedlich ist. */
  align-items: stretch;
}

.about__facts p {
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 250, 244, 0.9);
  border: 1px solid var(--line);
}

/* Die Buch-Box (mit Cover) und die Box direkt davor spannen über beide
   Spalten — so bleibt das Cover gross und es entsteht keine halbe
   Leer-Spalte neben der ungeraden Box. Die übrigen Text-Boxen stehen
   2-spaltig nebeneinander. */
.about__facts > p:has(.book-cover),
.about__facts > p:has(+ p .book-cover) {
  grid-column: 1 / -1;
}

/* Buch-Box: Cover als verlinktes Block-Bild (Klick öffnet das PDF) plus
   separater PDF-Textlink. Markup steckt im fact.text (raw HTML). */
.about__facts .book-cover-link {
  display: block;
  margin-top: 0.85rem;
}

.about__facts .book-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.6rem;
  border: 1px solid var(--line);
}

.about__facts .book-pdf-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-weight: 600;
}

.quote-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-card {
  /* blockquote hat per UA-Default margin-inline: 40px — das machte die
     Zitat-Boxen (Feedbacks) schmaler als den Sektions-Inhalt, besonders
     auf Mobile. Zurücksetzen, damit die Box die volle Breite ihrer
     Grid-/Stack-Spalte einnimmt wie die Karten der anderen Sektionen. */
  margin: 0;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.quote-card p {
  margin-top: 0;
  font-size: 1.16rem;
}

.quote-card footer {
  color: rgba(244, 239, 231, 0.7);
  font:
    700 0.84rem/1.2 "Arial",
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.quote-card--wide {
  grid-column: span 3;
}

.practice-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
}

.contact__copy,
.contact-card {
  display: flex;
  flex-direction: column;
}

.contact__copy h2 {
  color: #fffdfa;
  text-shadow: 0 2px 12px rgba(19, 32, 30, 0.28);
}

.section--accent .contact__copy .eyebrow {
  color: #fffdfa;
}

.contact-card {
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
}

.contact-card__map {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin-top: 1.35rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(29, 90, 79, 0.16);
  background: #f4f1ec;
}

.contact-card__map iframe {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 23rem;
  border: 0;
}

.contact-card__map-link {
  display: block;
  padding: 0.85rem 1rem 0.95rem;
  color: var(--accent);
  font: 700 0.78rem/1.2 "Arial", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer {
  padding: clamp(2rem, 4vw, 3rem);
  margin-top: 2rem;
  border: 0;
  border-radius: 0;
  background: rgba(238, 215, 188, 0.72);
  box-shadow: none;
}

.footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-grid section {
  padding-right: 1rem;
}

.footer-grid p {
  margin-top: 0;
}

@media (max-width: 980px) {
  .hero,
  .about,
  .contact,
  .service-grid,
  .quote-grid,
  .practice-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quote-card--wide {
    grid-column: auto;
  }

  section[id],
  footer[id] {
    scroll-margin-top: 1rem;
  }

  .site-header {
    align-items: center;
    border-radius: 1.5rem;
    padding: 0.85rem 0;
  }

  .brand {
    padding-right: 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-tools {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(246, 240, 229, 0.96);
    box-shadow: var(--shadow);
  }

  .site-tools.is-open {
    display: flex;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  .site-nav a {
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.58);
  }

  .lang-switch {
    justify-content: flex-start;
    padding-right: 0;
  }

  .about__copy,
  .about__image {
    order: initial;
  }

  .about__image img {
    width: min(100%, 20rem);
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  /* Info-Boxen auf Mobile wieder einspaltig stapeln. */
  .about__facts {
    grid-template-columns: 1fr;
  }

  .page-shell {
    width: min(calc(100vw - 1.25rem), 100%);
    overflow-x: clip;
  }

  .site-header {
    top: 0.8rem;
    padding: 0.75rem 0;
  }

  .site-header + main {
    padding-top: 1.6rem;
  }

  .site-header + main > :first-child {
    margin-top: 0;
  }

  .brand {
    padding-inline: 0.95rem;
  }

  .brand img {
    height: 2.7rem;
  }

  .menu-toggle {
    min-width: 2.95rem;
    min-height: 2.95rem;
    margin-right: 0.45rem;
    padding: 0.7rem 0.85rem;
  }

  .hero,
  .section,
  .site-footer {
    margin-top: 1rem;
  }

  .hero {
    gap: 1rem;
    padding: 1.25rem;
    min-height: auto;
  }

  .hero__media {
    min-height: 0;
  }

  .hero__media img {
    /* Mobile: Bild in voller Höhe zeigen, damit das ganze Wasser des
       Flusses sichtbar ist (Quellbild ist hochformatig). Kein fixer
       13rem-Crop mehr. max-height greift nur als Sicherheitsnetz bei
       extrem hohen Bildern; dann bleibt via object-position der untere
       Bildteil (Wasser) sichtbar. */
    min-height: 0;
    height: auto;
    max-height: 32rem;
    border-radius: 1.2rem;
    object-fit: cover;
    object-position: center bottom;
  }

  .hero__copy h1,
  .section-heading h2,
  .about__copy h2,
  .contact__copy h2 {
    font-size: clamp(1.5rem, 6.4vw, 2rem);
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .lead {
    font-size: 1.05rem;
  }

  .section {
    padding: 1.25rem;
  }

  .section-heading {
    margin-bottom: 1.35rem;
  }

  .service-card,
  .practice-card,
  .quote-card,
  .contact-card,
  .info-card {
    padding: 1.05rem;
  }

  /* Auf Mobile sichtbares Padding bringt einen weißen Innenrahmen
     um das Image — dem Bild geben wir hier wieder Rundungen, damit
     es zum Stil der anderen Sektions-Bilder passt. Auf Desktop ist
     das Padding 0 (Regel oben), das Bild füllt die Card, parent's
     overflow:hidden clipt zur äußeren Card-Radius. */
  .service-card--image .service-card__media {
    border-radius: 1rem;
  }

  .contact {
    gap: 1rem;
  }

  .contact__copy,
  .contact-card,
  .contact-card__map,
  .contact-card__map iframe,
  .practice-card,
  .service-card,
  .info-card {
    min-width: 0;
  }

  .site-nav a,
  .trust-strip p,
  .button {
    font-size: 0.9rem;
  }

  .hero__copy h1,
  .section-heading h2,
  .about__copy h2,
  .contact__copy h2 {
    letter-spacing: -0.03em;
  }

  .contact-card__map {
    margin-top: 1rem;
  }

  .contact-card__map iframe {
    min-height: 16rem;
  }

  .info-card h3,
  .service-card h3,
  .practice-card h3,
  .contact-card h3 {
    font-size: 1.22rem;
  }
}


.section--split .service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.long-copy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

.long-copy p,
.long-copy li {
  max-width: 72ch;
}

.long-copy ul {
  margin: 0.25rem 0 0;
  padding-left: 1.15rem;
}

.note-link {
  color: var(--warm);
  font-weight: 700;
}

.quote-stack {
  display: grid;
  gap: 1.25rem;
}

.quote-stack .quote-card {
  background: rgba(255, 255, 255, 0.1);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: var(--shadow);
}

.gallery-grid--single {
  display: block;
  /* figure hat per UA-Default margin-inline: 40px — die Regel
     `.gallery-grid figure` trifft nur Kind-figures (Galerie), nicht das
     figure, das selbst .gallery-grid--single trägt. Darum hier links/rechts
     explizit auf 0, damit das Einzelbild volle Spaltenbreite einnimmt. */
  margin: 1rem 0 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: var(--shadow);
}

.gallery-grid--single button {
  height: 13rem;
}

.gallery-grid--single figcaption {
  padding: 0.8rem 1rem 1rem;
}

.gallery-grid button {
  display: block;
  width: 100%;
  height: 9rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 0.8rem 1rem 1rem;
  color: var(--text-soft);
  font: 600 0.9rem/1.4 "Arial", sans-serif;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(20, 17, 14, 0.82);
}

.lightbox.is-open {
  display: flex;
}

.lightbox__frame {
  position: relative;
  width: min(1100px, 100%);
  padding: 0.9rem;
  border-radius: 1.5rem;
  background: rgba(255, 250, 244, 0.98);
  box-shadow: var(--shadow);
}

.lightbox__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2.8rem;
  height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(29, 90, 79, 0.12);
  color: var(--accent);
  font: 700 1rem/1 "Arial", sans-serif;
  cursor: pointer;
}

.lightbox__image {
  width: 100%;
  max-height: 78vh;
  border-radius: 1rem;
  object-fit: contain;
}

.lightbox__caption {
  margin: 0.8rem 0 0;
  color: var(--text-soft);
  font: 600 0.95rem/1.4 "Arial", sans-serif;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
}

.info-card {
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.64);
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: 1.45rem;
}

.text-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.legal-section p + p {
  margin-top: 1rem;
}

.footer-grid--wide {
  grid-template-columns: 1fr 1fr 1.2fr;
}

@media (max-width: 980px) {
  .section--split .service-grid,
  .info-grid,
  .text-columns,
  .footer-grid--wide {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid button {
    height: 8rem;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid button {
    height: 10rem;
  }

  /* Einzelbild der text-image-Sektion (z. B. „Praxis von aussen") soll
     auf Mobile genauso breit laufen wie die Galerie-Bilder. Dafür wird
     die umschließende info-card zum reinen Wrapper (kein Padding/Rahmen/
     Hintergrund), sodass das figure bis an den Sektions-Innenrand reicht —
     identisch zu den direkt in .section liegenden Galerie-figures. Die
     Text-info-card bleibt unberührt (:has trifft nur die Bild-Karte). */
  .info-card:has(> .gallery-grid--single) {
    padding: 0;
    border: 0;
    background: none;
  }
}

/* ---- Kontaktformular (v0.9.0, Kontrast-Fix v1.1.1) ---- */
.contact-form {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
    /* Vollständig opak — auf section--accent (dunkelgrün) würde
       sonst der Hintergrund durchscheinen und Text unleserlich machen. */
    background: var(--surface-strong, #fffaf4);
    color: var(--text, #201a17);
    padding: 1.25rem 1.5rem 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--line, rgba(50,36,27,0.18));
}
.contact-form__honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.contact-form__alert {
    margin: 0;
    padding: .65rem .85rem;
    border-radius: 10px;
    font-size: .95rem;
}
.contact-form__alert--success {
    background: #e8f3ee;
    color: #1d5a4f;
    border: 1px solid rgba(29,90,79,0.25);
}
.contact-form__alert--error {
    background: #fdecec;
    color: #7a1d1d;
    border: 1px solid rgba(122,29,29,0.2);
}
.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (max-width: 640px) {
    .contact-form__grid { grid-template-columns: 1fr; }
}
.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    color: var(--text, #201a17);
}
.contact-form__field--full { grid-column: 1 / -1; }
.contact-form__field--inline {
    flex-direction: row;
    align-items: flex-start;
    gap: .5rem;
}
.contact-form__field > span,
.contact-form__field--inline > span {
    color: var(--text, #201a17);
    font-weight: 600;
    font-size: .95rem;
}
.contact-form__field--inline > span {
    font-weight: 400;
}
.contact-form__field--inline a { color: var(--accent, #1d5a4f); text-decoration: underline; }
.contact-form__field input,
.contact-form__field textarea {
    padding: .55rem .7rem;
    font: inherit;
    border: 1px solid var(--line, rgba(50,36,27,0.25));
    border-radius: 8px;
    background: #ffffff;
    color: var(--text, #201a17);
}
.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
    color: rgba(32, 26, 23, 0.45);
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
    outline: 2px solid var(--accent, #1d5a4f);
    outline-offset: 1px;
    border-color: var(--accent, #1d5a4f);
}
.contact-form__actions {
    display: flex;
    justify-content: flex-end;
}

/* ---- Fehlerseiten (v0.10.0) ---- */
.error-page {
    min-height: 60vh;
    display: grid;
    place-items: center;
}
.error-page__copy { text-align: center; max-width: 540px; }
.error-page__details {
    margin-top: 1.5rem;
    text-align: left;
    background: rgba(0, 0, 0, .15);
    color: #f7f4ee;
    padding: .9rem 1rem;
    border-radius: 10px;
    font-size: .85rem;
    overflow-x: auto;
    white-space: pre-wrap;
}

/* -------------------------------------------------------------------------
 * Banner-Sektion (seit v1.9.0).
 * Vollbreites Hintergrundbild mit drei Text-Ebenen (Text links,
 * Site-Logo Mitte, Text rechts). Desktop = 3-Spalten-Grid,
 * Mobile (< 768 px) = vertikal gestackt.
 * ------------------------------------------------------------------------- */
.banner {
    position: relative;
    margin-top: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--surface);
    /* Niedrigere Bildbox. */
    min-height: clamp(14rem, 28vw, 24rem);
    isolation: isolate;
}

.banner__background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* Sanfter Aufhellungs-Layer für Text-Lesbarkeit, falls das Bild
       dunkle Stellen hat. Subtiler Weiß-Hauch, keine harte Maske. */
    filter: brightness(1.02);
}

.banner__overlay {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: clamp(1rem, 4vw, 3rem);
    padding: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 5vw, 4rem);
    min-height: inherit;
}

.banner__text {
    margin: 0;
    font-family: var(--font-serif, "Cormorant Garamond", "Georgia", serif);
    font-weight: 500;
    font-style: italic;
    /* Max auf 46.56 px (2.91rem) gedeckelt — angenehmere Grösse;
       der Umbruch wird über echte Zeilenumbrüche im Text gesteuert. */
    font-size: clamp(1.75rem, 4vw, 2.91rem);
    line-height: 1.1;
    color: #fff;
    /* Subtile graue Kontur: -webkit-text-stroke greift in modernen
       Browsern (95%+); text-shadow ist Fallback + zusätzlicher Glow
       für extra Lesbarkeit über hellen Bildstellen. */
    -webkit-text-stroke: 1px rgba(60, 60, 60, .55);
    text-shadow:
        0 1px 3px rgba(0, 0, 0, .35),
        0 0 1px rgba(60, 60, 60, .5);
    paint-order: stroke fill;
}

.banner__text--left {
    justify-self: end;
    text-align: right;
}

.banner__text--right {
    justify-self: start;
    text-align: left;
}

.banner__logo {
    display: block;
    justify-self: center;
    /* Kleiner als zuvor (max 320 → 240 px), damit die Textspalten mehr
       Platz bekommen und „Willkommen in" auf eine Zeile passt. */
    width: clamp(160px, 18vw, 240px);
    height: auto;
    /* Reine Auto-Höhe, kein Stretch — Editor pflegt die Verhältnisse
       in den Site-Settings. */
}

@media (max-width: 767px) {
    .banner {
        min-height: clamp(22rem, 80vw, 30rem);
    }
    .banner__overlay {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
        padding: 2rem 1.5rem;
    }
    .banner__text--left,
    .banner__text--right {
        justify-self: center;
        text-align: center;
    }
    .banner__logo {
        order: 0;
        width: clamp(160px, 50vw, 240px);
    }
    .banner__text--left  { order: -1; }
    .banner__text--right { order:  1; }
}
