/* Schmidt & Partner Immobilien – Startseite
   Corporate Design laut CD-Manual: Bordeaux #8E143C, Grau #878787, Dunkelgrau #363636,
   Hellgrau #F7F7F7, Hausschrift Avenir Next → Web-Ersatz Nunito Sans (selbst gehostet). */

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/nunito-sans-latin-wght-normal.woff2") format("woff2");
}

:root {
  --bordeaux: #8E143C;
  --bordeaux-dunkel: #72102F;
  --bordeaux-hell: #F6E8ED;
  --text: #363636;
  --text-2: #5C5C5C;
  --icon: #878787;
  --linie: #DADADA;
  --flaeche: #F7F7F7;
  --weiss: #FFFFFF;
  --dunkel: #363636;
  --karte-land: #EEEEEC;
  --karte-wasser: #D3DDE2;
  --karte-kueste: #A9BAC2;
  --radius-s: 6px;
  --radius-m: 12px;
  --schatten: 0 10px 30px rgba(54, 54, 54, 0.16);
  --container: 1200px;
  --gutter: 20px;
  --sektion: clamp(56px, 8vw, 96px);
  color-scheme: light;
}

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

body {
  margin: 0;
  font-family: "Nunito Sans", "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--weiss);
}
img { max-width: 100%; display: block; }
a { color: var(--bordeaux); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bordeaux-dunkel); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.12; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 5.2vw, 60px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3, .h3 { font-size: 22px; }
p { margin: 0; }
p + p { margin-top: 0.9em; }
ul, ol { margin: 0; padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--bordeaux); outline-offset: 2px; }
[hidden] { display: none !important; }
.lead { font-size: 19px; color: var(--text-2); max-width: 62ch; }
.klein { font-size: 14px; color: var(--text-2); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 700px) { :root { --gutter: 32px; } }

/* Redaktionsmodus: Inhalte, die noch fehlen, sind mit .todo markiert.
   Mit data-redaktion auf <html> werden sie gelb markiert angezeigt; ohne das
   Attribut sind sie ausgeblendet. Vor der Live-Schaltung das Attribut entfernen;
   danach lässt es sich mit ?redaktion in der Adresse wieder einblenden. */
.todo { display: none; }
html[data-redaktion] .todo { display: revert; outline: 2px dashed #C9A200; outline-offset: 3px; background: #FFF6D6; }
html[data-redaktion] .todo::before { content: "Entwurf – Inhalt fehlt noch"; display: block; font-size: 12px; font-weight: 700; color: #7A5C00; margin-bottom: 4px; }
html[data-redaktion] section.todo::before, html[data-redaktion] figure.todo::before { padding: 8px var(--gutter) 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-s);
  font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primaer { background: var(--bordeaux); color: var(--weiss); border-color: var(--bordeaux); }
.btn-primaer:hover { background: var(--bordeaux-dunkel); border-color: var(--bordeaux-dunkel); color: var(--weiss); }
.btn-sekundaer { background: transparent; color: var(--text); border-color: var(--text); }
.btn-sekundaer:hover { background: var(--text); color: var(--weiss); }
.btn-hell { background: var(--weiss); color: var(--bordeaux); border-color: var(--weiss); }
.btn-hell:hover { background: var(--bordeaux-hell); border-color: var(--bordeaux-hell); color: var(--bordeaux-dunkel); }
.btn-invers { background: transparent; color: var(--weiss); border-color: rgba(255,255,255,.7); }
.btn-invers:hover { background: var(--weiss); color: var(--text); border-color: var(--weiss); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--weiss); border-bottom: 1px solid var(--linie); transition: box-shadow .2s; }
.header.ist-gescrollt { box-shadow: 0 4px 18px rgba(54,54,54,.08); }
.header-innen { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px 26px; font-weight: 700; font-size: 15px; }
.nav a { color: var(--text); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--bordeaux); border-bottom-color: var(--bordeaux); }
.header-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); text-decoration: none; border: 2px solid var(--text); border-radius: 999px; padding: 9px 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.header-tel:hover { background: var(--text); color: var(--weiss); }
.header-tel svg { width: 18px; height: 18px; }
.burger { display: none; width: 48px; height: 48px; padding: 0; border: 2px solid var(--text); border-radius: var(--radius-s); background: var(--weiss); color: var(--text); align-items: center; justify-content: center; }
.burger svg { width: 24px; height: 24px; }
@media (max-width: 980px) {
  .burger { display: inline-flex; }
  .header-tel span { display: none; }
  .header-tel { padding: 10px 12px; }
  .nav { display: none; }
  .nav.offen { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 0; border-top: 1px solid var(--linie); padding: 6px 0 10px; }
  .nav.offen a { padding: 14px 2px; border-bottom: 1px solid #EEEEEE; font-size: 17px; }
  .nav.offen a:hover { border-bottom-color: #EEEEEE; }
  .header-innen { flex-wrap: wrap; }
}

/* Hero */
.hero { position: relative; color: var(--weiss); background: var(--dunkel) url("../img/hero-ostsee.jpg") center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(46, 46, 46, 0.72); }
.hero-innen { position: relative; padding: clamp(56px, 9vw, 120px) var(--gutter) clamp(48px, 7vw, 88px); display: flex; flex-direction: column; gap: 22px; max-width: var(--container); margin: 0 auto; }
.hero-claim { font-size: 16px; font-weight: 700; color: #EBC6D2; letter-spacing: 0.01em; }
.hero h1 { color: var(--weiss); max-width: 14ch; }
.hero .lead { color: #E6E6E6; max-width: 56ch; font-size: clamp(17px, 1.6vw, 20px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.schnellsuche { display: flex; flex-wrap: wrap; gap: 10px; background: var(--weiss); color: var(--text); padding: 10px; border-radius: var(--radius-m); max-width: 760px; margin-top: 12px; }
.schnellsuche label { display: flex; flex-direction: column; flex: 1 1 190px; padding: 6px 12px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.schnellsuche label + label { border-left: 1px solid var(--linie); }
.schnellsuche select { border: 0; padding: 4px 0; background: transparent; font-size: 17px; color: var(--text); }
.schnellsuche .btn { flex: 0 1 auto; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.hero-links a { color: var(--weiss); font-weight: 700; }
@media (max-width: 600px) { .schnellsuche label + label { border-left: 0; border-top: 1px solid var(--linie); } .schnellsuche .btn { width: 100%; } }

/* Fakten */
.fakten { border-bottom: 1px solid var(--linie); }
.fakten-innen { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px 28px; padding: 32px var(--gutter); }
@media (max-width: 1100px) { .fakten-innen { grid-template-columns: repeat(3, 1fr); } .fakt:last-child { grid-column: span 2; } }
@media (max-width: 640px) { .fakten-innen { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; } .fakt strong { font-size: 30px; } }
.fakt-link { color: inherit; text-decoration: none; border-radius: var(--radius-s); }
.fakt-link:hover strong { text-decoration: underline; }
.fakt strong { display: block; font-size: 36px; font-weight: 700; line-height: 1.1; color: var(--bordeaux); font-variant-numeric: tabular-nums; }
.fakt span { display: block; margin-top: 6px; color: var(--text-2); font-size: 15px; }

/* Sektionen */
.sektion { padding: var(--sektion) 0; }
.sektion-flaeche { background: var(--flaeche); }
.sektion-dunkel { background: var(--dunkel); color: var(--weiss); }
.sektion-dunkel h2 { color: var(--weiss); }
.sektion-dunkel .lead { color: #D6D6D6; }
.sektion-kopf { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: clamp(24px, 4vw, 40px); }
.sektion-kopf h2 + p { margin-top: 2px; }
.zweispaltig { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(28px, 5vw, 64px); align-items: start; }

/* Angebote */
.filterzeile { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 2px solid #CBCBCB; background: var(--weiss); color: var(--text); font-weight: 700; font-size: 15px; }
.chip[aria-pressed="true"] { background: var(--text); color: var(--weiss); border-color: var(--text); }
.auswahl { display: flex; flex-wrap: wrap; gap: 10px; }
.auswahl label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text-2); }
.auswahl select { min-height: 42px; padding: 6px 10px; border: 2px solid #CBCBCB; border-radius: var(--radius-s); background: var(--weiss); color: var(--text); font-size: 15px; }
.ansicht-tabs { display: none; }
.angebote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 24px; align-items: start; }
.liste-spalte { display: flex; flex-direction: column; gap: 10px; }
.liste-zaehler { font-size: 14px; color: var(--text-2); }
.liste { display: flex; flex-direction: column; gap: 10px; max-height: 700px; overflow-y: auto; padding: 2px 6px 2px 2px; overscroll-behavior: contain; scrollbar-width: thin; }
.objekt { display: flex; gap: 14px; align-items: stretch; width: 100%; text-align: left; background: var(--weiss); border: 1px solid var(--linie); border-left: 4px solid transparent; border-radius: var(--radius-m); padding: 10px; color: inherit; }
.objekt:hover { border-color: #BDBDBD; border-left-color: #BDBDBD; }
.objekt[aria-pressed="true"] { border-left-color: var(--bordeaux); background: var(--bordeaux-hell); }
.objekt-bild { flex: 0 0 112px; height: 86px; border-radius: 8px; overflow: hidden; background: #E6E6E6; display: flex; align-items: flex-end; padding: 8px; font-size: 11px; color: #5A5A5A; }
.objekt-bild img { width: 100%; height: 100%; object-fit: cover; }
.objekt-bild.hat-bild { padding: 0; }
.objekt-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.objekt-ort { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; font-weight: 700; color: var(--text-2); }
.badge { background: var(--bordeaux-hell); color: var(--bordeaux); padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-grau { background: #E6E6E6; color: var(--text-2); }
.objekt-energie { font-size: 12.5px; color: var(--text-2); line-height: 1.35; }
.objekt-titel { font-weight: 700; font-size: 16px; line-height: 1.3; }
.objekt-daten { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.objekt-daten strong { color: var(--text); }
.mehr-laden { align-self: flex-start; }
.karte-spalte { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 10px; }
.karte { position: relative; width: 100%; aspect-ratio: 600 / 706; background: var(--karte-land); border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--linie); }
.karte svg.grund { position: absolute; inset: 0; width: 100%; height: 100%; }
.pins { position: absolute; inset: 0; }
.pin { position: absolute; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; transform: translate(-50%, -80%); z-index: 1; }
.pin i { display: block; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--text); border: 3px solid var(--weiss); box-shadow: 0 2px 6px rgba(54,54,54,.35); transition: width .12s, height .12s; }
.pin[aria-pressed="true"] { z-index: 3; }
.pin[aria-pressed="true"] i { width: 26px; height: 26px; background: var(--bordeaux); }
.cluster { position: absolute; width: 40px; height: 40px; padding: 0; border: 3px solid var(--weiss); border-radius: 50%; background: var(--text); color: var(--weiss); font-weight: 800; font-size: 14px; transform: translate(-50%, -50%); box-shadow: 0 2px 8px rgba(54,54,54,.35); z-index: 2; }
.cluster.hat-auswahl { background: var(--bordeaux); }
.cluster.offen { background: var(--weiss); color: var(--text); border-color: var(--text); }
.spinne { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.spinne line { stroke: var(--icon); stroke-width: 1.2; }
.karte-box { position: absolute; z-index: 5; left: 12px; right: 12px; bottom: 12px; background: var(--weiss); border-radius: var(--radius-m); padding: 14px 16px; box-shadow: var(--schatten); display: flex; gap: 14px; align-items: flex-start; }
.karte-box .objekt-bild { flex-basis: 96px; height: 72px; }
.karte-box-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 auto; }
.karte-box-text .objekt-titel { font-size: 17px; }
.karte-box-aktionen { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 6px; }
.karte-box-aktionen .btn { min-height: 42px; padding: 8px 16px; }
.karte-hinweis { font-size: 13px; color: var(--text-2); }
@media (max-width: 900px) {
  .ansicht-tabs { display: flex; gap: 0; border: 2px solid var(--text); border-radius: var(--radius-s); overflow: hidden; margin-bottom: 16px; }
  .ansicht-tabs button { flex: 1 1 50%; min-height: 46px; border: 0; background: var(--weiss); color: var(--text); font-weight: 700; }
  .ansicht-tabs button[aria-selected="true"] { background: var(--text); color: var(--weiss); }
  .angebote-grid { grid-template-columns: minmax(0, 1fr); }
  .angebote-grid[data-ansicht="liste"] .karte-spalte { display: none; }
  .angebote-grid[data-ansicht="karte"] .liste-spalte { display: none; }
  .karte-spalte { position: static; }
  .liste { max-height: none; overflow: visible; padding: 0; }
  .karte-box { padding: 12px; }
  .karte-box .objekt-bild { display: none; }
}

/* Suchauftrag-Band */
.band-bordeaux { background: var(--bordeaux); color: var(--weiss); }
.band-bordeaux h2 { color: var(--weiss); }
.band-bordeaux .lead { color: #F3DCE4; }
.band-bordeaux a { color: var(--weiss); }
.band-bordeaux a.btn-hell { color: var(--bordeaux); }
.band-bordeaux a.btn-hell:hover { color: var(--bordeaux-dunkel); }
.band-bordeaux .feld input, .band-bordeaux .feld select { border-color: transparent; }
.band-bordeaux .feld label { color: var(--weiss); }
.band-bordeaux .einwilligung { color: #F3DCE4; }
.band-bordeaux .einwilligung a { color: var(--weiss); }

/* Formulare */
.formular { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px 16px; }
.formular .voll { grid-column: 1 / -1; }
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld label { font-size: 14px; font-weight: 700; color: var(--text-2); }
.feld input, .feld select, .feld textarea { min-height: 48px; padding: 10px 12px; border: 2px solid #CBCBCB; border-radius: var(--radius-s); background: var(--weiss); color: var(--text); width: 100%; }
.feld textarea { min-height: 110px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--bordeaux); outline: none; box-shadow: 0 0 0 3px rgba(142, 20, 60, .3); }
.einwilligung { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.einwilligung input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--bordeaux); }
.formular-aktion { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.formular-karte { background: var(--flaeche); border-radius: var(--radius-m); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.formular-karte h3, .formular-karte .h3 { font-size: 24px; line-height: 1.12; }
.formular-meldung { padding: 16px 18px; border-radius: var(--radius-s); background: var(--bordeaux-hell); color: var(--text); font-weight: 600; }
.formular-meldung.fehler { background: #FDECEC; }
.honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Eigentümer */
.schritte { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: schritt; }
.schritte li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; counter-increment: schritt; }
.schritte li::before { content: counter(schritt); grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 50%; background: var(--bordeaux); color: var(--weiss); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.schritte strong { grid-column: 2; display: block; font-size: 17px; }
.schritte span { grid-column: 2; color: var(--text-2); font-size: 15px; }
.argumente { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; margin-top: 8px; }
.argument { padding: 16px 18px; border: 1px solid var(--linie); border-radius: var(--radius-m); }
.argument strong { display: block; margin-bottom: 4px; }
.argument span { font-size: 15px; color: var(--text-2); }
.zitat { margin: 0; padding: 20px 22px; border-left: 4px solid var(--bordeaux); background: var(--weiss); border-radius: 0 var(--radius-m) var(--radius-m) 0; font-size: 17px; }
.zitat footer { margin-top: 8px; font-size: 14px; color: var(--text-2); }
.person-karte { display: flex; gap: 16px; align-items: center; }
.avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; flex: none; }
.avatar-initialen { width: 72px; height: 72px; border-radius: 50%; background: #E6E6E6; color: var(--text-2); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; flex: none; }
.person-karte div strong { display: block; font-size: 18px; }
.person-karte div span { display: block; font-size: 14px; color: var(--text-2); }
.person-karte div a { font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }

/* Neubau */
.projekte { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 20px; }
.projekt { display: flex; flex-direction: column; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius-m); overflow: hidden; }
.projekt-bild { position: relative; height: 190px; background: #E6E6E6; }
.projekt-bild img { width: 100%; height: 100%; object-fit: cover; }
.projekt-bild.ohne { background: var(--dunkel); color: var(--weiss); display: flex; align-items: flex-end; padding: 18px; font-size: 30px; font-weight: 700; }
.projekt-bild.ohne.hell { background: #E6E6E6; color: var(--text); }
.projekt-status { position: absolute; left: 12px; top: 12px; background: var(--weiss); color: var(--bordeaux); font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.projekt-text { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.projekt-text h3, .projekt-text .h3 { font-size: 24px; line-height: 1.12; }
.projekt-ort { font-size: 14px; font-weight: 700; color: var(--text-2); }
.projekt ul { font-size: 15px; display: flex; flex-direction: column; gap: 3px; }
.projekt-aktion { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 14px; color: var(--text-2); }
.projekt-aktion a:not(.btn) { display: inline-block; padding: 4px 0; }
.projekt-planung { background: var(--bordeaux-hell); border-color: transparent; padding: 24px; justify-content: space-between; gap: 16px; }
.projekt-planung h3 { font-size: 24px; }

/* Referenzen */
.referenzen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.referenz { margin: 0; display: block; background: var(--weiss); border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--linie); color: inherit; text-decoration: none; }
.referenz div { position: relative; aspect-ratio: 4 / 3; background: #E6E6E6; }
.referenz .projekt-status { background: var(--bordeaux); color: var(--weiss); }
.referenz figcaption { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.referenz figcaption span { font-size: 14px; color: var(--text-2); }

/* Videos */
.video-reihe { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 236px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: #8A8C8D transparent; }
.video-karte { position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: var(--radius-m); overflow: hidden; background: #5A5D5E; scroll-snap-align: start; }
.video-karte video { width: 100%; height: 100%; object-fit: cover; display: block; background: #3C3E3F; }
.video-karte figcaption { position: absolute; left: 0; right: 0; top: 0; padding: 12px 14px; background: rgba(30, 31, 32, 0.62); color: var(--weiss); pointer-events: none; display: flex; flex-direction: column; gap: 2px; }
.video-karte figcaption strong { font-size: 16px; line-height: 1.25; }
.video-karte figcaption span { font-size: 13px; color: #E3E3E3; }
.video { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 9 / 16; border-radius: var(--radius-m); overflow: hidden; background: #5A5D5E; color: var(--weiss); text-decoration: none; padding: 16px; scroll-snap-align: start; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; } /* z-index 0: sonst läge das Foto über dem Abdunkler */
/* Unten dunkel, damit Titel und Unterzeile auch auf hellen Fotos lesbar bleiben (20.11.2026: Kacheln mit Objektfotos) */
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 23, 24, 0.9) 0%, rgba(22, 23, 24, 0.72) 30%, rgba(22, 23, 24, 0.22) 58%, rgba(22, 23, 24, 0.28) 100%); }
.video > * { position: relative; z-index: 1; }
.video-tag { align-self: flex-start; background: rgba(54, 54, 54, 0.82); color: var(--weiss); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.video-play { align-self: center; width: 48px; height: 48px; }
.video strong { font-size: 18px; line-height: 1.25; display: block; }
.video span { font-size: 14px; color: #E3E3E3; display: block; margin-top: 4px; }
.video.ohne-bild::after { background: transparent; }
.video.bordeaux { background: var(--bordeaux); }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.mitglied { background: var(--flaeche); border-radius: var(--radius-m); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.mitglied .avatar, .mitglied .avatar-initialen { width: 88px; height: 88px; font-size: 24px; }
.mitglied-zitat { font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--bordeaux); }
.mitglied-text { font-size: 15px; }
.mitglied-kontakt { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 700; }
.mitglied-kontakt a { text-decoration: none; font-variant-numeric: tabular-nums; }

/* Kontakt */
.kontakt-daten { display: flex; flex-direction: column; gap: 22px; }
.kontakt-zeile { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.kontakt-zeile svg { width: 24px; height: 24px; color: var(--bordeaux); margin-top: 2px; }
.kontakt-zeile strong { display: block; }
.kontakt-zeile a { font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.qr { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding: 20px; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius-m); }
.qr img { width: 132px; height: 132px; padding: 8px; background: var(--weiss); border: 2px solid var(--text); border-radius: 8px; }
.qr strong { display: block; font-size: 18px; }
.qr span { font-size: 15px; color: var(--text-2); }

/* Newsletter */
.newsletter { border-top: 1px solid var(--linie); }
.newsletter-innen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px 48px; align-items: center; padding: 40px var(--gutter); }
.newsletter h2 { font-size: 26px; }
.newsletter .formular { grid-template-columns: minmax(0, 1fr) auto; }
.newsletter .formular .voll { grid-column: 1 / -1; }
@media (max-width: 600px) { .newsletter .formular { grid-template-columns: 1fr; } }

/* Footer */
.claim-band { background: var(--bordeaux); color: var(--weiss); text-align: center; padding: 36px var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.claim-band img { height: 68px; width: auto; }
.claim-band p { font-size: 20px; font-weight: 700; letter-spacing: 0.01em; }
.footer { background: var(--dunkel); color: #D2D2D2; font-size: 14px; }
.footer-innen { padding: 36px var(--gutter) 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
.footer-innen > div { max-width: 72ch; display: flex; flex-direction: column; gap: 8px; }
.footer small { font-size: 12.5px; color: #B8B8B8; line-height: 1.5; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 2px 18px; align-content: flex-start; }
.footer-nav a { color: var(--weiss); text-decoration: none; display: inline-block; padding: 4px 0; min-height: 24px; }
.footer-nav a:hover { text-decoration: underline; color: var(--weiss); }
@media (max-width: 900px) { .footer-innen { padding-bottom: 96px; } }

/* Mobile Aktionsleiste */
.aktionsleiste { display: none; }
@media (max-width: 900px) {
  .aktionsleiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--weiss); border-top: 1px solid var(--linie); box-shadow: 0 -6px 20px rgba(54,54,54,.12); padding-bottom: env(safe-area-inset-bottom, 0); }
  .aktionsleiste a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 6px 9px; font-size: 12px; font-weight: 700; color: var(--text); text-decoration: none; }
  .aktionsleiste a svg { width: 22px; height: 22px; color: var(--bordeaux); }
  .aktionsleiste a.primaer { background: var(--bordeaux); color: var(--weiss); }
  .aktionsleiste a.primaer svg { color: var(--weiss); }
}

/* Unterseiten (Danke, 404) */
.seite-schlicht { min-height: 60vh; display: flex; align-items: center; }
.seite-schlicht .container { display: flex; flex-direction: column; gap: 18px; max-width: 720px; padding-top: 64px; padding-bottom: 64px; }

/* Rechtsseiten (Impressum, Datenschutz, AGB, Barrierefreiheit) */
.seite-text { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.seite-text .container { max-width: 820px; }
.seite-text h1 { margin-bottom: 16px; }
.seite-text h2 { font-size: 22px; margin: 36px 0 10px; }
.seite-text h3 { font-size: 18px; margin: 24px 0 8px; }
.seite-text p, .seite-text li { max-width: 76ch; }
.seite-text p + p { margin-top: 0.8em; }
.seite-text ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.seite-text .lead { margin-bottom: 8px; }
.seite-text .todo { margin-top: 10px; font-size: 14px; }
@media (max-width: 980px) { .seite-text ~ * .nav, .header .nav[style] { display: none !important; } }
.seite-text h1, .seite-text h2, .seite-text p, .seite-text li { overflow-wrap: anywhere; hyphens: auto; }

/* ====================================================================
   Objektseite (objekt/<nr>/index.html – erzeugt von tools/objektseiten.py)
   ==================================================================== */
.objekt-seite main { padding: 22px 0 var(--sektion); }
.brotkrumen { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--text-2); margin-bottom: 18px; }
.brotkrumen a { color: var(--text-2); text-decoration: none; display: inline-block; padding: 4px 0; }
.brotkrumen a:hover { color: var(--bordeaux); text-decoration: underline; }
.objekt-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 28px; margin-bottom: 20px; }
.objekt-kopf .objekt-ort { font-size: 15px; margin-bottom: 8px; }
.objekt-kopf h1 { font-size: clamp(28px, 3.6vw, 44px); max-width: 24ch; }
.objekt-kopf-aktionen { display: flex; gap: 10px; flex-wrap: wrap; }
.objekt-kopf-aktionen .btn { padding: 10px 16px; font-size: 14px; }
@media (max-width: 700px) { .nur-desktop { display: none; } }

/* Galerie */
.galerie { margin-bottom: 28px; }
.galerie-haupt { position: relative; border-radius: var(--radius-m); overflow: hidden; background: #E6E6E6; aspect-ratio: 16 / 9; max-height: 640px; }
.galerie-oeffnen { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.galerie-oeffnen img, .galerie-leer { width: 100%; height: 100%; object-fit: cover; display: block; }
.galerie-leer { aspect-ratio: 16 / 9; max-height: 420px; border-radius: var(--radius-m); background: #E6E6E6; display: flex; align-items: center; justify-content: center; color: var(--text-2); font-weight: 700; margin-bottom: 28px; }
.galerie-pfeil { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--text); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.18); cursor: pointer; }
.galerie-pfeil:hover { background: var(--weiss); color: var(--bordeaux); }
.galerie-pfeil svg { width: 22px; height: 22px; }
.galerie-pfeil.zurueck { left: 14px; } .galerie-pfeil.vor { right: 14px; }
.galerie-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; }
.galerie-badges .badge { background: var(--weiss); box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.galerie-badges .badge-grau { background: var(--text); color: var(--weiss); }
.galerie-zaehler { position: absolute; right: 14px; bottom: 12px; background: rgba(54,54,54,.78); color: var(--weiss); font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.galerie-strip { display: flex; gap: 8px; overflow-x: auto; padding: 10px 2px 4px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.galerie-mini { flex: 0 0 auto; width: 104px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #E6E6E6; cursor: pointer; opacity: .75; scroll-snap-align: center; }
.galerie-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.galerie-mini.aktiv, .galerie-mini:hover { opacity: 1; border-color: var(--bordeaux); }
@media (max-width: 700px) {
  .galerie { margin: 0 calc(-1 * var(--gutter)) 22px; }
  .galerie-haupt { border-radius: 0; aspect-ratio: 4 / 3; }
  .galerie-strip { padding-left: var(--gutter); padding-right: var(--gutter); }
  .galerie-mini { width: 84px; height: 60px; }
  .galerie-pfeil { width: 40px; height: 40px; }
}

/* Leuchtkasten */
.leuchtkasten { position: fixed; inset: 0; z-index: 100; background: rgba(20,20,20,.95); display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.leuchtkasten[hidden] { display: none; }
.leuchtkasten figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.leuchtkasten img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 6px; }
.leuchtkasten figcaption { color: #D6D6D6; font-size: 14px; text-align: center; }
.leuchtkasten-schliessen { position: absolute; top: 14px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: var(--weiss); font-size: 30px; line-height: 1; cursor: pointer; }
.leuchtkasten-schliessen:hover { background: rgba(255,255,255,.28); }
.leuchtkasten .galerie-pfeil { background: rgba(255,255,255,.14); color: var(--weiss); box-shadow: none; }
.leuchtkasten .galerie-pfeil:hover { background: rgba(255,255,255,.28); color: var(--weiss); }
body.kasten-offen { overflow: hidden; }
@media (max-width: 700px) { .leuchtkasten { padding: 56px 8px 24px; } .leuchtkasten .galerie-pfeil { top: auto; bottom: 10px; transform: none; } .leuchtkasten img { max-height: calc(100vh - 150px); } }

/* Raster Inhalt / Seitenleiste */
.objekt-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.objekt-leiste { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 980px) { .objekt-grid { grid-template-columns: 1fr; } .objekt-leiste { position: static; } }
.kennzahlen { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.kennzahlen li { background: var(--flaeche); border-radius: var(--radius-m); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.kennzahlen strong { font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.kennzahlen span { font-size: 13px; color: var(--text-2); }
.objekt-abschnitt { padding-top: 34px; }
.objekt-abschnitt h2 { font-size: 26px; margin-bottom: 14px; }
.objekt-abschnitt p { max-width: 70ch; }
.objekt-abschnitt ul { padding-left: 20px; max-width: 70ch; display: flex; flex-direction: column; gap: 5px; }
.objekt-abschnitt .zwischen { font-weight: 700; margin-top: 18px; }
.status-hinweis { background: var(--bordeaux-hell); color: var(--bordeaux-dunkel); border-radius: var(--radius-s); padding: 12px 16px; margin-top: 14px; font-weight: 600; }
.merkmale { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.merkmal { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 999px; padding: 6px 13px; font-size: 14px; font-weight: 600; }
.daten-tabelle { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 32px; }
.daten-tabelle > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--linie); font-size: 15px; }
.daten-tabelle dt { color: var(--text-2); flex: 0 0 auto; }
.daten-tabelle dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.energie-box { background: var(--flaeche); border-radius: var(--radius-m); padding: 18px 20px; }
.energie-box .daten-tabelle { grid-template-columns: 1fr; }
.energie-box .daten-tabelle > div:last-child { border-bottom: 0; }
.energie-fehlt p { max-width: none; }
.energie-skala { list-style: none; margin: 0 0 14px; padding: 0; display: flex; gap: 3px; }
.energie-skala li { flex: 1 1 0; text-align: center; font-size: 12px; font-weight: 700; padding: 6px 0; color: #1B1B1B; border-radius: 4px; }
.energie-skala li.aktiv { outline: 3px solid var(--text); outline-offset: 2px; transform: scale(1.14); font-size: 14px; box-shadow: 0 3px 8px rgba(0,0,0,.25); position: relative; z-index: 1; }
.energie-skala .k0 { background: #167A33; color: var(--weiss); } .energie-skala .k1 { background: #3BA543; } .energie-skala .k2 { background: #7FC241; } .energie-skala .k3 { background: #C3D43B; }
.energie-skala .k4 { background: #F2D33B; } .energie-skala .k5 { background: #F2A03B; } .energie-skala .k6 { background: #EB6B2E; } .energie-skala .k7 { background: #D7301F; color: var(--weiss); } .energie-skala .k8 { background: #B2151D; color: var(--weiss); }
.grundrisse { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-top: 10px; }
.grundrisse figure { margin: 0; background: var(--flaeche); border-radius: var(--radius-m); overflow: hidden; }
.grundrisse img { width: 100%; height: 220px; object-fit: contain; display: block; background: var(--weiss); padding: 8px; }
.grundrisse figcaption { padding: 8px 12px 10px; font-size: 13px; color: var(--text-2); }
.lage-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
@media (max-width: 760px) { .lage-grid { grid-template-columns: 1fr; } }
.karte-klein { aspect-ratio: 1 / 1; }
.karte-klein .pin { pointer-events: none; }
.karte-klein .pin i { background: var(--bordeaux); width: 22px; height: 22px; }
.lage-karte .klein { margin-top: 8px; }
.sonstiges { margin-top: 30px; border-top: 1px solid var(--linie); padding-top: 14px; }
.sonstiges summary { cursor: pointer; font-weight: 700; }
.sonstiges p { font-size: 14px; color: var(--text-2); max-width: 80ch; }
.stand { margin-top: 28px; }
.preis-karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius-m); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 4px; }
.preis-karte > strong { font-size: 32px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.preis-karte > span { font-size: 14px; color: var(--text-2); }
.preis-karte .provision { font-weight: 600; color: var(--bordeaux); }
.preis-aktionen { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.preis-aktionen .btn { padding: 12px 10px; font-size: 15px; justify-content: center; }
.objekt-leiste .formular-karte { background: var(--flaeche); }
.objekt-leiste .person-karte div a { display: block; font-size: 15px; }
.objekt-leiste .person-karte div a + a { font-weight: 400; font-size: 14px; overflow-wrap: anywhere; }
.aehnliche { margin-top: var(--sektion); }
.aehnliche h2 { font-size: 26px; margin-bottom: 18px; }
.aehnliche-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; margin-bottom: 20px; }
.aehnliche .objekt { text-decoration: none; }
.objekt-seite .aktionsleiste a.primaer { background: var(--bordeaux); }

/* Startseite: Objektkarten sind jetzt Links zur Objektseite */
a.objekt { text-decoration: none; }
.objekt.aktiv { border-left-color: var(--bordeaux); background: var(--bordeaux-hell); }

@media print {
  .header, .footer, .claim-band, .aktionsleiste, .objekt-kopf-aktionen, .galerie-strip, .galerie-pfeil, .objekt-leiste form, .aehnliche, .leuchtkasten, .brotkrumen { display: none !important; }
  .objekt-grid { grid-template-columns: 1fr; }
  .galerie-haupt { max-height: 380px; }
  body { color: #000; }
}

/* ====================================================================
   Mehrseitiger Aufbau (11.11.): Kopfzeile mit Aktion, Seitenköpfe, Startseite, Ortsseiten, FAQ
   ==================================================================== */
.header-aktionen { display: flex; align-items: center; gap: 10px; }
.header-cta { padding: 10px 16px; font-size: 14px; white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--bordeaux); border-bottom-color: var(--bordeaux); }
.nav .nav-cta { display: none; }
@media (max-width: 1180px) { .header-cta { display: none; } }
@media (max-width: 980px) {
  .nav.offen .nav-cta { display: block; color: var(--bordeaux); }
  .header-aktionen { order: -1; margin-left: auto; }
  .burger { order: 0; }
}
.seite-kopf { margin: 6px 0 28px; max-width: 72ch; }
.seite-kopf .ueberzeile { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bordeaux); margin-bottom: 10px; }
.seite-kopf h1 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 14px; }
.seite-kopf .lead { max-width: 70ch; }
.sektion-kopf-zeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 28px; max-width: none; }
.sektion-kopf-zeile .lead { margin-top: 8px; }
.container-schmal { max-width: 860px; }
.brotkrumen { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--text-2); margin-bottom: 18px; }
.brotkrumen a { color: var(--text-2); text-decoration: none; }
.brotkrumen a:hover { color: var(--bordeaux); text-decoration: underline; }

/* Startseite: Neu im Angebot */
.highlights { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.hl { display: flex; flex-direction: column; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius-m); overflow: hidden; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.hl:hover { transform: translateY(-2px); box-shadow: var(--schatten); }
.hl-bild { display: block; aspect-ratio: 16 / 10; background: #E6E6E6; overflow: hidden; }
.hl-bild img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.hl:hover .hl-bild img { transform: scale(1.03); }
.hl-leer { display: flex; align-items: flex-end; padding: 10px; font-size: 12px; color: var(--text-2); }
.hl-text { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.hl-titel { font-weight: 700; font-size: 17px; line-height: 1.3; }
.hl .objekt-daten { margin-top: 4px; justify-content: space-between; }
.hl .objekt-daten strong { font-size: 16px; }
.orte-titel { font-size: 18px; margin: 32px 0 12px; }
.orte-liste { display: flex; flex-wrap: wrap; gap: 8px; }
.orte-liste a { display: inline-block; padding: 8px 14px; border: 1px solid var(--linie); border-radius: 999px; background: var(--weiss); color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; }
.orte-liste a:hover { border-color: var(--bordeaux); color: var(--bordeaux); }

/* Leistungs-Kacheln */
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.kacheln-vier { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.kachel { display: flex; flex-direction: column; gap: 10px; background: var(--flaeche); border-radius: var(--radius-m); padding: 26px 24px; color: inherit; text-decoration: none; border: 1px solid transparent; }
a.kachel:hover { border-color: var(--bordeaux); background: var(--bordeaux-hell); }
.kachel strong { font-size: 20px; line-height: 1.2; }
.kachel span { font-size: 15px; color: var(--text-2); line-height: 1.5; }
.kachel em { font-style: normal; font-weight: 700; color: var(--bordeaux); margin-top: auto; padding-top: 6px; }
.kachel-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--weiss); color: var(--bordeaux); display: flex; align-items: center; justify-content: center; }
.kachel-icon svg { width: 22px; height: 22px; }
.projekte-drei .projekt ul { font-size: 14px; }

/* Kundenstimmen + Team-Teaser */
.stimmen { display: flex; flex-direction: column; gap: 18px; }
.google-karte { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius-m); color: inherit; text-decoration: none; }
.google-karte:hover { border-color: var(--bordeaux); }
.google-karte:hover .google-text strong { text-decoration: underline; }
.google-sterne { color: #E8A317; font-size: 22px; letter-spacing: 2px; line-height: 1; white-space: nowrap; }
.google-text { display: flex; flex-direction: column; gap: 2px; }
.google-text strong { color: var(--bordeaux); }
.google-text span { font-size: 14px; color: var(--text-2); }
.referenz div img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.referenz div .projekt-status { position: absolute; left: 12px; top: 12px; }
.team-teaser { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 14px; }
.team-teaser a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 18px 10px; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius-m); color: inherit; text-decoration: none; }
.team-teaser a:hover { border-color: var(--bordeaux); }
.team-teaser .avatar, .team-teaser .avatar-initialen { width: 76px; height: 76px; margin-bottom: 6px; }
.team-teaser strong { font-size: 15px; line-height: 1.25; }
.team-teaser span { font-size: 13px; color: var(--text-2); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--flaeche); border-radius: var(--radius-s); padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--bordeaux); font-size: 22px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; max-width: 75ch; color: var(--text-2); }

/* Ortsseiten */
.ortsseite .kennzahlen { margin: 0 0 10px; }
.ort-text p { max-width: 75ch; }
.ort-cta { margin-top: 40px; background: var(--bordeaux); color: var(--weiss); border-radius: var(--radius-m); padding: clamp(24px, 4vw, 40px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; }
.ort-cta h2 { color: var(--weiss); font-size: 26px; margin-bottom: 8px; }
.ort-cta p { max-width: 60ch; }
.ort-cta > p:last-child { display: flex; flex-wrap: wrap; gap: 10px; }
.ortsseite .aehnliche-liste { margin-bottom: 18px; }

/* Rechtsseiten im gemeinsamen Rahmen */
.rechtsseite .seite-text { padding-top: clamp(28px, 4vw, 48px); }
.schlicht .seite-schlicht { min-height: 50vh; }


/* Online-Bewertung (Schritt-für-Schritt) */
.bewertung-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.bewertung-leiste { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 980px) { .bewertung-grid { grid-template-columns: 1fr; } .bewertung-leiste { position: static; } }
.funnel { display: block; background: var(--flaeche); border-radius: var(--radius-m); padding: clamp(18px, 3vw, 30px); }
.funnel fieldset { border: 0; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.funnel legend { font-size: 22px; font-weight: 700; margin-bottom: 14px; grid-column: 1 / -1; }
.funnel .feld.voll, .funnel .klein, .funnel .funnel-aktionen, .funnel .wahl-kacheln, .funnel .einwilligung { grid-column: 1 / -1; }
.funnel.js fieldset { display: none; }
.funnel.js fieldset.aktiv { display: grid; }
.funnel-schritte { list-style: none; margin: 0 0 24px; padding: 0; display: flex; gap: 6px; }
.funnel-schritte li { flex: 1 1 0; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text-2); padding-bottom: 8px; border-bottom: 3px solid var(--linie); }
.funnel-schritte li span { width: 24px; height: 24px; border-radius: 50%; background: var(--linie); color: var(--text-2); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.funnel-schritte li.aktiv { color: var(--bordeaux); border-bottom-color: var(--bordeaux); }
.funnel-schritte li.aktiv span, .funnel-schritte li.fertig span { background: var(--bordeaux); color: var(--weiss); }
.funnel-schritte li.fertig { border-bottom-color: var(--bordeaux); }
@media (max-width: 600px) { .funnel-schritte li { font-size: 0; gap: 0; justify-content: center; } .funnel-schritte li span { font-size: 12px; } .funnel fieldset { grid-template-columns: 1fr; } }
.funnel-aktionen { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }
.wahl-kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.wahl { position: relative; cursor: pointer; }
.wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahl span { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 12px; background: var(--weiss); border: 2px solid var(--linie); border-radius: var(--radius-m); min-height: 100%; }
.wahl svg { width: 34px; height: 34px; color: var(--bordeaux); }
.wahl strong { font-size: 16px; }
.wahl em { font-style: normal; font-size: 12.5px; color: var(--text-2); }
.wahl input:checked + span { border-color: var(--bordeaux); background: var(--bordeaux-hell); }
.wahl input:focus-visible + span { outline: 3px solid var(--bordeaux); outline-offset: 2px; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 8px 16px; }
.checks label { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.checks input { width: 18px; height: 18px; accent-color: var(--bordeaux); }
.feld .label { font-size: 14px; font-weight: 700; display: block; margin-bottom: 8px; }
.schritte-kompakt { margin-bottom: 8px; }
.schritte-kompakt li span { font-size: 14px; }
.footer a { color: var(--weiss); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.ortsseite main, .bewertung-seite main { padding: 22px 0 var(--sektion); }
.team-teaser { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .team-teaser { grid-template-columns: repeat(2, 1fr); } }

/* Mindest-Tippfläche 24px für Textlinks in Formularhinweisen und Brotkrumen (Lighthouse/WCAG 2.5.8) */
.formular a, .einwilligung a, .meldung a, .klein a { display: inline-block; padding: 2px 0; }
.footer-innen > div > span a { text-decoration: underline; text-underline-offset: 2px; }
.person-karte a { display: inline-block; padding: 2px 0; }
@media (max-width: 700px) { .hero { background-image: url("../img/hero-ostsee-900.jpg"); } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
/* Referenzseite: statische Auswahl in zwei Fünferreihen, darunter zwei Spalten (keine Einzelkachel) */
.referenzen-seite .referenzen.statisch { grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1100px) { .referenzen-seite .referenzen.statisch { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .referenzen-seite .referenzen.statisch { grid-template-columns: 1fr; } }
.objekt-projekt { margin-top: 6px; font-size: 14px; color: var(--text-2); }
.objekt-projekt a { font-weight: 700; }

/* ====================================================================
   Abschluss (15.11.): Angebotsliste ohne Scrollkasten, Filter, Merkliste, Kennzahlen ohne Einzelkachel,
   Klapptext, Kostenrechner, Ratgeber, Karriere
   ==================================================================== */
.sektion-kopf-zeile { flex-direction: row; }
.einwilligung input { width: 24px; height: 24px; margin: 0; }
.einwilligung > span { flex: 1 1 auto; min-width: 0; }

/* Angebote: Filterzeile */
.filterzeile { align-items: flex-end; gap: 14px 20px; }
.auswahl { gap: 10px 14px; }
.auswahl label { flex-direction: column; align-items: stretch; gap: 4px; font-size: 13px; }
.auswahl select { min-width: 132px; }
/* Feste Breite: Die Ortsliste füllt erst das Skript – ohne sie würde das Feld beim Laden breiter und die Nachbarn rückten */
@media (min-width: 701px) { #ort-filter { width: 236px; } }
.chip svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.chip-merk[aria-pressed="true"] { background: var(--bordeaux); border-color: var(--bordeaux); }
.filter-zurueck { background: none; border: 0; padding: 10px 0; color: var(--bordeaux); font-weight: 700; text-decoration: underline; cursor: pointer; }
@media (max-width: 700px) {
  .auswahl { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .auswahl select { min-width: 0; width: 100%; }
}

/* Angebote: große Karten, Seite scrollt, Karte bleibt stehen */
@media (min-width: 901px) { .angebote-grid { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: 28px; } }
.liste { max-height: none; overflow: visible; padding: 0; gap: 14px; }
.objekt-rahmen { position: relative; }
#list .objekt { padding: 0; gap: 0; overflow: hidden; border-left-width: 1px; transition: box-shadow .15s, border-color .15s; }
#list .objekt:hover, #list .objekt.aktiv { border-color: var(--bordeaux); background: var(--weiss); box-shadow: 0 6px 20px rgba(54, 54, 54, .10); }
#list .objekt-bild { flex: 0 0 42%; max-width: 260px; height: auto; min-height: 168px; border-radius: 0; }
#list .objekt-text { padding: 14px 18px 14px 16px; gap: 5px; justify-content: center; }
#list .objekt-titel { font-size: 18px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.objekt-fakten { font-size: 14.5px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.objekt-preis { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; margin-top: 2px; }
#list .objekt-energie { font-size: 12px; }
.merk { position: absolute; top: 10px; left: 10px; z-index: 2; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--text); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); cursor: pointer; }
.merk svg { width: 22px; height: 22px; }
.merk:hover { color: var(--bordeaux); }
.merk[aria-pressed="true"], .merk-knopf[aria-pressed="true"] { color: var(--bordeaux); }
.merk[aria-pressed="true"] svg, .merk-knopf[aria-pressed="true"] svg { fill: currentColor; }
.merk-knopf[aria-pressed="true"] { border-color: var(--bordeaux); background: var(--bordeaux-hell); }
.merk-knopf[aria-pressed="true"]:hover { color: var(--bordeaux-dunkel); background: var(--bordeaux-hell); }
.merk-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 2px solid var(--text); border-radius: 50%; color: var(--bordeaux); text-decoration: none; }
.merk-link svg { width: 20px; height: 20px; fill: currentColor; }
.merk-link b { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--bordeaux); color: var(--weiss); font-size: 12px; line-height: 22px; text-align: center; }
.merk-link:hover { background: var(--bordeaux-hell); }
.liste-fuss { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; margin-top: 6px; }
/* Die Objekt-Box steht unter der Karte statt über ihr – so verdeckt sie keine Pins (Lübeck, Hamberge, Travemünde). */
.karte-box { position: static; box-shadow: none; border: 1px solid var(--linie); }
#current:empty { display: none; }
@media (min-width: 901px) {
  .karte-spalte .karte { width: min(100%, max(300px, calc((100vh - 392px) * 600 / 706))); margin-inline: auto; }
}
@media (min-width: 901px) and (max-height: 760px) { .karte-hinweis { display: none; } }
@media (max-width: 620px) {
  #list .objekt { flex-direction: column; }
  #list .objekt-bild { flex: none; max-width: none; width: 100%; min-height: 0; aspect-ratio: 16 / 10; }
  #list .objekt-text { padding: 14px 16px 16px; }
}

/* Objektseite: Kennzahlen ohne einzelne Kachel in der zweiten Reihe.
   Schmal: Preis über die volle Breite, Rest zweispaltig. Mittel: Preis voll, Rest in einer Reihe.
   Breit (Seitenleiste zeigt den Preis bereits): nur die Fakten in einer Reihe. */
.objekt-inhalt .kennzahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.objekt-inhalt .kennzahlen .kz-preis { grid-column: 1 / -1; background: var(--bordeaux-hell); }
.objekt-inhalt .kennzahlen .kz-preis strong { font-size: 26px; color: var(--bordeaux-dunkel); }
.objekt-inhalt .kennzahlen[data-n="2"] li:last-child, .objekt-inhalt .kennzahlen[data-n="4"] li:last-child { grid-column: 1 / -1; }
@media (min-width: 620px) {
  .objekt-inhalt .kennzahlen[data-n="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .objekt-inhalt .kennzahlen[data-n="4"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .objekt-inhalt .kennzahlen[data-n="5"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .objekt-inhalt .kennzahlen[data-n="4"] li:last-child { grid-column: auto; }
}
@media (min-width: 981px) {
  .objekt-inhalt .kennzahlen .kz-preis { display: none; }
  .objekt-inhalt .kennzahlen[data-n="1"] { display: none; }
  .objekt-inhalt .kennzahlen[data-n="2"] { grid-template-columns: 1fr; }
}
.ortsseite .kennzahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ortsseite .kennzahlen[data-n="3"] li:last-child { grid-column: 1 / -1; }
.ortsseite .kennzahlen strong { overflow-wrap: anywhere; }
@media (min-width: 760px) {
  .ortsseite .kennzahlen[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ortsseite .kennzahlen[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ortsseite .kennzahlen[data-n="3"] li:last-child { grid-column: auto; }
}

/* Objektseite: Lagekarte neben dem Text statt leerer Spalte, lange Texte einklappbar */
.lage-grid { display: block; }
.lage-grid::after { content: ""; display: table; clear: both; }
.lage-grid .lage-karte { float: right; width: 280px; margin: 4px 0 16px 28px; }
@media (max-width: 760px) { .lage-grid .lage-karte { float: none; width: 100%; max-width: 420px; margin: 0 0 18px; } }
.klapptext.zu { max-height: 340px; overflow: hidden; position: relative; }
.klapptext.zu::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: linear-gradient(rgba(255, 255, 255, 0), var(--weiss)); pointer-events: none; }
.klapp-knopf { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; padding: 8px 0; background: none; border: 0; color: var(--bordeaux); font-weight: 700; text-decoration: underline; cursor: pointer; }

/* Objektseite: Kaufnebenkosten und Finanzierung */
.rechner { background: var(--flaeche); border-radius: var(--radius-m); padding: clamp(18px, 3vw, 26px); display: flex; flex-direction: column; gap: 16px; }
.rechner .rechner-tabelle { grid-template-columns: 1fr; }
.rechner-tabelle dt small { display: block; font-size: 13px; color: var(--text-2); }
.rechner-tabelle .summe dt, .rechner-tabelle .summe dd { color: var(--text); font-weight: 700; }
.rechner-tabelle .gesamt { border-bottom: 0; font-size: 18px; }
.rechner-tabelle .gesamt dd { color: var(--bordeaux-dunkel); }
.rechner-finanz { border-top: 1px solid var(--linie); padding-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.rechner-finanz h3 { font-size: 19px; }
.rechner-felder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; }
@media (max-width: 620px) { .rechner-felder { grid-template-columns: 1fr; } }
.rechner-ergebnis { display: flex; flex-wrap: wrap; gap: 12px 40px; max-width: none; }
.rechner-ergebnis span { font-size: 14px; color: var(--text-2); }
.rechner-ergebnis strong { display: block; font-size: 26px; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.rechner .klein { max-width: none; }

/* Objektseite: Seitenleiste kompakter (die Klebe-Position setzt objekt.js passend zur Fensterhöhe) */
.objekt-leiste .formular-karte { padding: 20px; gap: 14px; }
.objekt-leiste .formular { grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.objekt-leiste .formular .feld input { min-height: 44px; padding: 8px 10px; }
.objekt-leiste .formular .feld textarea { min-height: 84px; }
.objekt-leiste .preis-karte { padding: 18px 20px 16px; }
@media (max-width: 420px) { .objekt-leiste .formular { grid-template-columns: 1fr; } }

/* Ratgeber und Karriere */
.artikel { padding: 22px 0 var(--sektion); }
.artikel .container { max-width: 860px; }
.artikel h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 14px; }
.artikel h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 40px 0 12px; }
.artikel h3 { font-size: 19px; margin: 26px 0 8px; }
.artikel p, .artikel li { max-width: 72ch; }
.artikel p + p, .artikel ul + p, .artikel ol + p { margin-top: 0.8em; }
.artikel ul, .artikel ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: 7px; margin-top: 8px; }
.artikel .stand-zeile { font-size: 14px; color: var(--text-2); margin-top: 10px; }
.kurzfassung { background: var(--bordeaux-hell); border-radius: var(--radius-m); padding: 20px 22px; margin: 26px 0 6px; }
.kurzfassung strong.titel { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--bordeaux); margin-bottom: 8px; }
.kurzfassung ul { margin-top: 0; }
.tabelle-rahmen { overflow-x: auto; margin: 16px 0 6px; border: 1px solid var(--linie); border-radius: var(--radius-m); }
.tabelle { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.tabelle th, .tabelle td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linie); }
.tabelle thead th { background: var(--flaeche); font-size: 13px; color: var(--text-2); white-space: nowrap; }
.tabelle tbody tr:last-child th, .tabelle tbody tr:last-child td { border-bottom: 0; }
.tabelle td.zahl, .tabelle th.zahl { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tabelle tbody th { font-weight: 700; }
.tabelle tfoot td, .tabelle tfoot th { font-weight: 800; border-top: 2px solid var(--text); border-bottom: 0; }
.quellen { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--linie); font-size: 14px; color: var(--text-2); }
.quellen ul { gap: 4px; }
.quellen a { overflow-wrap: anywhere; }
.artikel-cta { margin-top: 40px; background: var(--bordeaux); color: var(--weiss); border-radius: var(--radius-m); padding: clamp(22px, 4vw, 34px); display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.artikel-cta h2 { color: var(--weiss); margin: 0 0 6px; font-size: 24px; }
.artikel-cta p { color: #F3DCE4; max-width: 52ch; }
.artikel-cta .knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.ratgeber-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; margin-top: 8px; }
.ratgeber-karten .kachel { background: var(--weiss); border-color: var(--linie); }
.weiterlesen { margin-top: 36px; }
.weiterlesen h2 { font-size: 20px; margin-bottom: 12px; }
.stelle { border: 1px solid var(--linie); border-radius: var(--radius-m); padding: clamp(20px, 3vw, 30px); margin-top: 22px; }
.stelle h2 { margin-top: 0; }
.stelle .badge { display: inline-block; margin-bottom: 10px; }
.partner-box { border: 1px solid var(--linie); border-left: 4px solid var(--bordeaux); border-radius: var(--radius-m); background: var(--flaeche); padding: clamp(20px, 3vw, 30px); margin-top: 20px; }
.partner-box .ueberzeile { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bordeaux); margin-bottom: 6px; }
.partner-box h3 { margin: 0 0 10px; font-size: 24px; }
.partner-box .knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; max-width: none; }
.footer-partner a { color: var(--weiss); text-decoration: underline; text-underline-offset: 2px; display: inline-block; padding: 4px 0; }

@media print {
  .klapptext.zu { max-height: none; overflow: visible; }
  .klapptext.zu::after, .klapp-knopf, .rechner-finanz, .merk, .merk-link { display: none !important; }
}

/* Feinschliff Objektseite */
.objekt-kopf h1 { max-width: 30ch; }
.objekt-leiste .formular .feld textarea { min-height: 104px; }
@media (min-width: 620px) {
  .grundrisse figure:first-child:nth-last-child(odd):not(:only-child) { grid-column: 1 / -1; }
  .grundrisse figure:first-child:nth-last-child(odd):not(:only-child) img { height: 340px; }
}

/* Brotkrumen: Links und Text auf einer Grundlinie (die Links hatten Innenabstand, der Rest nicht – dadurch saß „Startseite“ tiefer) */
.brotkrumen { align-items: center; gap: 0 8px; line-height: 1.4; }
.brotkrumen a, .brotkrumen span { display: inline-block; padding: 4px 0; }

/* Navigation mit sieben Punkten (Referenzen dazu) */
.nav { gap: 4px 22px; }
.nav a { white-space: nowrap; }
@media (max-width: 1280px) { .header-cta { display: none; } }
@media (min-width: 1281px) { .nav { gap: 4px 18px; } .header-aktionen.hat-merk .header-tel span { display: none; } .header-aktionen.hat-merk .header-tel { padding: 10px 12px; } }
@media (min-width: 981px) and (max-width: 1100px) { .nav { gap: 4px 16px; font-size: 14.5px; } .header-tel span { display: none; } .header-tel { padding: 10px 12px; } }

/* Referenz-Streifen auf Startseite und Verkaufen */
.referenz-streifen { margin-top: clamp(36px, 5vw, 56px); }
.referenz-streifen .sektion-kopf { margin-bottom: 18px; }
.referenzen-vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .referenzen-vier { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
a.referenz { transition: border-color .15s, box-shadow .15s; }
a.referenz:hover { border-color: var(--bordeaux); box-shadow: 0 6px 20px rgba(54, 54, 54, .10); }
.referenz-text { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; }
.referenz-text strong { line-height: 1.25; }
.referenz-text span { font-size: 14px; color: var(--text-2); }

/* Hinweis unter dem Seitenkopf (Suchauftrag auf der Angebotsseite) */
.kopf-hinweis { margin-top: 12px; font-size: 16px; }
.kopf-hinweis a { font-weight: 700; }

/* Barrierefreiheit: Sprunglink, Fokus nicht von der mobilen Leiste verdeckt, Kennzeichnung ausgehender Links */
.sprunglink { position: absolute; left: 12px; top: -80px; z-index: 2000; background: var(--bordeaux); color: var(--weiss); font-weight: 700; padding: 12px 18px; border-radius: 0 0 var(--radius-s) var(--radius-s); text-decoration: none; }
.sprunglink:focus { top: 0; color: var(--weiss); outline: 3px solid var(--weiss); outline-offset: -5px; }
main:focus { outline: none; }
@media (max-width: 900px) { html { scroll-padding-bottom: 92px; } }
.seite-text a[target="_blank"]::after, .artikel p a[target="_blank"]:not(.btn)::after, .artikel li a[target="_blank"]::after,
.footer a[target="_blank"]::after, .projekt-aktion a[target="_blank"]:not(.btn)::after,
.klein a[target="_blank"]::after { content: "\00a0\2197"; font-size: .82em; display: inline-block; text-decoration: none; }
.video-reihe:focus-visible { outline: 3px solid var(--weiss); outline-offset: 4px; }
.tabelle-rahmen:focus-visible { outline: 3px solid var(--bordeaux); outline-offset: 2px; }
