/* objexxus – Website-Stylesheet
   Schrift: Archivo (selbst gehostet, keine Verbindung zu Google)
   Farben: Grün der Marke, kühles Papierweiß, Messing als sparsamer Akzent */

@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-ext-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-ext-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }

:root {
  --ink: #1b1f23;
  --ink-soft: #4d5660;
  --ink-faint: #7a828a;
  --paper: #f4f4f1;
  --surface: #ffffff;
  --line: #d9dbd7;
  --line-strong: #b8bcb6;
  --green: #c4500a;
  --green-hover: #a5430a;
  --green-deep: #1b1f23;
  --green-tint: #fbeee4;
  --brass: #f28a2e;
  --brass-soft: #fde7d3;
  --alert: #a33a27;
  --alert-tint: #f8e7e2;
  --ok: #1f6b3e;
  --ok-tint: #e2f1e7;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius-s: 4px;
  --radius-m: 8px;

  --font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --wide: 118%;
  --wider: 125%;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.02; font-weight: 700; font-family: var(--head); letter-spacing: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.25rem); font-stretch: var(--wider); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-stretch: var(--wide); }
h3 { font-size: 1.25rem; line-height: 1.25; font-stretch: 108%; }
h4 { font-size: 1.0625rem; line-height: 1.3; }
.h3 { font-size: 1.25rem; line-height: 1.25; font-stretch: 108%; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 66ch; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.9375rem; }
.flush { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.25em; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-s); }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Kopfzeile ---------- */

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }

.brand { display: inline-flex; align-items: baseline; color: var(--ink); text-decoration: none; font-weight: 800; font-stretch: var(--wider); font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1; }
.brand:hover { color: var(--ink); }
.brand .dot { color: var(--brass); }
.brand img { height: 40px; width: auto; }
.brand-sub { display: block; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-faint); font-stretch: 100%; margin-top: 4px; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: 0.98rem; border-radius: var(--radius-s); }
.main-nav a:hover { background: var(--green-tint); color: var(--green-deep); }
.main-nav a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.main-nav a.nav-damage { color: var(--alert); }

.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; padding-left: 20px; border-left: 1px solid var(--line); }
.header-phone .icon { color: var(--green); }

.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius-s); width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 1080px) {
  .header-phone { display: none; }
}
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .main-nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; }
  .main-nav a { padding: 14px 4px; font-size: 1.125rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--green); padding-left: 12px; }
  .nav-open .main-nav { display: block; }
  .nav-open .nav-toggle .icon-menu { display: none; }
  .nav-open .nav-toggle .icon-close { display: block; }
  .main-nav .nav-phone { display: flex; align-items: center; gap: 10px; font-weight: 650; }
}
@media (min-width: 921px) { .main-nav .nav-phone-item { display: none; } }

/* ---------- Buttons ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius-s); border: 1.5px solid transparent; font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hover); color: #fff; text-decoration: none; }
.btn-secondary { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-secondary:hover { border-color: var(--green); color: var(--green); }
.btn-light { background: #fff; color: var(--green-deep); }
.btn-light:hover { background: var(--brass-soft); color: var(--green-deep); }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-alert { background: var(--alert); color: #fff; }
.btn-alert:hover { background: #87301f; color: #fff; }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Startseite: Hero ---------- */

.hero { background: var(--green-deep); color: #fff; position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(56px, 9vw, 112px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero h1 { max-width: 15ch; margin-bottom: 0.4em; }
.hero .lead { color: rgba(255,255,255,.82); max-width: 52ch; }
.hero .btn-row { margin-top: 32px; }

/* Die Quadrate: Mannheims Stadtgrundriss als ruhiges Muster */
.quadrate { position: absolute; inset: 0 0 auto auto; width: min(60%, 800px); height: 74%; z-index: 0; color: #fff;
  -webkit-mask-image: linear-gradient(to left, #000 35%, transparent 100%); mask-image: linear-gradient(to left, #000 35%, transparent 100%); }
.quadrate rect { fill: none; stroke: currentColor; stroke-opacity: .13; stroke-width: 1; }
.quadrate rect.q-fill { fill: currentColor; fill-opacity: .05; }
.quadrate rect.q-mark { fill: var(--brass); fill-opacity: .9; stroke: none; }
.quadrate .ring { fill: none; stroke: currentColor; stroke-opacity: .08; stroke-width: 18; }
@media (max-width: 760px) { .quadrate { width: 100%; height: 60%; opacity: .4; } .quadrate rect.q-mark { fill: currentColor; fill-opacity: .05; } }

.ledger { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid rgba(255,255,255,.22); }
.ledger div { padding: 18px 20px 0 0; }
.ledger div + div { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.22); }
.ledger strong { display: block; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; font-stretch: var(--wide); line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.ledger span { color: rgba(255,255,255,.72); font-size: 0.9375rem; }
.ledger-note { margin-top: 14px; font-size: 0.8125rem; color: rgba(255,255,255,.55); }
@media (max-width: 760px) {
  .ledger { grid-template-columns: 1fr 1fr; }
  .ledger div { padding: 16px 12px 16px 0; }
  .ledger div + div { padding-left: 0; border-left: 0; }
  .ledger div:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.22); }
  .ledger div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.22); }
}

/* Drei Wege: wer kommt mit welchem Anliegen? */
.paths { background: var(--surface); border-bottom: 1px solid var(--line); }
.paths .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.path { padding: 32px 28px 32px 0; display: flex; flex-direction: column; gap: 6px; }
.path + .path { padding-left: 28px; border-left: 1px solid var(--line); }
.path .who { color: var(--ink-soft); font-size: 0.9375rem; margin: 0; }
.path h2 { font-size: 1.375rem; font-stretch: 108%; margin: 0 0 4px; }
.path p { margin: 0 0 12px; color: var(--ink-soft); }
.path .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.path-damage h2 { color: var(--alert); }
@media (max-width: 860px) {
  .paths .wrap { grid-template-columns: 1fr; }
  .path { padding: 26px 0; }
  .path + .path { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Abschnitte ---------- */

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-white { background: var(--surface); }
.section-green { background: var(--green-tint); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 8px 0 0; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.sticky-col { position: sticky; top: 108px; }
@media (max-width: 860px) { .sticky-col { position: static; } }

/* Leistungsgruppen als ruhige Listen */
.service-group { padding: 28px 0; border-top: 1px solid var(--line); }
.service-group:first-child { border-top: 2px solid var(--ink); }
.service-group h3 { display: flex; align-items: center; gap: 12px; }
.service-group h3 .icon { color: var(--green); width: 1.4em; height: 1.4em; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 28px; margin: 0 0 10px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 12px; height: 12px; background: var(--green); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: scale(.55); }
.ticks strong { font-weight: 650; }
.ticks.compact li { margin-bottom: 6px; }

/* ---------- Unterseiten-Kopf ---------- */

.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 20ch; }
.page-head .lead { margin-bottom: 0; }
.crumb { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9375rem; margin-bottom: 18px; text-decoration: none; font-weight: 600; }

/* ---------- Wohnungen ---------- */

.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.listing-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.listing-card:hover { border-color: var(--line-strong); }
.listing-card .media { aspect-ratio: 3 / 2; background: var(--green-tint); position: relative; }
.listing-card .media img { width: 100%; height: 100%; object-fit: cover; }
.listing-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.listing-card h3 { margin: 0; font-size: 1.1875rem; }
.listing-card h3 a { color: var(--ink); text-decoration: none; }
.listing-card h3 a::after { content: ""; position: absolute; inset: 0; }
.listing-card h3 a:hover { text-decoration: underline; }
.listing-card .place { color: var(--ink-soft); font-size: 0.9375rem; margin: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 0; margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.facts div { padding-right: 16px; margin-right: 16px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.facts dt { font-size: 0.8125rem; color: var(--ink-faint); }
.facts dd { margin: 0; font-weight: 650; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 650; background: var(--brass-soft); color: #6d5212; }
.badge-demo { background: #ece9f8; color: #4a3d8f; }
.media .badge { position: absolute; top: 12px; left: 12px; }

/* Platzhalter ohne Foto: Grundriss-Skizze */
.plan-placeholder { width: 100%; height: 100%; color: var(--green); }
.plan-placeholder path, .plan-placeholder rect { fill: none; stroke: currentColor; stroke-opacity: .35; stroke-width: 2; }

.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); margin-bottom: 28px; }
.filters .field { margin: 0; min-width: 150px; flex: 1; }
.filters .btn { flex: none; }
.result-count { margin: 0 0 20px; color: var(--ink-soft); }

.empty { padding: 40px; text-align: left; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius-m); }
.empty h2, .empty h3 { margin-bottom: 8px; }

/* Wohnungs-Detail */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: 1fr; gap: 8px; border-radius: var(--radius-m); overflow: hidden; }
.gallery a:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.gallery.single { grid-template-columns: 1fr; }
.gallery.single a:first-child { grid-row: auto; }
.gallery.two { grid-template-columns: 1fr 1fr; }
.gallery.two a:first-child { grid-row: auto; grid-column: auto; }
.gallery-placeholder { aspect-ratio: 16 / 7; background: var(--green-tint); border-radius: var(--radius-m); }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery a:first-child { grid-column: span 2; grid-row: auto; } }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 64px); align-items: start; margin-top: 40px; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } }
.detail > div > h2 { font-size: 1.5rem; font-stretch: 110%; margin: 48px 0 16px; }
.detail > div > dl + h2 { margin-top: 0; }
.price-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px; position: sticky; top: 100px; }
@media (max-width: 960px) { .price-box { position: static; } }
.price-box .rent { font-size: 2rem; font-weight: 750; font-stretch: var(--wide); line-height: 1.1; font-variant-numeric: tabular-nums; }
.price-box .rent small { font-size: 1rem; font-weight: 500; color: var(--ink-soft); font-stretch: 100%; }

.data-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { font-weight: 500; color: var(--ink-soft); width: 46%; padding-right: 16px; }
.data-table td { font-weight: 600; }
.data-table tr.total th, .data-table tr.total td { border-top: 2px solid var(--ink); border-bottom: 0; color: var(--ink); font-weight: 700; }

.key-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); margin: 0 0 40px; font-variant-numeric: tabular-nums; }
.key-facts div { padding: 16px 16px 16px 0; }
.key-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.key-facts dt { font-size: 0.875rem; color: var(--ink-soft); }
.key-facts dd { margin: 2px 0 0; font-size: 1.5rem; font-weight: 700; font-stretch: var(--wide); }
@media (max-width: 600px) { .key-facts { grid-template-columns: 1fr 1fr; } .key-facts div:nth-child(3) { padding-left: 0; border-left: 0; } .key-facts div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.energy-scale { display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; margin: 12px 0 4px; }
.energy-scale span { text-align: center; font-size: 0.8125rem; font-weight: 700; padding: 6px 0; color: #fff; border-radius: 2px; opacity: .35; }
.energy-scale span.on { opacity: 1; outline: 2px solid var(--ink); outline-offset: 1px; }
.e-1 { background: #1a7f3b; } .e-2 { background: #3c9a3a; } .e-3 { background: #7db73a; } .e-4 { background: #b9cc2f; color: var(--ink) !important; }
.e-5 { background: #f0d23a; color: var(--ink) !important; } .e-6 { background: #f2a93b; } .e-7 { background: #ea7630; } .e-8 { background: #db4a2b; } .e-9 { background: #b52a26; }

/* ---------- Formulare ---------- */

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(20px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 20px; }
.form-grid > * { grid-column: span 6; }
.form-grid .half { grid-column: span 3; }
.form-grid .third { grid-column: span 2; }
.form-grid .two-thirds { grid-column: span 4; }
@media (max-width: 640px) { .form-grid .half, .form-grid .third, .form-grid .two-thirds { grid-column: span 6; } }

fieldset { border: 0; margin: 0 0 12px; padding: 0; min-width: 0; }
legend { float: left; width: 100%; font-weight: 700; font-size: 1.125rem; font-stretch: 108%; padding: 0; margin-bottom: 14px; }
legend + * { clear: both; }
.fieldset-step { padding-top: 24px; margin-top: 8px; border-top: 1px solid var(--line); }
.fieldset-step:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }

.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.96875rem; }
.field .req { color: var(--alert); font-weight: 700; }
.field .opt { color: var(--ink-faint); font-weight: 400; font-size: 0.875rem; }
.hint { font-size: 0.875rem; color: var(--ink-soft); margin: 6px 0 0; }

input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=url], input[type=date], input[type=search], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius-s); transition: border-color .15s;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='none' stroke='%2315202b' stroke-width='1.8' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-faint); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(196, 80, 10, .2); }
[aria-invalid="true"] { border-color: var(--alert) !important; }
.field-error { color: var(--alert); font-size: 0.9375rem; font-weight: 600; margin: 6px 0 0; }

.field .choice, .choice { display: flex; margin-bottom: 0; gap: 12px; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.choice input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--green); flex: none; }
.choices-inline { display: flex; flex-wrap: wrap; gap: 10px 24px; }

.field .file-drop, .file-drop { position: relative; display: flex; margin-bottom: 0; font-weight: 400; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 28px 20px; text-align: center; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-m); background: var(--paper); cursor: pointer; transition: border-color .15s, background-color .15s; }
.file-drop:hover, .file-drop.is-over { border-color: var(--green); background: var(--green-tint); }
.file-drop .icon { width: 32px; height: 32px; color: var(--green); }
.file-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-drop:focus-within { outline: 3px solid var(--brass); outline-offset: 2px; }
.file-drop strong { font-weight: 650; }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.file-list li { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: var(--green-tint); border-radius: var(--radius-s); font-size: 0.875rem; max-width: 100%; }
.file-list img { width: 36px; height: 36px; object-fit: cover; border-radius: 2px; }
.file-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-m); margin-bottom: 24px; border: 1px solid; }
.notice .icon { width: 24px; height: 24px; margin-top: 1px; }
.notice p:last-child { margin-bottom: 0; }
.notice-alert { background: var(--alert-tint); border-color: #e9c3b9; color: #5e2014; }
.notice-alert .icon { color: var(--alert); }
.notice-ok { background: var(--ok-tint); border-color: #bfdcc9; color: #173d27; }
.notice-ok .icon { color: var(--ok); }
.notice-info { background: var(--brass-soft); border-color: #e4d2a3; color: #4f3c0c; }
.notice-info .icon { color: var(--brass); }
.notice a { color: inherit; font-weight: 650; }

.success-panel { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--ok); border-radius: var(--radius-m); padding: clamp(24px, 5vw, 48px); }
.success-panel .ref { display: inline-block; font-size: 1.5rem; font-weight: 750; font-stretch: var(--wide); padding: 8px 16px; background: var(--ok-tint); border-radius: var(--radius-s); margin: 8px 0 16px; letter-spacing: 0.02em; }

/* Schadensmeldung: Notfall-Kasten */
.emergency { background: var(--alert); color: #fff; border-radius: var(--radius-m); padding: 24px; }
.emergency h2 { font-size: 1.25rem; margin-bottom: 8px; font-stretch: 108%; }
.emergency p { color: rgba(255,255,255,.92); }
.emergency a { color: #fff; }
.emergency .big-phone { display: inline-flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 750; font-stretch: var(--wide); text-decoration: none; margin-top: 4px; font-variant-numeric: tabular-nums; }

.aside-block { padding: 24px 0; border-top: 1px solid var(--line); }
.aside-block:first-child { border-top: 0; padding-top: 0; }
.aside-block h2, .aside-block h3 { font-size: 1.125rem; margin-bottom: 8px; font-stretch: 105%; }

/* ---------- Team ---------- */

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 40px 24px; }
.person { margin: 0; }
.person .photo { aspect-ratio: 3 / 2; background: var(--green-tint); border-radius: var(--radius-s); overflow: hidden; display: grid; place-items: center; margin-bottom: 14px; }
.person .photo img { width: 100%; height: 100%; object-fit: cover; }
.person .initials { font-size: 2.25rem; font-weight: 750; font-stretch: var(--wider); color: var(--green); letter-spacing: -0.02em; }
.person figcaption strong { display: block; font-size: 1.0625rem; }
.person figcaption span { color: var(--ink-soft); font-size: 0.9375rem; }

/* ---------- Partner ---------- */

.partner-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); border-top: 1px solid var(--line); }
.partner-list li { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.partner-list .logo { height: 56px; display: flex; align-items: center; margin-bottom: 8px; }
.partner-list .logo img { max-height: 56px; max-width: 180px; width: auto; object-fit: contain; }
.partner-list h3 { font-size: 1.0625rem; margin: 0; }
.partner-list p { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; }

/* ---------- Downloads ---------- */

.doc-list { list-style: none; margin: 0 0 40px; padding: 0; border-top: 2px solid var(--ink); }
.doc-list li { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.doc-list .icon { width: 28px; height: 28px; color: var(--green); }
.doc-list .meta { flex: 1; min-width: 0; }
.doc-list .meta strong { display: block; }
.doc-list .meta span { color: var(--ink-soft); font-size: 0.9375rem; }
@media (max-width: 560px) { .doc-list li { flex-wrap: wrap; } .doc-list .btn { width: 100%; } }

/* ---------- Karriere ---------- */

.job-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.job-list li { border-bottom: 1px solid var(--line); }
.job-list a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; color: var(--ink); text-decoration: none; }
.job-list a:hover h3 { color: var(--green); text-decoration: underline; }
.job-list h3 { margin: 0 0 4px; }
.job-list .meta { color: var(--ink-soft); font-size: 0.9375rem; }
.job-list .icon { width: 28px; height: 28px; color: var(--green); }

.job-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 40px 0; }
.job-columns h2 { font-size: 1.25rem; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
@media (max-width: 900px) { .job-columns { grid-template-columns: 1fr; } }

/* ---------- Mieter-Band und Kontakt ---------- */

.tenant-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .tenant-band .wrap { grid-template-columns: 1fr; } }

.contact-lines { list-style: none; margin: 0; padding: 0; }
.contact-lines li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-lines li:first-child { padding-top: 0; }
.contact-lines .icon { color: var(--green); margin-top: 2px; }
.contact-lines a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-lines a:hover { color: var(--green); text-decoration: underline; }

.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.trust p { flex: 1; min-width: 280px; }
.vdiv { display: flex; align-items: center; gap: 16px; padding-right: 40px; border-right: 1px solid var(--line); }
.vdiv-mark { width: 56px; height: 56px; border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 800; font-stretch: var(--wider); font-size: 0.8125rem; letter-spacing: 0.02em; }
@media (max-width: 700px) { .vdiv { border-right: 0; padding-right: 0; } }

/* ---------- Rechtstexte ---------- */

.prose { max-width: 70ch; }
.prose h2 { font-size: 1.375rem; font-stretch: 108%; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink); }

/* ---------- Fußzeile ---------- */

.site-footer { background: var(--ink); color: rgba(255,255,255,.78); padding: 64px 0 32px; font-size: 0.96875rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { color: #fff; font-size: 1rem; font-stretch: 100%; font-weight: 700; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.875rem; color: rgba(255,255,255,.55); }
.footer-bottom ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: span 2; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer-grid > :first-child { grid-column: auto; } }

/* Flash-Meldung oben */
.flash-wrap { padding-top: 24px; }

/* Fehlerseite */
.error-page { padding: clamp(64px, 12vw, 160px) 0; }
.error-page .code { font-size: clamp(4rem, 14vw, 9rem); font-weight: 800; font-stretch: var(--wider); color: var(--green-tint); line-height: 1; -webkit-text-stroke: 2px var(--green); }

@media print {
  .site-header, .site-footer, .btn, form { display: none !important; }
  body { background: #fff; }
}
