/* ============================================================
   Spreewaldfarm – Haupt-Stylesheet
   Brand-Grün: #2b520a (aus bestehendem Theme) / hell: #9fbf45
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  /* Markenfarben */
  --brand-green:        #2b520a;
  --brand-green-mid:    #3d6e14;
  --brand-green-light:  #9fbf45;
  --brand-green-pale:   #eef4e4;

  /* Hintergründe */
  --bg:                 #ffffff;
  --bg-soft:            #f6f7f3;
  --bg-green-pale:      #eef4e4;

  /* Text */
  --text:               #1f2421;
  --text-muted:         #5b635c;
  --text-light:         #8a9187;

  /* Akzent (CTAs, Angebote) */
  --accent:             #c0392b;
  --accent-dark:        #962d22;

  /* Ränder & Schatten */
  --border:             #dde3d7;
  --border-light:       #eef1ea;
  --shadow-sm:          0 1px 4px rgba(43,82,10,.07);
  --shadow-md:          0 4px 16px rgba(43,82,10,.10);
  --shadow-lg:          0 8px 32px rgba(43,82,10,.13);

  /* Radien */
  --radius:             10px;
  --radius-sm:          6px;
  --radius-lg:          16px;
  --radius-pill:        999px;

  /* Typografie */
  --font-sans:          'Outfit', system-ui, -apple-system, sans-serif;
  --font-display:       'Outfit', system-ui, -apple-system, sans-serif;

  /* Abstände */
  --space-section:      clamp(3rem, 6vw, 5rem);
}

/* ── Dark Theme ─────────────────────────────────────────────── */
[data-theme="dark"] {
  --brand-green:        #5a9e28;
  --brand-green-mid:    #6db832;
  --brand-green-light:  #9fbf45;
  --brand-green-pale:   #1a2612;

  --bg:                 #111a0c;
  --bg-soft:            #182010;
  --bg-green-pale:      #1a2612;

  --text:               #ddeacc;
  --text-muted:         #7a9460;
  --text-light:         #5a7040;

  --accent:             #e05a4a;
  --accent-dark:        #c0392b;

  --border:             #2a3d1a;
  --border-light:       #233016;
  --shadow-sm:          0 1px 4px rgba(0,0,0,.3);
  --shadow-md:          0 4px 16px rgba(0,0,0,.4);
  --shadow-lg:          0 8px 32px rgba(0,0,0,.5);

  color-scheme: dark;
}

/* View Transition – kreisförmige Enthüllung */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: .55s;
  animation-timing-function: cubic-bezier(.4, 0, .2, 1);
}
::view-transition-old(root) {
  animation-name: vt-fade-out;
}
::view-transition-new(root) {
  animation-name: vt-circle-in;
}
@keyframes vt-circle-in {
  from { clip-path: circle(0% at var(--vt-x, 95%) var(--vt-y, 5%)); }
  to   { clip-path: circle(150% at var(--vt-x, 95%) var(--vt-y, 5%)); }
}
@keyframes vt-fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-green); text-decoration: none; }
a:hover { color: var(--brand-green-mid); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typografie ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; max-width: 70ch; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── Layout-Utilities ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.container--narrow { max-width: 800px; }
.container--wide   { max-width: 1440px; }

.section { padding-block: var(--space-section); }
.section--soft { background: var(--bg-soft); }
.section--green-pale { background: var(--bg-green-pale); }
.section--dark { background: var(--brand-green); color: #fff; }

.section__header {
  margin-bottom: 2.5rem;
}
.section__header--center { text-align: center; }
.section__header h2 { margin-bottom: .5rem; }
.section__header p { color: var(--text-muted); }

/* Grid-Layouts */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .1s;
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary {
  background: var(--brand-green);
  color: #fff;
  border-color: var(--brand-green);
}
.btn-primary:hover {
  background: var(--brand-green-mid);
  border-color: var(--brand-green-mid);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--brand-green);
  border-color: var(--brand-green);
}
.btn-outline:hover {
  background: var(--brand-green);
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
  color: #fff;
}

.btn-sm { padding: .45rem 1rem; font-size: .85rem; }
.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }

/* ── Header / Navigation ────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.site-logo img {
  height: 46px;
  width: auto;
}
.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-logo__name {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--brand-green-mid);
  letter-spacing: -.02em;
}
.site-logo__tagline {
  font-size: .7rem;
  color: var(--text-muted);
  font-weight: 400;
}

.main-nav { display: flex; align-items: center; gap: .25rem; }

.main-nav a {
  padding: .45rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: background .15s, color .15s;
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--brand-green-pale);
  color: var(--brand-green);
}

.nav-cta {
  margin-left: .5rem;
  padding: .45rem 1rem !important;
  background: var(--brand-green) !important;
  color: #fff !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--brand-green-mid) !important;
}

/* ── Dropdown-Navigation ─────────────────────────────────────── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown__btn {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .45rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-dropdown__btn svg {
  transition: transform .2s;
  flex-shrink: 0;
}
.nav-dropdown__btn:hover,
.nav-dropdown--open .nav-dropdown__btn {
  background: var(--brand-green-pale);
  color: var(--brand-green);
}
.nav-dropdown--open .nav-dropdown__btn svg {
  transform: rotate(180deg);
}
.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + .35rem);
  left: 0;
  min-width: 210px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: .4rem 0;
  list-style: none;
  margin: 0;
  z-index: 200;
}
.nav-dropdown--open .nav-dropdown__menu {
  display: block;
}
.nav-dropdown__menu a {
  display: block;
  padding: .55rem 1.1rem;
  font-size: .88rem;
  color: var(--text);
  background: none;
  border-radius: 0;
  transition: background .12s, color .12s;
}
.nav-dropdown__menu a:hover {
  background: var(--brand-green-pale);
  color: var(--brand-green);
}

/* ── Mobile Accordion ────────────────────────────────────────── */
.mobile-group__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .85rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.mobile-group__btn svg { transition: transform .2s; flex-shrink: 0; }
.mobile-group__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-group__sub {
  display: none;
  background: var(--bg-soft);
}
.mobile-group__sub.open { display: block; }
.mobile-group__sub a {
  display: block;
  padding: .7rem 2rem;
  font-size: .92rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.mobile-group__sub a:hover { color: var(--brand-green); }

/* ── Theme Toggle ───────────────────────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--brand-green-pale);
  border-color: var(--brand-green);
  color: var(--brand-green);
  transform: rotate(20deg);
}
.theme-toggle__sun  { display: block; }
.theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle__sun  { display: none; }
[data-theme="dark"] .theme-toggle__moon { display: block; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background .15s;
}
.burger:hover { background: var(--bg-soft); }
.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-top: 1px solid var(--border-light);
  padding: 1rem;
  gap: .25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: .6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text);
  transition: background .15s;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--brand-green-pale);
  color: var(--brand-green);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(100dvh - 70px, 680px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--brand-green);
}

.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: .38;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(43,82,10,.88) 0%,
    rgba(43,82,10,.6) 55%,
    rgba(43,82,10,.2) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: 3rem;
  max-width: 620px;
}

.hero__label {
  display: inline-block;
  background: var(--brand-green-light);
  color: #2b520a;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero__sub {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 52ch;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Hero-Hintergrund ist immer (fest) dunkelgrün, unabhängig vom Theme –
   daher feste, statt theme-abhängige Button-Farben für guten Kontrast. */
.hero__actions .btn-primary {
  background: var(--brand-green-light);
  color: #1f3d08;
  border-color: var(--brand-green-light);
}
.hero__actions .btn-primary:hover {
  background: #fff;
  color: #1f3d08;
  border-color: #fff;
}

/* ── Karten ─────────────────────────────────────────────────── */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.card__image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green-light);
  font-size: 3rem;
}

.card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.card__label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--brand-green);
  margin-bottom: .5rem;
}
.card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text);
}
.card__text { font-size: .9rem; color: var(--text-muted); flex: 1; }
.card__price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
  margin-top: .75rem;
}
.card__footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

/* Angebots-Badge */
.badge-offer {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ── Auszeichnungen / Trust-Badges ──────────────────────────── */
.awards-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: center;
}
.award-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  text-align: center;
}
.award-badge img {
  height: 60px;
  width: auto;
  object-fit: contain;
}
.award-badge span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── Filial-Karte ────────────────────────────────────────────── */
.store-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.store-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-green);
  margin-bottom: .75rem;
}
.store-card__info { display: flex; flex-direction: column; gap: .4rem; font-size: .9rem; }
.store-card__info span { display: flex; gap: .5rem; align-items: flex-start; }
.store-card__hours { margin-top: .75rem; font-size: .88rem; white-space: pre-line; color: var(--text-muted); }

/* ── Mittagsangebot ─────────────────────────────────────────── */
.lunch-grid {
  display: grid;
  gap: .75rem;
}
.lunch-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 1.25rem;
  row-gap: .15rem;
  padding: .9rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
}
.lunch-item__day {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-green);
  grid-column: 1 / -1;
}
.lunch-item__name  { font-weight: 600; grid-column: 1; grid-row: 1; }
.lunch-item__sub   { font-size: .75rem; color: var(--text-muted); grid-column: 1; grid-row: 2; }
.lunch-item__price { font-weight: 700; color: var(--accent); white-space: nowrap; grid-column: 2; grid-row: 1; align-self: center; }

/* ── Formulare ───────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.25rem; }
.form-label { font-size: .9rem; font-weight: 600; color: var(--text); }
.form-label .required { color: var(--accent); margin-left: .2rem; }

.form-control {
  width: 100%;
  padding: .65rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color .15s, box-shadow .15s;
  line-height: 1.5;
}
.form-control:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(43,82,10,.12);
}
.form-control::placeholder { color: var(--text-light); }

textarea.form-control { min-height: 130px; resize: vertical; }
select.form-control { appearance: none; cursor: pointer; }

.form-hint { font-size: .82rem; color: var(--text-muted); }
.form-error { font-size: .82rem; color: var(--accent); }

.form-check { display: flex; align-items: flex-start; gap: .6rem; }
.form-check input[type="checkbox"] { margin-top: .2rem; accent-color: var(--brand-green); }
.form-check label { font-size: .9rem; color: var(--text-muted); }

/* ── Alerts / Flash ─────────────────────────────────────────── */
.alert {
  padding: .9rem 1.25rem;
  border-radius: var(--radius);
  font-size: .93rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.alert-success { background: #eef4e4; border: 1px solid #c2d89a; color: #2b520a; }
.alert-error   { background: #fdf0ee; border: 1px solid #e9b0a9; color: #962d22; }
.alert-info    { background: #edf3fb; border: 1px solid #a8c4e8; color: #1a5299; }

[data-theme="dark"] .alert-success { background: #16241a; border-color: #2f4d22; color: #9fbf45; }
[data-theme="dark"] .alert-error   { background: #2a1714; border-color: #5a2e26; color: #e8897c; }
[data-theme="dark"] .alert-info    { background: #11202e; border-color: #244563; color: #7fb1e8; }

/* ── News / Beiträge ────────────────────────────────────────── */
.post-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.post-card:hover { box-shadow: var(--shadow-md); }
.post-card__image { border-radius: var(--radius-sm); aspect-ratio: 3/2; object-fit: cover; }
.post-card__meta { font-size: .8rem; color: var(--text-muted); margin-bottom: .5rem; }
.post-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; color: var(--text); }
.post-card__excerpt { font-size: .9rem; color: var(--text-muted); }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  font-size: .83rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-green); }
.breadcrumb__sep { color: var(--text-light); }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--brand-green);
  color: rgba(255,255,255,.85);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand__logo {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 26ch; }

.footer-col h4 {
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .4rem; }
.footer-col a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  transition: color .15s;
}
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; font-size: .9rem; line-height: 1.8; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }

/* EU-Förderhinweis */
.eu-note {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  font-size: .78rem;
  margin-top: 1rem;
}
.eu-note img { height: 28px; }

/* ── Cookie-Banner ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--text);
  color: rgba(255,255,255,.9);
  padding: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
  transform: translateY(0);
  transition: transform .3s ease;
}
.cookie-banner.hidden { transform: translateY(110%); }
.cookie-banner p { font-size: .88rem; max-width: 70ch; margin: 0; }
.cookie-banner p a { color: var(--brand-green-light); }
.cookie-banner__actions { display: flex; gap: .5rem; flex-shrink: 0; }

/* ── WhatsApp-Floating-Button ───────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  background: #25d366;
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
  font-size: 1.5rem;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
  color: #fff;
}

/* ── Seiteninhalt ────────────────────────────────────────────── */
.page-hero {
  position: relative;
  background: var(--brand-green);
  color: #fff;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
.page-hero h1 { color: #fff; margin-bottom: .5rem; position: relative; z-index: 1; }
.page-hero p  { color: rgba(255,255,255,.85); max-width: 55ch; position: relative; z-index: 1; }

/* Hintergrundbild-Variante */
.page-hero--img {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.page-hero--img .page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.page-hero--img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(20,45,5,.72) 0%, rgba(20,45,5,.45) 60%, rgba(20,45,5,.2) 100%);
  z-index: 0;
}

/* Logo-Variante: Logo zentriert im Hintergrund, Text links davor */
.page-hero--logo .page-hero__bg {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  height: 300px;
  width: auto;
  object-fit: contain;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}
.page-hero--logo .container {
  position: relative;
  z-index: 1;
}

/* ── Prose / Redaktioneller Text ─────────────────────────────── */
.prose h2, .prose h3, .prose h4 { margin-top: 1.75rem; margin-bottom: .6rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose ul li { margin-bottom: .3rem; }
.prose strong { color: var(--text); }
.prose a { color: var(--brand-green); text-decoration: underline; }

/* ── USP-Streifen ────────────────────────────────────────────── */
.usp-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.usp-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--brand-green);
}
.usp-item svg { flex-shrink: 0; }

/* ── Suche ───────────────────────────────────────────────────── */
.search-bar {
  display: flex;
  gap: .5rem;
}
.search-bar .form-control { border-radius: var(--radius-pill); }
.search-bar .btn { flex-shrink: 0; }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination {
  display: flex;
  gap: .4rem;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 .6rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text);
  transition: background .15s, border-color .15s;
}
.pagination a:hover { background: var(--bg-soft); border-color: var(--brand-green); color: var(--brand-green); }
.pagination .active { background: var(--brand-green); border-color: var(--brand-green); color: #fff; }

/* ── Admin-Layout (wird in /admin verwendet) ─────────────────── */
.admin-wrap { display: flex; min-height: 100dvh; }
.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--brand-green);
  color: #fff;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.admin-sidebar__logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  padding: 0 .5rem;
}
.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .8rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
  transition: background .15s, color .15s;
}
.admin-sidebar a:hover,
.admin-sidebar a.active {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.admin-sidebar__section {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.45);
  padding: .75rem .8rem .25rem;
  font-weight: 700;
}

.admin-main { flex: 1; overflow-y: auto; }
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.admin-topbar h1 { font-size: 1.1rem; font-weight: 700; }
.admin-content { padding: 1.5rem; max-width: 1100px; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.admin-table th {
  text-align: left;
  padding: .6rem 1rem;
  border-bottom: 2px solid var(--border);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  white-space: nowrap;
}
.admin-table td {
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table__img { width: 48px; height: 36px; object-fit: cover; border-radius: 4px; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: var(--radius-pill);
}
.status-badge--active  { background: #eef4e4; color: var(--brand-green); }
.status-badge--inactive{ background: #f5f5f5; color: var(--text-muted); }
.status-badge--new     { background: #edf3fb; color: #1a5299; }
.status-badge--done    { background: #eef4e4; color: var(--brand-green); }

.admin-actions { display: flex; gap: .4rem; align-items: center; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .admin-sidebar { width: 200px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .burger    { display: flex; }

  .hero__content { max-width: 100%; }

  .post-card { grid-template-columns: 1fr; }
  .post-card__image { width: 100%; }

  .admin-wrap { flex-direction: column; }
  .admin-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; padding: .75rem; gap: .5rem 1rem; }
  .admin-sidebar__logo { width: 100%; }
  .admin-sidebar__section { display: none; }
  .admin-sidebar a { font-size: .82rem; padding: .4rem .6rem; }
  .admin-topbar { padding: .75rem 1rem; }
  .admin-content { padding: 1rem; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Reduced Motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ── Print ────────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .cookie-banner, .whatsapp-fab { display: none; }
  body { color: #000; }
  a { color: #000; }
}
