:root {
  --bg: #faf7ee;
  --paper: #ffffff;
  --ink: #1c1d19;
  --muted: #5d5f55;
  --line: #e4dfcf;
  --leaf: #2f5d34;
  --leaf-dark: #214528;
  --leaf-soft: #e6eedc;
  --chicon: #f2e6a2;
  --chicon-soft: #fbf5d6;
  --danger: #a33a24;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(28, 29, 25, .06), 0 6px 20px rgba(28, 29, 25, .06);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--leaf); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--leaf); margin-bottom: 10px;
}
section { padding: 72px 0; }
#bestellen, #form, #info, #sponsors, #contact { scroll-margin-top: 72px; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 247, 238, .92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: 38px; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.top nav { display: flex; gap: 22px; align-items: center; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.top nav a:hover { color: var(--leaf); }
.top nav .btn { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--leaf); color: #fff; border: 0; border-radius: 999px;
  padding: 12px 22px; font: 600 1rem var(--body); text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--leaf-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.small { padding: 8px 16px; font-size: .9rem; }
.btn.big { padding: 16px 28px; font-size: 1.08rem; width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--chicon) 62%); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin: 18px 0 26px; }
.datechip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px 8px 10px; font-weight: 600; margin-bottom: 22px; box-shadow: var(--shadow);
}
.datechip b { background: var(--chicon); border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; flex: none; }
.datechip b svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 2; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img { position: relative; }
.hero-img img.photo { border-radius: 24px; aspect-ratio: 870/425; object-fit: cover; width: 100%; height: auto; box-shadow: var(--shadow); }
.hero-img .stamp {
  position: absolute; left: -26px; bottom: -26px; width: 118px; height: 118px;
  background: var(--paper); border-radius: 50%; padding: 14px; box-shadow: var(--shadow);
}

/* ---------- Info ---------- */
.info { padding: 0 0 24px; }
.info .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.info .card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.info .card p { margin: 0; color: var(--muted); }
.info .card strong { color: var(--ink); }
.icon {
  width: 34px; height: 34px; border-radius: 10px; background: var(--leaf-soft);
  display: inline-grid; place-items: center; flex: none;
}
.icon svg { width: 18px; height: 18px; stroke: var(--leaf); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Shop ---------- */
.shop-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.shop-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.product {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: border-color .15s, box-shadow .15s;
}
.product.selected { border-color: var(--leaf); box-shadow: 0 0 0 2px var(--leaf-soft), var(--shadow); }
.product .pic { aspect-ratio: 4/3; background: #fff; display: grid; place-items: center; overflow: hidden; position: relative; }
.product .pic.leeg { background: var(--chicon-soft); }
.product .pic img { width: 100%; height: 100%; object-fit: cover; }
.product .pic img.contain { position: absolute; inset: 0; object-fit: contain; padding: 8px; }
.product .pic svg { width: 58%; height: auto; }
.product .body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.product .price { font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.product p { margin: 0; font-size: .92rem; color: var(--muted); flex: 1; }
.qty { display: flex; align-items: center; gap: 0; margin-top: 10px; border: 1.5px solid var(--line); border-radius: 999px; width: fit-content; background: var(--bg); }
.qty button {
  width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer;
  color: var(--ink); border-radius: 999px;
}
.qty button:hover { background: var(--leaf-soft); }
.qty input {
  width: 44px; text-align: center; border: 0; background: transparent; font: 600 1.05rem var(--body);
  -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.summary { position: sticky; top: 84px; }
.summary h3 { margin-bottom: 12px; }
.summary ul { list-style: none; padding: 0; margin: 0 0 12px; }
.summary li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.summary .empty { color: var(--muted); font-size: .95rem; margin: 0 0 12px; }
.summary .total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.25rem; margin: 6px 0 4px; font-family: var(--display); }
.summary .free { font-size: .88rem; color: var(--leaf); font-weight: 600; margin-bottom: 14px; }

/* ---------- Form ---------- */
.form { margin-top: 36px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.form legend { font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin-bottom: 12px; }
.form legend small { display: block; margin: 4px 0 0 !important; font-family: var(--body); font-weight: 400; color: var(--muted); font-size: .9rem; margin-left: 6px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .box {
  display: block; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 16px; height: 100%; transition: border-color .15s, background .15s;
}
.choice .box strong { display: block; font-size: 1.05rem; }
.choice .box span { color: var(--muted); font-size: .9rem; }
.choice input:checked + .box { border-color: var(--leaf); background: var(--leaf-soft); }
.choice input:focus-visible + .box { outline: 3px solid var(--chicon); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; grid-column: span 6; }
.field.half { grid-column: span 3; }
.field.third { grid-column: span 2; }
.field.twothirds { grid-column: span 4; }
.field label { font-weight: 600; font-size: .92rem; }
.field label .req { color: var(--danger); }
.field input, .field textarea {
  font: 1rem var(--body); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--ink); width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px var(--leaf-soft); }
.field.invalid input { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: .85rem; display: none; }
.field.invalid .err { display: block; }
.note {
  background: var(--chicon-soft); border: 1px solid var(--chicon); border-radius: 10px;
  padding: 12px 14px; font-size: .95rem; margin-top: 12px;
}
.note.hidden { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--leaf); flex: none; }
.check.invalid { color: var(--danger); }
.formerror {
  background: #fbe9e4; border: 1px solid #efc3b6; color: var(--danger); border-radius: 10px;
  padding: 12px 14px; margin-bottom: 14px; display: none;
}
.formerror.show { display: block; }
.paynote { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 10px; }

.closed {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; text-align: center; box-shadow: var(--shadow);
}
.closed h3 { font-size: 1.6rem; margin-bottom: 8px; }

/* ---------- Mobile bottom bar ---------- */
.bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--ink); color: #fff; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  align-items: center; justify-content: space-between; gap: 12px;
  transform: translateY(110%); transition: transform .2s;
}
.bar.show { transform: none; }
.bar .t { font-family: var(--display); font-weight: 800; font-size: 1.2rem; }
.bar .c { font-size: .85rem; opacity: .8; }
.bar .btn { background: var(--chicon); color: var(--ink); }

/* ---------- Sponsors / kitchen ---------- */
.crew { background: var(--ink); color: #fff; }
.crew .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.crew img { border-radius: 20px; aspect-ratio: 4/4.4; object-fit: cover; width: 100%; }
.crew .eyebrow { color: var(--chicon); }
.crew p { color: #d8d8cf; font-size: 1.08rem; }
.sponsors .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(160px, 40vw), 1fr)); gap: 14px; margin-top: 28px; }
.sponsors .logo {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  aspect-ratio: 3/2; display: grid; place-items: center; padding: 14px; min-width: 0; position: relative;
}
.sponsors .logo img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }

footer { border-top: 1px solid var(--line); padding: 36px 0 110px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer .brand img { width: 44px; height: 44px; }

/* ---------- Bedankt ---------- */
.thanks { max-width: 640px; margin: 0 auto; padding: 64px 20px 100px; text-align: center; }
.thanks .check-big {
  width: 76px; height: 76px; border-radius: 50%; background: var(--leaf-soft); margin: 0 auto 20px;
  display: grid; place-items: center;
}
.thanks .check-big svg { width: 38px; height: 38px; stroke: var(--leaf); stroke-width: 3; fill: none; }
.thanks h1 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 12px; }
.thanks .card { text-align: left; margin: 28px 0; }
.thanks dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.thanks dt { color: var(--muted); }
.thanks dd { margin: 0; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap, .crew .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-img .stamp { left: auto; right: 12px; bottom: -22px; width: 92px; height: 92px; }
  .info .grid { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .bar { display: flex; }
  .top nav a:not(.btn) { display: none; }
  .crew img { aspect-ratio: 4/3; }
}
@media (max-width: 560px) {
  section { padding: 52px 0; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 28px; }
  .choice .box { padding: 12px; }
  .choice .box strong { font-size: .98rem; }
  .choice .box span { font-size: .84rem; }
  .datechip { font-size: .92rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero p.lead { font-size: 1.02rem; }
  .product p { font-size: .86rem; }
  .product h3 { font-size: 1.05rem; }
  .product .row { flex-direction: column; gap: 2px; }
  .brand span { font-size: 1.02rem; }
  .field.half, .field.third, .field.twothirds { grid-column: span 6; }
  .field.third.pc { grid-column: span 2; }
  .field.twothirds.gem { grid-column: span 4; }
  .products { grid-template-columns: 1fr; }
  .product { flex-direction: row; }
  .product .pic { width: 108px; aspect-ratio: auto; flex: none; }
  .product .body { padding: 12px 14px; }
  .qty button { width: 36px; height: 36px; }
  .sponsors .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
