


/* === Schriften (lokal, DSGVO-konform) === */
@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-display-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-display-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-display-italic-400.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* === Basis === */
html { scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { height: auto; }
::selection { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--contrast); }

h1, h2, h3 { letter-spacing: -0.01em; text-wrap: balance; }

/* Gut sichtbarer Fokus-Ring – WCAG 2.4.7 */
:focus-visible {
  outline: 3px solid var(--wp--preset--color--terra);
  outline-offset: 3px;
  border-radius: 4px;
}
.sh-hero :focus-visible,
.sh-dunkel :focus-visible,
.sh-footer :focus-visible {
  outline-color: var(--wp--preset--color--gold);
}

/* === Scroll-Animationen: weicher Blur-Reveal ===
   Nur aktiv mit JS (.sh-js) und wenn Bewegung erlaubt ist. */
.sh-js .sh-reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity .9s ease,
    transform .9s cubic-bezier(.22, .61, .36, 1),
    filter .9s ease;
}
.sh-js .wp-block-image.sh-reveal { transform: translateY(28px) scale(.965); }
.sh-js .sh-reveal.is-visible { opacity: 1; transform: none; filter: blur(0); }
.sh-js .sh-delay-1.is-visible { transition-delay: .14s; }
.sh-js .sh-delay-2.is-visible { transition-delay: .28s; }
.sh-js .sh-delay-3.is-visible { transition-delay: .42s; }
@media (prefers-reduced-motion: reduce) {
  .sh-js .sh-reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

/* === Header === */
.sh-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(61, 43, 31, .08);
  transition: box-shadow .3s ease;
}

.sh-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--wp--preset--color--base) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.admin-bar .sh-header { top: var(--wp-admin--admin-bar--height, 32px); }
.sh-header.is-scrolled { box-shadow: 0 8px 28px rgba(61, 43, 31, .10); }
.sh-header-inner {
  padding-block: .85rem;
  padding-inline: 1.25rem;
}
@media (min-width: 782px) {
  .sh-header-inner { padding-inline: 2rem; }
}
.sh-logo a { text-decoration: none; letter-spacing: .03em; white-space: nowrap; }

/* Navigation auf dem Desktop einzeilig halten */
@media (min-width: 782px) {
  .sh-nav .wp-block-navigation__container {
    flex-wrap: nowrap;
  }
  .sh-nav .wp-block-navigation-item__content { white-space: nowrap; }
}

/* Burger-Button: größere, gut tippbare Fläche und größeres Icon */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
  padding: .6rem;
  min-width: 44px;
  min-height: 44px;
  position: relative;
}
.sh-nav .wp-block-navigation__responsive-container-open svg,
.sh-nav .wp-block-navigation__responsive-container-close svg {
  width: 32px;
  height: 32px;
}

/* Geöffnetes Mobil-Menü: Punkte großzügig, gut erreichbar, kein
   unnötiges Scrollen. */
@media (max-width: 781px) {
  .sh-nav .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content {
    padding-top: 1rem;
  }
  .sh-nav .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__container {
    gap: .4rem;
  }
  .sh-nav .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation-item__content {
    font-size: 1.25rem;
    padding: .7rem .4rem;
  }
}

/* Navigation: große Tippflächen + animierte Gold-Linie beim Hover */
.sh-nav .wp-block-navigation-item__content {
  position: relative;
  padding: .65rem .4rem;
  font-size: 1rem;
  text-decoration: none;
}
.sh-nav .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  left: .4rem;
  right: .4rem;
  bottom: .3rem;
  height: 2px;
  background: var(--wp--preset--color--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}
.sh-nav .wp-block-navigation-item__content:hover::after,
.sh-nav .wp-block-navigation-item__content:focus-visible::after {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
  .sh-nav .wp-block-navigation-item__content::after { transition: none; }
}
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close { padding: .6rem; }

/* === Sektionen: ruhiger, großzügiger Rhythmus === */
.sh-section { padding-block: clamp(4.5rem, 10vw, 7.5rem); }

/* Durchgehender Seitenabstand (Mobil zuerst): Inhalt klebt nie am
   Bildschirmrand. Gilt für die zentrierten und die breiten Inhalte. */
.sh-section > :not(.alignfull),
.sh-section > .wp-block-columns,
.sh-section > .is-layout-grid {
  padding-inline: 1.25rem;
}
@media (min-width: 782px) {
  .sh-section > :not(.alignfull),
  .sh-section > .wp-block-columns,
  .sh-section > .is-layout-grid {
    padding-inline: 2rem;
  }
}

/* Grid-Raster (Werte, Zahlenband, Verkaufspunkte) zentriert auffüllen
   statt linksbündig. WordPress nutzt auto-fill und reiht die Spalten
   links auf – dadurch wirkt der Block nach links versetzt. Wir
   zentrieren die gesamte Spaltengruppe. */
.sh-section .is-layout-grid {
  justify-content: center;
}

/* Fallback: Falls die Startseite doch über das Unterseiten-Template
   läuft, Seitentitel ausblenden und Innenabstand entfernen. */
body.home .sh-seitentitel { display: none; }
body.home .sh-seite { padding-block: 0; }
.sh-sand   { background: var(--wp--preset--color--sand); }
.sh-dunkel { background: var(--wp--preset--color--contrast); }
.sh-dunkel h2, .sh-dunkel h3, .sh-dunkel h4 { color: var(--wp--preset--color--base); }
.sh-dunkel p { color: rgba(250, 247, 242, .82); }
.sh-dunkel a:not(.wp-element-button) { color: var(--wp--preset--color--salbei-hell); }

/* Vertikaler Rhythmus: Überzeile, Titel, Einleitung rücken zusammen,
   danach Luft vor dem Inhalt. */
.sh-eyebrow {
  font-family: var(--wp--preset--font-family--dm-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wp--preset--color--gold-dunkel);
}
.sh-dunkel .sh-eyebrow, .sh-hero .sh-eyebrow { color: var(--wp--preset--color--gold); }
.sh-eyebrow + h2 { margin-block-start: .5rem; }
h2 + .sh-lead, h2 + p { margin-block-start: 1rem; }
.sh-lead { font-size: 1.12rem; max-width: 54ch; }
.sh-section .is-layout-grid { margin-block-start: 2.75rem; gap: 1.75rem; }
.sh-section .wp-block-columns { gap: 2rem; margin-bottom: 0; }
@media (min-width: 782px) {
  .sh-section .wp-block-columns { gap: 3.5rem; }
}

/* Animierte Gold-Linie unter zentrierten Sektions-Titeln */
.sh-section h2.has-text-align-center::after {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  background: var(--wp--preset--color--gold);
  margin: 1rem auto 0;
}
.sh-js .sh-section h2.has-text-align-center.sh-reveal::after {
  transform: scaleX(0);
  transition: transform .9s .45s cubic-bezier(.22, .61, .36, 1);
}
.sh-js .sh-section h2.has-text-align-center.sh-reveal.is-visible::after {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
  .sh-js .sh-section h2.has-text-align-center.sh-reveal::after { transform: none; transition: none; }
}

/* === Hero: warmer Glow statt flacher Fläche === */
.sh-hero { min-height: min(92svh, 56rem); }

/* Goldenes Blüten-Ornament (Teil des Logos) als dezente
   Wasserzeichen-Ebene: sitzt knapp oberhalb des ersten
   Textbausteins (Eyebrow-Badge) und ragt leicht dahinter hervor,
   statt hinter der großen Überschrift zu liegen. */
.sh-hero .wp-block-cover__inner-container > p:first-child::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, 25%);
  width: min(320px, 80vw);
  aspect-ratio: 2000 / 1428;
  background-image: url("assets/img/gold-dunkel.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}
@media (min-width: 782px) {
  .sh-hero .wp-block-cover__inner-container > p:first-child::before {
    width: min(460px, 40vw);
    opacity: 0.28;
  }
}
/* Text und Buttons über das Logo heben */
.sh-hero .wp-block-cover__inner-container > * { position: relative; z-index: 1; }
.sh-hero .wp-block-cover__background {
  background-image:
    radial-gradient(56rem 30rem at 72% 18%, rgba(201, 169, 110, .22), transparent 62%),
    radial-gradient(42rem 26rem at 18% 85%, rgba(196, 124, 90, .18), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .25) 100%);
}
.sh-hero .wp-block-cover__inner-container { padding: 6rem 0 5rem; }
.sh-badge {
  display: inline-block;
  border: 1px solid rgba(201, 169, 110, .55);
  border-radius: 999px;
  padding: .5em 1.3em;
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wp--preset--color--gold);
}
.sh-hero h1 { max-width: 20ch; margin-inline: auto; }
.sh-hero h1 + .sh-hero-sub { margin-block-start: 1.4rem; }
.sh-hero-sub { color: rgba(250, 247, 242, .85); font-size: 1.05rem; }
.sh-hero .wp-block-buttons { margin-block-start: 2.2rem; gap: 1rem; }
/* Sanfter Ken-Burns-Effekt, sobald ein Hero-Foto eingesetzt ist */
@media (prefers-reduced-motion: no-preference) {
  .sh-hero img.wp-block-cover__image-background {
    animation: sh-zoom 24s ease-in-out infinite alternate;
  }
  @keyframes sh-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }
}

/* === Buttons: Pille mit Pfeil-Mikrointeraktion === */
.wp-block-button__link {
  min-height: 3rem;
  letter-spacing: .03em;
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.wp-block-button:not(.is-style-outline):not(.sh-btn-hell) .wp-block-button__link::after {
  content: "→";
  display: inline-block;
  margin-left: .55em;
  transition: transform .25s ease;
}
.wp-block-button:not(.is-style-outline):not(.sh-btn-hell) .wp-block-button__link:hover::after {
  transform: translateX(4px);
}
.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -12px rgba(46, 33, 24, .55);
}
.sh-btn-hell .wp-block-button__link {
  background: transparent;
  border: 1.5px solid rgba(250, 247, 242, .65);
  color: var(--wp--preset--color--base);
}
.sh-btn-hell .wp-block-button__link:hover { background: rgba(250, 247, 242, .12); }
@media (prefers-reduced-motion: reduce) {
  .wp-block-button__link, .wp-block-button__link:hover,
  .wp-block-button .wp-block-button__link::after { transform: none; transition: none; }
}

/* === Karten: weicher, runder, geschichteter Schatten === */
.is-style-sh-karte {
  background: #FFFDF9;
  border: 1px solid rgba(201, 169, 110, .28);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow:
    0 1px 2px rgba(61, 43, 31, .05),
    0 16px 40px -24px rgba(61, 43, 31, .35);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.is-style-sh-karte > * { margin-block-start: .65rem; }
.is-style-sh-karte > :first-child { margin-block-start: 0; }
.is-style-sh-karte:hover,
.is-style-sh-karte:focus-within {
  transform: translateY(-6px);
  border-color: rgba(201, 169, 110, .55);
  box-shadow:
    0 2px 4px rgba(61, 43, 31, .06),
    0 28px 56px -24px rgba(61, 43, 31, .42);
}
.is-style-sh-karte figure {
  overflow: hidden;
  border-radius: 16px;
  margin: 0 0 1.1rem;
}
.is-style-sh-karte figure img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.22, .61, .36, 1);
}
.is-style-sh-karte:hover figure img { transform: scale(1.05); }
.is-style-sh-karte h3 { font-size: 1.3rem; }
@media (prefers-reduced-motion: reduce) {
  .is-style-sh-karte, .is-style-sh-karte:hover { transform: none; }
  .is-style-sh-karte:hover figure img { transform: none; }
}

/* === Bildstile: Bogen & Gold-Rahmen (Signature-Fotos) === */
.is-style-sh-bogen img,
.is-style-sh-rahmen img {
  border-radius: 11rem 11rem 1.25rem 1.25rem;
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
}
.is-style-sh-rahmen { position: relative; margin-right: 12px; }
.is-style-sh-rahmen img { position: relative; z-index: 1; }
.is-style-sh-rahmen::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(12px, 12px);
  border: 1.5px solid var(--wp--preset--color--gold);
  border-radius: 11rem 11rem 1.25rem 1.25rem;
  z-index: 0;
}
@media (min-width: 782px) {
  .is-style-sh-rahmen { margin-right: 18px; }
  .is-style-sh-rahmen::before { transform: translate(18px, 18px); }
}

/* === Herstellung: Schritte === */
.sh-schritt {
  padding-block: 1.2rem;
  border-bottom: 1px solid rgba(250, 247, 242, .12);
}
.sh-schritt:last-child { border-bottom: none; }
.sh-schritt-nr {
  font-family: var(--wp--preset--font-family--playfair);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1;
  color: var(--wp--preset--color--gold);
}
.sh-schritt-nr + h3 { margin-block-start: .35rem; }
.sh-schritt h3 { font-size: 1.25rem; }
.sh-schritt h3 + p { margin-block-start: .35rem; }
.sh-schritt p { font-size: .98rem; }

/* === Zahlenband: feine Gold-Hairlines oben/unten === */
.sh-zahlen {
  background: var(--wp--preset--color--sand);
  border-top: 1px solid rgba(123, 92, 51, .18);
  border-bottom: 1px solid rgba(123, 92, 51, .18);
  padding-block: clamp(3.5rem, 7vw, 5rem);
}
.sh-zahlen .is-layout-grid { margin-block-start: 0; }
.sh-stat { text-align: center; }
.sh-zahl {
  font-family: var(--wp--preset--font-family--playfair);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 600;
  color: var(--wp--preset--color--braun);
  line-height: 1.1;
}
.sh-zahl + .sh-stat-label { margin-block-start: .3rem; }
.sh-stat-label {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wp--preset--color--gold-dunkel);
  font-weight: 500;
}

/* === Öffnungszeiten === */
.sh-zeiten { max-width: 26rem; }
.sh-zeiten p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  margin: 0;
  border-bottom: 1px dashed rgba(61, 43, 31, .22);
  font-size: 1rem;
}
.sh-zeiten p:last-child { border-bottom: none; }
.sh-zeiten strong { color: var(--wp--preset--color--salbei); font-weight: 700; }

/* === Zitat (Elisabeth) === */
.sh-zitat {
  border-left: 2px solid var(--wp--preset--color--gold);
  padding-left: 1.25rem;
  margin: 0;
}
.sh-zitat p {
  font-family: var(--wp--preset--font-family--playfair);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--wp--preset--color--braun);
}

/* === Unterseiten (Impressum etc.) === */
.sh-seite {
  padding-block: 6.5rem 4rem;
  padding-inline: 1.25rem;
}
@media (min-width: 782px) {
  .sh-seite { padding-inline: 2rem; }
}
.sh-seitentitel { margin-bottom: 1.5rem; }

/* === Footer === */
.sh-footer { background: #232B1B; color: rgba(250, 248, 242, .8); }
.sh-footer h4 {
  font-family: var(--wp--preset--font-family--dm-sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wp--preset--color--gold);
  margin-bottom: .9rem;
}
.sh-footer a { color: #BFD4BC; text-decoration-thickness: 1px; }
.sh-footer a:hover { color: var(--wp--preset--color--base); }
.sh-footer .sh-footer-marke {
  font-family: var(--wp--preset--font-family--playfair);
  font-size: 1.45rem;
  color: var(--wp--preset--color--base);
}
.sh-footer-unten {
  border-top: 1px solid rgba(250, 247, 242, .12);
  margin-block-start: 3rem;
  padding-top: 1.6rem;
}
.sh-footer-unten p { font-size: .85rem; color: rgba(250, 247, 242, .55); }

/* === Rechtstexte (Impressum, Datenschutz) === */
.sh-rechtstext { max-width: 50rem; }
.sh-rechtstext > * { margin-block-start: 1rem; }
.sh-rechtstext .sh-eyebrow { color: var(--wp--preset--color--gold-dunkel); }
.sh-rechtstext h2 {
  font-size: clamp(1.35rem, 3.4vw, 1.7rem);
  margin-block-start: 2.6rem;
  padding-block-end: .5rem;
  border-bottom: 1px solid rgba(201, 169, 110, .3);
}
.sh-rechtstext h2:first-of-type { margin-block-start: 1.8rem; }
.sh-rechtstext p { line-height: 1.75; }
.sh-rechtstext .sh-lead { margin-block-start: 1.4rem; }
.sh-rechtstext ul {
  margin-block-start: .75rem;
  padding-inline-start: 1.25rem;
  line-height: 1.7;
}
.sh-rechtstext li { margin-block-start: .35rem; }
.sh-rechtstext a {
  color: var(--wp--preset--color--gold-dunkel);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}
.sh-rechtstext a:hover { color: var(--wp--preset--color--braun); }

/* ============================================================
   Sortiment: Masonry-Grid, Filter-Chips & Detail-Modal
   Gehört zum Shortcode [seifenhof_sortiment] (functions.php)
   und zu assets/js/sortiment.js.
   ============================================================ */

/* --- Filter-Chips --- */
.sh-sortiment-filter {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-block-end: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(123, 92, 51, .18);
}
.sh-filter-zeilen {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.sh-filter-zeile {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

/* "Alle anzeigen" setzt BEIDE Filterzeilen (Duft & Pflege) zurück.
   Deshalb steht der Button außerhalb der Zeilen: ab 782px rechts
   daneben, durch eine über beide Zeilen laufende Trennlinie optisch
   auf beide bezogen. Im Ausgangszustand (kein Filter aktiv) ist er
   deaktiviert und gedimmt – so wirkt er nie wie eine vorausgewählte
   Filter-Option, sondern klar als Zurücksetzen-Aktion. */
.sh-filter-reset-bereich {
  display: flex;
  align-items: center;
}
.sh-filter-reset {
  font-family: var(--wp--preset--font-family--dm-sans);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 999px;
  padding: .5rem .95rem;
  min-height: 2.25rem;
  white-space: nowrap;
  background: transparent;
  border: 1px solid var(--wp--preset--color--gold-dunkel);
  color: var(--wp--preset--color--gold-dunkel);
  transition: all .2s ease;
}
.sh-filter-reset:not(:disabled):hover,
.sh-filter-reset:not(:disabled):focus-visible {
  background: var(--wp--preset--color--gold);
  border-color: var(--wp--preset--color--gold);
  color: var(--wp--preset--color--base);
}
.sh-filter-reset:disabled {
  opacity: .45;
  cursor: default;
  border-color: rgba(123, 92, 51, .35);
  color: var(--wp--preset--color--braun);
}
@media (min-width: 782px) {
  .sh-sortiment-filter {
    flex-direction: row;
    align-items: stretch;
    gap: 1.5rem;
  }
  .sh-filter-zeilen { flex: 1; }
  .sh-filter-reset-bereich {
    border-inline-start: 1px solid rgba(123, 92, 51, .18);
    padding-inline-start: 1.5rem;
  }
}
.sh-filter-label {
  font-family: var(--wp--preset--font-family--dm-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(61, 43, 31, .5);
  margin-right: .3rem;
}
.sh-chip {
  font-family: var(--wp--preset--font-family--dm-sans);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 999px;
  padding: .5rem .95rem;
  min-height: 2.25rem;
  white-space: nowrap;
  border: 1px solid rgba(123, 92, 51, .3);
  background: #FFFDF9;
  color: var(--wp--preset--color--braun);
  transition: all .2s ease;
}
.sh-chip:hover { border-color: var(--wp--preset--color--gold); }
.sh-chip.is-active {
  background: var(--wp--preset--color--gold);
  border-color: var(--wp--preset--color--gold);
  color: var(--wp--preset--color--base);
}

/* Alter Masonry Block*/
.sh-sortiment-grid {
  column-count: 1;
  column-gap: 1.1rem;
}
@media (min-width: 560px) {
  .sh-sortiment-grid {
    column-count: 2;
  }
}
@media (min-width: 782px) {
  .sh-sortiment-grid {
    column-count: 3;
    column-width: 13rem;
  }
}
.sh-karte-masonry {
  break-inside: avoid;
  margin: 0 0 1.1rem;
  background: #FFFDF9;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(61, 43, 31, .09);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sh-karte-masonry:hover,
.sh-karte-masonry:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(61, 43, 31, .16);
}
.sh-karte-foto { position: relative; }
.sh-karte-foto img { display: block; width: 100%; height: auto; }
.sh-karte-badge {
  position: absolute;
  top: .6rem;
  left: .6rem;
  font-family: var(--wp--preset--font-family--dm-sans);
  font-size: .72rem;
  font-weight: 700;
  color: var(--wp--preset--color--braun);
  background: rgba(250, 247, 240, .92);
  padding: .25rem .7rem;
  border-radius: 999px;
}
/*END Mensory Blcok*/


.sh-karte-text { padding: 1rem 1.05rem 1.15rem; }
.sh-karte-text h3 {
  font-size: 1.25rem;
  line-height: 1.15;
  margin: 0 0 .3rem;
}
.sh-karte-text p {
  font-size: .9rem;
  line-height: 1.5;
  color: rgba(61, 43, 31, .72);
  margin: 0;
}
@media (prefers-reduced-motion: reduce) {
  .sh-karte-masonry, .sh-karte-masonry:hover { transform: none; transition: none; }
}

/* --- Detail-Fenster (Modal): mobil als Bottom-Sheet, ab
   Desktop kompakt zentriert --- */
.sh-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  padding: 0;
  align-items: flex-end;
  justify-content: center;
}
.sh-modal.is-offen { display: flex; }
.sh-modal-hintergrund {
  position: absolute;
  inset: 0;
  background: rgba(35, 43, 27, .6);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.sh-modal-inhalt {
  position: relative;
  background: #FFFDF9;
  border-radius: 20px 20px 0 0;
  max-width: 30rem;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .25);
}
@media (min-width: 782px) {
  .sh-modal {
    align-items: center;
    padding: 1.5rem;
  }
  .sh-modal-inhalt {
    border-radius: 20px;
    max-width: 26rem;
    max-height: 80vh;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
  }
}
.sh-modal-foto img { display: block; width: 100%; height: 200px; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .sh-modal-inhalt { animation: sh-modal-hoch .3s cubic-bezier(.22, .61, .36, 1); }
  @keyframes sh-modal-hoch {
    from { transform: translateY(24px); opacity: 0; }
    to { transform: none; opacity: 1; }
  }
  @media (min-width: 782px) {
    .sh-modal-inhalt { animation: sh-modal-auf .25s cubic-bezier(.22, .61, .36, 1); }
    @keyframes sh-modal-auf {
      from { transform: translateY(14px) scale(.98); opacity: 0; }
      to { transform: none; opacity: 1; }
    }
  }
}
.sh-modal-schliessen {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: rgba(250, 247, 240, .92);
  color: var(--wp--preset--color--braun);
  font-size: 1.2rem;
  cursor: pointer;
}
.sh-modal-details { padding: 1.5rem 1.6rem 1.6rem; }
.sh-modal-tags { display: flex; gap: .45rem; margin-bottom: .7rem; }
.sh-tag {
  font-family: var(--wp--preset--font-family--dm-sans);
  font-size: .72rem;
  font-weight: 700;
  background: var(--wp--preset--color--sand);
  color: var(--wp--preset--color--braun);
  padding: .28rem .75rem;
  border-radius: 999px;
}
.sh-tag-akzent { background: rgba(201, 169, 110, .15); color: var(--wp--preset--color--gold-dunkel); }
.sh-modal-details h3 { font-size: 1.6rem; margin: 0 0 .5rem; }
.sh-modal-text p { font-size: .95rem; line-height: 1.6; color: rgba(61, 43, 31, .75); margin: 0 0 1.1rem; }
.sh-modal-zutaten-label {
  font-family: var(--wp--preset--font-family--dm-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(61, 43, 31, .5);
  margin-bottom: .5rem;
}
.sh-modal-zutaten { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.3rem; }
.sh-zutat {
  font-size: .8rem;
  color: var(--wp--preset--color--braun);
  background: var(--wp--preset--color--sand);
  border: 1px solid rgba(123, 92, 51, .22);
  padding: .28rem .65rem;
  border-radius: 8px;
}
.sh-modal-fuss {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(123, 92, 51, .2);
  padding-top: 1rem;
}
.sh-modal-preis {
  font-family: var(--wp--preset--font-family--playfair);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--wp--preset--color--braun);
}
.sh-modal-schliessen-btn {
  font-family: var(--wp--preset--font-family--dm-sans);
  font-size: .82rem;
  font-weight: 600;
  background: var(--wp--preset--color--braun);
  color: var(--wp--preset--color--base);
  border: none;
  border-radius: 10px;
  padding: .7rem 1.25rem;
  cursor: pointer;
  min-height: 2.75rem;
}

.sh-standorte-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 782px) {
  .sh-standorte-grid {
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  }
}
.sh-standort-karte {
  display: flex;
  flex-direction: column;
}
.sh-standort-name {
  font-size: 1.3rem;
}
.sh-standort-telefon a {
  white-space: nowrap;
}
@media (min-width: 782px) {
  .sh-standort-name { min-height: 2.4em; }
  .sh-standort-adresse { min-height: 2.6em; }
}
.sh-standort-zeiten {
  margin-top: auto;
  padding-top: .65rem;
}

