/* direktabholung.de — light, airy design system. No framework, no web fonts. */
:root {
  --ink: #1c2033;
  --ink-2: #3b4056;
  --muted: #626779;
  --line: #ececf0;
  --bg: #ffffff;
  --soft: #f4f9e8;
  --field: #f3f4f6;
  --brand: #2a7a58;
  --brand-ink: #1c593b;
  --brand-light: #3f8f6c;
  --brand-deep: #144d37;
  --brand-50: #eaf8c7;
  --warm: #e8742a;
  --warm-50: #fff1e6;
  --warm-ink: #a84b0c;  /* text/fill on warm surfaces: >= 5:1 */
  --danger: #c2372f;
  --danger-50: #fdeeed;
  --warning: #9a5b00;
  --warning-50: #fff6e0;
  --info: #2b59c3;
  --info-50: #eef3fd;
  --success: #1b5e20;
  --success-50: #eaf8c7;
  --radius: 18px;
  --shadow: 0 1px 2px rgb(28 32 51 / 0.04), 0 8px 24px rgb(28 32 51 / 0.06);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem); }
h2 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); }
h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(600px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.stack > * + * { margin-top: 1.1rem; }
.row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.spread { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 99; background: var(--bg); padding: 8px 12px; border-radius: 10px; }
main { padding: 28px 0 80px; min-height: 60vh; }
.h2 { font-size: 1.4rem; }

/* Header */
.site-header { background: rgb(255 255 255 / .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .container { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.03em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: auto; flex: none; }
.logo span b { color: var(--brand); font-weight: 800; }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .logo span b { background: linear-gradient(135deg, #3a9270 0%, var(--brand) 60%, #23704f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.wordmark small { font-size: .7rem; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-top: 3px; }
@media (max-width: 560px) { .wordmark small { display: none; } }
.nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav a.icon { position: relative; padding: 9px; border-radius: 999px; color: var(--ink); display: inline-flex; }
.nav a.icon:hover { background: var(--soft); text-decoration: none; }
.nav svg { width: 22px; height: 22px; }

/* Preview note (only on preview deployments) */
.preview-bar { background: var(--soft); color: var(--muted); font-size: .8rem; text-align: center; }
.preview-bar .container { padding: 5px 0; }
.preview-bar strong { color: var(--info); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; line-height: 1.2; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { border-color: var(--ink-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, #353b55 0%, var(--ink) 70%); border-color: transparent; color: #fff; box-shadow: 0 1px 2px rgb(28 32 51 / .12), 0 6px 16px -8px rgb(28 32 51 / .45); }
.btn-primary:hover { background: linear-gradient(135deg, #2c3148 0%, #161a2b 70%); border-color: transparent; }
.btn-green { background: linear-gradient(135deg, #2e8361 0%, var(--brand) 55%, #23704f 100%); border-color: transparent; color: #fff; box-shadow: 0 1px 2px rgb(20 77 55 / .12), 0 6px 16px -6px rgb(42 122 88 / .45); }
.btn-green:hover { background: linear-gradient(135deg, #2a7a58 0%, #256f50 60%, #1f6346 100%); border-color: transparent; box-shadow: 0 1px 2px rgb(20 77 55 / .14), 0 8px 20px -6px rgb(42 122 88 / .5); }
.btn-danger { color: var(--danger); }
.btn-block { width: 100%; white-space: normal; text-align: center; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand-ink); font: inherit; cursor: pointer; text-decoration: underline; }

/* Forms */
label { display: block; font-weight: 650; margin-bottom: 6px; font-size: .95rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=search], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid transparent; border-radius: 14px; background: var(--field); color: var(--ink); font: inherit;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
input:hover, select:hover, textarea:hover { background: #eeeff2; }
input:focus, select:focus, textarea:focus { outline: 2px solid transparent; background: var(--bg); border-color: var(--brand-ink); box-shadow: 0 0 0 1px var(--brand-ink); }
input[type=checkbox]:focus-visible, input[type=radio]:focus-visible, input[type=file]:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 2px; box-shadow: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 2px; }
::placeholder { color: var(--muted); opacity: 1; }
textarea { resize: vertical; }
.field { margin-bottom: 18px; }
.field .help { color: var(--muted); font-size: .85rem; margin-top: 6px; }
.errorlist { color: var(--danger); list-style: none; padding: 0; margin: 6px 0 0; font-size: .9rem; }
.choices { display: grid; gap: 8px; }
.choices label, .check label { font-weight: 500; display: flex; gap: 10px; align-items: flex-start; }
.choices input, .check input { margin-top: 5px; accent-color: var(--brand); }
.inline-choices .choices { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.card { background: var(--bg); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.card.flush { padding: 0; overflow: hidden; }

/* Notices */
.alert { border-radius: 16px; padding: 14px 16px; margin-bottom: 14px; font-size: .95rem; }
.alert-success { background: var(--success-50); color: var(--success); }
.alert-error, .alert-danger { background: var(--danger-50); color: var(--danger); }
.alert-warning { background: var(--warning-50); color: var(--warning); }
.alert-info { background: var(--info-50); color: var(--info); }
.alert strong { display: block; margin-bottom: 2px; }

/* Hero + search */
.hero { padding: 56px 0 28px; }
.hero h1 { max-width: 15ch; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.searchbar { display: grid; grid-template-columns: 1.4fr .9fr .9fr auto auto; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: var(--shadow); }
.searchbar input, .searchbar select { background: transparent; border-radius: 999px; }
.searchbar input:hover, .searchbar select:hover { background: var(--soft); }
.searchbar input:focus, .searchbar select:focus { box-shadow: none; border-color: transparent; background: var(--soft); }
.searchbar .place-input, .searchbar .cat-select { border-left: 1px solid var(--line); }
.searchbar .cat-select { width: 100%; border-radius: 0; }
.searchbar select { width: auto; border-left: 1px solid var(--line); border-radius: 0; }
@media (max-width: 720px) {
  .searchbar { grid-template-columns: 1fr 1fr; border-radius: 24px; gap: 4px; }
  .searchbar #sb-q, .searchbar .cat-select { grid-column: 1 / -1; }
  .searchbar .cat-select { border-left: 0; }
  .searchbar .place-input { border-left: 0; }
  .searchbar .btn { grid-column: 1 / -1; }
}
.promises { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; color: var(--muted); font-size: .92rem; padding: 0; list-style: none; }
.promises li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: 6px; }
.place-input { position: relative; }
.suggestions { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--bg); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); z-index: 30; list-style: none; margin: 0; padding: 6px; }
.suggestions:empty { display: none; }
.suggestions a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); }
.suggestions a:hover, .suggestions a:focus { background: var(--soft); text-decoration: none; }

/* Category chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 6px 2px 14px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: .92rem; font-weight: 600; border: 1px solid transparent; }
.chip:hover { background: #e9f3d6; text-decoration: none; }
.chip.active { background: var(--ink); color: #fff; }
.chip.free { background: var(--warm-50); color: var(--warm-ink); }
.chip.free.active { background: var(--warm-ink); color: #fff; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin: 18px 0 10px; }
.filters .field { margin: 0; min-width: 130px; flex: 1; }
.filters .field.q { flex: 3; min-width: 220px; }
.more-filters { flex-basis: 100%; }
.more-filters summary { cursor: pointer; color: var(--muted); font-size: .9rem; font-weight: 600; list-style: none; }
.more-filters summary::after { content: " ▾"; }
.more-filters .filters { margin-top: 8px; }

/* Listing grid & cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 28px 20px; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; } }
.lc { color: var(--ink); display: flex; flex-direction: column; }
.lc:hover { text-decoration: none; }
.lc .ph { aspect-ratio: 4 / 3; background: var(--soft); position: relative; border-radius: var(--radius); overflow: hidden; }
.lc .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.lc:hover .ph img { transform: scale(1.04); }
.lc .ph .noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); font-size: .85rem; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.lc .badge { position: absolute; left: 10px; top: 10px; }
.badge-free { background: var(--warm-ink); color: #fff; }
.badge-reserved { background: var(--ink); color: #fff; }
.badge-verified { background: var(--brand-50); color: var(--brand-ink); }
.badge-demo { background: rgb(255 255 255 / .9); color: var(--info); box-shadow: 0 1px 3px rgb(0 0 0 / .08); }
.lc .body { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 2px; }
.lc .price { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.lc .title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink-2); }
.lc .loc { color: var(--muted); font-size: .82rem; }

/* Town page: category sidebar + results */
.with-sidebar { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; margin-top: 22px; align-items: start; }
.cat-nav { position: sticky; top: 88px; font-size: .92rem; }
.cat-nav h2 { margin-bottom: 8px; }
.cat-nav ul { list-style: none; margin: 0; padding: 0; }
.cat-nav li { padding: 4px 0; }
.cat-nav li ul { margin: 4px 0 4px 26px; }
.cat-nav a { color: var(--ink-2); }
.cat-nav a.active { color: var(--brand-ink); font-weight: 750; }
.cat-nav li.empty > a { color: var(--muted); }
.cat-nav .count { color: var(--muted); font-size: .8rem; }
.chips-mobile { display: none; }
.results-bar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.results-bar > p { margin: 0; }
.results-bar .more-filters { flex-basis: auto; }
.results-bar .more-filters[open] { flex-basis: 100%; order: 3; }
@media (max-width: 880px) {
  .with-sidebar { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cat-nav { display: none; }
  .chips-mobile { display: flex; }
}

/* Favourites */
.lc-wrap { position: relative; }
.fav { position: absolute; right: 10px; top: 10px; margin: 0; }
.fav-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .92); color: var(--ink); font-size: 1.15rem; line-height: 36px; text-align: center; cursor: pointer; box-shadow: 0 1px 3px rgb(0 0 0 / .12); display: block; padding: 0; }
.fav-btn:hover { text-decoration: none; transform: scale(1.06); }
.fav-btn.on { color: var(--danger); }

/* Detail */
.detail { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 40px; align-items: start; margin-top: 12px; }
@media (max-width: 880px) { .detail { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; border-radius: 24px; scrollbar-width: none; }
.gallery img { scroll-snap-align: center; flex: none; width: 100%; max-height: 600px; object-fit: cover; border-radius: 24px; background: var(--soft); }
.thumbs { display: flex; gap: 8px; margin: 10px 0 20px; overflow-x: auto; }
.thumbs a img, .thumbs label img { width: 76px; height: 57px; object-fit: cover; border-radius: 12px; }
.detail h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin-top: 18px; }
.price-big { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 20px; margin: 20px 0 28px; padding: 18px 20px; list-style: none; background: var(--soft); border-radius: var(--radius); }
.facts li span { display: block; color: var(--muted); font-size: .8rem; }
.description { white-space: pre-line; overflow-wrap: anywhere; font-size: 1.02rem; color: var(--ink-2); }
.side { position: sticky; top: 88px; display: grid; gap: 16px; }
.side .card { padding: 22px; }
.side ul { padding-left: 1.1em; margin: 0; }
.seller { display: flex; gap: 12px; align-items: center; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--brand-50); color: var(--brand-ink); display: grid; place-items: center; font-weight: 800; flex: none; }

/* Chat */
.chat { display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow-y: auto; padding: 16px; background: var(--soft); border-radius: 24px; }
.msg { max-width: 80%; padding: 10px 14px; border-radius: 18px; background: var(--bg); overflow-wrap: anywhere; white-space: pre-line; box-shadow: 0 1px 2px rgb(0 0 0 / .04); }
.msg.mine { align-self: flex-end; background: var(--ink); color: #fff; }
.msg.mine time { color: rgb(255 255 255 / .65); }
.msg time { display: block; font-size: .72rem; color: var(--muted); margin-top: 3px; }
.notice { align-self: stretch; }
.composer { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 12px; align-items: end; }
.thread-row { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--ink); }
.thread-row:last-child { border-bottom: 0; }
.thread-row:hover { background: var(--soft); text-decoration: none; }
.thread-row img { width: 60px; height: 45px; object-fit: cover; border-radius: 10px; }
.thread-row.unread strong { color: var(--brand-ink); }

/* Pickup appointment + handover */
.pickup { padding: 18px 20px; }
.pickup summary { cursor: pointer; }
.pickup-form { margin-top: 10px; }
.pickup-form select, .pickup-form input { width: auto; flex: 1; min-width: 200px; }
.handover { border-top: 1px solid var(--line); padding-top: 12px; }
.handover p { margin: 8px 0 0; }
.check-inline { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; }
.check-inline input { margin-top: 5px; accent-color: var(--brand); }
.qr { display: grid; place-items: center; background: #fff; border-radius: 24px; padding: 18px; }
.qr svg { width: min(78vw, 300px); height: auto; }
.handover-code { font-size: 2.2rem; font-weight: 800; letter-spacing: .12em; text-align: center; margin: 0; }
.windows-grid { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 8px 12px; align-items: center; }
.windows-grid input { padding: 9px 12px; }
.protocol dl { display: grid; grid-template-columns: 170px 1fr; gap: 8px 16px; margin: 0; }
.protocol dt { color: var(--muted); }
.protocol dd { margin: 0; font-weight: 600; }
@media (max-width: 520px) { .protocol dl { grid-template-columns: 1fr; } .windows-grid { grid-template-columns: 90px 1fr 1fr; } }
@media print { .site-header, .site-footer, .preview-bar, .no-print { display: none !important; } main { padding: 0; } }

/* Dashboard lists */
.list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.list li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.list li:last-child { border-bottom: 0; }
.list img { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; }
.list .grow { flex: 1; min-width: 160px; }

/* Sections */
.pagination { display: flex; gap: 8px; justify-content: center; margin: 36px 0; }
.band { background: var(--soft); padding: 48px 0; margin: 48px 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--muted); margin: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 8px 0 18px; }
.section-head h2 { margin: 0; }
.prose { max-width: 740px; }
.prose h2 { margin-top: 1.6em; }
.seo-text { margin-top: 56px; color: var(--muted); font-size: .95rem; }
.seo-text h2 { color: var(--ink); font-size: 1.25rem; }
.cities { columns: 4 180px; padding: 0; list-style: none; }
.cities li { margin-bottom: 6px; }
.cities a { color: var(--ink-2); }

/* Home: hero with illustration */
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 750; letter-spacing: .02em; color: var(--brand-ink); background: var(--brand-50); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero-split .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.hero-split h1 { max-width: 14ch; }
.hero-art img { width: 100%; height: auto; }
.hero-search { grid-column: 1 / -1; max-width: 880px; }
.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 0; }
@media (max-width: 880px) {
  .hero-split .container { grid-template-columns: 1fr; gap: 12px; }
  /* Phones: headline + search first (visitors from social links), illustration below. */
  .hero-art { order: 3; max-width: 460px; margin: 0 auto; }
  .hero .lead { font-size: 1rem; margin-bottom: 12px; }
  .eyebrow { margin-bottom: 10px; }
}
.scams { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 18px; }
.scam { background: var(--bg); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.scam p { margin: 0; color: var(--ink-2); }
.scam .scam-trick { font-weight: 750; color: var(--ink); margin-bottom: 8px; text-decoration: line-through; text-decoration-color: var(--danger); text-decoration-thickness: 2px; }
.step-art { width: 150px; height: 150px; margin: 0 0 6px -10px; }
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 56px 0; }
.price-card { border: 1px solid var(--line); border-radius: 24px; padding: 26px 28px; }
.price-card .eyebrow { margin-bottom: 8px; }
.price-card .price-big { margin: 0 0 6px; }
.price-card p { color: var(--ink-2); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; margin: 24px 0 8px; }
.features p { color: var(--muted); margin: 0; }
.band-inset { border-radius: 28px; padding: 32px; margin: 40px 0; }
.numbered { padding-left: 1.2em; }
.numbered li { margin-bottom: 8px; }
code { background: var(--soft); padding: 2px 6px; border-radius: 6px; font-size: .88em; }
.tag-trader { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--ink-2); background: var(--soft); border-radius: 6px; padding: 0 6px; margin-right: 2px; }
.imprint summary { cursor: pointer; font-weight: 650; }
.report { white-space: pre-wrap; font-size: .82rem; background: var(--soft); padding: 10px 12px; border-radius: 12px; margin: 8px 0 0; }

/* Paid add-ons */
.lc.hl .ph { box-shadow: 0 0 0 3px var(--warm); }
.tag-hl { display: inline-block; font-size: .7rem; font-weight: 700; color: var(--warm-ink); background: var(--warm-50); border-radius: 6px; padding: 0 6px; vertical-align: 2px; }
.boost { border-top: 1px solid var(--line); padding-top: 14px; }
.boost form { margin: 0; }

/* Flea market dates */
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-bottom: 28px; }
.events-strip { margin: 6px 0 22px; }
.event { display: flex; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.event h3 { margin: 0 0 4px; }
.event p { margin: 0 0 4px; }
.event-kind { font-size: .75rem; font-weight: 700; color: var(--warm-ink); }
.event-date { flex: none; width: 56px; text-align: center; background: var(--warm-50); color: var(--warm-ink); border-radius: 14px; padding: 6px 0; line-height: 1.15; font-size: .75rem; font-weight: 700; align-self: flex-start; }
.event-date strong { display: block; font-size: 1.5rem; color: var(--ink); }

/* Benefits matrix */
.stack-lg > * + * { margin-top: 56px; }
.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 24px; margin-bottom: 18px; }
.matrix { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.matrix th, .matrix td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.matrix thead th { background: var(--soft); font-size: 1rem; font-weight: 800; }
.matrix thead th span { display: block; font-size: .78rem; font-weight: 600; color: var(--brand-ink); }
.matrix td { text-align: center; width: 24%; font-weight: 650; white-space: nowrap; }
.matrix tbody th { font-weight: 500; color: var(--ink-2); }
.matrix .group th { background: #fbfbf9; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-top: 18px; }
.matrix td.y { color: var(--brand-ink); }
.matrix td.n { color: var(--muted); }
.matrix tbody tr:last-child > * { border-bottom: 0; }
.matrix-compare thead th:nth-child(2) { color: var(--brand-ink); }
.matrix-compare { min-width: 900px; font-size: .88rem; }
.matrix-compare td { width: auto; white-space: normal; font-weight: 600; }
.matrix-compare td:nth-child(2) { background: var(--brand-50); }
.matrix-compare th[scope=row] { min-width: 180px; }
.sources { padding-left: 1.3em; margin: 0 0 8px; }
.sources li { margin-bottom: 2px; }
@media (max-width: 560px) { .matrix td { white-space: normal; } .matrix th, .matrix td { padding: 10px 10px; } }

/* Footer */
.site-footer { background: var(--soft); padding: 48px 0 36px; font-size: .92rem; color: var(--muted); }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
@media (max-width: 720px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); }

/* Small screens */
@media (max-width: 480px) {
  .site-header .container { gap: 8px; min-height: 60px; }
  .logo { font-size: 1.02rem; }
  .logo-mark { width: 30px; }
  .nav .btn-sm { padding: 7px 12px; }
  .hero { padding: 32px 0 20px; }
  .filters .field.q { min-width: 100%; }
  main { padding-top: 16px; }
  .card { padding: 20px; border-radius: 20px; }
}
.center { text-align: center; }

/* Accessibility & small screens (audit 2026-09-27) */
html { scroll-padding-top: 84px; }  /* sticky header must not cover focused elements / anchors */
.results { min-width: 0; }
.fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fieldset legend { font-weight: 650; font-size: .95rem; margin-bottom: 6px; padding: 0; }
@media (pointer: coarse) {
  .btn-sm { min-height: 44px; }
  .nav a.icon { padding: 11px; }
  .fav-btn { width: 44px; height: 44px; line-height: 44px; }
  .more-filters summary { padding: 10px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .lc:hover .ph img, .fav-btn:hover, .btn:active { transform: none; }
}
/* Narrow phones: keep the wordmark, compact the nav (after the coarse-pointer block on purpose). */
@media (max-width: 420px) {
  .logo { font-size: 1rem; gap: 6px; }
  .logo-mark { width: 28px; }
  .nav { gap: 2px; }
  .nav .btn-sm { padding: 7px 12px; }
  .nav a.icon { padding: 8px; }
  .hide-xs { display: none; }
}
@media (max-width: 340px) { .wordmark { display: none; } }
/* Listing detail on phones: the contact card sits below photos + description -> sticky shortcut to it. */
.mobile-cta { display: none; }
@media (max-width: 880px) { .mobile-cta { display: flex; position: sticky; bottom: 12px; z-index: 10; margin: 12px 0; } }
/* Home hero: dark emerald with the doorstep scene in a round frame */
.hero-dark { --hero-bg: #1b5f4b; background: var(--hero-bg); color: #fff; margin-top: -28px; padding: 56px 0 44px; overflow: hidden; }
.hero-dark h1 { color: #fff; }
.hero-dark .lead { color: rgb(255 255 255 / .85); }
.hero-dark .eyebrow { background: rgb(255 255 255 / .12); color: var(--brand-50); }
.hero-dark .hero-actions .btn { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .3); color: #fff; }
.hero-dark .promises { color: rgb(255 255 255 / .85); }
.hero-dark .promises li::before { color: var(--brand-50); }
.hero-dark .promises a { color: #fff; text-decoration: underline; }
.hero-dark a:focus-visible, .hero-dark button:focus-visible { outline-color: var(--brand-50); }
.hero-round { display: block; justify-self: center; width: min(440px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 10px rgb(255 255 255 / .12), 0 28px 56px -24px rgb(0 0 0 / .45); }
.hero-round img { width: 100%; height: 100%; object-fit: cover; object-position: 53% 60%; transform: scale(1.02); }
@media (max-width: 880px) { .hero-dark { padding-top: 24px; } .hero-round { width: min(300px, 78vw); } }
.address-box { margin: 0; padding: 12px 14px; background: var(--brand-50); color: var(--brand-deep); border-radius: 14px; }
.booking { padding: 14px; border: 1px solid var(--brand-50); background: var(--soft); border-radius: 16px; }
/* Reading flow: balanced headings, no ragged single words, never hyphenate or split words */
h1, h2, h3, .lead { text-wrap: balance; }
p, li, td, th { text-wrap: pretty; hyphens: manual; overflow-wrap: normal; word-break: normal; }
.nowrap { white-space: nowrap; }
.hero-split h1 { max-width: none; }

/* Trust bar above the header (all pages) */
.trust-bar { background: var(--brand-deep); color: rgb(255 255 255 / .9); font-size: .82rem; font-weight: 600; }
.trust-bar ul { list-style: none; margin: 0 auto; padding: 7px 0; display: flex; justify-content: center; gap: 6px 22px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.trust-bar ul::-webkit-scrollbar { display: none; }
.trust-bar li::before { content: "✓"; color: var(--brand-50); margin-right: 6px; font-weight: 800; }
.trust-bar li:last-child::before { content: none; }
.trust-bar a { color: #fff; text-decoration: underline; }
@media (max-width: 880px) { .trust-bar ul { justify-content: flex-start; } }

/* Comparison tables: headers aligned with their columns, even weights */
.matrix thead th:not(:first-child) { text-align: center; }
.matrix-compare td { font-weight: 600; min-width: 128px; line-height: 1.4; }
.matrix-compare thead th { vertical-align: bottom; }
.matrix-compare sup { font-weight: 500; }
.matrix-compare td { font-weight: 500; color: var(--ink-2); }
.matrix-compare td.n { color: var(--muted); }
.matrix-compare td:nth-child(2) { font-weight: 700; color: var(--brand-ink); }
.matrix-compare th[scope=row] { min-width: 250px; }
/* GPS button inside the PLZ field (replaces the separate "In meiner Nähe" button) */
.place-input { position: relative; }
.place-input input { padding-right: 44px; }
.geo-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--brand); cursor: pointer; }
.geo-btn:hover { background: var(--brand-50); }
.geo-btn[disabled] { opacity: .5; cursor: progress; }
.geo-btn svg { width: 20px; height: 20px; }
[hidden] { display: none !important; }  /* components with display rules must still honour hidden */
