/* === Design Tokens === */
:root {
  --color-primary: #8f1f29;
  --color-primary-dark: #6e161e;
  --color-primary-light: #b53342;
  --color-accent: #f4c50f;
  --color-black: #1a1a1a;
  --color-white: #ffffff;
  --color-grey-light: #f6f2f0;
  --color-grey: #6b6360;
  --font-display: 'Anton', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container-width: 1140px;
  --radius: 4px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* Horizontales Scrollen blockieren (clip statt hidden, damit position:sticky funktioniert) */
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--color-black);
  background: var(--color-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--color-primary);
}
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p { margin-bottom: 1em; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* === Buttons === */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1rem;
  padding: 0.9em 1.8em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--color-primary); color: var(--color-white); }
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--color-white); border-color: var(--color-white); }
.btn-outline:hover { background: var(--color-white); color: var(--color-primary); }
.btn-accent { background: var(--color-accent); color: var(--color-black); }
.btn-accent:hover { background: #ffd633; transform: translateY(-2px); }

/* === Hexagon utility (recurring brand motif) === */
.hex {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  background: var(--color-white);
  border-bottom: 3px solid var(--color-primary);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
  position: relative;
}
.logo-link { display: flex; align-items: center; gap: 0.6rem; }
.logo-img { width: 42px; height: 42px; }
.logo-text {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 1.1;
  color: var(--color-primary);
}
.logo-text-sub { display: block; font-size: 0.65rem; color: var(--color-black); letter-spacing: 0.15em; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-bottom: 3px solid var(--color-primary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.site-nav.is-open { max-height: 300px; }
.site-nav ul { display: flex; flex-direction: column; padding: 1rem 1.25rem; gap: 0.25rem; }
.site-nav a {
  display: block;
  padding: 0.75rem 0.5rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--color-grey-light);
}
.site-nav a.active { color: var(--color-primary); }
.site-nav a.nav-cta {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius);
  text-align: center;
  border-bottom: none;
  margin-top: 0.5rem;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    max-height: none;
    overflow: visible;
    border-bottom: none;
  }
  .site-nav ul { flex-direction: row; align-items: center; gap: 1.75rem; }
  .site-nav a { border-bottom: none; padding: 0.5rem 0; }
  .site-nav a.nav-cta { padding: 0.6em 1.4em; }
}

/* === Footer === */
.site-footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding-block: 3rem 1.5rem;
  margin-top: 4rem;
}
.footer-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.footer-logo { width: 56px; margin-bottom: 0.75rem; }
.site-footer h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}
.site-footer a:hover { text-decoration: underline; }
.footer-nav ul { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-copy {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.25);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}
@media (min-width: 700px) {
  .footer-inner { grid-template-columns: repeat(4, 1fr); }
}
.footer-legal { text-align: center; margin-top: 0.75rem; font-size: 0.85rem; }
.footer-legal a { color: rgba(255,255,255,0.85); }
.footer-legal a:hover { color: var(--color-white); text-decoration: underline; }
.footer-legal span { margin: 0 0.5em; color: rgba(255,255,255,0.5); }

/* === Section utilities === */
.section { padding-block: 3.5rem; }
.section-alt { background: var(--color-grey-light); }
.section-dark { background: var(--color-primary); color: var(--color-white); }
.section-dark h2, .section-dark h3 { color: var(--color-white); }

/* === Hero (Start page) === */
.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(26,10,12,0.88) 0%, rgba(26,10,12,0.35) 55%, rgba(26,10,12,0.15) 100%);
}
.hero-content { position: relative; color: var(--color-white); padding-bottom: 3rem; }
.hero-content h1 { color: var(--color-white); margin-bottom: 1rem; }
.hero-lead { max-width: 42ch; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }

/* === Liefergebiet teaser (Start page) === */
.liefergebiet-teaser { display: grid; gap: 2rem; align-items: center; }
.map-preview-wrap { position: relative; }
.map-preview { height: 240px; border-radius: var(--radius); overflow: hidden; pointer-events: none; }
.map-preview-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: 1rem; }
.map-preview-badge {
  background: var(--color-primary); color: var(--color-white);
  font-family: var(--font-display); text-transform: uppercase; font-size: 0.85rem;
  padding: 0.5em 1em; border-radius: var(--radius);
}
@media (min-width: 900px) {
  .liefergebiet-teaser { grid-template-columns: 1fr 1fr; }
}

/* === Marken (brand overview) === */
.marken-hinweis { color: var(--color-grey); margin-bottom: 1.25rem; }
.marken-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.marken-kachel {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.75rem; padding: 1.25rem 1rem; min-width: 0;
  border: 1px solid var(--color-grey-light); border-radius: var(--radius);
  text-decoration: none; color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.marken-kachel img { height: 56px; width: auto; max-width: 100%; object-fit: contain; }
.marken-kachel span {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.02em;
  font-size: 0.85rem; text-align: center;
}
.marken-kachel:hover, .marken-kachel:focus-visible {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: 0 6px 18px rgba(26, 10, 12, 0.12);
}
@media (min-width: 700px) { .marken-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .marken-grid { grid-template-columns: repeat(6, 1fr); } }

/* === CTA strip === */
.cta-strip-inner { text-align: center; }
.cta-strip-inner p { max-width: 50ch; margin-inline: auto; }

/* === Page header with background image (reused by Sortiment and Über uns) === */
.page-header { position: relative; min-height: 46vh; display: flex; align-items: flex-end; overflow: hidden; }
.page-header-media { position: absolute; inset: 0; }
.page-header-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.page-header-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(26,10,12,0.85) 10%, rgba(26,10,12,0.2) 100%);
}
.page-header-content { position: relative; color: var(--color-white); padding-bottom: 2.5rem; }
.page-header-content h1 { color: var(--color-white); }

/* === Gebinde cards (Sortiment page) === */
.gebinde-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.gebinde-card {
  background: var(--color-grey-light); border-radius: var(--radius); padding: 1.5rem;
  border-top: 4px solid var(--color-primary);
}
.gebinde-card-accent { border-top-color: var(--color-accent); background: #fff8e0; }
.gebinde-card h3 { margin-bottom: 0.4rem; font-size: 1.15rem; }
.pfand {
  display: inline-block; font-family: var(--font-display); font-size: 0.8rem;
  color: var(--color-primary); text-transform: uppercase; margin-bottom: 0.6rem;
}
.gebinde-hex {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: 0.75rem;
  background: var(--color-primary); color: var(--color-white);
  font-family: var(--font-display); font-size: 0.75rem; text-transform: uppercase;
  text-align: center; padding: 0.5rem;
}
.gebinde-card-accent .gebinde-hex { background: var(--color-accent); color: var(--color-black); }
.gebinde-hinweis { margin-bottom: 1rem; color: var(--color-grey-dark); font-size: 0.9rem; }
.gebinde-card[data-kategorie] { cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.gebinde-card[data-kategorie]:hover, .gebinde-card[data-kategorie]:focus-visible {
  transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); outline: none;
}
.gebinde-card-active { border-top-color: var(--color-accent); box-shadow: 0 8px 20px rgba(0,0,0,0.14); }
@media (min-width: 640px) { .gebinde-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gebinde-grid { grid-template-columns: repeat(3, 1fr); } }

/* === Katalog-Filter (Sortiment page) === */
.katalog-filter-status {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem;
  font-family: var(--font-display); text-transform: uppercase; font-size: 0.9rem;
}
.katalog-filter-status .btn { padding: 0.4em 1em; font-size: 0.8rem; }
/* scroll-margin, damit die Marken-Sprungziele nicht hinter dem Sticky-Header
   landen. Der ist 69px hoch, ab 900px durch die einzeilige Navigation 111px. */
.produkt-marke { margin-top: 2rem; scroll-margin-top: 85px; }
@media (min-width: 900px) {
  .produkt-marke { scroll-margin-top: 125px; }
}
.produkt-marke:first-child { margin-top: 0; }
.produkt-marke-logo img { height: 40px; display: block; }
.produkt-gebinde { margin-bottom: 0.75rem; color: var(--color-grey-dark); text-transform: uppercase; font-size: 0.9rem; }

/* === Sorten overview (Sortiment page) === */
.sorten-overview { display: grid; gap: 2rem; }
@media (min-width: 800px) { .sorten-overview { grid-template-columns: 1fr 1fr; } }

/* === Sinconade spotlight (Sortiment page) === */
.sinconade-spotlight { display: grid; gap: 2rem; align-items: center; }
.sinconade-media { display: flex; gap: 1.25rem; justify-content: center; align-items: flex-end; }
.sinconade-media img { border-radius: var(--radius); max-height: 480px; max-width: 46%; object-fit: contain; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.tag-list li {
  background: var(--color-accent); color: var(--color-black); font-family: var(--font-display);
  text-transform: uppercase; font-size: 0.8rem; padding: 0.5em 1em; border-radius: var(--radius);
}
@media (min-width: 800px) { .sinconade-spotlight { grid-template-columns: 1fr 1.4fr; } }

/* === Liefergebiet full map (Über uns page) === */
.liefergebiet-full { display: grid; gap: 2rem; }
.map-full { height: 420px; border-radius: var(--radius); overflow: hidden; }
.adress-block { display: grid; gap: 1.25rem; margin-top: 1.5rem; grid-template-columns: 1fr 1fr; }
.adress-block h3 { font-size: 0.95rem; margin-bottom: 0.3rem; }
@media (min-width: 900px) { .liefergebiet-full { grid-template-columns: 1fr 1.2fr; align-items: start; } }

/* === Kontakt page === */
.page-header-compact { min-height: 0; position: static; background: var(--color-primary); padding-block: 3rem 2rem; }
.page-header-content-static { color: var(--color-white); }
.page-header-content-static h1 { color: var(--color-white); }

.kontakt-grid { display: grid; gap: 2.5rem; }
.kontakt-form { display: grid; gap: 0.9rem; }
.kontakt-form label { font-family: var(--font-display); text-transform: uppercase; font-size: 0.8rem; }
.kontakt-form input, .kontakt-form textarea {
  font-family: var(--font-body); font-size: 1rem; padding: 0.7em 0.9em;
  border: 2px solid var(--color-grey-light); border-radius: var(--radius);
  background: var(--color-white);
}
.kontakt-form input:focus, .kontakt-form textarea:focus {
  outline: none; border-color: var(--color-primary);
}
.kontakt-form button { justify-self: start; margin-top: 0.5rem; }

.form-error { color: var(--color-primary); font-size: 0.9rem; margin-top: 0.5rem; }

.kontakt-direct h2 { margin-bottom: 1rem; }
.kontakt-direct h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.btn-outline-dark { color: var(--color-primary); border-color: var(--color-primary); display: block; margin-bottom: 0.75rem; text-align: center; }
.btn-outline-dark:hover { background: var(--color-primary); color: var(--color-white); }

@media (min-width: 900px) { .kontakt-grid { grid-template-columns: 1.4fr 1fr; } }

/* === Danke page === */
.danke-page { text-align: center; padding-block: 5rem; }
.danke-page .btn { margin-top: 1rem; }

/* === Legal content (Impressum, Datenschutz) === */
.legal-content { max-width: 780px; }
.legal-content h2 { margin-top: 2rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { color: var(--color-black); margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal-content ul { list-style: disc; padding-left: 1.25em; margin-bottom: 1em; }
.legal-content li { margin-bottom: 0.3em; }
.legal-content a { color: var(--color-primary); text-decoration: underline; }

/* Bestellseite */
.bestell-hinweis-box {
  background: #fff8e0;
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
}
.bestell-hinweis-box-saison {
  background: #fdeceb;
  border-left-color: var(--color-primary);
  font-weight: 600;
}
.letzte-bestellung-hinweis { color: var(--color-grey-dark); margin-bottom: 1rem; }

/* === Leergut (Bestellseite) === */
.leergut-wahl { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.25rem; }
.leergut-wahl label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.leergut-zeile {
  border: 1px solid var(--color-grey-light);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  margin-bottom: 0.75rem;
}
.leergut-typ { font-weight: 600; margin-bottom: 0.6rem; }
.leergut-felder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.leergut-feld { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.leergut-feld span {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--color-grey);
  /* Platz für zwei Zeilen, damit die drei Eingabefelder auf einer Linie
     bleiben, auch wenn ein Label auf schmalen Displays umbricht. */
  min-height: 2.4em; line-height: 1.2;
}
.leergut-feld input {
  width: 100%; padding: 0.5rem;
  border: 1px solid var(--color-grey-light); border-radius: var(--radius);
  font-family: inherit; font-size: 1rem;
}
.leergut-fehler { color: var(--color-primary); font-weight: 600; margin-top: 0.75rem; }
.leergut-gespeichert { color: var(--color-primary); font-weight: 600; margin-top: 0.5rem; }
.leergut-zeile-entfernen {
  background: none; border: none; color: var(--color-primary);
  cursor: pointer; font-size: 1.1rem; margin-left: 0.5rem; line-height: 1;
}
/* Buttons im Bestelldetail nebeneinander statt untereinander (btn-outline-dark
   ist sonst display:block) */
.bestell-detail-aktionen { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.75rem; }
.bestell-detail-aktionen .btn { margin-bottom: 0; }
.btn-danger { background: var(--color-primary-dark); color: var(--color-white); }
.btn-danger:hover { background: var(--color-black); transform: translateY(-2px); }
.ausgeliefert-zeile { cursor: pointer; }
.ausgeliefert-zeile:hover { background: var(--color-grey-light); }
/* Adminbereich: Zeile hervorheben, wo die abgeholte Menge von der Ankündigung abweicht */
.leergut-zeile-abweichung { border-color: var(--color-accent); background: #fff8e0; }
.bestell-leergut-zusammenfassung {
  background: var(--color-grey-light);
  border-radius: var(--radius);
  padding: 0.6rem 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.letzte-bestellung-btn { display: inline-block; margin-bottom: 1.5rem; }

.produkt-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
@media (min-width: 640px) { .produkt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .produkt-grid { grid-template-columns: repeat(4, 1fr); } }

.produkt-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-light);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}
.produkt-card img { width: 100%; height: 160px; object-fit: contain; margin-bottom: 0.75rem; }
.produkt-card h4 { font-size: 1rem; margin-bottom: 0.25rem; }

/* Nährwerte (Sortimentseite) */
.produkt-card-nw { cursor: pointer; }
.nw-toggle {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-top: 0.6rem; padding: 0.3rem 0.75rem;
  border: 1px solid var(--color-primary); border-radius: var(--radius);
  background: var(--color-white); color: var(--color-primary);
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
  cursor: pointer;
}
.nw-toggle::before { content: "ⓘ"; font-size: 0.9rem; }
.nw-toggle:hover, .nw-toggle[aria-expanded="true"] { background: var(--color-primary); color: var(--color-white); }
.nw-panel { margin-top: 0.75rem; text-align: left; }
.nw-tabelle { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.nw-tabelle caption { caption-side: top; text-align: left; font-weight: 600; margin-bottom: 0.35rem; }
.nw-tabelle th, .nw-tabelle td { padding: 0.25rem 0; border-bottom: 1px solid var(--color-grey-light); vertical-align: top; }
.nw-tabelle th { text-align: left; font-weight: 400; color: var(--color-grey); }
.nw-tabelle td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nw-hinweis { margin-top: 0.4rem; font-size: 0.75rem; color: var(--color-grey); }

.mengen-stepper { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 0.75rem; }
.mengen-btn {
  width: 2rem; height: 2rem; border-radius: 50%;
  border: 1px solid var(--color-primary); background: var(--color-white);
  color: var(--color-primary); font-size: 1.1rem; line-height: 1; cursor: pointer;
  touch-action: manipulation;
}
.mengen-btn:hover { background: var(--color-primary); color: var(--color-white); }
.mengen-input { width: 3rem; text-align: center; border: 1px solid var(--color-grey-light); border-radius: var(--radius); padding: 0.35rem; }

.warenkorb-leiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--color-primary); color: var(--color-white);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
}
.warenkorb-leiste-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.85rem; gap: 1rem; }

.bestell-overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.bestell-overlay[hidden] {
  display: none;
}
.bestell-overlay-panel {
  position: relative; background: var(--color-white); border-radius: var(--radius);
  max-width: 480px; width: 100%; max-height: 85vh;
  display: flex; flex-direction: column; overflow: hidden;
}
.bestell-overlay-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 2rem 0; flex-shrink: 0;
}
.bestell-overlay-header h2 { margin: 0; }
.bestell-overlay-scroll { overflow-y: auto; padding: 1rem 2rem 2rem; }
.bestell-overlay-close {
  flex-shrink: 0; background: var(--color-grey-light); border: none; border-radius: 50%;
  width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--color-black);
}
.bestell-overlay-close:hover, .bestell-overlay-close:focus-visible { background: var(--color-primary); color: var(--color-white); outline: none; }
.bestell-liste { margin: 1rem 0; padding-left: 1.25rem; }
.bestell-liste li { margin-bottom: 0.35rem; }
.bestell-zeile-entfernen {
  background: none; border: none; color: var(--color-primary);
  cursor: pointer; font-size: 1rem; margin-left: 0.5rem; line-height: 1;
}
.bestell-overlay-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.bestell-kopier-hinweis { margin-top: 0.75rem; font-size: 0.9rem; color: var(--color-primary); }
.bestell-agb-hinweis { color: var(--color-grey); font-size: 0.85rem; margin-top: 0.75rem; }
.bestell-feld-hinweis { margin-top: -0.5rem; font-size: 0.8rem; color: var(--color-grey-dark); }
.warenkorb-gesamt { font-family: var(--font-display); text-transform: uppercase; font-size: 0.9rem; margin-top: 0.5rem; }

/* Kategorie-Filter (Bestellseite) */
.kategorie-chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.kategorie-chip {
  font-family: var(--font-display); text-transform: uppercase; font-size: 0.8rem;
  padding: 0.5em 1em; border-radius: 999px; border: 1px solid var(--color-primary);
  background: var(--color-white); color: var(--color-primary); cursor: pointer;
  white-space: nowrap;
  touch-action: manipulation;
}
.kategorie-chip:hover { background: var(--color-grey-light); }
.kategorie-chip-active { background: var(--color-primary); color: var(--color-white); }

/* Bestellseite – Mobile-Feinschliff */
@media (max-width: 640px) {
  .mengen-btn { width: 2.75rem; height: 2.75rem; font-size: 1.3rem; }
  .mengen-input { width: 3.5rem; padding: 0.5rem; }
  .bestell-overlay-header { padding: 1.25rem 1.25rem 0; }
  .bestell-overlay-scroll { padding: 1rem 1.25rem 1.5rem; }
  .kategorie-chip-list {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    margin-inline: -1.25rem; padding-inline: 1.25rem; padding-bottom: 0.25rem;
  }
  .kategorie-chip { flex: 0 0 auto; }
}

@media (max-width: 420px) {
  .warenkorb-leiste-inner { flex-direction: column; align-items: stretch; gap: 0.6rem; text-align: center; }
  .warenkorb-leiste-inner .btn { width: 100%; }
}

/* Admin-Seite */
.admin-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.admin-table th, .admin-table td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--color-grey-light); }
.admin-table th { font-family: var(--font-display); text-transform: uppercase; font-size: 0.8rem; }
.admin-table td.admin-table-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.admin-table-actions button { font-size: 0.85rem; padding: 0.4em 0.8em; }
.password-field-group { display: flex; gap: 0.5rem; align-items: center; }
.password-field-group input { flex: 1; }

/* Admin-Lieferkalender */
.kalender-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 1rem 0; }
.kalender-monat-label { font-family: var(--font-display); text-transform: uppercase; font-size: 1.1rem; min-width: 12ch; text-align: center; }
.kalender-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; background: var(--color-grey-light); border: 1px solid var(--color-grey-light); }
.kalender-wochentag { background: var(--color-white); padding: 0.5rem; text-align: center; font-family: var(--font-display); text-transform: uppercase; font-size: 0.75rem; color: var(--color-grey-dark); }
.kalender-tag { background: var(--color-white); min-height: 90px; padding: 0.4rem; display: flex; flex-direction: column; gap: 0.25rem; }
.kalender-tag-leer { background: var(--color-grey-light); }
.kalender-tag-heute { box-shadow: inset 0 0 0 2px var(--color-primary); }
.kalender-tag-nummer { font-family: var(--font-display); font-size: 0.85rem; color: var(--color-grey-dark); }
.kalender-bestellung-chip {
  font-size: 0.75rem; text-align: left; background: var(--color-primary); color: var(--color-white);
  border: none; border-radius: var(--radius); padding: 0.25em 0.5em; cursor: pointer;
}
.kalender-bestellung-chip:hover { background: var(--color-black); }
#kalenderOhneDatumListe { list-style: none; padding-left: 0; }
#kalenderOhneDatumListe li { margin-bottom: 0.4rem; }

@media (max-width: 640px) {
  .kalender-tag { min-height: 60px; font-size: 0.85rem; }
}

/* Kisten-Übersicht im Adminbereich */
.kisten-tiles { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0; }
.kisten-tile {
  flex: 1 1 140px; display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  background: var(--color-grey-light); border-radius: var(--radius); padding: 1rem;
}
.kisten-tile-gesamt { background: var(--color-primary); color: var(--color-white); }
.kisten-tile-zahl { font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.kisten-tile-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* === Instagram Zwei-Klick-Platzhalter === */
.instagram-consent {
  background: var(--color-grey-light);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.instagram-consent p {
  max-width: 560px;
  margin: 0 auto 1.25rem;
  color: var(--color-grey);
}
.instagram-consent a { text-decoration: underline; }
