/* ===== Schriften (lokal, SIL OFL) ===== */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* ===== Farben aus dem Logo ===== */
:root {
  --sun: #fad700;
  --sun-soft: #fff1a8;
  --leaf: #009a45;
  --leaf-dark: #0b5a2e;
  --comb: #c2461b;      /* Hahnenkamm/Gefieder */
  --cream: #fff8e7;
  --cream-deep: #fbefd0;
  --ink: #1f2a22;
  --ink-soft: #4b5a4f;
  --line: #e7dcbc;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgb(31 42 34 / 25%);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ===== Basis ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf-dark); text-underline-offset: 3px; }
a:hover { color: var(--leaf); }
:focus-visible { outline: 3px solid var(--comb); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--leaf-dark); margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw + 1rem, 3.8rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 2.5vw + 1rem, 2.6rem); font-weight: 650; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--leaf-dark); color: #fff; padding: .5rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: #fff; }

.eyebrow {
  font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--comb); margin-bottom: .5rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: .8rem 1.4rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; font: inherit; font-weight: 700;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--leaf); color: #fff; }
.btn-primary:hover { background: var(--leaf-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--leaf-dark); border-color: var(--leaf); }
.btn-ghost:hover { background: var(--leaf); color: #fff; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 248 231 / 92%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { width: 48px; height: 40px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--leaf-dark); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.site-nav a { text-decoration: none; font-weight: 600; color: var(--ink); }
.site-nav a:hover { color: var(--leaf); }

.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 24px; height: 2px; background: var(--leaf-dark); position: relative;
    transition: transform .2s ease;
  }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -7px; }
  .nav-toggle-bar::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: absolute; inset: 100% 0 auto 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: .5rem 1rem 1rem; }
  .site-nav a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--line); }
}

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 78% 40%, var(--sun-soft) 0, transparent 55%),
    var(--cream);
  padding: clamp(2.5rem, 6vw, 5.5rem) 0;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.25rem; }
.hero-logo img { width: 100%; max-width: 560px; margin-inline: auto; filter: drop-shadow(0 12px 24px rgb(0 0 0 / 10%)); }

.open-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .9rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  background: #fff; border: 1px solid var(--line);
}
.open-badge::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--ink-soft); }
.open-badge.is-open::before { background: var(--leaf); box-shadow: 0 0 0 4px rgb(0 154 69 / 20%); }
.open-badge.is-closed::before { background: var(--comb); }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 340px; }
  .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
}

/* ===== Sektionen ===== */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tint { background: var(--cream-deep); }
.section-intro { max-width: 40rem; color: var(--ink-soft); margin-bottom: 2.5rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.facts li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.facts strong { display: block; font-family: var(--font-head); color: var(--leaf-dark); font-size: 1.1rem; }
.facts span { font-size: .95rem; color: var(--ink-soft); line-height: 1.4; display: block; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* Foto-Platzhalter – werden durch echte Bilder ersetzt */
.photo-placeholder {
  margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius);
  display: grid; place-items: center; text-align: center;
  background:
    repeating-linear-gradient(45deg, rgb(250 215 0 / 18%) 0 12px, transparent 12px 24px),
    var(--cream);
  border: 2px dashed var(--line);
  color: var(--ink-soft); font-weight: 600;
}
.photo-placeholder.small { aspect-ratio: 3 / 2; margin-bottom: 1rem; font-size: .9rem; }
.photo { margin: 0; }
.photo img { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow); }
.product-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; border-radius: var(--radius); margin-bottom: 1rem; }

/* ===== Sortiment ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.product {
  background: #fff; border-radius: var(--radius); padding: 1rem 1rem 1.25rem;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.product h3 { margin-bottom: .35rem; }
.product p { color: var(--ink-soft); margin-bottom: 0; }
.product .product-tag {
  align-self: flex-start; margin-bottom: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--leaf-dark); background: rgb(0 154 69 / 12%); padding: .15rem .6rem; border-radius: 999px;
}
.more-note { margin: 2rem 0 0; text-align: center; font-family: var(--font-head); font-style: italic; font-size: 1.2rem; color: var(--leaf-dark); }

/* Saison-Hinweis Gans */
.season-banner {
  margin-top: 2.5rem; padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius); background: var(--leaf-dark); color: #fff;
  position: relative; overflow: hidden;
}
.season-banner::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px;
  border-radius: 50%; background: var(--sun); opacity: .9;
}
.season-banner > * { position: relative; z-index: 1; max-width: 40rem; }
.season-banner .eyebrow { color: var(--sun); }
.season-banner h3 { color: #fff; font-size: clamp(1.5rem, 2vw + 1rem, 2rem); }
.season-banner p:last-child { margin: 0; }
.season-banner a { color: var(--sun); }

/* ===== Öffnungszeiten ===== */
.hours { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hours th, .hours td { padding: .8rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today { background: var(--sun-soft); }
.hours tr.is-today th::after { content: " · heute"; color: var(--comb); font-weight: 700; }

.note-card {
  background: var(--leaf-dark); color: #fff; border-radius: var(--radius); padding: 2rem;
  position: relative; overflow: hidden;
}
.note-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px;
  border-radius: 50%; background: var(--sun); opacity: .9;
}
.note-card h3 { color: var(--sun); position: relative; z-index: 1; max-width: 70%; }
.note-card p { margin: 0; position: relative; z-index: 1; }

/* ===== Anfahrt ===== */
.address { font-style: normal; font-size: 1.1rem; margin-bottom: 1.25rem; }
.transit { padding-left: 1.2rem; margin: 0 0 1.75rem; }
.transit li { margin-bottom: .35rem; }
.map-consent {
  min-height: 320px; border-radius: var(--radius); padding: 2rem;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgb(11 90 46 / 8%) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgb(11 90 46 / 8%) 39px 40px),
    #fff;
  border: 1px solid var(--line);
}
.map-consent iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius); }
.map-consent.is-loaded { padding: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--leaf-dark); color: #e9f3ec; padding: 3rem 0 1.5rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--sun); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.footer-claim { font-family: var(--font-head); font-style: italic; color: var(--sun); margin-top: .75rem; }
.footer-heading { font-family: var(--font-body); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin-bottom: .75rem; }
.copyright { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 15%); font-size: .9rem; opacity: .8; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* ===== Rechtstexte ===== */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.legal .container { max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
