/* ==========================================================================
   BreisgauStraussen.de – Design 2026
   Markenkern bleibt: Blau #0069b4, Weinglas-Logo, Open Sans, grüne/rote Status-Badges.
   ========================================================================== */

/* Open Sans – lokal gehostet (DSGVO, kein Google-Fonts-Request) */
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/open-sans/open-sans-v34-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url('/open-sans/open-sans-v34-latin-italic.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/open-sans/open-sans-v34-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/open-sans/open-sans-v34-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('/open-sans/open-sans-v34-latin-800.woff2') format('woff2'); }

/* Playfair Display – Serifenschrift für Wortmarke & Zierüberschriften (lokal, SIL OFL 1.1, siehe /assets/fonts/) */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/playfair-display-latin-600-normal.woff2') format('woff2'); }

/* Ersatzschrift mit Open-Sans-Maßen → kein Textsprung beim Nachladen der Webfont */
@font-face { font-family: 'Open Sans Fallback'; src: local('Arial'), local('Helvetica'), local('Liberation Sans'); size-adjust: 105.1%; ascent-override: 101.6%; descent-override: 27.8%; line-gap-override: 0%; }

:root {
  --blau: #0069b4;
  --blau-700: #00589a;
  --blau-800: #004a80;
  --blau-900: #00335a;
  --blau-50: #eef6fc;
  --blau-100: #d9ebf8;
  --himmel: #00b7ff;
  --gruen: #3d7a0f;
  --gruen-hell: #95c11f;
  --gruen-50: #eef7e0;
  --rot: #c2412d;
  --rot-50: #fdecea;
  --wein: #820000;
  --gold: #b08a45;        /* Akzent: feine Linien, ".de" der Wortmarke */
  --gold-hell: #dcc18c;   /* Akzent auf Dunkelblau (Footer, App-Karte) */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --brand-ink: var(--blau-900);
  --footer-bg: #002b4c;

  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #17212f;
  --muted: #566170;
  --border: #e2e8f0;
  --link: var(--blau);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px -12px rgba(16, 24, 40, .18);
  --shadow-lg: 0 24px 48px -24px rgba(0, 51, 90, .45);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1420;
    --surface: #131d2b;
    --surface-2: #182435;
    --text: #e7eef7;
    --muted: #a3b1c2;
    --border: #233246;
    --link: #6cb8f0;
    --blau-50: #10263b;
    --blau-100: #163450;
    --gruen-50: #1a2a10;
    --rot-50: #2e1714;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
    --brand-ink: #eef5fc;
    --gold: #d2b47a;
    --footer-bg: #08182a;
  }
}

/* --- Basis ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: 'Open Sans', 'Open Sans Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--himmel); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
small { font-size: .85em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--blau); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

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

/* --- Hinweisleiste oben --------------------------------------------------- */
.topbar { background: linear-gradient(90deg, var(--blau-900) 0%, #002848 50%, var(--blau-900) 100%); color: #b9d3ea; font-size: .78rem; letter-spacing: .01em; }
.topbar-inner { display: flex; gap: 1rem; justify-content: space-between; align-items: center; min-height: 34px; }
.topbar-saison { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; color: #eef6fd; white-space: nowrap; }
.topbar-saison::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gruen-hell); box-shadow: 0 0 0 3px rgba(149, 193, 31, .22); flex: none; }
.topbar-msg { text-align: right; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(220, 193, 140, .5); transition: border-color .2s; }
.topbar a:hover { border-bottom-color: var(--gold-hell); }
.topbar .kurz { display: none; }
@media (max-width: 860px) { .topbar-inner { justify-content: center; } .topbar-saison, .topbar .lang { display: none; } .topbar .kurz { display: inline; } .topbar-msg { text-align: center; } }
.pride { height: 6px; background: linear-gradient(90deg, #e40303 0 16.6%, #ff8c00 0 33.3%, #ffed00 0 50%, #008026 0 66.6%, #004dff 0 83.3%, #750787 0); }

/* --- Header ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 84%, transparent); backdrop-filter: saturate(1.8) blur(16px); -webkit-backdrop-filter: saturate(1.8) blur(16px); border-bottom: 1px solid color-mix(in srgb, var(--border) 75%, transparent); transition: box-shadow .3s ease, background-color .3s ease; }
.site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--gold) 60%, transparent) 50%, transparent 100%); pointer-events: none; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--surface) 93%, transparent); box-shadow: 0 12px 32px -20px rgba(0, 51, 90, .4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }

/* Wortmarke: rundes Siegel mit Weinglas + Serifen-Schriftzug */
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--brand-ink); min-width: 0; }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: radial-gradient(circle at 32% 26%, #2a8fd8 0%, var(--blau) 46%, var(--blau-800) 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 0 0 3px var(--surface), 0 0 0 4px color-mix(in srgb, var(--gold) 65%, transparent), 0 10px 20px -10px rgba(0, 74, 128, .8); transition: transform .35s ease; }
.brand-mark img { width: 14px; height: 29px; }
.brand:hover .brand-mark { transform: rotate(-10deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-name { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: -.005em; color: var(--brand-ink); white-space: nowrap; }
.brand-tld { color: var(--gold); }
.brand-claim { font-size: .74rem; color: var(--muted); margin-top: 5px; letter-spacing: .015em; white-space: nowrap; }

/* Navigation: ruhige Textlinks mit feiner Unterstreichung, App als Akzent-Button */
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; }
.main-nav a { position: relative; display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .94rem; white-space: nowrap; transition: color .2s, background-color .2s; }
.main-nav a svg { width: 18px; height: 18px; flex: none; }
.main-nav li:not(.nav-app) svg { display: none; }
.main-nav li:not(.nav-app) a::after { content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .32rem; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blau), var(--himmel)); transform: scaleX(0); transform-origin: left center; transition: transform .28s ease; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--link); }
.main-nav li:not(.nav-app) a:hover::after, .main-nav li:not(.nav-app) a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav .nav-app { margin-left: .7rem; }
.main-nav .nav-app a { color: #fff; background: linear-gradient(135deg, var(--blau) 0%, var(--blau-800) 100%); border-radius: 999px; padding: .62rem 1.15rem .62rem .95rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 8px 20px -10px rgba(0, 105, 180, .85); transition: transform .2s, box-shadow .2s; }
.main-nav .nav-app a:hover { color: #fff; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 12px 26px -10px rgba(0, 105, 180, .95); }

.nav-toggle { display: none; align-items: center; gap: .55rem; font: inherit; font-weight: 600; font-size: .95rem; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: .55rem 1rem .55rem .85rem; cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color .2s, color .2s; }
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { border-color: color-mix(in srgb, var(--blau) 35%, var(--border)); color: var(--link); }
.nav-toggle-bars { width: 18px; height: 12px; position: relative; display: inline-block; }
.nav-toggle-bars::before, .nav-toggle-bars::after, .nav-toggle-bars span { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle-bars::before { top: 0; } .nav-toggle-bars span { top: 5px; } .nav-toggle-bars::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; top: calc(100% + 8px); right: var(--gutter); width: min(380px, calc(100% - 2 * var(--gutter))); background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 28px 56px -24px rgba(0, 51, 90, .45); padding: .5rem; display: none; }
  .main-nav.is-open { display: block; animation: nav-ein .22s ease-out; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: .1rem; }
  .main-nav a { padding: .75rem .85rem; font-size: 1.02rem; border-radius: 14px; gap: .8rem; }
  .main-nav li:not(.nav-app) svg { display: block; box-sizing: content-box; padding: 8px; border-radius: 50%; background: var(--blau-50); color: var(--link); }
  .main-nav li:not(.nav-app) a::after { display: none; }
  .main-nav li:not(.nav-app) a:hover, .main-nav a[aria-current="page"] { background: var(--blau-50); }
  .main-nav a[aria-current="page"] svg { background: var(--surface) !important; }
  .main-nav .nav-app { margin: .45rem 0 0; }
  .main-nav .nav-app a { justify-content: center; border-radius: 14px; padding: .85rem 1rem; }
}
@keyframes nav-ein { from { opacity: 0; transform: translateY(-6px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) {
  .header-inner { gap: .75rem; }
  .brand { gap: .65rem; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-mark img { width: 12px; height: 25px; }
  .brand-name { font-size: 1.22rem; }
  .brand-claim { display: none; }
  .nav-toggle { padding: .5rem .8rem; }
}
@media (max-width: 360px) { .nav-toggle { font-size: 0; gap: 0; padding: .65rem; } .brand-name { font-size: 1.12rem; } }

/* --- App-Banner (mobil) ----------------------------------------------------- */
.app-banner { display: none; background: var(--surface); border-bottom: 1px solid var(--border); }
.app-banner .container { display: flex; align-items: center; gap: .75rem; padding-block: .6rem; }
.app-banner img { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.app-banner-text { flex: 1; line-height: 1.25; font-size: .9rem; }
.app-banner-text strong { display: block; }
.app-banner .btn { padding: .45rem .9rem; font-size: .9rem; }
.app-banner-close { background: none; border: 0; font-size: 1.4rem; line-height: 1; color: var(--muted); cursor: pointer; padding: .25rem .4rem; }
.has-app-banner .app-banner { display: block; }

/* --- Hero ------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 400px at 85% -20%, rgba(0, 183, 255, .35), transparent 60%), linear-gradient(135deg, var(--blau) 0%, var(--blau-800) 70%, var(--blau-900) 100%); }
.hero::after { content: ''; position: absolute; inset: 0 0 0 auto; width: min(42%, 460px); background: url('/assets/img/header-wein.webp') center / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, #000 55%); opacity: .95; pointer-events: none; }
.hero .container { position: relative; z-index: 1; padding-block: clamp(28px, 5vw, 56px); }
.hero-inner { max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero p { color: #d7ebfa; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); margin-bottom: 1.2rem; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #bfe3ff; margin-bottom: .6rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.hero-stat { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: .35rem .85rem; font-weight: 600; font-size: .9rem; backdrop-filter: blur(6px); }
.hero--compact .container { padding-block: clamp(22px, 3.5vw, 36px); }
.hero--compact h1 { margin-bottom: .2em; }
.hero--compact p { margin-bottom: 0; }
@media (max-width: 720px) { .hero::after { width: 45%; opacity: .35; } }

/* Live-Punkt */
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gruen-hell); box-shadow: 0 0 0 0 rgba(149, 193, 31, .7); animation: puls 2s infinite; flex: none; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(149, 193, 31, .7); } 70% { box-shadow: 0 0 0 10px rgba(149, 193, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(149, 193, 31, 0); } }

/* --- Suche ----------------------------------------------------------------- */
.search { display: flex; gap: .5rem; background: var(--surface); border-radius: 14px; padding: .35rem; box-shadow: var(--shadow-lg); max-width: 560px; }
.search input { flex: 1; min-width: 0; font: inherit; color: var(--text); border: 0; background: transparent; padding: .7rem .8rem; outline: none; }
.search input::placeholder { color: var(--muted); }
.search:focus-within { box-shadow: 0 0 0 3px rgba(0, 183, 255, .45), var(--shadow-lg); }

/* --- Buttons --------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; border: 0; border-radius: 12px; padding: .7rem 1.15rem; cursor: pointer; background: var(--blau); color: #fff; transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--blau-700); text-decoration: none; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: var(--blau-50); color: var(--blau); }
.btn--ghost:hover { background: var(--blau-100); }
.btn--outline { background: transparent; color: var(--blau); box-shadow: inset 0 0 0 1.5px var(--blau); }
.btn--outline:hover { background: var(--blau-50); }
.btn--gruen { background: var(--gruen); }
.btn--gruen:hover { background: #33680c; }
.btn--klein { padding: .45rem .8rem; font-size: .9rem; border-radius: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* --- Layout ---------------------------------------------------------------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(20px, 3vw, 40px); padding-block: clamp(24px, 4vw, 44px); }
.layout--voll { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 980px) { .layout { grid-template-columns: minmax(0, 1fr); } }
.content > :first-child { margin-top: 0; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.section-head h2 { margin: 0; }
.section-head .meta { color: var(--muted); font-size: .9rem; }

/* --- Karten ---------------------------------------------------------------- */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.15rem 1.2rem 1.1rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blau-100); }
.card-head { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .55rem; }
.card-icon { width: 14px; height: 30px; flex: none; margin-top: .1rem; }
.card h2, .card h3 { font-size: 1.15rem; margin: 0; }
.card h2 a, .card h3 a { color: var(--text); text-decoration: none; }
.card h2 a::after, .card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card h2 a:hover, .card h3 a:hover { color: var(--blau); }
.card-ort { color: var(--muted); font-size: .88rem; margin-top: .1rem; }
.card-essen { color: var(--text); font-size: .95rem; margin: .4rem 0 .7rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { list-style: none; padding: 0; margin: 0 0 .8rem; display: grid; gap: .3rem; font-size: .88rem; color: var(--muted); }
.card-meta li { display: flex; gap: .45rem; align-items: flex-start; }
.card-meta svg { width: 16px; height: 16px; flex: none; margin-top: .2rem; color: var(--blau); }
.card-meta a { position: relative; z-index: 1; }
.card-foot { margin-top: auto; padding-top: .6rem; border-top: 1px dashed var(--border); font-size: .9rem; }
.card-foot .mehr { font-weight: 700; color: var(--blau); }
.card-foot a { position: relative; z-index: 1; }

/* Kompakte Liste (alle Straußen / Orte) */
.list-compact { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); list-style: none; padding: 0; margin: 0; }
.list-compact li { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: .8rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; transition: border-color .15s, box-shadow .15s; }
.list-compact li:hover { border-color: var(--blau-100); box-shadow: var(--shadow); }
.list-compact a { color: var(--text); font-weight: 600; text-decoration: none; }
.list-compact a::after { content: ''; position: absolute; inset: 0; }
.list-compact .sub { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; }
.count { display: inline-grid; place-items: center; min-width: 1.9rem; height: 1.9rem; padding: 0 .5rem; border-radius: 999px; background: var(--blau-50); color: var(--blau); font-weight: 700; font-size: .85rem; }

/* --- Status-Badges ----------------------------------------------------------- */
.badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; line-height: 1; padding: .38rem .65rem; border-radius: 999px; white-space: nowrap; letter-spacing: .01em; }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--offen { background: var(--gruen-50); color: var(--gruen); box-shadow: inset 0 0 0 1px rgba(61, 122, 15, .25); }
.badge--zu { background: var(--rot-50); color: var(--rot); box-shadow: inset 0 0 0 1px rgba(194, 65, 45, .22); }
.badge--gross { font-size: .95rem; padding: .55rem .95rem; }
@media (prefers-color-scheme: dark) { .badge--offen { color: #a6dd5c; } .badge--zu { color: #ff9a87; } }

/* --- Filter (Alle Straußen) -------------------------------------------------- */
.filterbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.filterbar input[type="search"] { flex: 1 1 220px; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: .6rem .85rem; }
.chip { font: inherit; font-weight: 600; font-size: .9rem; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 999px; padding: .45rem .9rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--blau); border-color: var(--blau); color: #fff; }

/* --- Detailseite --------------------------------------------------------------- */
.breadcrumb { font-size: .88rem; color: #cfe6f7; margin-bottom: .6rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: '›'; margin-right: .35rem; opacity: .7; }
.breadcrumb a { color: #fff; }
.detail-head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: .4rem; }
.stars { --w: 0%; position: relative; display: inline-block; font-size: 1.15rem; letter-spacing: 2px; line-height: 1; }
.stars::before { content: '★★★★★'; color: rgba(255, 255, 255, .35); }
.stars::after { content: '★★★★★'; color: #ffc83d; position: absolute; left: 0; top: 0; width: var(--w); overflow: hidden; white-space: nowrap; }
.content .stars::before { color: var(--border); }
.rating-link { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; gap: .5rem; align-items: center; }
.rating-link:hover { text-decoration: underline; }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1rem, 2.5vw, 1.6rem); box-shadow: var(--shadow-sm); margin-bottom: 1.25rem; }
.panel > h2 { font-size: 1.2rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem 1.5rem; margin: 0; }
.facts div { min-width: 0; }
.facts dt { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: .2rem; display: flex; align-items: center; gap: .4rem; }
.facts dt svg { width: 16px; height: 16px; color: var(--blau); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts .wide { grid-column: 1 / -1; }

.bs-map { width: 100%; height: clamp(320px, 55vh, 560px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); z-index: 0; }
.bs-map--klein { height: 340px; }
.map-legend { display: flex; flex-wrap: wrap; gap: 1rem; margin: .75rem 0 0; font-size: .9rem; color: var(--muted); }
.map-legend img { width: 18px; height: 21px; vertical-align: -5px; margin-right: .3rem; }
.bs-pop { font: 14px/1.45 'Open Sans', system-ui, sans-serif; text-align: center; min-width: 170px; }
.bs-pop strong { font-size: 1rem; display: block; margin-bottom: .35rem; }
.bs-pop .bs-badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: .25rem .55rem; border-radius: 999px; margin-bottom: .45rem; }
.bs-pop .bs-badge--offen { background: #eef7e0; color: #3d7a0f; }
.bs-pop .bs-badge--zu { background: #fdecea; color: #c2412d; }
.leaflet-container a.leaflet-popup-close-button { color: #566170; }

.empfehlungen { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.empfehlungen a { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); text-decoration: none; color: var(--text); font-weight: 600; }
.empfehlungen a:hover { border-color: var(--blau-100); color: var(--blau); }
.empfehlungen img { width: 11px; height: 24px; }

.rating-form fieldset { border: 0; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.rating-form legend { font-weight: 700; margin-bottom: .5rem; }
.rating-form label { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid var(--border); border-radius: 999px; padding: .4rem .8rem; cursor: pointer; background: var(--surface); }
.rating-form label:has(input:checked) { background: var(--blau-50); border-color: var(--blau); color: var(--blau); }
.notice { border-radius: 12px; padding: .8rem 1rem; margin-bottom: 1rem; font-weight: 600; }
.notice--ok { background: var(--gruen-50); color: var(--gruen); }
.notice--info { background: var(--blau-50); color: var(--blau); }
.notice--warn { background: var(--rot-50); color: var(--rot); }

/* --- Sidebar ---------------------------------------------------------------- */
.sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar .panel { margin: 0; border-radius: 20px; padding: 1.35rem 1.35rem 1.45rem; border-color: color-mix(in srgb, var(--border) 85%, transparent); box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 14px 34px -22px rgba(0, 51, 90, .28); }
.sidebar h2 { font-size: 1.05rem; color: var(--blau); margin-bottom: .75rem; }
.sidebar .side-title { display: flex; align-items: center; gap: .7rem; font-family: var(--serif); font-weight: 600; font-size: 1.22rem; letter-spacing: 0; color: var(--text); margin: 0 0 1rem; }
.side-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--blau-50); color: var(--link); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blau) 14%, transparent); }
.side-icon svg { width: 17px; height: 17px; }
.side-text { font-size: .9rem; line-height: 1.55; color: var(--muted); margin: -.35rem 0 1rem; }
.side-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .85rem; font-size: .88rem; font-weight: 600; text-decoration: none; }
.side-link svg { width: 15px; height: 15px; transition: transform .2s; }
.side-link:hover svg { transform: translateX(3px); }

/* Suchfeld mit Lupe im Feld */
.side-search { display: flex; align-items: center; gap: .3rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: .3rem; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.side-search:focus-within { background: var(--surface); border-color: var(--blau); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blau) 14%, transparent); }
.side-search input { flex: 1; min-width: 0; font: inherit; font-size: .95rem; color: var(--text); background: transparent; border: 0; outline: none; padding: .55rem .6rem; }
.side-search input::placeholder { color: var(--muted); }
.side-search input:focus-visible { outline: none; }
.side-search .btn { flex: none; width: 40px; height: 40px; padding: 0; border-radius: 11px; }

/* App-Karte */
.sidebar .side-app { position: relative; overflow: hidden; isolation: isolate; color: #fff; border: 0; background: radial-gradient(120% 70% at 100% 0%, rgba(0, 183, 255, .3), transparent 60%), linear-gradient(160deg, #0a5d9e 0%, var(--blau-900) 58%, #00213b 100%); box-shadow: 0 22px 44px -26px rgba(0, 51, 90, .85); }
.side-app::before { content: ''; position: absolute; z-index: -1; right: -8px; bottom: -30px; width: 96px; height: 192px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 120' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 6h40l-2 28c-1.6 17-9 26-18 26s-16.4-9-18-26z'/%3E%3Cpath d='M12.2 27h35.6M30 60v50M16 112h28'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .12; transform: rotate(14deg); pointer-events: none; }
.side-app::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-hell), transparent); opacity: .75; }
.side-app-head { display: flex; align-items: center; gap: .9rem; margin-bottom: .9rem; }
.side-app-icon { width: 52px; height: 52px; flex: none; border-radius: 13px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 8px 18px -8px rgba(0, 0, 0, .6); }
.sidebar .side-app h2 { font-family: var(--serif); font-weight: 600; font-size: 1.22rem; letter-spacing: 0; color: #fff; margin: 0 0 .15rem; }
.side-app-sub { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--gold-hell); }
.side-app-text { color: #cfe3f4; font-size: .9rem; line-height: 1.55; margin-bottom: 1rem; }
.side-app .store-badges { grid-template-columns: 1fr 1fr; }
.side-app .store-badges a { display: block; border-radius: 9px; transition: transform .2s, filter .2s; }
.side-app .store-badges a:hover { transform: translateY(-2px); filter: brightness(1.12); }
.side-app-alexa { display: inline-flex; align-items: center; gap: .35rem; margin-top: .95rem; font-size: .85rem; font-weight: 600; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(220, 193, 140, .45); padding-bottom: 1px; }
.side-app-alexa:hover { border-bottom-color: var(--gold-hell); }
.side-app-alexa svg { width: 14px; height: 14px; }

.store-badges { display: grid; gap: .5rem; }
.store-badges img { display: block; width: 100%; max-width: 205px; height: auto; }

.newsletter-form { display: flex; gap: .4rem; }
.newsletter-form input { flex: 1; min-width: 0; font: inherit; font-size: .95rem; color: var(--text); background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: .62rem .8rem; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.newsletter-form input:focus { outline: none; background: var(--surface); border-color: var(--blau); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blau) 14%, transparent); }
.newsletter-form .btn { border-radius: 12px; }

.ad-slot { min-height: 100px; display: block; text-align: center; }
.ad-slot--top { height: calc(90px + 1.2rem); overflow: hidden; margin-block: 1rem 0; }
.ad-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .25rem; text-align: center; }
.sidebar .ad-label { display: flex; align-items: center; gap: .75rem; letter-spacing: .14em; margin-bottom: .6rem; }
.sidebar .ad-label::before, .sidebar .ad-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* --- Prosa / Infoseiten ------------------------------------------------------- */
.prose { max-width: 72ch; }
.prose p, .prose li { font-size: 1.02rem; }
.prose img { border-radius: 12px; }
.feature-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin: 1.5rem 0; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1rem 1.1rem; }
.feature strong { display: block; margin-bottom: .25rem; }
.press { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.press a { display: block; background: #fff; border-radius: 10px; padding: 6px; border: 1px solid var(--border); }
.press img { height: 54px; width: auto; display: block; }
.person { display: grid; grid-template-columns: 120px 1fr; gap: 1.25rem; align-items: start; }
.person img { border-radius: 50%; width: 120px; height: 120px; object-fit: cover; }
@media (max-width: 560px) { .person { grid-template-columns: 1fr; } }

.pricing { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.price-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.price-card--highlight { border: 2px solid var(--gruen-hell); box-shadow: var(--shadow); }
.price-card h2 { margin-bottom: .25rem; }
.price { font-size: 2rem; font-weight: 800; line-height: 1.1; margin: .5rem 0 .2rem; }
.price small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 1rem 0 1.25rem; display: grid; gap: .5rem; }
.checklist li { padding-left: 1.7rem; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--gruen); }
.price-card .btn { margin-top: auto; }

/* --- Formulare ------------------------------------------------------------------ */
.form { display: grid; gap: 1rem; max-width: 640px; }
.form-row { display: grid; gap: .35rem; }
.form label { font-weight: 600; font-size: .95rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  font: inherit; color: var(--text); background: var(--surface); border: 1px solid #c9d3df; border-radius: 12px; padding: .7rem .85rem; width: 100%;
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 3px rgba(0, 105, 180, .2); }
.form .hint { font-size: .85rem; color: var(--muted); }
.form-check { display: flex; gap: .6rem; align-items: flex-start; }
.form-check input { margin-top: .35rem; width: 18px; height: 18px; }

/* --- Footer --------------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; color: #b7cde2; font-size: .93rem; margin-top: clamp(32px, 6vw, 72px); background: radial-gradient(900px 340px at 10% 0%, rgba(0, 105, 180, .4), transparent 62%), radial-gradient(700px 320px at 100% 100%, rgba(0, 183, 255, .1), transparent 60%), var(--footer-bg); }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent 0%, var(--gold-hell) 50%, transparent 100%); opacity: .65; }
/* Weinglas als feines Wasserzeichen (Inline-SVG, gestochen scharf) */
.site-footer::after { content: ''; position: absolute; z-index: -1; right: max(2vw, calc((100% - var(--container)) / 2)); top: 40px; width: 110px; height: 220px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 120' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 6h40l-2 28c-1.6 17-9 26-18 26s-16.4-9-18-26z'/%3E%3Cpath d='M12.2 27h35.6M30 60v50M16 112h28'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .06; transform: rotate(12deg); pointer-events: none; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1.15fr; gap: 2.5rem; padding-block: clamp(40px, 6vw, 68px) clamp(30px, 4vw, 48px); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about, .footer-wirte { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { gap: 2rem 1.25rem; } }

.footer-brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; margin-bottom: 1.1rem; }
.footer-brand:hover { text-decoration: none; }
.footer-brand .brand-mark { width: 42px; height: 42px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 0 0 3px var(--footer-bg), 0 0 0 4px rgba(220, 193, 140, .55); }
.footer-brand .brand-mark img { width: 13px; height: 27px; }
.footer-brand:hover .brand-mark { transform: rotate(-10deg); }
.footer-brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: #fff; }
.footer-brand-name span { color: var(--gold-hell); }
.footer-about p { max-width: 40ch; line-height: 1.7; margin: 0; }

.site-footer h2 { display: flex; align-items: center; gap: .65rem; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--gold-hell); margin: .55rem 0 1.15rem; }
.site-footer h2::after { content: ''; flex: 0 0 24px; height: 1px; background: currentColor; opacity: .55; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer ul a { display: inline-block; color: #dce9f5; text-decoration: none; transition: color .2s, transform .2s; }
.site-footer ul a:hover { color: #fff; transform: translateX(3px); }

.footer-wirte p { line-height: 1.65; margin-bottom: 1.1rem; }
.footer-cta { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; color: #fff; padding: .65rem 1.1rem; border-radius: 999px; border: 1px solid rgba(220, 193, 140, .55); background: rgba(255, 255, 255, .04); transition: background-color .2s, border-color .2s; }
.footer-cta:hover { text-decoration: none; background: rgba(220, 193, 140, .14); border-color: var(--gold-hell); }
.footer-cta svg { width: 16px; height: 16px; transition: transform .2s; }
.footer-cta:hover svg { transform: translateX(3px); }

.social { display: flex; gap: .55rem; margin-top: 1.35rem; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); transition: background-color .2s, border-color .2s, transform .2s; }
.social a:hover { background: rgba(255, 255, 255, .12); border-color: var(--gold-hell); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; fill: #fff; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.25rem 1.6rem; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; align-items: center; font-size: .8rem; color: #8eabc6; }
.footer-bottom a { color: #cfe0ef; }
.footer-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; }
.footer-iso { display: inline-flex; opacity: .9; transition: opacity .2s; }
.footer-iso:hover { opacity: 1; }
.footer-iso img { display: block; width: 74px; height: auto; }

/* --- KI-Assistent ------------------------------------------------------------- */
.chat-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: .45rem; font: inherit; font-weight: 700; font-size: .92rem; color: #fff; background: var(--blau); border: 0; border-radius: 999px; padding: .7rem 1rem; box-shadow: 0 10px 30px -10px rgba(0, 51, 90, .7); cursor: pointer; }
.chat-fab:hover { background: var(--blau-700); }
@media (max-width: 520px) { .chat-fab-text { display: none; } .chat-fab { padding: .75rem .85rem; } }
.chat-dialog { width: min(420px, calc(100vw - 24px)); height: min(640px, calc(100dvh - 24px)); padding: 0; border: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); background: var(--surface); color: var(--text); }
.chat-dialog::backdrop { background: rgba(10, 20, 35, .45); }
.chat-dialog-head { display: flex; justify-content: space-between; align-items: center; padding: .6rem .9rem; background: var(--blau); color: #fff; }
.chat-close { background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.chat-dialog iframe { width: 100%; height: calc(100% - 46px); border: 0; display: block; }

/* --- 404 ------------------------------------------------------------------------ */
.notfound { text-align: center; padding-block: clamp(32px, 8vw, 96px); }
.notfound .big { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; line-height: 1; color: var(--blau); margin: 0; }
.notfound .search { margin: 1.5rem auto; }

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

/* Druck */
@media print {
  .site-header, .topbar, .site-footer, .sidebar, .ad-slot, .app-banner, .bs-map, .btn-row { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { background: none; color: #000; } .hero h1, .hero p { color: #000; } .hero::after { display: none; }
}
