:root {
  --ink: #122329;
  --muted: #627076;
  --paper: #f4f7f4;
  --surface: #ffffff;
  --brand: #ff6046;
  --brand-dark: #de432c;
  --teal: #0d5e5b;
  --line: #dce5e1;
  --shadow: 0 22px 60px rgba(18, 35, 41, .18);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.topbar {
  height: 76px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1001;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: 1.18rem; font-weight: 850; letter-spacing: -.02em; }
.brand b { color: #d9342b; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: var(--brand); border-radius: 11px 11px 11px 3px; font-weight: 900; transform: rotate(-3deg); }
.topbar-hero { flex: 0 0 auto; width: 94px; height: 54px; margin: 0 auto; object-fit: contain; pointer-events: none; user-select: none; }
.topbar-actions { display: flex; align-items: center; gap: 22px; }
.region-control { display: flex; align-items: center; gap: 7px; max-width: 150px; padding: 8px 11px; border: 1px solid #cfe0da; border-radius: 100px; color: var(--teal); background: #edf6f3; font-size: .84rem; }
.region-control span { font-size: 1rem; line-height: 1; }
.region-control strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-link { color: var(--teal); text-decoration: none; font-size: .9rem; font-weight: 780; }
.topbar-link:hover { text-decoration: underline; }
.account-button { border: 0; background: transparent; color: var(--teal); font-weight: 800; padding: 10px 4px; }
.account-button.signed-in { color: var(--ink); }
.top-logout-button { border: 1px solid #f0c7bf; border-radius: 10px; padding: 9px 12px; color: #a73524; background: #fff5f2; font-weight: 780; }
.live-label { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; }
.live-label span { width: 8px; height: 8px; background: #2db47d; border-radius: 50%; box-shadow: 0 0 0 4px rgba(45,180,125,.12); }

.button { border: 0; border-radius: 12px; padding: 12px 17px; font-weight: 780; transition: transform .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--brand); color: #fff; box-shadow: 0 7px 18px rgba(255,96,70,.2); }
.button-primary:hover { background: var(--brand-dark); }
.button-secondary { background: #e5f3f0; color: var(--teal); }
.button-danger { background: #fff0ed; color: #bd3623; }
.button-quiet { background: #f2f5f4; color: var(--muted); }
.button-wide { width: 100%; padding: 14px 18px; }

.workspace { height: calc(100vh - 76px); display: grid; grid-template-columns: 390px 1fr; overflow: hidden; }
.sidebar { padding: 28px 24px 20px; display: flex; flex-direction: column; min-height: 0; background: var(--surface); border-right: 1px solid var(--line); z-index: 500; }
.eyebrow { margin: 0 0 7px; color: var(--brand-dark); font-size: .74rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.sidebar h1 { margin: 0; max-width: 320px; font-size: clamp(1.65rem, 2.5vw, 2.15rem); line-height: 1.04; letter-spacing: -.045em; }
.sidebar-intro > p:last-child { margin: 12px 0 23px; color: var(--muted); line-height: 1.55; }
.filter-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0 12px; border-top: 1px solid var(--line); font-weight: 780; font-size: .91rem; }
.filter-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; padding: 5px 4px 5px 0; border: 0; background: transparent; color: var(--ink); text-align: left; }
.filter-open > span:first-child { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--teal); background: #e9f3f1; font-size: 1.2rem; }
.filter-open strong, .filter-open small { display: block; }
.filter-open small { margin-top: 2px; color: var(--muted); font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 235px; }
.location-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--teal); }
.location-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.request-list { display: flex; flex-direction: column; gap: 10px; min-height: 100px; overflow: auto; padding: 1px 5px 12px 0; }
.request-card { width: 100%; text-align: left; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 15px; transition: border .15s, transform .15s, box-shadow .15s; }
.request-card:hover, .request-card:focus-visible { border-color: #f18c7a; transform: translateY(-1px); box-shadow: 0 7px 22px rgba(18,35,41,.07); outline: none; }
.request-card-top { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
.request-card-top strong { display: flex; align-items: center; gap: 7px; }
.card-symbol { font-size: 1.2rem; line-height: 1; }
.card-message { width: 21px; height: 21px; display: inline-grid; place-items: center; border-radius: 50%; color: #fff; background: var(--brand); font-size: .72rem; box-shadow: 0 2px 7px rgba(18,35,41,.18); }
.reward { color: var(--teal); background: #e8f4f1; border-radius: 100px; padding: 5px 9px; font-weight: 850; white-space: nowrap; font-size: .85rem; }
.request-card p { margin: 0; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.request-meta { margin-top: 8px; color: var(--muted); font-size: .78rem; }
.empty-state { padding: 28px 18px; text-align: center; color: var(--muted); border: 1px dashed #c9d8d3; border-radius: 14px; }
.empty-state > span { width: 42px; height: 42px; margin: 0 auto 10px; display: grid; place-items: center; background: #eaf4f1; border-radius: 50%; color: var(--teal); font-size: 1.5rem; }
.empty-state strong { display: block; color: var(--ink); }
.empty-state p { margin: 4px 0 0; font-size: .88rem; }
.sidebar-note { display: flex; gap: 10px; align-items: flex-start; margin-top: auto; padding: 14px; background: #f4f7f4; border-radius: 12px; font-size: .78rem; color: var(--muted); line-height: 1.42; }
.sidebar-note > span { color: var(--teal); font-size: 1rem; }
.sidebar-note p { margin: 0; }

.map-shell { position: relative; min-width: 0; min-height: 0; height: 100%; overflow: hidden; }
#map { position: absolute; inset: 0; width: 100%; height: auto; background: #dce7e3; overflow: hidden; }
.maplibregl-ctrl-attrib { font-size: 10px; }
.hero-marker-wrap { width: 42px; height: 46px; padding: 0; background: transparent; border: 0; position: relative; }
.hero-marker { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--brand); border: 4px solid #fff; border-radius: 50% 50% 50% 12px; box-shadow: 0 7px 18px rgba(30,54,59,.28); transform: rotate(-45deg); font-size: 1.15rem; font-weight: 900; }
.hero-marker span { transform: rotate(45deg); }
.hero-marker.draft { background: var(--teal); }
.marker-count { position: absolute; right: -9px; top: -8px; min-width: 23px; height: 23px; display: grid; place-items: center; padding: 0 6px; border: 2px solid #fff; border-radius: 99px; color: #fff; background: var(--teal); box-shadow: 0 3px 9px rgba(18,35,41,.25); font-size: .72rem; font-weight: 900; }
.marker-message { position: absolute; left: -8px; top: -8px; width: 23px; height: 23px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; color: #fff; background: var(--brand); box-shadow: 0 3px 9px rgba(18,35,41,.25); font-size: .7rem; }
.marker-expiring { position: absolute; right: -9px; top: 18px; width: 23px; height: 23px; border: 2px solid #fff; border-radius: 50%; background: #d93636; box-shadow: 0 3px 9px rgba(18,35,41,.25); }
.marker-expiring::before { content: ""; position: absolute; left: 9px; top: 4px; width: 2px; height: 7px; border-radius: 2px; background: #fff; transform-origin: 50% 100%; transform: rotate(0deg); }
.marker-expiring::after { content: ""; position: absolute; left: 9px; top: 9px; width: 6px; height: 2px; border-radius: 2px; background: #fff; transform-origin: 0 50%; transform: rotate(32deg); }
.map-hint { position: absolute; z-index: 600; left: 50%; top: 20px; transform: translateX(-50%); padding: 10px 15px; background: rgba(18,35,41,.9); color: #fff; border-radius: 100px; font-size: .82rem; font-weight: 700; pointer-events: none; box-shadow: 0 10px 30px rgba(18,35,41,.2); }
.mobile-create { display: none; }
.mobile-account { display: none; }
.mobile-filter { display: none; }
#map.map-loading-error::after { content: "Einige Kartenfelder laden noch …"; position: absolute; z-index: 500; right: 16px; bottom: 82px; padding: 8px 11px; border-radius: 9px; background: rgba(255,255,255,.92); color: var(--muted); font-size: .78rem; box-shadow: 0 7px 20px rgba(18,35,41,.12); }

.dialog { border: 0; padding: 0; width: min(560px, calc(100vw - 28px)); max-height: calc(100vh - 28px); background: transparent; overflow: visible; }
.dialog[open] { position: fixed; inset: 0; z-index: 2500; margin: auto; }
.dialog-open::before { content: ""; position: fixed; inset: 0; z-index: 2400; background: rgba(9,28,34,.64); backdrop-filter: blur(4px); }
.dialog::backdrop { background: rgba(9,28,34,.64); backdrop-filter: blur(4px); }
.dialog-card { position: relative; overflow: auto; max-height: calc(100vh - 28px); padding: 30px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); }
.dialog-card-small { width: min(430px, 100%); margin: auto; }
.dialog-close { position: absolute; right: 16px; top: 14px; width: 38px; height: 38px; border: 0; background: #edf3f1; color: var(--ink); border-radius: 50%; font-size: 1.5rem; line-height: 1; }
.dialog h2 { margin: 0; font-size: 1.75rem; letter-spacing: -.035em; }
.dialog-copy { color: var(--muted); line-height: 1.5; margin: 8px 0 20px; }
.dialog label { display: block; margin: 15px 0 0; font-size: .86rem; font-weight: 780; }
.dialog input, .dialog textarea, .dialog select { width: 100%; margin-top: 7px; border: 1px solid #cfdad6; border-radius: 11px; padding: 12px 13px; color: var(--ink); background: #fbfcfb; outline: none; }
.dialog input:focus, .dialog textarea:focus, .dialog select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,94,91,.11); }
.dialog input[type="file"] { padding: 9px; }
.dialog textarea { min-height: 104px; resize: vertical; line-height: 1.45; }
.dialog label small { display: block; color: var(--muted); font-weight: 500; margin-top: 6px; }
.field-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; }
.category-fieldset { border: 0; margin: 18px 0 0; padding: 0; }
.category-fieldset legend { font-size: .86rem; font-weight: 780; margin-bottom: 9px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.category-grid label { margin: 0; cursor: pointer; }
.category-grid input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.category-grid span { min-height: 63px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 7px 4px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfb; color: var(--muted); text-align: center; font-size: .72rem; }
.category-grid b { font-size: 1.25rem; line-height: 1; }
.category-grid input:checked + span { border-color: var(--brand); color: var(--ink); background: #fff3ef; box-shadow: 0 0 0 2px rgba(255,96,70,.12); }
.category-grid input:focus-visible + span { outline: 3px solid rgba(13,94,91,.2); }
.place-tabs, .auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 14px; background: #edf3f1; border-radius: 12px; }
.place-tabs button, .auth-tabs button { border: 0; padding: 10px 12px; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 780; }
.place-tabs button.active, .auth-tabs button.active { background: #fff; color: var(--teal); box-shadow: 0 2px 8px rgba(18,35,41,.09); }
.owner-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 44px 16px 0; background: #edf3f1; border-radius: 12px; }
.owner-tabs button { border: 0; padding: 10px 12px; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 780; }
.owner-tabs button.active { background: #fff; color: var(--teal); box-shadow: 0 2px 8px rgba(18,35,41,.09); }
.owner-tabs span { margin-left: 4px; color: var(--brand); }
.address-panel { margin-bottom: 13px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; }
.address-panel label { margin-top: 0; }
.address-search { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.address-search input { min-width: 0; }
.address-search .button { white-space: nowrap; }
.detail-address { margin: -6px 0 18px; color: var(--muted); font-size: .88rem; }
.contact-note { display: block; margin-top: 8px; text-align: center; color: var(--muted); }
.contact-fieldset { margin: 17px 0 0; padding: 0; border: 0; }
.contact-fieldset legend { margin-bottom: 8px; font-size: .86rem; font-weight: 780; }
.contact-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.contact-choice-grid label { margin: 0; cursor: pointer; }
.contact-choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.contact-choice-grid span { display: block; min-height: 88px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfb; }
.contact-choice-grid b, .contact-choice-grid small { display: block; }
.contact-choice-grid small { margin-top: 5px; color: var(--muted); font-weight: 500; line-height: 1.35; }
.contact-choice-grid input:checked + span { border-color: var(--teal); background: #edf6f3; box-shadow: 0 0 0 2px rgba(13,94,91,.09); }
.contact-choice-grid input:focus-visible + span { outline: 3px solid rgba(13,94,91,.18); outline-offset: 2px; }
.contact-choice-grid input:disabled + span { cursor: not-allowed; opacity: .58; }
.whatsapp-link { display: block; text-align: center; text-decoration: none; }
.selected-place { display: flex; gap: 12px; align-items: center; background: #edf6f3; color: var(--teal); padding: 12px 14px; border-radius: 12px; }
.selected-place > span:first-child { font-size: 1.35rem; }
.selected-place strong, .selected-place small { display: block; }
.selected-place small { margin-top: 2px; color: #59726e; }
.check-label { display: flex !important; align-items: flex-start; gap: 10px; color: var(--muted); line-height: 1.42; font-weight: 550 !important; }
.check-label[hidden] { display: none !important; }
.check-label input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--teal); flex: 0 0 auto; }
.form-error { min-height: 22px; margin: 10px 0 5px; color: #bd3623; font-size: .85rem; }
.detail-description { margin: 18px 0; font-size: 1.08rem; line-height: 1.55; white-space: pre-wrap; }
.detail-image { display: block; width: 100%; max-height: 310px; margin: 18px 0 0; border-radius: 14px; object-fit: cover; background: var(--paper); }
.detail-stats { display: flex; gap: 10px; margin-bottom: 18px; }
.detail-stat { flex: 1; padding: 12px; border-radius: 12px; background: #f0f5f3; }
.detail-stat small, .detail-stat strong { display: block; }
.detail-stat small { color: var(--muted); margin-bottom: 3px; }
.detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.detail-actions > .button { align-self: start; }
.detail-share { margin-top: 10px; }
.tag-message-action { display: grid; gap: 6px; }
.tag-message-action p { margin: 0; color: var(--muted); font-size: .82rem; text-align: center; }
.tag-switcher { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; gap: 8px; margin: -8px 44px 18px 0; padding: 6px; background: #edf3f1; border-radius: 12px; text-align: center; }
.tag-switcher button { width: 38px; height: 34px; border: 0; border-radius: 8px; background: #fff; color: var(--teal); font-size: 1.45rem; line-height: 1; box-shadow: 0 2px 7px rgba(18,35,41,.08); }
.tag-switcher strong { font-size: .85rem; }
.phone-reveal { padding: 13px; border: 1px solid var(--line); background: #fff; border-radius: 12px; margin-bottom: 12px; }
.phone-reveal small { display: block; color: var(--muted); }
.phone-reveal a { color: var(--teal); font-weight: 850; text-decoration: none; }
.text-button { display: block; border: 0; margin: 16px auto 0; color: var(--muted); background: none; text-decoration: underline; font-size: .8rem; }
.detail-edit { margin-top: 10px; }
.message-unavailable { padding: 9px; }
.filter-location { padding: 11px 13px; margin: 15px 0; border-radius: 10px; color: var(--muted); background: #f1f5f3; font-size: .82rem; line-height: 1.4; }
.filter-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 9px; margin-top: 18px; }
.location-detect { display: flex; align-items: center; justify-content: center; gap: 8px; }
.location-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.location-divider::before, .location-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.messages-dialog { width: min(900px, calc(100vw - 28px)); }
.messages-card { min-height: min(650px, calc(100vh - 28px)); display: flex; flex-direction: column; overflow: hidden; }
.messages-heading { padding-right: 44px; }
.messages-layout { flex: 1; min-height: 0; display: grid; grid-template-columns: 280px 1fr; gap: 14px; }
.conversation-list { min-height: 0; overflow: auto; padding-right: 4px; border-right: 1px solid var(--line); }
.conversation-card { width: 100%; padding: 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; }
.conversation-card:hover { background: #f4f8f6; }
.conversation-card > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.conversation-card b { min-width: 21px; height: 21px; display: grid; place-items: center; padding: 0 6px; border-radius: 99px; color: #fff; background: var(--brand); font-size: .7rem; }
.conversation-card small { display: block; margin: 4px 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conversation-card p { margin: 0; color: var(--muted); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.message-thread { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.thread-heading { padding: 3px 4px 12px; border-bottom: 1px solid var(--line); }
.thread-heading strong, .thread-heading small { display: block; }
.thread-heading small { margin-top: 3px; color: var(--muted); }
.message-stream { flex: 1; min-height: 230px; max-height: 390px; overflow: auto; padding: 15px 5px; }
.message-bubble { width: fit-content; max-width: 82%; margin: 0 auto 9px 0; padding: 10px 12px; border-radius: 4px 14px 14px 14px; background: #edf3f1; }
.message-bubble.mine { margin-left: auto; margin-right: 0; color: #fff; background: var(--teal); border-radius: 14px 4px 14px 14px; }
.message-bubble small, .message-bubble time { display: block; font-size: .68rem; opacity: .7; }
.message-bubble p { margin: 4px 0; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.message-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; padding-top: 11px; border-top: 1px solid var(--line); }
.message-form textarea { min-height: 64px; max-height: 130px; margin: 0; }
.message-form .form-error { grid-column: 1 / -1; margin: 0; min-height: 0; }
.message-form-owner { grid-template-columns: 130px 1fr auto; }
.message-form-owner label { margin: 0; }
.message-form-owner input, .message-form-owner textarea { margin: 5px 0 0; }
.loading-copy { color: var(--muted); text-align: center; }
.empty-state.compact { padding: 18px 12px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 3000; transform: translate(-50%, 30px); opacity: 0; padding: 12px 17px; color: #fff; background: var(--ink); border-radius: 10px; box-shadow: var(--shadow); transition: .2s ease; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.cookie-banner { position: fixed; z-index: 4000; left: 20px; right: 20px; bottom: 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px; max-width: 980px; margin: 0 auto; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 18px 55px rgba(18,35,41,.25); }
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { display: block; margin-bottom: 4px; }
.cookie-banner p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.cookie-banner .button { white-space: nowrap; }

.info-page { height: auto; min-height: 100%; background: #f4f7f4; }
.info-page .topbar { position: sticky; top: 0; }
.info-page .topbar .button { text-decoration: none; }
.how-page { width: min(900px, calc(100% - 36px)); margin: 0 auto; padding: 72px 0 64px; }
.how-hero { max-width: 720px; margin-bottom: 38px; }
.how-hero h1 { margin: 0; font-size: clamp(2.25rem, 6vw, 4.25rem); line-height: .98; letter-spacing: -.055em; }
.how-hero > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.how-steps { display: grid; gap: 14px; }
.how-steps article { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 25px rgba(18,35,41,.05); }
.how-steps article > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px 14px 14px 4px; color: #fff; background: var(--brand); font-size: 1.15rem; font-weight: 900; }
.how-steps h2 { margin: 1px 0 7px; font-size: 1.2rem; }
.how-steps p { margin: 0; color: var(--muted); line-height: 1.55; }
.how-safety { margin-top: 22px; padding: 22px 24px; border-radius: 16px; color: #fff; background: var(--teal); }
.how-safety strong { font-size: 1.05rem; }
.how-safety p { margin: 7px 0 0; line-height: 1.55; opacity: .86; }
.how-actions { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.how-actions .button { display: inline-block; text-decoration: none; }
.legal-inline-link, .legal-navigation a { color: var(--teal); font-weight: 780; }
.legal-page { width: min(760px, calc(100% - 36px)); margin: 0 auto; padding: 72px 0 64px; }
.legal-page h1 { margin: 0 0 28px; font-size: clamp(2.3rem, 6vw, 4rem); letter-spacing: -.05em; }
.legal-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 25px rgba(18,35,41,.05); }
.legal-card h2 { margin: 0 0 18px; font-size: 1.2rem; }
.imprint-logo { display: block; width: min(360px, 100%); height: auto; margin: 0 0 28px; }
.legal-card address { color: var(--muted); font-style: normal; font-size: 1.05rem; line-height: 1.7; }
.legal-card address strong { color: var(--ink); }
.legal-navigation { display: flex; gap: 20px; margin-top: 24px; }

@media (max-width: 800px) {
  .topbar { height: 64px; padding: 0 15px; }
  .topbar .button, .live-label { display: none; }
  .topbar-hero { display: none; }
  .topbar-actions { gap: 9px; }
  .region-control { width: 36px; height: 36px; padding: 0; justify-content: center; }
  .region-control strong { display: none; }
  .topbar-link-how, .account-button { display: none; }
  .top-logout-button { padding: 8px 10px; font-size: .8rem; }
  .workspace { height: calc(100dvh - 64px); display: block; }
  .sidebar { display: none; }
  .map-shell { width: 100%; height: 100%; }
  .map-hint { width: max-content; max-width: calc(100vw - 30px); text-align: center; top: 14px; }
  .mobile-create { display: block; position: absolute; z-index: 600; left: 50%; bottom: 25px; transform: translateX(-50%); border: 0; border-radius: 14px; padding: 14px 20px; color: #fff; background: var(--brand); font-weight: 850; box-shadow: 0 12px 30px rgba(18,35,41,.28); }
  .mobile-account { display: block; position: absolute; z-index: 600; right: 14px; top: 68px; border: 1px solid var(--line); border-radius: 100px; padding: 9px 13px; background: rgba(255,255,255,.95); color: var(--teal); font-weight: 800; box-shadow: 0 7px 20px rgba(18,35,41,.12); }
  .mobile-filter { display: block; position: absolute; z-index: 600; right: 14px; top: 114px; border: 1px solid var(--line); border-radius: 100px; padding: 9px 13px; background: rgba(255,255,255,.95); color: var(--teal); font-weight: 800; box-shadow: 0 7px 20px rgba(18,35,41,.12); }
  .dialog-card { padding: 26px 20px 22px; border-radius: 18px; }
  .contact-choice-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .address-search { grid-template-columns: 1fr; }
  .detail-actions { grid-template-columns: 1fr; }
  .messages-card { min-height: calc(100dvh - 28px); }
  .messages-layout { grid-template-columns: 1fr; overflow: auto; }
  .conversation-list { max-height: 190px; border-right: 0; border-bottom: 1px solid var(--line); }
  .message-stream { min-height: 210px; max-height: none; }
  .message-form-owner { grid-template-columns: 1fr; }
  .filter-actions { grid-template-columns: 1fr; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; grid-template-columns: 1fr; gap: 13px; padding: 16px; }
  .cookie-banner .button { width: 100%; }
  .how-page { padding: 44px 0 48px; }
  .how-steps article { grid-template-columns: 42px 1fr; gap: 13px; padding: 19px; }
  .how-steps article > span { width: 40px; height: 40px; border-radius: 11px 11px 11px 3px; }
  .how-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .legal-page { padding: 44px 0 48px; }
  .legal-card { padding: 22px; }
}

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

