/* =====================================================================
   Metzgerei Effert – Meckenheim
   Mobil zuerst. Keine fremden Server: alle Schriften sind Systemschriften,
   es werden keine Google Fonts geladen. Das erspart den Cookie-Hinweis
   und die Diskussion um Google-Fonts-Abmahnungen.
   ===================================================================== */

:root {
  --creme:        #f7f0e4;
  --creme-hell:   #fdfaf4;
  --papier:       #ffffff;
  --rot:          #8f1f22;
  --rot-dunkel:   #6f1719;
  --rot-hell:     #fdeceb;
  --braun:        #6b5844;
  --braun-dunkel: #4a3d2e;
  --oliv:         #6c7a4a;
  --gold:         #a8842c;
  --silber:       #8a8a90;
  --text:         #2b2621;
  --text-leise:   #756c61;
  --linie:        #e3d8c4;

  --schrift-titel: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --schrift-text:  system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --rand:       14px;
  --rand-klein: 9px;
  --schatten:   0 1px 2px rgba(43, 38, 33, .05), 0 6px 20px rgba(43, 38, 33, .07);
  --spalte:     1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--schrift-titel); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); margin: 0 0 .6rem; letter-spacing: -.015em; }
h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); margin: 0 0 1rem; color: var(--rot); }
h3 { font-size: 1.15rem; margin: 0 0 .5rem; }

a { color: var(--rot); }
a:hover { color: var(--rot-dunkel); }

:focus-visible { outline: 3px solid var(--rot); outline-offset: 2px; border-radius: 4px; }

.nur-vorlesen {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.sprungmarke {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--rot); color: #fff; padding: .8rem 1.2rem;
  border-radius: 0 0 var(--rand-klein) 0; text-decoration: none;
}
.sprungmarke:focus { left: 0; color: #fff; }

/* ---------- Kopfzeile ---------- */
.kopf {
  background: var(--papier);
  border-bottom: 1px solid var(--linie);
  position: sticky; top: 0; z-index: 40;
}

.kopf-innen {
  max-width: var(--spalte);
  margin: 0 auto;
  padding: .65rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.marke { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; margin-right: auto; }
.marke img { border-radius: 50%; flex: none; }
.marke strong { display: block; font-family: var(--schrift-titel); font-size: 1.18rem; line-height: 1.15; }
.marke small  { display: block; font-size: .74rem; color: var(--text-leise); letter-spacing: .03em; }

.navigation { display: none; }

.kopf-telefon {
  display: none;
  align-items: center; gap: .45rem;
  background: var(--rot); color: #fff;
  padding: .55rem 1rem;
  border-radius: 99px;
  text-decoration: none; font-weight: 700; font-size: .93rem;
  white-space: nowrap;
}
.kopf-telefon:hover { background: var(--rot-dunkel); color: #fff; }

/* Menüknopf */
.menue-knopf {
  width: 46px; height: 46px; flex: none;
  border: 1px solid var(--linie); border-radius: var(--rand-klein);
  background: var(--creme-hell); cursor: pointer;
  display: grid; place-items: center;
}
.menue-balken, .menue-balken::before, .menue-balken::after {
  display: block; width: 21px; height: 2px; background: var(--braun-dunkel);
  border-radius: 2px; transition: transform .2s, opacity .2s;
}
.menue-balken::before, .menue-balken::after { content: ""; position: absolute; }
.menue-balken::before { transform: translateY(-6.5px); }
.menue-balken::after  { transform: translateY(6.5px); }
.menue-knopf[aria-expanded="true"] .menue-balken { background: transparent; }
.menue-knopf[aria-expanded="true"] .menue-balken::before { transform: rotate(45deg); }
.menue-knopf[aria-expanded="true"] .menue-balken::after  { transform: rotate(-45deg); }

.mobilmenue {
  border-top: 1px solid var(--linie);
  background: var(--papier);
  padding: .5rem 1rem 1rem;
  display: grid;
  gap: .15rem;
}
.mobilmenue[hidden] { display: none; }
.mobilmenue a {
  padding: .85rem .6rem;
  border-radius: var(--rand-klein);
  text-decoration: none;
  color: var(--braun-dunkel);
  font-weight: 600;
  border-bottom: 1px solid var(--linie);
}
.mobilmenue a:last-of-type { border-bottom: 0; }
.mobilmenue a.aktiv { background: var(--rot-hell); color: var(--rot); }
.mobil-portal {
  margin-top: .6rem;
  background: var(--rot) !important;
  color: #fff !important;
  text-align: center;
  border-bottom: 0 !important;
}

/* ---------- Rumpf ---------- */
main {
  max-width: var(--spalte);
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.abschnitt { margin: 2.75rem 0; }
.kopfbereich { margin: 1.5rem 0 2rem; max-width: 42rem; }

.augenbraue {
  text-transform: uppercase; letter-spacing: .13em;
  font-size: .76rem; font-weight: 700; color: var(--oliv);
  margin: 0 0 .5rem;
}
.vorspann { font-size: 1.13rem; color: var(--text-leise); margin: 0 0 1.2rem; max-width: 40rem; }
.fliess   { max-width: 42rem; }

/* ---------- Bühne ---------- */
.buehne { display: grid; gap: 1.5rem; margin: 1rem 0 2rem; }
.buehne-bild img {
  width: 100%;
  border-radius: var(--rand);
  box-shadow: var(--schatten);
  border: 1px solid var(--linie);
}
.buehne-text h1 { color: var(--braun-dunkel); }
.buehne-knoepfe { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.3rem 0 0; }

/* ---------- Heute geöffnet ---------- */
.heute {
  background: var(--papier);
  border: 1px solid var(--linie);
  border-left: 5px solid var(--oliv);
  border-radius: var(--rand-klein);
  padding: .9rem 1.1rem;
  margin: 0 0 2rem;
  box-shadow: var(--schatten);
}
.heute-status { margin: 0; font-weight: 700; display: flex; align-items: center; gap: .55rem; }
.heute-punkt {
  width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: var(--text-leise);
}
.heute.offen  { border-left-color: var(--oliv); }
.heute.offen  .heute-punkt { background: #3f8a4b; box-shadow: 0 0 0 3px #3f8a4b26; }
.heute.zu     { border-left-color: var(--rot); }
.heute.zu     .heute-punkt { background: var(--rot); box-shadow: 0 0 0 3px #8f1f2226; }
.heute-adresse { margin: .25rem 0 0; color: var(--text-leise); font-size: .9rem; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-block;
  padding: .85rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--rand-klein);
  font: inherit; font-weight: 700;
  text-decoration: none; text-align: center;
  cursor: pointer;
}
.knopf-haupt { background: var(--rot); color: #fff; }
.knopf-haupt:hover { background: var(--rot-dunkel); color: #fff; }
.knopf-rand  { border-color: var(--braun); color: var(--braun-dunkel); background: transparent; }
.knopf-rand:hover { background: var(--papier); color: var(--braun-dunkel); }
.knopf-hell  { background: #fff; color: var(--rot); }
.knopf-hell:hover { background: var(--creme); color: var(--rot-dunkel); }

.textlink { font-weight: 700; }

/* ---------- Karten ---------- */
.karten { display: grid; gap: 1.1rem; }
.karte {
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--rand);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--schatten);
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.karte:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(43,38,33,.13); }
.karte img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.karte-text { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.karte-text h3 { color: var(--rot); font-size: 1.3rem; }
.karte-text p { margin: 0 0 .9rem; color: var(--text-leise); font-size: .96rem; flex: 1; }
.karte-mehr { font-weight: 700; color: var(--rot); font-size: .93rem; }
.karte-mehr::after { content: " →"; }

/* ---------- Auszeichnungen ---------- */
.auszeichnungen {
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--rand);
  padding: 1.6rem 1.3rem;
  margin: 2.75rem 0;
  box-shadow: var(--schatten);
}
.auszeichnungen-vor { color: var(--text-leise); margin: 0 0 1.1rem; max-width: 34rem; }
.medaillen { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .55rem; }
.medaillen li { display: flex; align-items: baseline; gap: .7rem; }
.medaille {
  flex: none; min-width: 3.9rem; text-align: center;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: .2rem .5rem; border-radius: 99px;
  color: #fff;
}
.medaille.gold   { background: var(--gold); }
.medaille.silber { background: var(--silber); }

.gold-punkt, .silber-punkt {
  font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .1rem .45rem; border-radius: 99px; color: #fff; vertical-align: 1px;
  white-space: nowrap;
}
.gold-punkt   { background: var(--gold); }
.silber-punkt { background: var(--silber); }

/* ---------- Portal-Band ---------- */
.portal-band {
  background: linear-gradient(135deg, var(--rot) 0%, var(--rot-dunkel) 100%);
  color: #fff;
  border-radius: var(--rand);
  padding: 2rem 1.4rem;
  margin: 2.75rem 0;
}
.portal-band.schmal { padding: 1.6rem 1.4rem; }
.portal-inhalt { max-width: 40rem; }
.portal-band h2 { color: #fff; margin-bottom: .7rem; }
.portal-band p { color: #ffffffdd; }
.portal-marke {
  text-transform: uppercase; letter-spacing: .13em; font-size: .74rem;
  font-weight: 700; color: #ffffffaa; margin: 0 0 .5rem;
}
.portal-knoepfe { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.3rem 0 0; }
.portal-klein { font-size: .87rem; color: #ffffffaa; margin: 1rem 0 0; }

/* ---------- Ladenbilder ---------- */
.laden-bilder { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; max-width: 34rem; }
.laden-bilder figure { margin: 0; }
.laden-bilder img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--rand-klein);
  border: 1px solid var(--linie);
  box-shadow: var(--schatten);
  image-rendering: auto;
}
.laden-bilder figcaption { font-size: .84rem; color: var(--text-leise); margin-top: .45rem; }

/* ---------- Sortimentslisten ---------- */
.sorten { display: grid; gap: 1rem; }
.sorte {
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--rand-klein);
  padding: 1.2rem 1.3rem;
}
.sorte h3 { color: var(--rot); font-size: 1.2rem; margin-bottom: .7rem; }
.sorte ul { margin: 0; padding-left: 1.1rem; }
.sorte li { margin-bottom: .3rem; }

/* ---------- Galerie ---------- */
.galerie { display: grid; gap: 1.1rem; }
.galerie-bild { margin: 0; }
.galerie-bild img {
  width: 100%; aspect-ratio: 5 / 3; object-fit: cover;
  border-radius: var(--rand-klein); border: 1px solid var(--linie);
  box-shadow: var(--schatten);
}
.galerie-bild figcaption { font-size: .87rem; color: var(--text-leise); margin-top: .5rem; }

/* ---------- Mittagstisch ---------- */
.karte-hinweis {
  background: var(--papier);
  border: 2px solid var(--rot);
  border-radius: var(--rand);
  padding: 1.4rem;
  display: grid; gap: 1rem;
  margin: 2rem 0;
  box-shadow: var(--schatten);
}
.karte-hinweis h2 { margin-bottom: .3rem; }
.karte-hinweis p { margin: 0; color: var(--text-leise); }

.ablauf { list-style: none; counter-reset: schritt; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.ablauf li {
  counter-increment: schritt;
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--rand-klein);
  padding: 1.1rem 1.2rem 1.1rem 3.6rem;
  position: relative;
}
.ablauf li::before {
  content: counter(schritt);
  position: absolute; left: 1.1rem; top: 1.1rem;
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--rot); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: .95rem;
}
.ablauf h3 { color: var(--braun-dunkel); }
.ablauf p { margin: 0; color: var(--text-leise); }

/* ---------- Büffets ---------- */
.bueffets { display: grid; gap: 1.3rem; }
.bueffet {
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--rand);
  overflow: hidden;
  box-shadow: var(--schatten);
}
.bueffet img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.bueffet-text { padding: 1.2rem 1.3rem 1.4rem; }
.bueffet-text h3 { color: var(--rot); font-size: 1.35rem; margin-bottom: .7rem; }
.bueffet-text ul { margin: 0; padding-left: 1.1rem; }
.bueffet-text li { margin-bottom: .4rem; color: var(--text); }

.ergaenzungen { display: grid; gap: 1rem; }
.ergaenzung {
  background: var(--creme-hell);
  border: 1px solid var(--linie);
  border-radius: var(--rand-klein);
  padding: 1.1rem 1.2rem;
}
.ergaenzung h3 { color: var(--oliv); }
.ergaenzung p { margin: 0; color: var(--text-leise); font-size: .95rem; }

/* ---------- Merkmale ---------- */
.merkmale { display: grid; gap: 1rem; }
.merkmal {
  background: var(--papier);
  border: 1px solid var(--linie);
  border-top: 4px solid var(--oliv);
  border-radius: var(--rand-klein);
  padding: 1.3rem;
}
.merkmal h2 { font-size: 1.2rem; color: var(--braun-dunkel); margin-bottom: .5rem; }
.merkmal p { margin: 0; color: var(--text-leise); }

/* ---------- Zeitstrahl ---------- */
.zeitstrahl { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; max-width: 46rem; }
.zeitstrahl li { display: grid; gap: .5rem; position: relative; padding-left: 1.4rem; }
.zeitstrahl li::before {
  content: ""; position: absolute; left: 0; top: .45rem; bottom: -1.6rem;
  width: 2px; background: var(--linie);
}
.zeitstrahl li:last-child::before { bottom: auto; height: 0; }
.zeitstrahl li::after {
  content: ""; position: absolute; left: -4px; top: .4rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--rot); border: 2px solid var(--creme);
}
.jahr {
  font-family: var(--schrift-titel); font-size: 1.5rem; font-weight: 700;
  color: var(--rot); line-height: 1;
}
.zeitstrahl h2 { font-size: 1.2rem; color: var(--braun-dunkel); margin-bottom: .35rem; }
.zeitstrahl p { margin: 0 0 .6rem; color: var(--text-leise); }

/* ---------- Hinweisblock ---------- */
.hinweis-block {
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--rand);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--schatten);
}

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 44rem; }
.rechtstext h2 { font-size: 1.25rem; margin-top: 2.2rem; }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext ul { padding-left: 1.2rem; }
.rechtstext li { margin-bottom: .4rem; }
.rechts-verweis { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--linie); font-weight: 700; }

/* ---------- Fußzeile ---------- */
.fuss {
  background: var(--braun-dunkel);
  color: #e8e0d4;
  margin-top: 3rem;
  padding: 2.5rem 1rem 1.5rem;
}
.fuss-innen {
  max-width: var(--spalte); margin: 0 auto;
  display: grid; gap: 2rem;
}
.fuss h2 {
  color: #fff; font-size: 1.05rem; margin-bottom: .8rem;
  text-transform: uppercase; letter-spacing: .09em; font-family: var(--schrift-text);
}
.fuss a { color: #f3e7cf; }
.fuss a:hover { color: #fff; }
.fuss p { margin: 0 0 .8rem; }
.fuss-adresse { font-size: 1.05rem; }

.zeiten-liste { margin: 0; display: grid; gap: .3rem; font-size: .93rem; }
.zeiten-liste > div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #ffffff1a; padding-bottom: .3rem; }
.zeiten-liste dt { color: #cfc3b2; }
.zeiten-liste dd { margin: 0; font-weight: 600; text-align: right; }

.fuss-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.karten-link { font-weight: 600; }

.fuss-zeile {
  max-width: var(--spalte); margin: 2rem auto 0; padding-top: 1.2rem;
  border-top: 1px solid #ffffff26;
  font-size: .85rem; color: #b8ab99; text-align: center;
}

/* =====================================================================
   Ab Tablet
   ===================================================================== */
@media (min-width: 700px) {
  .karten     { grid-template-columns: 1fr 1fr; }
  .sorten     { grid-template-columns: 1fr 1fr; }
  .galerie    { grid-template-columns: repeat(3, 1fr); }
  .ergaenzungen { grid-template-columns: 1fr 1fr; }
  .merkmale   { grid-template-columns: repeat(3, 1fr); }
  .bueffets   { grid-template-columns: 1fr 1fr; }
  .laden-bilder { max-width: 30rem; }

  .buehne { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2.5rem; }
  .buehne-text { order: -1; }

  .karte-hinweis { grid-template-columns: 1fr auto; align-items: center; }
  .heute { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
  .heute-adresse { margin: 0; }

  .zeitstrahl li { grid-template-columns: 5.5rem 1fr; gap: 1.2rem; padding-left: 1.4rem; }

  .fuss-innen { grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; }
  main { padding: 2rem 1.5rem 4rem; }
}

/* =====================================================================
   Ab Desktop – jetzt erscheint die normale Navigation
   ===================================================================== */
@media (min-width: 960px) {
  .navigation { display: flex; gap: .15rem; align-items: center; }
  .navigation a {
    padding: .55rem .8rem;
    border-radius: var(--rand-klein);
    text-decoration: none;
    color: var(--braun-dunkel);
    font-weight: 600;
    font-size: .95rem;
    white-space: nowrap;
  }
  .navigation a:hover { background: var(--creme); color: var(--rot); }
  .navigation a.aktiv { color: var(--rot); box-shadow: inset 0 -3px 0 var(--rot); border-radius: 0; }

  .kopf-telefon { display: inline-flex; }
  .menue-knopf  { display: none; }
  .mobilmenue   { display: none !important; }

  .bueffets { grid-template-columns: repeat(3, 1fr); }
  .sorten   { grid-template-columns: repeat(3, 1fr); }
  .karten   { grid-template-columns: repeat(4, 1fr); }
  .ergaenzungen { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Druck ---------- */
@media print {
  .kopf, .fuss, .portal-band, .sprungmarke, .buehne-knoepfe { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
}
