/* Lider Supermarkt – Seitenstil (keine externen Schriften/Bibliotheken) */
:root {
  --rot: #e51520;
  --rot-dunkel: #b80f18;
  --gruen: #3caa35;
  --gruen-dunkel: #2b8a26;
  --text: #2b2320;
  --text-hell: #6b625e;
  --flaeche: #f3f3f1;
  --rand: #e2e0dc;
  --weiss: #ffffff;
  --max: 1140px;
  --radius: 10px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen-dunkel); }
a:hover { color: var(--rot); }

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

.gizli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#angebot { padding-top: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- Infoleiste ---------- */
.infobar { background: var(--flaeche); border-bottom: 1px solid var(--rand); font-size: 14px; }
.infobar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding-top: 7px; padding-bottom: 7px; }
.infobar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.infobar li { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.infobar a { color: var(--text); text-decoration: none; }
.infobar a:hover { color: var(--rot); }
.ico { width: 16px; height: 16px; flex: none; fill: currentColor; }
.infobar .ico { color: var(--gruen); }

.social { display: flex; gap: 8px; }
.social a { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.social a.fb { background: #1877f2; }
.social a.ig { background: #d6306b; }
.social a:hover { opacity: .85; color: #fff; }
.social .ico { width: 16px; height: 16px; color: #fff; }

/* ---------- Kopfbereich ---------- */
.kopf { background: #fff; border-bottom: 3px solid var(--gruen); position: sticky; top: 0; z-index: 20; }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.kopf .logo img { height: 64px; width: auto; }
.kopf nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.kopf nav a { display: block; padding: 8px 14px; border-radius: 6px; color: var(--text); text-decoration: none; font-weight: 600; }
.kopf nav a:hover, .kopf nav a[aria-current="page"] { background: var(--flaeche); color: var(--rot); }

/* ---------- Abschnitte ---------- */
section { padding: 40px 0; }
h1, h2, h3 { line-height: 1.2; color: var(--text); }
.titel { font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 0 0 6px; }
.titel span { color: var(--rot); }
.untertitel { margin: 0 0 22px; color: var(--text-hell); }

/* ---------- Bilder-Slider ---------- */
.slider-bereich { padding: 20px 0 0; }
.slider { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--flaeche); aspect-ratio: 1580 / 617; }
.slider .folie { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.slider .folie.aktiv { opacity: 1; }
.slider .folie img { width: 100%; height: 100%; object-fit: cover; }
.slider button { font: inherit; cursor: pointer; }
.slider .pfeil { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--text); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.slider .pfeil:hover { background: #fff; color: var(--rot); }
.slider .pfeil.zurueck { left: 12px; }
.slider .pfeil.weiter { right: 12px; }
.slider .pfeil svg { width: 20px; height: 20px; fill: currentColor; }
.slider .punkte { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; }
.slider .punkte button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.25); }
.slider .punkte button[aria-current="true"] { background: var(--rot); }
@media (max-width: 600px) { .slider .pfeil { width: 34px; height: 34px; } .slider .pfeil.zurueck { left: 6px; } .slider .pfeil.weiter { right: 6px; } }
@media (prefers-reduced-motion: reduce) { .slider .folie { transition: none; } }

/* ---------- Angebot ---------- */
.angebot-bild { width: 100%; }
.angebot-bild a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.angebot-bild img { width: 100%; }
.hinweis { text-align: center; font-size: 14px; color: var(--text-hell); margin: 14px 0 0; }

/* ---------- Kontakt ---------- */
.kontakt { background: var(--flaeche); }
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.karte { background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); padding: 20px; }
.karte h3 { margin: 0 0 8px; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.karte h3 .ico { width: 20px; height: 20px; color: var(--rot); }
.karte p { margin: 0 0 6px; }
.karte a { font-weight: 600; word-break: break-word; }
.karte .zeile { margin: 0 0 8px; }
.karte .zeile span { display: block; color: var(--text-hell); font-size: 14px; }
.karte .mail { font-size: 15px; }

/* ---------- Karte (Google Maps) ---------- */
.anfahrt { padding: 0; }
section[id] { scroll-margin-top: 90px; }
.karte-box { position: relative; width: 100%; height: 450px; background: #e6e9e4; overflow: hidden; }
.karte-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 600px) { .karte-box { height: 360px; } }

/* ---------- Fußzeile ---------- */
.fuss { background: #2b2320; color: #d9d4d1; font-size: 14px; }
.fuss .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { color: #ffb3b6; text-decoration: underline; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }

/* ---------- Rechtstexte ---------- */
.recht { padding: 36px 0 56px; }
.recht .wrap { max-width: 820px; }
.recht h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin: 0 0 6px; }
.recht .lead { color: var(--text-hell); margin: 0 0 24px; }
.recht h2 { font-size: 1.15rem; margin: 30px 0 8px; padding-top: 14px; border-top: 1px solid var(--rand); }
.recht p, .recht li { margin: 0 0 10px; }
.recht address { font-style: normal; margin: 0 0 10px; }
.recht .stand { margin-top: 30px; font-size: 14px; color: var(--text-hell); }

/* ---------- Mobil ---------- */
@media (max-width: 760px) {
  .infobar .wrap { justify-content: center; text-align: center; }
  .infobar ul { justify-content: center; }
  .infobar .nur-gross { display: none; }
  .kopf { position: static; }
  .kopf .wrap { flex-direction: column; gap: 6px; }
  .kopf .logo img { height: 56px; }
  .kopf nav ul { justify-content: center; }
  .kopf nav a { padding: 6px 10px; }
  section { padding: 30px 0; }
}
