/* Akin Immobilien – Stylesheet
   Systemschriften (SF Pro auf Apple-Geräten), keine externen Fonts → DSGVO-konform, schnell. */

:root {
  --ink: #1d1d1f;
  --ink-2: #515154;
  --ink-3: #6e6e73;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --brand: #00aaaf;
  --brand-ink: #077880;      /* Text-/Buttonfarbe mit ausreichendem Kontrast */
  --brand-ink-hover: #05656b;
  --navy: #273741;
  --ok: #0a7d55;
  --ok-bg: #e3f5ec;
  --warn: #9a5b00;
  --warn-bg: #fdf1dc;
  --radius: 22px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.5; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid rgba(0, 170, 175, .55); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { margin: 0 0 .4em; letter-spacing: -.022em; line-height: 1.08; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -.03em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.sub { display: block; font-size: .8rem; color: var(--ink-3); font-weight: 400; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font-size: .95rem; font-weight: 600; color: var(--brand-ink); margin-bottom: .6em; letter-spacing: 0; }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.42; color: var(--ink-2); max-width: 760px; letter-spacing: -.01em; }
.center .lead, .lead.center { margin-left: auto; margin-right: auto; }

/* ---------- Navigation (Glas-Effekt wie bei Apple) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line-soft); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; height: 96px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 70px; width: auto; }
@media (max-width: 760px) { .nav-logo img { height: 54px; } }
.nav-links { display: flex; gap: 34px; }
.nav-links a { color: var(--ink); font-size: .92rem; opacity: .82; transition: opacity .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--brand-ink); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 96px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    padding: 8px 22px 24px; border-bottom: 1px solid var(--line-soft);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .35s var(--ease), visibility .25s;
  }
  .nav-links.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav-links a { font-size: 1.5rem; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line-soft); opacity: 1; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 24px;
  background: var(--brand-ink); color: #fff; border-radius: 999px; font-size: 1rem; font-weight: 500; border: 0;
  cursor: pointer; transition: background .2s, transform .2s var(--ease); font-family: inherit;
}
.btn:hover { background: var(--brand-ink-hover); text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn-secondary { background: transparent; color: var(--brand-ink); box-shadow: inset 0 0 0 1.5px var(--brand-ink); }
.btn-secondary:hover { background: rgba(7, 120, 128, .07); }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: .92rem; }
.link-arrow { font-size: 1.05rem; font-weight: 500; }
.link-arrow::after { content: " ›"; display: inline-block; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }
.link-sm { font-size: .9rem; font-weight: 500; white-space: nowrap; }
.cta-row { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.center-row { justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 11vw, 140px) 0 0; text-align: center; }
.hero-text { position: relative; z-index: 2; }
.hero .lead { margin: 0 auto; }
.hero .cta-row { justify-content: center; }
.hero-art { margin-top: clamp(40px, 7vw, 90px); }
.hero-art img { width: 100%; height: clamp(220px, 34vw, 460px); object-fit: cover; object-position: center bottom; }

/* ---------- Kennzahlen ---------- */
.stats { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 12px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.stat + .stat { border-left: 1px solid var(--line-soft); }
.stat-n { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.03em; }
.stat-n small { font-size: .5em; font-weight: 500; color: var(--ink-3); }
.stat-l { color: var(--ink-3); font-size: .92rem; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}

/* ---------- Abschnitte ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(8px, 2vw, 24px); }
.page-head h1 { margin-bottom: .25em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-text { align-items: start; grid-template-columns: 1.4fr 1fr; }
@media (max-width: 860px) { .split, .split-text { grid-template-columns: 1fr; } }

/* ---------- Karten ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-feature { grid-template-columns: 1.35fr 1fr; grid-auto-rows: auto; }
.grid-feature .card-lg { grid-row: span 2; }
@media (max-width: 980px) { .grid { grid-template-columns: 1fr 1fr; } .grid-feature { grid-template-columns: 1fr 1fr; } .grid-feature .card-lg { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 620px) { .grid, .grid-feature { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column; background: var(--bg); border-radius: var(--radius); overflow: hidden; color: inherit;
  box-shadow: 0 0 0 1px var(--line-soft); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line-soft), 0 24px 48px -24px rgba(0, 0, 0, .22); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.card-lg .card-media { aspect-ratio: auto; flex: 1; min-height: 300px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; transition: transform .9s var(--ease); }
.card:hover .card-media img { transform: scale(1.035); }
.badge {
  position: absolute; top: 16px; left: 16px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; color: var(--navy);
}
.card-body { padding: 22px 24px 24px; }
.card-body .eyebrow { margin-bottom: .2em; font-size: .85rem; }
.card-body h3 { font-size: 1.45rem; margin-bottom: .15em; }
.card-lg .card-body h3 { font-size: 1.9rem; }
.card-meta { color: var(--ink-3); font-size: .95rem; margin-bottom: 16px; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line-soft); padding-top: 14px; flex-wrap: wrap; }
.price { font-weight: 600; }
.avail { font-size: .85rem; color: var(--ok); font-weight: 500; }
.avail-none { color: var(--ink-3); }
.card[hidden] { display: none; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.feature { background: var(--bg); border-radius: var(--radius); padding: 30px 26px; }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(0, 170, 175, .1); color: var(--brand-ink); margin-bottom: 20px; }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--ink-2); font-size: .97rem; margin: 0; }
@media (max-width: 980px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.chips { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--bg-alt); border-radius: 999px; padding: 6px 14px; font-size: .9rem; color: var(--ink-2); }
.mini-map svg { width: 100%; height: auto; }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--bg-alt); }
.cta-band .lead { margin-left: auto; margin-right: auto; }

/* ---------- Segment-Control ---------- */
.segmented { display: inline-flex; background: var(--bg-alt); border-radius: 999px; padding: 4px; margin-top: 24px; gap: 2px; }
.section-alt .segmented { background: #e8e8ed; }
.segmented button {
  border: 0; background: transparent; padding: 9px 20px; border-radius: 999px; font: inherit; font-size: .92rem; color: var(--ink-2); cursor: pointer;
  transition: background .25s var(--ease), color .25s;
}
.segmented button.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); font-weight: 500; }
.segmented-sm { margin-top: 0; }

/* ---------- Projektseite ---------- */
.crumbs { display: flex; gap: 8px; padding-top: 22px; font-size: .88rem; color: var(--ink-3); }
.project-hero { padding: clamp(28px, 5vw, 56px) 0 0; }
.project-media { margin-top: 40px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-alt); }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.caption { font-size: .8rem; color: var(--ink-3); margin-top: 10px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 0 28px; border-top: 1px solid var(--line-soft); }
.fact { padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.fact dt { font-size: .85rem; color: var(--ink-3); margin-bottom: 4px; }
.fact dd { margin: 0; font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.facts-sm { grid-template-columns: 1fr; border-top: 0; }
.facts-sm .fact { padding: 10px 0; }
.facts-sm .fact dd { font-size: 1rem; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }
.progress { height: 6px; background: var(--line-soft); border-radius: 99px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--brand); border-radius: 99px; transition: width 1.4s var(--ease); }
.progress + .small { margin-top: 10px; }
.side-card { background: var(--bg-alt); border-radius: var(--radius); padding: 28px; }
.side-card .h3-sm:not(:first-child) { margin-top: 28px; }
.h3-sm { font-size: 1.05rem; margin-bottom: .6em; }
.checks { list-style: none; padding: 0; columns: 2; column-gap: 32px; }
.checks li { padding: 6px 0 6px 26px; position: relative; break-inside: avoid; }
.checks li::before { content: ""; position: absolute; left: 0; top: 12px; width: 14px; height: 8px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.downloads { padding-left: 18px; }
.parks { display: grid; gap: 0; background: #fff; border-radius: var(--radius-sm); overflow: hidden; }
.park { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line-soft); font-size: .95rem; }
.park:last-child { border-bottom: 0; }
.park-n { color: var(--ink-3); }
.park-p { text-align: right; font-weight: 600; }
.section-alt .h3-sm { margin-top: 40px; }
.note { margin-top: 24px; }

/* ---------- Tabellen ---------- */
.table-wrap { background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line-soft); overflow: hidden; }
.units { width: 100%; border-collapse: collapse; font-size: .95rem; }
.units th { text-align: left; font-size: .78rem; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; padding: 16px 16px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.units th[data-sort] { cursor: pointer; user-select: none; }
.units th[data-sort]::after { content: " ↕"; opacity: .35; }
.units th[aria-sort="ascending"]::after { content: " ↑"; opacity: 1; }
.units th[aria-sort="descending"]::after { content: " ↓"; opacity: 1; }
.units td { padding: 15px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.units tbody tr:last-child td { border-bottom: 0; }
.units tbody tr { transition: background .2s; }
.units tbody tr:hover { background: #fafafb; }
.units tr[data-status="verkauft"], .units tr[data-status="vermietet"] { color: var(--ink-3); }
.units tr[hidden] { display: none; }
.td-action { text-align: right; }
.pill { display: inline-block; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill-frei { background: var(--ok-bg); color: var(--ok); }
.pill-reserviert { background: var(--warn-bg); color: var(--warn); }
.pill-verkauft, .pill-vermietet { background: var(--bg-alt); color: var(--ink-3); }

@media (max-width: 860px) {
  .table-wrap { background: transparent; box-shadow: none; overflow: visible; }
  .units thead { display: none; }
  .units, .units tbody { display: block; }
  .units tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; background: #fff; border-radius: var(--radius-sm); padding: 18px 18px 14px; margin-bottom: 12px; box-shadow: 0 0 0 1px var(--line-soft); }
  .units td { display: block; border: 0; padding: 0; }
  .units td::before { content: attr(data-label); display: block; font-size: .72rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
  .units td.td-action { text-align: left; }
  .units td.td-action::before { content: none; }
  .units td:first-child { grid-column: 1 / -1; font-size: 1.05rem; }
  .units-all td:nth-child(2) { grid-column: auto; }
  .units tr { grid-template-columns: 1fr 1fr 1fr; padding: 14px 16px 12px; }
  .units td.td-nr { grid-column: auto; }
}

/* ---------- Filter ---------- */
.filters { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 18px; }
.filters label { min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.filters select {
  -webkit-appearance: none; appearance: none; font: inherit; font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 400;
  background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid transparent; border-radius: 12px; padding: 12px 36px 12px 14px; min-height: 46px; cursor: pointer; width: 100%; min-width: 0; text-overflow: ellipsis;
}
.filters select:focus { border-color: var(--brand); outline: none; background-color: #fff; }
@media (max-width: 980px) { .filters { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .filters { grid-template-columns: 1fr 1fr; } }
.result-count { font-size: .95rem; color: var(--ink-3); margin: 8px 0 16px; }
.empty { text-align: center; color: var(--ink-3); padding: 40px 0; }

/* ---------- Karte (eigene Skizze) ---------- */
.map-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .map-layout { grid-template-columns: 1fr; } }
.map {
  position: relative; height: min(72vh, 660px); min-height: 440px; border-radius: var(--radius); overflow: hidden; background: #f3f4f1;
  touch-action: pan-x pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
}
.map.is-zoomed { touch-action: none; }
.map.is-dragging { cursor: grabbing; }
.map-stage { position: absolute; inset: 0; overflow: hidden; }
.map-layer { position: absolute; inset: 0; }
.map-svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; }
.map-pin { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; }
.map-city { font-size: .74rem; font-weight: 500; color: #8e8e93; pointer-events: none; letter-spacing: .01em; }
.map-city.gross { font-size: .86rem; font-weight: 600; color: #6e6e73; text-transform: uppercase; letter-spacing: .08em; }
.map-shield { pointer-events: none; background: #2a5aa8; color: #fff; font-size: .66rem; font-weight: 700; line-height: 1; padding: 3px 5px; border-radius: 4px; box-shadow: 0 0 0 1.5px #fff; }
.map-marker { border: 0; background: none; padding: 0; cursor: pointer; display: flex; align-items: center; gap: 0; font: inherit; font-size: .8rem; font-weight: 600; color: var(--ink); z-index: 2; }
.map-marker .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(0, 170, 175, .2), 0 2px 8px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); flex: none; }
.map-marker .lbl { position: absolute; left: 24px; top: 50%; transform: translate(0, -50%); opacity: 1; background: #fff; padding: 4px 9px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); transition: opacity .2s, transform .3s var(--ease); pointer-events: none; }
.map-marker:hover, .map-marker.is-active { z-index: 4; }
.map-marker:hover .dot, .map-marker.is-active .dot { transform: scale(1.3); }
.map-pin.is-verdeckt, .map-marker .lbl.is-verdeckt { visibility: hidden; }
.map-marker:hover .lbl, .map-marker:focus-visible .lbl, .map-marker.is-active .lbl { visibility: visible; }
.map-marker.is-active .lbl { background: var(--brand-ink); color: #fff; }
.map-marker.buero { cursor: default; z-index: 1; }
.map-marker.buero .dot { background: var(--navy); border-radius: 5px; width: 16px; height: 16px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.map-marker.buero .lbl { color: var(--navy); }
.map-controls { position: absolute; right: 16px; top: 16px; display: flex; flex-direction: column; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); z-index: 5; }
.map-controls button { width: 42px; height: 42px; border: 0; background: none; font-size: 1.25rem; cursor: pointer; color: var(--ink); font-family: inherit; }
.map-controls button + button { border-top: 1px solid var(--line-soft); }
.map-controls button:hover { background: var(--bg-alt); }
.map-card { position: absolute; left: 16px; bottom: 16px; max-width: 320px; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: 16px; padding: 16px 20px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .3); z-index: 5; cursor: auto; }
.map-card[hidden] { display: none; }
.map-card p { margin: 0 0 4px; }
.map-card-ort { font-weight: 600; font-size: 1.1rem; }
.map-card-info { color: var(--ink-3); font-size: .9rem; margin-bottom: 10px !important; }
.map-legend { position: absolute; right: 16px; bottom: 14px; z-index: 5; display: flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--ink-3); background: rgba(255, 255, 255, .85); padding: 5px 10px; border-radius: 8px; pointer-events: none; }
.lg { display: inline-block; width: 16px; height: 4px; border-radius: 2px; margin-left: 6px; }
.lg-a { background: #f0bf62; box-shadow: 0 0 0 1.5px #fff; }
.lg-f { background: #bfdde8; }
.lg-b { width: 9px; height: 9px; background: var(--navy); border-radius: 2px; }
@media (max-width: 560px) { .map-legend { display: none; } .map-card { left: 10px; right: 10px; bottom: 10px; max-width: none; padding: 10px 14px; border-radius: 12px; } .map-card-ort { font-size: .98rem; } .map-card-info { font-size: .8rem; margin-bottom: 4px !important; } .map-card .link-arrow { font-size: .9rem; } .map-controls { right: 10px; top: 10px; } .map-controls button { width: 36px; height: 36px; } .map { height: auto; min-height: 0; aspect-ratio: 1 / .82; } }
.map.kompakt .map-city:not(.gross), .map.kompakt .map-shield { display: none; }
.map.kompakt .map-city.gross { font-size: .66rem; letter-spacing: .05em; }
.map.kompakt .map-marker .dot { width: 14px; height: 14px; border-width: 2.5px; box-shadow: 0 0 0 4px rgba(0, 170, 175, .2), 0 1px 4px rgba(0, 0, 0, .25); }
.map-list { list-style: none; margin: 0; padding: 0; background: var(--bg-alt); border-radius: var(--radius); max-height: min(72vh, 660px); overflow: auto; }
.map-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 18px 0 0; border-bottom: 1px solid var(--line-soft); }
.map-list li:last-child { border-bottom: 0; }
.map-item { flex: 1; display: flex; gap: 14px; align-items: flex-start; text-align: left; background: none; border: 0; padding: 16px 0 16px 18px; font: inherit; cursor: pointer; color: var(--ink); }
.map-item.is-active strong { color: var(--brand-ink); }
.map-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); margin-top: 7px; flex: none; }
.mini-map .mini-svg { border-radius: 28px; }

/* ---------- Galerie, Pläne, Lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-item { border: 0; padding: 0; background: var(--bg-alt); border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery-wide { grid-row: auto; aspect-ratio: 16 / 10; } }
.segmented-scroll { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.segmented-scroll::-webkit-scrollbar { display: none; }
.segmented-scroll button { white-space: nowrap; }
.plan-viewer { background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line-soft); padding: clamp(16px, 4vw, 40px); }
.plan { margin: 0; }
.plan[hidden] { display: none; }
.plan-img { display: block; width: 100%; border: 0; background: none; padding: 0; cursor: zoom-in; }
.plan-img img { margin: 0 auto; max-height: 70vh; width: auto; max-width: 100%; }
.plan figcaption { text-align: center; color: var(--ink-3); font-size: .9rem; margin-top: 16px; }
.link-btn { border: 0; background: none; padding: 0; font: inherit; font-size: .9rem; font-weight: 500; color: var(--brand-ink); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.sub-btns { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; }

.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(18, 20, 22, .92); color: #fff; }
.lightbox::backdrop { background: rgba(18, 20, 22, .92); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; animation: lb-in .3s var(--ease); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 94vw; }
.lb-img { max-width: 94vw; max-height: 80vh; width: auto; height: auto; border-radius: 10px; object-fit: contain; }
.lightbox.is-plan .lb-img { background: #fff; padding: 2vmin; }
.lb-cap { font-size: .92rem; color: rgba(255, 255, 255, .8); text-align: center; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.lb-cap a { color: #fff; font-weight: 500; }
.lb-btn { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; font-family: inherit; }
.lb-btn:hover { background: rgba(255, 255, 255, .26); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-btn[hidden] { display: none; }
@media (max-width: 560px) { .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } }

/* ---------- Kontakt & Text ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.big-link { font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; word-break: break-word; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; letter-spacing: -.015em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.8em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: .3em; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .82); font-size: .9rem; padding: 64px 0 28px; }
.footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { height: 52px; width: auto; margin-bottom: 18px; }
.footer .muted { color: rgba(255, 255, 255, .6); max-width: 340px; }
.footer-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .55); margin-bottom: 14px; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 48px; padding-top: 22px; font-size: .8rem; color: rgba(255, 255, 255, .5); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Einblend-Animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media print {
  .nav, .footer, .cta-band, .filters, .segmented, .td-action { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.map-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; z-index: 6; background: rgba(29, 29, 31, .78); color: #fff; font-size: .9rem; padding: 10px 16px; border-radius: 12px; pointer-events: none; transition: opacity .3s; }
.map-hint[hidden] { display: none; }

/* =====================================================================
   Startseite „Bildstark“ (Entwurf A)
   ===================================================================== */
:root { --sand: #f5f2ec; --sand-line: #e6e2da; --petrol: #1f2f38; --hell: #8fe6e8; }
.logo-weiss { display: none; }
.eyebrow { text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; }
.eyebrow-hell { color: var(--hell); }

/* Navigation über dem Bild */
body.ueber-bild .nav { position: fixed; left: 0; right: 0; }
body.ueber-bild .nav:not(.is-scrolled):not(.is-open) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.ueber-bild .nav:not(.is-scrolled):not(.is-open) .logo-farbe { display: none; }
body.ueber-bild .nav:not(.is-scrolled):not(.is-open) .logo-weiss { display: block; }
@media (min-width: 761px) {
  body.ueber-bild .nav:not(.is-scrolled) .nav-links a { color: #fff; opacity: .92; }
}
body.ueber-bild .nav:not(.is-scrolled):not(.is-open) .nav-toggle span { background: #fff; }

/* Hero */
.hero-full { position: relative; min-height: min(100svh, 920px); height: 880px; max-height: 100svh; color: #fff; overflow: hidden; background: var(--petrol); display: flex; }
.hero-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 26, .55) 0%, rgba(10, 20, 26, .05) 28%, rgba(10, 20, 26, .12) 50%, rgba(10, 20, 26, .8) 100%); }
.hero-inhalt { position: relative; z-index: 2; margin-top: auto; width: 100%; padding-bottom: 56px; }
.hero-full h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: .98; letter-spacing: -.04em; max-width: 900px; margin-bottom: 22px; text-shadow: 0 2px 30px rgba(0, 0, 0, .2); }
.hero-lead { font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.42; max-width: 640px; opacity: .92; margin: 0; }
.hero-suche { margin-top: 44px; }
.sbar { display: flex; align-items: stretch; background: rgba(255, 255, 255, .97); border-radius: 22px; padding: 8px; color: var(--ink); max-width: 1000px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.sf { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 8px 20px; border-right: 1px solid #e5e5ea; cursor: pointer; }
.sf:last-of-type { border-right: 0; }
.sf span { font-size: .72rem; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.sf select { -webkit-appearance: none; appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231d1d1f' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 2px center; font: inherit; font-size: 1.02rem; font-weight: 500; color: var(--ink); padding: 4px 18px 2px 0; cursor: pointer; width: 100%; text-overflow: ellipsis; }
.sf select:focus { outline: none; }
.sf:focus-within { background: #f5f5f7; border-radius: 14px; }
.sbtn { border: 0; background: var(--brand-ink); color: #fff; border-radius: 16px; padding: 0 28px; font: inherit; font-weight: 600; font-size: 1rem; white-space: nowrap; cursor: pointer; transition: background .2s; min-height: 62px; }
.sbtn:hover { background: var(--brand-ink-hover); }
.sbtn:disabled { opacity: .55; cursor: default; }
@media (max-width: 860px) {
  .hero-full { height: auto; min-height: 100svh; max-height: none; }
  .hero-inhalt { padding-top: 140px; }
  .sbar { flex-wrap: wrap; padding: 6px; }
  .sf { flex: 1 1 45%; border-right: 0; border-bottom: 1px solid #e5e5ea; padding: 10px 14px; }
  .sbtn { flex: 1 1 100%; margin-top: 6px; min-height: 54px; }
}

/* Kennzahlen dunkel */
.stats-dunkel { background: var(--petrol); color: #fff; }
.stats-dunkel .stat { text-align: left; padding: 40px 0 38px 32px; border-left: 1px solid rgba(255, 255, 255, .12); }
.stats-dunkel .stat:first-child { padding-left: 0; border-left: 0; }
.stats-dunkel .stat-n { font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
.stats-dunkel .stat-n em { font-style: normal; color: var(--brand); font-size: .7em; }
.stats-dunkel .stat-l { color: rgba(255, 255, 255, .62); }
@media (max-width: 760px) {
  .stats-dunkel .stat { padding: 26px 0 24px 18px; }
  .stats-dunkel .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats-dunkel .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
}

/* Abschnitte */
.section-sand { background: var(--sand); }
.section-dunkel { background: var(--petrol); color: #fff; }
.section-dunkel .lead { color: rgba(255, 255, 255, .72); }

/* Projektwand */
.pgrid { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 330px 330px; gap: 24px; }
.pc { position: relative; border-radius: 26px; overflow: hidden; color: #fff; display: block; background: var(--petrol); }
.pc:hover { text-decoration: none; }
.pc > img, .pc > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pc:hover > img { transform: scale(1.04); }
.pc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, .74)); }
.pc-big { grid-row: span 2; }
.pc-inf { position: absolute; left: 28px; right: 24px; bottom: 24px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; }
.pc small { font-size: .78rem; font-weight: 700; color: var(--hell); letter-spacing: .06em; text-transform: uppercase; }
.pc h3 { margin: 4px 0 2px; font-size: 1.75rem; }
.pc-big h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.pc p { margin: 0; font-size: .95rem; opacity: .86; }
.chip { position: absolute; top: 18px; left: 18px; z-index: 2; background: #fff; color: var(--petrol); font-size: .74rem; font-weight: 700; padding: 6px 12px; border-radius: 99px; }
.glass-pill { background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .38); padding: 7px 14px; border-radius: 99px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.row4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 24px; }
.sm { display: block; border-radius: 22px; overflow: hidden; background: #fff; color: inherit; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.sm:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .3); }
.sm-im { height: 190px; position: relative; overflow: hidden; }
.sm-im > img { width: 100%; height: 100%; object-fit: cover; }
.sm-bd { padding: 16px 20px 18px; }
.sm-bd small { color: var(--brand-ink); font-weight: 600; font-size: .82rem; }
.sm-bd h3 { font-size: 1.2rem; margin: 2px 0 12px; }
.sm-ft { display: flex; justify-content: space-between; font-size: .9rem; border-top: 1px solid var(--sand-line); padding-top: 12px; }
.sm-ft .ok { color: var(--ok); font-weight: 600; }
@media (max-width: 980px) { .pgrid { grid-template-columns: 1fr 1fr; grid-template-rows: 380px 280px; } .pc-big { grid-column: 1 / -1; grid-row: auto; } .row4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pgrid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 300px; } .pc-big { grid-column: auto; } .row4 { grid-template-columns: 1fr; } }

/* Platzhalter ohne Visualisierung */
.ph { width: 100%; height: 100%; background: linear-gradient(135deg, #077880, #00aaaf 60%, #5fd0d3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; }
.ph img { width: 64px; height: auto; filter: brightness(0) invert(1); opacity: .9; }
.ph span { font-size: .82rem; font-weight: 600; opacity: .92; }
.card-media .ph, .project-media .ph { position: absolute; inset: 0; }
.card-media, .project-media { position: relative; }
.project-media .ph img { width: 110px; }

/* Aus einer Hand */
.split-bild img { width: 100%; height: min(620px, 70vw); object-fit: cover; border-radius: 28px; }
.steps { margin-top: 36px; }
.step { display: grid; grid-template-columns: 64px 1fr; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.step b { color: var(--brand); font-size: .92rem; padding-top: 4px; }
.step h3 { font-size: 1.3rem; margin: 0 0 6px; }
.step p { margin: 0; color: rgba(255, 255, 255, .66); }

/* Innenräume */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; height: 460px; margin-top: 48px; text-align: left; }
.mosaic figure { margin: 0; border-radius: 24px; overflow: hidden; position: relative; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaic figure:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; height: auto; } .mosaic figure { height: 220px; } .mosaic figure:first-child { grid-column: 1 / -1; height: 280px; } }

.section-sand .chips li { background: #fff; }
.section-sand .mini-map .mini-svg { box-shadow: 0 0 0 1px var(--sand-line); }
.filters { grid-template-columns: repeat(7, 1fr); }
@media (max-width: 1100px) { .filters { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .filters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .hero-full::after { background: linear-gradient(180deg, rgba(10, 20, 26, .55) 0%, rgba(10, 20, 26, .25) 30%, rgba(10, 20, 26, .55) 55%, rgba(10, 20, 26, .85) 100%); }
}

/* =====================================================================
   Unterseiten: dunkler Kopf, Sandton, Bildkarten
   ===================================================================== */
.kopf { position: relative; background: var(--petrol); color: #fff; overflow: hidden; padding: 170px 0 72px; }
.kopf::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 500px at 85% 0%, rgba(0, 170, 175, .22), transparent 60%); z-index: 1; }
.kopf-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; opacity: .2; filter: grayscale(.3); }
.kopf-inhalt { position: relative; z-index: 2; }
.kopf-zeile { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.kopf h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin-bottom: .25em; }
.kopf-lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.45; color: rgba(255, 255, 255, .76); max-width: 680px; margin: 0; }
.kopf-ueberlappt { padding-bottom: 130px; }
.kpis { display: flex; gap: clamp(24px, 4vw, 48px); flex-wrap: wrap; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14); }
.kpis b { display: block; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.03em; font-weight: 650; }
.kpis span { font-size: .88rem; color: rgba(255, 255, 255, .6); }
.segmented-glas { margin-top: 0; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.segmented-glas button { color: rgba(255, 255, 255, .85); }
.segmented-glas button.is-active { background: #fff; color: var(--petrol); }
.ueberlappt { padding-bottom: clamp(70px, 9vw, 110px); }
.ueberlappt > .wrap { position: relative; z-index: 3; margin-top: -78px; }

/* Projektkarten */
.pk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pk { display: block; background: #fff; border-radius: 24px; overflow: hidden; color: inherit; box-shadow: 0 22px 44px -30px rgba(0, 0, 0, .4); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.pk:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.pk[hidden] { display: none; }
.pk-im { position: relative; height: 250px; overflow: hidden; background: var(--petrol); }
.pk-im > img, .pk-im > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pk:hover .pk-im > img { transform: scale(1.04); }
.pk-ov { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .68)); color: #fff; z-index: 1; }
.pk-ov small { font-size: .74rem; font-weight: 700; color: var(--hell); letter-spacing: .06em; text-transform: uppercase; }
.pk-ov h3 { margin: 2px 0 0; font-size: 1.5rem; }
.pk-bd { padding: 18px 20px 20px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tags span { background: var(--sand); border-radius: 99px; padding: 5px 11px; font-size: .8rem; color: #55555a; }
.pk-bar { height: 6px; background: #eceae5; border-radius: 9px; overflow: hidden; margin-bottom: 12px; }
.pk-bar i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 9px; transition: width 1.4s var(--ease); }
.pk-bar-dunkel { background: rgba(255, 255, 255, .15); margin: 4px 0 8px; }
.pk-ft { display: flex; justify-content: space-between; align-items: center; }
.pk-ft b { font-weight: 650; }
.pk-ft .ok { color: var(--ok); font-weight: 600; font-size: .9rem; }
@media (max-width: 980px) { .pk-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pk-grid { grid-template-columns: 1fr; } }

.cta-bild { margin-top: clamp(60px, 8vw, 96px); border-radius: 32px; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; background: var(--petrol); color: #fff; }
.cta-bild.ohne-bild { grid-template-columns: 1fr; }
.cta-text { padding: clamp(32px, 5vw, 60px); }
.cta-text p { color: rgba(255, 255, 255, .72); font-size: 1.08rem; line-height: 1.55; margin: 16px 0 28px; }
.cta-bild > img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
@media (max-width: 760px) { .cta-bild { grid-template-columns: 1fr; } .cta-bild > img { min-height: 220px; } }

/* Projektseite */
.projekt-hero { height: 760px; min-height: 0; }
.projekt-hero.ohne-bild { background: radial-gradient(900px 500px at 80% 20%, #0d7d84, var(--petrol) 70%); }
.hero-marke { position: absolute; right: 6%; top: 18%; width: min(360px, 40vw); opacity: .12; filter: brightness(0) invert(1); }
.crumbs-hell { display: flex; gap: 8px; font-size: .88rem; color: rgba(255, 255, 255, .78); margin-bottom: 16px; }
.crumbs-hell a { color: #fff; }
.projekt-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
.fakten-glas { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 32px; border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.fakten-glas div { padding: 16px 22px; border-left: 1px solid rgba(255, 255, 255, .18); }
.fakten-glas div:first-child { border-left: 0; }
.fakten-glas small { display: block; font-size: .72rem; opacity: .72; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.fakten-glas b { font-size: 1.2rem; letter-spacing: -.01em; font-weight: 600; white-space: nowrap; }
@media (min-width: 861px) { .fakten-glas div { padding: 16px 18px; } .fakten-glas:has(> div:nth-child(7)) b { font-size: 1.08rem; } }
@media (max-width: 860px) { .projekt-hero { height: auto; min-height: 100svh; } .fakten-glas { grid-template-columns: 1fr 1fr; } .fakten-glas div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); } }
.subnav { position: sticky; top: 96px; z-index: 40; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line-soft); }
.subnav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 60px; }
.subnav-titel { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.subnav-links { display: flex; gap: 26px; height: 100%; }
.subnav-links a { display: flex; align-items: center; color: var(--ink-2); font-size: .92rem; font-weight: 500; }
.subnav-links a:hover { color: var(--ink); text-decoration: none; box-shadow: inset 0 -2px 0 var(--brand-ink); }
@media (max-width: 860px) { .subnav-titel, .subnav .btn { display: none; } .subnav-links { overflow-x: auto; } }
.intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.intro-text p { font-size: 1.12rem; line-height: 1.65; color: #3a3a3c; }
.aus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.aus div { background: var(--sand); border-radius: 16px; padding: 14px 18px; font-size: .95rem; font-weight: 500; line-height: 1.35; display: flex; gap: 14px; align-items: center; min-height: 64px; }
.aus i { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--brand-ink); flex: none; }
.aus svg { display: block; }
.aus > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } .aus { grid-template-columns: 1fr 1fr; } }
.side-dunkel { background: var(--petrol); color: #fff; border-radius: 26px; padding: 28px; }
.side-dunkel h3 { margin: 0 0 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--hell); font-weight: 700; }
.side-dunkel p { margin: 0 0 22px; color: rgba(255, 255, 255, .8); font-size: .95rem; line-height: 1.5; }
.side-dunkel a { color: #fff; }
.traeger { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.side-dunkel > :last-child, .side-dunkel > :last-child p:last-child { margin-bottom: 0; }
.traeger p { margin: 0; }
.traeger-logo { display: block; box-sizing: border-box; flex: none; width: 96px; height: 56px; background: #fff; border-radius: 12px; padding: 6px 10px; overflow: hidden; }
.traeger-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.side-dunkel .downloads { padding-left: 18px; margin: 0; }
.side-dunkel .downloads span { color: rgba(255, 255, 255, .55); font-size: .82rem; }
.lage-karte { display: block; border-radius: 16px; overflow: hidden; margin-bottom: 22px; }
.lage-karte svg { width: 100%; height: auto; display: block; }
.section-sand .table-wrap { box-shadow: 0 0 0 1px var(--sand-line); }
.nr-zelle { display: flex; align-items: center; gap: 14px; }
.nr-thumb { flex: none; width: 64px; height: 48px; border-radius: 8px; border: 1px solid var(--line-soft); background: #fff; padding: 2px; cursor: zoom-in; }
.nr-thumb img { width: 100%; height: 100%; object-fit: contain; }
.nr-thumb:hover { border-color: var(--brand); }
.plan-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; margin-top: 36px; align-items: start; }
.plan-layout-einzeln { grid-template-columns: 1fr; }
.plan-liste { display: flex; flex-direction: column; gap: 6px; }
.plan-liste button { text-align: left; border: 0; background: none; color: rgba(255, 255, 255, .7); font: inherit; font-weight: 600; padding: 14px 18px; border-radius: 14px; cursor: pointer; }
.plan-liste button:hover { color: #fff; }
.plan-liste button.is-active { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 3px 0 0 var(--brand); }
.section-dunkel .plan-viewer { box-shadow: none; }
.plan figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .plan-layout { grid-template-columns: 1fr; } .plan-liste { flex-direction: row; overflow-x: auto; } .plan-liste button { white-space: nowrap; } }

/* Wohnungsliste */
.filter-bar { background: #fff; border-radius: 22px; padding: 12px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); gap: 8px; }
.filter-bar label { padding: 4px 8px; }
.filter-bar select { background-color: var(--bg-alt); }
.ergebnis-kopf { display: flex; justify-content: space-between; align-items: center; margin: 28px 0 18px; }
.ergebnis-kopf .result-count { margin: 0; font-size: 1.15rem; font-weight: 650; color: var(--ink); }
.uk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.uk-grid[hidden], .table-wrap[hidden] { display: none; }
.uk { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--sand-line); display: flex; flex-direction: column; }
.uk[hidden] { display: none; }
.uk-top { display: flex; gap: 14px; padding: 14px 16px; align-items: center; border-bottom: 1px solid #f0ede7; color: inherit; }
.uk-top:hover { text-decoration: none; }
.uk-top > img, .uk-ph { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; }
.uk-ph { background: linear-gradient(135deg, #077880, #00aaaf); display: grid; place-items: center; }
.uk-ph img { width: 28px; filter: brightness(0) invert(1); }
.uk-top small { display: block; font-size: .72rem; color: var(--brand-ink); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.uk-top strong { font-size: 1.02rem; }
.uk-plan { height: 180px; padding: 14px; display: flex; justify-content: center; align-items: center; background: #fbfaf7; border: 0; width: 100%; cursor: zoom-in; }
.uk-plan img { max-height: 100%; max-width: 100%; object-fit: contain; }
.uk-plan-leer { color: var(--ink-3); font-size: .88rem; cursor: default; }
.uk-bd { padding: 14px 18px 18px; margin-top: auto; }
.uk-row { display: flex; gap: 16px; font-size: .9rem; color: #55555a; margin-bottom: 10px; min-height: 1.4em; }
.uk-row b { color: var(--ink); font-weight: 650; }
.uk-ft { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.uk-ft b { font-size: 1.2rem; letter-spacing: -.02em; }
@media (max-width: 980px) { .uk-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .uk-grid { grid-template-columns: 1fr; } }

/* Rechtstexte */
.papier { background: #fff; border-radius: 26px; padding: clamp(28px, 5vw, 56px); max-width: 860px; box-shadow: 0 0 0 1px var(--sand-line); }
.section-sand .side-card { background: #fff; }
.section-sand .map-list { background: #fff; }
.intro > *, .split > *, .map-layout > * { min-width: 0; }
.nr-leer { visibility: hidden; }
.section-sand .h3-sm { margin-top: 40px; }
.section-head .segmented-scroll { max-width: 100%; }
.aus span { min-width: 0; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
/* Ausstattung auf dem Handy: Kacheln zum seitlichen Wischen */
@media (max-width: 600px) {
  .aus { display: flex; gap: 10px; overflow-x: auto; margin: 24px -22px 0; padding: 0 22px 8px; scroll-snap-type: x mandatory; scroll-padding-left: 22px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .aus::-webkit-scrollbar { display: none; }
  .aus div { flex: 0 0 164px; flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px; min-height: 124px; font-size: .86rem; line-height: 1.3; scroll-snap-align: start; }
  .aus > div:last-child:nth-child(odd) { grid-column: auto; }
}
section[id] { scroll-margin-top: 166px; }
.filter-bar { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.sub-miete { color: var(--brand-ink) !important; font-weight: 500; }
.uk-miete { margin: -2px 0 8px; font-size: .85rem; color: var(--brand-ink); font-weight: 500; }

/* Kontaktformular */
.kontakt-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.kontakt-layout > * { min-width: 0; }
.kontakt-seite { display: grid; gap: 20px; }
.formular-karte { max-width: none; }
.h3-gross { font-size: 1.8rem; margin-bottom: 20px; }
.kontakt-form { display: grid; gap: 16px; }
.kontakt-form[hidden] { display: none; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feld { display: flex; flex-direction: column; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.feld input, .feld select, .feld textarea { font: inherit; font-size: 1rem; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink); background: var(--bg-alt); border: 1px solid transparent; border-radius: 12px; padding: 13px 14px; width: 100%; }
.feld textarea { resize: vertical; min-height: 140px; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.feld input:user-invalid, .feld textarea:user-invalid { border-color: #d33; }
.fangfeld { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kontakt-form .btn { justify-self: start; min-width: 200px; }
.kontakt-form .btn:disabled { opacity: .7; cursor: progress; }
.meldung { border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; font-size: .95rem; }
.meldung[hidden] { display: none; }
.meldung-ok { background: var(--ok-bg); color: #075e40; }
.meldung-fehler { background: #fdecea; color: #8a1f17; }
@media (max-width: 900px) { .kontakt-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .feld-reihe { grid-template-columns: 1fr; } }
.kontakt-seite .side-card .h3-sm { margin-top: 0; }

/* Raumflächen: aufklappbar in der Wohnungstabelle */
.raum-btn { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 0; border: 0; background: none; font: inherit; font-size: .78rem; font-weight: 600; color: var(--brand-ink); cursor: pointer; }
.raum-btn i { font-style: normal; display: inline-block; transition: transform .2s var(--ease); }
.raum-btn[aria-expanded="true"] i { transform: rotate(180deg); }
.raum-btn:hover { text-decoration: underline; }
td[data-label="Fläche"] .raum-btn { display: flex; }
tr.raum-zeile > td { background: var(--sand); padding: 22px 24px; border-bottom: 1px solid var(--line); }
.raum-box { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; align-items: start; text-align: left; }
.raum-box.ohne-plan { grid-template-columns: minmax(0, 1fr); }
.raum-plan { border: 0; padding: 8px; background: #fff; border-radius: 12px; cursor: zoom-in; display: block; width: 150px; }
.raum-plan img { width: 100%; height: auto; display: block; }
.raum-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.raum-grid > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed #d9d3c7; font-size: .92rem; }
.raum-grid > div span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.raum-grid > .raum-sum { grid-column: 1 / -1; border-bottom: 0; padding-top: 12px; font-weight: 700; font-size: 1rem; }
.raum-hinweis { grid-column: 1 / -1; margin: 2px 0 0; font-size: .75rem; color: var(--ink-3); }
@media (max-width: 1000px) { .raum-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  tr.raum-zeile, tr.raum-zeile > td { display: block; }
  tr.raum-zeile[hidden] { display: none; }
  table.units tr.raum-zeile { background: var(--sand); border: 0; box-shadow: none; padding: 0; margin-top: -6px; border-radius: 16px; }
  tr.raum-zeile > td { padding: 16px; border: 0; background: none; }
  .raum-box { grid-template-columns: 1fr; gap: 14px; }
  .raum-plan { width: 100%; max-width: 260px; }
  .raum-grid { grid-template-columns: 1fr; }
}

/* Raumflächen in der Grundriss-Ansicht */
.lb-rahmen { display: flex; align-items: center; justify-content: center; max-width: 100vw; }
.lb-raeume[hidden] { display: none; }
.lightbox.has-raeume .lb-rahmen { align-items: stretch; background: #fff; border-radius: 22px; overflow: hidden; width: min(1180px, 94vw); height: min(720px, 86vh); }
.lightbox.has-raeume .lb-fig { flex: 1 1 auto; min-width: 0; justify-content: center; padding: 24px; gap: 10px; max-width: none; }
.lightbox.has-raeume .lb-img { max-width: 100%; max-height: calc(min(720px, 86vh) - 90px); padding: 0; border-radius: 0; }
.lightbox.has-raeume .lb-cap { color: var(--ink-3); }
.lightbox.has-raeume .lb-cap a { color: var(--brand-ink); }
.lb-raeume { flex: 0 0 340px; background: var(--petrol); color: #fff; padding: 32px 28px; display: flex; flex-direction: column; overflow-y: auto; text-align: left; }
.lb-r-projekt { color: var(--hell); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }
.lb-r-titel { margin: 6px 0 4px; font-size: 1.5rem; letter-spacing: -.01em; }
.lb-r-info { margin: 0 0 20px; color: rgba(255, 255, 255, .7); font-size: .95rem; }
.lb-r-zeile, .lb-r-summe { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .93rem; }
.lb-r-zeile { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.lb-r-zeile span:last-child, .lb-r-summe span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb-r-summe { padding-top: 14px; font-weight: 700; font-size: 1.05rem; }
.lb-r-hinweis { margin: auto 0 0; padding-top: 18px; font-size: .72rem; color: rgba(255, 255, 255, .5); }
@media (max-width: 860px) {
  .lightbox.has-raeume .lb-rahmen { flex-direction: column; justify-content: flex-start; height: auto; max-height: 90vh; overflow-y: auto; width: 94vw; }
  .lightbox.has-raeume .lb-img { max-height: 45vh; }
  .lb-raeume { flex: none; padding: 22px; overflow: visible; }
  .lightbox.has-raeume .lb-fig { flex: none; padding: 16px; }
  .lightbox.has-raeume .lb-prev, .lightbox.has-raeume .lb-next { display: none; }
  .lightbox.has-raeume .lb-close { z-index: 2; background: rgba(0, 0, 0, .55); }
}

/* Projektseite, Einstieg auf Handy und Tablet: Bild frei oben, Titel und Eckdaten darunter */
.nur-mobil { display: none; }
@media (max-width: 860px) {
  .fakten-glas .nur-desktop { display: none; }
  .nur-mobil { display: inline; }
  .hero-full.projekt-hero { height: auto; min-height: 0; max-height: none; display: block; background: var(--petrol); }
  .hero-full.projekt-hero:not(.ohne-bild) .hero-bild { position: relative; display: block; height: auto; aspect-ratio: 5 / 4; min-height: 0; max-height: 640px; object-position: center 60%; }
  .hero-full.projekt-hero:not(.ohne-bild)::after { bottom: auto; height: 160px; background: linear-gradient(180deg, rgba(10, 20, 26, .55), rgba(10, 20, 26, 0)); }
  .hero-full.projekt-hero .hero-inhalt { padding-top: 26px; padding-bottom: 30px; }
  .hero-full.projekt-hero.ohne-bild .hero-inhalt { padding-top: 130px; }
  .projekt-hero .crumbs-hell { display: none; }
  .hero-full.projekt-hero h1 { font-size: 2.3rem; margin: 4px 0 6px; }
  .projekt-hero .hero-lead { font-size: 1rem; }
  .projekt-hero .fakten-glas { margin-top: 20px; grid-template-columns: repeat(6, minmax(0, 1fr)); background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .projekt-hero .fakten-glas div { padding: 11px 12px; border-top: 1px solid rgba(255, 255, 255, .12); border-left: 1px solid rgba(255, 255, 255, .12); }
  .projekt-hero .fakten-glas small { font-size: .62rem; }
  .projekt-hero .fakten-glas b { font-size: .95rem; white-space: nowrap; }
  /* Reihe 1: drei Felder; Reihe 2: drei Felder oder zwei breite Felder */
  .projekt-hero .fakten-glas > div:not(.nur-desktop) { grid-column: span 2; }
  .projekt-hero .fakten-glas > div.fakt-breit { grid-column: span 3; }
}

/* Lightbox: Hintergrund sperren, nur der Inhalt scrollt */
html.lb-offen, html.lb-offen body { overflow: hidden; }
.lightbox { overscroll-behavior: contain; }
.lb-rahmen { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
/* Handy: Ansicht an die tatsächlich sichtbare Höhe anpassen (Safari-Leiste ein/aus) */
.lightbox { height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; }
@media (max-width: 860px) {
  .lightbox.has-raeume[open] { justify-content: flex-start; padding: 72px 0 calc(12px + env(safe-area-inset-bottom)); }
  .lightbox.has-raeume .lb-rahmen { max-height: 100%; height: auto; touch-action: pan-y; background: var(--petrol); }
  .lightbox.has-raeume .lb-fig { background: #fff; }
  .lightbox.has-raeume .lb-close { top: 14px; }
}

/* Startseite Projekte: am Desktop 3 große + 4 kleine Kacheln, auf dem Handy alle gleich als Bildkachel */
.pc-mobil { display: none; }
@media (max-width: 620px) { .pc-mobil { display: block; } .row4 { display: none; } }

/* Bestand (bezugsfertige Mietwohnungen) */
.bst-teaser { margin-top: clamp(56px, 7vw, 88px); }
.bst-teaser .section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.bst-teaser .muted { margin: 8px 0 0; }
.konditionen { margin: 2px 0 22px; }
.kond { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: .93rem; color: rgba(255, 255, 255, .85); }
.kond span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: #fff; }
.kond-summe { font-weight: 700; color: #fff; border-bottom-color: rgba(255, 255, 255, .3); }
.muted-hell { color: rgba(255, 255, 255, .6); }
.nur-desktop-inline { display: inline; }
@media (max-width: 860px) { .nur-desktop-inline { display: none; } }
.bst-plan { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; margin-top: 32px; align-items: start; }
.bst-plan-links .small { margin-top: 10px; }
.bst-plan-bild { display: block; width: 100%; background: #fff; border: 0; border-radius: 22px; padding: 22px; cursor: zoom-in; }
.bst-plan-bild img { width: 100%; height: auto; display: block; }
.bst-raeume { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 24px 26px; }
@media (max-width: 860px) { .bst-plan { grid-template-columns: 1fr; } .bst-plan-bild { padding: 12px; } }

.bst-hinweis { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 28px; background: #fff; border-radius: 24px; overflow: hidden; padding-right: 32px; color: inherit; box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .35); }
.bst-hinweis:hover { text-decoration: none; }
.bst-hinweis img, .bst-hinweis-ph { width: 100%; height: 150px; object-fit: cover; display: block; background: var(--petrol); }
.bst-hinweis small { color: var(--brand-ink); font-weight: 700; font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; }
.bst-hinweis h3 { margin: 4px 0; font-size: 1.45rem; }
.bst-hinweis p { margin: 0; color: var(--ink-3); }
@media (max-width: 760px) {
  .bst-hinweis { grid-template-columns: 1fr; padding: 0 0 22px; gap: 14px; }
  .bst-hinweis > div { margin: 0 22px; }
  .bst-hinweis .btn { justify-self: start; margin-left: 22px; }
  .bst-hinweis img, .bst-hinweis-ph { height: 170px; }
}

/* Tabellenwerte nie umbrechen (z. B. „113,64 m²“, Preise) */
.units td[data-label="Fläche"], .units td[data-label="Preis"] > strong { white-space: nowrap; }
.table-wrap { overflow-x: auto; position: relative; }
.units td[data-label="Fläche"] .raum-btn { white-space: nowrap; }

/* Hochzählende Kennzahlen: Ziffern gleich breit, damit nichts springt */
[data-zaehle] { font-variant-numeric: tabular-nums; }

/* Dezenter Verweis auf den Finanzierungsrechner (Projektseiten) */
.rechner-link { display: flex; align-items: center; gap: 14px; margin: 18px 0 4px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line-soft); color: var(--ink-2); font-size: .95rem; line-height: 1.35;
  transition: border-color .2s, box-shadow .2s; }
.rechner-link:hover { text-decoration: none; border-color: var(--brand); box-shadow: 0 4px 18px rgba(0, 0, 0, .05); }
.rechner-link strong { color: var(--ink); font-weight: 600; margin-right: 4px; }
.rechner-link i { margin-left: auto; font-style: normal; color: var(--brand-ink); font-size: 1.1rem; transition: transform .2s var(--ease); }
.rechner-link:hover i { transform: translateX(3px); }
.rechner-ico { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: #eef6f6; color: var(--brand-ink); font-weight: 600; }
@media (max-width: 600px) { .rechner-link strong { display: block; margin: 0 0 2px; } }
