/*
Theme Name: Mauerblümchen
Theme URI: https://mauerblümchenkladow.de
Author: Mauerblümchen Kladow
Description: Eigenes Block-Theme für den Blumenladen Mauerblümchen in Berlin-Kladow – erdige Töne, Antiqua-Überschriften, Bogenbilder.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPLv2 or later
Text Domain: mauerbluemchen
*/

/* ---------- Schriften (lokal, keine Verbindung zu Google) ---------- */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("assets/fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 600; font-display: swap; src: url("assets/fonts/fraunces-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("assets/fonts/dm-sans.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: italic; font-weight: 300 500; font-display: swap; src: url("assets/fonts/dm-sans-italic.woff2") format("woff2"); }

/* ---------- Farben & Maße ---------- */
:root {
  --leinen: #F6EEEC;
  --creme: #FBF6F2;
  --sand: #EBDAD7;
  --altrosa: #E8CBC8;
  --taupe: #A8919A;
  --erde: #5E4654;
  --rost-text: #7A2B52; /* Beere für kleine Schrift (Kontrast) */
  --kohle: #3B1A2E;
  --rost: #7A2B52;
  --linie: rgba(59, 26, 46, .16);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --breit: 1240px;
  --rand: max(18px, 4.5vw);
  --abstand: clamp(4.5rem, 10vw, 8.5rem);
  --bogen: 999px 999px 0 0;
}

/* ---------- Grundlagen ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 140px; } /* Fokus und Sprungziele nicht unter der festen Kopfzeile */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--leinen); color: var(--kohle);
  font-family: var(--sans); font-size: 1.0625rem; font-weight: 400; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
main { display: block; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--taupe); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--rost); text-decoration-color: currentColor; }
:where(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--rost); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--altrosa); }

h1, h2, h3, h4, .serif {
  font-family: var(--serif); font-weight: 340; line-height: 1.06; letter-spacing: -.02em;
  font-variation-settings: "SOFT" 60, "WONK" 0; text-wrap: balance; margin: 0;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.15; }
h1 em, h2 em, h3 em, .serif em { font-style: italic; font-weight: 300; font-variation-settings: "SOFT" 100, "WONK" 1; }
p { margin: 0; }
* + p { margin-block-start: 1em; }
/* WordPress-Blockabstände neutralisieren – ohne Gewicht (:where), damit die eigenen Abstände gelten. */
:where(.is-layout-flow, .is-layout-constrained) > * { margin-block-start: 0; }

.eyebrow {
  font-family: var(--sans); font-size: .74rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--erde); line-height: 1.3;
  display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rost); flex: none; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.65; color: var(--erde); max-width: 36em; }
.klein { font-size: .9rem; }
.text-erde { color: var(--erde); }

/* ---------- Rahmen ---------- */
.abschnitt { padding: var(--abstand) var(--rand); position: relative; }
.abschnitt.eng { padding-block: clamp(3rem, 6vw, 5rem); }
.innen { max-width: var(--breit); margin-inline: auto; }
.schmal { max-width: 760px; margin-inline: auto; }
.hg-creme { background: var(--creme); }
.hg-sand { background: var(--sand); }
.hg-altrosa { background: var(--altrosa); }
.hg-altrosa .eyebrow, .hg-altrosa .text-erde, .hg-altrosa .lead { color: #4E3644; }
.hg-kohle { background: var(--kohle); color: var(--leinen); }
.hg-kohle .eyebrow, .hg-kohle .lead, .hg-kohle .text-erde { color: #D6C2CB; }
.hg-kohle a:hover { color: var(--altrosa); }

/* ---------- Knöpfe ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-block-start: 2rem; }
.wp-block-button__link, .knopf {
  display: inline-flex; align-items: center; gap: .6em; min-height: 48px; box-sizing: border-box;
  padding: .85em 1.6em; border-radius: 999px; border: 1px solid var(--kohle);
  background: var(--kohle); color: var(--leinen) !important; text-decoration: none;
  font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  transition: background .25s, color .25s, border-color .25s;
}
.wp-block-button__link:hover, .knopf:hover { background: var(--rost); border-color: var(--rost); color: #fff !important; }
.is-style-outline .wp-block-button__link, .knopf.hell { background: transparent; color: var(--kohle) !important; }
.is-style-outline .wp-block-button__link:hover, .knopf.hell:hover { background: var(--kohle); color: var(--leinen) !important; border-color: var(--kohle); }
.hg-kohle .wp-block-button__link { background: var(--leinen); color: var(--kohle) !important; border-color: var(--leinen); }
.hg-kohle .wp-block-button__link:hover { background: var(--rost); border-color: var(--rost); color: #fff !important; }
.hg-kohle .is-style-outline .wp-block-button__link { background: transparent; color: var(--leinen) !important; border-color: rgba(246,238,236,.5); }
.hg-kohle .is-style-outline .wp-block-button__link:hover { background: var(--leinen); color: var(--kohle) !important; }
.textlink {
  font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: .2em;
}

/* ---------- Bilder ---------- */
.wp-block-image { margin: 0; }
.wp-block-image img { width: 100%; }
.bogen img { border-radius: var(--bogen); aspect-ratio: 4 / 5; object-fit: cover; }
.rund img { border-radius: 4px; aspect-ratio: 3 / 2; object-fit: cover; }
.wp-block-image figcaption, .bildzeile {
  font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--erde); margin-top: .7rem;
}

/* ---------- Kopf ---------- */
.wp-site-blocks > header { position: sticky; top: -36px; z-index: 50; }
.infoleiste {
  background: var(--kohle); color: #E2D0D8; font-size: .8rem; letter-spacing: .04em;
  height: 36px; box-sizing: border-box; padding: 0 var(--rand); display: flex; align-items: center;
  white-space: nowrap; overflow: hidden;
}
.infoleiste .innen { display: flex; justify-content: space-between; gap: 1rem; flex: 1; }
.infoleiste a { color: inherit; text-decoration: none; }
.infoleiste a:hover { color: #fff; }
.kopf { background: rgba(246, 238, 236, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.kopf.gescrollt { border-bottom-color: var(--linie); }
.kopf .innen { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.05rem var(--rand); max-width: calc(var(--breit) + 2 * var(--rand)); box-sizing: border-box; }
.marke { text-decoration: none; display: inline-flex; align-items: center; gap: .62rem; line-height: 1; color: var(--rost); }
.marke:hover { color: var(--rost); }
.marke-zeichen { width: auto; height: clamp(1.8rem, 2.75vw, 2.25rem); flex: none; }
.marke-text { display: flex; flex-direction: column; }
.marke-name { font-family: var(--serif); font-size: clamp(1.55rem, 2.4vw, 1.95rem); font-weight: 400; letter-spacing: -.025em; font-variation-settings: "SOFT" 100, "WONK" 0; }
.marke-ort { font-size: .64rem; letter-spacing: .32em; text-transform: uppercase; color: var(--kohle); margin-top: .42rem; padding-left: .1em; }
.navi ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1.1rem, 2.4vw, 2.2rem); align-items: center; }
.navi a { text-decoration: none; font-size: .9rem; letter-spacing: .02em; position: relative; padding: .4rem 0; }
.navi a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rost); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.navi a:hover::after, .navi a[aria-current="page"]::after { transform: scaleX(1); }
.navi a[aria-current="page"] { color: var(--rost-text); }
.navi .navi-anruf a { border: 1px solid var(--kohle); border-radius: 999px; padding: .55rem 1.1rem; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.navi .navi-anruf a::after { display: none; }
.navi .navi-anruf a:hover { background: var(--kohle); color: var(--leinen); }
.menue-knopf { display: none; }

@media (max-width: 960px) {
  .kopf { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--leinen); }
  .menue-knopf {
    display: inline-flex; align-items: center; gap: .6rem; background: none; border: 1px solid var(--kohle);
    border-radius: 999px; padding: .55rem 1rem; min-height: 44px; font: 500 .74rem/1 var(--sans);
    letter-spacing: .16em; text-transform: uppercase; color: var(--kohle); cursor: pointer;
  }
  .menue-knopf span { display: block; width: 16px; height: 1px; background: currentColor; position: relative; }
  .menue-knopf span::before, .menue-knopf span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1px; background: currentColor; transition: transform .3s; }
  .menue-knopf span::before { top: -5px; } .menue-knopf span::after { top: 5px; }
  .menue-offen .menue-knopf span { background: transparent; }
  .menue-offen .menue-knopf span::before { transform: translateY(5px) rotate(45deg); }
  .menue-offen .menue-knopf span::after { transform: translateY(-5px) rotate(-45deg); }
  .navi {
    position: fixed; inset: 0; top: var(--kopf-hoehe, 74px); background: var(--leinen); padding: 2rem var(--rand);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto;
  }
  .menue-offen .navi { opacity: 1; visibility: visible; }
  .navi ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .navi li { width: 100%; border-bottom: 1px solid var(--linie); }
  .navi a { display: block; font-family: var(--serif); font-size: 2rem; padding: .7rem 0; }
  .navi a::after { display: none; }
  .navi .navi-anruf { border: 0; margin-top: 1.5rem; }
  .navi .navi-anruf a { display: inline-flex; font-family: var(--sans); font-size: .8rem; padding: .9rem 1.4rem; }
}

/* ---------- Startseite: Bühne ---------- */
.buehne { padding: clamp(2.5rem, 6vw, 5.5rem) var(--rand) var(--abstand); }
.buehne .innen { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.buehne h1 { margin-top: 1.6rem; }
.buehne .lead { margin-top: 1.8rem; }
.buehne-bild { position: relative; }
.buehne-bild .bogen img { aspect-ratio: 4 / 5.2; }
.siegel { position: absolute; left: -32px; bottom: 9%; width: 132px; height: 132px; border-radius: 50%; background: var(--rost); color: var(--creme); display: grid; place-items: center; }
.siegel svg { width: 100%; height: 100%; animation: drehen 28s linear infinite; }
.siegel:hover svg { animation-play-state: paused; }
.siegel text { font: 500 10.5px var(--sans); letter-spacing: .26em; text-transform: uppercase; fill: currentColor; }
.siegel b { position: absolute; font: italic 300 2rem/1 var(--serif); }
@keyframes drehen { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .siegel svg { animation: none; } }
.status { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: 2.2rem; font-size: .92rem; color: var(--erde); }
.status-punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--taupe); box-shadow: 0 0 0 4px rgba(168,145,154,.2); }
.status.offen .status-punkt { background: #7E8F72; box-shadow: 0 0 0 4px rgba(126,143,114,.18); }
.status strong { color: var(--kohle); font-weight: 500; }

/* ---------- Leitsatz ---------- */
.leitsatz { text-align: center; }
.leitsatz p.serif { font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.22; letter-spacing: -.015em; max-width: 22em; margin: 1.6rem auto 0; }
.leitsatz .zweig { width: 46px; margin: 0 auto; color: var(--rost); }

/* ---------- Angebot (wechselnde Anordnung) ---------- */
.kopfzeile { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.kopfzeile h2 { max-width: 13em; margin-top: 1.1rem; }
.kopfzeile h2:first-child { margin-top: 0; }
.angebot-gross { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6.5rem); align-items: center; }
.angebot-paar { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(4rem, 8vw, 7rem); align-items: start; }
.nummer { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--rost-text); display: block; margin-bottom: .9rem; }
.angebot h3 { margin-bottom: .9rem; }
.angebot .wp-block-image { margin-bottom: 1.6rem; }
.angebot-gross h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.angebot .textlink { display: inline-block; margin-top: 1.4rem; }

/* ---------- Besuch (dunkel) ---------- */
.besuch { overflow: hidden; }
.besuch-hg { position: absolute; inset: 0; margin: 0; }
.besuch-hg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; filter: saturate(.6); }
.besuch .innen { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); }
.besuch h2 { margin-top: 1.1rem; }
.zeiten { width: 100%; border-collapse: collapse; margin-top: 2rem; font-size: 1rem; }
.zeiten th, .zeiten td { text-align: left; padding: .95rem 0; border-bottom: 1px solid rgba(246,238,236,.18); font-weight: 400; }
.zeiten td { text-align: right; font-family: var(--serif); font-size: 1.15rem; }
.zeiten tr.heute th, .zeiten tr.heute td { color: #fff; }
.zeiten tr.heute th::after { content: "heute"; margin-left: .7em; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; padding: .2em .6em; border-radius: 999px; background: var(--rost); color: #fff; vertical-align: .15em; }
.zeiten tr.zu td { color: #C9B0BC; font-family: var(--sans); font-size: .95rem; }
.sonderzeiten { margin-top: 1.4rem; font-size: .92rem; color: #D6C2CB; }
.sonderzeiten strong { color: var(--leinen); font-weight: 500; }
.kontaktliste { list-style: none; padding: 0; margin: 2rem 0 0; }
.kontaktliste li { padding: 1.05rem 0; border-bottom: 1px solid rgba(246,238,236,.18); display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; }
.kontaktliste span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #C9B0BC; padding-top: .35rem; }
.kontaktliste a, .kontaktliste b { font-family: var(--serif); font-size: 1.3rem; font-weight: 340; text-decoration: none; }
.hg-hell .kontaktliste li, .hg-creme .kontaktliste li, .hg-sand .kontaktliste li { border-color: var(--linie); }
.hg-creme .kontaktliste span, .hg-sand .kontaktliste span { color: var(--erde); }
.hg-creme .zeiten th, .hg-creme .zeiten td { border-color: var(--linie); }
.hg-creme .zeiten tr.heute th, .hg-creme .zeiten tr.heute td { color: var(--kohle); font-weight: 500; }
.hg-creme .zeiten tr.zu td { color: var(--erde); }
.hg-creme .sonderzeiten { color: var(--erde); }
.hg-creme .sonderzeiten strong { color: var(--kohle); }

/* ---------- Anfahrt ---------- */
.anfahrt .innen { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.grosse-zahl { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 8vw, 5.6rem); line-height: .85; letter-spacing: -.05em; color: var(--rost); }
.grosse-zahl em { font-style: italic; font-size: .35em; letter-spacing: -.01em; color: var(--kohle); margin-left: .1em; }
.wege { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.4rem; }
.weg { border-top: 1px solid var(--kohle); padding-top: 1.1rem; }
.weg h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.weg p { font-size: .95rem; color: var(--erde); }

/* ---------- Unterseiten ---------- */
.seitenkopf { padding: clamp(3rem, 8vw, 6.5rem) var(--rand) clamp(2.5rem, 5vw, 4rem); }
.seitenkopf .innen { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.seitenkopf h1 { margin-top: 1.4rem; }
.seitenkopf .lead { margin-top: 0; }
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.zweispaltig.oben { align-items: start; }
.fliesstext p { color: var(--erde); }
.fliesstext h2 { margin-bottom: 1.4rem; margin-top: 1rem; }
.liste-linien { list-style: none; margin: 1.8rem 0 0; padding: 0; }
.liste-linien li { padding: .95rem 0; border-bottom: 1px solid var(--linie); font-family: var(--serif); font-size: 1.3rem; display: flex; justify-content: space-between; gap: 1rem; }
.liste-linien li:first-child { border-top: 1px solid var(--linie); }
.liste-linien li a { text-decoration: none; }
.liste-linien li span { font-family: var(--sans); font-size: .82rem; color: var(--erde); align-self: center; }
.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 3rem; counter-reset: schritt; }
.schritt { border-top: 1px solid var(--kohle); padding-top: 1.3rem; counter-increment: schritt; }
.schritt::before { content: "0" counter(schritt); font-family: var(--serif); font-style: italic; color: var(--rost-text); display: block; margin-bottom: .8rem; }
.schritt h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.schritt p { font-size: .97rem; color: var(--erde); }
.hinweis { border-left: 2px solid var(--rost); padding: .4rem 0 .4rem 1.4rem; margin-top: 2rem; font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.5; }
.abschluss { text-align: center; }
.abschluss h2 { max-width: 14em; margin: 1.2rem auto 0; }
.abschluss .wp-block-buttons { justify-content: center; }

/* ---------- Rechtliches ---------- */
.recht { max-width: 760px; margin-inline: auto; }
.recht h2 { font-size: 1.6rem; margin: 3rem 0 1rem; }
.recht h2:first-child { margin-top: 0; }
.recht p, .recht li { color: #4A3542; font-size: 1rem; }
.recht ul { padding-left: 1.2rem; }

/* ---------- Fuß ---------- */
.fuss { background: var(--kohle); color: #D6C2CB; padding: clamp(3.5rem, 7vw, 6rem) var(--rand) 2rem; font-size: .95rem; }
.fuss .innen { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.fuss .marke, .fuss .marke:hover { color: var(--leinen); }
.fuss .marke-ort { color: #C9B0BC; }
.fuss h4 { font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #C9B0BC; margin-bottom: 1rem; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: #fff; }
.fuss p { line-height: 1.75; }
.fuss .zeiten-kurz { list-style: none; padding: 0; margin: 0; }
.fuss .zeiten-kurz li { display: flex; justify-content: space-between; gap: 1rem; }
.fuss-unten { max-width: var(--breit); margin: clamp(3rem, 6vw, 5rem) auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(246,238,236,.14); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: #C9B0BC; }
.fuss-unten nav { display: flex; gap: 1.5rem; }

/* ---------- Auftritt: nur der erste Bildschirm kommt beim Laden einmal sanft herein ---------- */
@keyframes auftritt { from { opacity: 0; transform: translateY(14px); } }
.buehne-text > *, .buehne-bild, .seitenkopf .innen > * { animation: auftritt .8s cubic-bezier(.2,.7,.2,1) both; }
.buehne-text > :nth-child(2), .seitenkopf .innen > :nth-child(2) { animation-delay: .08s; }
.buehne-text > :nth-child(3) { animation-delay: .16s; }
.buehne-text > :nth-child(n+4) { animation-delay: .24s; }
.buehne-bild { animation-delay: .12s; }
@media (prefers-reduced-motion: reduce) { .buehne-text > *, .buehne-bild, .seitenkopf .innen > * { animation: none; } }

/* ---------- Kleine Bewegungen unter dem Mauszeiger ---------- */
.wp-block-button__link, .knopf { transition: background .25s, color .25s, border-color .25s, transform .2s; }
.wp-block-button__link:active, .knopf:active { transform: translateY(1px) scale(.98); }
.angebot .wp-block-image, .zweispaltig .wp-block-image, .fotostreifen figure { overflow: hidden; }
.angebot .wp-block-image.rund, .fotostreifen figure { border-radius: 4px; }
.angebot .wp-block-image img, .zweispaltig .wp-block-image img, .fotostreifen img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.angebot .wp-block-image:hover img, .fotostreifen figure:hover img { transform: scale(1.025); }
@media (prefers-reduced-motion: reduce) { .wp-block-button__link, .knopf, .angebot .wp-block-image img, .fotostreifen img { transition: none; } }

/* ---------- Fotostreifen (Startseite) ---------- */
.fotostreifen { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.6rem, 1.5vw, 1.2rem); margin-bottom: clamp(3rem, 6vw, 5rem); }
.fotostreifen figure { margin: 0; }
.fotostreifen img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 640px) { .fotostreifen { grid-template-columns: 1fr 1fr; } }

/* ---------- Knöpfe im Seitenkopf der Unterseiten ---------- */
.seitenkopf .wp-block-buttons { margin-top: 1.8rem; }

/* ---------- Schnellleiste (Smartphone) ---------- */
.schnellleiste { display: none; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .buehne .innen, .angebot-gross, .besuch .innen, .anfahrt .innen, .seitenkopf .innen, .zweispaltig { grid-template-columns: 1fr; }
  .buehne-bild { max-width: 460px; margin-inline: auto; width: 100%; }
  .siegel { left: auto; right: 12px; bottom: -30px; width: 108px; height: 108px; }
  .angebot-gross .wp-block-image { max-width: 420px; }
  .fuss .innen { grid-template-columns: 1fr 1fr; }
  .fuss .innen > :first-child { grid-column: 1 / -1; }
  .wege, .schritte { grid-template-columns: 1fr; gap: 1.2rem; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 64px; }
  .infoleiste .ort, .infoleiste .tel { display: none; }
  .infoleiste .innen { justify-content: center; }
  .angebot-paar { grid-template-columns: 1fr; margin-top: 4rem; gap: 3.5rem; }
  .kontaktliste li { grid-template-columns: 1fr; gap: .2rem; }
  .fuss .innen { grid-template-columns: 1fr; }
  .schnellleiste {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--kohle); border-top: 1px solid rgba(255,255,255,.08); padding-bottom: env(safe-area-inset-bottom);
  }
  .schnellleiste a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; color: var(--leinen); text-decoration: none; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
  .schnellleiste a + a { border-left: 1px solid rgba(255,255,255,.08); }
  .schnellleiste svg { width: 20px; height: 20px; }
}
@media (max-width: 360px) { .schnellleiste a { font-size: .62rem; letter-spacing: .06em; } }

/* ---------- Blätterer (Galerie mit Klasse „blaettern“) ---------- */
figure.wp-block-gallery.blaettern.bereit { display: block; margin: 0; }
figure.wp-block-gallery.blaettern.bereit > .wp-block-image { display: none !important; }
.wp-block-gallery.blaettern:not(.bereit) { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.wp-block-gallery.blaettern:not(.bereit) img { aspect-ratio: 4 / 3; object-fit: cover; }
.blaettern-box { outline: none; }
.blaettern-box:focus-visible .blaettern-buehne { outline: 2px solid var(--rost); outline-offset: 4px; }
.blaettern-buehne { position: relative; aspect-ratio: 3 / 2; background: var(--sand); border-radius: 4px; overflow: hidden; }
.hg-kohle .blaettern-buehne { background: #22161D; }
.blaettern-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 1s ease; cursor: zoom-in; }
.blaettern-bild.sichtbar { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .blaettern-bild { transition: none; } }
.blaettern-pfeil, .blaettern-gross, .blaettern-zu {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: rgba(251, 246, 242, .88); color: var(--kohle); cursor: pointer; transition: background .2s, color .2s;
}
.blaettern-pfeil:hover, .blaettern-gross:hover, .blaettern-zu:hover { background: var(--rost); color: #fff; }
.blaettern-pfeil svg, .blaettern-gross svg, .blaettern-zu svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.blaettern-pfeil { top: 50%; transform: translateY(-50%); }
.blaettern-pfeil.zurueck { left: 14px; } .blaettern-pfeil.weiter { right: 14px; }
.blaettern-gross { right: 14px; top: 14px; width: 42px; height: 42px; }
.blaettern-leiste { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 6px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.blaettern-mini { flex: 0 0 auto; width: 96px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 3px; background: var(--sand); cursor: pointer; opacity: .55; transition: opacity .25s, border-color .25s; scroll-snap-align: center; overflow: hidden; }
.blaettern-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blaettern-mini:hover, .blaettern-mini.aktiv { opacity: 1; }
.blaettern-mini.aktiv { border-color: var(--rost); }
.blaettern-zaehler { margin: .4rem 0 0; font-size: .82rem; letter-spacing: .14em; color: var(--erde); text-align: right; }
.hg-kohle .blaettern-zaehler { color: #D6C2CB; }
figure.wp-block-gallery.blaettern > figcaption.blocks-gallery-caption { flex: none; width: 100%; text-align: left; margin-top: .3rem; font-family: var(--serif); font-style: italic; color: var(--erde); }
.blaettern-dialog { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(24, 15, 20, .96); }
.blaettern-dialog::backdrop { background: rgba(24, 15, 20, .96); }
.blaettern-dialog[open] { display: grid; place-items: center; }
.blaettern-dialog > img { max-width: 96vw; max-height: 92vh; object-fit: contain; }
.blaettern-dialog .blaettern-zu { top: 16px; right: 16px; }
@media (max-width: 640px) {
  .blaettern-pfeil { width: 40px; height: 40px; }
  .blaettern-pfeil.zurueck { left: 8px; } .blaettern-pfeil.weiter { right: 8px; }
  .blaettern-mini { width: 72px; height: 54px; }
}
.buch-kopf { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.buch-kopf h2 { margin-top: 1.1rem; }
.buch-kopf p.klein { max-width: 22rem; color: var(--erde); }
.hg-kohle .buch-kopf p.klein { color: #D6C2CB; }
section[id], .wp-block-group[id], li[id] { scroll-margin-top: 90px; }

/* ---------- Stimmen (Google-Rezensionen) ---------- */
.stimmen .kopfzeile { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.stimmen-gesamt { font-size: .9rem; color: var(--erde); margin: 0; }
.stimmen-gesamt a { text-decoration: underline; text-decoration-color: var(--taupe); }
.stimmen-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.2rem, 3vw, 2rem); align-items: stretch; }
.stimme { margin: 0; background: var(--creme); border-radius: 4px; padding: clamp(1.5rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: 1.1rem; }
.hg-creme .stimme { background: var(--leinen); }
.sterne { color: var(--rost); letter-spacing: .18em; font-size: .9rem; }
.stimme blockquote { margin: 0; }
.stimme blockquote p { font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; font-weight: 340; color: var(--kohle); }
.stimme figcaption { font-size: .88rem; font-weight: 500; color: var(--kohle); border-top: 1px solid var(--linie); padding-top: .9rem; }
.stimme figcaption span { font-weight: 400; color: var(--erde); }

/* ---------- Abweichende Öffnungszeiten ---------- */
.sonderzeiten-liste { margin-top: 1.8rem; }
.sonderzeiten-liste ul { list-style: none; margin: .8rem 0 0; padding: 0; }
.sonderzeiten-liste li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(246,238,236,.18); font-size: .95rem; }
.sonderzeiten-liste li span:last-child { font-family: var(--serif); font-size: 1.05rem; text-align: right; }
.sonderzeiten-liste li em { font-style: normal; color: #D6C2CB; margin-left: .3em; }
.sonderzeiten-liste li.heute span:first-child::after { content: "heute"; margin-left: .7em; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; padding: .2em .6em; border-radius: 999px; background: var(--rost); color: #fff; vertical-align: .15em; }
.hg-creme .sonderzeiten-liste li { border-color: var(--linie); }
.hg-creme .sonderzeiten-liste li em { color: var(--erde); }
.zeiten-hinweis { margin-top: .8rem; font-size: .85rem; color: #E8CBC8; }
.zeiten-hinweis a { text-decoration: underline; }

/* ---------- Logo als zartes Wasserzeichen im Fuß ---------- */
.fuss-gross { display: flex; justify-content: center; margin: clamp(2.5rem, 5vw, 4rem) 0 -.5rem; }
.fuss-gross svg { width: min(620px, 82%); height: auto; opacity: .08; color: var(--leinen); overflow: visible; }
.fuss-gross .fg-name { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; font-variation-settings: "SOFT" 100, "WONK" 0; fill: currentColor; }
.fuss-gross .fg-unter { font-family: var(--sans); font-weight: 500; fill: currentColor; }

/* ---------- Instagram ---------- */
.instagram-band { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.instagram-zeichen { display: grid; place-items: center; width: clamp(72px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%; background: var(--creme); color: var(--rost); transition: background .25s, color .25s; }
.instagram-zeichen:hover { background: var(--rost); color: #fff; }
.instagram-zeichen .ig-icon { width: 46%; height: 46%; }
.instagram-text h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); max-width: 15em; }
.instagram-text p.text-erde { margin-top: .8rem; }
.instagram-band .wp-block-buttons { margin-top: 0; }
@media (max-width: 900px) {
  .instagram-band { grid-template-columns: 1fr; }
}

/* Abgleich mit WordPress-Standardstilen */
.wp-block-image figcaption { margin-bottom: 0; }
.recht .wp-block-post-title { margin-bottom: 2.6rem; }
.recht .wp-block-post-content > :first-child { margin-top: 0; }

/* Raster-Spalten dürfen schmaler werden als ihr Inhalt (sonst dehnt z. B. die Miniaturleiste einer Galerie die Spalte) */
:where(.buehne .innen, .angebot-gross, .angebot-paar, .besuch .innen, .anfahrt .innen, .seitenkopf .innen, .zweispaltig, .instagram-band, .schritte, .wege, .stimmen-raster, .fuss .innen) > * { min-width: 0; }
.wp-block-gallery.blaettern, .blaettern-box { min-width: 0; max-width: 100%; }

/* Partner-Karte Tesche & Kühn Bestattungen (Trauerfloristik) – im Stil deren Website: Weinrot mit Ahornblatt */
.partner-karte { max-width: 880px; margin: 0 auto; display: flex; gap: clamp(1.2rem, 4vw, 2.6rem); align-items: center;
  padding: clamp(1.5rem, 4vw, 2.4rem) clamp(1.4rem, 4vw, 2.8rem); border-radius: 14px; color: #f3e7e4;
  background: radial-gradient(ellipse at 15% 20%, #6b2230 0%, #4a1520 55%, #360d16 100%); }
.partner-blatt { width: clamp(70px, 12vw, 110px); height: auto; flex: none; transform: rotate(-8deg); }
.partner-text > * { margin: 0; }
.partner-text > * + * { margin-top: .7rem; }
.partner-eyebrow { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #d9b5ad; }
.partner-karte h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; color: #fff; font-style: italic; }
.partner-karte h2 span { font-style: normal; }
.partner-text p { font-size: .95rem; line-height: 1.6; }
.partner-links { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.partner-links a { color: #fff; text-decoration-color: rgba(255,255,255,.4); display: inline-block; padding-block: .55rem; }
.partner-links a:hover { color: #f0c9bf; }
.partner-links small { color: #d9b5ad; font-size: .8rem; margin-left: .3rem; }
@media (max-width: 560px) { .partner-karte { flex-direction: column; align-items: flex-start; } }

