/* FrischVomHofladen - Komplettes Design System */

/* CSS Custom Properties */
:root {
  /* Farben */
  --clr-forest:    #1a2e1a;   /* Hauptfarbe Navigation, Hero */
  --clr-green:     #7ab648;   /* Akzent, Buttons, CTAs */
  --clr-light:     #a8d87a;   /* Sekundärakzent */
  --clr-harvest:   #e8b840;   /* Verfügbar-Badge, Highlights */
  --clr-bg:        #f4f9ee;   /* Seitenhintergrund */
  --clr-surface:   #ffffff;   /* Karten, Formulare */
  --clr-border:    #d4e8b8;   /* Rahmen */
  --clr-text:      #1a2e1a;   /* Haupttext */
  --clr-muted:     #5a7a4a;   /* Sekundärtext */
  --clr-subtle:    #8aaa7a;   /* Hinweistexte */

  /* Typografie */
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', system-ui, sans-serif;

  /* Schriftgrößen (Mobile-first) */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  1.875rem;  /* 30px */
  --text-4xl:  2.25rem;   /* 36px */

  /* Abstände */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Schatten */
  --shadow-sm: 0 1px 3px rgba(26,46,26,0.08);
  --shadow-md: 0 4px 16px rgba(26,46,26,0.10);
  --shadow-lg: 0 8px 32px rgba(26,46,26,0.12);

  /* Layout */
  --container: 1200px;
  --nav-height: 64px;
}

/* Base Styles (Reset + Body) */
*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-height);
}

img { 
  max-width: 100%; 
  display: block; 
}

a { 
  color: inherit; 
  text-decoration: none; 
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 768px) {
  .container { 
    padding: 0 var(--space-8); 
  }
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3000;
  height: var(--nav-height);
  background: var(--clr-forest);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(122,182,72,0.2);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__logo-text span:first-child {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: white;
}

.nav__logo-text span:last-child {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--clr-light);
  font-style: italic;
}

/* Links (nur Desktop) */
.nav__links {
  display: none;
  gap: var(--space-8);
  list-style: none;
}

@media (min-width: 768px) {
  .nav__links { display: flex; }
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.active { color: white; }

/* Buttons */
.nav__actions {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

/* Hamburger (Mobile) */
.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  background: none;
  border: none;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.2s;
}

@media (min-width: 768px) {
  .nav__burger { display: none; }
  
  /* Desktop login button - smaller style */
  .nav__login {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
    min-height: 36px;
    border-width: 1px;
    color: white;
    border-color: rgba(255,255,255,0.6);
  }
  
  .nav__login:hover {
    border-color: white;
    background: rgba(255,255,255,0.08);
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 2500;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  border-bottom: 1px solid var(--clr-border);
  background: var(--clr-forest);
}

.mobile-menu__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: white;
  border-radius: var(--radius-md);
  transition: background-color 0.2s;
}

.mobile-menu__close:hover {
  background-color: rgba(255,255,255,0.1);
}

.mobile-menu__content {
  padding: var(--space-6);
}

.mobile-menu__links {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8) 0;
}

.mobile-menu__links li {
  margin-bottom: var(--space-4);
}

.mobile-menu__links a {
  display: block;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  color: var(--clr-text);
  text-decoration: none;
  font-size: var(--text-lg);
  font-weight: 500;
  transition: all 0.2s;
}

.mobile-menu__links a:hover,
.mobile-menu__links a.active {
  background: var(--clr-bg);
  color: var(--clr-green);
}

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Mobile menu buttons - fix white on white */
.mobile-menu__actions .btn--outline {
  color: var(--clr-text);
  border-color: var(--clr-border);
  background: transparent;
}

.mobile-menu__actions .btn--outline:hover {
  color: var(--clr-green);
  border-color: var(--clr-green);
  background: rgba(122,182,72,0.08);
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
  min-height: 44px; /* Touch-Target */
}

.btn--primary {
  background: var(--clr-green);
  color: white;
}
.btn--primary:hover { background: #6aa038; }

.btn--outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--outline:hover { border-color: white; background: rgba(255,255,255,0.08); }

.btn--forest {
  background: var(--clr-forest);
  color: white;
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  min-height: 36px;
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn--outline-dark {
  background: transparent;
  color: var(--clr-text);
  border: 1.5px solid var(--clr-border);
}
.btn--outline-dark:hover { border-color: var(--clr-green); color: var(--clr-green); }

.btn--ghost {
  background: transparent;
  color: var(--clr-muted);
  border: none;
  font-size: var(--text-sm);
}
.btn--ghost:hover { color: var(--clr-text); }

/* Hero (Startseite) */
.hero {
  background: var(--clr-forest);
  padding: var(--space-12) 0 0;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-bottom: var(--space-12);
  }
}

.hero__content { 
  padding-bottom: var(--space-8);
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(122,182,72,0.2);
  border: 1px solid rgba(122,182,72,0.3);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--clr-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-green);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.hero__title em {
  font-style: italic;
  color: var(--clr-light);
}

@media (min-width: 768px) {
  .hero__title { font-size: var(--text-4xl); }
}

.hero__sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 440px;
}

/* Suchfeld */
.hero__search {
  margin-bottom: var(--space-8);
}

.hero__search form {
  display: flex;
  gap: var(--space-2);
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

.hero__search-input {
  flex: 1;
  height: 52px;
  padding: 0 var(--space-5);
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: white;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color 0.2s;
}

.hero__search-input::placeholder { color: rgba(255,255,255,0.4); }
.hero__search-input:focus { border-color: var(--clr-green); }

/* Statistiken */
.hero__stats {
  display: flex;
  gap: var(--space-8);
  justify-content: center;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: white;
  line-height: 1;
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  margin-top: var(--space-1);
}

/* Karte im Hero */
.hero__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-lg);
  padding-bottom: 15px;
}

@media (min-width: 768px) {
  .hero__map {
    height: 420px;
  }
}

/* Kategorie-Karten */
.categories {
  padding: var(--space-16) 0;
  background: var(--clr-surface);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: var(--space-2);
}

.section-sub {
  font-size: var(--text-base);
  color: var(--clr-muted);
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .category-grid { grid-template-columns: repeat(6, 1fr); }
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-6) var(--space-4);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--clr-border);
  background: white;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.category-card:hover {
  border-color: var(--clr-green);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.category-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--clr-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.category-card__icon svg {
  width: 28px;
  height: 28px;
}

.category-card__name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text);
  margin-bottom: var(--space-1);
}

.category-card__count {
  font-size: var(--text-xs);
  color: var(--clr-green);
  font-weight: 500;
}

/* Anbieter-Karte (Suchergebnis / Listansicht) */
.anbieter-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--clr-border);
  background: white;
  overflow: hidden;
  transition: all 0.2s;
}

.anbieter-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--clr-green);
  transform: translateY(-2px);
}

.anbieter-card__img {
  height: 160px;
  background: var(--clr-forest);
  object-fit: cover;
  width: 100%;
}

.anbieter-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.anbieter-card__body {
  padding: var(--space-4);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.anbieter-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-2);
}

.anbieter-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1.2;
}

.anbieter-card__distance {
  font-size: var(--text-xs);
  color: var(--clr-muted);
  white-space: nowrap;
  margin-left: var(--space-2);
}

.anbieter-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--clr-muted);
  margin-bottom: var(--space-3);
}

.anbieter-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
}

/* Badge / Tag */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
}

.badge--green {
  background: #eaf3de;
  color: #2a5a1a;
}

.badge--harvest {
  background: #fef3d4;
  color: #7a5a10;
}

.badge--open {
  background: #dcf4dc;
  color: #1a5a1a;
}
.badge--open::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2a9a2a;
}

/* Anbieter-Detailseite */
.anbieter-detail__hero {
  background: var(--clr-forest);
  padding: var(--space-8) 0;
}

.anbieter-detail__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .anbieter-detail__header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.anbieter-detail__img {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
  .anbieter-detail__img {
    width: 280px;
    height: 200px;
    flex-shrink: 0;
  }
}

.anbieter-detail__info { flex: 1; }

.anbieter-detail__typ {
  display: inline-block;
  background: rgba(122,182,72,0.2);
  color: var(--clr-light);
  font-size: var(--text-xs);
  font-weight: 500;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
}

.anbieter-detail__name {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

.anbieter-detail__location {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Content-Bereich */
.anbieter-detail__content {
  padding: var(--space-10) 0;
}

.anbieter-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 1024px) {
  .anbieter-detail__grid {
    grid-template-columns: 1fr 340px;
  }
}

/* Produkt-Kacheln */
.produkt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .produkt-grid { grid-template-columns: repeat(3, 1fr); }
}

.produkt-card {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--clr-border);
  background: white;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.produkt-card--available {
  border-color: #b8e0b8;
  background: #f4fcf4;
}

.produkt-card__name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text);
}

.produkt-card__price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--clr-forest);
}

/* Info-Box (rechte Seite) */
.info-box {
  background: white;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--clr-border);
  padding: var(--space-6);
  position: sticky;
  top: calc(var(--nav-height) + var(--space-4));
}

.info-box__title {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-subtle);
  margin-bottom: var(--space-4);
}

/* Suchseite */
.search-page {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - var(--nav-height));
}

@media (min-width: 1024px) {
  .search-page {
    grid-template-columns: 320px 1fr;
  }
}

/* Filter-Sidebar */
.search-filters {
  background: white;
  border-right: 1.5px solid var(--clr-border);
  padding: var(--space-6);
  overflow-y: auto;
}

/* Mobile: Filter als Drawer */
@media (max-width: 1023px) {
  .search-filters {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 85vw;
    max-width: 360px;
    height: calc(100vh - var(--nav-height));
    z-index: 50;
    transition: left 0.3s ease;
    border-right: none;
    box-shadow: var(--shadow-lg);
  }
  .search-filters.is-open { left: 0; }
}

.filter-group {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--clr-border);
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-label {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-muted);
  margin-bottom: var(--space-3);
}

/* Ergebnis-Bereich */
.search-results {
  display: flex;
  flex-direction: column;
}

.search-toolbar {
  padding: var(--space-4) var(--space-6);
  border-bottom: 1.5px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  gap: var(--space-3);
}

.search-input-wrap {
  flex: 1;
  position: relative;
}

.search-input-wrap input {
  width: 100%;
  height: 44px;
  padding: 0 var(--space-5) 0 var(--space-10);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--clr-border);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  background: var(--clr-bg);
  outline: none;
  transition: border-color 0.2s;
}

.search-input-wrap input:focus {
  border-color: var(--clr-green);
  background: white;
}

.search-input-wrap svg {
  position: absolute;
  left: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--clr-subtle);
}

/* Karte/Liste Toggle */
.view-toggle {
  display: flex;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.view-toggle button {
  padding: var(--space-2) var(--space-3);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--clr-muted);
  transition: all 0.2s;
}

.view-toggle button.active {
  background: var(--clr-forest);
  color: white;
}

/* Ergebnisliste */
.results-grid {
  padding: var(--space-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  overflow-y: auto;
}

@media (min-width: 768px) {
  .results-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Vollbild-Karte */
.results-map {
  flex: 1;
  min-height: 400px;
}

/* Verfügbarkeits-Anzeige */
.verfuegbar {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
}

.verfuegbar--yes { color: #2a7a2a; }
.verfuegbar--no  { color: var(--clr-subtle); }

.verfuegbar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.verfuegbar--yes .verfuegbar__dot {
  background: #2a9a2a;
  box-shadow: 0 0 0 3px rgba(42,154,42,0.2);
}

.verfuegbar--no .verfuegbar__dot { background: #cccccc; }

/* Leaflet Karten-Overrides */
.leaflet-container {
  font-family: var(--font-body) !important;
  border-radius: var(--radius-lg);
}

.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-md) !important;
  border: 1.5px solid var(--clr-border) !important;
  padding: 0 !important;
}

.leaflet-popup-content {
  margin: 0 !important;
  width: 220px !important;
}

.map-popup {
  padding: var(--space-4);
}

.map-popup__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: var(--space-1);
}

.map-popup__meta {
  font-size: var(--text-xs);
  color: var(--clr-muted);
  margin-bottom: var(--space-3);
}

.leaflet-popup-tip-container { display: none; }

/* Suchleiste (sticky) */
.search-bar {
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
  background: white;
  border-bottom: 1.5px solid var(--clr-border);
  padding: var(--space-3) 0;
  box-shadow: var(--shadow-sm);
}

.search-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

@media (min-width: 768px) {
  .search-bar__inner { padding: 0 var(--space-8); }
}

.search-bar__filter-count {
  background: var(--clr-green);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

/* Haupt-Layout */
.search-page {
  display: flex;
  height: calc(100vh - var(--nav-height) - 64px);
  overflow: hidden;
  position: relative;
}

/* Filter Sidebar */
.search-filters {
  width: 300px;
  flex-shrink: 0;
  background: white;
  border-right: 1.5px solid var(--clr-border);
  padding: var(--space-6);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Mobile: Drawer */
@media (max-width: 1023px) {
  .search-filters {
    position: fixed;
    top: 0;
    left: -100%;
    width: min(85vw, 360px);
    height: 100vh;
    z-index: 200;
    transition: left 0.3s cubic-bezier(.4,0,.2,1);
    box-shadow: none;
    border-right: none;
    padding-top: calc(var(--nav-height) + var(--space-4));
  }
  .search-filters.is-open {
    left: 0;
    box-shadow: var(--shadow-lg);
  }
}

@media (min-width: 1024px) {
  .search-bar__filter-btn { display: none; }
}

/* Filter Overlay */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 199;
}
.search-overlay.is-active { display: block; }

/* Filter Header */
.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--clr-border);
}

.filter-header__title {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--clr-text);
}

.filter-header__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--clr-muted);
  padding: var(--space-1);
  display: flex;
}

@media (min-width: 1024px) {
  .filter-header__close { display: none; }
}

/* Filter Chips */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--clr-border);
  font-size: var(--text-sm);
  color: var(--clr-muted);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}

.filter-chip input { display: none; }

.filter-chip:hover {
  border-color: var(--clr-green);
  color: var(--clr-text);
}

.filter-chip:has(input:checked),
.filter-chip.active {
  background: var(--clr-forest);
  border-color: var(--clr-forest);
  color: white;
}

/* Toggle Switch */
.filter-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
}

.filter-toggle input { display: none; }

.filter-toggle__track {
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: var(--clr-border);
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s;
}

.filter-toggle__track::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  top: 3px;
  left: 3px;
  transition: left 0.2s;
  box-shadow: var(--shadow-sm);
}

.filter-toggle input:checked + .filter-toggle__track {
  background: var(--clr-green);
}

.filter-toggle input:checked + .filter-toggle__track::after {
  left: 21px;
}

.filter-toggle__label {
  font-size: var(--text-sm);
  color: var(--clr-text);
}

/* Standort Status */
.filter-location-status {
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  color: var(--clr-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Ergebnis-Bereich */
.search-results {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--clr-bg);
}

.results-header {
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-bottom: 1px solid var(--clr-border);
  flex-shrink: 0;
}

.results-count {
  font-size: var(--text-sm);
  color: var(--clr-muted);
}

.results-count strong {
  color: var(--clr-text);
  font-weight: 500;
}

.results-sort {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.sort-select {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--clr-text);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  background: white;
  outline: none;
  cursor: pointer;
}

/* Aktive Filter Badges */
.active-filters {
  padding: var(--space-3) var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  background: white;
  border-bottom: 1px solid var(--clr-border);
}

.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: #eaf3de;
  color: #2a5a1a;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
}

.active-filter-tag button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: #4a7a2a;
  padding: 0;
}

/* Liste */
.results-list {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-content: start;
}

@media (min-width: 768px) {
  .results-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1280px) {
  .results-list { grid-template-columns: repeat(3, 1fr); }
}

/* Karte (Vollbild) */
.results-map {
  flex: 1;
  overflow: hidden;
}

/* Leer-Zustand */
.results-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--clr-subtle);
  padding: var(--space-12);
}

.results-empty p {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--clr-muted);
}

.results-empty span {
  font-size: var(--text-sm);
  text-align: center;
}

/* Skeleton Loader */
.anbieter-skeleton {
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--clr-border);
  background: white;
  overflow: hidden;
  height: 280px;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  background: linear-gradient(90deg,
    var(--clr-border) 25%,
    #f0f7e8 50%,
    var(--clr-border) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-slide 1.5s infinite;
}

@keyframes skeleton-slide {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Footer */
.footer {
  background: var(--clr-forest);
  color: white;
  padding: var(--space-12) 0 var(--space-8);
  margin-top: var(--space-16);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-section h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: white;
}

.footer-section p {
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: var(--space-2);
}

.footer-section a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--clr-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-6);
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: var(--text-sm);
}

/* Search Page */
.search-hero {
  background: var(--clr-forest);
  color: white;
  padding: var(--space-12) 0;
  text-align: center;
}

.search-hero__content {
  max-width: 600px;
  margin: 0 auto;
}

.search-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.search-hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.search-hero__form {
  max-width: 500px;
  margin: 0 auto;
}

.search-hero__form form {
  display: flex;
  gap: var(--space-3);
}

.search-hero__input {
  flex: 1;
  height: 52px;
  padding: 0 var(--space-5);
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: white;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color 0.2s;
}

.search-hero__input::placeholder { 
  color: rgba(255,255,255,0.4); 
}

.search-hero__input:focus { 
  border-color: var(--clr-green); 
}

.search-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: var(--space-8) 0;
}

@media (min-width: 768px) {
  .search-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
  }
}

.search-sidebar {
  display: block;
  width: 100%;
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .search-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + var(--space-8));
    width: auto;
  }
}

.search-filters {
  background: white;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 50;
}

.search-filters__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: var(--space-6);
}

.filter-group {
  margin-bottom: var(--space-6);
}

.filter-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text);
  margin-bottom: var(--space-3);
}

.filter-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--clr-text);
  background: white;
  outline: none;
  transition: border-color 0.2s;
}

.filter-input:focus {
  border-color: var(--clr-green);
}

.filter-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--clr-text);
  background: white;
  outline: none;
  transition: border-color 0.2s;
  cursor: pointer;
}

.filter-select:focus {
  border-color: var(--clr-green);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--clr-text);
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--clr-green);
}

.location-input-group {
  display: flex;
  gap: var(--space-2);
}

.location-input-group .filter-input {
  flex: 1;
}

.filter-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--clr-border);
}

.search-results {
  min-height: 600px;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--clr-border);
}

.results-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: var(--space-2);
}

.results-count {
  color: var(--clr-muted);
  font-size: var(--text-sm);
  margin: 0;
}

.results-controls {
  display: flex;
  gap: var(--space-4);
  align-items: flex-end;
}

.sort-control {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.view-toggle {
  display: flex;
  gap: var(--space-1);
}

.view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--clr-border);
  background: white;
  color: var(--clr-muted);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.view-btn:hover,
.view-btn.active {
  border-color: var(--clr-green);
  color: var(--clr-green);
  background: rgba(122,182,72,0.08);
}

.results-container {
  margin-bottom: var(--space-8);
}

.anbieter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .anbieter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .anbieter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.anbieter-card {
  background: white;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all 0.2s;
}

.anbieter-card:hover {
  border-color: var(--clr-green);
  box-shadow: var(--shadow-lg);
}

.anbieter-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-4);
}

.anbieter-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--clr-text);
  margin: 0;
}

.anbieter-card__type {
  font-size: var(--text-xs);
  color: var(--clr-muted);
  background: var(--clr-bg);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.anbieter-card__body {
  margin-bottom: var(--space-4);
}

.anbieter-card__location {
  color: var(--clr-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.bio-badge {
  display: inline-block;
  background: rgba(122,182,72,0.2);
  color: var(--clr-green);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
}

.anbieter-card__description {
  color: var(--clr-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin: 0;
}

.anbieter-card__footer {
  text-align: right;
}

.loading-state,
.error-state,
.no-results {
  text-align: center;
  padding: var(--space-16) var(--space-8);
  color: var(--clr-muted);
  font-size: var(--text-lg);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
}

.pagination button {
  padding: var(--space-2) var(--space-4);
  border: 1.5px solid var(--clr-border);
  background: white;
  color: var(--clr-text);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  font-size: var(--text-sm);
}

.pagination button:hover:not(:disabled) {
  border-color: var(--clr-green);
  color: var(--clr-green);
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination button.active {
  background: var(--clr-green);
  color: white;
  border-color: var(--clr-green);
}

/* Product Cards */
.produkte-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .produkte-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .produkte-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.produkt-card {
  background: white;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all 0.2s;
}

.produkt-card:hover {
  border-color: var(--clr-green);
  box-shadow: var(--shadow-lg);
}

.produkt-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-4);
}

.produkt-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--clr-text);
  margin: 0;
}

.produkt-card__price {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--clr-green);
}

.produkt-card__body {
  margin-bottom: var(--space-4);
}

.produkt-card__description {
  color: var(--clr-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.produkt-card__anbieter {
  color: var(--clr-muted);
  font-size: var(--text-sm);
  margin: 0;
}

.produkt-card__footer {
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
}

.results-section {
  margin-bottom: var(--space-8);
}

.results-section__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--clr-border);
}

/* ===== NEW UX DESIGN STYLES ===== */

/* HERO - EXACT FROM MOCKUP */
.hero {
  background: #1a2e1a;
  padding: 28px 20px 32px;
}
.hero-badge { font-size: 10px; color: #a8d87a; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.hero-title { font-size: 22px; font-weight: 700; color: white; line-height: 1.25; margin-bottom: 8px; }
.hero-title em { font-style: italic; color: #a8d87a; }
.hero-sub { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* PRODUKT-WAHL - EXACT FROM MOCKUP */
.produkt-section { padding: 20px 16px; background: #f4f9ee; }
.section-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #8aaa7a; margin-bottom: 12px; }
.produkt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }

.produkt-kachel {
  background: white;
  border: 0.5px solid #d4e8b8;
  border-radius: 12px;
  padding: 10px 4px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.produkt-kachel:hover { border-color: #7ab648; border-width: 1.5px; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(26,46,26,0.1); }
.produkt-kachel.active { border-color: #7ab648; border-width: 1.5px; box-shadow: 0 0 0 3px rgba(122,182,72,0.15); }
.pk-emoji { font-size: 22px; line-height: 1; }
.pk-name { font-size: 10px; font-weight: 500; color: #1a2e1a; }

.divider { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 0.5px; background: #d4e8b8; }
.divider span { font-size: 11px; color: #8aaa7a; }

.ort-suche { display: flex; gap: 8px; margin-bottom: 16px; }
.ort-input {
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border-radius: 22px;
  border: 1px solid #d4e8b8;
  background: white;
  font-size: 12px;
  color: #8aaa7a;
  outline: none;
}
.btn-suchen {
  background: #7ab648;
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 0 18px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.beliebte-label { font-size: 10px; color: #8aaa7a; margin-bottom: 8px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  background: #eaf3de;
  border: 0.5px solid #b8d898;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11px;
  color: #2a5a1a;
  text-decoration: none;
  cursor: pointer;
}

/* Divider */
.produkt-wahl__divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.produkt-wahl__divider::before,
.produkt-wahl__divider::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--clr-border);
}

.produkt-wahl__divider span {
  font-size: var(--text-xs);
  color: var(--clr-subtle);
  white-space: nowrap;
}

/* Ort-Suche Section */
.ort-suche-section {
  margin-bottom: var(--space-8);
}

.ort-suche-label {
  font-size: var(--text-sm);
  color: var(--clr-muted);
  margin-bottom: var(--space-3);
}

.ort-suche {
  display: flex;
  gap: var(--space-2);
}

.ort-suche__input {
  flex: 1;
  height: 44px;
  padding: 0 var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  background: white;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color 0.2s;
}

.ort-suche__input:focus { 
  border-color: var(--clr-green); 
}

/* Beliebte Suchen */
.beliebte-suchen__label {
  font-size: var(--text-xs);
  color: var(--clr-muted);
  margin-bottom: var(--space-3);
}

.beliebte-suchen__tags {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  background: #eaf3de;
  border: 0.5px solid #b8d898;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: #2a5a1a;
  text-decoration: none;
  transition: background 0.15s;
}

.tag:hover { 
  background: #d4e8b8; 
}

/* Search Bar */
.search-bar {
  background: white;
  border-bottom: 0.5px solid var(--clr-border);
  padding: var(--space-3) 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.search-bar__inner {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.search-input-wrap {
  flex: 1;
  position: relative;
}

.search-bar input {
  width: 100%;
  height: 38px;
  padding: 0 var(--space-4) 0 var(--space-10);
  border-radius: var(--radius-full);
  border: 0.5px solid var(--clr-border);
  background: var(--clr-bg);
  font-size: var(--text-sm);
  color: var(--clr-text);
  outline: none;
  transition: border-color 0.2s;
}

.search-bar input:focus {
  border-color: var(--clr-green);
}

.search-bar svg {
  position: absolute;
  left: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
}

.view-toggle {
  display: flex;
  border: 0.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.view-toggle button {
  padding: var(--space-2) var(--space-3);
  background: white;
  border: none;
  cursor: pointer;
  color: var(--clr-muted);
  font-size: var(--text-xs);
  font-weight: 500;
  transition: all 0.15s;
}

.view-toggle button.active {
  background: var(--clr-forest);
  color: white;
}

/* Results Header */
.results-header {
  padding: var(--space-4) 0 0;
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  justify-content: space-between;
}

.results-header__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--clr-text);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.results-header__emoji { 
  font-size: var(--text-2xl); 
}

.results-header__count {
  font-size: var(--text-sm);
  color: var(--clr-muted);
  white-space: nowrap;
}

/* Filter Pills */
.filter-pills {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-3) 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-pills::-webkit-scrollbar { 
  display: none; 
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid var(--clr-border);
  background: white;
  color: var(--clr-muted);
  transition: all 0.15s;
  min-height: 36px;
}

.pill:hover { 
  border-color: var(--clr-green); 
  color: var(--clr-text); 
}

.pill--active {
  background: var(--clr-forest);
  border-color: var(--clr-forest);
  color: white;
}

/* Anbieter-Karte */
.anbieter-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 0.5px solid var(--clr-border);
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: all 0.15s;
  margin-bottom: var(--space-3);
}

.anbieter-card:hover {
  border-color: var(--clr-green);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.anbieter-card--unavailable { 
  opacity: 0.5; 
  pointer-events: none; 
}

.anbieter-card__main {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4);
  align-items: center;
}

.anbieter-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--clr-forest);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
}

.anbieter-card__body { 
  flex: 1; 
  min-width: 0; 
}

.anbieter-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
}

.anbieter-card__name {
  font-weight: 500;
  font-size: var(--text-base);
  color: var(--clr-text);
}

.anbieter-card__distanz {
  font-size: var(--text-xs);
  color: var(--clr-muted);
  white-space: nowrap;
}

.anbieter-card__meta {
  font-size: var(--text-xs);
  color: var(--clr-muted);
  margin-bottom: var(--space-2);
}

.anbieter-card__verfuegbar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.verfuegbar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 500;
}

.verfuegbar--yes {
  background: #dcf4dc;
  color: #1a5a1a;
}

.verfuegbar--no {
  background: #f5f5f5;
  color: #8aaa7a;
}

.verfuegbar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.verfuegbar--yes .verfuegbar__dot { 
  background: #2a9a2a; 
}

.verfuegbar--no .verfuegbar__dot  { 
  background: #ccc; 
}

.anbieter-card__footer {
  border-top: 0.5px solid var(--clr-border);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.anbieter-card__footer-btn {
  padding: var(--space-3);
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--clr-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.anbieter-card__footer-btn:hover { 
  background: var(--clr-bg); 
}

.anbieter-card__footer-btn:last-child { 
  color: var(--clr-text); 
  border-left: 0.5px solid var(--clr-border); 
}

/* Skeleton Loader */
.anbieter-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: var(--radius-lg);
  height: 120px;
  margin-bottom: var(--space-3);
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Error State */
.error-state {
  text-align: center;
  padding: var(--space-8);
  color: var(--clr-muted);
}

/* Map Popup */
.map-popup {
  font-size: var(--text-sm);
}

.map-popup__name {
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--space-1);
}

.map-popup__meta {
  color: var(--clr-muted);
  margin-bottom: var(--space-1);
}

.map-popup__status {
  font-size: var(--text-xs);
  margin-bottom: var(--space-2);
}

/* ===== COMPLETE CSS FROM MOCKUP_REFERENZ.HTML ===== */

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, sans-serif; background: #f0f0f0; padding: 24px; color: #1a2e1a; }
h1 { font-size: 14px; font-weight: 600; color: #555; margin-bottom: 4px; }
p.desc { font-size: 12px; color: #888; margin-bottom: 16px; }

.screens { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }

.screen-wrap { flex: 1; min-width: 300px; max-width: 380px; }
.screen-label { font-size: 11px; font-weight: 600; color: #555; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.screen-note  { font-size: 11px; color: #888; margin-bottom: 10px; line-height: 1.5; }

/* Screen Shell */
.screen {
  background: #f4f9ee;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  font-family: system-ui, sans-serif;
}

/* NAV */
.nav {
  background: #1a2e1a;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { color: white; font-size: 14px; font-weight: 600; line-height: 1.2; }
.nav-logo small { display: block; font-size: 10px; color: #a8d87a; font-weight: 400; font-style: italic; }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.nav-link { font-size: 11px; color: rgba(255,255,255,0.6); }
.btn-reg { background: #7ab648; color: white; font-size: 10px; padding: 5px 12px; border-radius: 20px; border: none; cursor: pointer; }

/* HERO */
.hero {
  background: #1a2e1a;
  padding: 28px 20px 32px;
}
.hero-badge { font-size: 10px; color: #a8d87a; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.hero-title { font-size: 22px; font-weight: 700; color: white; line-height: 1.25; margin-bottom: 8px; }
.hero-title em { font-style: italic; color: #a8d87a; }
.hero-sub { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* PRODUKT-WAHL */
.produkt-section { padding: 20px 16px; background: #f4f9ee; }
.section-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #8aaa7a; margin-bottom: 12px; }
.produkt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }

.produkt-kachel {
  background: white;
  border: 0.5px solid #d4e8b8;
  border-radius: 12px;
  padding: 10px 4px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.produkt-kachel:hover { border-color: #7ab648; border-width: 1.5px; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(26,46,26,0.1); }
.produkt-kachel.active { border-color: #7ab648; border-width: 1.5px; box-shadow: 0 0 0 3px rgba(122,182,72,0.15); }
.pk-emoji { font-size: 22px; line-height: 1; }
.pk-name { font-size: 10px; font-weight: 500; color: #1a2e1a; }

.divider { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 0.5px; background: #d4e8b8; }
.divider span { font-size: 11px; color: #8aaa7a; }

.ort-suche { display: flex; gap: 8px; margin-bottom: 16px; }
.ort-input {
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border-radius: 22px;
  border: 1px solid #d4e8b8;
  background: white;
  font-size: 12px;
  color: #8aaa7a;
  outline: none;
}
.btn-suchen {
  background: #7ab648;
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 0 18px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.beliebte-label { font-size: 10px; color: #8aaa7a; margin-bottom: 8px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  background: #eaf3de;
  border: 0.5px solid #b8d898;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11px;
  color: #2a5a1a;
  text-decoration: none;
  cursor: pointer;
}

/* SEARCH BAR */
.search-bar {
  background: white;
  border-bottom: 0.5px solid #d4e8b8;
  padding: 10px 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.search-input-wrap { flex: 1; position: relative; }
.search-input {
  width: 100%;
  height: 38px;
  padding: 0 14px 0 36px;
  border-radius: 19px;
  border: 0.5px solid #d4e8b8;
  background: #f4f9ee;
  font-size: 12px;
  color: #8aaa7a;
  outline: none;
}
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); }
.view-toggle { display: flex; border: 0.5px solid #d4e8b8; border-radius: 8px; overflow: hidden; }
.vt-btn { padding: 8px 10px; background: white; border: none; cursor: pointer; color: #8aaa7a; font-size: 11px; }
.vt-btn.active { background: #1a2e1a; color: white; }

/* RESULTS HEADER */
.results-hdr { padding: 14px 16px 0; display: flex; justify-content: space-between; align-items: baseline; }
.results-title { font-size: 16px; font-weight: 700; color: #1a2e1a; display: flex; align-items: center; gap: 6px; }
.results-count { font-size: 11px; color: #8aaa7a; }

/* FILTER PILLS */
.filter-pills { display: flex; gap: 6px; padding: 10px 16px; overflow-x: auto; }
.filter-pills::-webkit-scrollbar { display: none; }
.pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  border: 0.5px solid #d4e8b8;
  background: white;
  color: #5a7a4a;
}
.pill.active { background: #1a2e1a; border-color: #1a2e1a; color: white; }

/* ANBIETER KARTE */
.results-list { padding: 8px 16px 16px; display: flex; flex-direction: column; gap: 8px; }

.anbieter-card {
  background: white;
  border-radius: 14px;
  border: 0.5px solid #d4e8b8;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: all 0.15s;
}
.anbieter-card:hover { border-color: #7ab648; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,46,26,0.1); }
.anbieter-card.featured { border-color: #7ab648; border-width: 1.5px; }
.anbieter-card.unavailable { opacity: 0.5; }

.ac-main { display: flex; gap: 12px; padding: 14px; align-items: center; }
.ac-icon {
  width: 50px; height: 50px;
  border-radius: 10px;
  background: #2d4a1e;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.ac-body { flex: 1; min-width: 0; }
.ac-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2px; }
.ac-name { font-size: 14px; font-weight: 600; color: #1a2e1a; }
.ac-dist { font-size: 11px; color: #8aaa7a; }
.ac-meta { font-size: 11px; color: #8aaa7a; margin-bottom: 6px; }
.ac-badges { display: flex; gap: 6px; align-items: center; }
.badge-avail { display: flex; align-items: center; gap: 4px; background: #dcf4dc; padding: 3px 8px; border-radius: 10px; font-size: 10px; color: #1a5a1a; font-weight: 500; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: #2a9a2a; }
.dot-gray { background: #ccc; }
.badge-bio { background: #faeeda; padding: 3px 8px; border-radius: 10px; font-size: 10px; color: #7a5a10; font-weight: 500; }
.badge-na { display: flex; align-items: center; gap: 4px; font-size: 10px; color: #8aaa7a; }
.ac-footer { border-top: 0.5px solid #d4e8b8; display: grid; grid-template-columns: 1fr 1fr; }
.ac-footer-btn { padding: 10px; text-align: center; font-size: 11px; font-weight: 500; color: #8aaa7a; background: none; border: none; cursor: pointer; }
.ac-footer-btn:last-child { color: #1a2e1a; border-left: 0.5px solid #d4e8b8; }

/* BREADCRUMB */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 11px;
  background: white;
  border-bottom: 0.5px solid #d4e8b8;
}

/* PRODUKT-AUSWAHL */
.produkt-auswahl {
  background: white;
  border-bottom: 0.5px solid #d4e8b8;
}
.produkt-auswahl__inner {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.produkt-auswahl__label {
  font-size: 11px;
  color: #8aaa7a;
  font-weight: 500;
  white-space: nowrap;
}
.produkt-auswahl__options {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  flex: 1;
}
.produkt-auswahl__options::-webkit-scrollbar {
  display: none;
}
.produkt-option {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 16px;
  border: 0.5px solid #d4e8b8;
  background: white;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.produkt-option:hover {
  border-color: #7ab648;
  background: #f8fdf4;
}
.produkt-option--active {
  background: #1a2e1a;
  border-color: #1a2e1a;
}
.produkt-option--active .produkt-option__name {
  color: white;
}
.produkt-option--active .produkt-option__emoji {
  filter: brightness(1.2);
}
.produkt-option__emoji {
  font-size: 14px;
  line-height: 1;
}
.produkt-option__name {
  font-size: 11px;
  font-weight: 500;
  color: #1a2e1a;
}
.breadcrumb-link {
  color: #8aaa7a;
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumb-link:hover {
  color: #7ab648;
}
.breadcrumb-separator {
  color: #d4e8b8;
  font-size: 10px;
}
.breadcrumb-current {
  color: #1a2e1a;
  font-weight: 500;
}

/* DETAIL */
.detail-back { padding: 12px 16px; }
.back-link { font-size: 12px; color: #8aaa7a; display: flex; align-items: center; gap: 6px; text-decoration: none; cursor: pointer; }

.detail-hero { background: #2d4a1e; padding: 16px; display: flex; gap: 14px; align-items: flex-end; }
.dh-icon {
  width: 68px; height: 68px;
  border-radius: 14px;
  background: #1a2e1a;
  border: 2px solid rgba(122,182,72,0.3);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.dh-typ { font-size: 10px; color: #7ab648; text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 4px; }
.dh-name { font-size: 20px; font-weight: 700; color: white; line-height: 1.2; margin-bottom: 4px; }
.dh-adresse { font-size: 11px; color: rgba(255,255,255,0.5); }

.detail-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 16px; background: white; }
.stat { background: #f4f9ee; border-radius: 8px; padding: 10px 8px; text-align: center; }
.stat.open { background: #dcf4dc; }
.stat-val { display: block; font-size: 16px; font-weight: 600; color: #1a2e1a; }
.stat.open .stat-val { color: #1a5a1a; }
.stat-lbl { font-size: 10px; color: #8aaa7a; }
.stat.open .stat-lbl { color: #2a7a2a; }

.detail-produkte { padding: 16px; }
.dp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dp-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px;
  background: white;
  border: 0.5px solid #d4e8b8;
  border-radius: 8px;
  font-size: 12px; font-weight: 500; color: #1a2e1a;
}
.dp-item.unavailable { opacity: 0.4; font-weight: 400; }
.dp-dot { width: 7px; height: 7px; border-radius: 50%; background: #2a9a2a; }
.dp-dot.off { background: #ccc; }

.detail-ctas { padding: 0 16px 24px; display: flex; flex-direction: column; gap: 8px; }
.cta-primary { background: #1a2e1a; color: #a8d87a; font-size: 14px; font-weight: 500; padding: 14px; text-align: center; border-radius: 12px; border: none; cursor: pointer; }
.cta-secondary { background: white; color: #1a2e1a; font-size: 13px; padding: 12px; text-align: center; border-radius: 12px; border: 0.5px solid #d4e8b8; cursor: pointer; }
