/* Böhlitzer Blumenparadies – Stylesheet
   Farbwelt: Blattgrün, warmes Creme, Sonnengelb (Markise), Rosé (Rosen) */

:root {
  --gruen-900: #14301f;
  --gruen-700: #1f4a30;
  --gruen-500: #3c7a52;
  --gruen-100: #e4efe5;
  --creme:     #fbf8f1;
  --creme-2:   #f4eee1;
  --gelb:      #e9a63a;
  --gelb-hell: #f7d99a;
  --rose:      #c9756a;
  --rose-hell: #f2ded9;
  --text:      #22271f;
  --text-mild: #5a6357;
  --weiss:     #ffffff;
  --linie:     #e2dccd;

  --radius:    14px;
  --radius-lg: 24px;
  --schatten:      0 1px 2px rgba(20,48,31,.06), 0 8px 24px rgba(20,48,31,.07);
  --schatten-hoch: 0 2px 4px rgba(20,48,31,.08), 0 18px 40px rgba(20,48,31,.13);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --breite: 1140px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);

  color-scheme: light;
}

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

/* Das hidden-Attribut muss jede display-Regel überschreiben */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .22vw, 1.09rem);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen-700); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--gruen-900);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--creme { background: var(--creme-2); }
.section--gruen { background: var(--gruen-900); color: var(--gruen-100); }
.section--gruen h2, .section--gruen h3 { color: var(--weiss); }

.kopfzeile { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.kopfzeile.zentriert { margin-inline: auto; text-align: center; }
.kopfzeile p { color: var(--text-mild); font-size: 1.08em; }
.section--gruen .kopfzeile p { color: #bcd3c1; }

.augenbraue {
  display: inline-block;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gruen-500);
  margin-bottom: .9rem;
}
.section--gruen .augenbraue { color: var(--gelb-hell); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem;
  border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: .98rem;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; }
.btn--primaer { background: var(--gruen-700); color: var(--weiss); box-shadow: var(--schatten); }
.btn--primaer:hover { background: var(--gruen-900); box-shadow: var(--schatten-hoch); }
.btn--gelb { background: var(--gelb); color: #3a2506; box-shadow: var(--schatten); }
.btn--gelb:hover { background: #f5bb5c; box-shadow: var(--schatten-hoch); }
.btn--rand { border-color: rgba(31,74,48,.28); color: var(--gruen-700); background: transparent; }
.btn--rand:hover { border-color: var(--gruen-700); background: rgba(31,74,48,.06); }
.hero .btn--rand,
.section--gruen .btn--rand { border-color: rgba(255,255,255,.35); color: #fff; }
.hero .btn--rand:hover,
.section--gruen .btn--rand:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Kopfbereich / Navigation ---------- */
.site-kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,241,.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-kopf.ist-gescrollt { border-bottom-color: var(--linie); box-shadow: 0 6px 24px rgba(20,48,31,.06); }
.kopf-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.4rem; }

.marke { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.marke__zeichen { width: 2.3rem; height: 2.3rem; flex: none; }
.marke__name { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; line-height: 1.15; color: var(--gruen-900); }
.marke__zusatz { display: block; font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--gruen-500); }

.nav { display: flex; align-items: center; gap: clamp(.4rem, 1.4vw, 1.5rem); }
.nav a {
  text-decoration: none; color: var(--text); font-weight: 500; font-size: .96rem;
  padding: .4rem .2rem; border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav a:hover, .nav a.aktiv { color: var(--gruen-700); border-bottom-color: var(--gelb); }
.nav .btn { margin-left: .6rem; padding: .62rem 1.15rem; }
.nav .btn:hover { border-bottom-color: transparent; }
/* Buttonfarben müssen die allgemeine Linkfarbe der Navigation überschreiben */
.nav a.btn--primaer, .nav a.btn--primaer:hover { color: var(--weiss); }
.nav a.btn--gelb, .nav a.btn--gelb:hover { color: #3a2506; }

.nav-schalter {
  display: none; width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--linie); border-radius: 12px; cursor: pointer;
}
.nav-schalter span { position: relative; display: block; width: 19px; height: 2px; background: var(--gruen-900); border-radius: 2px; transition: background .2s ease; }
.nav-schalter span::before, .nav-schalter span::after { content: ""; position: absolute; left: 0; width: 19px; height: 2px; background: var(--gruen-900); border-radius: 2px; transition: transform .25s ease; }
.nav-schalter span::before { top: -6px; }
.nav-schalter span::after  { top: 6px; }
.nav-schalter[aria-expanded="true"] span { background: transparent; }
.nav-schalter[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-schalter[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-schalter { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--creme); border-bottom: 1px solid var(--linie);
    padding: .5rem var(--gutter) 1.25rem;
    box-shadow: 0 18px 30px rgba(20,48,31,.08);
    display: none;
  }
  .nav.offen { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--linie); }
  .nav a:hover, .nav a.aktiv { border-bottom-color: var(--linie); }
  .nav .btn { margin: 1rem 0 0; justify-content: center; border-bottom: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 12% -10%, #2b5c3b 0%, transparent 62%),
    radial-gradient(820px 480px at 92% 8%, #245038 0%, transparent 60%),
    linear-gradient(168deg, var(--gruen-900) 0%, #17361f 55%, #122b1a 100%);
  color: #eaf3e9;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3.5rem, 7vw, 6rem);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.045' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M70 118V46'/%3E%3Cpath d='M70 92c-14 0-22-8-22-20 12 0 22 8 22 20zM70 92c14 0 22-8 22-20-12 0-22 8-22 20z'/%3E%3Cpath d='M70 66c-11 0-18-7-18-16 10 0 18 7 18 16zM70 66c11 0 18-7 18-16-10 0-18 7-18 16z'/%3E%3Ccircle cx='70' cy='36' r='9'/%3E%3C/g%3E%3C/svg%3E");
  opacity: .8; pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
@media (max-width: 880px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--gelb-hell); }
.hero__lead { font-size: clamp(1.06rem, 1rem + .4vw, 1.22rem); color: #c8dccb; max-width: 34rem; }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero__marke {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .4rem .9rem .4rem .45rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px; font-size: .84rem; letter-spacing: .02em; color: #d9e8da;
  margin-bottom: 1.6rem;
}
.hero__marke b { color: #fff; font-weight: 600; }
.hero__marke > span:last-child { display: inline; }
.hero__marke .punkt { width: .5rem; height: .5rem; border-radius: 50%; background: var(--gelb); flex: none; margin-left: .3rem; }

/* Status-Karte */
.status-karte {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  backdrop-filter: blur(6px);
}
.status-karte__kopf { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.status-punkt { width: .7rem; height: .7rem; border-radius: 50%; background: #7dd396; box-shadow: 0 0 0 4px rgba(125,211,150,.22); flex: none; }
.status-punkt[data-zu] { background: #e9a63a; box-shadow: 0 0 0 4px rgba(233,166,58,.2); }
.status-text { font-weight: 600; color: #fff; font-size: 1.02rem; }
.status-zusatz { color: #b7cfbb; font-size: .9rem; }

.zeiten { list-style: none; margin: 0; padding: 0; }
.zeiten li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .98rem; }
.zeiten li:first-child { border-top: none; }
.zeiten dt, .zeiten .tag { color: #c8dccb; }
.zeiten .zeit { font-variant-numeric: tabular-nums; color: #fff; font-weight: 500; }
.zeiten li.heute .tag, .zeiten li.heute .zeit { color: var(--gelb-hell); font-weight: 600; }

/* ---------- Merkmalleiste ---------- */
.merkmale { background: var(--weiss); border-bottom: 1px solid var(--linie); }
.merkmale__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); padding-block: clamp(2rem, 4vw, 2.75rem); }
.merkmal { display: flex; gap: .85rem; align-items: flex-start; }
.merkmal svg { width: 1.6rem; height: 1.6rem; flex: none; color: var(--gruen-500); margin-top: .15rem; }
.merkmal b { display: block; font-size: .99rem; color: var(--gruen-900); }
.merkmal span { font-size: .91rem; color: var(--text-mild); line-height: 1.5; }

/* ---------- Leistungen ---------- */
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(1.15rem, 2.4vw, 1.85rem); }
.karte {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--schatten);
  transition: transform .25s ease, box-shadow .25s ease;
}
.karte:hover { transform: translateY(-4px); box-shadow: var(--schatten-hoch); }
.karte__bild { aspect-ratio: 4 / 3; overflow: hidden; background: var(--gruen-100); }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.karte:hover .karte__bild img { transform: scale(1.045); }
.karte__text { padding: 1.4rem 1.5rem 1.6rem; }
.karte__text p { color: var(--text-mild); font-size: .97rem; margin: 0; }
.karte__text h3 { margin-bottom: .45rem; }

/* Gutschein-Band: füllt die letzte Rasterzeile in voller Breite */
.karte--akzent {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, #f8e0ad 0%, var(--gelb) 100%);
  border-color: #e0983a;
}
.karte--akzent:hover { transform: none; }
.karte--akzent .karte__text {
  display: flex; align-items: center; gap: clamp(1.1rem, 3vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2.1rem) clamp(1.5rem, 3vw, 2.25rem);
}
.karte--akzent h3, .karte--akzent p { color: #40290a; }
.karte--akzent h3 { margin-bottom: .3rem; }
.karte--akzent p { opacity: .85; max-width: 52ch; }
.karte--akzent .karte__symbol {
  width: 3.4rem; height: 3.4rem; flex: none; padding: .75rem;
  color: #6b4610; background: rgba(255,255,255,.45);
  border-radius: 50%; box-sizing: content-box;
}
@media (max-width: 620px) {
  .karte--akzent .karte__text { flex-direction: column; align-items: flex-start; }
}

/* ---------- Über uns ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.bildrahmen { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--schatten-hoch); }
.bildrahmen img { width: 100%; }
.bildrahmen figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1.25rem .9rem;
  background: linear-gradient(to top, rgba(12,30,18,.82), transparent);
  color: #fff; font-size: .88rem;
}
.jahr {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 6.4rem; height: 6.4rem; border-radius: 50%;
  background: var(--gelb); color: #3a2506; box-shadow: var(--schatten-hoch);
  font-family: var(--serif); line-height: 1.05; text-align: center;
  position: absolute; right: 1.1rem; top: 1.1rem;
}
.jahr b { font-size: 1.5rem; }
.jahr span { font-size: .62rem; font-family: var(--sans); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.zitat {
  border-left: 3px solid var(--gelb);
  padding: .3rem 0 .3rem 1.25rem;
  font-family: var(--serif); font-size: 1.14rem; color: var(--gruen-900);
  margin: 1.6rem 0;
}
.signatur { font-size: .94rem; color: var(--text-mild); }
.signatur b { color: var(--gruen-900); }

/* ---------- Fleurop ---------- */
.fleurop-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem 2rem; margin-top: 2.5rem; list-style: none; padding: 0; }
.fleurop-liste li { border-top: 2px solid rgba(255,255,255,.16); padding-top: 1rem; }
.fleurop-liste b { display: block; color: #fff; font-size: 1.03rem; margin-bottom: .3rem; }
.fleurop-liste span { color: #bcd3c1; font-size: .95rem; }
.gutschein-werte { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.gutschein-werte span {
  padding: .35rem .8rem; border-radius: 999px; font-size: .88rem; font-variant-numeric: tabular-nums;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #eaf3e9;
}

/* ---------- Kontakt ---------- */
.kontakt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.info-karte {
  display: flex; flex-direction: column;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.25rem); box-shadow: var(--schatten);
}
.info-karte h3 { display: flex; align-items: center; gap: .6rem; }
.info-karte h3 svg { width: 1.3rem; height: 1.3rem; color: var(--gruen-500); }
.kontakt-liste { list-style: none; margin: 0; padding: 0; }
.kontakt-liste li { padding: .7rem 0; border-top: 1px solid var(--linie); }
.kontakt-liste li:first-child { border-top: none; }
.kontakt-liste a { text-decoration: none; font-weight: 600; }
.kontakt-liste a:hover { text-decoration: underline; }
.kontakt-liste small { display: block; color: var(--text-mild); font-size: .85rem; font-weight: 400; }

.zeiten--hell { margin-bottom: 1.5rem; }
.zeiten--hell li { border-top-color: var(--linie); }
.zeiten--hell .tag { color: var(--text-mild); }
.zeiten--hell .zeit { color: var(--gruen-900); }
.zeiten--hell li.heute { background: var(--gruen-100); border-radius: 8px; padding-inline: .6rem; }
.zeiten--hell li.heute .tag, .zeiten--hell li.heute .zeit { color: var(--gruen-700); font-weight: 700; }

.hinweis {
  margin-top: auto; padding: 1rem 1.2rem;
  background: var(--rose-hell); border-radius: var(--radius);
  font-size: .93rem; color: #6d3b34;
}
.hinweis b { color: #57271f; }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--gruen-900); color: #a9c4ae; padding-block: clamp(2.75rem, 5vw, 4rem) 2rem; }
.fuss__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; }
.fuss h4 { font-family: var(--serif); color: #fff; font-size: 1.05rem; margin: 0 0 .8rem; font-weight: 600; }
.fuss a { color: #cfe0d2; text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { padding: .3rem 0; font-size: .95rem; }
.fuss__unten {
  margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .87rem; color: #8faa94;
}

/* ---------- Mobile Anruf-Leiste ---------- */
.anrufleiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; gap: .6rem; padding: .7rem var(--gutter);
  padding-bottom: calc(.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(251,248,241,.95); backdrop-filter: blur(10px);
  border-top: 1px solid var(--linie);
}
.anrufleiste .btn { flex: 1; justify-content: center; padding: .8rem 1rem; }
@media (max-width: 700px) {
  .anrufleiste { display: flex; }
  body { padding-bottom: 4.6rem; }
}

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */
.rechtstext { max-width: 46rem; }
.rechtstext h2 { margin-top: 2.4rem; font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); }
.rechtstext h2:first-of-type { margin-top: 1rem; }
.rechtstext address { font-style: normal; }

/* ---------- Bewegung / Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .karte:hover, .btn:hover { transform: none; }
  .karte__bild img { transition: none; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Sprunglink wird sichtbar, sobald er den Tastaturfokus erhält */
a.sr-only:focus {
  position: fixed; top: .75rem; left: .75rem; z-index: 100;
  width: auto; height: auto; margin: 0; padding: .75rem 1.25rem;
  clip: auto; overflow: visible;
  background: var(--gruen-900); color: #fff; border-radius: 999px;
  text-decoration: none; box-shadow: var(--schatten-hoch);
}

/* ---------- Galerie ---------- */
.filterleiste {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.filter {
  font: inherit; font-size: .93rem; font-weight: 600;
  padding: .55rem 1.15rem; border-radius: 999px; cursor: pointer;
  background: var(--weiss); color: var(--gruen-700);
  border: 1px solid var(--linie);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.filter:hover { border-color: var(--gruen-500); }
.filter:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; }
.filter.aktiv { background: var(--gruen-700); border-color: var(--gruen-700); color: var(--weiss); }

.galerie {
  display: grid; gap: clamp(.6rem, 1.5vw, 1rem);
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
/* Auf dem Handy zwei Spalten statt einer sehr großen */
@media (max-width: 560px) {
  .galerie { grid-template-columns: repeat(2, 1fr); }
  .kachel figcaption { font-size: .78rem; }
}
.kachel { margin: 0; }
.kachel[hidden] { display: none !important; }
.kachel__knopf {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  background: var(--gruen-100); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--schatten);
  transition: transform .25s ease, box-shadow .25s ease;
}
.kachel__knopf:hover { transform: translateY(-3px); box-shadow: var(--schatten-hoch); }
.kachel__knopf:focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; }
.kachel__knopf img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.kachel figcaption {
  font-size: .84rem; color: var(--text-mild); line-height: 1.45;
  padding: .55rem .2rem 0;
}
.galerie-hinweis { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); color: var(--text-mild); }
.galerie-hinweis a { font-weight: 600; white-space: nowrap; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(.25rem, 2vw, 1.5rem);
  padding: clamp(1rem, 4vw, 3rem);
  padding-top: calc(clamp(1rem, 4vw, 3rem) + env(safe-area-inset-top, 0px));
  background: rgba(12, 26, 16, .93);
  backdrop-filter: blur(6px);
}
.lightbox__inhalt { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: .9rem; }
.lightbox__inhalt img {
  max-width: 100%; max-height: calc(100vh - 11rem);
  width: auto; margin-inline: auto; border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
.lightbox__inhalt figcaption { color: #dce8dd; text-align: center; font-size: .95rem; }
.lightbox__zu, .lightbox__pfeil {
  flex: none; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
  border: 1px solid rgba(255,255,255,.22); border-radius: 50%;
  transition: background-color .15s ease;
  line-height: 1; font-family: var(--sans);
}
.lightbox__zu:hover, .lightbox__pfeil:hover { background: rgba(255,255,255,.22); }
.lightbox__zu:focus-visible, .lightbox__pfeil:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; }
.lightbox__pfeil { width: 3rem; height: 3rem; font-size: 2rem; padding-bottom: .22em; }
.lightbox__zu {
  position: absolute; top: calc(1rem + env(safe-area-inset-top, 0px)); right: 1rem;
  width: 2.8rem; height: 2.8rem; font-size: 1.9rem; padding-bottom: .12em;
}
@media (max-width: 640px) {
  .lightbox__pfeil { position: absolute; bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px)); }
  .lightbox__pfeil--zurueck { left: 1.2rem; }
  .lightbox__pfeil--vor { right: 1.2rem; }
  .lightbox__inhalt img { max-height: calc(100vh - 13rem); }
}
