/* Buchholzstübli – öffentliche Seite */
:root {
  --dunkel: #13283b;
  --dunkel-2: #1d3a52;
  --eis: #e9f2f7;
  --eis-2: #cfe3ee;
  --papier: #faf6ef;
  --holz: #b0602a;
  --holz-hell: #e8a76c;
  --text: #1c2630;
  --grau: #5b6873;
  --rund: 14px;
  --max: 1080px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body.sommer {
  --dunkel: #233a2a;
  --dunkel-2: #2f4d37;
  --eis: #f3f1e4;
  --eis-2: #e3dcb8;
  --holz: #b5541c;
  --holz-hell: #f0b35a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--text); background: var(--papier); }
img { max-width: 100%; }
a { color: var(--holz); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .6em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--dunkel); }
h3 { font-size: 1.25rem; }

/* Kopfzeile */
.kopf {
  position: sticky; top: 0; z-index: 10;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem;
  padding: .7rem max(1rem, calc((100% - var(--max)) / 2));
  background: color-mix(in srgb, var(--dunkel) 94%, transparent);
  backdrop-filter: blur(6px);
}
.marke { font-family: var(--serif); font-size: 1.35rem; color: #fff; text-decoration: none; font-weight: 600; }
.nav { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; align-items: center; }
.nav a { color: #e7eef3; text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--holz-hell); }
.nav .nav__knopf { background: var(--holz); color: #fff; padding: .35rem .9rem; border-radius: 999px; font-weight: 600; }
.nav .nav__knopf:hover { background: var(--holz-hell); color: var(--dunkel); }

.hinweis { background: var(--holz-hell); color: var(--dunkel); text-align: center; padding: .7rem 1rem; font-weight: 600; }

/* Titel */
.held {
  min-height: min(78vh, 640px);
  display: grid; align-items: end;
  padding: 5rem max(1rem, calc((100% - var(--max)) / 2)) 4rem;
  color: #fff;
  background:
    radial-gradient(circle at 80% 15%, rgba(255,255,255,.18), transparent 40%),
    linear-gradient(160deg, var(--dunkel-2), var(--dunkel) 70%);
  position: relative;
}
.held--bild {
  background:
    linear-gradient(180deg, rgba(10,20,30,.15), rgba(10,20,30,.75)),
    var(--titelbild) center / cover no-repeat;
}
.held__ort { text-transform: uppercase; letter-spacing: .15em; font-size: .85rem; color: var(--holz-hell); margin: 0 0 .5rem; font-weight: 600; }
.held h1 { font-size: clamp(2.8rem, 9vw, 5.5rem); margin-bottom: .2em; }
.held__slogan { font-size: clamp(1.1rem, 2.6vw, 1.45rem); max-width: 36ch; margin: 0 0 1.8rem; color: #eef4f8; }
.held__knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; }

.knopf {
  display: inline-block; padding: .8rem 1.4rem; border-radius: 999px; border: 0;
  background: var(--holz); color: #fff; font: 600 1rem var(--sans); text-decoration: none; cursor: pointer;
}
.knopf:hover { background: #8f4b1f; }
.knopf--hell { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.knopf--hell:hover { background: rgba(255,255,255,.28); }

/* Abschnitte */
.block { padding: clamp(3rem, 8vw, 5.5rem) 1rem; background: #fff; }
.block--papier { background: var(--eis); }
.block--dunkel { background: var(--dunkel); color: #e7eef3; }
.block--dunkel h2 { color: #fff; }
.block--dunkel a:not(.knopf) { color: var(--holz-hell); }
.block__inhalt { max-width: var(--max); margin: 0 auto; }
.schmal { max-width: 720px; }
.zwei { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.einleitung { font-size: 1.15rem; max-width: 60ch; }
.klein { font-size: .9rem; color: var(--grau); }
.block--dunkel .klein { color: #b8c6d1; }
.gross { font-size: 1.35rem; line-height: 1.7; }

.vorteil {
  display: inline-block; margin: .5rem 0 2rem; padding: .6rem 1.1rem;
  background: var(--holz-hell); color: var(--dunkel); border-radius: 999px; font-weight: 700;
}

/* Angebote */
.angebote { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.angebot {
  display: flex; flex-direction: column;
  background: var(--eis); border-radius: var(--rund); padding: 1.5rem;
  border-top: 5px solid var(--holz);
}
.angebot h3 { color: var(--dunkel); }
.angebot p { margin: 0 0 .8rem; }
.angebot__preis { font-weight: 700; color: var(--holz); }
.angebot__link { margin-top: auto; font-weight: 700; text-decoration: none; }

/* Formular */
.formular { display: grid; gap: 1rem; margin-top: 1.5rem; }
.formular label { display: grid; gap: .3rem; font-weight: 600; font-size: .95rem; }
.formular__reihe { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.formular input, .formular select, .formular textarea {
  font: 1rem var(--sans); padding: .7rem .8rem; border: 1.5px solid var(--eis-2); border-radius: 10px; background: #fff; width: 100%;
}
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: 3px solid var(--holz-hell); border-color: var(--holz); }
.formular button { justify-self: start; }
.versteckt { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { padding: 1rem 1.2rem; border-radius: 10px; font-weight: 600; }
.meldung--ok { background: #dff3e4; color: #1f5a2e; }
.meldung--fehler { background: #fbe3dc; color: #8a2a12; }

/* Events */
.anlaesse { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.anlass { padding: 1.4rem; border-radius: var(--rund); background: var(--papier); border-left: 5px solid var(--dunkel-2); }
.anlass__datum { color: var(--holz); font-weight: 700; margin: 0 0 .3rem; }

/* Öffnungszeiten */
.zeiten { border-collapse: collapse; width: 100%; font-size: 1.1rem; }
.zeiten th, .zeiten td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--eis-2); }
.zeiten td { text-align: right; font-variant-numeric: tabular-nums; }

/* Speisekarte */
.karte { display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.karte__kategorie h3 { color: var(--holz); border-bottom: 2px solid var(--holz); padding-bottom: .3rem; }
.karte ul { list-style: none; margin: 0; padding: 0; }
.karte li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .4rem; padding: .45rem 0; }
.karte__name { font-weight: 600; }
.karte__punkte { flex: 1; border-bottom: 2px dotted #b9c5cc; min-width: 1rem; }
.karte__preis { font-variant-numeric: tabular-nums; font-weight: 600; }
.karte__beschr { flex-basis: 100%; color: var(--grau); font-size: .93rem; }

/* Fuss */
.fuss { padding: 2rem 1rem; text-align: center; color: var(--grau); font-size: .9rem; background: var(--papier); }
.fuss details { max-width: 640px; margin: 0 auto 1rem; text-align: left; }
.fuss summary { cursor: pointer; text-align: center; }

@media (max-width: 640px) {
  .nav a:not(.nav__knopf) { display: none; }
}
