/* Verborgener Winkel · Biohof Stier
   Heller Hof-Look: Startseite als One-Pager, dazu Unterseiten für Fleisch, Partyservice und Ferienwohnung.
   Bewusst nur ein helles Farbschema, auch bei dunkel eingestelltem Gerät. */
:root {
  --paper: #fdfcf7;
  --meadow: #eef3e3;
  --hay: #f8efd2;
  --ink: #2b3427;
  --ink-soft: #5d6757;
  --line: #dde2d1;
  --leaf: #3a7a2d;
  --leaf-dark: #2b5e21;
  --horn: #94681d;
  --sun: #ebbd4c;
  --white: #ffffff;

  --f-head: "Alegreya", Georgia, "Times New Roman", serif;
  --f-text: "Alegreya Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --f-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --wrap: 72rem;
  --gut: clamp(16px, 4vw, 40px);
  --r: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-text); font-size: 1.15rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 800; line-height: 1.1; text-wrap: balance; margin: 0; color: var(--ink); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin: .3rem 0 1.1rem; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.eyebrow { font-family: var(--f-hand); font-weight: 600; font-size: 1.6rem; line-height: 1.1; color: var(--horn); margin: 0; }
.soft { color: var(--ink-soft); }
.measure { max-width: 44rem; }
.btn {
  display: inline-flex; align-items: center; gap: .5em; font-family: var(--f-text); font-weight: 700; font-size: 1.05rem;
  text-decoration: none; padding: .75em 1.4em; border-radius: 999px;
  background: var(--leaf); color: var(--white); border: 2px solid var(--leaf); cursor: pointer; transition: background .2s;
}
.btn:hover { background: var(--leaf-dark); border-color: var(--leaf-dark); }
.btn.ghost { background: transparent; color: var(--leaf); }
.btn.ghost:hover { background: var(--meadow); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.more { font-weight: 700; color: var(--leaf); text-decoration: none; }
.more:hover { text-decoration: underline; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }

/* Kopf */
.top { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .5rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { height: 50px; width: auto; }
.brand span { font-size: .95rem; line-height: 1.2; color: var(--ink-soft); }
.brand b { display: block; font-family: var(--f-head); font-weight: 800; color: var(--ink); font-size: 1.3rem; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
nav a { display: block; font-weight: 500; color: var(--ink); text-decoration: none; font-size: 1.05rem; padding: .35rem .7rem; border-radius: 999px; }
nav a:hover { background: var(--meadow); }
nav a[aria-current="page"] { background: var(--meadow); color: var(--leaf-dark); font-weight: 700; }
nav a.cta { background: var(--leaf); color: var(--white); font-weight: 700; }
.menu { display: none; }
@media (max-width: 1180px) {
  nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--leaf-dark); background: var(--meadow); padding: .45rem 1rem; border-radius: 999px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu ul { position: absolute; right: 0; top: calc(100% + .5rem); background: var(--white); border: 1px solid var(--line); border-radius: 12px; list-style: none; margin: 0; padding: .6rem; display: grid; gap: .1rem; min-width: 15rem; box-shadow: 0 12px 30px rgba(43,52,39,.15); }
  .menu a { display: block; padding: .45rem .7rem; border-radius: 8px; color: var(--ink); text-decoration: none; }
  .menu a:hover, .menu a[aria-current="page"] { background: var(--meadow); }
}
@media (max-width: 420px) { .brand span { font-size: .85rem; } .brand img { height: 40px; } }

/* Hero (Startseite groß, Unterseiten kleiner) */
.hero { background: var(--meadow); position: relative; overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(253,252,247,.35) 0%, rgba(253,252,247,0) 55%); }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 1.2rem; justify-items: start; padding-block: clamp(3rem, 9vw, 7rem) clamp(6rem, 11vw, 8.5rem); }
.card-hero { background: rgba(253,252,247,.94); border-radius: var(--r); padding: clamp(1.4rem, 3.5vw, 2.4rem); max-width: 35rem; box-shadow: 0 18px 40px rgba(43,52,39,.18); }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: .3rem 0 1rem; }
.hero h1 em { font-style: normal; color: var(--leaf); }
.hero p.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-soft); margin: 0 0 1.5rem; }
.hero.sub .wrap { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(5rem, 9vw, 6.5rem); }
.hero.sub h1 { font-size: clamp(2rem, 4vw, 3rem); }
.hill { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; display: block; z-index: 1; }
.hill path { fill: var(--paper); }
@media (max-width: 700px) {
  .hero img.bg { height: 18rem; bottom: auto; object-position: 50% 35%; }
  .hero::before { display: none; }
  .hero .wrap, .hero.sub .wrap { padding-top: 12.5rem; }
}
/* Nächster Öffnungstermin, ganz oben im Hero */
.status { width: 100%; max-width: 35rem; display: flex; align-items: center; gap: 1rem; background: var(--white); color: var(--ink); padding: .9rem 1.2rem; border-radius: var(--r); box-shadow: 0 12px 30px rgba(43,52,39,.22); text-decoration: none; border: 3px solid var(--sun); transition: transform .2s; }
.status:hover { transform: translateY(-2px); }
.status i { width: 1rem; height: 1rem; border-radius: 50%; background: var(--sun); flex: none; box-shadow: 0 0 0 5px rgba(235,189,76,.25); }
.status .st-text { display: grid; min-width: 0; flex: 1; line-height: 1.2; }
.status small { font-weight: 700; color: var(--horn); font-size: .95rem; }
.status strong { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: var(--ink); }
.status .st-more { font-weight: 700; color: var(--leaf); white-space: nowrap; font-size: 1rem; }
.status.open { background: var(--leaf); border-color: var(--leaf); }
.status.open small, .status.open strong, .status.open .st-more { color: var(--white); }
.status.open i { background: #9be38a; box-shadow: 0 0 0 5px rgba(155,227,138,.35); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(155,227,138,0); } }
@media (prefers-reduced-motion: reduce) { .status.open i { animation: none; } }
@media (max-width: 520px) { .status .st-more { display: none; } }

/* Brotkrumen auf Unterseiten */
.crumbs { font-size: .95rem; color: var(--ink-soft); margin: 0 0 .4rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.crumbs li + li::before { content: "›"; margin-right: .3rem; color: var(--line); }
.crumbs a { color: var(--ink-soft); }

/* Aushang Öffnungszeiten */
.aushang-wrap { margin-top: -2.5rem; position: relative; z-index: 2; }
.aushang { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 16px 40px rgba(43,52,39,.10); display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); overflow: hidden; }
.aushang .dates { padding: clamp(1.4rem, 4vw, 2.6rem); min-width: 0; }
.aushang header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; }
.aushang h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0; }
.aushang .rule { color: var(--ink-soft); font-size: 1rem; }
.note-hand { font-family: var(--f-hand); font-size: 1.65rem; line-height: 1.2; color: var(--horn); margin: .8rem 0 .4rem; background: var(--hay); display: inline-block; padding: .2rem .8rem; border-radius: 6px; transform: rotate(-1deg); }
.monthnav { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin: 1.2rem 0 .8rem; background: var(--meadow); border-radius: 999px; padding: .3rem; }
.monthnav button { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; background: var(--leaf); color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; flex: none; display: grid; place-items: center; padding-bottom: .15rem; }
.monthnav button:hover { background: var(--leaf-dark); }
.monthnav button:disabled { background: transparent; color: var(--line); cursor: default; }
.month { font-family: var(--f-head); font-weight: 800; font-size: 1.5rem; color: var(--leaf-dark); margin: 0; text-align: center; }
.dl li.past { opacity: .5; }
.dl { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.dl li { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .45rem .7rem .45rem .45rem; border-radius: 12px; font-variant-numeric: tabular-nums; }
.dl li:nth-child(odd) { background: var(--paper); }
.cal { width: 3.6rem; text-align: center; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--white); line-height: 1; }
.cal .wd { display: block; background: var(--leaf); color: var(--white); font-size: .8rem; font-weight: 700; padding: .22rem 0; letter-spacing: .04em; }
.cal .dn { display: block; font-family: var(--f-head); font-weight: 800; font-size: 1.45rem; padding: .25rem 0 .3rem; color: var(--ink); }
.dl .what { min-width: 0; line-height: 1.3; }
.dl .what b { display: block; font-weight: 700; }
.dl .what small { color: var(--ink-soft); font-size: .95rem; }
.dl .tag { display: inline-block; font-size: 1em; font-weight: 700; line-height: 1.25; color: var(--horn); background: var(--hay); padding: .05rem .6rem; border-radius: 999px; margin-left: .35rem; }
.dl .tm { font-weight: 700; white-space: nowrap; color: var(--ink); }
.dl li.next { background: var(--meadow); outline: 2px solid var(--leaf); outline-offset: -2px; }
.dl li.next .what small::before { content: "Nächster Termin · "; color: var(--leaf-dark); font-weight: 700; }
.aushang .foot { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px dashed var(--line); color: var(--ink-soft); font-size: 1rem; display: grid; gap: .2rem; }
.aushang .foot b { color: var(--ink); }
/* Plakat-Wechsler: alle Plakate liegen übereinander, das aktive wird eingeblendet */
.aushang .poster { background: var(--hay); margin: 0; padding: 1.2rem; display: flex; flex-direction: column; gap: .9rem; justify-content: center; min-width: 0; touch-action: pan-y; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.on { opacity: 1; visibility: visible; }
.slide img { width: auto; max-width: 100%; max-height: 40rem; border-radius: 8px; box-shadow: 0 8px 20px rgba(43,52,39,.18); transform: rotate(1.2deg); background: var(--white); user-select: none; -webkit-user-drag: none; }
.slide figcaption { font-size: 1rem; color: var(--ink-soft); text-align: center; line-height: 1.35; }
.slide figcaption .for { display: block; color: var(--leaf-dark); font-weight: 700; font-size: .95rem; }
.dots { display: flex; justify-content: center; gap: .5rem; }
.dots:empty { display: none; }
.dots button { width: .8rem; height: .8rem; border-radius: 999px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: width .3s, background .3s; }
.dots button[aria-current="true"] { width: 1.8rem; background: var(--leaf); }
.dl li.has-poster { cursor: pointer; }
.dl .withposter { color: var(--leaf-dark); font-weight: 700; }
.dl li.linked, .dl li.linked:nth-child(odd) { background: var(--hay); }
.aushang.no-poster { grid-template-columns: 1fr; }
.empty { color: var(--ink-soft); font-style: italic; padding: 1rem 0; }
@media (max-width: 800px) {
  .aushang { grid-template-columns: 1fr; }
  .aushang .poster img { max-height: 30rem; }
  .dl li { grid-template-columns: 3.6rem minmax(0, 1fr); }
  .dl .tm { grid-column: 2; margin-top: -.6rem; }
}

/* Abschnitte */
section.block { padding-block: clamp(4rem, 8vw, 6.5rem); }
.tint { background: var(--meadow); }
.tint-hay { background: var(--hay); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split.top-align { align-items: start; }
.split.rev > :first-child { order: 2; }
.split p { max-width: 36rem; color: var(--ink-soft); }
.split p strong { color: var(--ink); }
.ph { position: relative; }
.ph img.main { width: 100%; object-fit: cover; border-radius: var(--r); }
.ph.wide img.main { aspect-ratio: 4 / 3; }
.ph.family img.main { aspect-ratio: 3 / 2; object-position: 50% 30%; }
.ph .inset { position: absolute; right: -1rem; bottom: -1.5rem; width: 45%; border-radius: 12px; border: 5px solid var(--paper); box-shadow: 0 10px 25px rgba(43,52,39,.18); aspect-ratio: 4 / 3; object-fit: cover; }
.seal { position: absolute; left: -1.2rem; bottom: -1.2rem; background: var(--white); padding: .8rem 1rem; display: flex; gap: 1rem; align-items: center; border-radius: 12px; box-shadow: 0 10px 25px rgba(43,52,39,.15); }
.seal img { height: 62px; width: auto; }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .seal { left: .8rem; }
  .ph .inset { right: .6rem; }
}

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.facts div { background: var(--meadow); border-radius: 12px; padding: .9rem 1rem; }
.tint .facts div { background: var(--white); }
.facts b { display: block; font-family: var(--f-head); font-size: 1.45rem; font-weight: 800; color: var(--leaf-dark); line-height: 1.1; }
.facts span { font-size: .95rem; color: var(--ink-soft); line-height: 1.3; display: block; margin-top: .2rem; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 1.6rem; padding: 0; list-style: none; }
.pills li { background: var(--white); border-radius: 999px; padding: .35rem 1rem; font-weight: 500; border: 1px solid var(--line); }
.pills li b { color: var(--leaf-dark); }

.gu { display: inline-flex; gap: .5rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .9rem; font-size: 1rem; font-weight: 500; color: var(--ink); margin-bottom: 1.2rem; }
.gu::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--sun); }

/* Limpurger Kriterien */
.crit { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.crit li { background: var(--white); border-radius: 12px; padding: 1.1rem 1.2rem; box-shadow: 0 4px 14px rgba(43,52,39,.06); }
.crit b { display: block; font-family: var(--f-head); font-size: 1.25rem; color: var(--leaf-dark); margin-bottom: .2rem; }
.crit span { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.45; display: block; }
@media (max-width: 860px) { .crit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .crit { grid-template-columns: 1fr; } }

/* Hofladen */
.chips { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .9rem; font-size: 1.05rem; }
.chips.jar li { background: var(--hay); border-color: transparent; }
.pakete { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.paket { background: var(--white); border-radius: var(--r); padding: 1.3rem 1.4rem; box-shadow: 0 6px 18px rgba(43,52,39,.07); border-top: 6px solid var(--sun); }
.paket.big { border-top-color: var(--leaf); }
.paket h3 { font-size: 1.5rem; margin-bottom: .1rem; }
.paket .kg { font-weight: 700; color: var(--horn); margin-bottom: .7rem; }
.paket ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.5; }
.photos2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.photos2 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.photos2 img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
@media (max-width: 480px) { .pakete { grid-template-columns: 1fr; } }

/* Teaser zu den Unterseiten */
.teasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.8rem); }
.teaser { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: 0 6px 18px rgba(43,52,39,.07); transition: transform .25s, box-shadow .25s; }
.teaser:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(43,52,39,.13); }
.teaser img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.teaser .txt { padding: 1.1rem 1.3rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.teaser h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.teaser p { margin: 0 0 .8rem; color: var(--ink-soft); font-size: 1.05rem; }
.teaser .key { font-weight: 700; color: var(--horn); font-size: 1rem; margin-bottom: .8rem; }
.teaser .more { margin-top: auto; }
@media (max-width: 900px) { .teasers { grid-template-columns: 1fr; max-width: 34rem; } }

/* Zitat */
.quote .inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.quote img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }
.quote blockquote { margin: 0; font-family: var(--f-hand); font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05; color: var(--leaf-dark); }
.quote cite { display: block; margin-top: .8rem; font-style: normal; font-weight: 700; color: var(--horn); }
@media (max-width: 800px) { .quote .inner { grid-template-columns: 1fr; } }

/* Speisekarte Partyservice */
.menu-card { background: var(--white); border-radius: var(--r); box-shadow: 0 6px 18px rgba(43,52,39,.07); padding: 1.4rem 1.6rem; }
.menu-card h3 { margin-bottom: .6rem; }
.menu-card dl { margin: 0; display: grid; gap: .1rem; }
.menu-card dt { font-weight: 700; margin-top: .7rem; color: var(--leaf-dark); }
.menu-card dd { margin: 0; color: var(--ink-soft); }

/* Bestell-/Anfrage-Box */
.ctabox { background: var(--white); border: 2px dashed var(--sun); border-radius: var(--r); padding: clamp(1.4rem, 4vw, 2.2rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center; }
.ctabox h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .3rem; }
.ctabox p { margin: 0; color: var(--ink-soft); }
.ctabox .tel { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--ink); text-decoration: none; white-space: nowrap; }
@media (max-width: 700px) { .ctabox { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: s; }
.steps li { background: var(--white); border-radius: 12px; padding: 1rem 1.2rem; counter-increment: s; box-shadow: 0 4px 14px rgba(43,52,39,.06); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--leaf); color: var(--white); font-weight: 700; margin-bottom: .5rem; }
.steps b { display: block; font-family: var(--f-head); font-size: 1.2rem; }
.steps span { color: var(--ink-soft); font-size: 1.05rem; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }

/* Fragen */
.faq { max-width: 50rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: .7rem; }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-family: var(--f-head); font-weight: 700; font-size: 1.25rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--leaf); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.2rem 1.1rem; margin: 0; color: var(--ink-soft); }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Kontakt & Fuß */
footer { background: var(--meadow); color: var(--ink); padding-block: 3.5rem 2rem; border-top: 1px solid var(--line); }
footer .hello { font-family: var(--f-hand); font-size: 2rem; color: var(--horn); margin: 0 0 1.5rem; }
footer .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
footer h2 { font-size: 1.35rem; margin: 0 0 .5rem; color: var(--leaf-dark); }
footer h2.gap { margin-top: 1.2rem; }
footer p { margin: 0 0 .4rem; color: var(--ink-soft); }
footer address { font-style: normal; color: var(--ink-soft); }
footer .big { font-family: var(--f-head); font-weight: 800; font-size: 1.8rem; color: var(--ink); }
footer .big a { color: inherit; text-decoration: none; }
footer .legal { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .95rem; color: var(--ink-soft); }
footer .legal nav ul, footer .legal ul { display: flex; flex-wrap: wrap; gap: .3rem 1rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 800px) { footer .cols { grid-template-columns: 1fr; } }


/* Kleine Abstände statt Inline-Styles (die Content-Security-Policy erlaubt keine style-Attribute) */
.sub-h { margin: 1.4rem 0 .7rem; }
.sub-h + .chips + .sub-h, .chips + .sub-h { margin-top: 0; }
.gap-top { margin-top: 1.6rem; }

/* Monate im Aushang: mit JavaScript immer nur einer sichtbar, ohne alle untereinander */
.monat + .monat { margin-top: 1rem; }
.monat-titel { margin: 1.2rem 0 .6rem; text-align: left; }
.js-monate .monat-titel { display: none; }
.js-monate .monat + .monat { margin-top: 0; }

/* Textseiten (Impressum, Datenschutz) */
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin: .3rem 0 1.2rem; }
.prose h2 { font-size: 1.4rem; margin: 2rem 0 .5rem; }
.prose p { color: var(--ink-soft); }

/* Foto-Slideshow (Limpurger) */
.fotoshow { position: relative; min-width: 0; }
.fs-bilder { display: grid; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; background: var(--meadow); }
.fs-bild { grid-area: 1 / 1; margin: 0; position: relative; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.fs-bild.on { opacity: 1; visibility: visible; }
.fs-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; user-select: none; -webkit-user-drag: none; }
.fs-bild figcaption { position: absolute; left: .8rem; bottom: .8rem; background: rgba(253,252,247,.92); color: var(--ink); font-weight: 500; font-size: .95rem; padding: .3rem .8rem; border-radius: 999px; max-width: calc(100% - 1.6rem); }
.fs-pfeil { display: none; position: absolute; top: calc(50% - 1.4rem); width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; background: rgba(253,252,247,.9); color: var(--leaf-dark); font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(43,52,39,.2); padding-bottom: .15rem; }
.fotoshow.js .fs-pfeil { display: grid; place-items: center; }
.fs-pfeil.zurueck { left: .7rem; }
.fs-pfeil.vor { right: .7rem; }
.fs-pfeil:hover { background: var(--white); }
.fs-punkte { display: flex; justify-content: center; gap: .5rem; margin-top: .8rem; }
.fs-punkte button { width: .75rem; height: .75rem; border-radius: 999px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: width .3s, background .3s; }
.fs-punkte button[aria-current="true"] { width: 1.7rem; background: var(--leaf); }
@media (hover: hover) { .fotoshow.js .fs-pfeil { opacity: 0; transition: opacity .2s; } .fotoshow.js:hover .fs-pfeil, .fotoshow.js .fs-pfeil:focus-visible { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fs-bild { transition: none; } }
