/* Augenoptiker Bodewig, Stylesheet
   Schriften selbst gehostet (SIL Open Font License), keine externen Verbindungen. */

@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

:root {
  /* CI-Farben aus den Logodaten (logo_brand_bodewig.pdf): Rot #bf1a2c, Schriftgrau #4f4c4d, Augengrau #a7a5a6 */
  --rot: #bf1a2c;
  --rot-dunkel: #9a1824;
  --weinrot: #a43843;
  --silber: #a7a5a6;
  --grau: #4f4c4d;
  --text: #2b2a29;
  --text-leise: #5f5d5a;
  --papier: #faf8f5;
  --sand: #f1ece5;
  --linie: #e2dcd3;
  --weiss: #ffffff;
  /* Rot als Fläche (Buttons), bleibt in beiden Modi das CI-Rot */
  --rot-flaeche: #bf1a2c;
  --rot-flaeche-hover: #9a1824;

  color-scheme: light;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --breite: 72rem;
  --rand: clamp(1rem, 4vw, 2.5rem);
  --abstand: clamp(4rem, 9vw, 7.5rem);
  --kopf-basis: 6rem;
  --hinweis-h: 0px;
  --header-h: calc(var(--kopf-basis) + var(--hinweis-h));
  /* Schriftgrößen: wenige feste Stufen für alle Seiten */
  /* Fließtext, Einleitungen, Dachzeilen und Bildtexte haben dieselbe Größe: pro Abschnitt nur Überschrift und Text */
  --fs-text: 1.125rem;
  --fs-klein: var(--fs-text);
  --fs-lead: var(--fs-text);
  --fs-h3: clamp(1.4rem, 2.2vw, 1.6rem);
  --fs-h2: clamp(2rem, 4vw, 2.75rem);
  --fs-h1: clamp(2.5rem, 5.5vw, 4rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--rot-dunkel); }
:focus-visible { outline: 2px solid var(--rot); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 0.6em; color: var(--text); letter-spacing: 0.005em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }
p { margin: 0 0 1.1em; }
.kicker { font-family: var(--sans); font-size: var(--fs-text); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rot); margin-bottom: 1rem; display: block; }
.lead { font-size: var(--fs-lead); color: var(--text-leise); max-width: 38em; }

.container { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.section { padding-block: var(--abstand); }
.section--sand { background: var(--sand); }
.section--dunkel { background: #2b2a29; color: #ece8e2; }
.section--dunkel h2, .section--dunkel h3 { color: #fff; }
.section--dunkel .lead { color: #c9c4bc; }

.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--weiss); padding: 0.6rem 1rem; z-index: 100; }
.skip-link:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: 0.02em;
  padding: 0.85rem 1.6rem; border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--rot { background: var(--rot-flaeche); color: #fff; }
.btn--rot:hover { background: var(--rot-flaeche-hover); color: #fff; }
.btn--linie { border-color: currentColor; color: var(--text); background: transparent; }
.btn--linie:hover { background: var(--text); color: var(--papier); border-color: var(--text); }
.section--dunkel .btn--linie { color: #fff; }
.section--dunkel .btn--linie:hover { background: #fff; color: var(--text); }
.btn-gruppe { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* Header: verschwindet beim Runterscrollen, kommt beim Hochscrollen zurück */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(250, 248, 245, 0.96);
  border-bottom: 1px solid transparent;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(250, 248, 245, 0.88); backdrop-filter: blur(8px); } }
.site-header.is-gescrollt { border-bottom-color: var(--linie); }
.site-header.is-versteckt { transform: translateY(-100%); }
@media (min-width: 56.01rem) { .site-header.is-versteckt { transform: none; } }
.site-header.menue-offen { transform: none; }
.header-inner { height: calc(100% - var(--hinweis-h)); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: block; flex-shrink: 0; }
.logo img { height: 4.4rem; width: auto; }

.hauptnav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2rem; }
.hauptnav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 1rem; padding-block: 0.4rem; border-bottom: 1px solid transparent; }
.hauptnav a:hover, .hauptnav a[aria-current="page"] { border-bottom-color: var(--rot); color: var(--text); }
.hauptnav .btn { padding: 0.6rem 1.15rem; border-bottom: 0; color: #fff; }
.hauptnav .btn:hover { color: #fff; }

.menue-knopf { display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; color: var(--text); }
.menue-knopf span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transition: transform .25s, opacity .25s; }
.menue-knopf[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menue-knopf[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 56rem) {
  :root { --kopf-basis: 4.25rem; }
  .logo img { height: 2.6rem; }
  .menue-knopf { display: block; }
  .hauptnav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--papier);
    border-bottom: 1px solid var(--linie); padding: 1rem var(--rand) 2rem;
    display: none;
  }
  .hauptnav.ist-offen { display: block; }
  .hauptnav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .hauptnav li a { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--linie); font-size: var(--fs-text); }
  .hauptnav li:last-child { margin-top: 1.25rem; }
  .hauptnav .btn { display: flex; padding: 0.9rem; }
}

/* Großes Logo auf der Startseite (Desktop und Handy): steht oben mittig und rutscht beim Scrollen
   an seinen Platz oben links. Größe und Weg rechnet main.js, hier nur der Platz dafür. */
html.logo-buehne { --logo-gross: min(17.6rem, 40vh, calc(86vw / 2.4)); --logo-platz: calc(var(--logo-gross) - 0.15 * var(--kopf-basis) + 1.5rem); }
html.logo-buehne .logo { position: relative; opacity: 0; transition: opacity .3s ease; }
html.logo-buehne .logo img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; }
html.logo-buehne.logo-bereit .logo { opacity: 1; }
html.logo-buehne .site-header { background: rgba(250, 248, 245, calc(0.88 * var(--kopf-p, 0))); }
html.logo-buehne .site-header:not(.is-gescrollt) { backdrop-filter: none; }
html.logo-buehne .hero { padding-top: calc(var(--header-h) + var(--logo-platz) + clamp(1rem, 2.5vw, 2.25rem)); }

/* Weihnachtshinweis: roter Balken im Kopf, nachdem das Fenster weggeklickt wurde */
html.hat-hinweis { --hinweis-h: 2.4rem; }
.hinweis-balken { display: none; }
html.hat-hinweis .hinweis-balken {
  display: flex; align-items: center; justify-content: center; gap: 1rem; height: var(--hinweis-h);
  padding-inline: var(--rand); background: var(--rot-flaeche, #bf1a2c); color: #fff; font-size: 0.95rem; line-height: 1.2;
}
.hinweis-balken p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hinweis-balken .kurz { display: none; }
html.phase-ferien .vor-ferien, html.phase-vor .in-ferien { display: none !important; }
.hinweis-mehr { background: none; border: 1px solid rgba(255,255,255,.7); color: #fff; font: inherit; font-weight: 600; padding: 0.15rem 0.7rem; border-radius: 999px; cursor: pointer; flex-shrink: 0; }
.hinweis-mehr:hover { background: #fff; color: #bf1a2c; }
@media (max-width: 56rem) { .hinweis-balken .lang { display: none; } .hinweis-balken .kurz { display: inline; } .hinweis-balken strong { display: none; } }

/* Weihnachtshinweis: Fenster beim ersten Öffnen der Seite */
.hinweis-fenster { border: 0; padding: 0; max-width: min(34rem, calc(100vw - 2rem)); width: 100%; border-radius: 6px; background: var(--papier); color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.hinweis-fenster::backdrop { background: rgba(20, 18, 17, .6); backdrop-filter: blur(3px); }
.hinweis-inhalt { padding: clamp(1.75rem, 5vw, 2.75rem); border-top: 6px solid var(--rot-flaeche, #bf1a2c); text-align: center; }
.hinweis-logo { height: 3.4rem; width: auto; margin: 0 auto 1.5rem; display: block; }
.hinweis-inhalt h2 { margin-bottom: 0.75rem; }
.hinweis-inhalt p { color: var(--text-leise); margin: 0 0 1.25rem; }
.hinweis-inhalt p em { font-style: normal; color: var(--text); }
.hinweis-daten { margin: 0 0 1.5rem; text-align: left; border-top: 1px solid var(--linie); }
.hinweis-daten div { padding: 0.75rem 0; border-bottom: 1px solid var(--linie); }
.hinweis-daten dt { font-weight: 600; }
.hinweis-daten dd { margin: 0; color: var(--text-leise); }
.hinweis-inhalt form { margin: 0; }
.hinweis-inhalt .btn { width: 100%; justify-content: center; }

/* Bilderwechsel oben auf der Startseite */
.bilderwechsel { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.bilderwechsel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.bilderwechsel img.ist-aktiv { opacity: 1; }
.hero-bild .bilderwechsel img { aspect-ratio: auto; border-radius: 0; }
.bilderwechsel-pause { position: absolute; right: 0.75rem; top: 0.75rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 0; background: rgba(0,0,0,.35); cursor: pointer; display: grid; place-items: center; opacity: .7; transition: opacity .2s; }
.bilderwechsel-pause:hover, .bilderwechsel-pause:focus-visible { opacity: 1; }
.bilderwechsel-pause span { width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.bilderwechsel-pause.ist-pausiert span { width: 0; height: 0; border: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* Hero */
.hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 6rem)); padding-bottom: var(--abstand); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero h1 em { font-style: italic; color: var(--rot); }
.hero-bild { position: relative; margin: 0; }
.hero-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.hero-bild figcaption { position: relative; margin-top: 1rem; background: var(--weiss); padding: 1rem 1.25rem; font-size: var(--fs-klein); line-height: 1.45; box-shadow: 0 10px 30px rgba(0,0,0,.08); border-left: 3px solid var(--rot); }
.hero-fakten { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--linie); font-size: var(--fs-klein); color: var(--text-leise); }
.hero-fakten strong { color: var(--text); font-weight: 600; }
@media (max-width: 56rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-bild { margin-top: 1rem; margin-bottom: 1.5rem; }
  .hero-bild img, .bilderwechsel { aspect-ratio: 4 / 3; }
  .hero-bild figcaption { margin-top: 0.75rem; }
}

/* Zwei Spalten mit Bild */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.split--umgekehrt .split-bild { order: 2; }
@media (max-width: 56rem) { .split { grid-template-columns: 1fr; } .split--umgekehrt .split-bild { order: 0; } }

/* Leistungskarten */
.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem); margin-top: 3rem; }
.karte { background: var(--weiss); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid var(--linie); transition: transform .25s, box-shadow .25s; }
.karte:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(43, 42, 41, .08); color: inherit; }
.karte-bild { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.karte-bild img { width: 100%; height: 100%; object-fit: cover; }
.karte-text { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.karte-text p { color: var(--text-leise); }
.karte-mehr { margin-top: auto; font-weight: 600; color: var(--rot); font-size: var(--fs-klein); }
.karte-mehr::after { content: "\2192"; margin-left: 0.4rem; display: inline-block; transition: transform .2s; }
.karte:hover .karte-mehr::after { transform: translateX(4px); }
@media (max-width: 56rem) { .karten { grid-template-columns: 1fr; } }

/* Platzhalter für Fotos, die noch kommen */
.platzhalter { width: 100%; height: 100%; min-height: 12rem; display: grid; place-items: center; text-align: center; padding: 1rem; background: repeating-linear-gradient(135deg, var(--sand) 0 14px, #ebe4da 14px 28px); color: var(--text-leise); font-size: var(--fs-klein); }

/* Handwerk-Band */
.werkstatt-bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.werkstatt-bilder img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.werkstatt-bilder img:first-child { margin-top: 3rem; }
.schritte { list-style: none; padding: 0; margin: 2rem 0 0; counter-reset: schritt; display: grid; gap: 0.9rem; }
.schritte li { counter-increment: schritt; display: grid; grid-template-columns: 2.5rem 1fr; align-items: baseline; }
.schritte li::before { content: counter(schritt, decimal-leading-zero); font-family: var(--serif); font-size: var(--fs-lead); color: var(--silber); }

/* Zitat / Marken */
.zitat { font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.25; font-style: italic; max-width: 30em; margin: 0 auto; text-align: center; }
.zitat-quelle { text-align: center; margin-top: 1.5rem; color: var(--text-leise); font-size: var(--fs-klein); }

/* Termin + Kontakt */
.kontakt-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 56rem) { .kontakt-grid { grid-template-columns: 1fr; } }
.info-block { margin-bottom: 2rem; }
.info-block h3 { font-family: var(--sans); font-size: var(--fs-text); margin-bottom: 0.4rem; }
.info-block p { margin: 0; }
.zeiten { border-collapse: collapse; width: 100%; max-width: 30rem; font-variant-numeric: tabular-nums; }
.zeiten th, .zeiten td { text-align: left; padding: 0.4rem 1rem 0.4rem 0; border-bottom: 1px solid var(--linie); white-space: nowrap; vertical-align: top; }
.zeiten tbody th { font-weight: 600; }
.zeiten thead th { font-weight: 400; color: var(--text-leise); padding-bottom: 0.5rem; }
.zeiten .zu { color: var(--text-leise); }
.site-footer .zeiten th, .site-footer .zeiten td { border-bottom-color: #3a3836; padding-block: 0.3rem; }
.site-footer .zeiten tbody th { color: #e6e1d9; }
.site-footer .zeiten thead th { color: #8f8a83; }
.site-footer .zeiten .zu { color: #8f8a83; }
@media (max-width: 30rem) { .zeiten th, .zeiten td { padding-right: 0.6rem; } .zeiten { font-size: 1rem; } .zeiten td { white-space: normal; } }

.formular { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }
.formular h3 { margin-bottom: 1.25rem; }
.feld { margin-bottom: 1.1rem; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 36rem) { .feld-reihe { grid-template-columns: 1fr; } }
.feld label { display: block; font-weight: 600; font-size: var(--fs-klein); margin-bottom: 0.35rem; }
.feld .optional { font-weight: 400; color: var(--text-leise); }
.feld input, .feld textarea {
  width: 100%; font: inherit; font-size: var(--fs-text); color: var(--text); background: var(--papier);
  border: 1px solid #d3ccc1; border-radius: var(--radius); padding: 0.75rem 0.9rem;
  transition: border-color .2s, background-color .2s;
}
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--rot); background: #fff; }
.feld textarea { min-height: 9rem; resize: vertical; }
.einwilligung { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; font-size: var(--fs-klein); color: var(--text-leise); margin: 1.25rem 0 1.5rem; }
.einwilligung input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--rot); }
.hp-feld { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.formular-meldung { margin-top: 1.25rem; padding: 0.9rem 1rem; border-radius: var(--radius); display: none; }
.formular-meldung.ok { display: block; background: #eef5ee; color: #24502a; }
.formular-meldung.fehler { display: block; background: #fbeeee; color: #8a1c24; }

/* Footer */
.site-footer { background: #232221; color: #bdb8b0; padding-block: 4rem 2rem; font-size: var(--fs-klein); }
.site-footer a { color: #e6e1d9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 0.9fr 1.4fr; gap: 2.5rem; }
.footer-grid h4 { font-family: var(--sans); font-size: var(--fs-text); color: #fff; margin: 0 0 1rem; font-weight: 600; }
.footer-grid p { margin: 0 0 0.4rem; }
.footer-logo { display: inline-block; margin-bottom: 1.25rem; }
.footer-logo img { height: 4.2rem; width: auto; }
.footer-unten { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #3a3836; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer-unten ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
@media (max-width: 56rem) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile: feste Leiste mit Anrufen und Termin */
.mobil-leiste { display: none; }
@media (max-width: 56rem) {
  .mobil-leiste { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 40; background: var(--papier); border-top: 1px solid var(--linie); padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom)); gap: 0.6rem; transition: transform .35s ease; }
  .mobil-leiste .btn { padding: 0.75rem 0.5rem; }
  .mobil-leiste.is-versteckt { transform: translateY(110%); }
  body { padding-bottom: 4.5rem; }
}

/* Sanftes Einblenden beim Scrollen (nur wenn JS aktiv) */
.js .einblenden { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .einblenden.ist-sichtbar { opacity: 1; transform: none; }

/* ---------- Unterseiten ---------- */
.section--kompakt { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

.seiten-kopf { padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 5.5rem)); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--linie); }
.seiten-kopf .lead { margin-bottom: 0; }
.seiten-kopf--klein h1 { font-size: var(--fs-h2); }
.seiten-kopf .split-bild img { aspect-ratio: 16 / 10; }

/* Themenleiste auf Gutes Sehen: bleibt beim Scrollen oben stehen */
:root:has(.unternav-leiste) { scroll-padding-top: calc(var(--header-h) + 4.5rem); }
.unternav-leiste { position: sticky; top: var(--header-h); z-index: 45; background: rgba(250, 248, 245, 0.96); border-bottom: 1px solid var(--linie); padding-block: 0.75rem; transition: transform .35s ease; }
@supports (backdrop-filter: blur(8px)) { .unternav-leiste { background: rgba(250, 248, 245, 0.88); backdrop-filter: blur(8px); } }
@media (max-width: 56rem) {
  .kopf-versteckt .unternav-leiste { transform: translateY(calc(-100% - var(--header-h) - 2px)); }
  .unternav-leiste { padding-block: 0.6rem; }
  .unternav-leiste .unternav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; gap: 0.45rem; }
  .unternav-leiste .unternav::-webkit-scrollbar { display: none; }
  .unternav-leiste .unternav a { white-space: nowrap; padding: 0.4rem 0.85rem; }
}
.unternav { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.unternav a.ist-aktiv { border-color: var(--rot); color: var(--rot); }
.unternav a { text-decoration: none; color: var(--text); border: 1px solid var(--linie); background: var(--weiss); padding: 0.5rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: var(--fs-klein); transition: border-color .2s, color .2s; }
.unternav a:hover { border-color: var(--rot); color: var(--rot); }

.hinweis-box { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(3rem, 6vw, 5rem); padding: clamp(1.75rem, 4vw, 3rem); background: var(--weiss); border: 1px solid var(--linie); border-left: 3px solid var(--rot); border-radius: var(--radius); }
.hinweis-box p:last-child { margin-bottom: 0; }
@media (max-width: 56rem) { .hinweis-box { grid-template-columns: 1fr; } }

.leistungen { margin-top: clamp(2.5rem, 5vw, 4rem); }
.leistungen ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.5rem; }
.leistungen li { padding: 0.85rem 0; border-bottom: 1px solid var(--linie); color: var(--text-leise); }
.leistungen strong { color: var(--text); font-weight: 600; }
@media (max-width: 40rem) { .leistungen ul { grid-template-columns: 1fr; } }

.drei-spalten { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(3rem, 6vw, 4.5rem); }
.drei-spalten--zwei { grid-template-columns: repeat(2, 1fr); }
.drei-spalten article { border-top: 2px solid var(--rot); padding-top: 1.25rem; }
.drei-spalten p { color: var(--text-leise); margin-bottom: 0; }
@media (max-width: 56rem) { .drei-spalten, .drei-spalten--zwei { grid-template-columns: 1fr; } }

/* Werkstatt-Reise */
.reise { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(3rem, 8vw, 6rem); }
.reise-schritt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 6vw, 5rem); align-items: center; }
.reise-schritt:nth-child(even) .reise-bild { order: 2; }
.reise-bild img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.reise-nr { display: block; font-family: var(--serif); font-size: 3.5rem; line-height: 1; color: var(--silber); margin-bottom: 0.75rem; }
.reise-text p { color: var(--text-leise); max-width: 32em; }
@media (max-width: 56rem) { .reise-schritt { grid-template-columns: 1fr; } .reise-schritt:nth-child(even) .reise-bild { order: 0; } }

.haken-liste { list-style: none; padding: 0; margin: 1rem 0 0; }
.haken-liste li { position: relative; padding: 0.8rem 0 0.8rem 2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.haken-liste li::before { content: ""; position: absolute; left: 0.2rem; top: 1.25rem; width: 0.9rem; height: 0.45rem; border-left: 2px solid var(--rot); border-bottom: 2px solid var(--rot); transform: rotate(-45deg); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 3vw, 2.5rem); }
@media (max-width: 64rem) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 30rem) { .team-grid { grid-template-columns: 1fr; } }
.person-bild { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; background: var(--sand); }
.person-bild img { width: 100%; height: 100%; object-fit: cover; }
.person h2 { font-size: var(--fs-h3); margin-bottom: 0.2rem; }
.person h2 .geborene { display: block; font-family: var(--sans); font-size: var(--fs-klein); font-weight: 400; color: var(--text-leise); letter-spacing: 0.02em; margin-top: 0.25rem; }
.person-rolle { color: var(--rot); font-weight: 600; margin-bottom: 0; }
.person-zusatz { color: var(--text-leise); font-size: var(--fs-klein); margin: 0.2rem 0 0; }
/* Noch fehlende Angaben, gut sichtbar markiert */
.luecke { background: #fff3c4; color: #6b5200; padding: 0.05em 0.4em; border-radius: 3px; font-size: 0.92em; }

/* Rechtstexte */
.rechtstext { max-width: 46rem; }
.rechtstext h2 { font-size: var(--fs-h3); margin-top: 2.5rem; margin-bottom: 0.6rem; }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext ul { padding-left: 1.2rem; margin: 0 0 1.1em; }
.rechtstext li { margin-bottom: 0.3rem; }
.rechtstext .stand { margin-top: 2.5rem; color: var(--text-leise); }

/* Termin-Band am Seitenende */
.termin-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.termin-band h2 { margin-bottom: 0.4rem; }
.termin-band .lead { margin: 0; }
.termin-band .btn-gruppe { margin-top: 0; }
