/* Unternehmen Lüneburg – Branchenbuch
   Gestaltung: Backstein (Hansestadt), Heide-Violett (Lüneburger Heide), Salzweiß (Salzstadt) */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #222328;
  --ink-soft: #46434b;
  --muted: #67626b;
  --brick: #761542;
  --brick-dark: #5a0f32;
  --brick-tint: #f6ecef;
  --heide: #761542;
  --heide-dark: #5a0f32;
  --heide-tint: #f6ecef;
  --salt: #f8f5f6;
  --paper: #ffffff;
  --line: #e6dee2;
  --open: #23704f;
  --open-tint: #e3f1ea;
  --warn: #9c5a12;
  --danger: #a32a1f;
  --radius-s: 4px;
  --radius-m: 8px;
  --wrap: 1180px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.65rem;
  --step-3: 2.1rem;
  --step-4: clamp(2.3rem, 5.2vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: var(--step-0); line-height: 1.55; color: var(--ink); background: var(--paper); font-stretch: 100%; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--heide); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--heide-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--heide); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 0.5em; font-stretch: 78%; font-weight: 780; letter-spacing: -0.005em; }
h1 { font-size: var(--step-4); font-weight: 820; letter-spacing: -0.015em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-stretch: 85%; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
small, .small { font-size: var(--step--1); }
.muted { color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-2); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 99; }
.skip:focus { left: 0.5rem; top: 0.5rem; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Kopfbereich ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 0.55rem; color: var(--brick); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--brick-dark); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; }
.brand-text { font-stretch: 70%; font-weight: 850; font-size: 1.3rem; line-height: 0.95; display: flex; flex-direction: column; letter-spacing: 0.005em; }
.brand-text span:last-child { color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 1.5rem; flex: 1; }
.main-nav ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; }
.main-nav ul a { color: var(--ink); text-decoration: none; font-weight: 560; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.main-nav ul a:hover, .main-nav ul a[aria-current] { border-bottom-color: var(--brick); color: var(--ink); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.link-quiet { color: var(--ink-soft); text-decoration: none; font-weight: 560; }
.link-quiet:hover { color: var(--ink); text-decoration: underline; }
.nav-toggle { display: none; margin-left: auto; font: inherit; font-weight: 650; background: none; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0.45rem 0.9rem; color: var(--ink); cursor: pointer; }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 0.5rem 1.25rem 1.25rem; box-shadow: 0 12px 24px rgba(31, 38, 51, 0.08); }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .nav-actions { margin: 0.75rem 0 0; flex-wrap: wrap; }
}

/* ---------- Buttons & Formulare ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; font: inherit; font-weight: 680; font-size: 1rem; line-height: 1.2; padding: 0.8rem 1.25rem; border-radius: var(--radius-s); border: 2px solid var(--heide); background: var(--heide); color: #fff; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--heide-dark); border-color: var(--heide-dark); color: #fff; text-decoration: none; }
.btn-small { padding: 0.5rem 0.9rem; font-size: 0.95rem; }
.btn-ghost { background: transparent; color: var(--heide); }
.btn-ghost:hover { background: var(--heide-tint); color: var(--heide-dark); }
.btn-brick { background: var(--brick); border-color: var(--brick); }
.btn-brick:hover { background: var(--brick-dark); border-color: var(--brick-dark); }
.btn-danger { background: var(--paper); border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.btn-link { background: none; border: 0; padding: 0; font: inherit; color: var(--heide); text-decoration: underline; cursor: pointer; }

label { display: block; font-weight: 620; margin-bottom: 0.3rem; }
.field { margin-bottom: 1.1rem; }
.field-hint { display: block; font-weight: 400; color: var(--muted); font-size: var(--step--1); margin-top: 0.25rem; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=tel], input[type=url], input[type=search], input[type=number], input[type=date], input[type=datetime-local], input[type=time], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid #c9c1c6; border-radius: var(--radius-s); padding: 0.7rem 0.8rem; }
input:focus, select:focus, textarea:focus { border-color: var(--heide); outline: 3px solid rgba(118, 21, 66, 0.18); outline-offset: 0; }
textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 0.3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--heide); flex-shrink: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.grid-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 1.25rem; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.25rem 1.25rem 0.5rem; margin: 0 0 1.5rem; }
legend { font-weight: 760; font-stretch: 85%; font-size: 1.15rem; padding: 0 0.4rem; }
.form-errors { background: #fbeceb; border-left: 4px solid var(--danger); padding: 0.9rem 1.1rem; margin-bottom: 1.25rem; }
.form-errors ul { margin: 0.4rem 0 0; }

.flashes { margin-top: 1rem; }
.flash { padding: 0.85rem 1.1rem; border-left: 4px solid var(--heide); background: var(--heide-tint); margin: 0 0 0.5rem; }
.flash-success { border-color: var(--open); background: var(--open-tint); }
.flash-error { border-color: var(--danger); background: #fbeceb; }

/* ---------- Brotkrumen ---------- */
.breadcrumbs { padding-top: 1rem; font-size: var(--step--1); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0; padding: 0; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.3rem; color: #b5adb2; }
.breadcrumbs a { color: var(--ink-soft); }

/* ---------- Startseite: Held ---------- */
.hero { background: var(--brick); color: #fff; position: relative; padding: 3.5rem 0 0; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; padding-bottom: 7.5rem; }
.hero h1 { color: #fff; max-width: 17ch; margin-bottom: 0.4em; }
.hero-lead { font-size: var(--step-1); max-width: 46ch; color: #f6e6ec; margin-bottom: 1.75rem; }
.skyline { display: block; width: 100%; fill: var(--salt); }
.hero .skyline { position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; z-index: 1; }
.hero-after { background: var(--salt); }

.search-panel { background: var(--paper); color: var(--ink); border-radius: var(--radius-m); padding: 0.6rem; display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 0.5rem; max-width: 920px; box-shadow: 0 18px 40px rgba(60, 14, 6, 0.28); }
.search-panel .sf { position: relative; }
.search-panel label { position: absolute; left: 0.85rem; top: 0.55rem; font-size: 0.78rem; font-weight: 700; color: var(--brick); margin: 0; }
.search-panel input, .search-panel select { border: 0; background: var(--salt); padding: 1.55rem 0.85rem 0.55rem; font-size: 1.05rem; height: 100%; }
.search-panel .btn { padding: 0.9rem 1.6rem; font-size: 1.05rem; }
.search-panel .sf-radius { display: none; }
@media (max-width: 760px) { .search-panel { grid-template-columns: 1fr; } }
.quick-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1.25rem; padding: 0; list-style: none; }
.quick-links a { color: #fff; font-weight: 620; }
.quick-links a:hover { color: #fff; }

/* Kompakte Suche auf Unterseiten */
.search-inline { display: grid; grid-template-columns: 1.4fr 1fr 0.7fr auto; gap: 0.5rem; background: var(--salt); padding: 0.75rem; border-radius: var(--radius-m); margin: 1.25rem 0 1.5rem; }
.search-inline label { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.15rem; }
.search-inline .btn { align-self: end; }
.search-inline .filters { grid-column: 1 / -1; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.search-inline .filters .check { font-size: 0.95rem; }
@media (max-width: 760px) { .search-inline { grid-template-columns: 1fr 1fr; } .search-inline .sf-q { grid-column: 1 / -1; } }

/* ---------- Abschnitte ---------- */
.section { padding: 3.25rem 0; }
.section-salt { background: var(--salt); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; }
.page-head { padding: 1.5rem 0 0.5rem; }
.page-head h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); max-width: 22ch; }
.page-head .lead { font-size: var(--step-1); color: var(--ink-soft); max-width: 60ch; }

/* Verzeichnis der Branchen (typografischer Index statt Kacheln) */
.dir-index { columns: 3 280px; column-gap: 3rem; }
.dir-group { break-inside: avoid; margin-bottom: 2rem; }
.dir-group h3 { font-size: 1.2rem; color: var(--brick); border-bottom: 2px solid var(--brick); padding-bottom: 0.35rem; margin-bottom: 0.4rem; }
.dir-group ul { list-style: none; margin: 0; padding: 0; }
.dir-group li a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.38rem 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.dir-group li a:hover { color: var(--heide); }
.dir-group li a:hover .n { color: var(--heide); }
.dir-group .n { color: var(--muted); font-variant-numeric: tabular-nums; }
.dir-group li.empty a { color: var(--muted); }

/* Orte */
.places-list { columns: 4 200px; column-gap: 2rem; }
.places-list section { break-inside: avoid; margin-bottom: 1.5rem; }
.places-list h3 { font-size: 1rem; color: var(--muted); font-stretch: 90%; margin-bottom: 0.3rem; font-weight: 650; }
.places-list ul { list-style: none; margin: 0; padding: 0; }
.places-list li { padding: 0.15rem 0; }
.places-list a { color: var(--ink); text-decoration: none; font-weight: 560; }
.places-list a:hover { color: var(--heide); text-decoration: underline; }

/* Kennzahlen */
.facts { display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem; margin: 0; padding: 0; list-style: none; color: var(--ink-soft); }
.facts strong { color: var(--ink); font-stretch: 80%; font-size: 1.4rem; font-weight: 800; margin-right: 0.3rem; }

/* ---------- Trefferliste ---------- */
.results-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 2.5rem; align-items: start; }
.results-layout.no-map { grid-template-columns: 1fr; }
@media (max-width: 980px) { .results-layout { grid-template-columns: 1fr; } .results-aside .map-box { position: static; } .results-aside .map { height: 300px !important; } }
.results-meta { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); margin-bottom: 0.5rem; }
.results { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.result { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 0 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.result-logo { width: 56px; height: 56px; border-radius: var(--radius-s); background: var(--salt); display: grid; place-items: center; overflow: hidden; color: var(--brick); font-weight: 850; font-stretch: 70%; font-size: 1.4rem; }
.result-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.result h3 { font-size: 1.22rem; margin: 0 0 0.15rem; }
.result h3 a { color: var(--ink); text-decoration: none; }
.result h3 a:hover { color: var(--heide); text-decoration: underline; }
.result-sub { color: var(--muted); font-size: 0.95rem; margin: 0 0 0.35rem; }
.result-desc { margin: 0.3rem 0 0; color: var(--ink-soft); font-size: 0.97rem; }
.result-actions { display: flex; flex-direction: column; gap: 0.4rem; align-items: flex-end; text-align: right; font-size: 0.95rem; white-space: nowrap; }
.result-actions a { font-weight: 620; }
.result.is-premium { background: linear-gradient(90deg, var(--brick-tint), transparent 55%); border-left: 4px solid var(--brick); padding-left: 0.85rem; }
.badge { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 0.12rem 0.5rem; border-radius: 99px; background: var(--salt); color: var(--ink-soft); vertical-align: middle; }
.badge-premium { background: var(--brick); color: #fff; }
.badge-verified { background: var(--heide-tint); color: var(--heide-dark); }
.badge-emergency { background: #fff1db; color: var(--warn); }
.status { font-size: 0.9rem; font-weight: 620; }
.status-open { color: var(--open); }
.status-open::before { content: ""; display: inline-block; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--open); margin-right: 0.35rem; vertical-align: 0.05em; }
.status-closed { color: var(--muted); }
.dist { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 640px) {
  .result { grid-template-columns: 44px minmax(0, 1fr); }
  .result-logo { width: 44px; height: 44px; font-size: 1.1rem; }
  .result-actions { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; margin-top: 0.5rem; white-space: normal; }
}
.empty-state { background: var(--salt); border-radius: var(--radius-m); padding: 2rem; }
.empty-state h2 { font-size: var(--step-2); }

.pagination { display: flex; gap: 0.35rem; flex-wrap: wrap; margin: 1.75rem 0; list-style: none; padding: 0; }
.pagination a, .pagination span { display: inline-block; min-width: 2.4rem; text-align: center; padding: 0.45rem 0.7rem; border: 1px solid var(--line); border-radius: var(--radius-s); text-decoration: none; color: var(--ink); }
.pagination a:hover { border-color: var(--heide); color: var(--heide); }
.pagination [aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Karte */
.map-box { border-radius: var(--radius-m); overflow: hidden; background: var(--salt); border: 1px solid var(--line); position: relative; }
.map-box .map { height: 420px; }
.results-aside .map-box { position: sticky; top: 88px; }
.map-consent { display: grid; place-items: center; text-align: center; height: 100%; min-height: 260px; padding: 1.5rem; background-color: var(--salt);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; }
.map-consent p { max-width: 30ch; font-size: 0.92rem; color: var(--ink-soft); background: var(--salt); padding: 0.25rem 0.5rem; }
.leaflet-popup-content a { font-weight: 650; }

/* ---------- Firmenprofil ---------- */
.profile-head { padding: 1.5rem 0 2rem; border-bottom: 1px solid var(--line); }
.profile-title { display: flex; gap: 1.25rem; align-items: flex-start; }
.profile-logo { width: 96px; height: 96px; border-radius: var(--radius-m); border: 1px solid var(--line); background: #fff; object-fit: contain; flex-shrink: 0; }
.profile-title h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 0.2em; }
.profile-cat { font-size: 1.1rem; color: var(--ink-soft); margin: 0; }
.profile-badges { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.6rem; }
.profile-cta { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.25rem; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; padding: 2.4rem 1.25rem 1rem; }
@media (max-width: 900px) { .profile-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.info-card { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.25rem 1.35rem; margin-bottom: 1.25rem; background: var(--paper); }
.info-card h2 { font-size: 1.2rem; font-stretch: 85%; margin-bottom: 0.75rem; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.5rem; padding: 0.35rem 0; border-bottom: 1px solid var(--salt); }
.info-list li:last-child { border-bottom: 0; }
.info-list .k { color: var(--muted); font-size: 0.93rem; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th { text-align: left; font-weight: 560; padding: 0.3rem 0; width: 7.5rem; }
.hours td { padding: 0.3rem 0; }
.hours tr.today th, .hours tr.today td { font-weight: 760; color: var(--brick); }
.services { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0; }
.services li { background: var(--salt); padding: 0.3rem 0.7rem; border-radius: 99px; font-size: 0.95rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.6rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-s); }
.claim-box { background: var(--heide-tint); border-radius: var(--radius-m); padding: 1.25rem 1.35rem; margin-bottom: 1.25rem; }
.claim-box h2 { font-size: 1.2rem; font-stretch: 85%; }
.source-note { font-size: 0.88rem; color: var(--muted); }

/* ---------- Karten-Gitter (Jobs, Vorteile) ---------- */
.job-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.job-item { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.job-item h3 { margin: 0 0 0.2rem; font-size: 1.2rem; }
.job-item h3 a { color: var(--ink); text-decoration: none; }
.job-item h3 a:hover { color: var(--heide); text-decoration: underline; }
.job-meta { color: var(--muted); font-size: 0.95rem; margin: 0; }
.tag-row { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

/* Für-Unternehmen-Vergleich */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 900px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.5rem; }
.plan.plan-premium { border: 2px solid var(--brick); }
.plan h3 { font-size: 1.5rem; }
.plan .price { font-size: 1.9rem; font-weight: 820; font-stretch: 78%; margin: 0 0 1rem; }
.plan ul { padding-left: 1.1rem; }
.plan li { margin-bottom: 0.35rem; }

/* Notdienst */
.emergency-strip { background: var(--ink); color: #fff; }
.emergency-strip .wrap { display: flex; flex-wrap: wrap; gap: 0.75rem 2.5rem; padding-top: 1rem; padding-bottom: 1rem; align-items: center; }
.emergency-strip a { color: #fff; font-weight: 760; font-size: 1.15rem; text-decoration: none; }
.emergency-strip a:hover { text-decoration: underline; color: #fff; }
.emergency-strip span { color: #cdc8d0; font-size: 0.92rem; display: block; }
.duty-now { border: 2px solid var(--open); border-radius: var(--radius-m); padding: 1.25rem 1.35rem; background: var(--open-tint); margin-bottom: 1.5rem; }
.duty-now h2 { font-size: 1.3rem; font-stretch: 85%; }

/* Tabellen (Konto/Admin) */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.data th, table.data td { text-align: left; padding: 0.6rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-weight: 700; color: var(--ink-soft); background: var(--salt); }
table.data td.num { text-align: right; font-variant-numeric: tabular-nums; }
.inline-form { display: inline; }

/* Konto & Admin */
.account { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 2.5rem; padding: 2rem 0 3rem; }
@media (max-width: 860px) { .account { grid-template-columns: 1fr; gap: 1rem; } }
.account-nav ul { list-style: none; margin: 0; padding: 0; }
.account-nav a { display: block; padding: 0.55rem 0.8rem; border-radius: var(--radius-s); color: var(--ink); text-decoration: none; font-weight: 560; }
.account-nav a:hover { background: var(--salt); }
.account-nav a[aria-current] { background: var(--ink); color: #fff; }
.account-nav .count { float: right; background: var(--brick); color: #fff; border-radius: 99px; font-size: 0.78rem; padding: 0.05rem 0.5rem; }
@media (max-width: 860px) { .account-nav ul { display: flex; flex-wrap: wrap; gap: 0.3rem; } }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem 1.1rem; }
.stat b { display: block; font-size: 1.9rem; font-stretch: 78%; font-weight: 820; }
.stat span { color: var(--muted); font-size: 0.92rem; }
.hours-editor { display: grid; grid-template-columns: 7rem repeat(2, minmax(0, 1fr) minmax(0, 1fr)) auto; gap: 0.4rem 0.5rem; align-items: center; }
.hours-editor .h { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
@media (max-width: 640px) { .hours-editor { grid-template-columns: 1fr 1fr; } .hours-editor .h { display: none; } .hours-editor .day { grid-column: 1 / -1; margin-top: 0.5rem; } }

/* Fußbereich */
.site-footer { margin-top: 4rem; }
.skyline-footer { fill: var(--ink); height: 90px; margin-bottom: -1px; width: 100%; }
.footer-body { background: var(--ink); color: #d6d9df; padding: 2rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
.footer-brand { font-stretch: 70%; font-weight: 850; font-size: 1.6rem; color: #fff; margin-bottom: 0.4rem; }
.footer-head { font-weight: 760; color: #fff; margin-bottom: 0.5rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 0.2rem 0; }
.site-footer a { color: #d6d9df; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #3a383f; margin-top: 2rem; padding-top: 1.25rem; font-size: 0.88rem; color: #b3afb7; }

/* Autovervollständigung */
.suggest { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--radius-s) var(--radius-s); box-shadow: 0 12px 24px rgba(31, 38, 51, 0.12); list-style: none; margin: 0; padding: 0.25rem 0; }
.suggest li a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0.85rem; color: var(--ink); text-decoration: none; }
.suggest li a small { color: var(--muted); }
.suggest li a:hover, .suggest li a.is-active { background: var(--heide-tint); }

.faq dt { font-weight: 720; margin-top: 1rem; }
.faq dd { margin: 0.25rem 0 0; color: var(--ink-soft); }
.note { background: var(--salt); border-radius: var(--radius-m); padding: 1rem 1.2rem; font-size: 0.95rem; }
.kbd-code { font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--salt); padding: 0.1rem 0.35rem; border-radius: 3px; font-size: 0.92em; word-break: break-all; }
.ul-pin { background: none; border: 0; }

/* Ortsseiten mit Gemeindebild */
.place-head { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 2rem; align-items: center; }
.place-photo { margin: 0; }
.place-photo img { width: 100%; height: auto; aspect-ratio: 800 / 545; object-fit: cover; border-radius: var(--radius-m); display: block; }
@media (max-width: 860px) { .place-head { grid-template-columns: 1fr; } .place-photo { order: -1; } }

/* =====================================================================
   Gestaltung 2.0 – hochwertiger Auftritt
   ===================================================================== */
:root {
  --radius-l: 14px;
  --shadow-1: 0 1px 2px rgba(27, 34, 48, 0.06), 0 2px 8px rgba(27, 34, 48, 0.05);
  --shadow-2: 0 2px 6px rgba(27, 34, 48, 0.06), 0 18px 40px -12px rgba(27, 34, 48, 0.22);
  --wrap: 1200px;
}
body { font-size: 1.0625rem; letter-spacing: 0.002em; }
a { color: var(--brick); }
a:hover { color: var(--brick-dark); }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -0.18em; }

/* Kopfzeile */
.site-header { background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid rgba(27, 34, 48, 0.08); }
.header-inner { min-height: 76px; }
.brand-mark { width: 38px; height: 38px; }
.brand-text { font-size: 1.38rem; }
.main-nav ul { gap: 0.25rem; }
.main-nav ul a { padding: 0.55rem 0.8rem; border-radius: 8px; border-bottom: 0; font-weight: 580; color: var(--ink-soft); }
.main-nav ul a:hover { background: var(--salt); color: var(--ink); }
.main-nav ul a[aria-current] { color: var(--brick); background: var(--brick-tint); }
.btn { border-radius: 10px; font-weight: 700; letter-spacing: 0.005em; transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { box-shadow: 0 6px 16px -6px rgba(90, 15, 50, 0.45); }
.btn-ghost:hover { box-shadow: none; }
.btn-light { background: #fff; border-color: #fff; color: var(--brick-dark); }
.btn-light:hover { background: var(--brick-tint); border-color: var(--brick-tint); color: var(--brick-dark); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; box-shadow: none; }
@media (max-width: 980px) { .main-nav ul a { border-radius: 0; padding: 0.85rem 0; } .main-nav ul a:hover, .main-nav ul a[aria-current] { background: none; } }

/* Kopfbild */
.hero {
  position: relative;
  padding: 5.5rem 0 8.5rem;
  background-color: #4a0c29;
  background-image:
    linear-gradient(95deg, rgba(52, 8, 29, 0.94) 0%, rgba(84, 14, 47, 0.86) 34%, rgba(100, 18, 56, 0.55) 62%, rgba(100, 18, 56, 0.12) 100%),
    url(../img/am-stintmarkt-lueneburg-1.jpg);
  background-size: cover;
  background-position: center 60%;
  overflow: visible;
}
.hero .skyline { display: none; }
.hero-inner { padding-bottom: 0; }
.hero-kicker { display: inline-flex; align-items: center; gap: 0.5rem; color: #f3d6e1; font-weight: 600; margin-bottom: 1.1rem; font-size: 1rem; }
.hero-kicker .icon { color: #f0b3cb; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); max-width: 15ch; line-height: 0.98; margin-bottom: 0.45em; text-shadow: 0 2px 24px rgba(40, 10, 5, 0.35); }
.hero-lead { font-size: 1.28rem; color: #f8e8ee; max-width: 44ch; line-height: 1.5; margin-bottom: 2.2rem; }
.search-panel { border-radius: var(--radius-l); padding: 0.65rem; gap: 0.55rem; box-shadow: 0 30px 60px -20px rgba(30, 8, 4, 0.55), 0 2px 8px rgba(30, 8, 4, 0.2); max-width: 880px; grid-template-columns: 1.35fr 1fr auto; }
.search-panel .sf { display: flex; align-items: center; background: var(--salt); border-radius: 10px; padding-left: 0.9rem; }
.search-panel .sf .icon { color: var(--brick); width: 1.3rem; height: 1.3rem; }
.search-panel label { left: 2.8rem; top: 0.6rem; color: var(--muted); font-weight: 650; letter-spacing: 0.01em; }
.search-panel input { background: transparent; padding: 1.6rem 0.9rem 0.6rem 0.75rem; }
.search-panel input:focus { outline: none; }
.search-panel .sf:focus-within { box-shadow: inset 0 0 0 2px var(--brick); }
.search-panel .btn { padding: 0 2rem; font-size: 1.08rem; border-radius: 10px; min-height: 60px; }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.3rem; list-style: none; padding: 0; }
.popular li:first-child { color: #f3d6e1; font-weight: 600; margin-right: 0.25rem; }
.popular a { display: inline-block; padding: 0.42rem 0.9rem; border-radius: 99px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; text-decoration: none; font-weight: 580; font-size: 0.95rem; backdrop-filter: blur(4px); }
.popular a:hover { background: rgba(255, 255, 255, 0.24); color: #fff; }
@media (max-width: 760px) {
  .hero { padding: 3rem 0 6.5rem; background-image: linear-gradient(rgba(52, 8, 29, 0.9), rgba(84, 14, 47, 0.82)), url(../img/am-stintmarkt-lueneburg-1.jpg); }
  .search-panel { grid-template-columns: 1fr; }
  .search-panel .btn { min-height: 54px; }
}

/* Kennzahlen-Karte über dem Kopfbild */
.stats-card { position: relative; z-index: 3; margin-top: -4.25rem; background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow-2); display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-card > div { display: flex; gap: 0.9rem; align-items: center; padding: 1.5rem 1.6rem; }
.stats-card > div + div { border-left: 1px solid var(--line); }
.stats-card .icon { width: 2.6rem; height: 2.6rem; padding: 0.6rem; border-radius: 12px; background: var(--brick-tint); color: var(--brick); }
.stats-card b { display: block; font-size: 1.9rem; font-stretch: 75%; font-weight: 820; line-height: 1; color: var(--ink); }
.stats-card span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .stats-card { grid-template-columns: 1fr 1fr; } .stats-card > div:nth-child(3) { border-left: 0; } .stats-card > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 420px) { .stats-card > div { padding: 1.1rem; } .stats-card b { font-size: 1.5rem; } }

/* Abschnitte */
.section { padding: 5rem 0; }
.section-intro { max-width: 62ch; color: var(--ink-soft); margin: -0.5rem 0 2.2rem; font-size: 1.1rem; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.eyebrow-line { width: 48px; height: 4px; background: var(--brick); border-radius: 2px; margin-bottom: 1.1rem; }

/* Themenkarten der Branchengruppen */
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 980px) { .topic-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .topic-grid { grid-template-columns: 1fr; } }
.topic { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.5rem 1.5rem 1.2rem; display: flex; flex-direction: column; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.topic:hover { border-color: #e6cbd6; box-shadow: var(--shadow-1); }
.topic-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.9rem; }
.icon-group { width: 2.7rem; height: 2.7rem; padding: 0.62rem; border-radius: 12px; background: var(--brick-tint); color: var(--brick); }
.topic h3 { margin: 0; font-size: 1.3rem; }
.topic h3 small { display: block; font-stretch: 100%; font-weight: 500; font-size: 0.88rem; color: var(--muted); margin-top: 0.15rem; }
.topic ul { list-style: none; margin: 0 0 0.8rem; padding: 0; }
.topic li a { display: flex; justify-content: space-between; padding: 0.42rem 0; color: var(--ink); text-decoration: none; border-bottom: 1px dashed var(--line); }
.topic li:last-child a { border-bottom: 0; }
.topic li a:hover { color: var(--brick); }
.topic li .n { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.92rem; }
.topic-more { margin-top: auto; font-weight: 650; text-decoration: none; }
.topic-more:hover { text-decoration: underline; }

/* Feature-Blöcke */
.feature-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.5rem; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { border-radius: var(--radius-l); padding: 2.4rem; }
.feature-light { background: #fff; border: 1px solid var(--line); }
.feature-dark { background: var(--ink); color: #e6e2e8; position: relative; overflow: hidden; }
.feature-dark h2 { color: #fff; }
.feature-dark a:not(.btn) { color: #fff; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: 1rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.9rem; align-items: start; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--brick); color: #fff; font-weight: 800; }
.steps strong { display: block; color: var(--ink); }
.steps span { color: var(--ink-soft); font-size: 0.98rem; }
.hotline { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.4rem 0 1.8rem; }
.hotline a { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1rem; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); text-decoration: none; }
.hotline a:hover { background: rgba(255, 255, 255, 0.1); }
.hotline .icon { width: 1.6rem; height: 1.6rem; color: #f2a6c4; }
.hotline b { display: block; font-size: 1.25rem; font-stretch: 85%; color: #fff; }
.hotline span { font-size: 0.9rem; color: #b8b3bc; }

/* Unternehmens-Band */
.business-band { background: linear-gradient(120deg, var(--brick-dark), var(--brick)); color: #fbedf2; border-radius: var(--radius-l); padding: 3rem; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; }
.business-band h2 { color: #fff; }
.business-band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.business-band li { display: flex; gap: 0.7rem; align-items: flex-start; }
.business-band li .icon { color: #ffcfe0; margin-top: 0.2rem; }
@media (max-width: 860px) { .business-band { grid-template-columns: 1fr; padding: 2rem; } }

/* Job-Karten */
.job-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .job-cards { grid-template-columns: 1fr; } }
.job-card { border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.3rem 1.4rem; background: #fff; display: flex; flex-direction: column; gap: 0.35rem; }
.job-card h3 { font-size: 1.15rem; margin: 0; }
.job-card h3 a { color: var(--ink); text-decoration: none; }
.job-card h3 a:hover { color: var(--brick); }
.job-card .job-meta { display: flex; gap: 0.4rem; align-items: center; }

/* Orte als Pillen */
.place-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.place-pills a { padding: 0.45rem 0.95rem; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 560; font-size: 0.97rem; }
.place-pills a:hover { border-color: var(--brick); color: var(--brick); }
.place-pills a.major { font-weight: 720; }

/* Trefferliste verfeinert */
.results { border-top: 0; display: grid; gap: 0.75rem; }
.result { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.15rem 1.25rem; grid-template-columns: 60px minmax(0, 1fr) auto; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.result:hover { border-color: #e6cbd6; box-shadow: var(--shadow-1); }
.result.is-premium { background: linear-gradient(90deg, #fbf2f5, #fff 60%); border-left: 1px solid #e6cbd6; box-shadow: inset 4px 0 0 var(--brick); padding-left: 1.25rem; }
.result-logo { width: 60px; height: 60px; border-radius: 12px; background: var(--brick-tint); color: var(--brick); font-size: 1.5rem; }
.result-actions a { display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: none; padding: 0.4rem 0.75rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-size: 0.92rem; }
.result-actions a:hover { border-color: var(--brick); color: var(--brick); }
.result-actions a .icon { color: var(--brick); }
.badge { border-radius: 6px; }
@media (max-width: 640px) { .result { grid-template-columns: 48px minmax(0, 1fr); } .result-logo { width: 48px; height: 48px; } }

/* Seitenköpfe auf Unterseiten */
.page-band { background: var(--salt); border-bottom: 1px solid var(--line); padding: 2.2rem 0 2rem; margin-bottom: 0.5rem; }
.page-band .page-head { padding: 0; }
.page-band .breadcrumbs { padding-top: 0; margin-bottom: 1rem; }

/* Firmenprofil verfeinert */
.profile-head { background: var(--salt); border-bottom: 1px solid var(--line); padding: 2.2rem 0 2.4rem; }
.profile-logo { width: 104px; height: 104px; border-radius: var(--radius-l); box-shadow: var(--shadow-1); }
.info-card { border-radius: var(--radius-l); }
.claim-box { border-radius: var(--radius-l); background: var(--brick-tint); }

/* Fußzeile */
.site-footer { margin-top: 5rem; }

/* Unterseiten: Brotkrumen und Seitenkopf als durchgehendes Band */
body { overflow-x: clip; }
body:not(.is-home) .breadcrumbs,
main > .wrap > .page-head:first-child { background: var(--salt); box-shadow: 0 0 0 100vmax var(--salt); clip-path: inset(0 -100vmax); }
body:not(.is-home) .breadcrumbs { padding-top: 1.4rem; padding-bottom: 0.2rem; }
main > .wrap > .page-head:first-child { padding: 1rem 0 2.6rem; margin-bottom: 2.4rem; }
main > .wrap > .page-head:first-child .lead:last-child { margin-bottom: 0; }
.hero h1 { max-width: 19ch; }
.job-card .badge { align-self: flex-start; }
.topic li a .n:empty, .topic li a[data-zero] { opacity: .6; }
@media (max-width: 560px) { .stats-card > div { flex-direction: column; align-items: flex-start; gap: 0.6rem; } .stats-card span { line-height: 1.3; display: block; margin-top: 0.2rem; } }

/* ===== CI Unternehmen-Lüneburg.de (Flyer 2026): Beerenrot, Pin-Logo, Icons in Kreisen ===== */
:root { --shadow-1: 0 10px 30px -16px rgba(90, 15, 50, 0.28); --shadow-2: 0 24px 60px -28px rgba(90, 15, 50, 0.38); }
h1, h2, h3, h4 { font-stretch: 96%; font-weight: 720; letter-spacing: -0.012em; }
h3 { font-stretch: 98%; }
.hero h1 { font-weight: 760; letter-spacing: -0.02em; }
.section h2, .section-head h2 { color: var(--brick); }

/* Logo */
.brand { gap: 0.6rem; }
.brand-mark { width: 34px; height: 43px; color: var(--brick); }
.brand-text { font-stretch: 100%; line-height: 1; gap: 0.05rem; }
.brand-text .bt1 { color: #3a383f; font-weight: 650; font-size: 0.98rem; letter-spacing: 0.01em; }
.brand-text .bt2 { color: var(--brick); font-weight: 800; font-size: 1.42rem; letter-spacing: -0.015em; }
.brand-text .bt2 small { color: #3a383f; font-weight: 650; font-size: 0.72em; }
.brand-text span:last-child { color: var(--brick); }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; font-stretch: 100%; font-weight: 600; font-size: 1.05rem; line-height: 1.15; }
.footer-brand .brand-mark { width: 38px; height: 48px; flex: none; }
.footer-brand span { display: grid; } .footer-brand b { font-size: 1.45rem; font-weight: 800; }
.footer-claim { display: inline-block; margin: 0.4rem 0 1rem; padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--brick); color: #fff; font-weight: 650; font-size: 0.92rem; }
.footer-body { background: #2a2930; }

/* Kopfbild: Claim-Pille wie auf dem Flyer */
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; margin: 0 0 1.2rem; }
.hero-badges .hero-kicker { margin: 0; }
.claim-pill { display: inline-flex; align-items: center; gap: 0.5rem; background: #fff; color: var(--brick); font-weight: 700; padding: 0.45rem 0.95rem; border-radius: 999px; font-size: 0.98rem; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.35); }
.claim-pill .icon { width: 1.05rem; height: 1.05rem; fill: var(--brick); stroke: var(--brick); }

/* Icons: weiß auf beerenrotem Kreis */
.icon-group, .stats-card .icon { border-radius: 50%; background: var(--brick); color: #fff; }
.feature-light .steps li::before { background: var(--brick-tint); color: var(--brick); box-shadow: inset 0 0 0 2px var(--brick); }

/* Karten wie Flyer: weiß, feiner Rand in Beerenton, weiche Ecken */
.topic, .result, .info-card, .job-card, .stats-card { border-color: #eadfe4; }
.topic h3 { color: var(--ink); }
.section-salt { background: var(--salt); }
.business-band { background: var(--brick); }
.main-nav a[aria-current="page"], .main-nav a.is-active { background: var(--brick-tint); color: var(--brick); }
.skyline-footer { fill: #2a2930; }
.brand-mark { width: 40px; height: 50px; }
@media (max-width: 560px) { .brand-mark { width: 32px; height: 40px; } .brand-text .bt2 { font-size: 1.2rem; } .brand-text .bt1 { font-size: 0.85rem; } }
