/* Immobilien Spitzer
   Look der bisherigen Seite (Zeyna): General Sans, Graphit, Roségold aus dem Logo.
   Statt der Treppen-Blöcke stehen die Bereiche als abgerundete Flächen im Weiß. */

@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-bold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  --graphit: #34353F;
  --graphit-2: #2A2B33;
  --nacht: #17181E;
  --tinte: #15161B;
  --text: #4B4C56;
  --grau: #6E707B;
  --nebel: #F2F4F5;
  --linie: #E2E5E8;
  --weiss: #FFFFFF;
  --gold: #C59B76;
  --gold-hell: #D9B796;
  --gold-tief: #8C6444;
  --sans: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --breite: 1360px;
  --rand: clamp(1.25rem, 3.6vw, 3.25rem);
  --flaeche: clamp(.45rem, .8vw, .75rem);
  --r: 10px;
  --r-karte: 18px;
  --r-flaeche: clamp(18px, 2vw, 28px);
  --glas: rgba(36, 37, 45, .5);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; } }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.62; color: var(--text); background: var(--weiss); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--weiss); color: var(--tinte); padding: .6rem 1rem; border-radius: var(--r); font-weight: 500; }
.skip:focus { top: 1rem; }

h1, h2, h3, h4 { color: var(--tinte); font-weight: 400; line-height: 1.1; letter-spacing: -.035em; margin: 0 0 .55em; text-wrap: balance; overflow-wrap: break-word; -webkit-hyphens: manual; hyphens: manual; hyphenate-limit-chars: 10 4 4; }
/* Automatische Silbentrennung nur auf schmalen Bildschirmen, am Desktop bleiben Wörter ganz */
@media (max-width: 960px) { h1, h2, h3, h4 { -webkit-hyphens: auto; hyphens: auto; } }
h1 { font-size: clamp(2.6rem, 5.8vw, 5.6rem); letter-spacing: -.045em; line-height: 1; }
h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); }
h3 { font-size: clamp(1.15rem, 1.4vw, 1.3rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
p { margin: 0 0 1.1em; }
.lede { font-size: clamp(1.08rem, 1.35vw, 1.25rem); line-height: 1.55; color: var(--grau); max-width: 36em; }
.aussage { font-size: clamp(1.75rem, 3.1vw, 3rem); line-height: 1.14; max-width: 23em; }
.wrap { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.section { padding: clamp(4.5rem, 9vw, 8.5rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }

/* Flächen statt Treppen-Übergänge */
.section--weiss, .section--graphit, .section--see, .spirale, .hero, .seitenkopf, .fuss { margin-left: var(--flaeche); margin-right: var(--flaeche); border-radius: var(--r-flaeche); }
.section--weiss { background: var(--nebel); }
.section--graphit, .section--see { background: var(--graphit); color: rgba(255, 255, 255, .74); }
.section--graphit h2, .section--graphit h3, .section--see h2, .section--see h3 { color: var(--weiss); }
.section--graphit .lede, .section--see .lede { color: rgba(255, 255, 255, .7); }

/* Eyebrow mit Quadrat aus dem alten Theme */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 500; color: var(--graphit); letter-spacing: 0; margin: 0 0 1.25rem; }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: currentColor; flex: none; }
.eyebrow--hell { color: rgba(255, 255, 255, .78); }
.eyebrow--hell::before { background: var(--weiss); }
.eyebrow--gold { color: var(--gold-hell); }
.eyebrow--gold::before { background: var(--gold); }

.kopfzeile { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.kopfzeile h2 { margin: 0; max-width: 17em; }
.kopfzeile > p { margin: 0; max-width: 30em; color: var(--grau); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 50px; padding: .75rem 1.35rem; border-radius: var(--r); border: 1px solid transparent; font-weight: 500; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease); white-space: nowrap; }
.btn::before { content: ""; width: 6px; height: 6px; background: currentColor; flex: none; transition: transform .3s var(--ease); }
.btn:hover::before { transform: rotate(45deg); }
.btn:has(svg)::before { display: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--hell { background: var(--weiss); color: var(--tinte); }
.btn--hell:hover { background: #ECEEF0; }
.btn--glas { background: var(--glas); color: var(--weiss); border-color: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn--glas:hover { background: rgba(36, 37, 45, .72); }
.btn--dunkel, .btn--see { background: var(--graphit); color: var(--weiss); }
.btn--dunkel:hover, .btn--see:hover { background: var(--tinte); }
.btn--gold { background: var(--gold); color: var(--tinte); }
.btn--gold:hover { background: var(--gold-hell); }
.btn--linie { border-color: currentColor; background: transparent; color: var(--graphit); }
.btn--linie:hover { background: var(--graphit); color: var(--weiss); border-color: var(--graphit); }
.section--graphit .btn--linie, .section--see .btn--linie { color: var(--weiss); }
.textlink { font-weight: 500; color: var(--tinte); text-decoration: underline; text-decoration-color: rgba(21, 22, 27, .3); }
.textlink:hover { text-decoration-color: currentColor; }

/* Kopfzeile: schwebende Glas-Pillen wie bisher */
.kopf { position: fixed; z-index: 60; top: calc(var(--flaeche) + .55rem); left: calc(var(--flaeche) + .55rem); right: calc(var(--flaeche) + .55rem); display: flex; align-items: center; gap: .5rem; pointer-events: none; }
.kopf > * { pointer-events: auto; }
.pille { display: inline-flex; align-items: center; gap: .55rem; height: 48px; padding: 0 1rem; border-radius: var(--r); background: var(--glas); color: var(--weiss); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); text-decoration: none; font-size: .92rem; font-weight: 500; transition: background-color .3s; cursor: pointer; }
.pille:not(.pille--hell) { background: rgba(43, 44, 52, .86); }
.hat-hero .kopf:not(.kopf--fest) .pille:not(.pille--hell) { background: var(--glas); }
.pille--hell { background: var(--weiss); color: var(--tinte); border-color: transparent; }
.pille--hell:hover { background: #ECEEF0; }
.punkt { width: 6px; height: 6px; background: currentColor; }
.kopf__marke { padding: 0 1.1rem; gap: .7rem; }
.kopf__marke img:first-child { height: 32px; width: auto; }
.kopf__marke img:last-child { height: 22px; width: auto; }
.kopf__nav { margin: 0 auto; padding: 0 .4rem; gap: 0; }
.kopf__nav a { padding: .45rem .8rem; border-radius: 7px; text-decoration: none; color: rgba(255, 255, 255, .82); transition: background-color .2s, color .2s; }
.kopf__nav a:hover, .kopf__nav a[aria-current="page"] { color: var(--weiss); background: rgba(255, 255, 255, .1); }
.kopf__rechts { display: flex; gap: .5rem; margin-left: auto; }
.kopf__nav + .kopf__rechts { margin-left: 0; }
.menu-btn { display: none; }
.menu-btn__icon { width: 14px; height: 14px; position: relative; }
.menu-btn__icon::before, .menu-btn__icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; top: 50%; transition: transform .3s var(--ease); }
.menu-btn__icon::before { transform: translateY(-4px); }
.menu-btn__icon::after { transform: translateY(3px); }
.menu-offen .menu-btn__icon::before { transform: rotate(45deg); }
.menu-offen .menu-btn__icon::after { transform: rotate(-45deg); }

/* Vollbild-Menü (mobil) */
.menue { position: fixed; inset: 0; z-index: 55; background: var(--graphit); color: var(--weiss); padding: 6.5rem var(--rand) 2rem; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s var(--ease), visibility 0s linear .35s; }
/* Geschlossenes Menü darf nie über der Seite liegen und Klicks abfangen (display:flex hebt sonst [hidden] auf) */
.menue[hidden] { display: none; }
.menu-offen .menue { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .35s var(--ease), visibility 0s; }
.menu-offen { overflow: hidden; }
.menue__nav { display: flex; flex-direction: column; }
.menue__nav a { font-size: clamp(2.3rem, 9vw, 4rem); line-height: 1.15; letter-spacing: -.04em; text-decoration: none; color: rgba(255, 255, 255, .92); padding: .15rem 0; transform: translateY(14px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease), color .2s; }
.menu-offen .menue__nav a { transform: none; opacity: 1; }
.menu-offen .menue__nav a:nth-child(2) { transition-delay: .04s; } .menu-offen .menue__nav a:nth-child(3) { transition-delay: .08s; } .menu-offen .menue__nav a:nth-child(4) { transition-delay: .12s; } .menu-offen .menue__nav a:nth-child(5) { transition-delay: .16s; } .menu-offen .menue__nav a:nth-child(6) { transition-delay: .2s; }
.menue__nav a[aria-current="page"] { color: var(--gold-hell); }
.menue__fuss { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2rem; }
.menue__fuss a:not(.pille) { color: rgba(255, 255, 255, .75); text-decoration: none; }

/* Startseite: Hero */
.hero { position: relative; margin-top: var(--flaeche); height: calc(100svh - 2 * var(--flaeche)); min-height: 620px; max-height: 1080px; overflow: hidden; color: var(--weiss); background: var(--graphit); isolation: isolate; }
.hero__medien, .hero__medien img, .hero__medien video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__medien { z-index: -1; }
.hero__medien video { opacity: 0; transition: opacity 1.2s ease; }
.hero__medien video.laeuft { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 14, 20, .42) 0%, rgba(12, 14, 20, 0) 26%, rgba(12, 14, 20, 0) 46%, rgba(12, 14, 20, .58) 100%); }
.hero__inhalt { position: absolute; left: clamp(1.25rem, 3.4vw, 3rem); right: clamp(1.25rem, 3.4vw, 3rem); bottom: clamp(1.5rem, 3.4vw, 3rem); }
.hero__kicker { font-size: clamp(.95rem, 1.1vw, 1.05rem); color: rgba(255, 255, 255, .86); margin: 0 0 1rem; }
.hero__titel { color: var(--weiss); font-size: clamp(3rem, 7.4vw, 8.4rem); line-height: .94; letter-spacing: -.05em; margin: 0 0 clamp(1.5rem, 3vw, 2.4rem); }
.hero__titel span { display: block; }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero__karte { position: absolute; right: clamp(1rem, 2.4vw, 2rem); bottom: clamp(1.5rem, 3.4vw, 3rem); width: 340px; display: flex; gap: 1rem; align-items: flex-start; padding: 1rem; border-radius: 14px; background: var(--glas); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.hero__karte img { width: 64px; height: 76px; border-radius: 8px; object-fit: cover; object-position: top; flex: none; }
.hero__karte p { font-size: .9rem; line-height: 1.45; margin: 0 0 .6rem; color: rgba(255, 255, 255, .9); }
.hero__karte a { font-size: .9rem; font-weight: 500; color: var(--weiss); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); }
.hero__karte a:hover { text-decoration-color: currentColor; }
/* Einziger Auftritt beim Laden: Zeilen der Überschrift steigen aus einer Maske */
.hero__titel span { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__titel span::before { content: none; }
@supports (animation-timeline: auto) or (display: block) {
  .hero__kicker, .hero__aktionen, .hero__karte { animation: auftritt .9s var(--ease) both; }
  .hero__titel span { animation: zeile 1.1s var(--ease) both; }
  .hero__titel span:nth-child(2) { animation-delay: .1s; }
  .hero__aktionen { animation-delay: .35s; }
  .hero__karte { animation-delay: .55s; }
}
@keyframes zeile { from { opacity: 0; transform: translateY(.3em); } to { opacity: 1; transform: none; } }
@keyframes auftritt { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Wer wir sind */
.wer { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5rem); }
.wer__bild { margin: 0; max-width: 300px; }
.wer__bild img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: var(--r-karte); background: var(--nebel); }
.wer__bild figcaption { margin-top: .9rem; font-size: .9rem; color: var(--grau); }
.wer__bild figcaption strong { display: block; color: var(--tinte); font-weight: 500; font-size: 1rem; }
.wer__text .aussage { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.wer__spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; max-width: 52rem; margin-bottom: 2rem; }
.wer__spalten p { margin: 0; }

/* Objektkarten (JustImmo) */
.filter { display: inline-flex; background: var(--weiss); border: 1px solid var(--linie); border-radius: 12px; padding: 4px; gap: 4px; }
.filter button { border: 0; background: transparent; padding: .55rem 1.05rem; border-radius: 8px; font-weight: 500; font-size: .92rem; color: var(--grau); cursor: pointer; transition: background-color .2s, color .2s; }
.filter button:hover { color: var(--tinte); }
.filter button[aria-pressed="true"] { background: var(--graphit); color: var(--weiss); }
.filter button span { font-weight: 400; opacity: .7; margin-left: .35rem; }
.objekte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.5rem); }
.karte { display: flex; flex-direction: column; background: var(--weiss); border-radius: var(--r-karte); text-decoration: none; color: inherit; border: 1px solid var(--linie); padding: .5rem; transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s; }
.karte:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 22px 44px -24px rgba(21, 22, 27, .35); }
.karte[hidden] { display: none; }
.karte__bild { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--nebel); }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.karte:hover .karte__bild img { transform: scale(1.04); }
.marken { position: absolute; top: .7rem; left: .7rem; display: flex; gap: .35rem; flex-wrap: wrap; }
.marke-chip { display: inline-flex; align-items: center; background: rgba(255, 255, 255, .95); color: var(--tinte); font-size: .78rem; font-weight: 500; padding: .28rem .6rem; border-radius: 6px; }
.marke-chip--kauf { background: var(--graphit); color: var(--weiss); }
.marke-chip--miete { background: var(--gold); color: var(--tinte); }
.karte__anzahl { position: absolute; right: .7rem; bottom: .7rem; background: var(--glas); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--weiss); font-size: .78rem; font-weight: 500; padding: .3rem .55rem; border-radius: 6px; display: flex; gap: .35rem; align-items: center; }
.karte__anzahl svg { width: 14px; }
.karte__text { padding: 1.1rem .8rem .6rem; display: flex; flex-direction: column; flex: 1; }
.karte__ort { font-size: .84rem; color: var(--grau); margin-bottom: .45rem; display: flex; gap: .35rem; align-items: center; }
.karte__ort svg { width: 14px; color: var(--gold-tief); flex: none; }
.karte h3 { font-size: 1.08rem; font-weight: 500; letter-spacing: -.015em; line-height: 1.38; margin: 0 0 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.karte__daten { display: flex; gap: 2rem; margin: 0 0 1.1rem; }
.karte__daten dt { font-size: .78rem; color: var(--grau); }
.karte__daten dd { margin: .05rem 0 0; font-weight: 500; color: var(--tinte); }
.karte__fuss { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .9rem; border-top: 1px solid var(--linie); }
.preis { font-size: 1.3rem; font-weight: 500; letter-spacing: -.02em; color: var(--gold-tief); white-space: nowrap; }
.preis small { font-size: .82rem; font-weight: 400; color: var(--grau); margin-left: .3rem; letter-spacing: 0; }
.karte__mehr { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .84rem; color: var(--weiss); background: var(--graphit); padding: .5rem .85rem; border-radius: 8px; white-space: nowrap; transition: background-color .2s; }
.karte__mehr::before { content: ""; width: 5px; height: 5px; background: currentColor; }
.karte:hover .karte__mehr { background: var(--tinte); }
.objekte__leer { grid-column: 1 / -1; background: var(--weiss); border: 1px dashed var(--linie); border-radius: var(--r-karte); padding: 2.5rem; text-align: center; }
.alle-objekte { margin-top: clamp(2rem, 4vw, 3rem); display: flex; justify-content: center; }

/* Leistungen mit großen Ziffern wie bisher */
.leistungen-kopf { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1rem clamp(2rem, 5vw, 5rem); margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.leistungen-kopf .aussage { margin: 0; }
.leistungsliste { list-style: none; margin: 0 0 clamp(2rem, 4vw, 3rem); padding: 0; }
.leistungsliste li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 2fr); gap: 1rem clamp(2rem, 5vw, 5rem); align-items: start; padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-top: 1px solid var(--linie); }
.leistungsliste li:last-child { border-bottom: 1px solid var(--linie); }
.leistungsliste h3 { margin: 0; display: flex; gap: .7rem; align-items: baseline; }
.leistungsliste h3::before { content: ""; width: 7px; height: 7px; background: var(--graphit); flex: none; transform: translateY(-.15em); }
.leistungsliste p { margin: 0; color: var(--grau); max-width: 34em; }
.leistungsliste__nr { justify-self: end; font-size: clamp(3rem, 6.4vw, 6rem); line-height: .8; letter-spacing: -.06em; color: var(--tinte); transition: color .3s; }
.leistungsliste li:hover .leistungsliste__nr { color: var(--gold); }

/* Referenzen */
.referenzen { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.referenzen__text { position: sticky; top: 7rem; }
.referenzen__text p { color: var(--grau); max-width: 30em; }
.referenzen__liste { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.referenzen__liste .referenz:first-child { grid-column: 1 / -1; }
.referenzen__liste .referenz:not(:first-child) { aspect-ratio: 4 / 5; }
.referenz { margin: 0; position: relative; border-radius: var(--r-karte); overflow: hidden; background: var(--graphit); aspect-ratio: 16 / 11; }
.referenz img, .referenz video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.referenz figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 4rem 1.4rem 1.3rem; background: linear-gradient(transparent, rgba(12, 14, 20, .72)); color: var(--weiss); }
.referenz figcaption strong { display: block; font-weight: 500; font-size: 1.3rem; letter-spacing: -.02em; }
.referenz figcaption span { font-size: .9rem; color: rgba(255, 255, 255, .78); }

/* Ablauf (echte Reihenfolge) */
.ablauf { counter-reset: schritt; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.ablauf li { counter-increment: schritt; border-top: 1px solid var(--graphit); padding-top: 1.25rem; }
.ablauf li::before { content: counter(schritt, decimal-leading-zero); display: block; font-size: 2.6rem; letter-spacing: -.05em; line-height: 1; color: var(--tinte); margin-bottom: 1rem; }
.ablauf h3 { margin-bottom: .4rem; }
.ablauf p { color: var(--grau); margin: 0; }

/* Bewertungsrechner: dunkler Funnel wie bisher */
.section--nacht { padding: clamp(3rem, 6vw, 5rem) 0; }
.spirale + .section--graphit, .section--graphit + .spirale, .section--weiss + .section--graphit { margin-top: var(--flaeche); }
.rechner { background: var(--nacht); color: rgba(255, 255, 255, .78); border-radius: var(--r-flaeche); overflow: hidden; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.rechner__info { padding: clamp(2rem, 4vw, 3.5rem); background: #1E1F26; display: flex; flex-direction: column; }
.rechner__info h2 { color: var(--weiss); font-size: clamp(1.9rem, 3vw, 2.7rem); }
.rechner__info p { color: rgba(255, 255, 255, .7); }
.rechner__kontakt { margin-top: auto; display: flex; gap: .9rem; align-items: center; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.rechner__kontakt img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; object-position: top; }
.rechner__kontakt strong { color: var(--weiss); font-weight: 500; }
.rechner__kontakt small { display: block; color: rgba(255, 255, 255, .6); font-size: .9rem; }
.rechner__form { padding: clamp(2rem, 4vw, 3.5rem); }
.fortschritt { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; font-size: .88rem; color: rgba(255, 255, 255, .6); }
.fortschritt__balken { flex: 1; height: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.fortschritt__balken i { display: block; height: 100%; width: 25%; background: var(--gold); transition: width .4s var(--ease); }
.schritt { display: none; }
.schritt.aktiv { display: block; animation: auftritt .4s var(--ease); }
.schritt h3 { color: var(--weiss); font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 400; letter-spacing: -.03em; margin-bottom: 1.4rem; }
.schnellwert__wahl { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.wahl { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; padding: 1.2rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: rgba(255, 255, 255, .03); text-align: left; cursor: pointer; color: var(--weiss); width: 100%; text-decoration: none; transition: border-color .2s, background-color .2s; }
.wahl svg { width: 34px; height: 34px; color: var(--gold); }
.wahl strong { font-weight: 500; }
.wahl small { display: block; color: rgba(255, 255, 255, .6); font-size: .85rem; margin-top: .1rem; }
.wahl:hover, .wahl[aria-pressed="true"] { border-color: var(--gold); background: rgba(197, 155, 118, .1); }
.haken { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .65rem; }
.haken li { padding-left: 1.7rem; position: relative; }
.haken li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.feld { display: flex; flex-direction: column; gap: .4rem; }
.feld--voll { grid-column: 1 / -1; }
.feld[hidden] { display: none; }
.feld label { font-weight: 500; font-size: .9rem; color: var(--tinte); }
.feld input, .feld select, .feld textarea { font: inherit; font-size: 1rem; padding: .85rem 1rem; border-radius: var(--r); border: 1px solid var(--linie); background: var(--weiss); color: var(--tinte); width: 100%; transition: border-color .2s; }
.feld input:hover, .feld select:hover, .feld textarea:hover { border-color: #C9CDD2; }
.feld textarea { min-height: 140px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
.feld .hinweis { font-size: .85rem; color: var(--grau); font-weight: 400; }
.rechner .feld label { color: rgba(255, 255, 255, .85); }
.rechner .feld input, .rechner .feld select { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); color: var(--weiss); }
.rechner .feld select option { color: var(--tinte); }
.rechner .feld .hinweis { color: rgba(255, 255, 255, .5); }
.fehler { color: #F0A58F; font-size: .9rem; min-height: 1.4em; margin: .75rem 0 0; }
.formular .fehler, .anfrage .fehler { color: #A1391C; }
.schritt__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.zurueck { background: none; border: 0; color: rgba(255, 255, 255, .6); font-weight: 500; cursor: pointer; padding: .5rem 0; }
.zurueck:hover { color: var(--weiss); }
.zustimmung { display: flex; gap: .65rem; align-items: flex-start; font-size: .86rem; line-height: 1.5; color: rgba(255, 255, 255, .6); margin-top: 1.25rem; }
.formular .zustimmung, .anfrage .zustimmung { color: var(--grau); }
.zustimmung input { margin-top: .25rem; accent-color: var(--gold); }
.zustimmung a { color: inherit; }
.honig { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.erfolg svg { width: 52px; height: 52px; color: var(--gold); margin-bottom: 1.25rem; }
.erfolg p { color: rgba(255, 255, 255, .75); }
.rechner .textlink { color: var(--weiss); text-decoration-color: rgba(255, 255, 255, .4); }

/* Spirale: Vorteile auf Video */
.spirale { position: relative; overflow: hidden; isolation: isolate; background: #0B1A30; color: rgba(255, 255, 255, .76); padding: clamp(5rem, 10vw, 9rem) 0; }
.spirale__medien, .spirale__medien img, .spirale__medien video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spirale__medien { z-index: -1; }
.spirale__medien video { opacity: 0; transition: opacity 1s ease; }
.spirale__medien video.laeuft { opacity: 1; }
.spirale::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 12, 24, .62), rgba(6, 12, 24, .38) 50%, rgba(6, 12, 24, .7)); }
.spirale__kopf h2 { color: var(--weiss); font-size: clamp(1.8rem, 3.4vw, 3.1rem); max-width: 23em; line-height: 1.14; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.vorteile { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.vorteile li { padding: clamp(1.4rem, 2.4vw, 2rem); border-radius: var(--r-karte); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.vorteile h3 { color: var(--weiss); margin-bottom: .6rem; display: flex; gap: .7rem; align-items: baseline; }
.vorteile h3::before { content: ""; width: 7px; height: 7px; background: var(--gold); flex: none; transform: translateY(-.15em); }
.vorteile p { margin: 0; font-size: .97rem; color: rgba(255, 255, 255, .72); }
.spirale__fuss { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: clamp(2.5rem, 5vw, 4rem); }
.spirale__fuss p { margin: 0; max-width: 34em; color: rgba(255, 255, 255, .8); }

/* Zahlen */
.zahlen { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
.zahlen__text h2 { color: var(--weiss); max-width: 12em; }
.zahlen__text p { max-width: 30em; margin: 0; }
.zahlen__liste { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 3rem); margin: 0; }
.zahlen__liste div { display: flex; flex-direction: column-reverse; justify-content: flex-end; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 1.1rem; }
.zahlen__liste dd { margin: 0 0 .5rem; font-size: clamp(3.4rem, 7vw, 6.4rem); line-height: .95; letter-spacing: -.055em; color: var(--weiss); font-variant-numeric: tabular-nums; }
.zahlen__liste dd small { font-size: .38em; letter-spacing: -.02em; margin-left: .2em; color: rgba(255, 255, 255, .75); }
.zahlen__liste dt { font-size: .92rem; color: rgba(255, 255, 255, .66); }

/* Ratgeber */
.artikel-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.5rem); }
.artikel-karte { text-decoration: none; color: inherit; display: flex; flex-direction: column; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: .5rem .5rem 1.4rem; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.artikel-karte:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(21, 22, 27, .35); }
.artikel-karte img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; margin-bottom: 1.2rem; width: 100%; }
.artikel-karte time { font-size: .84rem; color: var(--grau); padding: 0 .8rem; }
.artikel-karte h3 { margin: .35rem 0 .6rem; padding: 0 .8rem; }
.artikel-karte p { color: var(--grau); font-size: .96rem; margin: 0; padding: 0 .8rem; }

/* Abschluss-Band */
.band { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
.band h2 { margin-bottom: .4em; }
.band__aktionen { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; }

/* Fußbereich */
.fuss { background: var(--graphit); color: rgba(255, 255, 255, .7); margin-top: clamp(3rem, 6vw, 5rem); margin-bottom: var(--flaeche); padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1.25rem, 4vw, 3.5rem) 1.75rem; font-size: .96rem; }
.fuss__cta { padding-bottom: clamp(3rem, 6vw, 5rem); margin-bottom: clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.fuss__cta h2 { color: var(--weiss); font-size: clamp(2.6rem, 6.6vw, 6.2rem); letter-spacing: -.05em; line-height: .98; max-width: 11em; margin-bottom: 2rem; }
.fuss__aktionen { display: flex; flex-wrap: wrap; gap: .6rem; }
.fuss__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss a { text-decoration: none; transition: color .2s; }
.fuss a:hover { color: var(--weiss); }
.fuss__gross li { font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.2; letter-spacing: -.04em; }
.fuss__gross a { color: var(--weiss); }
.fuss__gross a:hover { color: var(--gold-hell); }
.fuss__liste { display: grid; gap: .6rem; }
.fuss__liste a { color: var(--weiss); }
.fuss__text { margin-top: 1.5rem; font-size: .9rem; max-width: 26em; }
.fuss__unten { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; font-size: .85rem; color: rgba(255, 255, 255, .55); }
.fuss__recht { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.fuss__hoch { color: var(--weiss); }

/* Unterseiten */
.seitenkopf { margin-top: var(--flaeche); background: radial-gradient(120% 140% at 85% 0%, #3F4250 0%, var(--graphit) 45%, #2A2B33 100%); color: rgba(255, 255, 255, .74); padding: clamp(8.5rem, 14vw, 11rem) 0 clamp(3.5rem, 6vw, 5.5rem); }
.seitenkopf h1 { color: var(--weiss); max-width: 14em; }
.seitenkopf .lede { color: rgba(255, 255, 255, .72); margin: 0; }
.pfad { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .86rem; color: rgba(255, 255, 255, .55); margin-bottom: 2rem; }
.pfad a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.pfad a:hover { color: var(--weiss); text-decoration: underline; }
.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.bild-rund { margin: 0; }
.bild-rund img { border-radius: var(--r-karte); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.person__bild { margin: 0; }
.person__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--r-karte); }
.person__bild figcaption { margin-top: .9rem; color: var(--grau); font-size: .92rem; }
.person__bild figcaption strong { display: block; color: var(--tinte); font-weight: 500; }
.prosa { max-width: 46rem; }
.prosa h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-top: 2em; }
.prosa > h2:first-child { margin-top: 0; }
.prosa h3 { margin-top: 1.8em; }
.prosa ul { padding-left: 1.2rem; }
.prosa li { margin-bottom: .45rem; }
.prosa a:not(.btn) { color: var(--tinte); font-weight: 500; }
.prosa .lede { margin-bottom: 2rem; }
.prosa .hinweis { font-size: .88rem; color: var(--grau); margin-top: 2rem; }
.artikel-bild { margin: 0 0 2.5rem; }
.artikel-bild img { border-radius: var(--r-karte); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hinweisbox { background: var(--nebel); border-radius: var(--r-karte); padding: 1.6rem 1.8rem; margin: 2.5rem 0; }
.hinweisbox h3 { margin-top: 0; }
.hinweisbox p:last-child { margin-bottom: 0; }
.recht { max-width: 48rem; }
.recht h2 { font-size: 1.6rem; margin-top: 2em; }
.recht p, .recht li { color: var(--text); }

/* Kontakt */
.kontakt-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); }
.kontaktwege { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1.1rem; }
.kontaktwege li { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: center; }
.kontaktwege .icon { width: 46px; height: 46px; border-radius: 10px; background: var(--nebel); display: grid; place-items: center; color: var(--graphit); }
.kontaktwege svg { width: 20px; }
.kontaktwege small { display: block; color: var(--grau); }
.kontaktwege a { font-weight: 500; color: var(--tinte); text-decoration: none; }
.kontaktwege a:hover { text-decoration: underline; }
.formular { background: var(--nebel); border-radius: var(--r-flaeche); padding: clamp(1.5rem, 3.5vw, 2.75rem); }
.formular h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.formular .btn { margin-top: 1.5rem; }
.formular-ok { display: none; }
.formular.gesendet form { display: none; }
.formular.gesendet .formular-ok { display: block; }
.formular-ok svg { width: 48px; height: 48px; color: var(--gold-tief); margin-bottom: 1rem; }

/* Objektseite */
.objektkopf { padding: clamp(7.5rem, 11vw, 9rem) 0 1.75rem; }
.objektkopf .pfad { color: var(--grau); }
.objektkopf .pfad a { color: var(--grau); }
.objektkopf .pfad a:hover { color: var(--tinte); }
.objektkopf h1 { font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1.06; max-width: 22em; margin-bottom: .55em; }
.objektkopf__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; align-items: center; color: var(--grau); }
.objektkopf__meta .marke-chip:not(.marke-chip--kauf):not(.marke-chip--miete) { background: var(--nebel); }
.galerie { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(160px, 1fr)); gap: .5rem; height: clamp(320px, 50vw, 640px); border-radius: var(--r-flaeche); overflow: hidden; position: relative; }
.galerie button { border: 0; padding: 0; margin: 0; cursor: zoom-in; position: relative; overflow: hidden; background: var(--nebel); }
.galerie button:first-child { grid-row: span 2; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.galerie button:hover img { transform: scale(1.03); }
.galerie__alle { position: absolute !important; right: 1rem; bottom: 1rem; z-index: 2; background: var(--weiss) !important; color: var(--tinte); border-radius: var(--r) !important; padding: .75rem 1.1rem !important; font-weight: 500; cursor: pointer !important; display: flex; gap: .5rem; align-items: center; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); }
.galerie__alle svg { width: 18px; }
.galerie--1 { grid-template-columns: 1fr; }
.galerie--2 { grid-template-columns: 1.5fr 1fr; }
.galerie--2 button:first-child, .galerie--1 button:first-child { grid-row: span 2; }
.galerie--3 { grid-template-columns: 2fr 1fr; }
.objekt { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(2rem, 5vw, 4.5rem); padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.objekt__haupt > section { padding-bottom: 2.75rem; margin-bottom: 2.75rem; border-bottom: 1px solid var(--linie); }
.objekt__haupt > section:last-child { border-bottom: 0; }
.objekt__haupt h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.eckdaten { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); background: var(--nebel); border-radius: var(--r-karte); overflow: hidden; margin: 0; }
.eckdaten div { padding: 1rem 1.15rem; border-right: 1px solid var(--linie); border-bottom: 1px solid var(--linie); margin: 0 -1px -1px 0; }
.eckdaten dt { font-size: .82rem; color: var(--grau); }
.eckdaten dd { margin: .15rem 0 0; font-weight: 500; color: var(--tinte); font-size: 1.05rem; }
.beschreibung h3 { font-size: 1.2rem; margin: 1.8em 0 .6em; }
.beschreibung ul { padding-left: 1.2rem; }
.beschreibung li { margin-bottom: .35rem; }
.beschreibung--zu { max-height: 30rem; overflow: hidden; position: relative; }
.beschreibung--zu::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8rem; background: linear-gradient(rgba(255, 255, 255, 0), var(--weiss)); }
.mehr-btn { margin-top: 1rem; background: none; border: 1px solid var(--graphit); border-radius: var(--r); padding: .65rem 1.15rem; font-weight: 500; cursor: pointer; color: var(--graphit); }
.mehr-btn:hover { background: var(--graphit); color: var(--weiss); }
.ausstattung { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0; }
.ausstattung li { background: var(--nebel); border-radius: 8px; padding: .4rem .85rem; font-size: .92rem; color: var(--tinte); }
.energie { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.energie__wert { background: var(--nebel); border-radius: var(--r-karte); padding: 1.25rem; display: flex; gap: 1rem; align-items: center; }
.energie__klasse { width: 54px; height: 54px; border-radius: 10px; display: grid; place-items: center; font-size: 1.6rem; font-weight: 500; color: var(--weiss); flex: none; }
.ek-A, .ek-Aplus, .ek-Aplusplus { background: #2E7D4F; } .ek-B { background: #5E9A3C; } .ek-C { background: #A5A73A; } .ek-D { background: #C9A227; color: var(--tinte); } .ek-E { background: #D2822B; } .ek-F { background: #C65A2E; } .ek-G { background: #A53A2B; } .ek-x { background: var(--graphit); }
.energie__wert small { display: block; color: var(--grau); font-size: .85rem; }
.energie__wert strong { font-size: 1.1rem; font-weight: 500; color: var(--tinte); }
.umgebung { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem 2rem; }
.umgebung h3 { font-size: .98rem; margin-bottom: .6rem; }
.umgebung ul { list-style: none; padding: 0; margin: 0; }
.umgebung li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--linie); font-size: .95rem; }
.umgebung li span:last-child { color: var(--grau); white-space: nowrap; }
.plaene { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.plaene button { border: 1px solid var(--linie); background: var(--weiss); border-radius: var(--r-karte); padding: 1rem; cursor: zoom-in; }
.plaene img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.anfrage { position: sticky; top: 6.5rem; align-self: start; background: var(--nebel); border-radius: var(--r-flaeche); padding: 1.75rem; }
.anfrage__preis { font-size: 2.2rem; font-weight: 500; letter-spacing: -.035em; color: var(--tinte); line-height: 1.1; }
.anfrage__preis small { display: block; font-size: .88rem; font-weight: 400; letter-spacing: 0; color: var(--grau); margin-top: .35rem; }
.anfrage__provision { font-size: .85rem; color: var(--grau); margin: .75rem 0 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--linie); }
.anfrage__person { display: flex; gap: .9rem; align-items: center; margin-bottom: 1.25rem; }
.anfrage__person img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; object-position: top; }
.anfrage__person strong { color: var(--tinte); font-weight: 500; }
.anfrage__person small { display: block; color: var(--grau); }
.anfrage .btn { width: 100%; margin-top: .6rem; }
.anfrage .feld { margin-bottom: .75rem; }
.anfrage .feld input, .anfrage .feld textarea { padding: .7rem .85rem; }
.anfrage .feld textarea { min-height: 96px; }
.anfrage .formular { background: none; border-radius: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: #101116; display: none; flex-direction: column; height: 100vh; height: 100dvh; }
.lightbox.offen { display: flex; }
.lightbox__kopf { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; color: rgba(255, 255, 255, .7); font-size: .95rem; }
.lightbox__bild { flex: 1; min-height: 0; position: relative; }
.lightbox__bild img { position: absolute; top: 0; bottom: 1.25rem; left: 4.75rem; right: 4.75rem; margin: auto; max-width: calc(100% - 9.5rem); max-height: calc(100% - 1.25rem); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lb-btn { background: rgba(255, 255, 255, .1); color: var(--weiss); border: 0; width: 52px; height: 52px; border-radius: 12px; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-btn svg { width: 22px; }
.lb-pfeil { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-zurueck { left: 1rem; } .lb-weiter { right: 1rem; }
.lightbox__leiste { display: flex; gap: .5rem; overflow-x: auto; padding: 0 1.25rem 1.25rem; scrollbar-width: thin; }
.lightbox__leiste button { flex: none; width: 92px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; opacity: .55; background: none; }
.lightbox__leiste button[aria-current="true"] { border-color: var(--gold); opacity: 1; }
.lightbox__leiste img { width: 100%; height: 100%; object-fit: cover; }

.mobil-cta { display: none; }

/* Seitenwechsel: ruhiges Überblenden ohne Bewegung, damit nichts doppelt oder versetzt aufblitzt */
@view-transition { navigation: auto; }
.kopf { view-transition-name: kopf; }
/* Die alte Seite bleibt stehen, die neue blendet darüber ein: kein Aufhellen, kein Versatz */
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: seite-rein .32s ease-out both; }
::view-transition-group(kopf) { animation-duration: .3s; }
@keyframes seite-rein { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
/* Feine Linie oben, erst wenn die nächste Seite spürbar länger lädt */
.ladebalken { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 400; pointer-events: none; transform-origin: 0 50%; transform: scaleX(.12); background: linear-gradient(90deg, var(--gold), var(--gold-hell)); opacity: 0; }
.laedt .ladebalken { opacity: 1; transform: scaleX(.85); transition: transform 2.4s cubic-bezier(.1, .7, .2, 1) .35s, opacity .2s .35s; }

/* Responsive */
@media (max-width: 1180px) {
  .kopf__nav { display: none; }
  .menu-btn { display: inline-flex; }
  .kopf__nav + .kopf__rechts { margin-left: auto; }
  .objekte, .artikel-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .objekt { grid-template-columns: 1fr; }
  .anfrage { position: static; }
  .vorteile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero__karte { display: none; }
  .wer, .leistungen-kopf, .referenzen, .zahlen, .rechner, .zwei-spalten, .kontakt-grid, .band { grid-template-columns: 1fr; }
  .rechner__form { order: -1; }
  .wer__links { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: end; }
  .wer__links .eyebrow { grid-column: 1 / -1; margin: 0; }
  .wer__bild { max-width: 220px; }
  .referenzen__text { position: static; }
  .leistungsliste li { grid-template-columns: 1fr auto; }
  .leistungsliste p { grid-column: 1; }
  .leistungsliste__nr { grid-row: 1 / span 2; grid-column: 2; font-size: clamp(2.6rem, 10vw, 4rem); }
  .ablauf { grid-template-columns: 1fr 1fr; }
  .fuss__grid { grid-template-columns: 1fr 1fr; }
  .fuss__grid > div:first-child { grid-column: 1 / -1; }
  .band__aktionen { justify-content: flex-start; }
  .galerie { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 72vw; min-height: 300px; }
  .galerie button:first-child { grid-column: span 2; grid-row: auto; }
  .galerie button:not(.galerie__alle):nth-child(n+4) { display: none; }
  .energie { grid-template-columns: 1fr; }
  .mobil-cta { display: flex; position: fixed; left: .5rem; right: .5rem; bottom: .5rem; z-index: 40; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--linie); border-radius: 14px; padding: .6rem .6rem .6rem 1rem; gap: .6rem; align-items: center; justify-content: space-between; box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .45); }
  .mobil-cta .preis { font-size: 1.2rem; }
  .mobil-cta .btn { min-height: 44px; padding: .5rem 1rem; }
  .hat-mobil-cta { padding-bottom: 84px; }
  .lightbox__bild img { left: .5rem; right: .5rem; max-width: calc(100% - 1rem); }
  .lb-pfeil { top: auto; bottom: 6.5rem; transform: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .kopf__cta { display: none; }
  .kopf__marke img:last-child { height: 17px; }
  .pille { height: 46px; }
  .hero { min-height: 560px; }
  .hero__titel { font-size: clamp(2.9rem, 14vw, 4.2rem); }
  .seitenkopf h1 { font-size: clamp(2.1rem, 9.6vw, 2.8rem); }
  .objektkopf h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero__aktionen .btn { flex: 1 1 auto; }
  .objekte, .artikel-liste, .vorteile, .ablauf { grid-template-columns: 1fr; }
  .wer__spalten { grid-template-columns: 1fr; }
  .schnellwert__wahl { grid-template-columns: 1fr; }
  .wahl { flex-direction: row; align-items: center; }
  .felder { grid-template-columns: 1fr; }
  .fuss__grid { grid-template-columns: 1fr; }
  .zahlen__liste { grid-template-columns: 1fr 1fr; }
  .kopfzeile { align-items: flex-start; }
  .filter { width: 100%; }
  .filter button { flex: 1; padding: .55rem .4rem; }
  .referenz { aspect-ratio: 4 / 3; }
  .referenzen__liste { grid-template-columns: 1fr; }
  .referenzen__liste .referenz:not(:first-child) { aspect-ratio: 4 / 3; }
}
@media print { .kopf, .menue, .fuss, .anfrage form, .mobil-cta, .galerie__alle { display: none !important; } body { background: #fff; } .objektkopf { padding-top: 1rem; } }
