/* (11.11.2026) Website Bastion Immobilienverwaltung – baut auf den Tokens aus /bastion/css/bastion-theme.css auf. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* (15.11.2026) Sprungziele nicht unter der festen Kopfzeile verstecken. */
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: var(--marke-navy);
  border-bottom: 1px solid rgba(201, 166, 107, .35);
}
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.kopf-logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  color: var(--marke-elfenbein); text-decoration: none; font-size: 15px; font-weight: 500;
  letter-spacing: .02em; padding: 6px 0; border-bottom: 1px solid transparent;
}
.nav a:hover { border-bottom-color: var(--marke-messing-hell); }
.nav .nav-cta {
  border: 1px solid var(--marke-messing-hell); border-radius: var(--radius-pill);
  padding: 8px 18px; color: var(--marke-messing-hell);
}
.nav .nav-cta:hover { background: var(--marke-messing-hell); color: var(--marke-navy); }
.menue-knopf {
  display: none; background: none; border: 1px solid rgba(244,244,240,.35); color: var(--marke-elfenbein);
  border-radius: var(--radius-md); padding: 8px 12px; font: inherit; font-size: 15px; cursor: pointer;
}
@media (max-width: 900px) {
  .kopf .wrap { height: 64px; }
  .kopf-logo img { height: 36px; }
  .menue-knopf { display: block; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--marke-navy); padding: 8px 16px 20px; border-bottom: 1px solid rgba(201,166,107,.35);
  }
  .nav.offen { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid rgba(244,244,240,.1); }
  .nav .nav-cta { margin-top: 14px; text-align: center; }
}

/* ---------- Bühne ---------- */
/* (15.11.2026) Seitenkopf mit Foto: Bild deckt die Fläche, ein Navy-Verlauf hält die Schrift lesbar. */
.seitenkopf {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--marke-navy); color: var(--marke-elfenbein);
  min-height: 440px; display: flex; align-items: flex-end;
  padding: 120px 0 72px;
}
.seitenkopf-start { min-height: clamp(560px, 82vh, 780px); padding-bottom: 96px; }
.seitenkopf-klein { min-height: 320px; padding-bottom: 56px; }
.hintergrund {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; z-index: -2;
}
.seitenkopf::after, .aufruf::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,23,36,.35) 0%, rgba(10,23,36,.55) 45%, rgba(10,23,36,.92) 100%);
}
.seitenkopf-start::after {
  background: linear-gradient(90deg, rgba(10,23,36,.92) 0%, rgba(10,23,36,.7) 45%, rgba(10,23,36,.25) 100%),
              linear-gradient(0deg, rgba(10,23,36,.6) 0%, rgba(10,23,36,0) 40%);
}
.seitenkopf .wrap { width: 100%; }
.oberzeile {
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--marke-messing-hell); margin: 0 0 20px;
}
.seitenkopf h1 {
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.05; margin: 0 0 22px; max-width: 18ch; letter-spacing: -.01em; text-wrap: balance;
}
.seitenkopf-start h1 { font-size: clamp(44px, 6.6vw, 82px); max-width: 13ch; }
.seitenkopf h1 em { color: var(--marke-messing-hell); font-style: italic; }
.seitenkopf .einleitung { font-size: 19px; max-width: 58ch; color: rgba(244,244,240,.88); margin: 0 0 36px; }
.seitenkopf .einleitung:last-child { margin-bottom: 0; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: var(--radius-pill);
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn-messing { background: var(--marke-messing-hell); color: var(--marke-navy); }
.btn-messing:hover { background: #D8B984; }
.btn-rand { border-color: rgba(244,244,240,.4); color: var(--marke-elfenbein); }
.btn-rand:hover { border-color: var(--marke-elfenbein); }
.btn-navy { background: var(--marke-navy); color: var(--marke-elfenbein); }
.btn-navy:hover { background: var(--marke-navy-tief); }
@media (max-width: 600px) {
  .seitenkopf { min-height: 380px; padding: 96px 0 48px; }
  .seitenkopf-start { min-height: 600px; padding-bottom: 56px; }
  .seitenkopf-klein { min-height: 260px; }
  .seitenkopf .einleitung { font-size: 17px; }
  .knoepfe .btn { flex: 1 1 100%; }
}

.leiste { background: var(--marke-navy-tief); color: rgba(244,244,240,.8); font-size: 14px; }
.leiste .wrap { display: flex; flex-wrap: wrap; gap: 10px 36px; padding-top: 18px; padding-bottom: 18px; }
.leiste a { color: inherit; text-decoration: none; }
.leiste a:hover { color: var(--marke-elfenbein); text-decoration: underline; text-decoration-color: var(--marke-messing-hell); }
.leiste a::before { content: "—"; color: var(--marke-messing-hell); margin-right: 10px; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 96px 0; }
.abschnitt.hell { background: var(--surface); }
.abschnitt.ton { background: var(--surface-muted); }
@media (max-width: 600px) { .abschnitt { padding: 64px 0; } }
.kopfteil { max-width: 720px; margin-bottom: 52px; }
.kopfteil .oberzeile { color: var(--ink-accent); margin-bottom: 14px; }
h2 {
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1.1; margin: 0 0 18px; letter-spacing: -.005em;
}
h3 { font-family: var(--font-serif); font-weight: 600; font-size: 27px; line-height: 1.2; margin: 0 0 12px; }
.kopfteil p { color: var(--ink-muted); font-size: 18px; margin: 0; }
.trenner { width: 56px; height: 2px; background: var(--marke-messing); margin: 0 0 22px; border: 0; }

/* ---------- Leistungskarten ---------- */
.raster { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
@media (max-width: 600px) { .raster { grid-template-columns: 1fr; } }
.karte {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 32px 30px; display: flex; flex-direction: column;
  border-top: 3px solid var(--marke-navy);
  min-width: 0;
}
.karte h3 { hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 600px) { .karte { padding: 28px 22px 24px; } .karte h3 { font-size: 25px; } }
.abschnitt.hell .karte { background: var(--bg); }
.karte .symbol {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--marke-messing);
  display: grid; place-items: center; margin-bottom: 22px; color: var(--marke-navy);
}
.karte .symbol svg { width: 24px; height: 24px; }
.karte p { color: var(--ink-muted); margin: 0 0 18px; }
.karte ul { list-style: none; margin: auto 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.karte li { position: relative; padding-left: 22px; margin: 7px 0; font-size: 15.5px; }
.karte li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px;
  border-right: 1.5px solid var(--marke-messing); border-bottom: 1.5px solid var(--marke-messing);
  transform: rotate(-45deg);
}

/* ---------- Punkte (Verkauf & Vermietung) ---------- */
.punkte { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin: 24px 0 0; padding: 0; list-style: none; }
.punkte li { padding: 14px 0 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.punkte strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.punkte span { color: var(--ink-muted); }
@media (max-width: 600px) { .punkte { grid-template-columns: 1fr; } }

/* ---------- Ablauf ---------- */
.schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: schritt; list-style: none; margin: 0; padding: 0; }
.schritte li { counter-increment: schritt; padding-top: 22px; border-top: 2px solid var(--marke-navy); }
.schritte li::before {
  content: counter(schritt, decimal-leading-zero);
  display: block; font-family: var(--font-serif); font-size: 40px; line-height: 1; color: var(--marke-messing); margin-bottom: 14px;
}
.schritte strong { display: block; font-size: 17px; margin-bottom: 6px; }
.schritte span { color: var(--ink-muted); font-size: 15.5px; }
@media (max-width: 900px) { .schritte { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .schritte { grid-template-columns: 1fr; } }

/* ---------- Werte (Navy-Band) ---------- */
.band { background: var(--marke-navy); color: var(--marke-elfenbein); }
.band h2 { color: var(--marke-elfenbein); }
.band .kopfteil .oberzeile { color: var(--marke-messing-hell); }
.band .kopfteil p { color: rgba(244,244,240,.75); }
.werte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.werte h3 { color: var(--marke-elfenbein); font-size: 25px; }
.werte p { color: rgba(244,244,240,.75); margin: 0; }
.werte div { border-left: 1px solid rgba(201,166,107,.5); padding-left: 24px; }
@media (max-width: 900px) { .werte { grid-template-columns: 1fr; gap: 32px; } }
.zitat {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(28px, 3.4vw, 40px);
  color: var(--marke-messing-hell); text-align: center; margin: 80px auto 0; max-width: 24ch; line-height: 1.2;
}

/* ---------- Fragen ---------- */
.fragen { max-width: 820px; }
.fragen details { border-bottom: 1px solid var(--line); }
.fragen summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-weight: 600; font-size: 17.5px;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-serif); font-size: 30px; color: var(--marke-messing); line-height: 1;
}
.fragen details[open] summary::after { content: "–"; }
.fragen details p { margin: 0 0 22px; color: var(--ink-muted); max-width: 70ch; }

/* ---------- Kontakt ---------- */
.kontakt { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
@media (max-width: 900px) { .kontakt { grid-template-columns: 1fr; gap: 40px; } }
.kontakt-info p { color: var(--ink-muted); }
.kontakt-daten { list-style: none; margin: 28px 0 0; padding: 0; }
.kontakt-daten li { padding: 14px 0; border-top: 1px solid var(--line); }
.kontakt-daten small { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-accent); font-weight: 600; }
.kontakt-daten a { text-decoration: none; font-weight: 500; }
.kontakt-daten a:hover { text-decoration: underline; }

.formular {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-1);
}
@media (max-width: 600px) { .formular { padding: 24px 18px; } }
.feldreihe { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .feldreihe { grid-template-columns: 1fr; } }
.feld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.feld label { font-size: 14px; font-weight: 600; }
.feld label .opt { font-weight: 400; color: var(--ink-muted); }
.feld input, .feld select, .feld textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius-md); padding: 12px 14px; width: 100%;
}
.feld textarea { min-height: 150px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.zustimmung { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-muted); margin: 6px 0 24px; }
.zustimmung input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--marke-navy); flex: none; }
.honig { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.formular .btn { width: 100%; }
.formular .btn[disabled] { opacity: .6; cursor: wait; }
.meldung { margin: 18px 0 0; padding: 14px 16px; border-radius: var(--radius-md); font-size: 15px; display: none; }
.meldung.ok { display: block; background: #E6F0EC; color: var(--status-success); border: 1px solid #BFD8CF; }
.meldung.fehler { display: block; background: #F6E8E5; color: var(--status-danger); border: 1px solid #E3C4BE; }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--marke-navy-tief); color: rgba(244,244,240,.7); font-size: 14.5px; padding: 56px 0 32px; }
.fuss-oben { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(244,244,240,.12); }
@media (max-width: 900px) { .fuss-oben { grid-template-columns: 1fr; gap: 28px; } }
.fuss img { height: 40px; width: auto; margin-bottom: 14px; }
.fuss .fuss-titel { color: var(--marke-messing-hell); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin: 6px 0; }
.fuss a { color: rgba(244,244,240,.85); text-decoration: none; }
.fuss a:hover { color: var(--marke-elfenbein); text-decoration: underline; }
.fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13.5px; }
.fuss .claim { font-family: var(--font-serif); font-style: italic; font-size: 19px; color: var(--marke-messing-hell); }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 780px; padding: 72px 0 96px; }
.rechtstext h1 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(38px, 5vw, 54px); margin: 0 0 32px; line-height: 1.1; }
.rechtstext h2 { font-size: 28px; margin: 40px 0 10px; }
.rechtstext h3 { font-family: var(--font-sans); font-size: 17px; font-weight: 600; margin: 24px 0 6px; }
.rechtstext p, .rechtstext li { color: var(--ink-muted); }
.rechtstext .ph { background: #FBF1DD; color: var(--status-warning); padding: 0 4px; border-radius: 3px; }

.oberzeile.oberzeile-messing { color: var(--ink-accent); }

/* ---------- (15.11.2026) Mehrseitig, mit Fotos ---------- */
.nav a[aria-current="page"] { border-bottom-color: var(--marke-messing-hell); color: var(--marke-messing-hell); }
.nav .nav-cta[aria-current="page"] { background: var(--marke-messing-hell); color: var(--marke-navy); }

/* Kacheln auf der Startseite: Foto mit Text darüber */
.kacheln { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; min-height: 620px; }
.kachel {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg);
  color: var(--marke-elfenbein); text-decoration: none; background: var(--marke-navy); min-height: 280px;
}
.kachel-gross { grid-row: span 2; }
.kachel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.kachel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,23,36,0) 25%, rgba(10,23,36,.55) 55%, rgba(10,23,36,.92) 100%); }
.kachel:hover img { transform: scale(1.04); }
.kachel-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px 30px; display: flex; flex-direction: column; gap: 6px; }
.kachel-text small { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--marke-messing-hell); }
.kachel-text strong { font-family: var(--font-serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; text-wrap: balance; }
.kachel-text .pfeil { font-size: 15px; font-weight: 500; margin-top: 6px; }
.kachel-text .pfeil::after { content: " →"; color: var(--marke-messing-hell); transition: margin .2s; }
.kachel:hover .pfeil::after { margin-left: 4px; }
@media (max-width: 900px) {
  .kacheln { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  .kachel-gross { grid-row: auto; }
  .kachel { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .kachel img, .kachel-text .pfeil::after { transition: none; } .kachel:hover img { transform: none; } }

/* Bild neben Text, abwechselnd links und rechts */
.bildtext { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.bildtext + .bildtext { margin-top: 96px; }
.bildtext.umgekehrt .bild { order: 2; }
.bildtext .bild { min-width: 0; }
.bildtext .bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.bildtext .bild-hoch img { aspect-ratio: 4 / 5; }
.bildtext .text { min-width: 0; }
.bildtext .text h2 { hyphens: auto; }
.bildtext .text > p { color: var(--ink-muted); margin: 0 0 16px; }
.band .bildtext .text > p { color: rgba(244,244,240,.75); }
.marke { font-family: var(--font-serif); font-size: 17px; font-style: italic; color: var(--ink-accent); margin: 0 0 4px; }
.haken { list-style: none; margin: 22px 0 0; padding: 0; }
.haken li { position: relative; padding: 10px 0 10px 26px; border-top: 1px solid var(--line); }
.haken li::before {
  content: ""; position: absolute; left: 3px; top: 1.05em; width: 9px; height: 9px;
  border-right: 1.5px solid var(--marke-messing); border-bottom: 1.5px solid var(--marke-messing); transform: rotate(-45deg);
}
.bildtext .btn { margin-top: 8px; }
@media (max-width: 900px) {
  .bildtext { grid-template-columns: 1fr; gap: 28px; }
  .bildtext.umgekehrt .bild { order: 0; }
  .bildtext + .bildtext { margin-top: 64px; }
  .bildtext .bild-hoch img { aspect-ratio: 4 / 3; }
}
.werte.werte-liste { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }

/* Aufruf-Band mit Foto */
.aufruf {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  color: var(--marke-elfenbein); background: var(--marke-navy); padding: 120px 0;
}
.aufruf::after { background: rgba(10,23,36,.74); }
.aufruf h2 { color: var(--marke-elfenbein); margin: 0 auto 14px; max-width: 22ch; text-wrap: balance; }
.aufruf .zitat { margin: 0 auto 18px; }
.aufruf-text { max-width: 54ch; margin: 0 auto 32px; color: rgba(244,244,240,.85); font-size: 18px; }
@media (max-width: 600px) { .aufruf { padding: 80px 0; } }

/* Fragen mit Seitenkasten */
.fragen-raster { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: start; }
.fragen-seite { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--marke-messing); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: 100px; }
.fragen-seite p { color: var(--ink-muted); }
.fragen a { color: var(--ink-accent); }
@media (max-width: 900px) { .fragen-raster { grid-template-columns: 1fr; gap: 40px; } .fragen-seite { position: static; } }
