/* 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: #1f2633;
  --ink-soft: #444b59;
  --muted: #646b78;
  --brick: #8a3324;
  --brick-dark: #6b2519;
  --brick-tint: #f6ebe7;
  --heide: #5b3f86;
  --heide-dark: #45306a;
  --heide-tint: #efeaf6;
  --salt: #f3f4f1;
  --paper: #ffffff;
  --line: #dcdfd8;
  --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 #b9bdb4; border-radius: var(--radius-s); padding: 0.7rem 0.8rem; }
input:focus, select:focus, textarea:focus { border-color: var(--heide); outline: 3px solid rgba(91, 63, 134, 0.22); 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: #a9aea5; }
.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: #f6e7e2; 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: 2rem 0 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: #c5c9d2; 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 #3a4252; margin-top: 2rem; padding-top: 1.25rem; font-size: 0.88rem; color: #aab0bb; }

/* 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; }
