/* ==========================================================================
   Bäckerei Schwab – gemeinsames Design für alle Seiten
   --------------------------------------------------------------------------
   Farben, Schriften und Abstände werden ganz oben (":root") festgelegt.
   Eine Änderung dort wirkt sich auf die ganze Website aus.
   ========================================================================== */

/* ---------- Schriften (liegen lokal im Ordner assets/fonts – keine Google-Verbindung) ---------- */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/playfair-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/playfair-display-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/playfair-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/playfair-display-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/dm-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/dm-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  /* Markenfarben */
  --gelb: #FCBE00;            /* Firmenfarbe Gelb */
  --gelb-text: #E0A800;       /* Gelb für Schrift auf hellem Grund (minimal kräftiger) */
  --gelb-hover: #E8AE00;
  --anthrazit: #40403F;       /* Firmenfarbe Dunkelgrau */
  --schwarz: #1C1B19;
  --creme: #F4F0E6;
  --creme-hell: #FBF8F1;
  --text: #2C2B29;
  --text-leise: #5E5B55;
  --hell-auf-dunkel: #F5F1EA;
  --hell-leise: rgba(245, 241, 234, 0.78);
  --linie-hell: rgba(64, 64, 63, 0.14);
  --linie-dunkel: rgba(255, 255, 255, 0.16);

  /* Schriften */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  /* Maße */
  --rand: clamp(1.25rem, 6vw, 6rem);      /* seitlicher Abstand */
  --abschnitt: clamp(4.5rem, 9vw, 8rem);  /* Abstand oben/unten je Abschnitt */
  --max: 1240px;
  --header-hoehe: 76px;
  --radius: 6px;
  --schatten: 0 18px 50px -20px rgba(28, 27, 25, 0.35);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; font-variant-numeric: lining-nums; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; border-radius: 3px; }
[id] { scroll-margin-top: calc(var(--header-hoehe) + 12px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; }

/* ---------- Hintergründe der Abschnitte ---------- */
.bg-hell {
  background: linear-gradient(rgba(247, 243, 234, 0.8), rgba(247, 243, 234, 0.8)),
              url("../img/hintergrund-textur.jpg") center / cover, var(--creme);
}
.bg-hell-ruhig {
  background: linear-gradient(rgba(250, 247, 240, 0.9), rgba(250, 247, 240, 0.9)),
              url("../img/hintergrund-textur.jpg") center / cover, var(--creme-hell);
}
.bg-dunkel {
  color: var(--hell-auf-dunkel);
  background: linear-gradient(rgba(22, 19, 15, 0.42), rgba(22, 19, 15, 0.58)),
              url("../img/hintergrund-brot.jpg") center 30% / cover, #1f1b16;
}
/* Parallax-Effekt nur auf großen Bildschirmen mit Maus (auf Handys würde das Bild verzerren) */
@media (min-width: 1025px) and (hover: hover) {
  .bg-hell, .bg-hell-ruhig, .bg-dunkel { background-attachment: fixed, fixed, scroll; }
}

.abschnitt { padding: var(--abschnitt) var(--rand); position: relative; }

/* Überschriften-Bausteine */
.label {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--sans); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gelb-text); margin: 0 0 1rem;
}
.label::before { content: ""; width: 28px; height: 2px; background: var(--gelb); border-radius: 2px; }
.bg-dunkel .label { color: var(--gelb); }
.titel { font-size: clamp(2.1rem, 4vw, 3.3rem); color: var(--schwarz); margin-bottom: 1.25rem; }
.titel em { font-style: italic; color: var(--gelb-text); font-weight: 400; }
.bg-dunkel .titel { color: var(--hell-auf-dunkel); }
.bg-dunkel .titel em { color: var(--gelb); }
.einleitung { font-size: 1.06rem; font-weight: 300; color: var(--text-leise); max-width: 46rem; }
.bg-dunkel .einleitung { color: var(--hell-leise); }
.kopf { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.kopf-mitte { text-align: center; }
.kopf-mitte .label { justify-content: center; }
.kopf-mitte .einleitung { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem; border-radius: 100px; border: 2px solid transparent;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-gelb { background: var(--gelb); color: var(--schwarz); box-shadow: 0 8px 24px -10px rgba(252, 190, 0, 0.9); }
.btn-gelb:hover { background: var(--gelb-hover); transform: translateY(-2px); }
.btn-rand { border-color: rgba(64, 64, 63, 0.35); color: var(--anthrazit); background: transparent; }
.btn-rand:hover { border-color: var(--anthrazit); background: var(--anthrazit); color: var(--hell-auf-dunkel); }
.bg-dunkel .btn-rand, .btn-rand-hell { border-color: rgba(245, 241, 234, 0.4); color: var(--hell-auf-dunkel); }
.bg-dunkel .btn-rand:hover, .btn-rand-hell:hover { background: var(--hell-auf-dunkel); color: var(--schwarz); border-color: var(--hell-auf-dunkel); }

/* ==========================================================================
   KOPFZEILE / NAVIGATION
   ========================================================================== */
.kopfzeile {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-hoehe);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0 var(--rand);
  background: rgba(250, 247, 240, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.kopfzeile.gescrollt { border-color: var(--linie-hell); box-shadow: 0 6px 30px -18px rgba(28, 27, 25, 0.5); }
.logo-link { display: block; flex-shrink: 0; }
.logo-link img { height: 46px; width: auto; }
.hauptmenue { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.hauptmenue a {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--anthrazit); text-decoration: none; position: relative; padding: 0.4rem 0;
}
.hauptmenue a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--gelb); transform: scaleX(0); transform-origin: left; transition: transform 0.25s;
}
.hauptmenue a:not(.btn):hover::after, .hauptmenue a[aria-current="page"]::after { transform: scaleX(1); }
.hauptmenue .btn { padding: 0.7rem 1.3rem; font-size: 0.78rem; letter-spacing: 0.1em; }
.menue-knopf {
  display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer;
  position: relative; border-radius: 50%;
}
.menue-knopf span, .menue-knopf::before, .menue-knopf::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--anthrazit);
  border-radius: 2px; transition: transform 0.3s, opacity 0.2s, top 0.3s;
}
.menue-knopf::before { top: 15px; }
.menue-knopf span { top: 22px; }
.menue-knopf::after { top: 29px; }
.menue-offen .menue-knopf::before { top: 22px; transform: rotate(45deg); }
.menue-offen .menue-knopf::after { top: 22px; transform: rotate(-45deg); }
.menue-offen .menue-knopf span { opacity: 0; }

@media (max-width: 1080px) {
  .menue-knopf { display: block; }
  .hauptmenue {
    position: fixed; top: var(--header-hoehe); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem var(--rand) 1.5rem;
    background: #FAF7F0; border-bottom: 1px solid var(--linie-hell);
    box-shadow: 0 20px 40px -24px rgba(28, 27, 25, 0.45);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
    max-height: calc(100vh - var(--header-hoehe)); overflow-y: auto;
  }
  .menue-offen .hauptmenue { transform: none; opacity: 1; visibility: visible; }
  .hauptmenue a { font-size: 0.95rem; padding: 1rem 0; border-bottom: 1px solid var(--linie-hell); }
  .hauptmenue a:not(.btn)::after { display: none; }
  .hauptmenue .btn { margin-top: 1.2rem; padding: 1rem; font-size: 0.85rem; border-bottom: 0; }
}

/* ==========================================================================
   STARTSEITE: HERO
   ========================================================================== */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: calc(var(--header-hoehe) + clamp(2rem, 5vw, 4rem)) var(--rand) clamp(3rem, 6vw, 5rem);
}
.hero-slogan {
  display: inline-block; margin-bottom: 1.6rem; padding: 0.45rem 1.1rem;
  border: 1px solid rgba(224, 168, 0, 0.45); border-radius: 100px; background: rgba(252, 190, 0, 0.1);
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gelb-text);
}
.hero h1 { font-size: clamp(3.2rem, 7vw, 6.2rem); line-height: 0.98; color: var(--schwarz); margin-bottom: 1.6rem; letter-spacing: -0.02em; }
.hero h1 em { font-style: italic; color: var(--gelb); font-weight: 700; }
.hero-text { max-width: 34rem; }
.hero-text p { font-size: 1.1rem; font-weight: 300; color: var(--text-leise); max-width: 30rem; margin-bottom: 2.2rem; }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-fakten { display: flex; gap: 2.2rem; margin-top: 2.8rem; padding-top: 1.8rem; border-top: 1px solid var(--linie-hell); }
.hero-fakten strong { font-variant-numeric: lining-nums; display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--schwarz); line-height: 1.1; }
.hero-fakten span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-leise); }

/* gerahmtes Foto (Hero + Über uns) */
.foto-rahmen { position: relative; margin: 0; }
.foto-rahmen::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 2px solid var(--gelb); border-radius: var(--radius); z-index: 0;
}
.foto-rahmen img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--schatten);
}
.hero-bild { justify-self: center; width: min(100%, 520px); aspect-ratio: 4 / 5; }

/* ==========================================================================
   STARTSEITE: ÜBER UNS
   ========================================================================== */
.ueber { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; max-width: var(--max); margin: 0 auto; }
.ueber-bild { aspect-ratio: 1 / 1; width: 100%; }
.ueber-bild img { object-position: center 20%; }
.ueber-text p:not(.label) { font-weight: 300; color: var(--text-leise); font-size: 1.02rem; }
.ueber-text .lead { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.5; color: var(--anthrazit); }
.zitat {
  margin: 1.8rem 0; padding: 0.4rem 0 0.4rem 1.3rem; border-left: 3px solid var(--gelb);
  font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.45; color: var(--schwarz);
}
.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
.zahl { border-top: 2px solid var(--gelb); padding-top: 0.9rem; }
.zahl strong { font-variant-numeric: lining-nums; display: block; font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; color: var(--schwarz); }
.zahl span { display: block; margin-top: 0.35rem; font-size: 0.7rem; line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-leise); }

/* ==========================================================================
   STARTSEITE: FILIALEN
   ========================================================================== */
.filialen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; max-width: var(--max); margin: 0 auto; }
.filiale {
  display: flex; flex-direction: column; overflow: hidden;
  background: rgba(253, 251, 246, 0.88); border: 1px solid var(--linie-hell); border-radius: 10px;
  box-shadow: 0 10px 30px -22px rgba(28, 27, 25, 0.5);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.filiale:hover { transform: translateY(-4px); border-color: rgba(252, 190, 0, 0.55); box-shadow: 0 22px 40px -24px rgba(28, 27, 25, 0.55); }
.karte { position: relative; aspect-ratio: 4 / 3; background: #E9E3D4; border-bottom: 1px solid var(--linie-hell); }
.karte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.karte-platzhalter {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.7rem; padding: 1rem; text-align: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(252, 190, 0, 0.18), transparent 55%),
    repeating-linear-gradient(45deg, rgba(64, 64, 63, 0.05) 0 2px, transparent 2px 14px),
    #ECE6D8;
}
.karte-platzhalter svg { width: 34px; height: 34px; color: var(--gelb-text); }
.karte-platzhalter button {
  border: 0; cursor: pointer; padding: 0.6rem 1rem; border-radius: 100px;
  background: var(--anthrazit); color: var(--hell-auf-dunkel);
  font: 600 0.78rem/1.2 var(--sans); letter-spacing: 0.04em;
}
.karte-platzhalter button:hover { background: var(--schwarz); }
.karte-platzhalter small { font-size: 0.68rem; line-height: 1.4; color: var(--text-leise); max-width: 15rem; }
.karte-platzhalter small a { color: var(--anthrazit); }
.filiale-info { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.filiale-ort { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gelb-text); margin-bottom: 0.35rem; }
.filiale h3 { font-size: 1.25rem; color: var(--schwarz); margin-bottom: 0.25rem; }
.filiale address { font-style: normal; font-size: 0.9rem; color: var(--text-leise); margin-bottom: 1.1rem; }
.filiale-route { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--anthrazit); text-decoration: none; }
.filiale-route svg { width: 16px; height: 16px; color: var(--gelb-text); transition: transform 0.2s; }
.filiale-route:hover svg { transform: translateX(3px); }
.karten-hinweis { text-align: center; font-size: 0.8rem; color: var(--text-leise); margin-top: 1.6rem; }

/* ==========================================================================
   STARTSEITE: GALERIE
   ========================================================================== */
.galerie {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 240px);
  gap: 12px; max-width: var(--max); margin: 0 auto; grid-auto-flow: dense;
}
.galerie a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: #2a251e; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s; }
.galerie a:hover img { transform: scale(1.05); }
.galerie a::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: inherit; pointer-events: none; }
.g-gross { grid-column: span 2; grid-row: span 2; }
.g-hoch { grid-row: span 2; }
.g-breit { grid-column: span 2; }

/* Großansicht (Lightbox) */
.lightbox {
  position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center;
  background: rgba(16, 14, 11, 0.92); padding: 4rem 1rem;
}
.lightbox.offen { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 100%; width: auto; height: auto; border-radius: 4px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lightbox button {
  position: absolute; border: 0; cursor: pointer; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); color: #fff; display: grid; place-items: center;
}
.lightbox button:hover { background: var(--gelb); color: var(--schwarz); }
.lightbox button svg { width: 22px; height: 22px; }
.lb-zu { top: 1rem; right: 1rem; }
.lb-zurueck { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-weiter { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   STARTSEITE: ÖFFNUNGSZEITEN & KONTAKT
   ========================================================================== */
.kontakt-raster { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: clamp(3rem, 6vw, 6rem); max-width: var(--max); margin: 0 auto; }
.zeiten { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 2.4rem; margin-top: 0.5rem; }
.zeiten-filiale h3 {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gelb); padding-bottom: 0.6rem; margin-bottom: 0.4rem; border-bottom: 1px solid var(--linie-dunkel);
}
.zeiten-filiale dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; }
.zeiten-filiale dt { font-weight: 300; color: var(--hell-leise); }
.zeiten-filiale dd { margin: 0; text-align: right; font-weight: 500; color: var(--hell-auf-dunkel); font-variant-numeric: tabular-nums; }
.zeiten-filiale dd.zu { color: rgba(245, 241, 234, 0.5); font-weight: 300; }
.zeiten-filiale .hinweis { font-size: 0.78rem; font-style: italic; color: rgba(245, 241, 234, 0.6); margin: 0.5rem 0 0; }
.feiertag {
  grid-column: 1 / -1; display: flex; gap: 0.8rem; align-items: center;
  padding: 0.9rem 1.1rem; border: 1px solid var(--linie-dunkel); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05); font-size: 0.92rem; color: var(--hell-leise);
}
.feiertag svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--gelb); }
.kontakt-liste { list-style: none; margin: 0.5rem 0 2rem; padding: 0; display: grid; gap: 1.4rem; }
.kontakt-liste li { display: flex; gap: 1rem; align-items: flex-start; }
.symbol {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  background: rgba(252, 190, 0, 0.12); border: 1px solid rgba(252, 190, 0, 0.35); color: var(--gelb);
}
.symbol svg { width: 20px; height: 20px; }
.kontakt-liste small { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gelb); margin-bottom: 0.15rem; }
.kontakt-liste a, .kontakt-liste span { color: var(--hell-auf-dunkel); text-decoration: none; font-size: 1.02rem; }
.kontakt-liste a:hover { color: var(--gelb); }
.sozial { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 2rem; }
.sozial a {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.65rem 1.15rem; border-radius: 100px;
  border: 1px solid rgba(252, 190, 0, 0.4); color: var(--hell-auf-dunkel); text-decoration: none; font-size: 0.85rem; font-weight: 500;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.sozial a:hover { background: var(--gelb); border-color: var(--gelb); color: var(--schwarz); }
.sozial svg { width: 17px; height: 17px; fill: currentColor; }
.kontakt-knoepfe { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.kontakt-raster .titel { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.bg-dunkel + .bg-dunkel { padding-top: calc(var(--abschnitt) * 0.35); }
.stempel { position: absolute; right: var(--rand); bottom: 2rem; width: 92px; opacity: 0.14; pointer-events: none; }

/* ==========================================================================
   FUSSZEILE
   ========================================================================== */
.fusszeile { background: var(--schwarz); color: rgba(245, 241, 234, 0.62); padding: 2.6rem var(--rand); font-size: 0.85rem; }
.fusszeile-innen { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.fusszeile img { height: 44px; width: auto; }
.fusszeile nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }
.fusszeile a { color: rgba(245, 241, 234, 0.78); text-decoration: none; }
.fusszeile a:hover { color: var(--gelb); }

/* nach oben */
.nach-oben {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gelb); color: var(--schwarz);
  box-shadow: 0 10px 24px -10px rgba(28, 27, 25, 0.6);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.nach-oben.sichtbar { opacity: 1; visibility: visible; transform: none; }
.nach-oben svg { width: 20px; height: 20px; }

/* ==========================================================================
   UNTERSEITEN (Kontakt, Allergene, Impressum, Datenschutz)
   ========================================================================== */
.seitenkopf { padding: calc(var(--header-hoehe) + clamp(3rem, 7vw, 5.5rem)) var(--rand) clamp(2.5rem, 5vw, 4rem); text-align: center; }
.seitenkopf h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); color: var(--schwarz); margin-bottom: 1.1rem; }
.seitenkopf h1 em { font-style: italic; color: var(--gelb); }
.seitenkopf .label { justify-content: center; }
.seitenkopf p:not(.label) { font-size: 1.08rem; font-weight: 300; color: var(--text-leise); max-width: 40rem; margin: 0 auto; }
.seiteninhalt { padding: 0 var(--rand) var(--abschnitt); }

/* Hinweisbox */
.hinweisbox {
  display: flex; gap: 0.9rem; align-items: flex-start; max-width: var(--max); margin: 0 auto 2rem;
  padding: 1.1rem 1.3rem; border-radius: 8px; background: rgba(252, 190, 0, 0.12); border: 1px solid rgba(224, 168, 0, 0.4);
  font-size: 0.92rem; color: var(--text);
}
.hinweisbox svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--gelb-text); margin-top: 2px; }
.hinweisbox p:last-child { margin: 0; }

/* ---------- Kontaktformulare ---------- */
.kontakt-seite { display: grid; grid-template-columns: 1.6fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); max-width: var(--max); margin: 0 auto; align-items: start; }
.formular-karte { background: rgba(253, 251, 246, 0.94); border: 1px solid var(--linie-hell); border-radius: 12px; box-shadow: var(--schatten); overflow: hidden; }
.reiter { display: flex; border-bottom: 1px solid var(--linie-hell); background: rgba(244, 240, 230, 0.7); overflow-x: auto; }
.reiter button {
  flex: 1; min-width: max-content; border: 0; background: transparent; cursor: pointer; padding: 1.1rem 1.2rem;
  font: 600 0.8rem/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-leise);
  border-bottom: 3px solid transparent; transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.reiter button:hover { color: var(--schwarz); }
.reiter button[aria-selected="true"] { color: var(--schwarz); border-bottom-color: var(--gelb); background: rgba(253, 251, 246, 0.94); }
.reiter-inhalt { padding: clamp(1.5rem, 4vw, 2.6rem); }
.reiter-inhalt[hidden] { display: none; }
.formular-intro { font-size: 0.95rem; color: var(--text-leise); margin-bottom: 1.6rem; }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.feld { display: flex; flex-direction: column; gap: 0.4rem; }
.feld.breit { grid-column: 1 / -1; }
.feld label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--anthrazit); }
.feld label .pflicht { color: var(--gelb-text); }
.feld input, .feld select, .feld textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--text);
  background: #fff; border: 1px solid rgba(64, 64, 63, 0.24); border-radius: 8px; padding: 0.8rem 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feld textarea { min-height: 140px; resize: vertical; }
.feld select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2340403F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 1rem center;
}
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--gelb-text); box-shadow: 0 0 0 4px rgba(252, 190, 0, 0.22); }
.zustimmung { grid-column: 1 / -1; display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.86rem; color: var(--text-leise); }
.zustimmung input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--gelb-text); }
.zustimmung a { color: var(--anthrazit); }
.honig { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.formular-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.6rem; }
.formular-fuss small { font-size: 0.78rem; color: var(--text-leise); }
.meldung { display: none; margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 8px; font-size: 0.95rem; }
.meldung.ok { display: block; background: rgba(46, 125, 50, 0.1); border: 1px solid rgba(46, 125, 50, 0.35); color: #1f5a23; }
.meldung.fehler { display: block; background: rgba(183, 28, 28, 0.08); border: 1px solid rgba(183, 28, 28, 0.3); color: #8a1c1c; }
.seitenleiste { display: grid; gap: 1.2rem; position: sticky; top: calc(var(--header-hoehe) + 1.5rem); }
.info-karte { background: rgba(253, 251, 246, 0.9); border: 1px solid var(--linie-hell); border-radius: 12px; padding: 1.6rem; }
.info-karte.dunkel { background: var(--schwarz); color: var(--hell-auf-dunkel); border-color: transparent; position: relative; overflow: hidden; }
.info-karte h2 { font-size: 1.35rem; margin-bottom: 1rem; color: var(--schwarz); }
.info-karte.dunkel h2 { color: var(--hell-auf-dunkel); }
.info-karte p { font-size: 0.92rem; color: var(--text-leise); }
.info-karte.dunkel p { color: var(--hell-leise); }
.info-karte .kontakt-liste { margin: 0; gap: 1.1rem; }
.info-karte .stempel { width: 70px; right: 1.2rem; bottom: 1.2rem; opacity: 0.12; }

/* ---------- Allergene ---------- */
.allergen-werkzeuge { max-width: var(--max); margin: 0 auto 1.2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.suche { position: relative; flex: 1 1 260px; max-width: 420px; }
.suche svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-leise); }
.suche input {
  width: 100%; font: 400 1rem/1.4 var(--sans); padding: 0.8rem 1rem 0.8rem 2.8rem; border-radius: 100px;
  border: 1px solid rgba(64, 64, 63, 0.24); background: #fff; color: var(--text);
}
.suche input:focus { outline: none; border-color: var(--gelb-text); box-shadow: 0 0 0 4px rgba(252, 190, 0, 0.22); }
.drucken { display: inline-flex; align-items: center; gap: 0.5rem; }
.ohne-filter { max-width: var(--max); margin: 0 auto 1.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.ohne-filter > span { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--anthrazit); margin-right: 0.4rem; }
.chip {
  border: 1px solid rgba(64, 64, 63, 0.25); background: rgba(253, 251, 246, 0.9); color: var(--anthrazit);
  border-radius: 100px; padding: 0.45rem 0.95rem; font: 500 0.82rem/1.2 var(--sans); cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--anthrazit); }
.chip[aria-pressed="true"] { background: var(--anthrazit); border-color: var(--anthrazit); color: var(--hell-auf-dunkel); }
.chip[aria-pressed="true"]::before { content: "✓ "; color: var(--gelb); }
.kategorien { max-width: var(--max); margin: 0 auto 1.6rem; display: flex; gap: 0.3rem; border-bottom: 2px solid var(--linie-hell); overflow-x: auto; }
.kategorien button {
  border: 0; background: transparent; cursor: pointer; padding: 0.9rem 1.2rem; margin-bottom: -2px; white-space: nowrap;
  border-bottom: 3px solid transparent; font: 600 0.82rem/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-leise);
}
.kategorien button:hover { color: var(--schwarz); }
.kategorien button[aria-selected="true"] { color: var(--schwarz); border-bottom-color: var(--gelb); }
.kategorien .anzahl { display: inline-block; margin-left: 0.35rem; padding: 0.1rem 0.45rem; border-radius: 100px; background: rgba(64, 64, 63, 0.08); font-size: 0.7rem; letter-spacing: 0; }
.allergen-ergebnis { max-width: var(--max); margin: 0 auto; }
.tabelle-huelle { overflow-x: auto; border-radius: 12px; border: 1px solid var(--linie-hell); background: rgba(253, 251, 246, 0.95); box-shadow: var(--schatten); }
table.allergene { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.allergene th, .allergene td { padding: 0.75rem 0.6rem; text-align: center; border-bottom: 1px solid var(--linie-hell); }
.allergene thead th {
  position: sticky; top: 0; background: var(--anthrazit); color: var(--hell-auf-dunkel);
  font: 600 0.7rem/1.25 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; vertical-align: bottom;
}
.allergene thead th.gruppe { background: #34342f; color: var(--gelb); }
.allergene thead tr.obergruppe th { position: static; padding: 0.55rem 0.6rem 0.2rem; font-size: 0.66rem; letter-spacing: 0.12em; }
.allergene thead tr.obergruppe th.gruppe { border-bottom: 2px solid var(--gelb); }
.allergene th:first-child, .allergene td:first-child { text-align: left; padding-left: 1.2rem; min-width: 210px; }
.allergene tbody tr:nth-child(even) { background: rgba(244, 240, 230, 0.55); }
.allergene tbody tr:hover { background: rgba(252, 190, 0, 0.12); }
.allergene td.produkt { font-weight: 500; color: var(--schwarz); }
.allergene td.produkt small { display: block; font-weight: 400; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-leise); }
.punkt { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gelb); color: var(--schwarz); font-weight: 700; font-size: 0.8rem; }
.leer { color: rgba(64, 64, 63, 0.3); }
.offen-hinweis { font-size: 0.85rem; color: #8a5a00; font-style: italic; }
.keine-treffer { padding: 2.5rem 1rem; text-align: center; color: var(--text-leise); }
.allergen-karten { display: none; gap: 0.8rem; }
.a-karte { background: rgba(253, 251, 246, 0.95); border: 1px solid var(--linie-hell); border-radius: 10px; padding: 1rem 1.1rem; }
.a-karte h3 { font-size: 1.1rem; color: var(--schwarz); margin-bottom: 0.15rem; }
.a-karte .kat { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-leise); }
.a-karte ul { list-style: none; padding: 0; margin: 0.7rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.a-karte li { padding: 0.25rem 0.7rem; border-radius: 100px; background: rgba(252, 190, 0, 0.22); color: var(--schwarz); font-size: 0.82rem; font-weight: 500; }
.legende { max-width: var(--max); margin: 1.4rem auto 0; font-size: 0.85rem; color: var(--text-leise); display: grid; gap: 0.5rem; }
.legende .punkt { width: 20px; height: 20px; font-size: 0.65rem; vertical-align: middle; margin-right: 0.3rem; }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 820px; margin: 0 auto; background: rgba(253, 251, 246, 0.94); border: 1px solid var(--linie-hell); border-radius: 12px; padding: clamp(1.6rem, 5vw, 3.5rem); box-shadow: var(--schatten); }
.rechtstext h2 { font-size: 1.6rem; color: var(--schwarz); margin: 2.4rem 0 1rem; padding-top: 1.4rem; border-top: 1px solid var(--linie-hell); }
.rechtstext h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.rechtstext h3 { font-size: 1.2rem; color: var(--schwarz); margin: 1.8rem 0 0.6rem; }
.rechtstext h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--anthrazit); margin: 1.3rem 0 0.4rem; }
.rechtstext p, .rechtstext li { font-size: 0.97rem; color: var(--text); line-height: 1.75; overflow-wrap: anywhere; }
.rechtstext ul { padding-left: 1.2rem; }
.rechtstext li { margin-bottom: 0.6rem; }
.rechtstext a { color: var(--anthrazit); text-decoration-color: var(--gelb); text-underline-offset: 3px; }
.rechtstext .quelle { font-size: 0.85rem; color: var(--text-leise); margin-top: 2.5rem; }

/* ==========================================================================
   ANPASSUNG FÜR TABLET & HANDY
   ========================================================================== */
@media (max-width: 1100px) {
  .filialen { grid-template-columns: repeat(2, 1fr); }
  .zahlen { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-hoehe: 68px; }
  .logo-link img { height: 40px; }
  .hero { grid-template-columns: 1fr; min-height: 0; text-align: left; }
  .hero-bild { width: min(100%, 460px); justify-self: start; margin-right: 18px; }
  .ueber { grid-template-columns: 1fr; }
  .ueber-bild { aspect-ratio: 4 / 3; width: calc(100% - 18px); }
  .kontakt-raster, .kontakt-seite { grid-template-columns: 1fr; }
  .seitenleiste { position: static; }
  .galerie { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
  .g-gross { grid-column: span 2; grid-row: span 2; }
  .g-hoch { grid-row: span 2; }
  .g-breit { grid-column: span 2; }
  .stempel { width: 70px; bottom: 1.2rem; }
}
@media (max-width: 760px) {
  .tabelle-huelle { display: none; }
  .allergen-karten { display: grid; }
}
@media (max-width: 600px) {
  .filialen { grid-template-columns: 1fr; }
  .zeiten { grid-template-columns: 1fr; }
  .felder { grid-template-columns: 1fr; }
  .hero-fakten { gap: 1.4rem; }
  .hero-fakten strong { font-size: 1.4rem; }
  .btn { width: 100%; }
  .hero-knoepfe .btn, .kontakt-knoepfe .btn { width: 100%; }
  .fusszeile-innen { flex-direction: column; align-items: flex-start; }
  .foto-rahmen::before { inset: 12px -12px -12px 12px; }
  .hero-bild, .ueber-bild { width: calc(100% - 12px); }
  .nach-oben { right: 0.9rem; bottom: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Druck (v. a. für die Allergenliste) ---------- */
@media print {
  .kopfzeile, .nach-oben, .allergen-werkzeuge, .ohne-filter, .kategorien, .fusszeile nav, .menue-knopf { display: none !important; }
  body, .bg-hell, .bg-hell-ruhig { background: #fff !important; }
  .seitenkopf { padding: 0 0 1rem; }
  .tabelle-huelle { display: block !important; box-shadow: none; overflow: visible; border: 0; }
  .allergen-karten { display: none !important; }
  table.allergene { font-size: 9pt; }
  .allergene thead th { position: static; background: #ddd !important; color: #000 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .punkt { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .fusszeile { background: #fff; color: #000; padding: 1rem 0; }
}
