/* Gemeinsames Stylesheet der statischen Immobilien-Seiten (Nachbau der WP/Elementor-Seiten). */
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/barlow-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: italic; font-display: swap; src: url("/assets/fonts/barlow-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/barlow-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: italic; font-display: swap; src: url("/assets/fonts/barlow-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/barlow-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/barlow-700-normal.woff2") format("woff2"); }

:root {
  --ink: #1d1d1b;
  --text: #3a3a38;
  --muted: #7a7a76;
  --line: #d9d9d5;
  --grey: #eeeeec;
  --field: #f1f1ef;
  --black: #000;
  --white: #fff;
  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 48px);
  --head: 92px;
  --font: "Barlow", "DIN 2014", "DIN Next", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 .9em; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.12; letter-spacing: -.005em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { display: block; font-style: italic; font-weight: 400; font-size: clamp(17px, 1.6vw, 21px); color: var(--ink); margin-bottom: 2px; }
.titel { font-size: clamp(28px, 3.2vw, 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--black); color: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); transition: box-shadow .25s; }
.kopf.schatten { box-shadow: 0 1px 0 var(--line); }
.kopf-innen { height: var(--head); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; }
.nav { display: flex; gap: clamp(16px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav-links { justify-content: flex-end; }
.nav a { text-decoration: none; text-transform: uppercase; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; color: var(--ink); padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav a.aktiv::after { transform: scaleX(1); }
.marke img { height: 64px; width: auto; }
.marke-text { display: block; font-size: 30px; font-weight: 700; letter-spacing: .32em; margin-right: -.32em; color: var(--ink); text-decoration: none; }
.marke { text-decoration: none; }
.menu-knopf { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; justify-self: end; }
.menu-knopf span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s, opacity .25s; }
.mobil-nav { display: none; }

/* Willkommen + Hero */
.willkommen { text-align: center; padding: 18px 0 30px; }
.willkommen h1 { font-size: clamp(34px, 4.2vw, 52px); }
.hero { height: clamp(320px, 52vw, 680px); background: #ddd center / cover no-repeat; }

/* Gebäude */
.abschnitt { padding: clamp(64px, 9vw, 120px) 0; }
.gebaeude-text { max-width: 640px; margin: 0 auto; text-align: center; }
.gebaeude-text h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 30px; }
.zert { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; max-width: 640px; margin: 44px auto 0; }
.zert p { margin: 0 0 .3em; font-size: 15px; }
.knopf { display: inline-flex; align-items: center; gap: 10px; background: var(--black); color: var(--white); text-decoration: none; text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .08em; padding: 14px 22px; border: 0; cursor: pointer; transition: background .2s; }
.knopf:hover { background: #333; }

.kennzahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.kennzahl img { height: 44px; width: auto; margin: 0 auto 18px; }
.kennzahl strong { display: block; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; color: var(--ink); line-height: 1.1; }
.kennzahl span { display: block; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.daten { margin: clamp(48px, 6vw, 80px) auto 0; max-width: 980px; border-top: 1px solid #9a9a96; }
.daten div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 28px; padding: 14px 0; border-bottom: 1px solid #9a9a96; }
.daten dt { text-align: right; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.daten dd { margin: 0; font-size: 15px; }

/* Vermietung */
.vermietung { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.vm-links { background: var(--grey); padding: clamp(40px, 5vw, 72px) clamp(24px, 4.5vw, 64px); }
.vm-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 36px; }
.etage { display: flex; align-items: center; gap: 12px; }
.etage-nr { font-size: clamp(64px, 7vw, 96px); font-weight: 600; line-height: .85; color: var(--ink); font-variant-numeric: tabular-nums; }
.etage-pfeile { display: flex; flex-direction: column; gap: 4px; }
.etage-pfeile button { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--ink); line-height: 0; }
.etage-pfeile button:disabled { color: #b6b6b2; cursor: default; }
.etage-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.flaechen { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.flaechen th { text-align: left; font-size: 14px; font-weight: 600; color: var(--ink); padding: 0 16px 4px; }
.flaechen td { background: var(--white); padding: 22px 16px; font-size: 20px; font-weight: 600; color: var(--ink); }
.flaechen tr.flaeche { cursor: pointer; transition: background .2s, color .2s; }
.flaechen tr.flaeche:hover td, .flaechen tr.flaeche.an td { background: var(--black); color: var(--white); }
.flaechen td:first-child { width: 72px; }
.voll { background: var(--white); padding: 22px 20px; font-size: 18px; font-weight: 600; color: var(--ink); }
.voll small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.anfrage { margin-top: 40px; }
.anfrage h3 { font-size: 20px; margin-bottom: 14px; }
.anfrage p { margin: 0; font-size: 14px; line-height: 1.75; }
.anfrage a { text-decoration: none; }
.anfrage a:hover { text-decoration: underline; }
.vm-plan { background: var(--black); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 32px; position: relative; }
.vm-plan img { width: 100%; max-height: 560px; object-fit: contain; transition: opacity .25s; }
.plan-reiter { position: absolute; top: 24px; right: 24px; display: flex; gap: 2px; }
.plan-reiter button { background: transparent; color: #9a9a96; border: 1px solid #333; font: inherit; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; cursor: pointer; }
.plan-reiter button[aria-pressed="true"] { color: var(--white); border-color: var(--white); }

/* Infrastruktur / Lage */
.lage { position: relative; background: #0b0b0b; color: var(--white); overflow: hidden; }
.lage-innen { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: 40px; align-items: center; min-height: 600px; padding-top: 64px; padding-bottom: 64px; }
.lage .kicker, .lage h2 { color: var(--white); }
.lage .kicker, .lage h2 { background: var(--black); display: inline; box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 0 6px; }
.lage h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.35; }
.lage-text { margin-top: 28px; font-size: 15px; line-height: 1.7; color: #d6d6d2; }
.lage-adresse { margin-top: 24px; font-size: 14px; color: #a8a8a4; }
.lage-adresse a { color: var(--white); }
.lage-karte svg { width: 100%; height: auto; display: block; }
.lage-karte text { font-family: var(--font); paint-order: stroke; stroke: #0b0b0b; stroke-width: 5px; stroke-linejoin: round; }

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 44px; }
.galerie.zwei { grid-template-columns: repeat(2, 1fr); }
.galerie a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.galerie img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .4s, transform .6s; }
.galerie a:hover img, .galerie a:focus-visible img { filter: none; transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.94); display: none; align-items: center; justify-content: center; }
.lightbox.offen { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); cursor: pointer; padding: 18px; font: inherit; font-size: 34px; line-height: 1; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-zu { top: 8px; right: 12px; }
.lb-zurueck { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-vor { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-zaehler { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #aaa; font-size: 13px; letter-spacing: .08em; }

/* Neuigkeiten */
.neuigkeiten { background: var(--grey); }
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 320px)); gap: 28px; margin-top: 44px; }
.karte { background: var(--white); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06); text-decoration: none; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.karte:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 14px 32px rgba(0,0,0,.1); }
.karte img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.karte-text { padding: 24px 24px 20px; flex: 1; }
.karte h3 { font-style: italic; font-weight: 500; font-size: 19px; margin-bottom: 12px; }
.karte p { font-size: 14px; color: var(--muted); }
.karte .mehr { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.karte time { display: block; border-top: 1px solid #eee; padding: 14px 24px; font-size: 12px; color: var(--muted); }

/* Kontakt */
.kontakt-raster { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); }
.kontakt-raster h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 34px; }
.personen { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 36px; font-size: 14px; line-height: 1.75; }
.personen p { margin: 0 0 .8em; }
.personen a { text-decoration: none; }
.personen a:hover { text-decoration: underline; }
.eigner { margin-top: 30px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.eigner img { height: 120px; width: auto; }
.eigner-text { display: grid; grid-template-columns: 130px 1fr; gap: 24px; margin-top: 22px; font-size: 14px; line-height: 1.75; }
.formular { display: grid; gap: 10px; align-content: start; }
.formular .zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.formular input, .formular textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--field); border: 1px solid transparent; padding: 14px 14px; border-radius: 0; transition: border-color .2s, background .2s; }
.formular input:focus, .formular textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.formular textarea { min-height: 150px; resize: vertical; }
.formular label.check { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: 6px 0 8px; }
.formular label.check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--black); }
.formular .knopf { justify-content: center; padding: 17px; width: 100%; }
.formular .topf { position: absolute; left: -5000px; }
.meldung { font-size: 14px; padding: 12px 14px; display: none; }
.meldung.ok { display: block; background: #e8f1e8; color: #1d4d1d; }
.meldung.fehler { display: block; background: #f6e6e4; color: #7a1f14; }

/* Fuß */
.fuss { background: var(--black); color: var(--white); padding: 56px 0 64px; font-size: 13.5px; line-height: 1.75; }
.fuss-innen { display: grid; grid-template-columns: 220px 1fr auto; gap: 40px; }
.fuss a { color: var(--white); text-decoration: none; font-weight: 600; }
.fuss a:hover { text-decoration: underline; }
.fuss .klein { color: #8a8a86; font-size: 12px; align-self: end; }

/* Unterseiten */
.seite { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.seite .wrap { max-width: 820px; }
.seite h1 { font-size: clamp(32px, 3.6vw, 46px); margin-bottom: 36px; }
.seite h2 { font-size: 22px; margin: 36px 0 12px; }
.seite .zurueck { display: inline-block; margin-bottom: 28px; font-size: 13px; text-decoration: none; color: var(--muted); }
.seite .zurueck:hover { color: var(--ink); }
.beitrag-bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }

/* Einblenden */
.ein { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.ein.da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ein { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsiv */
@media (max-width: 980px) {
  :root { --head: 76px; }
  .kopf-innen { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .marke img { height: 52px !important; }
  .marke-text { font-size: 24px; }
  .menu-knopf { display: block; }
  .mobil-nav { display: block; position: fixed; inset: var(--head) 0 0 0; background: var(--white); padding: 28px var(--pad); transform: translateX(100%); transition: transform .3s ease; z-index: 49; }
  .mobil-nav.offen { transform: none; }
  .mobil-nav a { display: block; padding: 14px 0; font-size: 22px; font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
  .menu-offen .menu-knopf span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-offen .menu-knopf span:nth-child(2) { opacity: 0; }
  .menu-offen .menu-knopf span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .vermietung, .lage-innen, .kontakt-raster { grid-template-columns: 1fr; }
  .vm-plan { min-height: 360px; }
  .kennzahlen { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .galerie { grid-template-columns: repeat(2, 1fr); }
  .fuss-innen { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .personen, .formular .zeile, .eigner-text, .zert, .beitrag-bilder { grid-template-columns: 1fr; }
  .zert { justify-items: center; text-align: center; }
  .daten div { grid-template-columns: 1fr; gap: 2px; }
  .daten dt { text-align: left; }
  .flaechen td { font-size: 17px; padding: 18px 12px; }
}
.lage-liste { display: none; list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid #2e2e2b; }
.lage-liste li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #2e2e2b; font-size: 15px; color: #fff; }
.lage-liste li span:last-child { color: #a8a8a4; }
@media (max-width: 600px) {
  .lage-karte .lbl { display: none; }
  .lage-karte svg { margin: 0 -10%; width: 120%; }
  .lage-liste { display: block; }
}

/* Kennzahlen + Zertifikat auf einer Seite (Access Tower) */
.daten + .zert { margin-top: clamp(56px, 7vw, 96px); }

/* Variante „dunkel“ (Loxley House): schwarz mit Grün als Akzent */
body.dunkel { --ink: #fff; --text: #c9c9c4; --muted: #8f8f8a; --line: #2a2a28; --grey: #121212; --field: #1b1b1a; --akzent: #aacb5c; background: #000; }
.dunkel .kopf { background: rgba(0,0,0,.94); }
.dunkel .kopf.schatten { box-shadow: 0 1px 0 #222; }
.dunkel .kicker { font-style: normal; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--akzent); margin-bottom: 8px; }
.dunkel .willkommen { padding-top: 26px; }
.dunkel .willkommen .kicker { margin-bottom: 10px; }
.dunkel .hero { filter: grayscale(1); }
.dunkel #gebaeude { background: #121212; }
.dunkel .gebaeude-text { max-width: 720px; }
.dunkel .gebaeude-text p { color: #d6d6d2; }
.dunkel .vm-links { background: #0b0b0b; }
.dunkel .vm-plan { background: #fff; }
.dunkel .voll { background: #121212; }
.dunkel .knopf { background: var(--akzent); color: #000; }
.dunkel .knopf:hover { background: #c3e07a; }
.dunkel .plan-reiter button { color: #555; border-color: #ccc; background: #fff; }
.dunkel .plan-reiter button[aria-pressed="true"] { color: #000; border-color: #000; }
.dunkel .lage { background: #0b0b0b; }
.dunkel .lage .kicker, .dunkel .lage h2 { background: none; padding: 0; }
.dunkel .lage .kicker { color: var(--akzent); }
.dunkel .lage-adresse a { color: var(--akzent); }
.dunkel .personen a, .dunkel .seite a, .dunkel .formular a { color: var(--akzent); }
.dunkel .personen strong { color: #fff; }
.dunkel .formular input, .dunkel .formular textarea { color: #fff; }
.dunkel .formular input:focus, .dunkel .formular textarea:focus { background: #000; border-color: var(--akzent); }
.dunkel .formular label.check input { accent-color: var(--akzent); }
.dunkel .galerie a { background: #111; }
.dunkel .fuss { border-top: 1px solid #1d1d1b; }
.dunkel .menu-knopf span { background: #fff; }
.dunkel .mobil-nav { background: #000; }
.dunkel .meldung.ok { background: #1f2a12; color: #d6ecaa; }
.dunkel .meldung.fehler { background: #2a1512; color: #f0b9ae; }
.personen .rolle { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--akzent, var(--muted)); margin-bottom: 4px; }
