/* =========================================================
   Wild in Hamburg – Gestaltung für alle Seiten
   Farben und Schrift aus dem Corporate Design.
   Mobil zuerst: Die Grundregeln gelten fürs Handy,
   ab 760 px und 1040 px Breite kommen die PC-Regeln dazu.
   ========================================================= */

@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../fonts/barlow-semi-condensed-regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../fonts/barlow-semi-condensed-semibold.woff") format("woff");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../fonts/barlow-semi-condensed-bold.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* CD-Farben */
  --braun: #482110;
  --braun-dunkel: #3A1A0D;
  --gruen: #519B57;
  --gruen-text: #3B7A41;   /* dunkleres Grün für kleine Schrift (Lesbarkeit) */
  --orange: #E1700E;
  --hellgruen: #DCEBDD;
  --grund: #EEF5EE;
  --weiss: #FFFFFF;
  --linie: #D6E4D7;
  --text: #231A15;
  --text-2: #5C4A40;
  --auf-braun: #EADFD8;
  --auf-braun-2: #CDB9AD;

  --schrift: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --breite: 1120px;
  --rand: max(20px, env(safe-area-inset-left, 0px));
  --rand-r: max(20px, env(safe-area-inset-right, 0px));
  --rundung: 12px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  background: var(--grund);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen-text); text-underline-offset: 3px; }
a:hover { color: var(--braun); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { line-height: 1.1; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(30px, 6vw, 42px); font-weight: 700; color: var(--braun); }
h3 { font-size: 22px; font-weight: 700; color: var(--braun); }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--weiss); color: var(--braun); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* Innenbreite mit Seitenrand */
.innen {
  max-width: var(--breite);
  margin-inline: auto;
  padding-left: var(--rand);
  padding-right: var(--rand-r);
}
.abschnitt { padding-block: 56px; }
.abschnitt > .innen { display: flex; flex-direction: column; gap: 22px; }
.weiss { background: var(--weiss); }
.braun { background: var(--braun); color: var(--weiss); }
.braun h2, .braun h3 { color: var(--weiss); }
.lead { color: var(--text-2); max-width: 62ch; }
.braun .lead { color: var(--auf-braun); }
.klein { font-size: 15px; color: var(--text-2); }

/* ---------- Kopfleiste ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  background: var(--braun); z-index: 60;
}
.kopf {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--braun); color: var(--weiss);
}
.kopf .innen {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px;
}
.kopf-logo { display: flex; align-items: center; min-height: 44px; }
.kopf-logo img { height: 46px; width: auto; }
.kopf-tel {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--weiss); text-decoration: none; font-weight: 700; font-size: 17px;
}
.kopf-tel:hover { color: var(--auf-braun); }
.kopf-rechts { display: flex; align-items: center; gap: 8px; }

.menue-knopf {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--weiss); border: 1px solid rgba(255,255,255,0.4);
  border-radius: 8px; cursor: pointer;
}
.menue {
  display: none;
  background: var(--braun-dunkel);
  border-top: 1px solid rgba(255,255,255,0.15);
}
.menue.offen { display: block; }
.menue ul { list-style: none; margin: 0; padding: 8px 0 16px; }
.menue a {
  display: flex; align-items: center; min-height: 48px; padding-inline: 4px;
  color: var(--weiss); text-decoration: none; font-size: 19px; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.menue a:hover, .menue a[aria-current="page"] { color: var(--orange); }

/* ---------- Knöpfe ---------- */
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border-radius: 8px;
  font-family: inherit; font-size: 18px; font-weight: 700; text-decoration: none;
  background: var(--orange); color: #000; border: 2px solid var(--orange); cursor: pointer;
}
.knopf:hover { background: #F08A2E; border-color: #F08A2E; color: #000; }
.knopf.rahmen { background: transparent; color: var(--braun); border-color: var(--braun); }
.knopf.rahmen:hover { background: var(--braun); color: var(--weiss); }
.braun .knopf.rahmen, .fest .knopf.rahmen { color: var(--weiss); border-color: var(--weiss); }
.braun .knopf.rahmen:hover, .fest .knopf.rahmen:hover { background: var(--weiss); color: var(--braun); }

/* ---------- Startbereich ---------- */
.start { background: var(--hellgruen); padding-block: 32px 44px; }
.start .innen { display: grid; gap: 28px; align-items: center; }
.start-text { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.start-logo { width: 100%; max-width: 380px; }
.start h1 { font-size: clamp(36px, 8vw, 54px); font-weight: 700; color: var(--braun); }
.start p { font-size: 19px; color: var(--text-2); max-width: 46ch; }
.start-bild img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--rundung); }
.marke {
  align-self: flex-start; display: inline-flex; align-items: center; min-height: 34px;
  padding: 0 14px; border-radius: 999px; background: var(--gruen); color: #000;
  font-size: 15px; font-weight: 700; text-decoration: none;
}
.marke:hover { background: #63AE69; color: #000; }

/* ---------- Aktuelles ---------- */
.fest {
  background: var(--braun); color: var(--weiss); border-radius: var(--rundung);
  padding: 26px 22px; display: flex; flex-direction: column; gap: 18px;
}
.fest h3 { color: var(--weiss); font-size: clamp(26px, 5.5vw, 34px); hyphens: auto; }
.fest p { color: var(--auf-braun); }
.fest .marke { background: var(--gruen); }
.fest-orte { display: grid; gap: 12px; }
.fest-ort { background: var(--weiss); color: var(--text); border-radius: 10px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.fest-ort h4 { font-size: 20px; color: var(--braun); }
.fest .fest-ort p { color: var(--text-2); }
.fest .fest-ort .hinweis { color: var(--text); }
.hinweis { align-self: flex-start; background: #FBE6D3; color: var(--text); font-weight: 700; font-size: 16px; padding: 4px 10px; border-radius: 6px; }

.meldungen { display: grid; gap: 16px; }
.meldung { background: var(--grund); border-radius: var(--rundung); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.meldung time { font-size: 15px; font-weight: 700; color: var(--gruen-text); }

.meldungen-liste { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.meldung .mehr { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.ferien { background: #FBE6D3; border-radius: 10px; padding: 14px 18px; }
.ferien a { color: var(--braun); font-weight: 700; }
.nl-formular { background: var(--weiss); border-radius: 10px; padding: 8px 12px; }
.nl-formular iframe { display: block; width: 100%; height: 230px; border: 0; }
.nl-ersatz { font-size: 15px; }
.nl-ersatz a { color: var(--weiss); }
.infos { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--text-2); font-size: 16px; }
.infos strong { color: var(--text); }
.ndr { background: var(--weiss); border: 1px solid var(--linie); border-radius: 10px; padding: 14px 16px; font-size: 16px; }
.newsletter { background: var(--braun-dunkel); color: var(--weiss); border-radius: var(--rundung); padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; }
.newsletter h3 { color: var(--weiss); }
.newsletter p { color: var(--auf-braun); }

/* ---------- Zeiten-Tabelle (Öffnungszeiten) ---------- */
.zeiten { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Standorte ---------- */
.orte { display: grid; gap: 18px; }
.ort { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--rundung); overflow: hidden; display: flex; flex-direction: column; }
.ort img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ort-text { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.ort-text a.route { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Preise ---------- */
.tabelle-rahmen { overflow-x: auto; border: 1px solid var(--linie); border-radius: var(--rundung); background: var(--weiss); max-width: 820px; }
table.preise { width: 100%; min-width: 330px; border-collapse: collapse; font-variant-numeric: tabular-nums; table-layout: fixed; }
table.preise col.c-stueck { width: 34%; }
table.preise th, table.preise td { padding: 12px 8px; text-align: right; vertical-align: bottom; }
table.preise thead th { background: var(--braun); color: var(--weiss); font-size: 16px; line-height: 1.2; }
table.preise th:first-child, table.preise td:first-child { text-align: left; padding-left: 14px; }
table.preise th:last-child, table.preise td:last-child { padding-right: 14px; }
table.preise tbody th { text-align: left; font-weight: 600; padding-left: 14px; }
table.preise tbody tr { border-top: 1px solid var(--linie); }
table.preise tbody tr:nth-child(even) { background: #F5F9F5; }

.glueck { background: var(--grund); border-radius: 10px; padding: 16px 18px; max-width: 820px; }

.spezial { display: grid; gap: 16px; }
.liste { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--rundung); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.posten { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.posten b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.posten em { color: var(--text-2); font-style: normal; font-size: 15px; }

/* ---------- Rezept-Kacheln ---------- */
.kacheln { display: grid; gap: 12px; }
.kachel {
  display: flex; justify-content: space-between; align-items: center; min-height: 64px;
  padding: 0 20px; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--rundung);
  color: var(--text); font-weight: 700; font-size: 20px; text-decoration: none;
}
.kachel span { color: var(--gruen-text); }
.kachel:hover { border-color: var(--braun); color: var(--braun); }

/* ---------- Über uns ---------- */
.ueber { display: grid; gap: 22px; align-items: center; }
.ueber img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 35%; border-radius: var(--rundung); }
.ueber-text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.platzhalter { background: #FFF4D6; border: 1px dashed #C9A23A; padding: 2px 6px; border-radius: 4px; }

/* ---------- Rezeptseite ---------- */
.seitenkopf { background: var(--braun); color: var(--weiss); padding-block: 32px 40px; }
.seitenkopf .innen { display: flex; flex-direction: column; gap: 16px; max-width: 900px; }
.seitenkopf h1 { font-size: clamp(36px, 8vw, 52px); }
.seitenkopf p { color: var(--auf-braun); }
.sprung { display: flex; flex-wrap: wrap; gap: 10px; }
.sprung a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 2px solid var(--weiss); color: var(--weiss); font-weight: 700; text-decoration: none;
}
.sprung a:hover { background: var(--weiss); color: var(--braun); }
.rezepte { max-width: 900px; }
.rezept { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--rundung); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.rezept .meta { font-size: 15px; font-weight: 600; color: var(--text-2); }
.rezept h4 { font-size: 17px; margin-top: 4px; }
.zutaten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; font-size: 16px; }
.schritte { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.wildart { margin-top: 12px; }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */
.text { max-width: 760px; }
.text h2 { font-size: 26px; margin-top: 12px; }
.text h3 { font-size: 20px; margin-top: 4px; }
.text ul { margin: 0; padding-left: 22px; }
.entwurf { background: #FFF4D6; border: 1px solid #C9A23A; border-radius: 10px; padding: 14px 16px; }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--braun-dunkel); color: var(--auf-braun); padding-block: 40px 48px; font-size: 16px; }
.fuss .innen { display: grid; gap: 24px; }
.fuss img { height: 84px; width: auto; }
.fuss a { color: var(--weiss); }
.fuss nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.fuss nav a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss .copy { font-size: 14px; color: var(--auf-braun-2); }

/* =========================================================
   Ab 760 px (Tablet und PC)
   ========================================================= */
@media (min-width: 760px) {
  .abschnitt { padding-block: 72px; }
  .start { padding-block: 48px 56px; }
  .start .innen { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
  .start-logo { max-width: 420px; }
  .orte, .spezial, .meldungen, .fest-orte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ueber { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; }
  .fest { padding: 32px; }
  .newsletter { padding: 28px 32px; }
  .fuss .innen { grid-template-columns: auto 1fr; align-items: start; }
}

/* =========================================================
   Ab 1040 px (PC): Menü als Leiste statt Knopf
   ========================================================= */
@media (min-width: 1040px) {
  .kopf .innen { min-height: 72px; }
  .menue-knopf { display: none; }
  .menue { display: block !important; background: transparent; border: 0; }
  .menue ul { display: flex; gap: 4px; padding: 0; }
  .menue a { border: 0; font-size: 17px; padding-inline: 10px; min-height: 44px; }
  .kopf-nav { display: flex; align-items: center; gap: 16px; }
}
@media (max-width: 1039px) {
  .kopf-nav .menue { position: absolute; left: 0; right: 0; top: 100%; }
  .kopf-nav .menue ul { max-width: var(--breite); margin-inline: auto; padding-left: var(--rand); padding-right: var(--rand-r); }
}
@media (max-width: 420px) {
  .kopf-tel .nummer { display: none; }
}

/* Warum Wild? */
.gruende { display: grid; grid-template-columns: 1fr; gap: 14px; }
.grund { background: var(--grund); border-radius: var(--rundung); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--gruen); }
.grund p { color: var(--text-2); }
h3.unter { margin-top: 10px; }
.anfrage { max-width: 820px; }
@media (min-width: 760px) { .gruende { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .gruende { grid-template-columns: repeat(4, 1fr); } }
