/*
Theme Name:  AutomatenFinder
Theme URI:   https://automaten-finder.de
Author:      Jürgens Internetlösungen
Author URI:  https://localmates.de
Description: Regionales Portal für Verkaufsautomaten – Grillfleisch, Eier, Milch, Honig und mehr. SEO-optimiert, CPT-basierte Stadtlandingpages, Freemium-Modell und strukturierte Daten.
Version:     1.6.1
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      8.0
License:     Proprietary
Text Domain: automaten-finder
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand */
  --cg:           #8DBB3E;
  --cg-h:         #A4C95A;
  --cg-d:         #6E922E;

  /* Backgrounds – Warm Dark Green */
  --bg:           #0F1A12;
  --bg2:          #152019;
  --bg3:          #1B2A1E;
  --bgh:          #223327;

  /* Text – leicht warm-grünlich */
  --t1:           #F2F5F1;
  --t2:           #D0D9D1;
  --t3:           #8FA490;
  --t4:           #5E7262;

  /* Borders – sichtbarer, warm-grün */
  --bd:           #273C2B;
  --bd2:          #344F39;

  /* Accent */
  --gold:         #C9A227;
  --gold-l:       #E8C44A;
  --pink:         #D64F8B;

  /* Fonts */
  --fh:           'Poppins', 'Segoe UI', sans-serif;
  --fb:           'Inter', 'Helvetica Neue', sans-serif;

  /* Layout */
  --mw:           1200px;
  --r:            10px;
  --r-lg:         16px;
  --r-xl:         24px;
  --tr:           .22s ease;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  font-weight: 400;
  background: var(--bg);
  color: var(--t1);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: var(--cg); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--cg-h); }
ul, ol { list-style: none; }
button { font-family: var(--fb); }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--fh);
  font-weight: 700;
  line-height: 1.2;
  color: var(--t1);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { width: 100%; max-width: var(--mw); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt  { background: var(--bg2); }
.section--dark { background: var(--bg); }

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.eyebrow {
  display: inline-block;
  font-family: var(--fb);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--cg);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--fh);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--t1);
  margin-bottom: 10px;
}
.section-sub {
  font-size: 1rem;
  color: var(--t3);
  margin-bottom: 48px;
  line-height: 1.6;
}
.highlight { color: var(--cg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--fh);
  font-weight: 600;
  font-size: .9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--tr);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary { background: var(--cg); color: #fff; border-color: var(--cg); }
.btn-primary:hover { background: var(--cg-h); border-color: var(--cg-h); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(141,187,62,.28); }
.btn-outline { background: transparent; color: var(--cg); border-color: var(--bd2); }
.btn-outline:hover { border-color: var(--cg); color: var(--cg-h); background: rgba(141,187,62,.06); }
.btn-ghost { background: rgba(255,255,255,.05); color: var(--t2); border-color: var(--bd); }
.btn-ghost:hover { background: rgba(255,255,255,.09); color: var(--t1); border-color: var(--bd2); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #a07a14); color: #fff; border-color: var(--gold); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,162,39,.32); color: #fff; }
.btn-lg { padding: 15px 36px; font-size: 1rem; border-radius: 10px; }
.btn-sm { padding: 8px 18px; font-size: .82rem; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 11px; border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.badge-premium { background: rgba(201,162,39,.14); color: var(--gold-l);  border: 1px solid rgba(201,162,39,.24); }
.badge-top     { background: rgba(214,79,139,.14);  color: #e87ab5;        border: 1px solid rgba(214,79,139,.24); }
.badge-free    { background: rgba(141,187,62,.10);  color: var(--cg);      border: 1px solid rgba(141,187,62,.20); }
.badge-new     { background: rgba(141,187,62,.18);  color: var(--cg-h);    border: 1px solid rgba(141,187,62,.30); }
.badge-verified{ background: rgba(30,136,229,.14);  color: #64b5f6;        border: 1px solid rgba(30,136,229,.24); }

/* ============================================================
   HEADER
   ============================================================ */
#af-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(15,26,18,.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bd);
  transition: background var(--tr), box-shadow var(--tr);
}
#af-header.scrolled { background: rgba(15,26,18,.99); box-shadow: 0 4px 32px rgba(0,0,0,.55); }

.header-inner { display: flex; align-items: center; height: 68px; gap: 24px; }

/* Logo */
.af-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--t1); text-decoration: none; }
.af-logo:hover { color: var(--t1); }
/* Custom logo image (via Customizer oder af_logo_url Option) */
.af-logo-img { height: 44px; width: auto; display: block; object-fit: contain; }
.af-logo .custom-logo-link { display: flex; align-items: center; }
.af-logo .custom-logo-link img { height: 44px; width: auto; }
.logo-pin {
  width: 34px; height: 34px; background: var(--cg);
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background var(--tr);
}
.af-logo:hover .logo-pin { background: var(--cg-h); }
.logo-pin-dot { width: 13px; height: 13px; background: var(--bg); border-radius: 50%; transform: rotate(45deg); }
.logo-text { line-height: 1.1; }
.logo-name { display: block; font-family: var(--fh); font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; }
.logo-tag  { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; color: var(--cg); }

/* Nav */
.af-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.af-nav a, .af-nav button {
  font-family: var(--fb); font-size: .875rem; font-weight: 500; color: var(--t2);
  padding: 8px 14px; border-radius: 7px; border: none; background: transparent;
  cursor: pointer; transition: all var(--tr); display: flex; align-items: center; gap: 4px; white-space: nowrap;
}
.af-nav a:hover, .af-nav button:hover { color: var(--t1); background: var(--bgh); }
.af-nav a.current { color: var(--cg); }

.nav-dropdown { position: relative; }
.nav-dropdown-arrow { width: 8px; height: 5px; background: currentColor; clip-path: polygon(0 0,100% 0,50% 100%); display: inline-block; opacity: .4; transition: transform var(--tr); }
.nav-dropdown:hover .nav-dropdown-arrow { transform: rotate(180deg); opacity: .8; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--bg3); border: 1px solid var(--bd2); border-radius: var(--r-lg);
  padding: 8px; min-width: 240px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all var(--tr);
  box-shadow: 0 20px 60px rgba(0,0,0,.65); z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; color: var(--t2); border-radius: 7px;
  font-size: .86rem; font-weight: 400; background: none;
}
.nav-dropdown-menu a:hover { background: var(--bgh); color: var(--cg); }
.nav-dd-icon { font-size: 1.1rem; width: 24px; text-align: center; }
.nav-dd-count { margin-left: auto; font-size: .7rem; color: var(--t4); background: var(--bg2); padding: 2px 7px; border-radius: 999px; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--t2); border-radius: 2px; display: block; transition: all var(--tr); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; background: var(--bg2); border-top: 1px solid var(--bd); padding: 8px 16px 20px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--t2); padding: 12px 8px; border-bottom: 1px solid var(--bd); font-size: .9rem; font-weight: 500; transition: color var(--tr); display: flex; align-items: center; gap: 10px; }
.mobile-nav a:hover { color: var(--cg); }
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav a .kat-svg-icon { flex-shrink: 0; }
.mobile-nav a .kat-svg-icon svg { width: 18px; height: 18px; color: var(--cg); }
.mobile-nav a svg { flex-shrink: 0; color: var(--t4); }
.mobile-nav-actions { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--bd); margin-top: 4px; }
.mobile-nav-actions .btn { justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.af-hero {
  position: relative; min-height: 640px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('http://www.frischespot.de/wp-content/uploads/2026/05/automaten-in-der-naehe.webp');
  background-size: cover; background-position: center 40%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.28) 52%,
    rgba(0,0,0,.0)  100%
  );
}
.hero-content { position: relative; z-index: 2; padding: 100px 0 80px; max-width: 640px; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(141,187,62,.11); border: 1px solid rgba(141,187,62,.22);
  color: var(--cg-h); font-size: .73rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero-pill-dot { width: 6px; height: 6px; background: var(--cg); border-radius: 50%; }

.hero-title {
  font-family: var(--fh); font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.08; letter-spacing: -.02em;
  color: var(--t1); margin-bottom: 18px;
}
.hero-desc { font-size: 1.05rem; color: #b8c4b8; line-height: 1.72; margin-bottom: 36px; max-width: 520px; }

/* Searchbox */
.af-searchbox {
  display: flex; background: rgba(27,42,30,.92);
  border: 1px solid var(--bd2); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: 0 12px 48px rgba(0,0,0,.55);
  margin-bottom: 28px; backdrop-filter: blur(8px);
}
.searchbox-location { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 18px; border-right: 1px solid var(--bd); min-width: 0; }
.searchbox-location svg { color: var(--t4); flex-shrink: 0; }
.searchbox-location input { width: 100%; background: none; border: none; outline: none; font-family: var(--fb); font-size: .93rem; color: var(--t1); padding: 16px 0; }
.searchbox-location input::placeholder { color: var(--t4); }
.searchbox-cat { display: flex; align-items: center; gap: 8px; padding: 0 16px; border-right: 1px solid var(--bd); min-width: 178px; flex-shrink: 0; }
.searchbox-cat svg { color: var(--t4); flex-shrink: 0; }
.searchbox-cat select { width: 100%; background: none; border: none; outline: none; font-family: var(--fb); font-size: .88rem; color: var(--t2); cursor: pointer; padding: 16px 0; }
.searchbox-cat select option { background: var(--bg3); color: var(--t1); }
.searchbox-btn {
  background: var(--cg); color: #fff; border: none; padding: 0 26px;
  font-family: var(--fh); font-weight: 600; font-size: .9rem;
  cursor: pointer; display: flex; align-items: center; gap: 9px;
  transition: background var(--tr); white-space: nowrap;
}
.searchbox-btn:hover { background: var(--cg-h); }

.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: .83rem; font-weight: 500; color: #90a890; }
.trust-item svg { color: var(--cg); flex-shrink: 0; }

/* ============================================================
   STAT BAR
   ============================================================ */
.stat-bar { background: var(--bg2); border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); padding: 20px 0; }
.stat-bar-inner { display: flex; align-items: center; justify-content: space-around; gap: 24px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num { display: block; font-family: var(--fh); font-size: 1.55rem; font-weight: 700; color: var(--cg); line-height: 1.1; }
.stat-label { font-size: .76rem; color: var(--t3); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }

/* ============================================================
   KATEGORIEN
   ============================================================ */
.kat-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; margin-bottom: 32px; }
.kat-card {
  display: block; background: var(--bg3); border: 1px solid var(--bd);
  border-radius: var(--r); padding: 24px 10px 18px; text-align: center;
  text-decoration: none; transition: all var(--tr); cursor: pointer;
}
.kat-card:hover { border-color: var(--cg); background: var(--bgh); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(141,187,62,.10); color: var(--t1); }
.kat-card.active { border-color: var(--cg); background: rgba(141,187,62,.07); }
.kat-icon-wrap {
  width: 52px; height: 52px; background: rgba(141,187,62,.07); border: 1px solid var(--bd2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; transition: all var(--tr);
}
.kat-card:hover .kat-icon-wrap { background: rgba(141,187,62,.14); border-color: rgba(141,187,62,.32); }
.kat-name { display: block; font-family: var(--fh); font-weight: 600; font-size: .86rem; color: var(--t2); margin-bottom: 3px; transition: color var(--tr); }
.kat-card:hover .kat-name { color: var(--t1); }
.kat-count { font-size: .72rem; color: var(--t4); }

/* SVG Icons */
.kat-svg-icon { display: flex; align-items: center; justify-content: center; }
.kat-svg-icon svg { width: 22px; height: 22px; color: var(--cg); }
.ac-img-placeholder .kat-svg-icon svg { width: 48px; height: 48px; color: var(--t4); }
.ac-kat .kat-svg-icon { display: inline-flex; vertical-align: middle; margin-right: 4px; }
.ac-kat .kat-svg-icon svg { width: 13px; height: 13px; color: var(--cg); }
.nav-dd-icon .kat-svg-icon svg { width: 18px; height: 18px; color: var(--t3); }
.nav-dropdown-menu a:hover .kat-svg-icon svg { color: var(--cg); }

/* ============================================================
   AUTOMAT CARD
   ============================================================ */
.automat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.ac {
  background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r-lg);
  overflow: hidden; transition: all var(--tr); display: flex; flex-direction: column; position: relative;
  cursor: pointer;
}
.ac:hover { border-color: var(--bd2); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.35); }
/* Ganzer Card klickbar – Title-Link als Cover */
.ac-title a::after { content:''; position:absolute; inset:0; z-index:0; }
.ac-badges, .ac-body .btn, .ac-body a:not(.ac-title a), .ac-foot .btn { position:relative; z-index:1; }
.ac--premium { border-color: rgba(201,162,39,.28); }
.ac--premium:hover { border-color: var(--gold); box-shadow: 0 12px 40px rgba(201,162,39,.09); }
.ac--top { border-color: rgba(214,79,139,.28); }
.ac--top:hover { border-color: var(--pink); }
.ac-top-ribbon { background: linear-gradient(90deg,rgba(214,79,139,.20),rgba(214,79,139,.03)); border-bottom: 1px solid rgba(214,79,139,.17); color: #e87ab5; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; text-align: center; }
.ac-img { position: relative; height: 200px; background: var(--bg2); overflow: hidden; flex-shrink: 0; }
.ac-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .38s ease; }
.ac:hover .ac-img img { transform: scale(1.05); }
.ac-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.8rem; }
.ac-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.ac-open-dot {
  position: absolute; top: 10px; right: 10px;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(15,26,18,.78); backdrop-filter: blur(6px);
  color: #a8e0a8; font-size: .7rem; font-weight: 600;
  padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(141,187,62,.22);
}
.ac-open-dot::before { content: ''; width: 6px; height: 6px; background: var(--cg); border-radius: 50%; box-shadow: 0 0 6px var(--cg); }
.ac-open-dot.closed { color: #f4a0a0; border-color: rgba(244,80,80,.22); }
.ac-open-dot.closed::before { background: #e05555; box-shadow: 0 0 6px #e05555; }
.ac-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.ac-kat { font-size: .7rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--cg); margin-bottom: 5px; }
.ac-title { font-family: var(--fh); font-size: 1rem; font-weight: 600; color: var(--t1); margin-bottom: 7px; line-height: 1.3; }
.ac-addr { display: flex; align-items: flex-start; gap: 5px; color: var(--t3); font-size: .82rem; margin-bottom: 10px; line-height: 1.4; }
.ac-addr svg { flex-shrink: 0; margin-top: 2px; color: var(--t4); }
.ac-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; flex: 1; }
.ac-tag { background: rgba(141,187,62,.07); color: var(--t3); border: 1px solid var(--bd); font-size: .7rem; font-weight: 500; padding: 3px 9px; border-radius: 999px; }
.ac-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--bd); }
.ac-rating { display: flex; align-items: center; gap: 5px; font-size: .82rem; font-weight: 600; }
.ac-stars { color: var(--gold-l); letter-spacing: -2px; }
.ac-rcount { color: var(--t4); font-weight: 400; }
.ac-dist { font-size: .78rem; color: var(--t4); display: flex; align-items: center; gap: 4px; }
.ac-link { font-size: .8rem; font-weight: 600; color: var(--cg); display: flex; align-items: center; gap: 4px; transition: color var(--tr); }
.ac-link:hover { color: var(--cg-h); }

/* ============================================================
   MAP SPLIT
   ============================================================ */
.map-split { display: grid; grid-template-columns: 400px 1fr; min-height: 520px; }
.map-split__info { background: var(--bg2); padding: 60px 44px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--bd); }
.map-split__info .section-title { margin-bottom: 14px; }
.map-split__info p { color: var(--t3); line-height: 1.7; margin-bottom: 32px; font-size: .95rem; }
.map-split__map { position: relative; min-height: 520px; }
#af-map-home { width: 100%; height: 100%; min-height: 520px; }

/* ============================================================
   HOW IT WORKS / STEPS
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 35px; left: calc(16.666% + 20px); right: calc(16.666% + 20px); height: 1px; background: var(--bd2); z-index: 0; }
.step { text-align: center; position: relative; z-index: 1; }
.step-icon { width: 70px; height: 70px; border-radius: 50%; background: var(--bg3); border: 2px solid var(--bd2); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.6rem; transition: all var(--tr); position: relative; z-index: 1; }
.step:hover .step-icon { border-color: var(--cg); background: rgba(141,187,62,.08); transform: scale(1.06); box-shadow: 0 0 0 6px rgba(141,187,62,.05); }
.step-num { font-size: .7rem; font-weight: 700; letter-spacing: .13em; color: var(--cg); text-transform: uppercase; margin-bottom: 8px; }
.step-title { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.step-desc { font-size: .87rem; color: var(--t3); line-height: 1.6; }

/* ============================================================
   CTA / BETREIBER (mit Steak-Bild)
   ============================================================ */
.betreiber-section { background: var(--bg2); border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); }
.betreiber-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.betreiber-left .eyebrow { margin-bottom: 14px; }
.betreiber-left h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); margin-bottom: 16px; }
.betreiber-left p { color: var(--t3); line-height: 1.75; margin-bottom: 28px; font-size: .97rem; }
.betreiber-usp-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 32px; }
.betreiber-usp { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--t2); }
.betreiber-usp-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  background: rgba(141,187,62,.12); border: 1px solid rgba(141,187,62,.22);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; color: var(--cg);
}
/* Rechte Seite: Bild + Feature-Kacheln */
.betreiber-right { display: flex; flex-direction: column; gap: 20px; }
.betreiber-img-wrap {
  position: relative;
  border-radius: var(--r-lg); overflow: hidden;
  height: 280px; flex-shrink: 0;
  border: 1px solid var(--bd);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.betreiber-img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; }
.betreiber-img-badge {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(15,26,18,.82); backdrop-filter: blur(8px);
  border: 1px solid var(--bd2); border-radius: 999px;
  padding: 6px 14px; font-size: .78rem; font-weight: 600; color: var(--t2);
  display: flex; align-items: center; gap: 6px;
}
.betreiber-img-badge svg { color: var(--cg); }
.betreiber-feats { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.betreiber-feat {
  background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r);
  padding: 16px 14px; transition: all var(--tr);
}
.betreiber-feat:hover { border-color: var(--bd2); }
.betreiber-feat-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.betreiber-feat-icon svg { width: 18px; height: 18px; color: var(--cg); }
.betreiber-feat-title { font-weight: 600; font-size: .85rem; color: var(--t2); margin-bottom: 3px; }
.betreiber-feat-desc  { font-size: .74rem; color: var(--t4); line-height: 1.45; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: start; }
.pc { background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r-xl); overflow: hidden; transition: all var(--tr); }
.pc:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.pc--popular { border-color: var(--cg); box-shadow: 0 0 0 1px rgba(141,187,62,.18), 0 16px 48px rgba(141,187,62,.07); }
.pc-popular-tag { background: var(--cg); color: #fff; text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; padding: 7px; }
.pc--top-plan { border-color: rgba(201,162,39,.28); }
.pc-head { padding: 28px 28px 24px; border-bottom: 1px solid var(--bd); }
.pc-plan-name { font-family: var(--fh); font-size: .78rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--t3); margin-bottom: 12px; }
.pc--popular .pc-plan-name { color: var(--cg); }
.pc--top-plan .pc-plan-name { color: var(--gold-l); }
.pc-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.pc-price-amount { font-family: var(--fh); font-size: 2.4rem; font-weight: 700; color: var(--t1); }
.pc-price-per { font-size: .85rem; color: var(--t4); }
.pc-price-note { font-size: .8rem; color: var(--t4); }
.pc-desc { margin-top: 14px; font-size: .86rem; color: var(--t3); line-height: 1.55; }
.pc-body { padding: 24px 28px 28px; display: flex; flex-direction: column; }
.pc-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex: 1; }
.pc-feat {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .86rem; color: var(--t2); line-height: 1.5;
}
.pc-feat::before {
  content: '✓';
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  background: rgba(141,187,62,.12); border: 1px solid rgba(141,187,62,.24);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .6rem; font-weight: 700; color: var(--cg);
  line-height: 18px; text-align: center;
}
.pc-feat.off { color: var(--t4); }
.pc-feat.off::before {
  content: '–';
  background: rgba(255,255,255,.03); border-color: var(--bd); color: var(--t4);
}
/* Legacy: falls feat-check Span vorhanden */
.feat-check { display: none; }
.pc-btn { display: block; text-align: center; margin-top: auto; }

/* ============================================================
   FEATURE STRIP (Grillfleisch – Bild als vollflächiger Hintergrund)
   ============================================================ */
.feature-strip {
  position: relative; overflow: hidden;
  min-height: 480px; display: flex; align-items: center;
}
.feature-strip__img {
  position: absolute; inset: 0;
  background-image: url('http://www.frischespot.de/wp-content/uploads/2026/05/grillfleischautomat.webp');
  background-size: cover; background-position: center 40%;
}
.feature-strip__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,26,18,.80) 0%, rgba(15,26,18,.50) 55%, rgba(15,26,18,.10) 100%);
}
.feature-strip__content {
  position: relative; z-index: 2;
  max-width: 560px; padding: 72px 0;
}
.feature-strip__content .eyebrow { margin-bottom: 14px; }
.feature-strip__content h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 16px; }
.feature-strip__content p { color: rgba(200,220,200,.80); font-size: .97rem; line-height: 1.72; margin-bottom: 28px; max-width: 480px; }

/* ============================================================
   FOOTER
   ============================================================ */
#af-footer { background: var(--bg2); border-top: 1px solid var(--bd); }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 48px; border-bottom: 1px solid var(--bd); }
.footer-brand .af-logo { margin-bottom: 16px; }
.footer-brand p { font-size: .87rem; color: var(--t3); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-link { width: 36px; height: 36px; background: var(--bg3); border: 1px solid var(--bd); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--t3); font-size: .9rem; transition: all var(--tr); text-decoration: none; }
.social-link:hover { background: var(--bgh); border-color: var(--cg); color: var(--cg); }
.footer-col h4 { font-family: var(--fh); font-size: .8rem; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; color: var(--t2); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: .86rem; color: var(--t3); transition: color var(--tr); }
.footer-links a:hover { color: var(--cg); }
.footer-kat-link { display: flex; align-items: center; gap: 8px; }
.footer-kat-link .kat-svg-icon { flex-shrink: 0; display: inline-flex; }
.footer-kat-link .kat-svg-icon svg { width: 14px; height: 14px; color: var(--t4); }
.footer-kat-link:hover .kat-svg-icon svg { color: var(--cg); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: .82rem; color: var(--t4); }
.footer-copy a { color: var(--t4); }
.footer-copy a:hover { color: var(--cg); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: .82rem; color: var(--t4); }
.footer-legal a:hover { color: var(--cg); }

/* ============================================================
   SINGLE AUTOMAT
   ============================================================ */
.single-hero { background: var(--bg2); border-bottom: 1px solid var(--bd); padding: 32px 0 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--t4); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a { color: var(--t4); }
.breadcrumb a:hover { color: var(--cg); }
.breadcrumb-sep { color: var(--t4); opacity: .5; }
.breadcrumb-cur { color: var(--t2); }
.single-header { display: flex; gap: 32px; align-items: flex-start; padding-bottom: 32px; }
.single-gallery { width: 420px; flex-shrink: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--bd2); }
.gallery-main { height: 280px; position: relative; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: var(--bg3);
}
.gallery-main-placeholder .kat-svg-icon svg { width: 48px; height: 48px; color: var(--bd2); }
.gallery-main-placeholder span { font-size: .78rem; color: var(--t4); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: var(--bd); }
.gallery-thumb { height: 72px; overflow: hidden; cursor: pointer; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--tr); }
.gallery-thumb:hover img { opacity: .75; }
.single-info { flex: 1; min-width: 0; }
.single-meta-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.single-title { font-size: clamp(1.6rem, 2.5vw, 2rem); font-weight: 700; margin-bottom: 8px; line-height: 1.2; }
.single-kat { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cg); margin-bottom: 16px; }
.single-addr { font-size: .95rem; color: var(--t3); margin-bottom: 20px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.single-addr svg { color: var(--t4); flex-shrink: 0; }
.melden-inline-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
  background: none; border: 1px solid var(--bd); border-radius: 999px;
  color: var(--t4); font-size: .72rem; font-weight: 500;
  padding: 4px 10px; cursor: pointer;
  transition: all var(--tr); white-space: nowrap;
  font-family: var(--fb);
}
.melden-inline-btn:hover { border-color: rgba(220,80,80,.4); color: #f4a0a0; background: rgba(220,80,80,.06); }
.single-rating-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.single-stars { color: var(--gold-l); font-size: 1.1rem; letter-spacing: -2px; }
.single-rating-score { font-weight: 700; font-size: 1rem; }
.single-rating-count { font-size: .85rem; color: var(--t4); }
.single-oh-preview { display: flex; align-items: center; gap: 10px; background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r); padding: 12px 16px; margin-bottom: 22px; font-size: .88rem; color: var(--t2); }
.single-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.single-quick-facts { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.quick-fact { background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r); padding: 14px 16px; font-size: .85rem; }
.quick-fact-label { font-size: .72rem; color: var(--t4); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.quick-fact-value { color: var(--t1); font-weight: 500; }

.single-body-grid { display: grid; grid-template-columns: 1fr 320px; gap: 32px; padding: 48px 0; align-items: start; }
.single-section { margin-bottom: 40px; }
.single-section-title { font-family: var(--fh); font-size: 1.1rem; font-weight: 600; color: var(--t1); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--bd); }

.oh-table { width: 100%; border-collapse: collapse; }
.oh-table tr { border-bottom: 1px solid var(--bd); }
.oh-table tr:last-child { border-bottom: none; }
.oh-table td { padding: 10px 0; font-size: .9rem; color: var(--t2); }
.oh-table td:first-child { color: var(--t3); width: 120px; }
.oh-today td { color: var(--t1); font-weight: 600; }
.oh-today td:first-child { color: var(--cg); }
.oh-closed { color: var(--t4) !important; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-item { background: rgba(141,187,62,.08); border: 1px solid var(--bd); color: var(--t2); font-size: .85rem; padding: 6px 14px; border-radius: 999px; transition: all var(--tr); }
.tag-item:hover { border-color: var(--cg); background: rgba(141,187,62,.13); color: var(--t1); }

#af-map-single { height: 280px; border-radius: var(--r-lg); overflow: hidden; }

.sidebar-card { background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 20px; }
.sidebar-card-head { padding: 16px 18px; border-bottom: 1px solid var(--bd); font-family: var(--fh); font-size: .88rem; font-weight: 600; color: var(--t2); }
.sidebar-card-body { padding: 18px; }
.sidebar-info-list { display: flex; flex-direction: column; gap: 12px; }
.sidebar-info-item { display: flex; align-items: flex-start; gap: 10px; font-size: .87rem; color: var(--t2); }
.sidebar-info-item svg { color: var(--t4); flex-shrink: 0; margin-top: 2px; }
.sidebar-info-item a { color: var(--cg); word-break: break-all; }
.sidebar-info-item a:hover { color: var(--cg-h); }
.sidebar-navi-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px; background: var(--cg); color: #fff; border: none; border-radius: var(--r); font-family: var(--fh); font-weight: 600; font-size: .9rem; cursor: pointer; transition: background var(--tr); text-decoration: none; margin-bottom: 10px; }
.sidebar-navi-btn:hover { background: var(--cg-h); color: #fff; }
.sidebar-report-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 10px; background: transparent; color: var(--t4); border: 1px solid var(--bd); border-radius: var(--r); font-size: .82rem; cursor: pointer; transition: all var(--tr); }
.sidebar-report-btn:hover { color: #e05555; border-color: rgba(224,85,85,.28); }

.review-form-box { background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r-lg); padding: 24px; margin-bottom: 28px; }
.review-form-box h4 { font-size: 1rem; margin-bottom: 16px; }
.star-picker { display: flex; gap: 8px; margin-bottom: 14px; }
.star-picker button { background: none; border: none; font-size: 1.5rem; color: var(--bd2); cursor: pointer; transition: color var(--tr), transform var(--tr); }
.star-picker button.active, .star-picker button:hover { color: var(--gold-l); transform: scale(1.15); }
.review-textarea { width: 100%; background: var(--bg2); border: 1px solid var(--bd); border-radius: var(--r); color: var(--t1); font-family: var(--fb); font-size: .9rem; padding: 12px 14px; resize: vertical; min-height: 90px; outline: none; transition: border-color var(--tr); margin-bottom: 12px; }
.review-textarea:focus { border-color: var(--cg); }
.review-list { display: flex; flex-direction: column; gap: 16px; }
.review-item { background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r-lg); padding: 18px 20px; }
.review-item-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.review-item-stars { color: var(--gold-l); font-size: .9rem; letter-spacing: -1px; }
.review-item-meta { font-size: .78rem; color: var(--t4); }
.review-item-name { font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.review-item-text { font-size: .88rem; color: var(--t2); line-height: 1.6; }

/* ============================================================
   ARCHIVE / SUCHERGEBNISSE
   ============================================================ */
.archive-hero { background: var(--bg2); border-bottom: 1px solid var(--bd); padding: 48px 0; }
.archive-hero h1 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 8px; }
.archive-hero p { color: var(--t3); font-size: .95rem; }
.archive-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding: 48px 0; align-items: start; }
.filter-sidebar { position: sticky; top: 88px; }
.filter-box { background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 16px; }
.filter-box-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--bd); font-family: var(--fh); font-size: .82rem; font-weight: 600; color: var(--t2); cursor: pointer; }
.filter-box-head svg { color: var(--t4); transition: transform var(--tr); }
.filter-box.open .filter-box-head svg { transform: rotate(180deg); }
.filter-box-body { padding: 16px 18px; display: none; }
.filter-box.open .filter-box-body { display: block; }
.filter-check { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font-size: .86rem; color: var(--t2); transition: color var(--tr); }
.filter-check:hover { color: var(--cg); }
.filter-check input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--cg); cursor: pointer; }
.filter-count { margin-left: auto; font-size: .74rem; color: var(--t4); }
.filter-range { width: 100%; accent-color: var(--cg); cursor: pointer; }
.filter-range-label { display: flex; justify-content: space-between; font-size: .82rem; color: var(--t3); margin-top: 6px; }
.archive-results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.results-count { font-size: .9rem; color: var(--t3); }
.results-count strong { color: var(--t1); }
.results-sort select { background: var(--bg3); border: 1px solid var(--bd); color: var(--t2); font-family: var(--fb); font-size: .85rem; padding: 8px 12px; border-radius: var(--r); outline: none; cursor: pointer; }
.archive-list { display: flex; flex-direction: column; gap: 14px; }
.ac-list-item { background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r-lg); overflow: hidden; display: flex; transition: all var(--tr); }
.ac-list-item:hover { border-color: var(--cg); box-shadow: -4px 0 0 var(--cg) inset, 0 8px 32px rgba(0,0,0,.25); }
.ac-list-img { width: 180px; flex-shrink: 0; background: var(--bg2); overflow: hidden; }
.ac-list-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ac-list-item:hover .ac-list-img img { transform: scale(1.04); }
.ac-list-img-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.ac-list-body { flex: 1; padding: 18px 22px; display: flex; gap: 20px; align-items: flex-start; min-width: 0; }
.ac-list-main { flex: 1; min-width: 0; }
.ac-list-side { flex-shrink: 0; text-align: right; }
.ac-list-kat { font-size: .7rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--cg); margin-bottom: 4px; }
.ac-list-title { font-size: 1rem; font-weight: 600; color: var(--t1); margin-bottom: 6px; }
.ac-list-addr { font-size: .85rem; color: var(--t3); margin-bottom: 8px; display: flex; align-items: center; gap: 5px; }
.ac-list-addr svg { color: var(--t4); }
.ac-list-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.ac-list-dist { font-size: .82rem; color: var(--t4); margin-bottom: 8px; }
.ac-list-rating { display: flex; align-items: center; gap: 5px; font-size: .85rem; font-weight: 600; color: var(--gold-l); margin-bottom: 14px; }
.af-pagination { display: flex; justify-content: center; gap: 6px; padding-top: 32px; flex-wrap: wrap; }
.af-pagination a, .af-pagination span { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: var(--r); font-size: .88rem; font-weight: 500; background: var(--bg3); border: 1px solid var(--bd); color: var(--t2); transition: all var(--tr); text-decoration: none; }
.af-pagination a:hover { border-color: var(--cg); color: var(--cg); }
.af-pagination .current { background: var(--cg); border-color: var(--cg); color: #fff; font-weight: 700; }

/* ============================================================
   EINTRAGEN FORM
   ============================================================ */
.eintragen-hero { background: var(--bg2); border-bottom: 1px solid var(--bd); padding: 56px 0; text-align: center; }
.eintragen-hero h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 12px; }
.eintragen-hero p { color: var(--t3); font-size: .97rem; max-width: 540px; margin: 0 auto 28px; line-height: 1.65; }
.eintragen-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding: 56px 0; align-items: start; }
.form-card { background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r-xl); overflow: hidden; }
.form-section-head { display: flex; align-items: center; gap: 12px; padding: 20px 28px; border-bottom: 1px solid var(--bd); background: var(--bg2); }
.form-section-num { width: 28px; height: 28px; background: var(--cg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--fh); font-size: .8rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.form-section-title { font-family: var(--fh); font-size: .95rem; font-weight: 600; color: var(--t2); }
.form-body { padding: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.full { grid-template-columns: 1fr; }
.form-group { margin-bottom: 18px; }
.form-group:last-child { margin-bottom: 0; }
.form-label { display: block; font-size: .82rem; font-weight: 600; color: var(--t2); margin-bottom: 7px; }
.form-label .req { color: var(--cg); margin-left: 2px; }
.form-input, .form-select, .form-textarea { width: 100%; background: var(--bg2); border: 1px solid var(--bd); border-radius: var(--r); color: var(--t1); font-family: var(--fb); font-size: .9rem; padding: 11px 14px; outline: none; transition: border-color var(--tr), box-shadow var(--tr); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--cg); box-shadow: 0 0 0 3px rgba(141,187,62,.12); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--t4); }
.form-select option { background: var(--bg3); }
.form-textarea { min-height: 100px; resize: vertical; }
.form-hint { font-size: .78rem; color: var(--t4); margin-top: 5px; }
.form-divider { height: 1px; background: var(--bd); margin: 24px 0; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .88rem; color: var(--t2); line-height: 1.5; }
.form-checkbox input { width: 16px; height: 16px; accent-color: var(--cg); cursor: pointer; margin-top: 2px; flex-shrink: 0; }
.plan-selector { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.plan-option { position: relative; cursor: pointer; }
.plan-option input { position: absolute; opacity: 0; pointer-events: none; }
.plan-option-inner { display: block; background: var(--bg2); border: 2px solid var(--bd); border-radius: var(--r-lg); padding: 18px 14px; text-align: center; transition: all var(--tr); }
.plan-option input:checked + .plan-option-inner { border-color: var(--cg); background: rgba(141,187,62,.07); }
.plan-option-icon { font-size: 1.4rem; display: block; margin-bottom: 8px; }
.plan-option-name { font-family: var(--fh); font-size: .88rem; font-weight: 600; color: var(--t2); margin-bottom: 2px; }
.plan-option-price { font-size: .78rem; color: var(--t3); }
.plan-option input:checked + .plan-option-inner .plan-option-name { color: var(--cg); }
.oh-form-row { display: grid; grid-template-columns: 100px 1fr auto 1fr auto; gap: 8px; align-items: center; margin-bottom: 8px; font-size: .86rem; color: var(--t2); }
.oh-form-row .day-label { font-weight: 500; color: var(--t3); }
.oh-sep { color: var(--t4); text-align: center; }

/* ============================================================
   TAXONOMY LANDINGPAGES
   ============================================================ */
.tax-hero { background: var(--bg2); border-bottom: 1px solid var(--bd); padding: 56px 0; }
.tax-hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.tax-hero-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.tax-stat { text-align: center; background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r-lg); padding: 16px 24px; }
.tax-stat-num { font-family: var(--fh); font-size: 1.4rem; font-weight: 700; color: var(--cg); }
.tax-stat-lbl { font-size: .76rem; color: var(--t4); text-transform: uppercase; letter-spacing: .08em; }
.tax-seo-block { background: var(--bg2); border-top: 1px solid var(--bd); padding: 56px 0; }
.tax-seo-block .wrap { display: grid; grid-template-columns: repeat(2,1fr); gap: 48px; }
.tax-seo-block h2 { font-size: 1.3rem; margin-bottom: 14px; }
.tax-seo-block p { font-size: .9rem; color: var(--t3); line-height: 1.72; }
.nearby-cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.nearby-city { background: var(--bg3); border: 1px solid var(--bd); color: var(--t3); font-size: .82rem; padding: 5px 12px; border-radius: 999px; transition: all var(--tr); text-decoration: none; }
.nearby-city:hover { border-color: var(--cg); color: var(--cg); }

/* ============================================================
   LEAFLET (Dark-Theme-Override)
   ============================================================ */
.leaflet-container { background: var(--bg3) !important; font-family: var(--fb); }
.leaflet-tile-pane { filter: brightness(.85) saturate(.75); }
.leaflet-popup-content-wrapper { background: var(--bg3); border: 1px solid var(--bd2); border-radius: var(--r-lg); box-shadow: 0 8px 32px rgba(0,0,0,.6); color: var(--t1); }
.leaflet-popup-tip { background: var(--bg3); }
.leaflet-popup-content { margin: 14px 16px; }
.map-popup-title { font-family: var(--fh); font-size: .95rem; font-weight: 600; margin-bottom: 4px; }
.map-popup-addr  { font-size: .82rem; color: var(--t3); margin-bottom: 10px; }
.map-popup-link  { font-size: .82rem; color: var(--cg); font-weight: 600; }
.map-popup-link:hover { color: var(--cg-h); }
.leaflet-control-zoom a { background: var(--bg3) !important; border-color: var(--bd) !important; color: var(--t2) !important; }
.leaflet-control-zoom a:hover { background: var(--bgh) !important; color: var(--cg) !important; }
.af-marker { width: 32px; height: 32px; background: var(--cg); border: 2px solid rgba(255,255,255,.22); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); cursor: pointer; transition: background var(--tr); }
.af-marker--premium { background: var(--gold); }
.af-marker--top     { background: var(--pink); }

/* ============================================================
   NOTICES / TOASTS / SKELETON
   ============================================================ */
.af-notice { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; border-radius: var(--r); font-size: .88rem; margin-bottom: 16px; }
.af-notice-info    { background: rgba(30,136,229,.10); border: 1px solid rgba(30,136,229,.22); color: #90caf9; }
.af-notice-success { background: rgba(141,187,62,.10);  border: 1px solid rgba(141,187,62,.22);  color: var(--cg-h); }
.af-notice-warn    { background: rgba(255,183,77,.10);  border: 1px solid rgba(255,183,77,.22);  color: #ffcc80; }
.af-notice-error   { background: rgba(224,85,85,.10);   border: 1px solid rgba(224,85,85,.22);   color: #f48a8a; }
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { background: var(--bg3); border: 1px solid var(--bd2); border-radius: var(--r-lg); padding: 14px 18px; font-size: .88rem; color: var(--t2); display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 32px rgba(0,0,0,.5); pointer-events: auto; max-width: 340px; transition: all .3s ease; }
.toast.hiding { transform: translateX(120%); opacity: 0; }
.skeleton { background: linear-gradient(90deg, var(--bg3) 25%, var(--bgh) 50%, var(--bg3) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 6px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp-2  { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ═══════════════════════════════════════════
   RESPONSIVE – 1100px
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .kat-grid { grid-template-columns: repeat(4,1fr); }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .footer-main .footer-brand { grid-column: 1 / -1; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE – 960px (Tablet)
═══════════════════════════════════════════ */
@media (max-width: 960px) {
  /* Nav */
  .af-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-outline { display: none; }

  /* Hero */
  .af-hero { min-height: 480px; }
  .hero-content { padding: 80px 0 60px; }
  .hero-bg { background-position: center 40%; }
  .hero-overlay { background: rgba(0,0,0,.80); }
  .hero-searchbox { flex-direction: column; border-radius: var(--r); }
  .searchbox-cat { display: none; }
  .hero-searchbox .searchbox-btn { width: 100%; justify-content: center; }

  /* Grids */
  .automat-grid { grid-template-columns: repeat(2,1fr); }
  .kat-grid { grid-template-columns: repeat(3,1fr); }
  .map-split { grid-template-columns: 1fr; }
  .map-split__info { padding: 32px 20px; }
  #af-map-home { min-height: 320px; }
  .betreiber-inner { grid-template-columns: 1fr; gap: 28px; }
  .betreiber-img-wrap { height: 220px; }
  .betreiber-feats { grid-template-columns: repeat(4,1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid::before { display: none; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip__img { height: 240px; }
  .eintragen-layout { grid-template-columns: 1fr; }
  .tax-hero-inner { grid-template-columns: 1fr; }
  .tax-seo-block .wrap { grid-template-columns: 1fr; gap: 28px; }

  /* Single */
  .single-layout { grid-template-columns: 1fr; }
  .single-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .single-sidebar .sidebar-card:last-child { grid-column: 1/-1; }
  .single-cta-row { flex-wrap: wrap; }

  /* Archive */
  .archive-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }

  /* Footer */
  .footer-main { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE – 640px (Mobile)
═══════════════════════════════════════════ */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 48px 0; }

  /* Searchbox */
  .af-searchbox { flex-direction: column; border-radius: var(--r); }
  .searchbox-location { border-right: none; border-bottom: 1px solid var(--bd); padding: 12px 14px; }
  .searchbox-cat { display: none; }
  .searchbox-btn { width: 100%; justify-content: center; padding: 13px 20px; border-radius: 0 0 var(--r) var(--r); }

  /* Hero */
  .af-hero { min-height: 420px; }
  .hero-content { padding: 60px 0 48px; }
  .hero-title { font-size: 1.85rem; line-height: 1.2; }
  .hero-desc { font-size: .93rem; }
  .hero-stats { gap: 10px; }
  .hero-stat { padding: 10px 16px; }
  .hero-stat-num { font-size: 1.4rem; }

  /* Grids */
  .automat-grid { grid-template-columns: 1fr; gap: 14px; }
  .kat-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .betreiber-feats { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .betreiber-feat { padding: 12px 10px; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .plan-selector { grid-template-columns: 1fr; }

  /* Single page */
  .single-layout { grid-template-columns: 1fr; }
  .single-sidebar { display: flex; flex-direction: column; gap: 12px; }
  .single-title { font-size: 1.4rem; }
  .single-cta-row { flex-direction: column; }
  .single-cta-row .btn { width: 100%; justify-content: center; }
  .single-img-wrap { max-height: 240px; }
  .single-img { max-height: 240px; }

  /* Archive */
  .single-addr { flex-wrap: wrap; }
  .melden-inline-btn { margin-left: 0; margin-top: 6px; }

  /* Betreiber */
  .betreiber-inner { gap: 20px; }
  .betreiber-img-wrap { height: 180px; }
  .betreiber-left .btn { width: 100%; justify-content: center; }

  /* FAQ */
  .faq-q { font-size: .84rem; padding: 12px 13px; }

  /* Footer */
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer-kat-link { font-size: .82rem; }

  /* Cards */
  .ac-body { padding: 14px; }
  .ac-title { font-size: .88rem; }

  /* Taxonomy */
  .tax-hero { padding: 40px 0 28px; }
  .tax-seo-block .wrap { grid-template-columns: 1fr; }
  .tax-stat-num { font-size: 1.8rem; }

  /* Sidebar Presse / Eintragen */
  .single-layout > aside,
  .eintragen-layout > aside { order: -1; }

  /* Vorschlag Form */
  #kat-picker { grid-template-columns: repeat(2,1fr) !important; }
  .vform-step > div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE – 420px (Kleines Handy)
═══════════════════════════════════════════ */
@media (max-width: 420px) {
  .hero-title { font-size: 1.55rem; }
  .kat-grid { grid-template-columns: repeat(2,1fr); }
  .kat-item { padding: 14px 10px; }
  .kat-icon svg { width: 28px; height: 28px; }
  .header-logo { font-size: .95rem; }
  .header-logo-icon { width: 28px; height: 28px; }
  .btn.btn-primary, .btn.btn-ghost { font-size: .82rem; }
  .single-meta-row { gap: 5px; }
  .betreiber-feats { grid-template-columns: 1fr 1fr; }
}

