/* ==========================================================================
   ZwischenZeit – Webseite
   Farben & Stil der bisherigen Seite, aufgeraeumt und fuers Handy optimiert.
   ========================================================================== */

/* Schrift: Delius liegt lokal auf dem Server (kein Google-Aufruf, DSGVO-freundlich) */
@font-face {
  font-family: "Delius";
  src: url("../fonts/Delius-Regular.woff2") format("woff2"),
       url("../fonts/Delius-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --gruen: #4E7229;
  --gruen-dunkel: #3d5a20;
  --salbei: #B0BF9B;
  --salbei-hell: #D5DDC9;
  --rot: #AF1A23;
  --rot-dunkel: #8e141c;
  --beige: #EBE6DC;
  --creme: #FBF9F4;
  --eierschale: #F4EEE2;
  --eierschale-hell: #FAF6EE;
  --braun: #521818;
  --text: #2a2a24;
  --text-weich: #4a4a40;
  --weiss: #fff;

  --font: "Delius", "Comic Neue", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --radius: 18px;
  --radius-s: 10px;
  --shadow: 0 10px 30px rgba(52, 66, 30, .12);
  --shadow-s: 0 4px 14px rgba(52, 66, 30, .10);
  --max: 1160px;
  --header-h: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--weiss);
  font-size: clamp(17px, 1.05vw + 12px, 21px);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot); text-decoration: none; }
a:hover { color: var(--rot-dunkel); }
h1, h2, h3 { font-weight: 400; line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; border-radius: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--rot); color: #fff; padding: 8px 14px; z-index: 10000; }
.skip:focus { left: 8px; top: 8px; }

main { background: var(--eierschale); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.container.narrow { max-width: 860px; }
.container.wide { max-width: 1400px; }
.center { text-align: center; }

.section { padding: clamp(40px, 6vw, 80px) 0; }
.section-salbei { background: var(--salbei); }
.section-title { color: var(--rot); font-size: clamp(26px, 2.6vw + 10px, 40px); letter-spacing: .02em; }
.page-title { color: var(--rot); font-size: clamp(30px, 3vw + 12px, 46px); }
.kicker { color: var(--rot); font-size: clamp(20px, 1.4vw + 10px, 28px); letter-spacing: .08em; margin: 0 0 .3em; }


/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.2) blur(6px);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.header-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: var(--header-h); padding: 0 clamp(14px, 3vw, 36px);
  transition: height .25s ease;
}
.site-header.scrolled .header-inner { height: 80px; }
.brand img { height: calc(var(--header-h) - 26px); width: auto; transition: height .25s ease; }
.site-header.scrolled .brand img { height: 60px; }
.leib-seele { height: calc(var(--header-h) - 22px); width: auto; transition: height .25s ease; }
.site-header.scrolled .leib-seele { height: 62px; }

.main-nav { display: flex; gap: clamp(14px, 2.4vw, 40px); align-items: center; }
.main-nav a {
  color: var(--text); font-size: clamp(16px, 1.15vw + 6px, 24px); letter-spacing: .04em;
  position: relative; padding: 6px 2px;
  transition: color .2s ease, transform .2s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 0; height: 3px;
  background: var(--rot); border-radius: 3px; transition: width .25s ease, left .25s ease;
}
.main-nav a:hover { color: var(--rot); transform: translateY(-1px); }
.main-nav a:hover::after, .main-nav a.active::after { width: 70%; left: 15%; }
.main-nav a.active { color: var(--rot); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { background: var(--gruen); color: #fff; padding: clamp(56px, 8vw, 110px) 0; }
.hero-text { font-size: clamp(24px, 2.4vw + 12px, 40px); line-height: 1.45; margin: 0; }

/* Status-Anzeige */
.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 28px auto 0; padding: 10px 22px;
  background: rgba(255,255,255,.95); color: var(--gruen);
  border-radius: 999px; box-shadow: var(--shadow-s);
  font-size: clamp(15px, .6vw + 12px, 19px); line-height: 1.35;
  animation: pop .5s ease-out both;
}
.status-pill strong { color: var(--rot); font-weight: 700; }
.status-pill .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--salbei); flex: none; }
.status-pill > span:last-child { text-align: left; }
.status-open .dot, .status-today .dot { background: #5fa133; box-shadow: 0 0 0 0 rgba(95,161,51,.6); animation: pulse 2s infinite; }
.status-closed .dot { background: var(--rot); }
.section .status-pill { display: flex; width: fit-content; margin: 0 auto 36px; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95,161,51,.55); } 70% { box-shadow: 0 0 0 10px rgba(95,161,51,0); } 100% { box-shadow: 0 0 0 0 rgba(95,161,51,0); } }

/* ---------- Abendoeffnung ---------- */
.special-banner { background: var(--beige); padding: clamp(40px, 5vw, 64px) 0; }
.special-title { color: var(--gruen); font-size: clamp(28px, 3vw + 12px, 50px); margin: 0 0 .4em; }
.special-date { color: var(--rot); font-weight: 700; font-size: clamp(17px, 1vw + 12px, 24px); margin: 0 0 .6em; }
.special-date img { display: inline-block; width: 22px; height: auto; vertical-align: -3px; margin-right: 10px; }
.nowrap { white-space: nowrap; }

/* ---------- CTA ---------- */
.cta { padding: clamp(48px, 7vw, 90px) 0; }
.cta-link { display: inline-flex; align-items: center; gap: 16px; font-size: clamp(22px, 1.8vw + 12px, 34px); transition: transform .25s ease; }
.cta-link img { width: 40px; flex: none; transition: transform .3s ease; }
.cta-link:hover { transform: scale(1.03); }
.cta-link:hover img { transform: rotate(-10deg) scale(1.1); }
.insta-link, .site-footer .insta { display: inline-flex; align-items: center; gap: 8px; color: var(--gruen); font-size: clamp(17px, .8vw + 12px, 22px); }
.cta .insta-link { display: flex; width: fit-content; margin: 22px auto 0; }
.insta-link img, .site-footer .insta img { width: 22px; height: 22px; }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-block; background: var(--rot); color: #fff;
  padding: 12px 26px; border-radius: 999px;
  font-size: clamp(17px, .6vw + 13px, 21px); letter-spacing: .02em;
  box-shadow: 0 6px 16px rgba(175, 26, 35, .25);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--rot-dunkel); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(175, 26, 35, .3); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: .95em; }
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Aktuelles / Vorschau-Boxen ---------- */
.post { padding: clamp(44px, 6vw, 84px) 0; }
.post-salbei { background: var(--salbei); }
.post-beige { background: var(--beige); }
.post-weiss { background: var(--eierschale); }
.post-gruen { background: var(--gruen); color: #fff; }
.post-gruen .kicker, .post-gruen .post-sub, .post-gruen h3 { color: #fff; }
.post-gruen .place-card { color: var(--text); }
.post + .post { border-top: 2px dashed rgba(255,255,255,.6); }
.post-head { text-align: center; margin-bottom: clamp(26px, 4vw, 44px); }
.post-head .kicker { font-size: clamp(16px, .6vw + 13px, 20px); letter-spacing: .18em; }
.post-title { font-size: clamp(30px, 3.2vw + 12px, 54px); margin: 0; letter-spacing: .02em; }
.post-sub { color: var(--rot); font-size: clamp(18px, 1vw + 12px, 24px); margin: .2em 0 0; }
.post-body { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.post-body.single { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
.post-text h3 { font-size: clamp(22px, 1.4vw + 12px, 32px); margin-bottom: .6em; }
.post-text .btn { margin-top: .4em; }
.place-card {
  background: var(--eierschale); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow); position: relative;
  transform: rotate(-1deg);
}
.place-card::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 90px; height: 24px; margin-left: -45px;
  background: rgba(235, 230, 220, .85); transform: rotate(2deg); border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.place-card h3 { color: var(--rot); display: flex; align-items: center; gap: 10px; font-size: clamp(22px, 1vw + 14px, 30px); }
.place-card h3 img { width: 28px; }
.place-card address { font-size: clamp(18px, .6vw + 14px, 22px); line-height: 1.6; margin-bottom: .8em; }

.post-images { display: grid; gap: clamp(10px, 1.6vw, 20px); margin-top: clamp(26px, 4vw, 44px); grid-template-columns: repeat(3, 1fr); }
.post-images.n1 { grid-template-columns: 1fr; max-width: 760px; margin-left: auto; margin-right: auto; }
.post-images.n2 { grid-template-columns: repeat(2, 1fr); }
.post-images.n4 { grid-template-columns: repeat(4, 1fr); }
.post-images img { width: 100%; height: clamp(200px, 26vw, 360px); object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-s); }

/* Layout: Banner (alles mittig) */
.layout-banner .banner-inner { text-align: center; }
.layout-banner .banner-inner p { max-width: 680px; margin-left: auto; margin-right: auto; }
.layout-banner .banner-inner h3 { font-size: clamp(20px, 1.2vw + 12px, 28px); }
.layout-banner .btn { margin-top: .3em; }
.layout-banner .post-images { max-width: 1000px; margin-left: auto; margin-right: auto; }
.place-line { margin: 0 0 1.2em; }
.place-line h3 { display: inline-flex; align-items: center; gap: 8px; color: var(--rot); font-size: 1em; margin: 0 0 .2em; }
.place-line h3 img { width: 18px; }
.place-line address { display: inline; }
.place-line address br { display: none; }
.place-line address::after { content: " · "; }
.post-gruen .special-title, .post-gruen .special-date { color: #fff; }

/* Layout: Foto links / rechts */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(26px, 5vw, 70px); align-items: center; }
.split.reverse .split-photo { order: 2; }
.split.no-img { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
.split-photo { margin: 0; }
.split-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
.split-text .post-title { text-align: left; }
.split-text h3 { font-size: clamp(20px, 1.2vw + 12px, 28px); }
.split-text .place-card { margin-top: 24px; transform: none; max-width: 420px; }
.split-more .post-images { margin-top: 20px; }
.split-more .post-images img { height: clamp(110px, 12vw, 170px); }

/* ---------- Herz-Listen ---------- */
.heart-list { list-style: none; margin: 0 0 1em; padding: 0; }
.heart-list li {
  position: relative; padding-left: 38px; margin: 0 0 .55em;
  font-size: clamp(18px, 1vw + 12px, 26px);
}
.heart-list li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 22px; height: 24px;
  background: url("../img/herz.png") center / contain no-repeat;
  transition: transform .25s ease;
}
.heart-list li:hover::before { transform: scale(1.18) rotate(-8deg); }
.heart-list.two-cols { columns: 2 300px; column-gap: 50px; }
.heart-list.two-cols li { break-inside: avoid; }

/* ---------- Angebot ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); margin-bottom: clamp(30px, 4vw, 50px); }
.offer-card { background: var(--eierschale); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 46px); box-shadow: 0 2px 10px rgba(52,66,30,.06); }
.offer-card h2 { color: var(--gruen); font-size: clamp(22px, 1.4vw + 12px, 32px); margin-bottom: .8em; }
.offer-card .outro { font-style: italic; color: var(--text-weich); margin: 1em 0 0; }

/* ---------- Termine ---------- */
.months { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: clamp(26px, 3.5vw, 48px); }
.month { background: transparent; }
.month-title { color: var(--rot); text-align: center; font-size: clamp(26px, 1.8vw + 12px, 36px); margin-bottom: .55em; }
.dates {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: rgba(235, 230, 220, .96); border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  font-size: clamp(15px, .5vw + 13px, 18px);
}
.dates th { background: var(--gruen); color: #fff; text-align: left; padding: 14px 14px; font-weight: 400; letter-spacing: .05em; font-size: 1.05em; }
.dates td { padding: 12px 14px; border-bottom: 1px solid rgba(176,191,155,.45); }
.dates tr:last-child td { border-bottom: 0; }
.dates tbody tr:nth-child(even) td { background: rgba(78,114,41,.05); }
.d-day { color: var(--gruen); font-weight: 700; white-space: nowrap; }
.d-day .note { font-weight: 400; color: var(--text-weich); font-size: .9em; }
.d-date { white-space: nowrap; }
.d-time { line-height: 1.35; }
.flower { display: inline-block; transform: rotate(-12deg); margin-right: 4px; }
.dates tr.type-herzhaft td { background: rgba(78,114,41,.12); font-weight: 700; }
.dates tr.type-herzhaft .d-time { color: var(--gruen); }
.dates tr.type-fruehstueck td { background: rgba(82,24,24,.06); font-weight: 700; }
.dates tr.type-fruehstueck .d-time { color: var(--braun); }
.dates tr.past td { opacity: .42; text-decoration: line-through; text-decoration-color: var(--rot); text-decoration-thickness: 2px; font-weight: 400; color: #333; }
.dates tr.past .badge-cancel { display: none; }
.dates tr.cancelled:not(.past) .d-day, .dates tr.cancelled:not(.past) .d-date, .dates tr.cancelled:not(.past) .t {
  text-decoration: line-through; text-decoration-color: var(--rot); opacity: .6;
}
.badge-cancel, .badge-today { display: inline-block; margin-left: 8px; font-size: .78em; letter-spacing: .05em; padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
.badge-cancel { color: #fff; background: var(--rot); }
.badge-today { color: #fff; background: var(--gruen); }
.dates tr.today td { background: rgba(78,114,41,.2) !important; border-top: 2px solid var(--gruen); border-bottom: 2px solid var(--gruen); color: var(--gruen); font-weight: 700; }
.legend { text-align: center; margin: 28px 0 0; color: var(--text-weich); font-size: .9em; }
.empty-note { text-align: center; font-size: clamp(18px, 1vw + 12px, 24px); max-width: 640px; margin: 0 auto; }

.other-dates { display: grid; gap: 26px; }
.other-card { text-align: center; padding: 26px; border-radius: var(--radius); background: var(--eierschale-hell); border: 1px solid #e6dfd0; }
.other-card h2 { color: var(--gruen); font-size: clamp(24px, 1.4vw + 14px, 34px); }
.other-card p:last-child { margin-bottom: 0; }

/* ---------- Bilderleiste ---------- */
.image-strip { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.image-strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .6s ease, filter .3s ease; }
.image-strip:hover img { filter: brightness(.88); }
.image-strip img:hover { transform: scale(1.04); filter: none; }
.strip-label {
  position: absolute; right: 18px; bottom: 18px; background: rgba(255,255,255,.94); color: var(--rot);
  padding: 8px 18px; border-radius: 999px; font-size: 17px; box-shadow: var(--shadow-s);
  opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease;
}
.image-strip:hover .strip-label, .image-strip:focus-visible .strip-label { opacity: 1; transform: none; }

/* ---------- Ueber uns ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(26px, 5vw, 70px); align-items: center; }
.about-photo { margin: 0; transform: rotate(-1.5deg); background: var(--eierschale-hell); padding: 12px 12px 44px; border-radius: 6px; box-shadow: var(--shadow); }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.about-text { font-size: clamp(17px, .7vw + 13px, 22px); }
.quote { margin: .4em 0 0; color: var(--rot); font-size: clamp(22px, 1.4vw + 12px, 32px); font-weight: 700; line-height: 1.35; }

.insta-banner { background: var(--gruen); padding: clamp(26px, 4vw, 42px) 16px; }
.insta-banner a { display: flex; align-items: center; justify-content: center; gap: 18px; color: #fff; font-size: clamp(18px, 1.4vw + 10px, 28px); text-align: center; transition: transform .25s ease; }
.insta-banner a:hover { transform: scale(1.03); color: #fff; }
.insta-banner img { width: 34px; height: auto; flex: none; }

.collage { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 12px; }
.collage-item { padding: 0; border: 0; background: var(--beige); border-radius: 12px; overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow-s); transition: transform .3s cubic-bezier(.25,1,.5,1), box-shadow .3s ease; }
.collage-item:hover { transform: scale(1.02); box-shadow: var(--shadow); z-index: 2; }
.collage-item img { width: 100%; height: 100%; object-fit: cover; }
.collage-item.wide { grid-column: span 2; }
.collage-item.tall { grid-row: span 2; }
.collage-item.large { grid-column: span 2; grid-row: span 2; }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(20, 24, 14, .92); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 52px; height: 52px; font-size: 34px; line-height: 1; cursor: pointer; font-family: inherit; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Kontakt & Rechtliches ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.contact-card { background: var(--eierschale); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 4px; transition: transform .2s ease, box-shadow .2s ease; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card .label { color: var(--gruen); font-size: .85em; letter-spacing: .08em; text-transform: uppercase; }
.contact-card .value { color: var(--rot); font-size: clamp(18px, .8vw + 13px, 24px); overflow-wrap: anywhere; }
.legal { font-size: clamp(16px, .4vw + 14px, 19px); }
.legal strong { color: var(--gruen); font-size: 1.1em; }
.legal .imp-name { font-size: 1.2em; margin-bottom: .2em; }
.legal address { margin-bottom: 1em; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; }
.site-footer { background: #fff; }
.footer-call { background: var(--salbei); padding: clamp(28px, 5vw, 60px) 20px; display: flex; justify-content: center; }
.footer-call img { width: min(560px, 88vw); transition: transform .3s ease; }
.footer-call a:hover img { transform: scale(1.02) rotate(-.5deg); }
.footer-contact { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 36px 20px 30px; text-align: center; }
.footer-contact > a { color: var(--gruen); font-size: clamp(17px, .9vw + 12px, 24px); }
.footer-contact > a:hover { color: var(--gruen-dunkel); }
.footer-heart { width: 34px; margin-bottom: 6px; }
.footer-legal { margin: 14px 0 0; font-size: 16px; color: #999; display: flex; gap: 10px; }
.footer-legal a { color: var(--rot); }

/* ==========================================================================
   Tablet & Handy
   ========================================================================== */
@media (max-width: 980px) {
  :root { --header-h: 84px; }
  .leib-seele { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 50px; height: 50px; border: 0; border-radius: 14px; background: var(--beige); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 24px; height: 3px; background: var(--gruen); border-radius: 3px; position: relative; transition: transform .25s ease, background .25s ease;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -8px; }
  .nav-toggle-bars::after { top: 8px; }
  .nav-open .nav-toggle-bars { background: transparent; }
  .nav-open .nav-toggle-bars::before { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); }

  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: #fff;
    box-shadow: 0 14px 24px rgba(0,0,0,.1);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-open .main-nav { max-height: 420px; }
  .site-header { border-bottom: 1px solid var(--beige); }
  .main-nav a { width: 100%; text-align: center; padding: 14px; font-size: 20px; border-top: 1px solid var(--beige); }
  .main-nav a::after { display: none; }
  .main-nav a.active { background: var(--creme); }
  .site-header.scrolled .header-inner { height: 70px; }
  .site-header.scrolled .brand img { height: 52px; }

  .post-body { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-photo { order: 0; }
  .split-photo img { aspect-ratio: 4 / 3; }
  .place-card { transform: none; max-width: 460px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { width: calc(100% - 20px); max-width: 440px; margin: 0 auto; transform: rotate(-1deg); }
  .collage { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
}

@media (max-width: 640px) {
  .offer-grid { grid-template-columns: 1fr; }
  .post-images, .post-images.n4 { grid-template-columns: repeat(2, 1fr); }
  .post-images.n3 img:last-child { grid-column: span 2; }
  .post-images img { height: 170px; }
  .post-images.n1 { grid-template-columns: 1fr; }
  .post-images.n1 img { height: 240px; }
  .image-strip { grid-template-columns: repeat(2, 1fr); }
  .strip-label { opacity: 1; transform: none; font-size: 15px; right: 10px; bottom: 10px; }
  .collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
  .collage-item.large { grid-row: span 1; }
  .dates th, .dates td { padding: 10px 9px; }
  .badge-cancel, .badge-today { margin: 4px 0 0; }
  .d-time .badge-cancel, .d-time .badge-today { display: table; }
  .status-pill { border-radius: 18px; text-align: left; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 18px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .image-strip, .nav-toggle { display: none !important; }
  .section-salbei, .post { background: none !important; }
}

/* Admin-Vorschau: bearbeitete Box markieren */
.is-preview { position: relative; outline: 4px dashed var(--rot); outline-offset: -4px; }
.is-preview::before { content: "Deine Box"; position: absolute; top: 8px; right: 8px; z-index: 5; background: var(--rot); color: #fff; font-size: 14px; padding: 3px 12px; border-radius: 999px; font-family: system-ui, sans-serif; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: .4em; }
.layout-banner .btn-row { justify-content: center; }
.btn-ghost { background: transparent; color: var(--rot); box-shadow: inset 0 0 0 2px var(--rot); }
.btn-ghost:hover { background: var(--rot); color: #fff; }
.post-gruen .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.img-link { display: block; border-radius: 12px; transition: transform .2s ease; }
.img-link:hover { transform: translateY(-2px); }
.post-text a:not(.btn), .split-text p a, .banner-inner p a { text-decoration: underline; text-underline-offset: 3px; }

/* Instagram-Beitraege */
.insta-feed { background: var(--eierschale); }
.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2vw, 22px); margin-bottom: 22px; }
.insta-grid.n1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.insta-grid.n2 { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
.insta-post { position: relative; display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-s); aspect-ratio: 1; background: var(--beige); }
.insta-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.insta-post:hover img { transform: scale(1.04); }
.insta-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-size: 15px; line-height: 1.35; background: linear-gradient(transparent, rgba(0,0,0,.65)); opacity: 0; transition: opacity .25s ease; }
.insta-post:hover .insta-cap, .insta-post:focus-visible .insta-cap { opacity: 1; }
@media (max-width: 640px) { .insta-grid, .insta-grid.n2 { grid-template-columns: repeat(2, 1fr); } .insta-grid.n3 > :last-child { grid-column: span 2; aspect-ratio: 2 / 1; } }
