/* =========================================================
   Möbliertes Wohnen Berlin – Stylesheet (mobile first)
   Farben/Abstände zentral in :root anpassen.
   ========================================================= */
:root {
  --petrol: #0e5b61;
  --petrol-dark: #0a4549;
  --petrol-50: #e9f3f3;
  --petrol-100: #d3e7e8;
  --sand: #f4efe7;
  --ink: #1b2425;
  --muted: #586667;
  --line: #dde5e5;
  --bg: #ffffff;
  --bg-soft: #f6f9f9;
  --ok: #1f6f43;
  --error: #b3261e;
  --ph-bg: #fff2b3;
  --ph-line: #d9a400;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(14, 50, 52, .08);
  --container: 1160px;
  --header-h: 64px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--bg);
  padding-bottom: 76px; /* Platz für die mobile CTA-Leiste */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); text-underline-offset: 3px; }
a:hover { color: var(--petrol-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4.4vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid #f0a500; outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--soft { background: var(--bg-soft); }
.section--petrol { background: var(--petrol); color: #fff; }
.section--petrol a { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 28px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--petrol); margin-bottom: 10px; }
.section--petrol .eyebrow { color: var(--petrol-100); }
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Skip-Link */
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--petrol); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; color: #fff; }

/* Platzhalter und Demo-Hinweis */
mark.ph { background: var(--ph-bg); color: #4a3a00; border: 1px dashed var(--ph-line); border-radius: 6px; padding: 0 .3em; font-size: .92em; font-weight: 500; }
.demo-banner { background: var(--ph-bg); border-bottom: 1px solid var(--ph-line); color: #4a3a00; font-size: .88rem; padding: 8px 0; text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--petrol); background: var(--petrol); color: #fff; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--petrol-dark); border-color: var(--petrol-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--petrol); }
.btn--ghost:hover { background: var(--petrol-50); color: var(--petrol-dark); }
.btn--light { background: #fff; color: var(--petrol); border-color: #fff; }
.btn--light:hover { background: var(--petrol-50); color: var(--petrol-dark); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo svg { flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; font-weight: 750; font-size: 1.02rem; letter-spacing: -.01em; }
.logo-text small { font-weight: 600; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--petrol); margin-top: 3px; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: .85rem; font-weight: 700; }
.lang-switch a, .lang-switch span { padding: 10px 12px; min-width: 44px; text-align: center; text-decoration: none; color: var(--muted); }
.lang-switch span[aria-current] { background: var(--petrol); color: #fff; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; content: ""; transition: transform .2s; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 8px 20px 16px; }
.site-nav a { display: block; padding: 13px 4px; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.site-nav a[aria-current="page"] { color: var(--petrol); }
.site-nav .nav-cta { margin-top: 12px; border: 0; }
.site-nav .nav-cta a { border: 0; }

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .header-inner { flex-wrap: nowrap; }
  .site-nav { display: block !important; position: static; border: 0; background: transparent; box-shadow: none; max-height: none; overflow: visible; }
  .site-nav ul { display: flex; align-items: center; gap: 2px; padding: 0; }
  .site-nav a { border: 0; padding: 10px 10px; font-size: .95rem; border-radius: 8px; }
  .site-nav a:hover { background: var(--petrol-50); }
  .site-nav .nav-cta { margin: 0 0 0 8px; }
  .site-nav .nav-cta a { padding: 10px 18px; color: #fff; }
  .site-nav .nav-cta a:hover { background: var(--petrol-dark); }
  .header-row { display: flex; align-items: center; gap: 12px; }
}

/* Mobile CTA-Leiste */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
@media (min-width: 1000px) { .sticky-cta { display: none; } body { padding-bottom: 0; } }

/* Hero */
.hero { padding: 24px 0 48px; background: linear-gradient(180deg, var(--petrol-50) 0%, #fff 100%); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-badge { position: absolute; left: 14px; bottom: 14px; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.3; }
.hero-badge strong { display: block; color: var(--petrol); font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 22px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .9rem; font-weight: 600; }
.chips li::before { content: "✓ "; color: var(--petrol); }
@media (min-width: 900px) {
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .hero-media { order: 2; }
}

/* Page-Hero (Unterseiten) */
.page-hero { padding: 28px 0 32px; background: var(--petrol-50); }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--muted); }

/* Raster und Karten */
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--petrol-50); color: var(--petrol); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.icon svg { width: 24px; height: 24px; }

.entry-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); border: 2px solid var(--line); transition: border-color .15s, transform .15s; }
.entry-card:hover { border-color: var(--petrol); color: var(--ink); }
.entry-card .more { margin-top: auto; padding-top: 10px; color: var(--petrol); font-weight: 700; }
.entry-card--primary { border-color: var(--petrol); background: var(--petrol-50); }

/* Wohnungskarten */
.apt-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.apt-card > a.apt-media { display: block; position: relative; }
.apt-card .apt-media img, .apt-card .photo-ph { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.apt-tag { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--petrol); font-weight: 700; font-size: .82rem; padding: 5px 10px; border-radius: 999px; }
.apt-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.apt-body h3 { margin: 0; }
.apt-body h3 a { color: inherit; text-decoration: none; }
.apt-price { font-size: 1.1rem; font-weight: 750; color: var(--petrol); }
.apt-body .btn { margin-top: auto; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .95rem; }
.facts li { white-space: nowrap; }
.facts li strong { color: var(--ink); }

/* Foto-Platzhalter */
.photo-ph { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, #f2f5f5, #f2f5f5 10px, #e9eeee 10px, #e9eeee 20px); color: var(--muted); font-weight: 600; border-radius: inherit; text-align: center; padding: 12px; }

/* Preise */
.price-tile { text-align: left; }
.price-tile .price { font-size: 2rem; font-weight: 800; color: var(--petrol); line-height: 1.1; }
.price-tile .unit { color: var(--muted); font-size: .95rem; }
.price-tile--featured { border: 2px solid var(--petrol); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 6px 0 6px 30px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--petrol-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e5b61' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.check-list--extra li::before { background: #f3ecec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23785a00' stroke-width='3'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 12px no-repeat; }
.check-list--no li::before { background: #f6eceb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3261e' stroke-width='3'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Tabellen */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg-soft); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }

/* Ablauf */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px 74px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 22px; top: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--petrol); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps h3 { margin-bottom: .25em; }

/* Detailseite */
.detail-head { display: grid; gap: 20px; }
@media (min-width: 900px) { .detail-head { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.price-box { background: #fff; border: 2px solid var(--petrol); border-radius: var(--radius); padding: 20px; }
.price-box .price { font-size: 1.6rem; font-weight: 800; color: var(--petrol); }
.price-box dl { margin: 12px 0 16px; }
.keyfacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0 0; }
@media (min-width: 640px) { .keyfacts { grid-template-columns: repeat(3, 1fr); } }
.keyfacts div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.keyfacts dt { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.keyfacts dd { margin: 2px 0 0; font-weight: 700; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }

/* Galerie: mobil wischbar, Desktop Raster */
.gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.gallery a { flex: 0 0 82%; scroll-snap-align: start; border-radius: var(--radius-sm); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 800px) {
  .gallery { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; }
  .gallery a { flex: none; }
  .gallery a:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery a:first-child { position: relative; min-height: 100%; }
  .gallery a:first-child img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  .gallery a:nth-child(n+10) { display: none; }
  .gallery-all { display: block; }
}
.gallery-all { display: none; margin: 14px 0 0; }
.gallery-hint { font-size: .85rem; color: var(--muted); margin-top: 6px; }
@media (min-width: 800px) { .gallery-hint { display: none; } }

.plan-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .plan-grid { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.plan { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.plan a { display: block; position: relative; }
.plan img { width: 100%; max-height: 640px; object-fit: contain; }
.plan .zoom-hint { position: absolute; right: 8px; bottom: 8px; background: var(--petrol); color: #fff; font-size: .82rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; }
.plan figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.room-table td:nth-child(2), .room-table th:nth-child(2) { white-space: nowrap; }
.room-table { min-width: 0; }
.room-table .is-rentable td:first-child { font-weight: 700; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--petrol-50); color: var(--petrol); white-space: nowrap; }
.tag--shared { background: var(--sand); color: #6b5323; }

.room-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.room-card .room-media img, .room-card .photo-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.room-card .room-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.room-card .room-body h3 { margin: 0; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.room-card .size { font-weight: 700; color: var(--petrol); white-space: nowrap; }
.room-card .btn { margin-top: auto; }

.feature-cols { columns: 1; column-gap: 32px; }
@media (min-width: 700px) { .feature-cols { columns: 2; } }
.feature-cols .check-list li { break-inside: avoid; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 650; list-style: none; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.5rem; color: var(--petrol); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 18px 16px; color: var(--muted); }

/* Formular */
.form-section { background: var(--bg-soft); }
.form-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .form-grid { grid-template-columns: 1fr 1.5fr; gap: 48px; } }
.inquiry-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 16px; }
.field label, .field legend { display: block; font-weight: 650; margin-bottom: 6px; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #c6d2d2; border-radius: var(--radius-sm);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--petrol); outline: 3px solid var(--petrol-100); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: .88rem; margin-top: 5px; display: none; }
.field-error.is-visible { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.segmented label { margin: 0; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1.5px solid #c6d2d2; border-radius: var(--radius-sm); font-weight: 650; cursor: pointer; text-align: center; padding: 8px; }
.segmented input:checked + span { border-color: var(--petrol); background: var(--petrol-50); color: var(--petrol-dark); }
.segmented input:focus-visible + span { outline: 3px solid #f0a500; outline-offset: 2px; }
.check, .field label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; cursor: pointer; padding: 6px 0; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--petrol); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.form-status { border-radius: var(--radius-sm); padding: 16px 18px; margin-top: 16px; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #e7f4ec; border: 1px solid #9fd0b2; color: #134a2c; }
.form-status--error { background: #fbeceb; border: 1px solid #e6aaa6; color: #6d1712; }
.form-status h3 { margin-bottom: .3em; font-size: 1.1rem; }
.contact-aside .check-list { margin-top: 12px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: rgba(8, 20, 21, .94); color: #fff; }
.lightbox::backdrop { background: rgba(8, 20, 21, .94); }
.lightbox[open] { display: flex; flex-direction: column; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; }
.lb-bar .lb-count { font-size: .9rem; opacity: .85; }
.lb-btn { min-width: 48px; min-height: 48px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; padding: 0 14px; }
.lb-btn:hover { background: rgba(255,255,255,.18); }
.lb-stage { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; touch-action: pinch-zoom pan-x pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-stage.is-zoomed { align-items: flex-start; justify-content: flex-start; }
.lb-stage.is-zoomed img { max-width: none; max-height: none; width: 220%; background: #fff; }
.lb-caption { text-align: center; padding: 8px 16px 6px; font-size: .95rem; }
.lb-nav { display: flex; justify-content: center; gap: 12px; padding: 6px 12px calc(14px + env(safe-area-inset-bottom)); }

/* Footer */
.site-footer { background: #0d2b2d; color: #d7e4e4; padding: 44px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: .6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.site-footer .logo-text small { color: #9fd0d3; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; font-size: .85rem; color: #a9bebe; }

/* Rechtstexte */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }

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

/* Bearbeiten-Modus (Klickdummy) */
.mwb-editbar { position: fixed; left: 12px; bottom: 88px; z-index: 120; display: flex; gap: 6px; }
@media (min-width: 1000px) { .mwb-editbar { bottom: 16px; } }
.mwb-editbar button { min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid #c9a200; background: #fff2b3; color: #3d3000; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; box-shadow: var(--shadow); }
.mwb-editbar .mwb-count { display: inline-block; min-width: 22px; padding: 0 6px; border-radius: 999px; background: #3d3000; color: #fff; font-size: .8rem; }
.mwb-editing [data-mwb-id] { outline: 1px dashed #d9a400; outline-offset: 2px; cursor: text; }
.mwb-editing [data-mwb-id]:focus { outline: 2px solid #f0a500; background: #fffbe6; }
.mwb-editing .mwb-edited, .mwb-edited { box-shadow: inset 3px 0 0 #2e9d5a; }
.mwb-panel { position: fixed; inset: 0; z-index: 300; background: rgba(8,20,21,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.mwb-panel[hidden] { display: none; }
.mwb-panel-box { background: #fff; border-radius: var(--radius); padding: 22px; width: 100%; max-width: 720px; max-height: 90vh; overflow: auto; }
.mwb-panel textarea { width: 100%; font: .85rem/1.5 ui-monospace, Menlo, Consolas, monospace; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.mwb-panel-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* Kurzfakten-Tabelle (Startseite) */
.facts-table { min-width: 0; }
.facts-table th { width: 30%; background: var(--bg-soft); color: var(--ink); font-size: .95rem; text-transform: none; letter-spacing: 0; }
@media (max-width: 560px) { .facts-table th, .facts-table td { display: block; width: 100%; } .facts-table th { border-bottom: 0; padding-bottom: 2px; } }
