@font-face {
  font-family: "Cormorant Garamond";
  src: url("/static/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/static/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --prussian: #0f2d4a;
  --deep: #0a1f33;
  --paper: #f5f5f2;
  --ink: #17212c;
  --muted: #5b6673;
  --rule: #d8d6cf;
  --rule-dark: rgba(242, 243, 241, 0.24);
  --on-dark: #f2f3f1;
  --on-dark-muted: rgba(242, 243, 241, 0.78);
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--paper); color: var(--ink); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { max-width: 80rem; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Bildfläche (dunkler Hintergrund mit Fassadenfoto) ---------- */
.plaster {
  color: var(--on-dark);
  background-color: var(--deep);
  background-image:
    linear-gradient(180deg, rgba(6, 19, 31, 0.55) 0%, rgba(6, 19, 31, 0.3) 30%, rgba(6, 19, 31, 0.55) 62%, rgba(6, 19, 31, 0.9) 100%),
    url("/static/fassade.jpg");
  background-size: cover;
  background-position: center 62%;
}
.landing.plaster { background-position: center 70%; }

/* ---------- Kopfzeile ---------- */
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.4rem; padding-bottom: 1.4rem;
}
.brand { display: block; line-height: 0; }
.brand img { height: 72px; width: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.25rem); font-size: 0.95rem; font-weight: 500; }
.site-nav a { text-decoration: none; color: var(--on-dark-muted); padding: 0.3rem 0; border-bottom: 1px solid transparent; }
.site-nav a:hover { color: var(--on-dark); }
.site-nav a[aria-current="page"] { color: var(--on-dark); border-bottom-color: currentColor; }

/* ---------- Knöpfe ---------- */
.pill {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font: 600 0.95rem/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.plaster .pill:hover { background: var(--on-dark); color: var(--prussian); border-color: var(--on-dark); }
.on-paper .pill { color: var(--prussian); }
.on-paper .pill:hover { background: var(--prussian); color: var(--on-dark); border-color: var(--prussian); }

/* ---------- Startseite: ein Bildschirm ---------- */
.landing { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.landing main { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.landing main .wrap { width: 100%; }
.landing h1 {
  font: 500 clamp(2.5rem, 8vw, 7.25rem)/0.94 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}
.landing-row {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  border-top: 1px solid var(--rule-dark);
  padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
}
.landing-row p { margin: 0; max-width: 34rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--on-dark-muted); }
.landing-foot {
  display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  border-top: 1px solid var(--rule-dark);
  padding: 1.1rem 0 1.4rem;
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--on-dark-muted);
}
.landing-foot nav { display: flex; gap: 1.75rem; }
.landing-foot a { text-decoration: none; }
.landing-foot a:hover { color: var(--on-dark); }
@media (max-width: 44rem) {
  .landing-row { flex-direction: column; align-items: flex-start; }
}

/* ---------- Unterseiten: Kopfband ---------- */
.band-title { padding-top: clamp(2rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.band-meta {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-dark-muted);
  padding-bottom: 1rem; margin-bottom: clamp(1.25rem, 3vw, 2rem);
  border-bottom: 1px solid var(--rule-dark);
}
.band-title h1 {
  font: 500 clamp(2.6rem, 6.4vw, 6rem)/0.95 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
  hyphens: manual;
}

/* ---------- Inhaltsblöcke ---------- */
.block { padding: clamp(3rem, 7vw, 5.5rem) 0 0; }
.block:last-child { padding-bottom: clamp(4rem, 9vw, 7rem); }
.block-label {
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem; margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--prussian);
}
.two-col {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem clamp(2.5rem, 7vw, 6.5rem);
}
@media (max-width: 52rem) { .two-col { grid-template-columns: 1fr; } }
.statement {
  margin: 0;
  font: 300 clamp(1.6rem, 2.7vw, 2.25rem)/1.28 var(--sans);
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 22ch;
}
.body p { margin: 0 0 1.1rem; color: var(--muted); max-width: 36rem; }
.body p:last-child { margin-bottom: 0; }
.more { display: inline-block; margin-top: 1.25rem; font-weight: 600; color: var(--prussian); text-decoration: none; }
.more:hover { text-decoration: underline; }

.criteria { margin: 0; }
.criteria div { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.criteria div:first-child { padding-top: 0; }
.criteria dt { font-weight: 600; margin-bottom: 0.15rem; }
.criteria dd { margin: 0; color: var(--muted); }

.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 0.85rem 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
.list li:first-child { padding-top: 0; }

.regions { display: grid; gap: 1.5rem; margin: 0; }
.regions h3 { margin: 0 0 0.2rem; font: 600 1rem/1.4 var(--sans); }
.regions p { margin: 0; color: var(--muted); }
.note { margin: 1.75rem 0 0; color: var(--muted); }

.mail {
  display: inline-block;
  font: 500 clamp(1.6rem, 3vw, 2.4rem)/1.2 var(--display);
  color: var(--prussian);
  text-decoration-color: var(--rule);
  word-break: break-word;
  margin-bottom: 1.5rem;
}
.mail:hover { text-decoration-color: var(--prussian); }
.disclaimer { margin: 2.5rem 0 0; font-size: 0.82rem; line-height: 1.55; color: var(--muted); max-width: 40rem; }

/* ---------- Rechtliches ---------- */
.legal { padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 9vw, 7rem); }
.legal article { max-width: 44rem; }
.legal h2 { font: 600 1.05rem/1.4 var(--sans); margin: 2.25rem 0 0.6rem; color: var(--prussian); }
.legal address { font-style: normal; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--deep); color: var(--on-dark-muted); font-size: 0.95rem; }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: 2.5rem;
}
.footer-grid img { height: 64px; width: auto; display: block; margin-bottom: 1.25rem; }
.footer-grid p { margin: 0; max-width: 24rem; }
.footer-grid h2 {
  margin: 0 0 1rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(242, 243, 241, 0.55);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: linear-gradient(var(--rule-dark), var(--rule-dark)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  padding-top: 1.25rem; padding-bottom: 1.5rem;
  font-size: 0.82rem;
}
@media (max-width: 52rem) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

@media (max-width: 40rem) {
  .brand img { height: 54px; }
  .site-nav { gap: 1.1rem; font-size: 0.9rem; }
}

/* ---------- Philosophie: Themen ---------- */
.themes > div { padding: 0 0 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--rule); }
.themes h3 { margin: 0 0 0.4rem; font: 600 1.05rem/1.4 var(--sans); color: var(--ink); }
.themes p { margin: 0; color: var(--muted); max-width: 36rem; }
.themes .more { margin-top: 0.25rem; }

/* ---------- Orania Property Services: Ergänzungen ---------- */
.site-header .wrap { gap: 1rem 2rem; flex-wrap: wrap; }
@media (max-width: 46rem) {
  .site-nav { width: 100%; justify-content: space-between; gap: 0.75rem; }
}

/* Hervorgehobener Hinweis (z. B. "Nur Eigenbestand") */
.callout {
  border-left: 2px solid var(--prussian);
  padding: 0.15rem 0 0.15rem 1.25rem;
  margin: 1.75rem 0 0;
  color: var(--ink);
  max-width: 36rem;
}
.callout a { color: var(--prussian); font-weight: 600; }

/* Notfälle */
.urgent dt { color: var(--prussian); }

/* E-Mail-Block mit Hinweis */
.mail-note { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.95rem; }
.mail + .mail-note { margin-top: -0.75rem; }
.plain { margin: 0 0 1.1rem; color: var(--muted); max-width: 36rem; }
.landing-foot .group { text-transform: none; letter-spacing: 0.02em; }
