/*
Theme Name: Schoggi Stübli
Theme URI: https://schoggi-stuebli.ch
Author: Barmettler ICT
Author URI: https://barmettler-ict.ch
Description: Modernes Custom-Theme für das Schoggi Stübli Buochs – Handgmacht mit Liäbi.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: Proprietary
Text Domain: schoggistuebli
*/

/* =========================================================
   Schoggi Stübli – Redesign Prototyp
   Markenfarben: Gold #CAAC7A · Braun #512C20 · Schwarz #0B0F10
   Schriften: Lora (Serif) · Quicksand (Sans)
   ========================================================= */

:root {
  --gold:        #CAAC7A;
  --gold-deep:   #B8945E;
  --gold-soft:   #E7D7BD;
  --braun:       #512C20;
  --braun-dark:  #3B1F16;
  --schwarz:     #0B0F10;

  --cream:       #FBF7F0;
  --cream-2:     #F2E8D8;
  --paper:       #FFFFFF;
  --ink:         #2C211B;
  --ink-soft:    #6B5A4E;

  --header-h:    84px;
  --maxw:        1180px;
  --radius:      6px;
  --shadow-sm:   0 6px 24px rgba(43, 28, 18, .10);
  --shadow-md:   0 18px 48px rgba(43, 28, 18, .16);
  --shadow-lg:   0 30px 70px rgba(43, 28, 18, .26);
  --ease:        cubic-bezier(.22, .61, .36, 1);
  --ease-soft:   cubic-bezier(.33, 1, .68, 1);

  --font-serif:  'Lora', Georgia, 'Times New Roman', serif;
  --font-sans:   'Quicksand', 'Segoe UI', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.18; color: var(--braun); }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); letter-spacing: .005em; }
h3 { font-size: 1.4rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }

.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--braun); color: var(--cream);
  padding: .6rem 1rem; border-radius: var(--radius); z-index: 2000;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Scroll-Fortschrittsbalken ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  z-index: 1100; transition: width .1s linear;
}

/* ---------- Shared bits ---------- */
.kicker {
  font-size: .8rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: .9rem;
}
.kicker--light { color: var(--gold); }

.ornament { display: block; color: var(--gold); margin: 1.1rem 0 1.4rem; }
.section__head .ornament { margin-inline: auto; }
.hero__content .ornament,
.page-hero__content .ornament { margin-inline: 0; }
.page-hero__content .ornament { margin-inline: auto; }

.section__head { max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section__lead { color: var(--ink-soft); font-size: 1.05rem; }
.section__foot { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; min-height: 52px; padding: 0 1.9rem;
  font-family: var(--font-sans); font-size: .92rem; font-weight: 600;
  letter-spacing: .04em; cursor: pointer; border: 1.5px solid transparent;
  border-radius: var(--radius); white-space: nowrap; text-align: center;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease),
              box-shadow .3s var(--ease);
}
.btn > * { position: relative; z-index: 1; }
/* Glanz-Sweep */
.btn::after {
  content: ""; position: absolute; top: 0; left: -130%;
  width: 60%; height: 100%; z-index: 0;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-22deg); transition: left .65s var(--ease);
}
.btn:hover::after { left: 130%; }
.btn--primary { background: var(--gold); color: var(--braun-dark); }
.btn--primary:hover { background: var(--braun); color: var(--cream); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; border-color: currentColor; }
.btn--ghost:hover { background: var(--gold); color: var(--braun-dark); border-color: var(--gold); transform: translateY(-3px); }
.btn--on-dark { color: var(--cream); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .9rem; letter-spacing: .04em;
  color: var(--braun); padding-bottom: 2px;
  border-bottom: 1.5px solid var(--gold);
  transition: gap .25s var(--ease), color .2s var(--ease);
}
.link-arrow::after { content: "\2192"; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--gold-deep); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px; border-radius: 3px;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease),
              height .35s var(--ease), transform .4s var(--ease);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.header__logo { display: block; }
.logo { height: 52px; width: auto; transition: opacity .3s var(--ease), height .35s var(--ease); }
.logo--dark { display: none; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.3rem); }
.nav ul, .nav li { list-style: none; margin: 0; padding: 0; }
.nav li { display: contents; }
.nav .current-menu-item > a:not(.nav__cta) { color: var(--gold); }
.nav a {
  font-size: .9rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--cream);
  padding: .4rem 0; position: relative;
  transition: color .2s var(--ease);
}
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .32s var(--ease);
}
.nav a:not(.nav__cta):hover::after,
.nav a.is-current:not(.nav__cta)::after { transform: scaleX(1); transform-origin: left; }
.nav a.nav__cta {
  background: var(--gold); color: var(--braun-dark);
  border: 1.5px solid var(--gold); border-radius: var(--radius);
  padding: .6rem 1.5rem; text-transform: uppercase;
  box-shadow: 0 5px 16px rgba(202,172,122,.32);
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.nav a.nav__cta:hover {
  background: var(--braun); color: var(--cream); border-color: var(--braun);
  transform: translateY(-2px); box-shadow: 0 8px 20px rgba(59,31,22,.32);
}

.site-header.is-scrolled {
  background: var(--cream);
  box-shadow: 0 4px 22px rgba(43, 28, 18, .12);
  height: 72px;
}
.site-header.is-scrolled .logo--light { display: none; }
.site-header.is-scrolled .logo--dark  { display: block; }
.site-header.is-scrolled .logo { height: 46px; }
.site-header.is-scrolled .nav a { color: var(--braun); }
.site-header.is-scrolled .nav a.nav__cta { color: var(--braun-dark); }
.site-header.is-scrolled .nav a.nav__cta:hover { color: var(--cream); }
.site-header.is-scrolled .nav-toggle span { background: var(--braun); }
.site-header.is-hidden { transform: translateY(-100%); }

/* hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 46px; height: 46px; background: transparent; border: 0;
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span {
  width: 26px; height: 2px; background: var(--cream);
  border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease), background-color .3s var(--ease);
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO (Startseite)
   ========================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  color: var(--cream); text-align: left;
  padding-top: var(--header-h); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 22s var(--ease-soft) forwards;
}
@keyframes kenburns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.16); }
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(95deg, rgba(11,15,16,.90) 0%, rgba(11,15,16,.74) 38%, rgba(11,15,16,.34) 70%, rgba(11,15,16,.12) 100%),
    linear-gradient(180deg, transparent 55%, rgba(59,31,22,.78) 100%);
}
.hero__content {
  display: flex; flex-direction: column; align-items: flex-start;
  padding-block: 4rem; max-width: 740px;
}
.hero__title {
  color: var(--cream);
  font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.5rem);
  font-weight: 500; line-height: 1.08;
  text-shadow: 0 2px 30px rgba(0,0,0,.45);
}
.hero__lead {
  max-width: 560px; font-size: clamp(1rem, .95rem + .4vw, 1.2rem);
  font-weight: 400; color: #F1E7D8; margin-bottom: 2rem;
  text-shadow: 0 1px 14px rgba(0,0,0,.55);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: flex-start; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 28px; height: 46px; border: 1.5px solid rgba(251,247,240,.65);
  border-radius: 16px; display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll span {
  width: 4px; height: 9px; background: var(--gold); border-radius: 2px;
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0%{opacity:0;transform:translateY(-4px);} 40%{opacity:1;} 80%,100%{opacity:0;transform:translateY(12px);} }

/* ---------- Hero-Eingang (gestaffelt) ---------- */
.hero__content .anim-in { opacity: 0; transform: translateY(34px); }
.is-loaded .hero__content .anim-in { animation: heroIn .9s var(--ease) forwards; }
.is-loaded .hero__content .anim-in:nth-child(1) { animation-delay: .15s; }
.is-loaded .hero__content .anim-in:nth-child(2) { animation-delay: .30s; }
.is-loaded .hero__content .anim-in:nth-child(3) { animation-delay: .42s; }
.is-loaded .hero__content .anim-in:nth-child(4) { animation-delay: .54s; }
.is-loaded .hero__content .anim-in:nth-child(5) { animation-delay: .66s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* =========================================================
   PAGE-HERO (Unterseiten)
   ========================================================= */
.page-hero {
  position: relative; min-height: 56vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--cream);
  padding: calc(var(--header-h) + 3rem) 0 3rem; overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 24s var(--ease-soft) forwards;
}
.page-hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 70% at 50% 45%, rgba(11,15,16,.45), transparent 75%),
    linear-gradient(180deg, rgba(11,15,16,.72) 0%, rgba(11,15,16,.52) 45%, rgba(59,31,22,.85) 100%);
}
.page-hero__content { max-width: 720px; }
.page-hero__title {
  color: var(--cream); font-size: clamp(2.3rem, 1.5rem + 3vw, 3.8rem);
  font-weight: 500; line-height: 1.12; text-shadow: 0 2px 26px rgba(0,0,0,.45);
}
.page-hero__lead {
  max-width: 540px; margin: 0 auto;
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
  color: #F1E7D8; text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.breadcrumb {
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .8rem;
}
.breadcrumb a { transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--cream); }
.breadcrumb span { opacity: .6; margin: 0 .35rem; }

/* =========================================================
   SOMMERPAUSE NOTICE
   ========================================================= */
.notice { background: var(--braun); color: var(--cream); }
.notice__inner {
  display: flex; align-items: center; gap: 1.2rem 1.6rem;
  flex-wrap: wrap; justify-content: center; text-align: center;
  padding-block: 1.15rem;
}
.notice__tag {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.15rem; color: var(--gold);
}
.notice p { font-size: .98rem; font-weight: 400; }
.notice strong { font-weight: 600; color: var(--gold); }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.section--cream { background: var(--cream-2); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--schwarz); }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--dark .section__lead { color: #D8C7B4; }

/* ---------- Split (Über uns / Workshop) ---------- */
.split__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; overflow: hidden; border-radius: var(--radius); }
.split__media img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  box-shadow: var(--shadow-md);
  transition: transform 1.1s var(--ease-soft);
}
.split:hover .split__media img { transform: scale(1.05); }
.split__badge {
  position: absolute; right: 16px; bottom: 16px;
  background: var(--gold); color: var(--braun-dark);
  font-family: var(--font-serif); font-style: italic; font-size: 1rem;
  padding: .8rem 1.3rem; border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(11,15,16,.38);
  max-width: 200px; line-height: 1.35; z-index: 2;
}
.split__text p { color: var(--ink-soft); margin-bottom: 1rem; }
.split__text .btn { margin-top: .8rem; }

.split--brown { background: var(--braun); }
.split--brown h2, .split--brown h3 { color: var(--cream); }
.split--brown .split__text p { color: #E7D8C5; }

.facts { margin: 1.2rem 0 .4rem; display: grid; gap: .55rem; }
.facts li {
  position: relative; padding-left: 1.6rem;
  color: #E7D8C5; font-size: .98rem;
}
.facts li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 8px; background: var(--gold);
  transform: rotate(45deg);
}
.facts strong { color: var(--cream); font-weight: 600; }

/* ---------- Cards (Angebot-Teaser) ---------- */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2rem);
}
.card {
  position: relative; background: var(--paper); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease); z-index: 2;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.card:hover::after { transform: scaleX(1); }
.card__media { overflow: hidden; }
.card__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .8s var(--ease-soft);
}
.card:hover .card__media img { transform: scale(1.08); }
.card__body { padding: 1.6rem 1.7rem 1.9rem; }
.card__body h3 { margin-bottom: .5rem; transition: color .25s var(--ease); }
.card:hover .card__body h3 { color: var(--gold-deep); }
.card__body p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 1.1rem; }

/* ---------- Produkt-Karten ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2.1rem);
}
.product-card {
  position: relative; background: var(--paper); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card__media { position: relative; overflow: hidden; }
.product-card__media img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform .85s var(--ease-soft);
}
.product-card:hover .product-card__media img { transform: scale(1.09); }
.product-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(59,31,22,.4));
  opacity: 0; transition: opacity .4s var(--ease);
}
.product-card:hover .product-card__media::after { opacity: 1; }
.product-card__body {
  padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column;
  flex: 1; gap: .55rem;
}
.product-card__body h3 {
  font-size: 1.25rem; transition: color .25s var(--ease);
}
.product-card:hover .product-card__body h3 { color: var(--gold-deep); }
.product-card__desc { color: var(--ink-soft); font-size: .92rem; flex: 1; }
.price-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.price-chips li {
  font-size: .8rem; font-weight: 600; color: var(--braun);
  background: var(--cream-2); border-radius: 100px;
  padding: .32rem .75rem; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.product-card:hover .price-chips li { background: var(--gold-soft); }
.price-chips li span { color: var(--gold-deep); }

/* ---------- Referenz-Website-Link auf der Karte ---------- */
.ref-website {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .8rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .03em;
  color: var(--gold-deep); text-decoration: none;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  transition: color .2s var(--ease), gap .2s var(--ease), border-color .2s var(--ease);
  align-self: flex-start;
}
.ref-website:hover { color: var(--braun); border-color: var(--braun); gap: .55rem; }
.ref-website span { display: inline-block; transition: transform .2s var(--ease); }
.ref-website:hover span { transform: translateX(3px); }

/* ---------- reCAPTCHA-Badge ausblenden (Hinweis im Footer ist Pflicht) ---------- */
.grecaptcha-badge { visibility: hidden !important; opacity: 0 !important; }
.footer__recaptcha {
  font-size: .72rem; color: #B8A88F; line-height: 1.5;
  text-align: center; padding: .8rem clamp(1rem, 4vw, 2rem) 0;
  max-width: 700px; margin: 0 auto;
}
.footer__recaptcha a { color: var(--gold); }
.footer__recaptcha a:hover { color: var(--cream); }
.price-single {
  margin-top: .6rem; font-family: var(--font-serif);
  font-size: 1.15rem; color: var(--braun); font-weight: 600;
}

/* ---------- Kategorie-Tiles (Angebot-Übersicht) ---------- */
.cat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2rem);
}
.cat-tile {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); min-height: 380px;
  box-shadow: var(--shadow-sm);
}
.cat-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 1s var(--ease-soft);
}
.cat-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,15,16,.15) 0%, rgba(11,15,16,.78) 100%);
  transition: background .4s var(--ease);
}
.cat-tile:hover img { transform: scale(1.09); }
.cat-tile:hover::after { background: linear-gradient(180deg, rgba(81,44,33,.35) 0%, rgba(11,15,16,.86) 100%); }
.cat-tile__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 2rem; color: var(--cream);
}
.cat-tile__body h3 { color: var(--cream); font-size: 1.7rem; margin-bottom: .3rem; }
.cat-tile__body p { font-size: .92rem; color: #E7D8C5; }
.cat-tile__more {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
}
.cat-tile__more::after { content: "\2192"; transition: transform .3s var(--ease); }
.cat-tile:hover .cat-tile__more::after { transform: translateX(6px); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(.7rem, 1.6vw, 1.1rem);
}
.gallery__item {
  overflow: hidden; border-radius: var(--radius);
  position: relative; cursor: pointer;
}
.gallery__item img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform .8s var(--ease-soft), filter .4s var(--ease);
}
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(81,44,33,.05) 30%, rgba(59,31,22,.62));
  opacity: 0; transition: opacity .4s var(--ease);
}
.gallery__item .gallery__plus {
  position: absolute; inset: 0; margin: auto;
  width: 56px; height: 56px; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--gold); border-radius: 50%;
  color: var(--cream); background: rgba(11,15,16,.35);
  opacity: 0; transform: scale(.6); backdrop-filter: blur(2px);
  transition: opacity .4s var(--ease), transform .45s var(--ease);
}
.gallery__item:hover img { transform: scale(1.1); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover .gallery__plus { opacity: 1; transform: scale(1); }
.gallery__item a { display: block; position: relative; text-decoration: none; color: inherit; cursor: zoom-in; }
.gallery .gallery__item[hidden] { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(11,15,16,.94);
  display: none; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.lightbox.is-open { display: flex; opacity: 1; }
body.lightbox-open { overflow: hidden; }
.lightbox__img-wrap {
  position: relative; max-width: 92vw; max-height: 86vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__img {
  max-width: 100%; max-height: 86vh;
  width: auto; height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  border-radius: 4px;
  background: var(--braun-dark);
}
.lightbox__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(202,172,122,.92); color: var(--braun-dark);
  border: 0; cursor: pointer;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.lightbox__btn:hover { background: var(--cream); transform: translateY(-50%) scale(1.08); }
.lightbox__btn--prev { left: clamp(.5rem, 2vw, 2rem); }
.lightbox__btn--next { right: clamp(.5rem, 2vw, 2rem); }
.lightbox__close {
  position: fixed; top: clamp(1rem, 2vw, 2rem); right: clamp(1rem, 2vw, 2rem);
  background: transparent; color: var(--cream); border: 0; cursor: pointer;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.lightbox__close:hover { color: var(--gold); transform: scale(1.1); }
.lightbox__counter {
  position: fixed; top: clamp(1rem, 2vw, 2rem); left: clamp(1rem, 2vw, 2rem);
  color: var(--cream); font-family: var(--font-sans);
  font-size: .9rem; letter-spacing: .06em;
  background: rgba(11,15,16,.4); padding: .4rem .9rem; border-radius: 999px;
}
.lightbox__caption {
  position: absolute; bottom: -42px; left: 0; right: 0;
  color: #D8C7B4; text-align: center; font-size: .88rem;
  font-style: italic; padding: 0 2rem;
}
.lightbox:focus { outline: none; }
@media (max-width: 760px) {
  .lightbox__btn { width: 44px; height: 44px; }
  .lightbox__btn--prev { left: .5rem; }
  .lightbox__btn--next { right: .5rem; }
  .lightbox__caption { bottom: -36px; font-size: .8rem; }
}

/* ---------- Quotes (Referenzen) ---------- */
.quotes {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2rem);
}
.quote {
  background: var(--paper); border-radius: var(--radius);
  padding: 2.6rem 1.9rem 1.9rem; box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote::before {
  content: "\201C"; position: absolute; top: .3rem; left: 1.2rem;
  font-family: var(--font-serif); font-size: 4.5rem; color: var(--gold);
  line-height: 1;
}
.quote p {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.08rem; color: var(--braun); margin-bottom: 1rem;
  position: relative;
}
.quote cite {
  font-style: normal; font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep);
}
.placeholder-hint {
  text-align: center; margin-top: 1.6rem;
  font-size: .82rem; color: var(--ink-soft); font-style: italic;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 2.6vw, 2rem);
}
.team-card {
  background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex; gap: 1.3rem; align-items: flex-start;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-card__avatar {
  flex: none; width: 96px; height: 96px; border-radius: 50%;
  background: var(--gold); color: var(--braun-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 2.4rem; font-weight: 500;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(11,15,16,.12);
}
.team-card__avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.team-card .role {
  font-size: .76rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: .45rem;
}
.team-card h3 { margin-bottom: .5rem; }
.team-card p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Flip-Karten (regionale Lieferanten) ---------- */
.flip-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(.9rem, 1.8vw, 1.3rem);
}
.flip-card { perspective: 1100px; height: 210px; cursor: pointer; }
.flip-card__inner {
  position: relative; width: 100%; height: 100%;
  transition: transform .8s var(--ease); transform-style: preserve-3d;
}
.flip-card:hover .flip-card__inner,
.flip-card:focus-visible .flip-card__inner,
.flip-card.is-flipped .flip-card__inner { transform: rotateY(180deg); }
.flip-card:focus-visible { outline: none; }
.flip-card:focus-visible .flip-card__front { outline: 3px solid var(--gold); outline-offset: 3px; }
.flip-card__face {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: var(--radius); padding: 1.4rem 1rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; box-shadow: var(--shadow-sm);
}
.flip-card__front { background: var(--braun-dark); overflow: hidden; }
.flip-card__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  transition: transform 1.3s var(--ease-soft);
}
.flip-card:hover .flip-card__bg,
.flip-card:focus-visible .flip-card__bg { transform: scale(1.1); }
.flip-card__front::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,15,16,.28) 0%, rgba(59,31,22,.55) 52%, rgba(40,20,14,.88) 100%);
}
.flip-card__front .label,
.flip-card__front h3,
.flip-card__front .flip-hint { position: relative; z-index: 2; }
.flip-card__front .label {
  font-size: .68rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .5rem;
}
.flip-card__front h3 {
  font-size: 1.35rem; color: var(--cream); line-height: 1.25;
  text-shadow: 0 2px 16px rgba(0,0,0,.55);
}
.flip-card__front .flip-hint { margin-top: .8rem; color: var(--gold); }
.flip-card__back { background: var(--braun); color: #E7D8C5; transform: rotateY(180deg); }
.flip-card__back strong {
  display: block; color: var(--cream); font-family: var(--font-serif);
  font-size: 1.02rem; margin-bottom: .45rem; line-height: 1.3;
}
.flip-card__back span { font-size: .84rem; line-height: 1.55; }
.flip-card__back a {
  color: var(--gold); font-weight: 600; font-size: .8rem;
  letter-spacing: .04em; margin-top: .7rem;
  border-bottom: 1.5px solid currentColor; padding-bottom: 1px;
  transition: color .2s var(--ease);
}
.flip-card__back a:hover { color: var(--cream); }

/* ---------- Produkt-Filter ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center;
  margin-bottom: 1rem;
}
.filter-note {
  text-align: center; font-size: .8rem; font-style: italic;
  color: var(--ink-soft); max-width: 540px;
  margin: 0 auto clamp(2.2rem, 4.5vw, 3.4rem);
}
.filter-note strong { color: var(--gold-deep); font-style: normal; }
.filter-btn {
  font-family: var(--font-sans); font-size: .86rem; font-weight: 600;
  letter-spacing: .03em; color: var(--braun);
  background: transparent; border: 1.5px solid var(--cream-2);
  border-radius: 999px; padding: .62rem 1.45rem; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .2s var(--ease);
}
.filter-btn:hover {
  border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px);
}
.filter-btn .count { font-size: .76em; opacity: .55; margin-left: .35em; font-weight: 500; }
.filter-btn.is-active {
  background: var(--braun); color: var(--cream); border-color: var(--braun);
  box-shadow: 0 6px 16px rgba(59,31,22,.22);
}
.filter-btn.is-active:hover { color: var(--cream); }
.filter-btn.is-active .count { opacity: .72; }
.filter-btn--season .season-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); margin-right: .5em; vertical-align: middle;
}
.filter-btn--season.is-active .season-dot { background: var(--cream); }
.filter-btn.is-offseason { opacity: .6; border-style: dashed; }
.filter-btn.is-offseason:hover { opacity: 1; }
.filter-btn.is-offseason.is-active { opacity: 1; }
.product-grid .product-card[hidden] { display: none; }
.product-card__tag {
  display: inline-block; font-size: .66rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: .5rem;
}

/* ---------- Kontakt (helle Sektion) ---------- */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; max-width: 940px; margin-inline: auto;
  background: var(--paper); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.contact-col { padding: clamp(2rem, 4vw, 3.2rem); }
.contact-col + .contact-col { border-left: 1px solid var(--cream-2); }
.contact-col h3 { color: var(--braun); margin-bottom: 1.2rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours tr { border-bottom: 1px solid var(--cream-2); }
.hours tr:last-child { border-bottom: 0; }
.hours th, .hours td { padding: .8rem 0; text-align: left; vertical-align: top; }
.hours th { font-weight: 600; color: var(--ink); }
.hours td { color: var(--ink-soft); text-align: right; }
.contact-col address {
  font-style: normal; color: var(--ink-soft); line-height: 1.9; margin-bottom: 1rem;
}
.contact-col address strong { color: var(--ink); }
.contact-lines { margin-bottom: 1.5rem; }
.contact-lines a { color: var(--braun); font-weight: 600; transition: color .2s var(--ease); }
.contact-lines a:hover { color: var(--gold-deep); }

/* ---------- Kontaktseite: Formular + Info ---------- */
.contact-layout {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
}
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form__group { display: grid; gap: .4rem; }
.form label {
  font-size: .78rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--braun);
}
.form input, .form textarea {
  font-family: var(--font-sans); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--cream-2);
  border-radius: var(--radius); padding: .85rem 1rem; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(202,172,122,.28);
}
.form textarea { min-height: 150px; resize: vertical; }
.form__hint { font-size: .82rem; color: var(--ink-soft); font-style: italic; }

.info-card {
  background: var(--braun); color: #E7D8C5;
  border-radius: var(--radius); padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-md);
}
.info-card h3 { color: var(--gold); margin-bottom: 1rem; }
.info-card + .info-card { margin-top: 1.4rem; }
.info-card address { font-style: normal; line-height: 1.9; }
.info-card address strong { color: var(--cream); }
.info-card a:not(.btn) { color: var(--gold); transition: color .2s var(--ease); }
.info-card a:not(.btn):hover { color: var(--cream); }
.info-card .hours tr { border-color: rgba(202,172,122,.22); }
.info-card .hours th { color: var(--cream); }
.info-card .hours td { color: #E7D8C5; }
.info-card .btn { margin-top: 1.3rem; }
.info-card__lines { margin: .6rem 0 0; line-height: 1.9; }
.info-card__lines a { font-weight: 600; }

/* Kontakt-Block auf der Startseite (dunkle Sektion) */
.home-contact {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.4rem, 3vw, 2.2rem);
  max-width: 960px; margin-inline: auto;
  align-items: stretch;
}
.home-contact .info-card {
  display: flex; flex-direction: column; height: 100%;
}
.home-contact .info-card address { margin-bottom: .2rem; }
.home-contact .info-card .btn { margin-top: auto; align-self: flex-start; }
.home-contact .info-card + .info-card { margin-top: 0; }
@media (max-width: 760px) {
  .home-contact { grid-template-columns: 1fr; }
  .home-contact .info-card .btn { align-self: stretch; }
}

/* ---------- Karte (Leaflet / OpenStreetMap) ---------- */
.map-section { position: relative; width: 100%; }
.map {
  width: 100%; height: 480px;
  background: var(--cream-2); z-index: 0;
}
/* OSM-Kacheln in warme Schoggi-Stübli-Töne einfärben */
.map .leaflet-tile {
  filter: sepia(.62) saturate(1.45) hue-rotate(-12deg) brightness(1.05) contrast(.9);
}
.map .leaflet-container { background: var(--cream-2); font-family: var(--font-sans); }
.map .leaflet-bar a {
  background: var(--cream); color: var(--braun);
  border-bottom-color: var(--cream-2);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.map .leaflet-bar a:hover { background: var(--gold); color: var(--braun-dark); }
.map .leaflet-control-attribution {
  background: rgba(251,247,240,.86); color: var(--ink-soft);
  font-size: .68rem; padding: 2px 6px;
}
.map .leaflet-control-attribution a { color: var(--gold-deep); }
.map-pin { filter: drop-shadow(0 7px 9px rgba(11,15,16,.45)); }

/* Schwebende Adress-Karte über der Karte */
.map-card {
  position: absolute; z-index: 500;
  left: clamp(1rem, 5vw, 4.5rem); top: 50%; transform: translateY(-50%);
  width: min(340px, 84vw);
  background: var(--cream); border-radius: var(--radius);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.6rem, 3vw, 2.3rem);
}
.map-card .kicker { margin-bottom: .5rem; }
.map-card h3 { color: var(--braun); margin-bottom: .8rem; }
.map-card address {
  font-style: normal; color: var(--ink-soft);
  line-height: 1.8; margin-bottom: 1.2rem;
}
.map-card address strong { color: var(--ink); }
.map-card .btn { width: 100%; }

@media (max-width: 760px) {
  .map { height: 380px; }
  .map-card {
    position: static; transform: none; width: auto;
    margin: -2.4rem clamp(1rem,5vw,2rem) 0;
    box-shadow: var(--shadow-md);
  }
  .map-section { padding-bottom: 1.5rem; background: var(--cream); }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--braun-dark); color: #D8C7B4; }
.footer__inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(2.8rem, 5vw, 4rem);
  align-items: start;
}
.footer__logo { height: 72px; width: auto; margin-bottom: 1rem; }
.footer__brand p { font-size: .95rem; font-weight: 300; max-width: 260px; margin-bottom: 1.1rem; }
.footer__social { display: flex; gap: .7rem; }
.footer__social a {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(202,172,122,.4); border-radius: 50%;
  color: #D8C7B4; transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.footer__social a:hover {
  background: var(--gold); border-color: var(--gold);
  color: var(--braun-dark); transform: translateY(-3px);
}
.footer__col h4 {
  color: var(--gold); font-size: .88rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  font-family: var(--font-sans); margin-bottom: 1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer__col a, .footer__col p { font-size: .92rem; }
.footer__col a { transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--gold); }
.footer__bar { border-top: 1px solid rgba(202,172,122,.18); }
.footer__bar-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  padding-block: 1.3rem; font-size: .82rem;
}
.footer__legal a { transition: color .2s var(--ease); }
.footer__legal a:hover { color: var(--gold); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--braun); color: var(--cream); border: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), background-color .25s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold); color: var(--braun-dark); transform: translateY(-3px); }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal--left  { transform: translateX(-46px); }
.reveal--right { transform: translateX(46px); }
.reveal--zoom  { transform: scale(.92); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Eye-Catcher: Ornament zeichnet sich ein ---------- */
.ornament path[stroke] { stroke-dasharray: 100; stroke-dashoffset: 100; }
.ornament path[fill="currentColor"], .ornament circle { opacity: 0; }
.ornament.is-drawn path[stroke] {
  transition: stroke-dashoffset 1.1s var(--ease);
  stroke-dashoffset: 0;
}
.ornament.is-drawn path[fill="currentColor"] { transition: opacity .5s ease .55s; opacity: 1; }
.ornament.is-drawn circle { transition: opacity .5s ease .8s; opacity: 1; }

/* ---------- Eye-Catcher: Glanz-Sweep über Karten-Bilder ---------- */
.card__media, .product-card__media { position: relative; }
.card__media::after, .product-card__media::after {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 55%; height: 100%; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.42), transparent);
  transform: skewX(-18deg);
}
.card:hover .card__media::after,
.product-card:hover .product-card__media::after { animation: shine .9s var(--ease); }
@keyframes shine { from { left: -80%; } to { left: 150%; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero__scroll { display: none; }
  .split__grid,
  .contact-wrap,
  .contact-layout { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media img { aspect-ratio: 16 / 10; }
  .cards, .quotes, .cat-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .flip-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-col + .contact-col { border-left: 0; border-top: 1px solid var(--cream-2); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 70px; }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    background: var(--braun); flex-direction: column;
    align-items: flex-start; justify-content: center; gap: 1.6rem;
    padding: 2.5rem; transform: translateX(110%);
    transition: transform .4s var(--ease);
    box-shadow: -20px 0 50px rgba(0,0,0,.3);
  }
  body.nav-open .nav { transform: translateX(0); }
  .nav a, .site-header.is-scrolled .nav a { color: var(--cream); font-size: 1.05rem; }
  .nav a:not(.nav__cta)::after { display: none; }
  .nav a.nav__cta, .site-header.is-scrolled .nav a.nav__cta {
    color: var(--braun-dark); align-self: flex-start; margin-top: .4rem;
  }

  .cards, .quotes, .product-grid, .cat-grid, .team-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .gallery__item img { aspect-ratio: 1 / 1; }
  .flip-grid { grid-template-columns: 1fr 1fr; }

  .form__row { grid-template-columns: 1fr; gap: 1rem; }
  .form input, .form textarea { font-size: 16px; }  /* iOS-Auto-Zoom vermeiden */

  .info-card { padding: 1.4rem 1.3rem; }

  .filter-bar { gap: .4rem; }
  .filter-btn { padding: .55rem 1rem; font-size: .8rem; }

  .split__badge { right: 12px; bottom: 12px; font-size: .9rem; padding: .65rem 1rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; }

  .map { height: 320px; }
}

@media (max-width: 460px) {
  .hero__content { padding-block: 2.5rem; }
  .hero__lead { font-size: 1rem; }
  .breadcrumb { font-size: .78rem; }
  .gallery { grid-template-columns: 1fr 1fr; }
}

/* Scroll-Hinweis ausblenden, wenn der Hero zu niedrig ist */
@media (max-height: 760px) {
  .hero__scroll { display: none; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__content .anim-in { opacity: 1 !important; transform: none !important; }
  .hero__media img, .page-hero__media img { animation: none !important; }
  .ornament path { stroke-dashoffset: 0 !important; }
  .ornament path[fill="currentColor"], .ornament circle { opacity: 1 !important; }
  .card__media::after, .product-card__media::after { display: none !important; }
}

/* =========================================================
   Legacy-Shortcode-Shim (Impreza/WPBakery-Übergang)
   Stilisiert die per inc/legacy-shortcodes.php gerenderten
   Alt-Inhalte markenkonform. Wird mit dem Shim wieder entfernt.
   ========================================================= */
.content-image { margin: 1.2rem 0; }
.content-image img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.us-sep { border: 0; }
.us-sep--space { display: block; width: 100%; }
.us-sep--line { height: 0; border-top: 1px solid var(--cream-2); margin: 1.4rem 0; }
.us-sep--dashed { border-top-style: dashed; border-top-color: var(--gold-soft); }

.cta {
  background: var(--cream);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  text-align: center;
  margin: 1.6rem 0;
}
.cta__title { margin: 0 0 .6rem; }
.cta__text { color: var(--ink-soft); margin-bottom: 1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

.iconbox { margin: 1rem 0; }

.accordion { margin: 1.2rem 0; display: grid; gap: .6rem; }
.accordion__item {
  background: var(--paper);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.accordion__item > summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.2rem;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--braun);
  position: relative;
}
.accordion__item > summary::-webkit-details-marker { display: none; }
.accordion__item > summary::after {
  content: "+";
  position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  color: var(--gold-deep); font-size: 1.3rem; line-height: 1;
}
.accordion__item[open] > summary::after { content: "–"; }
.accordion__body { padding: 0 1.2rem 1.1rem; color: var(--ink-soft); }

.map-embed { margin: 1.4rem 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-embed iframe { display: block; }

/* =========================================================
   Migrierte Inhalte (Gutenberg-Core-Blöcke in .page-content)
   – markenkonform; betrifft nur über page.php gerenderte Seiten
   ========================================================= */
.page-content { font-family: var(--font-sans); color: var(--ink); }
.page-content > * + * { margin-top: 1rem; }
.page-content h2, .page-content h3, .page-content h4 { font-family: var(--font-serif); color: var(--braun); line-height: 1.2; }
.page-content h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-top: 2rem; }
.page-content h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-top: 1.6rem; }
.page-content h4 { font-size: 1.1rem; margin-top: 1.2rem; }
.page-content p { line-height: 1.7; }
.page-content a { color: var(--gold-deep); }

.page-content .wp-block-image { margin: 1.4rem 0; }
.page-content .wp-block-image img { border-radius: var(--radius); box-shadow: var(--shadow-sm); height: auto; }
.page-content figure { margin: 1.4rem 0; }

.page-content .wp-block-separator { border: 0; border-top: 1px solid var(--cream-2); max-width: 100%; margin: 1.4rem auto; opacity: 1; }

.page-content .wp-block-list { line-height: 1.7; padding-left: 1.2rem; }
.page-content ul, .page-content ol { line-height: 1.7; padding-left: 1.2rem; }

.page-content .wp-block-details {
  background: var(--paper); border: 1px solid var(--cream-2);
  border-radius: var(--radius); padding: .2rem 1.2rem; margin: .6rem 0;
}
.page-content .wp-block-details > summary {
  cursor: pointer; padding: 1rem 0; list-style: none;
  font-family: var(--font-serif); font-weight: 600; color: var(--braun);
}
.page-content .wp-block-details > summary::-webkit-details-marker { display: none; }

.page-content .wp-block-buttons { margin: 1.2rem 0; gap: .8rem; display: flex; flex-wrap: wrap; }
.page-content .wp-block-button__link {
  display: inline-block; background: var(--gold); color: var(--braun-dark);
  border-radius: 999px; padding: .7rem 1.5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem; text-decoration: none;
}
.page-content .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent; border: 1px solid var(--gold); color: var(--braun);
}
