/* =========================================================
   Wrieden's Partyservice und Catering – Stylesheet
   Farben und Schriften wie bisherige Seite
   ========================================================= */
@font-face {
  font-family: "Old-Press";
  src: url("../fonts/oldpress.ttf") format("truetype");
  font-display: swap;
}

:root {
  --gruen: #C8D300;
  --gruen-hell: #E3E88A;
  --gruen-text: #D8E04C;
  --rot: #AA0000;
  --grau: #505050;
  --grau-hell: #808080;
  --text: #222;
  --fuss: #303030;
  --breite: 980px;
  --kopf-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + 12px); }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text);
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: #3333EE; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.springen { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.springen:focus { left: 8px; }
.icon { width: 1.1em; height: 1.1em; vertical-align: -0.18em; flex: none; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: var(--gruen);
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.kopf-innen {
  max-width: 1100px; margin: 0 auto; height: var(--kopf-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 16px;
}
.logo { color: #fff; text-decoration: none; display: flex; align-items: center; }
.logo img { height: 58px; width: auto; }
.logo-text {
  display: inline-flex; flex-direction: column; align-items: center;
  border: 2px solid #fff; border-radius: 4px; padding: 2px 8px 1px; line-height: 1;
  transform: rotate(-4deg);
}
.logo-name { font-family: "Old-Press", Impact, sans-serif; font-size: 20px; letter-spacing: 1px; }
.logo-zusatz { font-size: 8px; letter-spacing: .5px; margin-top: 2px; }
.hauptmenue { display: flex; align-items: center; gap: 22px; }
.hauptmenue a {
  color: #000; text-decoration: none; text-transform: uppercase; font-size: 17px;
  display: inline-flex; align-items: center; gap: 4px;
}
.hauptmenue a:hover, .hauptmenue a.aktiv { color: #fff; }
.hauptmenue a.home .icon { width: 24px; height: 24px; }
.hauptmenue a.tel { text-transform: none; font-size: 13px; }
.hauptmenue a.tel .icon { display: none; }
.nur-mobil { display: none !important; }
.menue-knopf {
  display: none; background: none; border: 0; color: #000; padding: 8px; cursor: pointer;
}
.menue-knopf .icon { width: 28px; height: 28px; }

/* ---------- Inhalt allgemein ---------- */
.seite { max-width: var(--breite); margin: 0 auto; padding: 28px 20px 40px; }
.oberzeile { color: var(--grau-hell); font-weight: bold; font-size: 14px; margin: 0 0 4px; }
.h-old {
  font-family: "Old-Press", Impact, "Arial Narrow", sans-serif; font-weight: normal;
  color: var(--grau); font-size: 34px; line-height: 1.1; margin: 0 0 14px; letter-spacing: .5px;
}
.h-rot {
  font-family: "Courier New", Courier, monospace; font-weight: bold; color: var(--rot);
  font-size: 22px; line-height: 1.15; margin: 18px 0 2px;
}
.knopf {
  display: inline-block; background: var(--gruen); color: #fff; text-decoration: none;
  padding: 5px 12px; border-radius: 3px; font-size: 14px; border: 0; cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,.25); font-family: inherit;
}
.knopf:hover { background: #b2bc00; }
.knopf.gross { font-size: 17px; padding: 10px 20px; }
.knopf.rot { background: var(--rot); }
.knopf.rot:hover { background: #8c0000; }
.blaettern {
  display: flex; justify-content: center; gap: 10px; margin: 36px 0 0;
  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; padding: 10px 0;
}

/* ---------- Start ---------- */
body.start .kopf { box-shadow: 0 2px 6px rgba(0,0,0,.5); }
.held {
  position: relative; min-height: calc(100vh - var(--kopf-h) - 60px); min-height: calc(100svh - var(--kopf-h) - 60px);
  display: grid; place-items: center; overflow: hidden; background: #222;
}
.held .folie {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease; transform: scale(1.04);
}
.held .folie.aktiv { opacity: 1; animation: zoom 11s linear forwards; }
@keyframes zoom { from { transform: scale(1.04); } to { transform: scale(1.12); } }
.held-text {
  position: relative; z-index: 2; text-align: center; color: #fff; padding: 22px 30px;
  background: rgba(0,0,0,.45); border-radius: 6px; margin: 20px; max-width: 640px;
}
.held-text img { margin: 0 auto 14px; max-height: 260px; width: auto; max-width: 100%; }
.held-text h1 {
  font-family: "Old-Press", Impact, sans-serif; font-weight: normal; font-size: clamp(44px, 9vw, 86px);
  margin: 0; line-height: 1; letter-spacing: 2px;
}
.held-text p { margin: 6px 0 18px; font-size: clamp(17px, 2.4vw, 22px); }
.held-text .knoepfe { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.start-leiste {
  background: var(--gruen); display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 28px;
  padding: 16px 12px; font-size: 15px;
}
.start-leiste a { color: #000; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.start-leiste a:hover { color: #fff; }

/* ---------- Story ---------- */
.foto-banner { display: flex; height: 170px; overflow: hidden; background: #222; border-bottom: 5px solid var(--gruen); }
.foto-banner img { flex: 1 0 170px; width: 170px; height: 100%; object-fit: cover; border-right: 3px solid #fff; }
.foto-banner img:last-child { border-right: 0; }
.story { max-width: 760px; }
.story p { text-align: justify; hyphens: auto; margin: 0 0 1em; }

/* ---------- Karte ---------- */
.karte-kopf { height: 260px; background-size: cover; background-position: center 40%; }
.karte-intro { display: grid; gap: 14px; margin: 6px 0 18px; }
.karte-intro h2 { font-family: "Courier New", Courier, monospace; color: var(--rot); font-size: 22px; margin: 0; }
.karte-intro p { margin: 0 0 0 56px; color: var(--grau-hell); font-weight: bold; font-size: 17px; }
.richtpreis { font-size: 14px; font-weight: bold; margin: 14px 0 0 56px; }
.karte-aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0 56px; }
.karte-aktionen .knopf { display: inline-flex; align-items: center; gap: 6px; }
.karte-nav {
  position: sticky; top: var(--kopf-h); z-index: 20; background: rgba(255,255,255,.97);
  border-bottom: 1px solid #ddd; margin: 22px -20px 0; padding: 10px 20px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
}
.karte-nav a {
  flex: none; font-size: 13px; text-decoration: none; color: #fff; background: #aab400;
  border-radius: 3px; padding: 5px 11px; white-space: nowrap; box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.karte-nav a:hover, .karte-nav a:focus { background: #8d9500; color: #fff; }
.karte-nav a.aktiv { background: var(--rot); color: #fff; }
.k-sek { margin: 0 0 26px; }
.k-sek > h2 {
  font-family: "Old-Press", Impact, "Arial Narrow", sans-serif; font-weight: normal;
  color: var(--grau); font-size: 46px; letter-spacing: 1px; text-transform: uppercase;
  margin: 34px 0 12px 56px; padding-bottom: 6px; border-bottom: 1px solid #999; line-height: 1.1;
}
.k-gruppe { margin: 0 0 16px; }
.k-gruppe .ab { margin-left: 56px; font-weight: bold; color: var(--grau); font-size: 18px; }
.k-gruppe .hinweis { margin-left: 56px; font-style: italic; color: var(--grau); }
.k-liste { list-style: none; margin: 0 0 0 56px; padding: 0; }
.k-liste li::before { content: "+ "; }
.k-zeile { display: flex; align-items: baseline; gap: 8px; margin-left: 56px; }
.k-zeile .name { flex: 0 1 auto; }
.k-zeile .punkte { flex: 1 1 30px; min-width: 24px; border-bottom: 2px dotted #888; transform: translateY(-4px); }
.k-zeile .einheit { flex: none; font-size: 14px; color: #555; min-width: 76px; }
.k-zeile .preis { flex: none; min-width: 90px; text-align: right; font-weight: bold; white-space: nowrap; }
.k-zeile .preis.anfrage { color: var(--grau-hell); font-weight: normal; font-style: italic; }
.k-notiz { margin: 4px 0 0 56px; font-size: 14px; }
.k-info p { margin: 8px 0 8px 56px; }
.k-info .h-rot { margin-top: 18px; }
.k-stand { font-size: 14px; color: #444; }

/* ---------- Galerie ---------- */
.galerie {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px;
}
.galerie a { display: block; aspect-ratio: 1; overflow: hidden; background: #eee; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.galerie a:hover img, .galerie a:focus img { transform: scale(1.06); }
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.92);
  display: none; align-items: center; justify-content: center;
}
.lightbox.offen { display: flex; }
.lightbox img { max-width: 94vw; max-height: 88vh; width: auto; box-shadow: 0 0 30px #000; }
.lightbox button {
  position: absolute; background: rgba(0,0,0,.4); color: #fff; border: 0; font-size: 34px;
  width: 54px; height: 54px; cursor: pointer; border-radius: 50%;
}
.lightbox .zu { top: 14px; right: 14px; font-size: 30px; }
.lightbox .vor { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .zurueck { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .zaehler { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #ccc; font-size: 14px; }

/* ---------- Kontakt ---------- */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
.kontakt-box { margin-left: 34px; }
.kontakt-box .h-old { margin-bottom: 4px; }
.kontakt-box p { margin: 0 0 14px; }
.kontakt-box a { text-decoration: none; }
.kontakt-box .zeile { display: flex; gap: 8px; align-items: center; }
.kontakt-box img.portrait { width: 110px; border-radius: 50%; margin: 10px 0 14px; }

/* Formular */
.formular { background: #f7f8ec; border: 1px solid #e3e6b5; border-radius: 6px; padding: 20px 22px 24px; }
.formular h2 { margin-top: 0; }
.formular .einleitung { margin: 0 0 16px; font-size: 15px; }
.f-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.f-feld { display: flex; flex-direction: column; margin: 0 0 12px; }
.f-feld.voll { grid-column: 1 / -1; }
.f-feld label, .f-feld legend { font-weight: bold; font-size: 14px; margin: 0 0 4px; color: #333; }
.f-feld .pflicht { color: var(--rot); }
.f-feld input, .f-feld select, .f-feld textarea {
  font: inherit; font-size: 16px; padding: 8px 10px; border: 1px solid #b9bd8c; border-radius: 4px; background: #fff; width: 100%;
}
.f-feld textarea { min-height: 120px; resize: vertical; }
.f-feld input:focus, .f-feld select:focus, .f-feld textarea:focus { outline: 2px solid var(--gruen); border-color: #9aa200; }
fieldset.f-feld { border: 0; padding: 0; }
.f-radios { display: flex; gap: 18px; flex-wrap: wrap; }
.f-radios label { font-weight: normal; display: inline-flex; gap: 6px; align-items: center; font-size: 16px; }
.f-radios input { width: auto; }
.f-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 6px 0 16px; }
.f-check input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.f-fehler { color: var(--rot); font-size: 13px; margin-top: 3px; }
.f-feld.hat-fehler input, .f-feld.hat-fehler select, .f-feld.hat-fehler textarea { border-color: var(--rot); background: #fff6f6; }
.f-hinweis { font-size: 13px; color: #666; margin: 10px 0 0; }
.honig { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; overflow: hidden; }
.meldung { border-radius: 5px; padding: 14px 16px; margin: 0 0 18px; }
.meldung.ok { background: #eef6d0; border: 1px solid #b7c94a; }
.meldung.fehler { background: #fde8e8; border: 1px solid #e3a0a0; }

/* ---------- Öffnungszeiten ---------- */
.zeiten { border-collapse: separate; border-spacing: 3px; margin: 0 0 14px; }
.zeiten th, .zeiten td { background: var(--gruen-hell); padding: 3px 8px; text-align: left; font-weight: normal; }
.zeiten td:empty { background: none; }
.zeiten tr.heute th, .zeiten tr.heute td:not(:empty) { background: var(--gruen); font-weight: bold; }
.zeiten-box { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: start; }

.sonderhinweis { background: var(--rot); color: #fff; font-weight: bold; text-align: center; padding: 10px 16px; margin: 0 0 16px; border-radius: 4px; }
.start-leiste + .sonderhinweis, main > .sonderhinweis { border-radius: 0; margin: 0; }
.karte-aus { font-size: 18px; max-width: 640px; margin: 0 0 20px; }

/* ---------- Anfahrt ---------- */
.anfahrt-karte { display: block; border: 1px solid #ccc; }
.anfahrt-karte img { width: 100%; }
.anfahrt-aktionen { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 0; }
.anfahrt-aktionen .knopf { display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Textseiten ---------- */
.text h2 { font-size: 18px; color: var(--grau); margin: 22px 0 6px; }
.text p { margin: 0 0 10px; }
.text .klein { font-size: 13px; color: #666; }

/* ---------- Fuß ---------- */
.fuss { background: var(--fuss); color: var(--gruen-text); margin-top: 30px; }
.fuss-innen {
  max-width: 1000px; margin: 0 auto; padding: 22px 20px 18px;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px;
}
.fuss a { color: var(--gruen-text); text-decoration: none; }
.fuss a:hover { color: #fff; }
.fuss-adresse { font-style: italic; text-align: center; font-size: 15px; line-height: 1.5; }
.fuss-links { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.75; }
.fuss-links a { display: inline-flex; align-items: center; gap: 8px; }
.fuss-leiste {
  background: #1d1d1d; font-size: 11px; display: flex; justify-content: space-between;
  gap: 10px; padding: 4px 10px; color: var(--gruen-text);
}

/* ---------- Mobil ---------- */
@media (max-width: 820px) {
  :root { --kopf-h: 60px; }
  .logo img { height: 48px; }
  .held-text img { max-height: 190px; }
  .menue-knopf { display: block; }
  .hauptmenue {
    position: absolute; top: var(--kopf-h); left: 0; right: 0; background: var(--gruen);
    flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 10px;
    box-shadow: 0 6px 10px rgba(0,0,0,.25); display: none;
  }
  .hauptmenue.offen { display: flex; }
  .hauptmenue a { padding: 11px 22px; font-size: 18px; border-top: 1px solid rgba(255,255,255,.35); }
  .hauptmenue a.home .icon { display: none; }
  .hauptmenue a.tel { font-size: 18px; }
  .hauptmenue a.tel .icon { display: inline; }
  .nur-mobil { display: inline-flex !important; }
  .kontakt-grid, .zeiten-box { grid-template-columns: 1fr; }
  .foto-banner { height: 110px; }
  .foto-banner img { flex-basis: 110px; width: 110px; }
  .kontakt-box { margin-left: 0; }
  .fuss-innen { grid-template-columns: 1fr 1fr; }
  .fuss-adresse { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .seite { padding: 20px 14px 30px; }
  .karte-nav { position: static; margin: 18px -14px 0; padding: 10px 14px; gap: 5px; }
  .karte-nav a { font-size: 13px; padding: 6px 9px; }
  .k-sek > h2 { font-size: 34px; margin-left: 0; }
  .h-rot { font-size: 19px; }
  .karte-intro p, .richtpreis, .karte-aktionen, .k-gruppe .ab, .k-gruppe .hinweis,
  .k-liste, .k-zeile, .k-notiz, .k-info p { margin-left: 0; }
  .k-zeile { flex-wrap: wrap; gap: 2px 8px; }
  .k-zeile .name { flex-basis: 100%; }
  .k-zeile .einheit { min-width: 0; }
  .karte-kopf { height: 160px; }
  .f-reihe { grid-template-columns: 1fr; }
  .galerie { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .fuss-leiste { flex-wrap: wrap; justify-content: center; }
}

/* ---------- Druck (Karte) ---------- */
@media print {
  .kopf, .fuss, .karte-nav, .karte-aktionen, .blaettern, .karte-kopf { display: none !important; }
  body { font-size: 12px; }
  .k-gruppe { break-inside: avoid; }
}
