/* welovefoodyummy - oeffentliche Seiten: Startseite, Ranking, Karte, Beitrag, Ueber mich, Kontakt.
   Basis (Farben, Schrift, Kopfzeile, Formulare, Buttons) steht in style.css.

   Signatur: .leader - die gepunktete Fuehrungslinie der Speisekarte zwischen Name und Wert
   (Ranking-Zeilen, Zahlen der Startseite, Ueber-mich-Werte). Sonst bleibt alles ruhig: Flaechen
   neutral, Terracotta nur fuer Auswahl, Rang der Top 3 und die Zahlen, auf die es ankommt. */

:root { --header-h: 68px; }

/* Ein kurzer Einstieg beim Laden: der erste Block der Seite blendet mit leichtem Anheben ein. */
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
main.wrap > :first-child { animation: rise 400ms var(--ease) both; }

.leader {
  flex: 1;
  min-width: 16px;
  height: 0;
  border-bottom: 2px dotted var(--border-strong);
  margin: 0 0 0.3em;
}

/* ---------- Seitenkopf (partials/pageHero.ejs) ---------- */
.page-hero { padding: 56px 0 32px; }
.page-hero .back-link { display: flex; width: fit-content; margin-bottom: 20px; }
.page-hero .eyebrow { display: block; }
.page-hero__title {
  font-size: clamp(2.25rem, 1.5rem + 2.8vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 8px 0 16px;
  max-width: 820px;
}
.page-hero__subtitle { font-size: 1.125rem; line-height: 1.6; color: var(--brown-light); max-width: 40rem; margin: 0; }
.page-hero__note { margin: 12px 0 0; font-size: 0.9375rem; color: var(--muted); }
.page-hero__stats { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 28px 0 0; }
.page-hero__stats > div { display: flex; align-items: baseline; gap: 10px; }
.page-hero__stats dd { margin: 0; order: -1; font-family: var(--serif); font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.page-hero__stats dt { font-size: 0.9375rem; color: var(--brown-light); }

/* ---------- Startseite: Hero ---------- */
/* Hero: gelbes Band ueber die volle Seitenbreite (Schatten + clip-path), Text bleibt in der Inhaltsspalte */
.hero-feature { padding: 56px 0 40px; overflow: hidden; background: var(--hero-bg); color: var(--hero-fg); box-shadow: 0 0 0 100vmax var(--hero-bg); clip-path: inset(0 -100vmax); }
.hero-feature__track { display: flex; transition: transform 500ms var(--ease); }
.hero-feature__slide { flex: 0 0 100%; min-width: 0; visibility: hidden; transition: visibility 0s linear 500ms; }
.hero-feature__slide.is-current { visibility: visible; transition-delay: 0s; }
.hero-feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}
.hero-feature__tags { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-feature__tags .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.hero-feature__title {
  font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.25rem);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 16px 0 20px;
}
.hero-feature__title a { color: var(--hero-fg); }
.hero-feature__title a:hover { text-decoration: none; color: var(--hero-hover); }
.hero-feature .eyebrow { color: var(--hero-muted); }
.hero-feature__deck {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--hero-muted);
  max-width: 34rem;
  margin: 0 0 28px;
}
.hero-feature__meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-feature__meta time { font-size: 0.9375rem; color: var(--hero-muted); }
.hero-feature__photo {
  display: block;
  aspect-ratio: 4 / 5;
  max-height: 600px;
  width: 100%;
  border-radius: 16px;
  border: 3px solid #fff;
  overflow: hidden;
  background: var(--cream-dark);
  justify-self: end;
  position: relative;
  box-shadow: 0 14px 34px rgba(39, 37, 31, 0.28);
}
.hero-feature__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }

.hero-feature__controls { display: flex; align-items: center; gap: 12px; margin: 32px 0 0; }
.hero-feature__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--hero-muted);
  background: transparent;
  color: var(--hero-fg);
  cursor: pointer;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.hero-feature__arrow:hover { background: rgba(255, 255, 255, 0.35); border-color: var(--hero-fg); }
.hero-feature__count { font-size: 0.875rem; color: var(--hero-muted); font-variant-numeric: tabular-nums; min-width: 3.5em; text-align: center; }

/* ---------- Voting ---------- */
.poll-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  margin: 56px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.poll-widget__head { flex-shrink: 0; max-width: 320px; }
.poll-widget__title { margin: 4px 0 0; font-size: 1.375rem; font-weight: 500; }
.poll-widget__form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex-grow: 1; justify-content: flex-end; }
.poll-widget__option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease);
}
.poll-widget__option input { accent-color: var(--terracotta); }
.poll-widget__option:hover { border-color: var(--brown-light); background: var(--cream-dark); }
.poll-widget__form .button { margin: 0; }
.poll-widget__results { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 260px; }
.poll-widget__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 12px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.poll-widget__row.is-your-vote { border-color: var(--terracotta); }
.poll-widget__bar-track { position: absolute; inset: 0; z-index: 0; }
.poll-widget__bar { height: 100%; background: var(--cream-dark); }
.poll-widget__label { position: relative; z-index: 1; font-weight: 500; }
.poll-widget__pct { position: relative; z-index: 1; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.poll-widget__total { margin: 4px 0 0; color: var(--muted); font-size: 0.875rem; }

/* ---------- Startseite: Zahlen ---------- */
.home-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
  margin: 64px 0 0;
  padding: 40px 44px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-small);
}
.home-stats__title { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.1; font-weight: 400; margin: 8px 0 24px; }
.home-stats__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.home-stats__list { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.home-stats__row { display: flex; align-items: baseline; gap: 12px; }
.home-stats__row dt { color: var(--brown-light); font-size: 1rem; }
.home-stats__row dd { margin: 0; font-family: var(--serif); font-size: 2.5rem; line-height: 1; font-variant-numeric: tabular-nums; color: var(--terracotta); }

/* ---------- Startseite: Kategorien ---------- */
.category-index { margin: 0 0 56px; }
.category-index__list { display: flex; flex-wrap: wrap; gap: 8px; }
.category-index__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--brown);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease);
}
.category-index__item .icon { color: var(--muted); transition: color 150ms var(--ease); }
.category-index__item:hover { text-decoration: none; border-color: var(--brown-light); background: var(--white); }
.category-index__item:hover .icon { color: var(--terracotta); }

/* ---------- Beitragsraster ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px 28px;
  padding: 24px 0 80px;
}
.card { display: flex; flex-direction: column; padding: 10px; border-radius: 18px; transition: transform 200ms ease; }
.card:hover { transform: translateY(-2px); }
.card__image-link {
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--cream-dark);
}
.card__image { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__body { padding: 16px 8px 6px; }
.card__meta { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; font-size: 0.875rem; color: var(--muted); }
.card__meta .eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; }
.card__title { font-size: 1.375rem; line-height: 1.25; font-weight: 500; margin: 8px 0; }
.card__title a { color: var(--brown); }
.card__title a:hover { color: var(--terracotta); text-decoration: none; }
.card__excerpt {
  color: var(--brown-light);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__date { font-size: 0.875rem; color: var(--muted); }
.card__more { font-weight: 500; font-size: 0.9375rem; display: inline-flex; align-items: center; gap: 6px; }

.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 48px; }
.pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--brown);
  font-variant-numeric: tabular-nums;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.pagination__page:hover { background: var(--cream-dark); border-color: var(--brown-light); text-decoration: none; }
.pagination__page.is-active { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }

/* ---------- Beitrag ---------- */
.post { padding: 40px 0 72px; max-width: 720px; margin: 0 auto; }
.post__meta-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 16px 0 12px; }
.post__date { display: block; font-size: 0.9375rem; color: var(--muted); }
.post__title { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); line-height: 1.1; letter-spacing: -0.025em; margin: 8px 0 28px; }
.post__gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 32px; }
.post__gallery img { width: 100%; border-radius: 12px; border: 1px solid var(--border); object-fit: cover; aspect-ratio: 4 / 5; }
.post__text { font-size: 1.0625rem; line-height: 1.75; }
.post__text p { margin: 0 0 18px; }
.post__source { margin-top: 28px; }
.post__source a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--brown);
  font-weight: 500;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.post__source a:hover { text-decoration: none; background: var(--cream-dark); border-color: var(--brown-light); }

/* Bewertungsbox im Beitrag (verlinkt aufs Ranking) - interne Verlinkung Beitrag <-> Ranking (SEO)
   und Score direkt sichtbar. */
.post__ranking {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 24px;
  padding: 14px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: border-color 150ms var(--ease);
}
.post__ranking:hover { border-color: var(--terracotta); text-decoration: none; }
.post__ranking-score { font-family: var(--serif); font-size: 1.75rem; line-height: 1; font-weight: 500; color: var(--terracotta); white-space: nowrap; font-variant-numeric: tabular-nums; }
.post__ranking-text { flex: 1 1 200px; font-size: 0.9375rem; }
.post__ranking-cta { font-size: 0.875rem; font-weight: 500; color: var(--terracotta); white-space: nowrap; }

/* ---------- Ranking ---------- */
.ranking-controls {
  background: var(--cream);
  padding: 12px 0 4px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
/* Auf niedrigen Bildschirmen wuerde die mitlaufende Leiste (Suche + Filter) zu viel Platz fressen. */
@media (min-height: 820px) {
  .ranking-controls { position: sticky; top: var(--header-h); z-index: 10; }
}
.ranking-search { padding-bottom: 12px; }
.ranking-search input,
.map-search input {
  width: 100%;
  max-width: 420px;
  font: inherit;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--white);
  color: var(--brown);
  transition: border-color 150ms var(--ease);
}
.ranking-search input:focus,
.map-search input:focus { outline: 2px solid var(--terracotta); outline-offset: 1px; border-color: var(--terracotta); }

/* Filterleisten (Ranking + Karte): gleiche Chips, Auswahl = Tinte als Flaeche */
.ranking-nav,
.map-controls { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 12px; }
.ranking-nav button,
.map-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font: inherit;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--brown);
  cursor: pointer;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease);
}
.ranking-nav button .icon,
.map-filter .icon { color: var(--muted); }
.ranking-nav button:hover,
.map-filter:hover { background: var(--cream-dark); border-color: var(--brown-light); }
.ranking-nav button.is-active,
.map-filter.is-active { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.ranking-nav button.is-active .icon,
.map-filter.is-active .icon { color: inherit; }
.ranking-nav__count { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.ranking-nav button.is-active .ranking-nav__count { color: inherit; opacity: 0.7; }

.ranking-price-filter,
.map-rating-filter { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; max-width: 420px; }
.ranking-price-filter__label,
.map-rating-filter__label { font-weight: 500; font-size: 0.875rem; color: var(--brown-light); white-space: nowrap; }
.ranking-price-filter__slider,
.map-rating-filter__slider { flex: 1; accent-color: var(--terracotta); }
.ranking-price-filter__value,
.map-rating-filter__value { font-weight: 500; font-size: 0.875rem; color: var(--brown); min-width: 4.5em; text-align: right; font-variant-numeric: tabular-nums; }

.ranking-category { padding-top: 48px; scroll-margin-top: calc(var(--header-h) + 120px); }
.ranking-category:first-of-type { padding-top: 24px; }
.ranking-category__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.ranking-category__head .section-title { display: inline-flex; align-items: center; gap: 12px; font-size: 1.75rem; font-weight: 500; margin: 0; }
.ranking-category__head .section-title .icon { color: var(--muted); }
.ranking-category__link { font-weight: 500; font-size: 0.9375rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }

/* Rangliste wie eine Speisekarte: Rang, Name, Fuehrungspunkte, Preis, Bewertung */
.ranking-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.ranking-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-radius: 16px;
  background: var(--white);
  color: var(--brown);
  transition: transform 150ms var(--ease);
}
a.ranking-row:hover { text-decoration: none; }
.ranking-rank {
  flex-shrink: 0;
  width: 2.25rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.ranking-rank--medal { color: var(--brown); }
.ranking-thumb { flex-shrink: 0; width: 56px; height: 56px; border-radius: 8px; border: 1px solid var(--border); object-fit: cover; }
.ranking-info { flex: 0 1 auto; min-width: 0; display: flex; flex-direction: column; }
.ranking-name { font-weight: 500; line-height: 1.35; }
.ranking-row--top1 .ranking-name { font-size: 1.125rem; }
.ranking-meta { font-size: 0.875rem; color: var(--muted); }
.ranking-leader { flex: 1; min-width: 24px; height: 0; border-bottom: 2px dotted var(--border-strong); align-self: center; }
.ranking-price { flex-shrink: 0; font-size: 0.9375rem; color: var(--brown-light); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ranking-score {
  flex-shrink: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--brown);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ranking-score__max { font-family: var(--sans); font-size: 0.75rem; color: var(--muted); margin-left: 2px; }
.ranking-score--stars { font-family: var(--sans); font-size: 0.9375rem; letter-spacing: 2px; color: var(--terracotta); }
.ranking-fav {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
.ranking-fav:hover { background: var(--cream-dark); color: var(--brown); }
.ranking-fav.is-saved { color: var(--terracotta); }
.ranking-fav.is-saved .icon { fill: currentColor; }
/* "Zum Beitrag"-Link steht als eigener Link direkt unter der Zeile (die Zeile selbst ist ein Videolink). */
.ranking-postlink { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin: -4px 12px 4px 0; font-size: 0.8125rem; font-weight: 500; }
.ranking-postlink:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Karte ---------- */
.map-toolbar { padding-bottom: 4px; }
.map-search { padding-bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.map-filter--influencer { padding-left: 6px; }
.map-filter__logo { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.map-filter__logo--placeholder { display: flex; align-items: center; justify-content: center; background: var(--cream-dark); color: var(--muted); }
.map-filter--mypins { margin-left: auto; }
.map-frame { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-float); border: 1px solid var(--border); }
.map-container { width: 100%; height: 70vh; min-height: 420px; background: var(--cream-dark); }
/* "Zu meinem Standort"-Knopf, als Google-Maps-Control gerendert (siehe map.ejs) */
.map-locate-control {
  width: 40px;
  height: 40px;
  margin: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  color: #3a2b22;
  cursor: pointer;
}
.map-locate-control:hover { color: #b24a1b; }
.map-locate-control:disabled { cursor: default; opacity: 0.6; }
.map-locate-control.is-loading svg { animation: map-locate-spin 1s linear infinite; }
@keyframes map-locate-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.map-hint { color: var(--brown-light); font-size: 0.875rem; margin: 16px 0 48px; max-width: 52rem; }
.map-location-notice { background: var(--cream-dark); color: var(--brown); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; font-size: 0.875rem; margin: 12px 0 0; }
.map-legend-influencer { color: #d9a420; }
.map-legend-search { color: #64748b; }

/* Pin-Popup (Google-InfoWindow hat immer einen hellen Hintergrund - daher feste Farben) */
.map-popup { display: flex; flex-direction: column; gap: 6px; min-width: 180px; color: #1f1b16; font-family: var(--sans); }
.map-popup__image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.map-popup__name { font-weight: 600; font-size: 0.9375rem; }
.map-popup__meta { color: #5e554a; font-size: 0.8125rem; }
.map-popup__rating,
.map-popup__price {
  align-self: flex-start;
  font-weight: 500;
  font-size: 0.8125rem;
  color: #1f1b16;
  background: #efe9df;
  padding: 2px 8px;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
}
.map-popup__rating--stars { color: #b24a1b; letter-spacing: 1px; }
.map-popup__price { margin-left: 6px; }
.map-popup__link { font-weight: 500; font-size: 0.875rem; margin-top: 2px; color: #b24a1b; }
.map-popup__save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 6px;
  background: transparent;
  border: 1px solid rgba(31, 27, 22, 0.2);
  border-radius: 8px;
  padding: 4px 10px;
  font: inherit;
  font-weight: 500;
  font-size: 0.8125rem;
  color: #1f1b16;
  cursor: pointer;
}
.map-popup__save .icon { width: 14px; height: 14px; }
.map-popup__save.is-saved { border-color: #b24a1b; color: #b24a1b; }
.map-popup__save.is-saved .icon { fill: currentColor; }
.map-popup--search .map-popup__name::before { content: ""; }
.map-popup__convert {
  display: block;
  margin-top: 6px;
  background: #64748b;
  border: 1px solid #64748b;
  border-radius: 8px;
  padding: 5px 12px;
  font: inherit;
  font-weight: 500;
  font-size: 0.8125rem;
  color: #fff;
  cursor: pointer;
}

/* Business-Suche (Karte, nur Admin/Influencer) */
.business-search { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 6px; }
.business-search__input {
  flex: 1;
  min-width: 220px;
  font: inherit;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--white);
  color: var(--brown);
}
.business-search__input:focus { outline: 2px solid var(--terracotta); outline-offset: 1px; }
.business-search__submit {
  font: inherit;
  font-weight: 500;
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
}
.business-search__submit:disabled { opacity: 0.6; cursor: default; }
.business-search__hint { color: var(--muted); font-size: 0.8125rem; margin: 0 0 16px; }

/* ---------- Ueber mich ---------- */
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: center;
  padding: 56px 0 48px;
}
.about-hero__intro { font-size: 1.125rem; line-height: 1.7; color: var(--brown-light); margin: 0 0 32px; max-width: 36rem; }
.about-hero__follow { font-size: 1.125rem; font-weight: 500; margin: 0 0 12px; }
/* Das Profilbild ist der YouTube-Avatar mit Leuchtring - als Kreis gezeigt und leicht herangezoomt,
   damit der Ring ausserhalb des Ausschnitts liegt. Die Bilddatei selbst bleibt unveraendert. */
.about-hero__photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  justify-self: end;
  background: var(--cream-dark);
}
.about-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.24); }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--brown);
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease);
}
.social-link .icon { color: var(--muted); }
.social-link:hover { text-decoration: none; border-color: var(--brown-light); background: var(--white); }
.social-link:hover .icon { color: var(--terracotta); }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; margin: 0 0 72px; }
.surface { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 28px; }
.about-rating h2 { font-size: 1.5rem; margin: 0 0 12px; }
.about-rating p { margin: 0 0 24px; color: var(--brown-light); }
.scale { display: flex; justify-content: space-between; border-top: 1px solid var(--border-strong); padding-top: 8px; }
.scale span { position: relative; font-family: var(--serif); font-size: 1.25rem; line-height: 1; color: var(--muted); font-variant-numeric: tabular-nums; }
.scale span:first-child,
.scale span:last-child { color: var(--brown); }
.scale span::before { content: ""; position: absolute; left: 50%; top: -9px; width: 1px; height: 8px; background: var(--border-strong); }
.about-stats { margin: 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.about-stats .stat { display: flex; flex-direction: row; align-items: baseline; gap: 12px; }
.about-stats dt { color: var(--brown-light); font-size: 0.9375rem; }
.about-stats dd { margin: 0; font-family: var(--serif); font-size: 1.75rem; line-height: 1; font-variant-numeric: tabular-nums; }

/* Reichweite */
.reach { padding: 0 0 72px; }
.reach__head { max-width: 640px; margin: 0 0 32px; }
.reach__title { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 400; margin: 8px 0 12px; }
.reach__subtitle { margin: 0; color: var(--brown-light); font-size: 1.0625rem; }
.reach__divider { display: flex; align-items: center; gap: 16px; font-size: 0.9375rem; font-weight: 500; color: var(--brown-light); margin: 48px 0 20px; }
.reach__divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.reach__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.reach__kpi { padding: 22px; border-radius: 18px; background: var(--white); }
.reach__kpi-value { display: block; font-family: var(--serif); font-size: 2.5rem; line-height: 1.05; color: var(--terracotta); font-variant-numeric: tabular-nums; }
.reach__kpi-label { display: block; font-size: 0.9375rem; font-weight: 500; color: var(--brown); margin: 4px 0 8px; }
.reach__kpi-breakdown { font-size: 0.8125rem; color: var(--muted); line-height: 1.5; }

.reach__platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reach__platform { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 24px; }
.reach__platform-head { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--brown); }
.reach__platform-badge { width: 40px; height: 40px; padding: 9px; border-radius: 50%; flex-shrink: 0; color: #fff; background: var(--terracotta); }
.reach__platform-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.reach__platform-stat { display: flex; align-items: baseline; gap: 12px; padding: 8px 0; }
.reach__platform-stat-label { font-size: 0.9375rem; color: var(--brown-light); }
.reach__platform-stat-value { font-family: var(--serif); font-size: 1.375rem; line-height: 1; font-variant-numeric: tabular-nums; }
.reach__platform-engagement { display: flex; align-items: baseline; gap: 12px; margin: 8px 0 12px; padding: 8px 0 0; border-top: 1px solid var(--border); }
.reach__platform-engagement-label { font-size: 0.9375rem; color: var(--brown-light); }
.reach__platform-engagement-rate { font-family: var(--serif); font-size: 1.375rem; line-height: 1; color: var(--terracotta); font-variant-numeric: tabular-nums; }
.reach__platform-mini { display: flex; gap: 4px 16px; flex-wrap: wrap; font-size: 0.8125rem; color: var(--muted); }
.reach__platform-mini strong { color: var(--brown); font-weight: 500; font-variant-numeric: tabular-nums; }

.reach__demo { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; align-items: start; }
.reach__demo-col { display: flex; flex-direction: column; gap: 16px; }
.reach__demo-card { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 24px; }
.reach__demo-card h3 { margin: 0 0 16px; font-size: 1.125rem; font-weight: 500; }
.reach__gender-bar { display: flex; gap: 2px; height: 12px; border-radius: 6px; overflow: hidden; margin-bottom: 12px; }
.reach__gender-bar-m { height: 100%; background: var(--gender-male); }
.reach__gender-bar-f { height: 100%; background: var(--gender-female); }
.reach__gender-legend { display: flex; gap: 20px; }
.reach__gender-legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; }
.reach__gender-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; background: var(--gender-male); }
.reach__gender-dot--f { background: var(--gender-female); }
.reach__gender-pct { color: var(--muted); margin-left: 2px; font-variant-numeric: tabular-nums; }
.reach__bar-row { position: relative; border-radius: 8px; overflow: hidden; background: var(--cream-dark); margin-bottom: 6px; }
.reach__bar-row:last-child { margin-bottom: 0; }
.reach__bar-fill { position: absolute; inset: 0; z-index: 0; border-radius: 8px; background: var(--border-strong); }
.reach__bar-row--tint .reach__bar-fill { background: var(--terracotta); }
.reach__bar-content { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; font-size: 0.9375rem; }
.reach__bar-label { font-weight: 500; color: var(--brown); }
.reach__bar-value { color: var(--brown); font-variant-numeric: tabular-nums; }
.reach__bar-row--tint .reach__bar-label,
.reach__bar-row--tint .reach__bar-value { color: var(--on-accent); }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px; align-items: start; margin: 8px 0 72px; }
.contact__info { display: flex; flex-direction: column; gap: 24px; }
.contact__email { display: flex; align-items: center; gap: 16px; color: var(--brown); }
.contact__email:hover { text-decoration: none; }
.contact__email-icon { flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--cream-dark); color: var(--brown-light); }
.contact__email-address { display: block; font-weight: 500; font-size: 1.0625rem; word-break: break-all; margin-top: 2px; }
.contact__email:hover .contact__email-address { color: var(--terracotta); }
.contact__subtitle { font-size: 1.375rem; font-weight: 500; margin: 0 0 16px; }
.contact__form-card { padding: 32px; }
.contact__form-card .form input[type="text"],
.contact__form-card .form textarea { background: var(--cream); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-feature { padding-top: 32px; }
  .hero-feature__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-feature__photo { order: -1; aspect-ratio: 16 / 11; max-height: 420px; justify-self: stretch; }
  .home-stats { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }
  .about-hero { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
  .about-hero__photo { order: -1; max-width: 220px; justify-self: start; }
  .about-grid, .contact, .reach__demo { grid-template-columns: 1fr; }
  .reach__kpis { grid-template-columns: repeat(2, 1fr); }
  .reach__platforms { grid-template-columns: 1fr; }
  .poll-widget { flex-direction: column; align-items: stretch; }
  .poll-widget__form { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .page-hero { padding-top: 32px; }
  .page-hero__title { font-size: 2.25rem; }
  .page-hero__subtitle { font-size: 1.0625rem; }
  .grid { gap: 40px 24px; }
  .surface, .contact__form-card, .reach__platform, .reach__demo-card { padding: 20px; }
  .reach__kpis { grid-template-columns: 1fr; }
  .home-stats__row dd { font-size: 1.75rem; }
  /* Filter einzeilig wischbar statt mehrzeilig - spart Hoehe in der Sticky-Leiste */
  .ranking-nav,
  .map-controls { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ranking-nav::-webkit-scrollbar,
  .map-controls::-webkit-scrollbar { display: none; }
  .ranking-nav button,
  .map-filter { flex-shrink: 0; white-space: nowrap; }
  .map-filter--mypins { margin-left: 0; }
  /* Ranking-Zeilen kompakter; Fuehrungspunkte entfallen, damit der Name Platz hat */
  .ranking-row { padding: 12px 0; gap: 12px; }
  .ranking-rank { width: 1.75rem; font-size: 1.125rem; }
  .ranking-rank--medal { font-size: 1.375rem; }
  .ranking-thumb { width: 44px; height: 44px; }
  .ranking-info { flex: 1; }
  .ranking-leader { display: none; }
  .ranking-name,
  .ranking-row--top1 .ranking-name { font-size: 0.9375rem; overflow-wrap: anywhere; }
  .ranking-score { font-size: 1.25rem; }
  .ranking-fav { width: 28px; height: 28px; }
}
