/* Poehlser Hof – Stylesheet
   Farben: Stockerpel-Grün (Kopf des Erpels), Dotter-Gelb, Kalkweiß, Torf. */

@import url("https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@500;700&family=Instrument+Sans:wght@400;500;600&display=swap");

:root {
  --kalk: #f3f4ef;      /* Seitenhintergrund, kühles Kalkweiß */
  --papier: #ffffff;    /* Bestellzettel */
  --torf: #1d2621;      /* Text */
  --erpel: #1c5a47;     /* Hauptfarbe */
  --erpel-tief: #123d30;
  --dotter: #f2b300;    /* sparsamer Akzent */
  --schilf: #8a9a86;    /* Linien, Nebentext */
  --linie: #cfd5cb;

  --serif: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --mass: 68ch;
  --rand: clamp(16px, 5vw, 56px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--kalk);
  color: var(--torf);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--erpel); text-underline-offset: 0.18em; }
a:hover { color: var(--erpel-tief); }

:focus-visible {
  outline: 3px solid var(--dotter);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--rand);
}

/* ---------- Kopf ---------- */

.kopf {
  padding: 22px 0;
}
.kopf .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.marke {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--torf);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.marke svg { width: 38px; height: auto; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a {
  color: var(--torf);
  text-decoration: none;
  font-weight: 500;
}
.nav a:hover,
.nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--dotter);
  text-decoration-thickness: 3px;
}

/* ---------- Typografie ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7.5vw, 5.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }

p { margin: 0 0 1em; max-width: var(--mass); }
.gross { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.5; }
.leise { color: #55625a; }

/* ---------- Knöpfe ---------- */

.knopf {
  display: inline-block;
  padding: 0.85em 1.4em;
  border: 2px solid var(--erpel);
  border-radius: 999px;
  background: var(--erpel);
  color: #fff;
  font: 600 1rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.knopf:hover { background: var(--erpel-tief); border-color: var(--erpel-tief); color: #fff; }
.knopf--hohl { background: transparent; color: var(--erpel); }
.knopf--hohl:hover { background: var(--erpel); color: #fff; }

/* ---------- Bühne (Startseite) ---------- */

.buehne {
  position: relative;
  padding: clamp(32px, 6vw, 72px) 0 0;
  overflow: hidden;
}
.buehne .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.buehne h1 { margin-bottom: 0.35em; }
.buehne .gross { margin-bottom: 1.6em; }
.buehne-aktion { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: clamp(32px, 6vw, 72px); }

.ente-gross {
  width: 100%;
  max-width: 440px;
  justify-self: end;
  margin-bottom: -6px; /* steht auf der Wiese */
}

/* Wiese mit Knicks als Abschluss der Bühne */
.wiese {
  display: block;
  width: 100%;
  height: auto;
  color: var(--erpel);
}

/* Banner Vorbestellzeit */
.saison {
  background: var(--erpel);
  color: #fff;
  padding: 20px 0 26px;
}
.saison .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  flex-wrap: wrap;
}
.saison p { margin: 0; max-width: none; }
.saison strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; }
.saison .knopf { background: var(--dotter); border-color: var(--dotter); color: var(--torf); }
.saison .knopf:hover { background: #fff; border-color: #fff; }

/* ---------- Abschnitte ---------- */

.abschnitt { padding: clamp(56px, 9vw, 112px) 0; }
.abschnitt + .abschnitt { padding-top: 0; }
.abschnitt h2 { margin-bottom: 0.6em; }

.zwei {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

/* Ablauf – echte Reihenfolge, darum nummeriert */
.ablauf {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: schritt;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.ablauf li {
  counter-increment: schritt;
  padding-top: 18px;
  border-top: 3px solid var(--torf);
}
.ablauf li::before {
  content: counter(schritt);
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--erpel);
  margin-bottom: 10px;
}
.ablauf h3 { margin-bottom: 0.4em; }
.ablauf p { margin: 0; }

/* Fakten zur Ente */
.fakten {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px 24px;
  border-top: 1px solid var(--linie);
  padding-top: 16px;
}
.fakten dt { font-weight: 600; }
.fakten dd { margin: 0; color: #3b463f; }

.zitat {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.25;
  margin: 0;
  max-width: 24ch;
}

/* ---------- Formulare ---------- */

.feld { display: grid; gap: 6px; margin-bottom: 20px; }
.feld label, .feld legend { font-weight: 600; font-size: 0.95rem; }
.feld .hinweis { font-size: 0.88rem; color: #5b675f; margin: 0; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--torf);
  background: #fff;
  border: 1.5px solid #b9c2b5;
  border-radius: 8px;
  padding: 0.7em 0.8em;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--erpel);
  box-shadow: 0 0 0 3px rgba(28, 90, 71, 0.2);
}
input:user-invalid, textarea:user-invalid, select:user-invalid { border-color: #b3261e; }

.zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }

.haken {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  margin-bottom: 22px;
}
.haken input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--erpel); flex: none; }

.versteckt {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.kontaktkarte {
  background: #fff;
  border-radius: 14px;
  padding: clamp(22px, 4vw, 40px);
}

.adresse { font-style: normal; line-height: 1.7; margin-bottom: 1.2em; }

/* ---------- Bestellzettel (Vorbestellseite) ---------- */

.bestellkopf {
  padding: clamp(32px, 6vw, 64px) 0 clamp(28px, 4vw, 40px);
}
.bestellkopf .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}
.bestellkopf h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: 0.3em; }
.bestellkopf .ente-klein { width: 170px; }

.bestellraster {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-bottom: clamp(56px, 8vw, 96px);
}

.zettel {
  position: relative;
  background: var(--papier);
  padding: clamp(26px, 4vw, 48px);
  padding-top: calc(clamp(26px, 4vw, 48px) + 14px);
  border-radius: 2px 2px 10px 10px;
  box-shadow: 0 1px 0 #d7dcd3, 0 18px 40px -24px rgba(29, 38, 33, 0.35);
}
/* Abreißkante oben, wie beim Block */
.zettel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 14px;
  background:
    radial-gradient(circle at 7px 0, var(--kalk) 5px, transparent 5.5px) 0 0 / 14px 14px repeat-x;
}
.zettel-kopf {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--torf);
  padding-bottom: 12px;
  margin-bottom: 26px;
}
.zettel-kopf h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.zettel-kopf span { color: #5b675f; font-size: 0.95rem; }

.zettel fieldset { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
.zettel fieldset > legend {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0;
  margin-bottom: 14px;
  float: left;   /* Legende aus der Rahmenlinie lösen */
  width: 100%;
}
.zettel fieldset > legend + * { clear: both; }
.zettel fieldset + fieldset { border-top: 1px dashed #b9c2b5; padding-top: 22px; }

/* Anzahl mit Plus/Minus */
.zaehler {
  display: inline-flex;
  align-items: stretch;
  border: 1.5px solid #b9c2b5;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  width: max-content;
}
.zaehler button {
  width: 48px;
  border: 0;
  background: transparent;
  font: 600 1.4rem/1 var(--sans);
  color: var(--erpel);
  cursor: pointer;
}
.zaehler button:hover { background: #e6ece4; }
.zaehler button:disabled { color: #b9c2b5; cursor: default; background: transparent; }
.zaehler input {
  width: 64px;
  border: 0;
  border-radius: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.35em 0;
  -moz-appearance: textfield;
}
.zaehler input::-webkit-outer-spin-button,
.zaehler input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.zaehler input:focus { box-shadow: none; }
.zaehler:focus-within { border-color: var(--erpel); box-shadow: 0 0 0 3px rgba(28, 90, 71, 0.2); }

/* Gewichtsklassen als Auswahlkacheln */
.wahl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.wahl label {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 14px 14px 12px;
  border: 1.5px solid #b9c2b5;
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
}
.wahl label strong { font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; }
.wahl label span { font-size: 0.86rem; color: #5b675f; font-weight: 400; }
.wahl input { position: absolute; opacity: 0; pointer-events: none; }
.wahl input:checked + label,
.wahl label:has(input:checked) {
  border-color: var(--erpel);
  background: #eaf1ec;
  box-shadow: inset 0 0 0 1px var(--erpel);
}
.wahl input:focus-visible + label,
.wahl label:has(input:focus-visible) { outline: 3px solid var(--dotter); outline-offset: 2px; }

/* Rechte Spalte: Überschlag */
.ueberschlag {
  position: sticky;
  top: 24px;
  background: var(--erpel);
  color: #fff;
  border-radius: 14px;
  padding: clamp(22px, 3vw, 32px);
}
.ueberschlag h2 { font-size: 1.5rem; margin-bottom: 16px; }
.ueberschlag dl {
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
}
.ueberschlag dt { color: #c9dbd1; }
.ueberschlag dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.ueberschlag .summe {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.ueberschlag .summe strong {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-variant-numeric: tabular-nums;
  color: var(--dotter);
}
.ueberschlag p { font-size: 0.9rem; color: #d6e3dc; margin: 14px 0 0; }

.knopf--voll { width: 100%; padding: 1em; font-size: 1.05rem; }

/* ---------- Danke ---------- */

.danke {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 64px 0;
}
.danke .ente-klein { width: 150px; margin: 0 auto 24px; }
.danke p { margin-left: auto; margin-right: auto; }

/* ---------- Rechtstexte ---------- */

.text h2 { font-size: 1.4rem; margin: 1.6em 0 0.5em; }
.text { padding-bottom: 80px; }

/* ---------- Fuß ---------- */

.fuss {
  background: var(--torf);
  color: #c4cdc6;
  padding: 48px 0 40px;
  font-size: 0.95rem;
}
.fuss .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px 48px;
  flex-wrap: wrap;
}
.fuss a { color: #fff; }
.fuss p { margin: 0 0 6px; }
.fuss strong { color: #fff; font-family: var(--serif); font-size: 1.15rem; }

/* ---------- Bewegung: nur die Ente wackelt einmal beim Laden ---------- */

@media (prefers-reduced-motion: no-preference) {
  .ente-gross .ente-koerper {
    transform-origin: 50% 95%;
    animation: watscheln 1.4s ease-in-out 0.3s 2;
  }
}
@keyframes watscheln {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-3deg) translateY(-2px); }
  75% { transform: rotate(3deg) translateY(-2px); }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .buehne .wrap,
  .zwei,
  .bestellraster { grid-template-columns: 1fr; }
  .ente-gross { max-width: 300px; justify-self: center; }
  .ablauf { grid-template-columns: 1fr; }
  .ueberschlag { position: static; }
  .bestellkopf .ente-klein { width: 110px; }
}
@media (max-width: 520px) {
  .zeile { grid-template-columns: 1fr; }
  .wahl { grid-template-columns: 1fr; }
  .fakten { grid-template-columns: 1fr; gap: 2px; }
  .fakten dd { margin-bottom: 10px; }
  .nav { gap: 16px; }
}
