/* =========================================================================
   ViNi-Immobilien – Stylesheet
   Ein einziges Stylesheet, keine externen Schriften, keine Frameworks.
   Farben und Abstände stehen zentral als Variablen in :root.
   ========================================================================= */

:root {
  /* Farben */
  --ink: #1c2633;          /* Fließtext */
  --ink-soft: #4c5868;     /* Nebentext */
  --paper: #fbf9f5;        /* Seitenhintergrund */
  --surface: #ffffff;      /* Karten */
  --sand: #f3eee5;         /* abgesetzte Bereiche */
  --line: #e3ddd1;         /* Linien, Rahmen */
  --brand: #0a2746;        /* Blau aus dem Logo */
  --brand-strong: #061b33;
  --brand-soft: #e4eaf2;
  --accent: #86612e;       /* Gold aus dem Logo, abgedunkelt (Text-tauglich, AA) */
  --accent-soft: #f5ebdc;
  --gold: #bf8e4c;         /* Gold aus dem Logo – nur auf dunklem Grund oder als Deko */
  --footer-bg: #06182c;
  --footer-ink: #e9e5dd;
  --footer-muted: #b3bfcd;
  --focus: #c0661a;
  --todo-bg: #ffe98a;
  --todo-ink: #3d3000;

  /* Schrift */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "Noto Serif", Georgia, serif;

  /* Maße */
  --container: 1180px;
  --gutter: 16px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(7, 28, 51, .06), 0 8px 24px rgba(7, 28, 51, .06);
  --shadow-hover: 0 2px 4px rgba(7, 28, 51, .08), 0 14px 34px rgba(7, 28, 51, .10);
  --section-pad: clamp(56px, 8vw, 104px);

  color-scheme: light;
}

/* ---------- Grundlagen ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

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

img, svg { display: block; max-width: 100%; height: auto; }

[hidden] { display: none !important; }
#inhalt:focus { outline: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--brand-strong);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.45rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }

a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

strong { font-weight: 650; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  background: var(--brand);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Platzhalter & Prüf-Markierungen ---------- */

/* Fehlende Angaben: gelb hinterlegt, damit sie vor der Veröffentlichung auffallen */
.todo {
  background: var(--todo-bg);
  color: var(--todo-ink);
  padding: .05em .3em;
  border-radius: 4px;
  border-bottom: 2px dashed #b38f00;
  font-style: normal;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Kleiner Hinweis über Textblöcken, die noch inhaltlich abgestimmt werden müssen */
.pruef-hinweis {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--todo-ink);
  background: var(--todo-bg);
  border-radius: 999px;
  padding: .2em .8em;
  margin: 0 0 1rem;
}
.pruef-hinweis::before { content: "✎"; }

.entwurf-banner {
  background: var(--todo-bg);
  color: var(--todo-ink);
  font-size: .9rem;
  line-height: 1.45;
  padding: 8px var(--gutter);
  text-align: center;
  border-bottom: 1px solid #e0c440;
}
.entwurf-banner a { color: inherit; font-weight: 600; }

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--schmal { max-width: calc(780px + 2 * var(--gutter)); }

.section { padding-block: var(--section-pad); }
.section--sand { background: var(--sand); }
.section--brand { background: var(--brand); color: #f3f1ec; }
.section--brand h2, .section--brand h3 { color: #fff; }
.section + .section:not(.section--sand):not(.section--brand) { padding-top: 0; }

.section-kopf { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-kopf p { color: var(--ink-soft); font-size: 1.1rem; }
.section-kopf--zentriert { margin-inline: auto; text-align: center; }

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .8rem;
}

.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.25rem); color: var(--ink-soft); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }

/* ---------- Kopfbereich & Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 245, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--brand-strong);
  flex-shrink: 0;
}
.logo:hover { color: var(--brand-strong); }
.logo svg { width: 40px; height: 40px; flex-shrink: 0; }
.logo-bild { width: auto; height: 46px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
.logo-zusatz { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-top: 3px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand-strong);
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle-icon { position: relative; width: 18px; height: 12px; }
.nav-toggle-icon span {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-icon span:nth-child(1) { top: 0; }
.nav-toggle-icon span:nth-child(2) { top: 5px; }
.nav-toggle-icon span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 30px rgba(7, 28, 51, .08);
  padding: 8px var(--gutter) 20px;
  display: none;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  padding: 13px 4px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-nav a:hover { color: var(--brand); }
.site-nav a[aria-current="page"] { color: var(--brand); }
.site-nav a[aria-current="page"]::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); margin-right: 10px; vertical-align: middle;
}
.site-nav .nav-cta { margin-top: 16px; }
.site-nav .nav-cta a {
  border: 0; border-radius: 999px; background: var(--brand); color: #fff;
  text-align: center; padding: 14px 20px;
}
.site-nav .nav-cta a:hover { color: #fff; background: var(--brand-strong); }
.site-nav .nav-cta a[aria-current="page"]::before { display: none; }

/* Ohne JavaScript ist das Menü immer sichtbar */
.no-js .nav-toggle { display: none; }
.no-js .site-nav { position: static; display: block; box-shadow: none; border: 0; padding: 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: .7em 1.35em;
  border-radius: 999px;
  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 .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-strong); color: #fff; }
.btn--secondary { background: transparent; color: var(--brand-strong); border-color: var(--brand); }
.btn--secondary:hover { background: var(--brand-soft); color: var(--brand-strong); }
.btn--hell { background: #fff; color: var(--brand-strong); }
.btn--hell:hover { background: var(--accent-soft); color: var(--brand-strong); }
.btn--rahmen-hell { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--rahmen-hell:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }

.btn-reihe { display: flex; flex-wrap: wrap; gap: 12px; }

.textlink {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 650; text-decoration: none; color: var(--brand);
}
.textlink::after { content: "→"; transition: transform .18s ease; }
.textlink:hover::after { transform: translateX(3px); }

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

.hero { padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 96px); }
.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 600; }
.hero .lead { max-width: 38em; margin-bottom: 1.6em; }

.fakten-liste {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.fakten-liste li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); }
.fakten-liste svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--brand); margin-top: 2px; }

.portrait-karte {
  position: relative;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: 12px;
  box-shadow: var(--shadow);
  max-width: 340px;
  justify-self: center;
  width: 100%;
}
.portrait-karte img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--sand); }
.portrait-karte figcaption { padding: 14px 8px 4px; }
.portrait-karte .name { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; color: var(--brand-strong); display: block; }
.portrait-karte .rolle { font-size: .95rem; color: var(--ink-soft); }
.portrait-karte .stempel {
  position: absolute; top: 26px; left: -10px;
  background: var(--accent); color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow);
}

/* ---------- Leistungs-Karten ---------- */

.karte {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
}
.karte h3 { margin-bottom: .35em; }
.karte p { color: var(--ink-soft); margin-bottom: 1.1em; }
.karte .textlink { margin-top: auto; }
.karte-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 14px;
}
.karte-icon svg { width: 26px; height: 26px; }
a.karte { text-decoration: none; color: inherit; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
a.karte:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: #d5cdbd; color: inherit; }

/* ---------- Ablauf / Schritte ---------- */

.schritte {
  list-style: none;
  counter-reset: schritt;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.schritte li {
  counter-increment: schritt;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px 78px;
}
.schritte li::before {
  content: counter(schritt);
  position: absolute; left: 22px; top: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: #fff;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.15rem;
}
.schritte h3 { font-size: 1.15rem; margin-bottom: .3em; }
.schritte p { margin: 0; color: var(--ink-soft); }

/* ---------- Region / Karte ---------- */

.region-karte {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(12px, 2vw, 20px);
  box-shadow: var(--shadow);
}
.karte-bild { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.karte-bild img { width: 100%; height: auto; }
.karte-bild svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.region-karte figcaption { font-size: .85rem; color: var(--ink-soft); padding: 12px 6px 2px; text-align: center; line-height: 1.6; }
.region-karte figcaption a { color: inherit; }
.region-karte .schleier { fill: var(--paper); fill-opacity: .5; }
.region-karte .ring { fill: none; stroke: var(--brand); stroke-opacity: .8; stroke-width: 3; stroke-dasharray: 10 9; }
.region-karte .ring-schild rect { fill: #fff; stroke: var(--brand); stroke-opacity: .25; }
.region-karte .ring-schild text { font-family: var(--font-sans); font-size: 17px; font-weight: 700; letter-spacing: .06em; fill: var(--brand); }
.region-karte .zentrum rect { fill: #fff; stroke: var(--brand); stroke-opacity: .3; stroke-width: 1.5; }
.region-karte .zentrum circle.punkt { fill: var(--gold); }
.region-karte .zentrum circle.puls { fill: var(--gold); fill-opacity: .25; }
.region-karte .zentrum text { font-family: var(--font-serif); font-size: 27px; font-weight: 700; fill: var(--brand-strong); }
.region-karte figcaption small { display: block; font-size: .74rem; line-height: 1.5; margin-top: 6px; opacity: .85; }

/* Ansicht Satellit / Karte */
.karte-umschalter { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 12px; background: var(--sand); border: 1px solid var(--line); border-radius: 999px; }
.karte-umschalter[hidden] { display: none; }
.karte-umschalter button {
  min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent;
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink-soft); cursor: pointer;
}
.karte-umschalter button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.karte-umschalter button:not([aria-pressed="true"]):hover { color: var(--brand); }
.region-karte[data-ansicht="satellit"] .karte-strassen,
.region-karte[data-ansicht="karte"] .karte-satellit,
.region-karte[data-ansicht="karte"] .sat-orte { display: none; }
.region-karte[data-ansicht="satellit"] .schleier { fill: var(--brand-strong); fill-opacity: .42; }
.region-karte[data-ansicht="satellit"] .ring { stroke: #fff; stroke-opacity: .95; }
.region-karte .sat-orte circle { fill: #fff; stroke: var(--brand-strong); stroke-width: 2; }
.region-karte .sat-orte text {
  font-family: var(--font-sans); font-size: 19px; font-weight: 600; fill: #fff;
  stroke: rgba(6, 27, 51, .8); stroke-width: 4px; stroke-linejoin: round; paint-order: stroke;
}
.region-karte .sat-orte .ort--klein text { font-size: 16px; font-weight: 500; }

.orte-liste { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.orte-liste li {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 13px; font-size: .92rem; color: var(--ink-soft);
}

/* ---------- Profil Nikolas Vits (Startseite, Über-Seite, Kontakt) ---------- */

.profil, .profil-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.profil { align-items: start; }

.profil-foto {
  margin: 0;
  width: 100%;
  max-width: 320px;
  justify-self: center;
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: 12px;
  box-shadow: var(--shadow);
}
.profil-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--sand); }
.profil-foto figcaption { font-size: .85rem; color: var(--ink-soft); padding: 10px 6px 2px; text-align: center; }

/* Auf dem Handy steht das große Porträt schon oben – hier nur klein */
.profil-teaser .profil-foto { max-width: 180px; justify-self: start; padding: 8px; }
.profil-inhalt h3 { margin-top: 1.6em; }
.profil-kontakt {
  margin-top: 28px;
  background: var(--sand);
  border-radius: var(--radius);
  padding: 20px 22px 22px;
}
.profil-kontakt h3 { margin-top: 0; }

.profil-mini {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.profil-mini img { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; background: var(--sand); flex-shrink: 0; }
.profil-mini h2 { margin: 0; }
.profil-mini p { margin: 2px 0 0; color: var(--ink-soft); }

/* ---------- CTA-Band ---------- */

.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: .4em; }
.cta-band p { color: #d5deea; max-width: 40em; margin-inline: auto; margin-bottom: 1.6em; }
.cta-band .btn-reihe { justify-content: center; }

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

.seitenkopf {
  padding-block: clamp(40px, 6vw, 80px) clamp(32px, 5vw, 56px);
  background: linear-gradient(180deg, var(--sand) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.seitenkopf h1 { margin-bottom: .35em; }
.seitenkopf .lead { max-width: 42em; margin: 0; }

.brotkrumen { font-size: .88rem; color: var(--ink-soft); margin-bottom: 1rem; }
.brotkrumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.brotkrumen li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.brotkrumen a { color: var(--ink-soft); }

/* ---------- Fließtext (Über, Rechtstexte) ---------- */

.text { max-width: 46em; }
.text h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); margin-top: 2em; }
.text h3 { margin-top: 1.6em; }
.text ul, .text ol { padding-left: 1.3em; margin: 0 0 1em; }
.text li { margin-bottom: .35em; }
.text > :first-child { margin-top: 0; }

.hinweis {
  background: var(--brand-soft);
  border: 1px solid #c9d4e2;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 0 0 2em;
}
.hinweis p:last-child { margin-bottom: 0; }
.hinweis--entwurf { background: #fff7cf; border-color: #ead57a; }
.hinweis--entwurf strong:first-child { display: block; margin-bottom: .3em; }

/* ---------- Werte-Liste (Über) ---------- */

.werte { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.werte li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.werte h3 { font-size: 1.12rem; margin-bottom: .3em; }
.werte p { margin: 0; color: var(--ink-soft); }

/* ---------- Leistungen (Detailblöcke) ---------- */

.leistung {
  display: grid;
  gap: 20px;
  padding-block: clamp(32px, 5vw, 56px);
  border-top: 1px solid var(--line);
}
.leistung:first-of-type { border-top: 0; padding-top: 0; }
.leistung-kopf { display: flex; align-items: center; gap: 14px; }
.leistung-kopf .karte-icon { margin: 0; flex-shrink: 0; }
.leistung-kopf h2 { margin: 0; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
.haken-liste { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 9px; }
.haken-liste li { position: relative; padding-left: 30px; }
.haken-liste li::before {
  content: ""; position: absolute; left: 0; top: .32em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230a2746' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 6.8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.leistung-intro { color: var(--ink-soft); font-size: 1.08rem; margin-top: 1rem; }

.sprungmarken { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 5vw, 56px); }
.sprungmarken a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none;
}
.sprungmarken a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 32px 18px 0;
  position: relative;
  font-weight: 650;
  color: var(--brand-strong);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--accent); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 18px; color: var(--ink-soft); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Inserate: Filter, Karten, Leerzustand ---------- */

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter button {
  min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink);
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
}
.filter button:hover { border-color: var(--brand); }
.filter button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.objekt-liste { display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: 1fr; }

.objekt-karte {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.objekt-karte:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.objekt-karte-bild { position: relative; aspect-ratio: 3 / 2; background: var(--sand); }
.objekt-karte-bild img { width: 100%; height: 100%; object-fit: cover; }
.objekt-karte-badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.objekt-karte-inhalt { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.objekt-karte h3 { font-size: 1.2rem; margin: 0; }
.objekt-karte h3 a { color: inherit; text-decoration: none; }
/* Ganze Karte klickbar, Link bleibt das eine fokussierbare Element */
.objekt-karte h3 a::after { content: ""; position: absolute; inset: 0; }
.objekt-karte h3 a:focus-visible { outline: none; }
.objekt-karte:has(h3 a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.objekt-ort { display: flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: .95rem; margin: 0; }
.objekt-ort svg { width: 16px; height: 16px; flex-shrink: 0; }
.objekt-eckdaten { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0 0; padding: 0; list-style: none; font-size: .93rem; color: var(--ink-soft); }
.objekt-eckdaten strong { color: var(--ink); }
.objekt-preis { margin-top: auto; padding-top: 12px; font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--brand-strong); }
.objekt-preis small { font-family: var(--font-sans); font-size: .8rem; font-weight: 500; color: var(--ink-soft); display: block; }

.badge {
  display: inline-flex; align-items: center;
  font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .95); color: var(--brand-strong);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}
.badge--demo { background: var(--todo-bg); color: var(--todo-ink); }
.badge--reserviert { background: var(--accent); color: #fff; }
.badge--verkauft, .badge--vermietet { background: var(--ink); color: #fff; }

.leerzustand {
  text-align: center;
  background: var(--surface);
  border: 1px dashed #cfc6b5;
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px) 20px;
  grid-column: 1 / -1;
}
.leerzustand svg { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--brand); }
.leerzustand h3 { margin-bottom: .4em; }
.leerzustand p { color: var(--ink-soft); max-width: 34em; margin-inline: auto; }

.mehr-link { margin: 28px 0 0; }
.leerzustand .btn-reihe { justify-content: center; }
.leerzustand h1 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); }

.lokal-hinweis { margin: 18px 0 0; font-size: .9rem; color: var(--ink-soft); }
.ablauf-hinweis { margin: 18px 0 0; }

.demo-hinweis {
  background: #fff7cf; border: 1px solid #ead57a; color: var(--todo-ink);
  border-radius: var(--radius-sm); padding: 12px 16px; font-size: .95rem; margin-bottom: 24px;
}
.demo-hinweis a { color: inherit; font-weight: 650; }

.suchauftrag {
  margin-top: clamp(36px, 5vw, 56px);
  background: var(--brand-soft);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  display: grid; gap: 16px; align-items: center;
}
.suchauftrag h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); margin-bottom: .3em; }
.suchauftrag p { margin: 0; color: var(--ink-soft); }

/* ---------- Inserat-Detailseite ---------- */

.expose { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); }

.galerie-haupt {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  border: 1px solid var(--line);
}
.galerie-haupt img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.galerie-haupt figcaption { font-size: .88rem; color: var(--ink-soft); padding: 9px 14px; background: var(--surface); }
.galerie-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.galerie-thumbs button {
  flex: 0 0 auto; width: 96px; padding: 0; border-radius: var(--radius-sm);
  border: 2px solid transparent; overflow: hidden; background: var(--sand); cursor: pointer;
}
.galerie-thumbs button[aria-current="true"] { border-color: var(--brand); }
.galerie-thumbs img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.expose-kopf { margin-bottom: 22px; }
.expose-kopf .badge { margin-right: 6px; }
.expose-kopf h1 { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.7rem); margin: .4em 0 .25em; }
.expose-kopf .objekt-ort { font-size: 1.05rem; }
.expose-kopf .objekt-preis { padding-top: 6px; margin: 4px 0 0; }

.seite-oben { padding-block: 28px clamp(56px, 8vw, 96px); }
[data-expose-inhalt] .eckdaten-tabelle { margin-top: 28px; }

.eckdaten-tabelle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin: 0 0 2em;
}
.eckdaten-tabelle div { background: var(--surface); padding: 14px 16px; }
.eckdaten-tabelle div:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
.eckdaten-tabelle dt { font-size: .82rem; color: var(--ink-soft); margin-bottom: 2px; }
.eckdaten-tabelle dd { margin: 0; font-weight: 650; color: var(--ink); }

.energie-box { background: var(--sand); border-radius: var(--radius); padding: 20px 22px; margin: 2em 0; }
.energie-box h2 { font-size: 1.25rem; margin-bottom: .6em; }
.energie-box dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 18px; font-size: .97rem; }
.energie-box dt { color: var(--ink-soft); }
.energie-box dd { margin: 0; font-weight: 600; }

.anfrage-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  align-self: start;
}
.anfrage-box h2 { font-size: 1.35rem; margin-bottom: .4em; }
.anfrage-box .objekt-preis { padding-top: 0; margin: 0 0 .8em; font-size: 1.6rem; }
.anfrage-box p { color: var(--ink-soft); font-size: .97rem; }
.anfrage-box .btn { margin-bottom: 10px; }
.ansprechpartner {
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
}
.ansprechpartner img { width: 48px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; background: var(--sand); flex-shrink: 0; }
.ansprechpartner p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.ansprechpartner strong { color: var(--ink); }
.kontakt-zeile { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-weight: 600; }
.kontakt-zeile svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; }

/* ---------- Kontakt ---------- */

.kontakt-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); }
.kontakt-spalte { display: grid; gap: 20px; align-content: start; }
.kontakt-karte { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.kontakt-karte h2 { font-size: 1.35rem; }
.kontakt-karte address { font-style: normal; margin-bottom: 1em; }
.kontakt-liste { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.kontakt-liste li { display: flex; gap: 12px; align-items: flex-start; }
.kontakt-liste svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.kontakt-liste .label { display: block; font-size: .82rem; color: var(--ink-soft); }
.kontakt-karte h3 { font-size: 1.05rem; margin: 1.2em 0 .4em; }
.kontakt-karte .hinweis { margin-bottom: 16px; }
.hinweis code { font-size: .9em; background: rgba(0, 0, 0, .06); padding: .05em .35em; border-radius: 4px; }

.formular { display: grid; gap: 18px; }
.feld { display: grid; gap: 6px; }
.feld label { font-weight: 650; font-size: .97rem; }
.feld .optional { font-weight: 400; color: var(--ink-soft); font-size: .88rem; }
.feld input, .feld select, .feld textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid #cdc5b6;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  min-height: 48px;
}
.feld textarea { min-height: 150px; resize: vertical; }
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible { border-color: var(--brand); outline-offset: 1px; }
.feld-hilfe { font-size: .88rem; color: var(--ink-soft); }
.feld-reihe { display: grid; gap: 18px; }
.formular-hinweis { font-size: .9rem; color: var(--ink-soft); }
.formular-status {
  border-radius: var(--radius-sm); padding: 12px 16px; font-size: .95rem;
  background: var(--brand-soft); border: 1px solid #c9d4e2;
}
.formular-status:empty { display: none; }
.formular-status--fehler { background: #fdecea; border-color: #f2c4bd; color: #7a1d12; }

/* ---------- Fußbereich ---------- */

.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding-block: 56px 28px; font-size: .97rem; }
.site-footer a { color: var(--footer-ink); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 32px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo-zusatz { color: var(--gold); }
.site-footer h2 { font-family: var(--font-sans); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--footer-muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-kontakt { margin-top: 10px !important; }
.site-footer address { font-style: normal; color: var(--footer-muted); line-height: 1.7; }
.site-footer p { color: var(--footer-muted); }
.footer-unten {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  color: var(--footer-muted); font-size: .88rem;
}
.footer-unten ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer .todo { color: var(--todo-ink); }

/* ---------- 404 ---------- */

.fehlerseite { text-align: center; padding-block: clamp(64px, 12vw, 140px); }
.fehlerseite .code { font-family: var(--font-serif); font-size: clamp(4rem, 3rem + 6vw, 7rem); color: var(--accent); line-height: 1; margin-bottom: .2em; }
.fehlerseite .btn-reihe { justify-content: center; }

/* =========================================================================
   Größere Bildschirme
   ========================================================================= */

@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .grid--2, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .objekt-liste { grid-template-columns: repeat(2, 1fr); }
  .feld-reihe { grid-template-columns: 1fr 1fr; }
  .eckdaten-tabelle { grid-template-columns: repeat(3, 1fr); }
  .eckdaten-tabelle div:last-child:nth-child(2n+1) { grid-column: auto; }
  .eckdaten-tabelle div:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .eckdaten-tabelle div:last-child:nth-child(3n+2) { grid-column: span 2; }
  .energie-box dl { grid-template-columns: auto 1fr; }
  .schritte { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .kontakt-liste--zeile { display: flex; flex-wrap: wrap; gap: 12px 40px; }
}

@media (min-width: 900px) {
  body { font-size: 1.075rem; }

  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: block; background: none; border: 0; box-shadow: none; padding: 0;
  }
  .site-nav ul { display: flex; align-items: center; gap: 4px; }
  .site-nav a {
    border: 0; padding: 10px 12px; border-radius: 999px; font-size: .97rem; position: relative;
  }
  .site-nav a:hover { background: var(--brand-soft); }
  .site-nav a[aria-current="page"]::before { display: none; }
  .site-nav a[aria-current="page"]::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
    background: var(--accent); border-radius: 2px;
  }
  .site-nav .nav-cta { margin: 0 0 0 10px; }
  .site-nav .nav-cta a { background: var(--brand); color: #fff; padding: 10px 20px; }
  .site-nav .nav-cta a:hover { background: var(--brand-strong); color: #fff; }
  .site-nav .nav-cta a[aria-current="page"]::after { display: none; }

  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .objekt-liste { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.08fr .92fr; }
  .split--umgekehrt { grid-template-columns: .92fr 1.08fr; }
  .split--umgekehrt > :first-child { order: 2; }
  .hero .split { grid-template-columns: 1.25fr .75fr; }
  .portrait-karte { max-width: 420px; }

  .leistung { grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
  .leistung-kopf { flex-direction: column; align-items: flex-start; }

  .split--karte { grid-template-columns: .8fr 1.2fr; }

  .suchauftrag { grid-template-columns: 1fr auto; }

  .expose { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .anfrage-box { position: sticky; top: 96px; }
  .expose-kopf .objekt-preis { display: none; }

  .kontakt-layout { grid-template-columns: .85fr 1.15fr; align-items: start; }

  .profil { grid-template-columns: 360px minmax(0, 1fr); }
  .profil-teaser { grid-template-columns: 300px minmax(0, 1fr); }
  .profil-foto, .profil-teaser .profil-foto { max-width: none; padding: 12px; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (min-width: 1180px) {
  .site-nav a { padding-inline: 14px; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .schritte { grid-template-columns: repeat(4, 1fr); }
  .schritte li { padding: 74px 22px 22px; }
  .schritte li::before { top: 22px; }
}

/* =========================================================================
   Bewegung reduzieren & Druck
   ========================================================================= */

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

@media print {
  .site-header, .site-footer, .entwurf-banner, .skip-link, .galerie-thumbs, .filter, .anfrage-box .btn, .cta-band, .suchauftrag { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .expose { display: block; }
  .anfrage-box { box-shadow: none; border: 1px solid #999; margin-top: 1em; }
  a { color: inherit; text-decoration: none; }
  .todo { background: none; border: 0; }
}
