﻿/* Helles, großes Design. Farben: Nachtblau, Stahlblau, Himmelblau, Sand, Bernstein */
:root {
  --bg: #FBF8F3;
  --card: #FFFFFF;
  --ink: #0B132B;
  --ink-2: #1C2541;
  --slate: #3A506B;
  --sky: #5BC0DE;
  --sky-soft: #E6F5FA;
  --sand: #F4D6B0;
  --sand-soft: #FBF0E1;
  --amber: #D97706;
  --amber-soft: #FDEFD9;
  --line: #E8DFD0;
  --ok: #1F7A4D; --ok-soft: #E3F4EA;
  --bad: #B42318; --bad-soft: #FDECEA;
  --r-xl: 32px; --r-lg: 24px; --r-md: 16px;
  --shadow: 0 1px 2px rgba(11, 19, 43, .05), 0 12px 32px rgba(11, 19, 43, .07);
  --shadow-lift: 0 2px 4px rgba(11, 19, 43, .06), 0 22px 48px rgba(11, 19, 43, .13);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.32, .72, 0, 1);   /* kritisch gedämpft: ruhig, ohne Überschwingen */
  --bounce: cubic-bezier(.34, 1.4, .64, 1); /* nur für Momente mit Schwung (Merken-Icon) */
  --hair: rgba(11, 19, 43, .09);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.125rem/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.025em; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
a { color: var(--slate); text-decoration-color: rgba(58, 80, 107, .35); text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--amber); }
::selection { background: var(--sand); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--slate); }
.small { font-size: .95rem; color: var(--slate); }

/* ---------- Kopfzeile ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .86); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid var(--line); animation: drop .7s var(--ease) both; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 1.45rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.brand i { width: 38px; height: 38px; border-radius: 12px; background: var(--ink); position: relative; display: block; }
.brand i::after { content: ""; position: absolute; left: 7px; right: 7px; top: 7px; height: 9px; border-radius: 4px 4px 2px 2px; background: var(--amber); }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a:not(.btn) { padding: 10px 16px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 500; transition: background .2s; }
.nav a:not(.btn):hover { background: var(--sand-soft); color: var(--ink); }
@keyframes drop { from { opacity: 0; transform: translateY(-16px); } }

/* ---------- Buttons ---------- */
.btn, button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  font-family: inherit; font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; line-height: 1; color: var(--ink); background: var(--amber); box-shadow: none;
  transition: transform .3s var(--spring), background-color .2s, filter .2s, box-shadow .2s; }
.btn:hover, button:hover { filter: brightness(1.06); box-shadow: none; color: var(--ink); }
.btn:active, button:active { transform: scale(.97); transition-duration: .08s; filter: brightness(.96); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: none; }
.btn-dark:hover { color: #fff; box-shadow: none; }
.btn-ghost { background: rgba(11, 19, 43, .06); color: var(--ink); box-shadow: none; }
.btn-ghost:hover { background: rgba(11, 19, 43, .1); box-shadow: none; filter: none; }
.btn-sky { background: var(--sky-soft); color: var(--ink-2); box-shadow: none; }
.btn-sky:hover { background: #d4eef7; box-shadow: none; color: var(--ink); }
.btn-red { background: var(--bad-soft); color: var(--bad); box-shadow: none; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .95rem; }
button:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Hero & Suche ---------- */
.hero { padding: 76px 0 36px; text-align: center; }
.eyebrow { display: inline-block; padding: 8px 18px; border-radius: 999px; background: var(--sky-soft); color: var(--ink-2); font-size: .95rem; font-weight: 600; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); letter-spacing: -.04em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--slate); max-width: 680px; margin: 0 auto 38px; }
.search { max-width: 920px; margin: 0 auto; padding: 14px; background: var(--card); border-radius: 999px; box-shadow: var(--shadow-lift); display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); }
.search label { flex: 1; display: block; padding-left: 22px; text-align: left; min-width: 0; }
.search label span { display: block; font-size: .8rem; font-weight: 600; color: var(--slate); letter-spacing: .04em; text-transform: uppercase; }
.search input { width: 100% !important; border: 0 !important; outline: 0; box-shadow: none !important; background: transparent !important; font-family: inherit; font-weight: 500; font-size: 1.3rem; line-height: 1.4; color: var(--ink); padding: 2px 0 !important; margin: 0 !important; min-height: 0 !important; border-radius: 0 !important; }
.search input::placeholder { color: #9aa7b8; }
.search .sep { width: 1px; align-self: stretch; background: var(--line); margin: 6px 0; }
.search button { min-height: 64px; padding: 0 38px; font-size: 1.15rem; }

/* ---------- Rubriken ---------- */
.section { padding: 28px 0 40px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.cat { display: flex; flex-direction: column; justify-content: space-between; min-height: 128px; padding: 22px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow); transition: transform .4s var(--spring), box-shadow .3s, border-color .2s, background .2s; }
.cat strong { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.015em; }
.cat span { font-size: .95rem; color: var(--slate); }
.cat:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--sky); color: var(--ink); }
.cat.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat.on span { color: var(--sand); }
.cat.zero { opacity: .6; }

/* ---------- Schaufenster-Karten ---------- */
.results { padding: 24px 0 70px; }
.results-head { margin-bottom: 26px; }
.results-head h2 { margin-bottom: 6px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .45s var(--spring), box-shadow .35s; animation: rise .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card .photo { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--sand-soft); overflow: hidden; }
.card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.card:hover .photo img { transform: scale(1.05); }
.card .awning { height: 14px; background: repeating-linear-gradient(90deg, var(--amber) 0 28px, var(--sand) 28px 56px); }
.card .body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card h3 { margin: 0; font-size: 1.5rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card .cat-tag { font-size: .9rem; font-weight: 600; color: var(--slate); }
.card .offer { display: inline-block; align-self: flex-start; padding: 8px 16px; background: var(--amber-soft); color: #8a4b00; border-radius: 999px; font-weight: 600; font-size: 1rem; }
.card .desc { color: var(--slate); margin: 0; }
.card .contact { display: grid; gap: 8px; font-size: 1.05rem; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.card .contact div { display: flex; gap: 12px; align-items: baseline; }
.card .contact b { min-width: 64px; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--slate); font-weight: 600; }
.card .contact a { color: var(--ink); font-weight: 500; }
.card .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mini { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; display: grid; gap: 6px; box-shadow: var(--shadow); transition: transform .35s var(--spring), box-shadow .3s; }
.mini:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.mini h3 { margin: 0; font-size: 1.2rem; }
.mini h3 a { color: var(--ink); text-decoration: none; }
.mini .line { color: var(--slate); font-size: 1rem; }
.minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 34px; }
.minis h3.group { grid-column: 1 / -1; margin: 0 0 -4px; font-size: 1.1rem; color: var(--slate); font-weight: 600; }
.promo { background: var(--sand-soft); border: 2px dashed var(--sand); border-radius: var(--r-xl); padding: 34px; display: flex; flex-direction: column; justify-content: center; gap: 14px; text-align: left; }
.promo h3 { margin: 0; }
.promo p { margin: 0; color: var(--slate); }
.empty { text-align: center; padding: 60px 24px; background: var(--card); border: 2px dashed var(--line); border-radius: var(--r-xl); color: var(--slate); }

/* ---------- Vorteile & Preise ---------- */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.benefit { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow); }
.benefit .num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--sky-soft); color: var(--ink-2); font-weight: 700; margin-bottom: 18px; }
.benefit p { color: var(--slate); margin: 0; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.plan { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-xl); padding: 38px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.pro { border: 2px solid var(--amber); box-shadow: var(--shadow-lift); position: relative; }
.plan .tag { position: absolute; top: -15px; left: 34px; background: var(--amber); color: var(--ink); font-weight: 700; font-size: .9rem; padding: 6px 16px; border-radius: 999px; }
.plan .price { font-size: 3rem; font-weight: 700; letter-spacing: -.04em; margin: 8px 0 20px; }
.plan .price small { font-size: 1.1rem; font-weight: 500; color: var(--slate); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px solid var(--line); }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--sky-soft); color: var(--ink-2); font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.plan .btn { width: 100%; }

/* ---------- Formulare ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); margin-bottom: 28px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
label.f { display: block; font-size: .95rem; font-weight: 600; color: var(--ink-2); }
label.f small { font-weight: 400; color: var(--slate); }
input:not([type=checkbox]):not([type=file]):not([type=radio]), select, textarea { display: block; width: 100%; margin-top: 8px; min-height: 56px; padding: 14px 18px; font-family: inherit; font-weight: 400; font-size: 1.1rem; line-height: 1.4; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--r-md); outline: none; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(91, 192, 222, .22); }
input[type=file] { display: block; width: 100%; margin-top: 8px; padding: 14px; border: 1.5px dashed var(--sand); border-radius: var(--r-md); background: var(--sand-soft); font: inherit; font-size: 1rem; }
input[type=checkbox], input[type=radio] { accent-color: var(--amber); width: 20px; height: 20px; vertical-align: -4px; margin-right: 10px; }
.check { display: block; margin: 22px 0; font-size: 1rem; }
.hp { position: absolute; left: -9999px; }
.planpick { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 10px 0 26px; }
.planpick label { display: block; padding: 22px 24px; border: 2px solid var(--line); border-radius: var(--r-lg); cursor: pointer; transition: border-color .2s, background .2s; }
.planpick label:has(input:checked) { border-color: var(--amber); background: var(--amber-soft); }
.planpick strong { font-size: 1.2rem; }
.err, .ok { padding: 16px 22px; border-radius: var(--r-md); margin-bottom: 22px; font-weight: 500; animation: rise .6s var(--ease); }
.err { background: var(--bad-soft); color: var(--bad); }
.ok { background: var(--ok-soft); color: var(--ok); }

/* ---------- Detailseite ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; padding: 50px 0 70px; }
.detail .hero-photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lift); aspect-ratio: 4 / 3; background: var(--sand-soft); }
.detail .hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.infobox { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.infobox dt { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--slate); font-weight: 600; }
.infobox dd { margin: 2px 0 0; font-size: 1.15rem; white-space: pre-line; }
.infobox dl { margin: 0; display: grid; gap: 16px; }
.crumbs { padding-top: 28px; font-size: .95rem; color: var(--slate); }

footer { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--slate); font-size: 1rem; background: #fff; }
footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

/* ---------- Admin & Konto (hell) ---------- */
.admin { max-width: 1240px; margin: 0 auto; padding: 36px 28px 90px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 30px; }
.tabs a { padding: 12px 22px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 600; background: #fff; border: 1px solid var(--line); transition: all .2s; }
.tabs a:hover { border-color: var(--slate); }
.tabs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs .push { margin-left: auto; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-bottom: 30px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); transition: transform .4s var(--spring); }
.stat:hover { transform: translateY(-4px); }
.stat span { display: block; color: var(--slate); font-size: .95rem; }
.stat b { display: block; font-size: 2.3rem; letter-spacing: -.04em; margin-top: 4px; }
.stat.hot b { color: var(--amber); }
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.filters input, .filters select { margin-top: 0; width: auto; min-width: 190px; min-height: 48px; }
.rows { display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 96px 1fr auto; gap: 22px; align-items: center; padding: 20px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); transition: transform .35s var(--spring), box-shadow .3s; }
.row:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.thumb { width: 96px; height: 76px; object-fit: cover; border-radius: 14px; background: var(--sand-soft); display: block; }
.row h3 { margin: 0 0 2px; font-size: 1.2rem; }
.row .meta { color: var(--slate); font-size: .98rem; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.row .actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.inline { display: inline; }
.badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; margin-left: 8px; vertical-align: 3px; }
.badge.live { background: var(--ok-soft); color: var(--ok); }
.badge.pending { background: var(--amber-soft); color: #8a4b00; }
.badge.rejected { background: #eef0f3; color: var(--slate); }
.badge.premium { background: var(--ink); color: #fff; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 99; padding: 16px 28px; border-radius: 999px; font-weight: 600; background: var(--ink); color: #fff; box-shadow: var(--shadow-lift); animation: toast 4.2s var(--ease) both; }
.toast.err { background: var(--bad); }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, 24px); } 10%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 16px); } }
.legal li { margin-bottom: .7em; }

/* ---------- Marke: Fix, das Schaufenster-Männchen ---------- */
.center { text-align: center; }
.brand b { font-weight: 700; }
.brand b span { color: var(--amber); }
.brand-icon { display: block; flex-shrink: 0; transition: transform .5s var(--spring); }
.brand:hover .brand-icon { transform: rotate(-6deg) scale(1.08); }
.mascot { display: block; margin: 0 auto; overflow: visible; }
.mascot .m-bob { animation: bob 3.4s ease-in-out infinite; }
.mascot .m-wave { transform-box: fill-box; transform-origin: 100% 100%; animation: wave 1.6s ease-in-out infinite; }
.mascot .m-pupils { animation: look 7s ease-in-out infinite; }
.mascot .m-eyes { transform-box: fill-box; transform-origin: center; animation: blink 5.5s infinite; }
@keyframes bob { 50% { transform: translateY(-5px); } }
@keyframes wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-16deg); } }
@keyframes look { 0%, 40%, 100% { transform: translateX(0); } 55%, 80% { transform: translateX(-3px); } }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.12); } }
.hero-mascot { margin-bottom: 10px; filter: drop-shadow(0 18px 22px rgba(11, 19, 43, .12)); }
.empty .mascot { margin-bottom: 14px; }
.foot-brand { display: flex; align-items: center; gap: 14px; }

/* ---------- Liste: Plätze, Basis-Einträge, Nachladen ---------- */
.cards { align-items: stretch; }
.rank { position: absolute; left: 16px; top: 16px; z-index: 2; background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem; padding: 6px 14px; border-radius: 999px; box-shadow: 0 6px 16px rgba(11, 19, 43, .25); }
.card .photo { display: grid; place-items: center; }
.card.slot { position: relative; background: var(--sand-soft); border: 2px dashed var(--sand); box-shadow: none; justify-content: center; min-height: 250px; }
.card.slot:hover { background: #fff; border-color: var(--amber); }
.card.slot .rank { background: var(--amber); color: var(--ink); }
.slot-body { padding: 66px 28px 30px; display: grid; gap: 10px; justify-items: start; }
.slot-price { font-size: 2.2rem; font-weight: 700; letter-spacing: -.04em; }
.slot-price small { font-size: 1rem; font-weight: 500; color: var(--slate); letter-spacing: 0; }
.slot-body p { margin: 0; }
.card.basic .body { padding: 22px 26px; gap: 6px; }
.card.basic h3 { font-size: 1.2rem; }
.more { text-align: center; padding: 38px 0 0; }

/* ---------- Preisleiter ---------- */
.ladder { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.rung { display: grid; grid-template-columns: 150px 1fr 110px; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 12px 22px; box-shadow: var(--shadow); }
.rung-name { font-weight: 600; }
.rung-bar { height: 12px; background: var(--sand-soft); border-radius: 999px; overflow: hidden; }
.rung-bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--sky), var(--amber)); border-radius: 999px; transform-origin: left; animation: grow 1.4s var(--ease) both; }
.rung-price { text-align: right; font-weight: 700; letter-spacing: -.02em; }
@keyframes grow { from { transform: scaleX(0); } }

/* ---------- Bestellseite ---------- */
.pickers { display: grid; grid-template-columns: 1fr 1fr auto; gap: 20px; align-items: end; max-width: 900px; margin: 0 auto 30px; }
.tier-head { display: flex; align-items: baseline; gap: 16px; margin: 30px 0 12px; padding: 12px 22px; border-radius: 999px; background: var(--sky-soft); }
.tier-head.top { background: var(--amber-soft); }
.tier-head strong { font-size: 1.15rem; }
.tier-head span { color: var(--slate); }
.tier-head em { margin-left: auto; font-style: normal; font-size: .85rem; font-weight: 700; color: #8a4b00; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.tile { position: relative; display: grid; gap: 2px; justify-items: center; padding: 16px 8px; background: var(--card); border: 2px solid var(--line); border-radius: var(--r-lg); cursor: pointer; text-align: center;
  transition: transform .35s var(--spring), border-color .2s, background .2s, box-shadow .3s; }
.tile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tile-n { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; }
.tile-s { font-size: .9rem; color: var(--slate); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.tile:hover:not(.busy) { transform: translateY(-4px); border-color: var(--sky); box-shadow: var(--shadow); }
.tile:has(input:checked) { background: var(--ink); border-color: var(--ink); transform: scale(1.04); box-shadow: var(--shadow-lift); }
.tile:has(input:checked) .tile-n, .tile:has(input:checked) .tile-s { color: #fff; }
.tile:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 3px; }
.tile.busy { background: #f3efe8; border-style: dashed; cursor: not-allowed; opacity: .7; }
.tile.busy .tile-n { color: #a39b8c; }
.sumbar { position: sticky; bottom: 18px; z-index: 40; margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 14px 14px 14px 30px; border-radius: 999px;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%); border: 1px solid var(--line); box-shadow: var(--shadow-lift); font-weight: 600; }
.voucher-box input { max-width: 340px; }
#voucherNote { min-height: 1.4em; margin: 8px 0 0; font-weight: 600; }

@media (max-width: 860px) {
  .pickers { grid-template-columns: 1fr; }
  .rung { grid-template-columns: 1fr auto; border-radius: var(--r-lg); }
  .rung-bar { display: none; }
  .tier-head { flex-wrap: wrap; border-radius: var(--r-lg); }
  .sumbar { border-radius: var(--r-xl); padding: 18px; }
  .sumbar button { width: 100%; }
}
@media (prefers-reduced-transparency: reduce) { .topbar, .sumbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } }
@media (prefers-contrast: more) { :root { --line: #b9ad98; } }

/* ---------- Suchleiste: Was, Rubrik, Ort, Umkreis ---------- */
.search { max-width: 1120px; }
.search label { flex: 1 1 0; }
.search .s-what { flex: 1.7 1 0; }
.search .s-cat { flex: 1.2 1 0; }
.search .s-city { flex: 1.3 1 0; }
.search .s-rad { flex: .9 1 0; }
.search label + label { border-left: 1px solid var(--line); padding-left: 22px; }
.search select { width: 100% !important; border: 0 !important; background-color: transparent !important; box-shadow: none !important; outline: 0; font-family: inherit; font-weight: 500; font-size: 1.15rem; line-height: 1.4; color: var(--ink); padding: 2px 26px 2px 0 !important; margin: 0 !important; min-height: 0 !important; border-radius: 0 !important; cursor: pointer;
  appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%) !important; background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55% !important; background-size: 6px 6px !important; background-repeat: no-repeat !important; }
.search label:focus-within span { color: var(--amber); }
@media (max-width: 1060px) {
  .search { flex-wrap: wrap; border-radius: var(--r-xl); padding: 18px; row-gap: 14px; }
  .search label { flex: 1 1 42%; min-width: 200px; }
  .search label + label { border-left: 0; padding-left: 22px; }
  .search button { flex: 1 1 100%; }
}
@media (max-width: 860px) { .search label { flex: 1 1 100%; } .search label + label { padding-left: 8px; border-top: 1px solid var(--line); padding-top: 12px; } }

/* ---------- Detail-Fenster (Popup) und Galerie ---------- */
.offer { display: inline-block; padding: 8px 16px; background: var(--amber-soft); color: #8a4b00; border-radius: 999px; font-weight: 600; }
.near-head { grid-column: 1 / -1; margin: 22px 0 -6px; font-size: 1.3rem; color: var(--slate); }
body.lock { overflow: hidden; }
.sheet { border: 0; padding: 0; background: var(--bg); color: var(--ink); width: min(1080px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 40px); border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 40px 120px rgba(11, 19, 43, .35); }
.sheet::backdrop { background: rgba(11, 19, 43, .42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sheet[open] { animation: sheet-in .6s var(--spring) both; }
.sheet[open]::backdrop { animation: fade-in .35s ease both; }
.sheet.closing { animation: sheet-out .22s ease-in both; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(44px) scale(.96); } }
@keyframes sheet-out { to { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes fade-in { from { opacity: 0; } }
.sheet-body { overflow: auto; max-height: calc(100dvh - 40px); padding: 40px; overscroll-behavior: contain; }
.sheet-close { position: absolute; right: 18px; top: 18px; z-index: 5; width: 46px; height: 46px; min-height: 46px; padding: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.7rem; line-height: 1; box-shadow: var(--shadow); }
.sheet-loading, .sheet-empty { padding: 70px 20px; text-align: center; color: var(--slate); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 38px; align-items: start; }
.detail-grid.no-gal { grid-template-columns: 1fr; max-width: 680px; }
.gal-main { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--sand-soft); box-shadow: var(--shadow); }
.gal-main img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .25s; }
.gal-main img.swap { opacity: 0; }
.gal-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.gal-thumb { padding: 0; min-height: 0; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: none; border: 2px solid transparent; opacity: .7; transition: opacity .2s, border-color .2s, transform .35s var(--spring); }
.gal-thumb:hover { transform: translateY(-2px); opacity: 1; box-shadow: none; }
.gal-thumb.on { border-color: var(--amber); opacity: 1; }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.d-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 10px 0 14px; padding-right: 50px; }
.d-text { font-size: 1.15rem; white-space: pre-line; }
.d-list { margin: 22px 0; display: grid; gap: 14px; }
.d-list dt { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--slate); font-weight: 600; }
.d-list dd { margin: 2px 0 0; font-size: 1.1rem; white-space: pre-line; }
.d-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.page-detail { padding: 24px 0 70px; }
.page-detail .detail-grid.no-gal { margin: 0 auto; }
.img-manage { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.img-card { position: relative; border-radius: var(--r-md); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.img-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.img-tag { position: absolute; left: 10px; top: 10px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.img-actions { display: flex; gap: 8px; padding: 10px; flex-wrap: wrap; }
.img-actions form { display: inline; }
@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .sheet { width: 100vw; margin: auto 0 0; max-height: 92dvh; border-radius: 28px 28px 0 0; }
  .sheet-body { padding: 26px 20px 34px; max-height: 92dvh; }
  .sheet[open] { animation-name: sheet-up; }
  @keyframes sheet-up { from { transform: translateY(100%); } }
}

/* ---------- Kompakte Vorschau-Karten (ca. 5 cm), Details im Popup ---------- */
.cards { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; align-items: start; }
.card { position: relative; border-radius: var(--r-lg); cursor: pointer; }
.card .awning { height: 7px; background: repeating-linear-gradient(90deg, var(--amber) 0 16px, var(--sand) 16px 32px); }
.card .photo { aspect-ratio: 1 / 1; }
.card .body { padding: 14px 16px 16px; gap: 6px; }
.card h3 { font-size: 1.1rem; line-height: 1.25; letter-spacing: -.015em; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .cat-tag { font-size: .8rem; }
.card .offer { padding: 4px 11px; font-size: .85rem; }
.card .desc { font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card.slot { min-height: 0; cursor: default; }
.slot-body { padding: 46px 16px 18px; }
.slot-price { font-size: 1.6rem; }
.card.basic .body { padding: 16px 18px; }
.card.basic h3 { font-size: 1.05rem; }
.rank { left: 10px; top: 10px; font-size: .78rem; padding: 4px 11px; }

/* ---------- Themen, Gruppen, Filter ---------- */
.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.theme { display: block; padding: 18px 20px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transition: transform .4s var(--spring), border-color .2s, box-shadow .3s, background .2s; }
.theme strong { display: block; font-size: 1.08rem; line-height: 1.25; letter-spacing: -.015em; }
.theme span { color: var(--slate); font-size: .9rem; }
.theme:hover { transform: translateY(-4px); border-color: var(--amber); box-shadow: var(--shadow-lift); color: var(--ink); }
.theme.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.theme.on span { color: var(--sand); }
.groups { display: grid; gap: 12px; }
.group { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.group > summary { cursor: pointer; list-style: none; padding: 18px 24px; font-weight: 700; font-size: 1.15rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.group > summary::-webkit-details-marker { display: none; }
.group > summary small { font-weight: 500; color: var(--slate); font-size: .9rem; }
.group > summary::after { content: "+"; font-size: 1.6rem; color: var(--amber); transition: transform .4s var(--spring); margin-left: auto; }
.group[open] > summary::after { transform: rotate(45deg); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 24px 22px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--sand-soft); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem; transition: background .2s, transform .3s var(--spring); }
.pill small { color: var(--slate); }
.pill:hover { background: var(--sky-soft); transform: translateY(-2px); color: var(--ink); }
.pill.on { background: var(--ink); color: #fff; }
.pill.on small { color: var(--sand); }
.pill.zero { opacity: .55; }
.filters-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; }
.filters-row .lbl { font-size: .9rem; font-weight: 600; color: var(--slate); margin-right: 4px; }
.chip { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500; transition: all .2s; }
.chip:hover { border-color: var(--slate); color: var(--ink); }
.chip.on { background: var(--amber-soft); border-color: var(--amber); color: #8a4b00; }
.tagpick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.tagchip { position: relative; display: inline-block; font-size: 1rem; color: var(--ink-2); }
.tagchip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; width: 100%; height: 100%; }
.tagchip span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; transition: all .2s; }
.tagchip:hover span { border-color: var(--slate); }
.tagchip input:checked + span { background: var(--amber-soft); border-color: var(--amber); color: #8a4b00; font-weight: 600; }
.tagchip input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.d-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.d-tags span { padding: 5px 13px; border-radius: 999px; background: var(--sky-soft); color: var(--ink-2); font-size: .9rem; font-weight: 500; }
.login-box { max-width: 480px; margin: 0 auto; }
.mini-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }

/* ---------- Gefuehrte Startseite, Navigation, Hinweisleiste ---------- */
.announce { background: var(--ink); color: var(--sand); text-align: center; padding: 9px 18px; font-size: .95rem; font-weight: 500; }
.nav-sos { color: var(--bad) !important; font-weight: 700 !important; }
.nav-sos:hover { background: var(--bad-soft) !important; }
.nav-fav { min-height: 0; padding: 10px 16px; border-radius: 999px; background: transparent; box-shadow: none; color: var(--ink-2); font-weight: 500; font-size: 1rem; }
.nav-fav:hover { background: var(--sand-soft); box-shadow: none; transform: none; color: var(--ink); }
.nav-fav span { display: inline-block; min-width: 22px; padding: 0 7px; margin-left: 4px; border-radius: 999px; background: var(--amber); color: var(--ink); font-size: .8rem; line-height: 22px; text-align: center; }
.hero h1 em[data-rot] { display: inline-block; transition: opacity .35s, transform .35s var(--ease); }
.hero h1 em[data-rot].out { opacity: 0; transform: translateY(10px); }
.steps-mini { display: flex; gap: 10px 22px; justify-content: center; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 26px; color: var(--slate); font-weight: 500; }
.steps-mini b { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 6px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .9rem; }
.popular { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; margin-top: 22px; }
.popular .lbl, .filters-row .lbl { font-size: .9rem; font-weight: 600; color: var(--slate); }
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.q-tile { display: block; padding: 24px 26px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-xl); text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transition: transform .45s var(--spring), border-color .2s, box-shadow .3s; }
.q-tile strong { display: block; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 6px; }
.q-tile span { color: var(--slate); font-size: .98rem; }
.q-tile:hover { transform: translateY(-5px); border-color: var(--amber); box-shadow: var(--shadow-lift); color: var(--ink); }
.q-tile.sos { background: var(--bad-soft); border-color: #f3c3bd; }
.q-tile.sos strong { color: var(--bad); }
.q-tile.sos:hover { border-color: var(--bad); }
.notice { background: var(--amber-soft); border: 1px solid var(--sand); border-radius: var(--r-md); padding: 14px 18px; margin: 14px 0 4px; font-size: .98rem; color: #6b3a00; }
.notice a { color: #6b3a00; }

/* ---------- 5 Karten nebeneinander, 30 pro Seite ---------- */
.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.open-dot { position: absolute; left: 10px; bottom: 10px; z-index: 2; background: var(--ok); color: #fff; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.tick, .badge-ok { color: var(--ok); font-weight: 700; }
.badge-ok { background: var(--ok-soft); padding: 5px 13px; border-radius: 999px; font-size: .85rem; }
.d-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.state { padding: 5px 13px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.state.open { background: var(--ok-soft); color: var(--ok); }
.state.closed { background: #eef0f3; color: var(--slate); }
.d-small-actions { display: flex; gap: 18px; margin: 4px 0 14px; }
.btn-link { min-height: 0; padding: 4px 0; background: none; box-shadow: none; color: var(--slate); font-weight: 600; font-size: 1rem; border-radius: 0; text-decoration: underline; text-underline-offset: 3px; }
.btn-link:hover { background: none; box-shadow: none; transform: none; color: var(--amber); }
.btn-link.on { color: var(--bad); }

/* ---------- Cookie-Hinweis ---------- */
.cookie { position: fixed; left: 50%; bottom: 20px; z-index: 120; width: min(720px, calc(100vw - 28px)); transform: translate(-50%, 140%); opacity: 0; transition: transform .6s var(--spring), opacity .4s; }
.cookie.show { transform: translate(-50%, 0); opacity: 1; }
.cookie-in { background: rgba(255, 255, 255, .92); backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px 28px; box-shadow: 0 30px 80px rgba(11, 19, 43, .25); }
.cookie h3 { font-size: 1.2rem; margin-bottom: 6px; }
.cookie p { margin: 0 0 14px; font-size: .98rem; color: var(--slate); }
.cookie .check { margin: 8px 0; font-size: .95rem; }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cookie-btns button { min-height: 46px; padding: 0 22px; font-size: .98rem; }

/* ---------- Karte, Merkliste, Vorschlaege ---------- */
.map-sheet { width: min(960px, calc(100vw - 32px)); }
.map-tools { display: grid; grid-template-columns: 1.6fr .8fr auto auto; gap: 12px; align-items: end; margin: 14px 0; }
.map-tools button { min-height: 56px; }
.map-frame { position: relative; height: min(56vh, 460px); border-radius: var(--r-lg); overflow: hidden; background: var(--sand-soft); border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-consent { height: 100%; display: grid; place-content: center; justify-items: center; text-align: center; gap: 4px; padding: 20px; }
.map-consent p { margin: 0 0 6px; }
.fav-sheet { width: min(560px, calc(100vw - 32px)); }
.fav-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fav-row a { text-decoration: none; color: var(--ink); }
.s-what { position: relative; }
.sug { position: absolute; left: -22px; right: -22px; top: calc(100% + 18px); z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lift); padding: 8px; text-align: left; max-height: 420px; overflow: auto; }
.sug a { display: flex; gap: 14px; align-items: center; padding: 11px 14px; border-radius: 14px; color: var(--ink); text-decoration: none; font-size: 1rem; }
.sug a:hover, .sug a.hl { background: var(--sand-soft); }
.sug small { color: var(--slate); }
.sug-t { flex: 0 0 82px; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; color: var(--amber); }

/* ---------- FAQ, Kontakt, Rechtstexte, Fusszeile ---------- */
.faq-list { display: grid; gap: 10px; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0 24px; transition: border-color .25s, box-shadow .25s; }
.faq[open] { border-color: var(--sky); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 34px 18px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--amber); transition: transform .4s var(--spring); }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { color: var(--slate); padding-bottom: 20px; margin: 0; animation: rise .5s var(--ease); }
.faq-area { margin-top: 38px; }
.faq-area h2 { font-size: 1.5rem; }
.faq-search input { margin-top: 0; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.wish { margin-top: 28px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal address { font-style: normal; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 20px; line-height: 1.7; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 12px 0; display: block; overflow-x: auto; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
footer { padding: 54px 0 36px; }
footer .wrap { display: block; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.foot-grid h4 { margin: 0 0 12px; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.foot-grid a { display: block; margin-bottom: 8px; color: var(--slate); text-decoration: none; }
.foot-grid a:hover { color: var(--amber); }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-credit { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .95rem; }
.foot-credit a { color: var(--ink); font-weight: 700; }
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .map-tools { grid-template-columns: 1fr; }
  .nav-sos { display: inline-block !important; }
  .sug { left: 0; right: 0; }
}

/* ---------- Oeffnungszeiten-Editor, Admin-Kleinteile ---------- */
.hours-edit { display: grid; gap: 8px; margin-top: 10px; }
.hours-row { display: grid; grid-template-columns: 110px 1fr auto 1fr auto 1fr auto 1fr; gap: 8px; align-items: center; }
.hours-row span { font-weight: 600; }
.hours-row i, .hours-row em { font-style: normal; color: var(--slate); font-size: .9rem; }
.hours-row input { margin-top: 0 !important; min-height: 44px !important; padding: 8px 10px !important; }
@media (max-width: 860px) { .hours-row { grid-template-columns: 90px 1fr auto 1fr; } .hours-row em, .hours-row input:nth-of-type(n+3), .hours-row i:nth-of-type(n+2) { grid-column: auto; } }
.mini-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.row.msg.unread { border-left: 5px solid var(--amber); }

/* ---------- Animation ---------- */
.fade-up { animation: rise 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + .1s); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  body { font-size: 1.05rem; }
  .wrap { padding: 0 18px; }
  .nav a:not(.btn) { display: none; }
  .search { flex-direction: column; border-radius: var(--r-xl); align-items: stretch; padding: 18px; }
  .search label { padding: 6px 8px; }
  .search .sep { width: auto; height: 1px; margin: 0; }
  .search button { width: 100%; }
  .detail { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: 1fr; }
  .row { grid-template-columns: 76px 1fr; }
  .row .actions { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ================= Runde: Aktion, Merk-Maskottchen, Profil, Bewertungen, Premium ================= */

/* Aktionszeile mit Stern */
.offer { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; font-weight: 700;
  background: linear-gradient(135deg, #FFE7B8, #FFD07A); color: #5a2f00; border: 1.5px dashed #D97706; box-shadow: 0 6px 18px rgba(217, 119, 6, .22); line-height: 1.25; }
.offer-star { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #D97706; color: #fff; font-style: normal; font-size: 1rem;
  animation: star-pulse 2.6s ease-in-out infinite; }
.offer-text { display: grid; }
.offer-text small { font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #9a4f00; }
.card .offer { align-self: stretch; display: flex; padding: 6px 12px 6px 6px; font-size: .88rem; }
.card .offer-star { width: 24px; height: 24px; font-size: .8rem; }
.offer-text { min-width: 0; }
.card .offer-msg { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@keyframes star-pulse { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.14) rotate(14deg); } }
@media (prefers-reduced-motion: reduce) { .offer-star { animation: none; } }

/* Fix als Merk-Icon */
.fixico { width: 28px; height: 28px; flex: none; display: block; --fx-body: transparent; --fx-awn: #fff; --fx-line: var(--slate); --fx-eye: transparent; --fx-pup: var(--slate); transition: transform .4s var(--spring); }
.on > .fixico, .fav-mini.on .fixico, [data-fav].on .fixico { --fx-body: #FBF0E1; --fx-awn: #D97706; --fx-line: #0B132B; --fx-eye: #fff; --fx-pup: #0B132B; }
.fav-mini { position: absolute; top: 8px; right: 8px; z-index: 3; width: 40px; height: 40px; min-height: 0; padding: 5px; border-radius: 50%; background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 14px rgba(11, 19, 43, .18); display: grid; place-items: center; }
.fav-mini:hover { transform: scale(1.1); background: #fff; box-shadow: 0 6px 18px rgba(11, 19, 43, .25); }
.fav-mini { width: 46px; height: 46px; padding: 4px; }
.fav-mini .fixico { width: 38px; height: 38px; }
.fav-mini.pop .fixico, .fav-text.pop .fixico { animation: fix-pop .55s var(--spring); }
.fav-mini.pop .fixico, .fav-text.pop .fixico { animation-timing-function: var(--bounce); }
@keyframes fix-pop { 0% { transform: scale(.7) rotate(-12deg); } 60% { transform: scale(1.35) rotate(8deg); } 100% { transform: scale(1) rotate(0); } }
.fav-text { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.fav-text.on { color: var(--ink); }
.nav-fav { display: inline-flex; align-items: center; gap: 6px; }
.nav-fav .fixico { width: 26px; height: 26px; }
.card.basic .fav-mini { top: 50%; transform: translateY(-50%); }
.card.basic .fav-mini:hover { transform: translateY(-50%) scale(1.1); }
.card.basic .body { padding-right: 62px; }

/* Profil */
.seg { display: flex; gap: 6px; padding: 5px; margin: 16px 0; background: var(--sand-soft); border-radius: 999px; }
.seg a { flex: 1; text-align: center; padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--slate); font-weight: 600; transition: background .25s, color .25s; }
.seg a.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.prof-head { display: flex; align-items: center; gap: 22px; }
.fav-sec { margin: 26px 0 0; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.fav-cat { margin: 6px 0 12px; font-size: 1.25rem; }
.fav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.fav-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); transition: transform .35s var(--spring); }
.fav-card:hover { transform: translateY(-3px); }
.fav-card a { display: grid; gap: 2px; text-decoration: none; color: var(--ink); min-width: 0; }
.fav-card .fav-mini { position: static; flex: none; }

/* Sterne und Bewertungen */
.stars::before { content: "★★★★★"; }
.stars { --v: 0%; display: inline-block; font-size: 1.05rem; letter-spacing: 2px; line-height: 1; background: linear-gradient(90deg, #D97706 var(--v), #D9D2C5 0); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.card-rate { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--slate); }
.reviews { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.rev-sum { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.rev-big { display: grid; gap: 2px; justify-items: start; }
.rev-big b { font-size: 2.6rem; line-height: 1; letter-spacing: -.03em; }
.rev-bars { display: grid; gap: 4px; flex: 1; min-width: 200px; font-size: .85rem; color: var(--slate); }
.rev-bars > div { display: grid; grid-template-columns: 34px 1fr 24px; gap: 8px; align-items: center; }
.rev-bars i { height: 8px; border-radius: 99px; background: var(--sand-soft); overflow: hidden; }
.rev-bars u { display: block; height: 100%; background: var(--amber); text-decoration: none; }
.rev { padding: 16px 0; border-top: 1px solid var(--line); }
.rev-head { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.rev-title { font-weight: 700; margin: 6px 0 2px; }
.rev-body { margin: 4px 0; }
.rev-reply { margin: 10px 0 4px 14px; padding: 10px 14px; background: var(--sand-soft); border-left: 3px solid var(--amber); border-radius: 0 var(--r-md) var(--r-md) 0; }
.rev-reply p { margin: 4px 0 0; }
.rev-report { display: inline; }
.rev-report .btn-link { font-size: .8rem; font-weight: 500; }
.rev-form { margin: 18px 0; }
.rev-form summary { cursor: pointer; display: inline-block; list-style: none; }
.rev-form form { margin-top: 16px; display: grid; gap: 4px; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin-bottom: 10px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 2rem; line-height: 1; color: #D9D2C5; cursor: pointer; transition: color .15s, transform .25s var(--spring); }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #D97706; }
.star-input label:hover { transform: scale(1.18); }

/* Premium-Kauf: Wertstufen und Laufzeit */
.tier-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tier-card { padding: 22px; background: var(--card); border: 2px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.tier-card.on, .tier-card:has(input:checked) { border-color: var(--amber); background: var(--amber-soft); }
.years { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.year { display: grid; gap: 2px; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--r-md); cursor: pointer; text-align: center; background: #fff; transition: border-color .2s, background .2s, transform .3s var(--spring); }
.year:hover { transform: translateY(-2px); }
.year:has(input:checked) { border-color: var(--amber); background: var(--amber-soft); }
.year input { position: absolute; opacity: 0; }

/* Rubrik-Baum und Ortssuche */
.subgroup { margin: 18px 0 8px; }
.subtitle { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.pill.all { background: var(--ink); color: #fff; }
.geo-wrap { position: relative; }
.geo-wrap .sug { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; max-height: 320px; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lift, 0 20px 50px rgba(11, 19, 43, .2)); }
.geo-wrap .sug button { display: grid; width: 100%; min-height: 0; padding: 10px 16px; text-align: left; border-radius: 0; background: transparent; box-shadow: none; color: var(--ink); font-weight: 500; }
.geo-wrap .sug button:hover, .geo-wrap .sug button.on { background: var(--sand-soft); transform: none; box-shadow: none; }
.geo-wrap .sug small { color: var(--slate); font-weight: 400; }

/* ---------- Feinschliff: Premium-Seite, Formulare ---------- */
button, input, select, textarea { font-family: inherit; }
.tier-cards { margin-bottom: 28px; }
.tier-card { display: grid; align-content: start; gap: 4px; }
.tier-card > span.small:first-child { font-weight: 700; color: var(--ink-2); font-size: 1.05rem; }
.tier-card strong { font-size: 2.1rem; letter-spacing: -.03em; line-height: 1.1; margin-top: 6px; }
.tier-card p.small { margin: 10px 0 0; }
.panel.pickers { align-items: end; }
.panel.pickers button { min-height: 56px; }
.year { position: relative; align-content: center; }
.year .y-n { font-weight: 700; font-size: 1.1rem; }
.year .y-p { font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; }
.year .y-s { font-size: .85rem; color: var(--slate); }
.year em { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: .75rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--amber); color: var(--ink); white-space: nowrap; }
.grid2 { align-items: end; }
@media (max-width: 1100px) {
  .topbar .wrap { padding: 0 16px; gap: 8px; }
  .nav { gap: 2px; }
  .nav a:not(.btn), .nav-fav { padding: 8px 10px; font-size: 1rem; }
  .brand { font-size: 1.3rem; }
}
.panel.pickers { max-width: none; margin: 0 0 30px; }
.years { margin-top: 18px; }
.years + p.small { margin-top: 16px; }
.rev-form summary.btn { display: inline-flex; }
.d-actions .btn, .d-actions button { font-size: 1rem; }

/* ================= Apple-Design-Schicht =================
   Prinzipien: ein Button-System (Primär gefüllt, Sekundär getönt, Tertiär Text), 8-Punkt-Raster,
   Typografie mit Größe-abhängigem Zeichenabstand, gruppierte Listen mit Haarlinien, ruhige Bewegung. */

body { font-size: 1.0625rem; line-height: 1.5; letter-spacing: -.005em; }
h1 { letter-spacing: -.035em; line-height: 1.05; }
h2 { letter-spacing: -.028em; line-height: 1.1; }
h3 { letter-spacing: -.018em; line-height: 1.2; }
.small, small { letter-spacing: .005em; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.45; color: var(--slate); max-width: 36em; margin-left: auto; margin-right: auto; }
.center .lead, .lead.center { text-align: center; }

/* Kopfzeile: Material statt harter Linie */
.topbar { border-bottom: 0; box-shadow: 0 .5px 0 var(--hair); }
.nav a:not(.btn) { font-size: 1rem; letter-spacing: -.01em; }

/* Rhythmus der Abschnitte */
.section { padding: var(--s7) 0 var(--s6); }
.section-head { align-items: baseline; margin-bottom: var(--s5); }
.section-head .small { max-width: 26em; text-align: right; }
.hero { padding: var(--s8) 0 var(--s5); }
.hero .lead { margin-bottom: var(--s5); }
.steps-mini { font-size: .95rem; margin-bottom: var(--s5); }
.popular, .filters-row { gap: var(--s2); }
.popular { margin-top: var(--s5); }
.filters-row { margin-top: var(--s4); }
.results-head { margin-bottom: var(--s5); }
.results-head .muted { margin-bottom: var(--s3); }

/* Button-Gruppen: gleich hoch, gleich breit verteilt, klarer Abstand */
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; margin-top: var(--s5); }
.btn-row.center { justify-content: center; }
p:has(> a.btn ~ a.btn) { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.more { padding-top: var(--s6); }

/* Chips und Pillen: eine Höhe, eine Schrift */
.pill, .chip { min-height: 36px; padding: 0 14px; font-size: .95rem; line-height: 1; display: inline-flex; align-items: center; }
.chip { border-color: var(--hair); }
.chip:hover { border-color: var(--slate); }

/* Kacheln und Karten: ruhig und einheitlich */
.q-tile, .theme, .cat { padding: 18px 20px; border: 1px solid var(--hair); box-shadow: var(--shadow); }
.q-tile strong, .theme strong { font-size: 1.05rem; font-weight: 600; letter-spacing: -.015em; margin-bottom: 4px; }
.q-tile span, .theme span { font-size: .92rem; line-height: 1.4; }
.q-tile:hover, .theme:hover, .cat:hover, .mini:hover, .stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.q-tile.sos { border-color: #f3c3bd; }
.card { border: 1px solid var(--hair); }
.card:hover { transform: translateY(-3px); }
.group > summary { font-size: 1.05rem; font-weight: 600; padding: 16px 22px; }
.group { border: 1px solid var(--hair); }
.subgroup { margin: var(--s4) 0 var(--s2); padding: 0 24px; }
.subgroup .pills { padding-left: 0; padding-right: 0; }

/* Ohne Galerie ist das Fenster schmal und zentriert, statt halb leer zu wirken */
.sheet:has(.detail-grid.no-gal) { width: min(640px, calc(100vw - 32px)); }
.detail-grid.no-gal { max-width: none; }
.page-detail .detail-grid.no-gal { max-width: 640px; }

/* Detailansicht: gruppierte Liste, zwei gleich große Aktionen, Text-Aktionen darunter */
.sheet { border-radius: var(--r-xl); background: rgba(251, 248, 243, .94); backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%); }
.sheet-close { background: rgba(11, 19, 43, .07); box-shadow: none; font-size: 1.4rem; }
.sheet-close:hover { background: rgba(11, 19, 43, .12); filter: none; }
.d-badges { gap: var(--s2); }
.d-title { margin: var(--s3) 0 var(--s2); letter-spacing: -.03em; }
.d-text { font-size: 1.1rem; line-height: 1.5; color: var(--ink-2); margin: 0 0 var(--s4); }
.d-list { margin: var(--s5) 0 0; gap: 0; border-top: 1px solid var(--hair); }
.d-list > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: var(--s4); align-items: baseline; padding: var(--s3) 0; border-bottom: 1px solid var(--hair); }
.d-list dt { font-size: .78rem; letter-spacing: .06em; }
.d-list dd { margin: 0; font-size: 1.05rem; }
.d-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin: var(--s5) 0 var(--s3); }
.d-actions:has(> :only-child) { grid-template-columns: 1fr; }
.d-actions .btn, .d-actions button { width: 100%; }
.d-small-actions { justify-content: center; align-items: center; gap: var(--s5); margin: 0 0 var(--s4); padding-bottom: var(--s4); border-bottom: 1px solid var(--hair); }
.d-info > .small { margin: 0 0 var(--s2); }
.d-info > .small:last-child { margin-bottom: 0; }
.notice { margin: var(--s4) 0 0; }
.btn-link { font-size: .95rem; font-weight: 600; }
.reviews { margin-top: var(--s6); padding-top: var(--s6); }
.reviews > h3 { margin-bottom: var(--s3); }
.rev-form { margin: var(--s5) 0 var(--s4); }
.rev-form summary { min-height: 46px; padding: 0 22px; }
.rev-form form { margin-top: var(--s5); }

/* Formulare: Beschriftung, Feld, Hilfetext in fester Folge */
.panel { border: 1px solid var(--hair); padding: clamp(24px, 4vw, 40px); }
.panel > h2, .panel > h3:first-child { font-size: 1.5rem; margin-bottom: var(--s4); }
label.f { font-size: .9rem; font-weight: 600; letter-spacing: 0; }
label.f small { font-size: .85rem; }
input:not([type=checkbox]):not([type=file]):not([type=radio]), select, textarea { min-height: 52px; margin-top: 6px; border: 1px solid var(--line); border-radius: var(--r-md); font-size: 1.0625rem; }
input:focus, select:focus, textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(91, 192, 222, .2); }
.grid2 { gap: var(--s4) var(--s5); }
.check { margin: var(--s5) 0 var(--s4); line-height: 1.45; }
form > button[type=submit], .panel > button[type=submit], .panel form > button[type=submit] { margin-top: var(--s2); }
.err, .ok { border-radius: var(--r-md); }

/* Premium-Übersicht */
.tier-cards { gap: var(--s4); }
.tier-card { border: 1px solid var(--hair); }
.tier-card p.small { padding-top: var(--s3); border-top: 1px solid var(--hair); margin-top: var(--s3); }
.years { gap: var(--s3); }
.year { border: 1.5px solid var(--hair); }
.sumbar { border: 1px solid var(--hair); }

/* Fußzeile */
.foot-grid h4 { letter-spacing: .08em; }

/* Barrierefreiheit: weniger Material, weniger Bewegung */
@media (prefers-reduced-transparency: reduce) { .sheet { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (prefers-reduced-motion: reduce) { .btn:active, button:active { transform: none; } .q-tile:hover, .theme:hover, .cat:hover, .card:hover { transform: none; } }
@media (max-width: 860px) {
  .section-head .small { text-align: left; }
  .d-list > div { grid-template-columns: 1fr; gap: 2px; }
  .d-actions { grid-template-columns: 1fr; }
  .hero { padding: var(--s7) 0 var(--s4); }
}



/* ================= Neue Bausteine: Wartung, Betrieb, Aktionen, Statistik, Aufsteller ================= */

/* Wartungsseite */
.maint { text-align: center; padding-top: 14vh; padding-bottom: 12vh; }
.maint h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin: var(--s4) 0 var(--s3); }
.maint-until { display: inline-block; padding: 8px 18px; border-radius: 999px; background: var(--amber-soft); color: #8a4b00; font-weight: 600; margin-bottom: var(--s4); }
.maint-bar { background: var(--bad) !important; color: #fff !important; }
.maint-bar a { color: #fff; text-decoration: underline; }

/* Admin: Betriebsansichten */
.ops-state { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4) 18px; border-radius: var(--r-md); background: var(--sand-soft); margin-bottom: var(--s5); }
.ops-state p { margin: 2px 0 0; }
.ops-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; margin-top: 7px; background: #b8b2a6; }
.ops-state.on { background: var(--bad-soft); }
.ops-state.on .ops-dot { background: var(--bad); box-shadow: 0 0 0 5px rgba(180, 35, 24, .18); }
.ops-state.on-good { background: var(--ok-soft); }
.ops-state.on-good .ops-dot { background: var(--ok); box-shadow: 0 0 0 5px rgba(31, 122, 77, .18); }
.mini-list { margin-top: var(--s4); }
.qr-box { display: flex; gap: var(--s5); align-items: center; flex-wrap: wrap; margin: var(--s4) 0; }
#qr { background: #fff; padding: 10px; border-radius: 12px; line-height: 0; }
#qr img, #qr canvas { max-width: 100%; height: auto; }
.secret { display: inline-block; padding: 8px 12px; border-radius: 10px; background: var(--sand-soft); letter-spacing: .08em; font-size: 1rem; }

/* Startseite: Standort, Überraschung, Aktionen */
.quick-actions { display: flex; gap: var(--s2); justify-content: center; flex-wrap: wrap; margin-top: var(--s4); }
.quick-actions svg { flex: none; }
.locate-msg { text-align: center; margin: var(--s2) 0 0; }
.deals { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--s4); }
.deal { display: flex; flex-direction: column; gap: var(--s2); padding: 18px 20px; background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .3s var(--spring), box-shadow .25s; }
.deal:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); color: var(--ink); }
.deal-cat { font-size: .78rem; font-weight: 600; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; }
.deal strong { font-size: 1.15rem; letter-spacing: -.015em; line-height: 1.25; }
.deal .offer { align-self: stretch; }
.mascot.track .m-pupils { animation: none; transform: translate(calc(var(--px, 0) * 4px), calc(var(--py, 0) * 3px)); transition: transform .18s ease-out; }

/* Statistik im Kundenkonto */
.stats-panel .stats { margin-bottom: 0; }
.stats-panel .stat small { display: block; color: var(--slate); font-size: .85rem; margin-top: 2px; }
.spark { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; align-items: end; height: 84px; margin-top: var(--s5); }
.spark span { display: block; height: max(4px, var(--h)); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--amber), #f3c581); }

/* Bewertungs-Aufsteller (Druckseite) */
.stand-body { background: #efe9de; }
.stand-bar { display: flex; justify-content: space-between; align-items: center; max-width: 210mm; margin: 16px auto; padding: 0 12px; }
.stand { width: 210mm; max-width: 100%; min-height: 297mm; margin: 0 auto 24px; background: #FBF8F3; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24mm 18mm; box-shadow: var(--shadow-lift); -webkit-print-color-adjust: exact; print-color-adjust: exact; color: #0B132B; }
.stand-awning { align-self: stretch; margin: 0 -24mm 12mm; height: 18mm; background: repeating-linear-gradient(90deg, #D97706 0 22mm, #fff 22mm 44mm); }
.stand h1 { font-size: 44pt; margin: 8mm 0 4mm; }
.stand-sub { font-size: 16pt; max-width: 140mm; color: #3A506B; }
.stand-qr { padding: 8mm; background: #fff; border-radius: 8mm; margin: 6mm 0 4mm; box-shadow: 0 2px 12px rgba(11, 19, 43, .12); }
.stand-qr #qr { padding: 0; line-height: 0; }
.stand-step { font-size: 14pt; font-weight: 600; }
.stand-name { font-size: 22pt; font-weight: 700; margin: auto 0 2mm; letter-spacing: -.02em; }
.stand-url { font-size: 12pt; color: #3A506B; margin: 0; }
@media print { .stand { box-shadow: none; margin: 0; width: 210mm; height: 297mm; } }

/* ================= Dunkelmodus (folgt der Einstellung des Geräts) ================= */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0E1424; --card: #172037; --ink: #EEF1F8; --ink-2: #D9DFEE; --slate: #A9B5CC;
    --sky: #5BC0DE; --sky-soft: #1A3441; --sand: #5B4A32; --sand-soft: #231F1D; --amber-soft: #3A2A12;
    --line: #2A3552; --hair: rgba(255, 255, 255, .1);
    --ok: #4CC38A; --ok-soft: #12301F; --bad: #FF7A6E; --bad-soft: #3A1714;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .28);
    --shadow-lift: 0 2px 6px rgba(0, 0, 0, .35), 0 18px 40px rgba(0, 0, 0, .4);
  }
  /* Fläche, die hell bleibt: Text darauf bleibt dunkel */
  .btn, button, .plan .tag, .nav-fav span, .search button, .year em { color: #0B132B; }
  .btn:hover, button:hover { color: #0B132B; }
  .btn-ghost, .btn-sky { background: rgba(255, 255, 255, .09); color: var(--ink); }
  .btn-ghost:hover, .btn-sky:hover { background: rgba(255, 255, 255, .15); color: var(--ink); }
  .nav-fav, .fav-mini, .gal-thumb, .btn-link, .sheet-close { color: var(--ink); }
  .btn-red { background: var(--bad-soft); color: var(--bad); }
  /* Umgekehrte Flächen (heller Grund, dunkle Schrift) */
  .cat.on, .theme.on, .pill.on, .pill.all, .tabs a.on, .btn-dark, .tile:has(input:checked), .badge.premium, .rank, .steps-mini b, .toast { background: #E6EBF7; color: #0B132B; }
  .cat.on span, .theme.on span, .pill.on small { color: #3A506B; }
  .tile:has(input:checked) .tile-n, .tile:has(input:checked) .tile-s { color: #0B132B; }
  .announce { background: #1D2A4A; color: var(--sand); }
  .toast.err { background: var(--bad); color: #0B132B; }
  .brand i { background: #E6EBF7; }
  /* Oberflächen */
  .topbar { background: rgba(14, 20, 36, .78); }
  .sheet { background: rgba(23, 32, 55, .94); }
  .sheet-close { background: rgba(255, 255, 255, .1); }
  .sheet::backdrop { background: rgba(0, 0, 0, .6); }
  .cookie-in, .sug, .sumbar { background: rgba(23, 32, 55, .94); }
  footer { background: #0A0F1D; }
  input:not([type=checkbox]):not([type=file]):not([type=radio]), select, textarea, .chip, .tagchip span, .year, .gal-thumb, .img-card, .tabs a, .seg a.on, .faq, .group, .row, .panel, .tile, .plan { background: var(--card); color: var(--ink); }
  .chip.on, .tagchip input:checked + span { background: var(--amber-soft); color: #F5C77E; }
  input::placeholder, textarea::placeholder { color: #7585A3; }
  .search { background: var(--card); }
  .search input, .search select { background: transparent !important; }
  .search input::placeholder { color: #7585A3; }
  .pill { background: #232D47; color: var(--ink); }
  .pill:hover { background: #2D3A5C; }
  .year:has(input:checked), .tier-card:has(input:checked), .planpick label:has(input:checked) { background: var(--amber-soft); }
  .card.slot { background: #1C2236; }
  .card.slot:hover { background: var(--card); }
  .tile.busy { background: #11182A; }
  .offer { color: #3A1F00; }
  .offer-text small { color: #7A3E00; }
  .card .offer { color: #3A1F00; }
  .state.closed, .badge.rejected { background: #232D47; color: var(--slate); }
  .notice { background: var(--amber-soft); border-color: #5A4222; color: #F0D3A6; }
  .notice a { color: #F0D3A6; }
  .q-tile.sos { background: var(--bad-soft); border-color: #5E2A26; }
  .stars { background: linear-gradient(90deg, #F59E0B var(--v), #3B4766 0); -webkit-background-clip: text; background-clip: text; }
  .mascot { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .55)); }
  .hero-mascot { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .55)) drop-shadow(0 18px 22px rgba(0, 0, 0, .35)); }
  .legal address { background: var(--card); }
  .spark span { background: linear-gradient(180deg, #F59E0B, #8A5A12); }
  .ok { color: var(--ok); } .err { color: var(--bad); }
  #qr { background: #fff; }
  .stand, .stand-qr { background-color: #FBF8F3; }
  a { text-decoration-color: rgba(169, 181, 204, .4); }
  .hero h1 em, .eyebrow { color: #F59E0B; }
  .eyebrow { background: var(--sky-soft); color: var(--ink-2); }
}
@media print { :root { color-scheme: light; } }


/* ================= Handy: Kopfzeile, Fußbereich, Cookie-Hinweis ================= */
.s-short { display: none; }
.foot-grid { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); }
.foot-grid a { overflow-wrap: anywhere; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .topbar .wrap { height: 64px; padding: 0 14px; gap: 6px; }
  .brand { font-size: 1.2rem; gap: 8px; }
  .brand-icon { width: 34px; height: 34px; }
  .nav { gap: 2px; }
  .nav .btn-sm { padding: 0 12px; font-size: .9rem; min-height: 36px; }
  .s-long { display: none; }
  .s-short { display: inline; }
  .nav-sos { padding: 8px 8px !important; font-size: .95rem; }
  .nav-fav { font-size: 0; padding: 8px 6px; gap: 2px; }
  .nav-fav span { font-size: .8rem; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .cookie { bottom: 10px; }
  .cookie-in { padding: 16px 16px 14px; }
  .cookie h3 { font-size: 1.05rem; }
  .cookie p { font-size: .88rem; margin-bottom: 10px; }
  .cookie .check { font-size: .88rem; margin: 6px 0; }
  .cookie-btns { gap: 8px; }
  .cookie-btns button { flex: 1 1 calc(50% - 4px); min-height: 42px; padding: 0 10px; font-size: .9rem; }
  .cookie-btns a, .cookie-btns .btn-link { flex: 1 1 100%; text-align: center; }
}

/* ---------- Feinschliff: ruhige, suchzentrierte Startseite ---------- */
.hero { padding-top: clamp(40px, 9vh, 96px); }
.hero .lead { margin-bottom: 30px; }
.search { transition: box-shadow .25s ease, border-color .25s ease; }
.search:hover { box-shadow: var(--shadow-lift), 0 0 0 1px var(--line); }
.search:focus-within { border-color: var(--amber); box-shadow: var(--shadow-lift), 0 0 0 4px rgba(255, 170, 0, .18); }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
.search input:focus-visible, .search select:focus-visible { outline: 0; }
@media (max-width: 760px) {
  .search { border-radius: 24px; flex-direction: column; align-items: stretch; padding: 12px; gap: 6px; }
  .search label, .search label + label { border-left: 0; padding: 10px 14px; border-top: 1px solid var(--line); }
  .search label:first-of-type { border-top: 0; }
  .search button { width: 100%; min-height: 56px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } }

/* ---------- Familien: Sofort-Filter und Badges ---------- */
.quick-filter { display: flex; flex-direction: column; gap: 10px; align-items: center; margin: 0 auto 26px; }
.qf-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.qf { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; transition: background .2s, border-color .2s, transform .2s; }
.qf:hover { border-color: var(--amber); transform: translateY(-1px); color: var(--ink); }
.qf.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.fam-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fam-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: var(--sand-soft, #f3ece0); color: var(--ink); font-size: .82rem; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.fam-badge i { font-style: normal; }
.fam-badge.age { background: var(--sky-soft, #e6f5fa); }
.fam-pick { border: 0; padding: 0; margin: 22px 0 0; }
.fam-pick legend { font-weight: 600; font-size: .95rem; padding: 0; }
.fam-pick legend small { font-weight: 400; color: var(--slate); }
@media (max-width: 520px) { .qf { width: 100%; justify-content: center; } .qf-row { width: 100%; } }
