/* Version 2 – editorialer Auftritt: Serifen-Überschriften, zentriertes Logo,
   großzügige Bildflächen. Farben bleiben Weiß, Schwarz und Grau. */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --soft: #f5f5f3;
  --ink: #0f0f0f;
  --text: #2b2b2b;
  --muted: #6f6f6c;
  --line: #e2e2de;
  --dark: #101010;
  --dark-2: #181818;
  --on-dark: #f4f4f1;
  --dark-muted: #a6a6a2;
  --dark-line: #2c2c2c;
  --danger: #9b2c22;

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem);
  --step-3: clamp(2.6rem, 1.7rem + 3.2vw, 4.4rem);
  --step-4: clamp(3.4rem, 1.9rem + 6.2vw, 7.4rem);

  --wrap: 1240px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; }
.num { font-variant-numeric: tabular-nums; }

.wrap { max-width: calc(var(--wrap) + 32px); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.eyebrow { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.section { padding-block: clamp(72px, 10vw, 140px); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 60ch; }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--muted); }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px; }
.section-head-row > div { display: grid; gap: 18px; }

/* ---------- Schaltflächen und Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--bg);
  font: inherit; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / .65); }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn[disabled] { opacity: .5; cursor: progress; }
.service-link {
  display: inline-block; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; padding-bottom: 5px; border-bottom: 1px solid var(--ink);
}
.service-link::after { content: " →"; }
.service-link:hover { color: var(--muted); border-color: var(--muted); }

/* ---------- Kopfzeile: Logo mittig, Menü links und rechts ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9;
  background: rgb(255 255 255 / .96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .3s, border-color .3s;
}
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 86px; }
.brand { grid-column: 2; grid-row: 1; display: block; }
.brand img { height: 30px; width: auto; }
.nav { display: contents; }
.nav-group { display: flex; align-items: center; gap: 30px; grid-row: 1; }
.nav-left { grid-column: 1; justify-self: start; }
.nav-right { grid-column: 3; justify-self: end; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.76rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; padding-bottom: 4px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.nav a.nav-cta { border: 1px solid currentColor; padding: 10px 16px; }
.nav a.nav-cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.menu-toggle { display: none; }

.has-hero::before { background: transparent; }
.has-hero.scrolled::before { background: var(--bg); }
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.has-hero.scrolled .site-header { background: rgb(255 255 255 / .96); border-bottom-color: var(--line); backdrop-filter: blur(10px); }
.brand .logo-light { display: none; }
.has-hero:not(.scrolled) .brand .logo-dark { display: none; }
.has-hero:not(.scrolled) .brand .logo-light { display: block; }
.has-hero:not(.scrolled) .nav a { color: #fff; }
.has-hero:not(.scrolled) .nav a.nav-cta:hover { background: #fff; color: var(--ink); border-color: #fff; }

@media (max-width: 900px) {
  .site-header .wrap { grid-template-columns: 1fr auto; min-height: 72px; }
  .brand { grid-column: 1; justify-self: start; }
  .brand img { height: 24px; }
  .menu-toggle {
    display: grid; grid-column: 2; grid-row: 1; justify-self: end; align-content: center; gap: 7px;
    width: 44px; height: 44px; padding: 0 10px; border: 0; background: transparent; cursor: pointer; color: var(--ink); z-index: 2;
  }
  .menu-toggle span { display: block; height: 1.5px; background: currentColor; transition: transform .25s; }
  .has-hero:not(.scrolled):not(.menu-open) .menu-toggle { color: #fff; }
  .menu-open .menu-toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav {
    display: flex; flex-direction: column; justify-content: center; gap: 0;
    position: fixed; inset: 0; z-index: 1;
    padding: 96px max(24px, env(safe-area-inset-right, 0px)) 48px max(24px, env(safe-area-inset-left, 0px));
    background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .nav-group { display: grid; gap: 18px; justify-items: start; }
  .nav-group + .nav-group { margin-top: 18px; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .menu-open .nav a, .menu-open.has-hero:not(.scrolled) .nav a { color: var(--ink); font-family: var(--serif); font-size: 2.2rem; font-weight: 400; letter-spacing: 0; text-transform: none; border: 0; padding: 0; }
  .menu-open .nav a.nav-cta, .menu-open.has-hero:not(.scrolled) .nav a.nav-cta { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid var(--ink); padding: 14px 24px; margin-top: 10px; }
  .menu-open .site-header { background: transparent !important; border-bottom-color: transparent !important; backdrop-filter: none !important; }
  .menu-open .brand { position: relative; z-index: 2; }
  .menu-open .brand .logo-dark { display: block !important; }
  .menu-open .brand .logo-light { display: none !important; }
}

/* ---------- Titelbereich mit Video ---------- */
.hero {
  position: relative; isolation: isolate; display: grid;
  min-height: max(640px, min(100svh, 1040px));
  color: #fff; background: #151515 url("video/hero-poster.jpg") center / cover no-repeat; overflow: hidden;
}
@media (max-width: 700px) and (orientation: portrait) { .hero { background-image: url("video/hero-poster-mobil.jpg"); min-height: max(600px, 100svh); } }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to bottom, rgb(8 8 8 / .45) 0%, rgb(8 8 8 / 0) 22%),
  linear-gradient(to top, rgb(8 8 8 / .78) 0%, rgb(8 8 8 / .3) 40%, rgb(8 8 8 / 0) 70%); }
.hero-inner { width: 100%; display: grid; grid-template-rows: 1fr auto auto; padding-block: calc(86px + env(safe-area-inset-top, 0px) + 32px) 0; }
.hero-top { align-self: start; }
.hero .eyebrow { color: rgb(255 255 255 / .8); }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; padding-bottom: clamp(36px, 5vw, 64px); }
@media (max-width: 880px) { .hero-bottom { grid-template-columns: 1fr; } }
.hero h1 { color: #fff; font-size: var(--step-4); line-height: 0.96; letter-spacing: -0.015em; }
.hero h1 span { display: block; }
.hero-aside { display: grid; gap: 24px; justify-items: start; }
.hero-lead { font-size: var(--step-1); color: rgb(255 255 255 / .85); max-width: 40ch; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px max(18px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgb(255 255 255 / .22); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgb(255 255 255 / .72); }
.hero-toggle { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .5); background: transparent; color: #fff; cursor: pointer; }
.hero-toggle:hover { background: #fff; color: var(--ink); }
.hero-toggle .i-play, .hero-toggle[aria-pressed="true"] .i-pause { display: none; }
.hero-toggle[aria-pressed="true"] .i-play { display: block; }
@keyframes rise { from { transform: translateY(0.4em); opacity: 0; } to { transform: none; opacity: 1; } }
.hero .eyebrow, .hero h1 span, .hero-aside { animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 span:nth-child(1) { animation-delay: .15s; }
.hero h1 span:nth-child(2) { animation-delay: .3s; }
.hero-aside { animation-delay: .5s; }

/* Titelbild der Unterseiten */
.page-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: max(420px, min(58svh, 620px)); color: #fff; background: #151515; overflow: hidden; }
.page-hero picture { display: contents; }
.page-hero .hero-media { z-index: -2; }
.page-hero-inner { width: 100%; display: grid; gap: 16px; padding-block: calc(86px + env(safe-area-inset-top, 0px) + 40px) clamp(36px, 5vw, 64px); }
.page-hero h1 { color: #fff; font-size: var(--step-3); max-width: 16ch; }
.page-hero .eyebrow { color: rgb(255 255 255 / .8); }
.page-hero .hero-lead { max-width: 54ch; }
.page-hero .eyebrow, .page-hero h1, .page-hero .hero-lead { animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; }
.page-hero h1 { animation-delay: .12s; }
.page-hero .hero-lead { animation-delay: .28s; }

/* ---------- Einleitung ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 880px) { .intro-grid { grid-template-columns: 1fr; } }
.intro-text { font-family: var(--serif); font-size: var(--step-2); line-height: 1.3; color: var(--ink); max-width: 30ch; text-wrap: pretty; }
.facts { margin: 0; display: grid; border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.facts dd { margin: 0; color: var(--ink); }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Leistungen auf der Startseite ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }
.service { display: grid; gap: 14px; align-content: start; text-decoration: none; color: inherit; }
.service figure { margin: 0 0 8px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.service figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.service:hover figure img { transform: scale(1.04); }
.service .no { font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--muted); }
.service h3 { font-size: var(--step-2); }
.service p { color: var(--muted); }
.service .service-link { justify-self: start; margin-top: 4px; }

/* ---------- Dunkles Band: Ankauf ---------- */
.band { background: var(--dark); color: var(--on-dark); }
.band .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(64px, 9vw, 120px); }
@media (max-width: 880px) { .band .wrap { grid-template-columns: 1fr; } }
.band h2 { color: var(--on-dark); font-size: var(--step-3); max-width: 16ch; }
.band .eyebrow { color: var(--dark-muted); margin-bottom: 18px; }
.band p { color: var(--dark-muted); max-width: 46ch; }
.band-aside { display: grid; gap: 22px; justify-items: start; }

/* ---------- Ansprechpartner ---------- */
.person { background: var(--soft); }
.person .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 820px) { .person .wrap { grid-template-columns: 1fr; } }
.person figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); max-width: 460px; width: 100%; }
.person figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.person-copy { display: grid; gap: 22px; min-width: 0; }
.person-copy h2 { font-size: var(--step-3); }
.person-role { margin-top: -12px; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.person-quote { font-family: var(--serif); font-size: var(--step-2); line-height: 1.25; color: var(--ink); max-width: 26ch; }
.person-quote::before { content: "„"; }
.person-quote::after { content: "“"; }
.contact-list { display: grid; gap: 16px; margin: 0; }
.contact-list div { display: grid; gap: 2px; }
.contact-list dt { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0; font-size: 1.1rem; color: var(--ink); overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.person-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Angebote-Hinweis ---------- */
.offers-teaser .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
@media (max-width: 760px) { .offers-teaser .wrap { grid-template-columns: 1fr; } }
.offers-teaser h2 { font-size: var(--step-2); }
.offers-teaser p { color: var(--muted); margin-top: 8px; max-width: 56ch; }

/* ---------- Abschluss-Band ---------- */
.cta-band { background: var(--soft); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center; padding-block: clamp(64px, 9vw, 120px); }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } }
.cta-band h2 { font-size: var(--step-3); max-width: 18ch; }
.cta-band p { color: var(--muted); margin-top: 12px; max-width: 52ch; }
.cta-band .btn-light { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cta-band .btn-light:hover { background: transparent; color: var(--ink); }
.cta-band .btn-outline-light { color: var(--ink); border-color: var(--ink); }
.cta-band .btn-outline-light:hover { background: var(--ink); color: var(--bg); }

/* ---------- Leistungen im Detail (Bild + Text) ---------- */
.detail .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 820px) { .detail .wrap { grid-template-columns: 1fr; } }
.detail-img { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-flip .detail-img { order: 2; }
@media (max-width: 820px) { .detail-flip .detail-img { order: 0; } }
.detail-body { display: grid; gap: 22px; min-width: 0; justify-items: start; }
.detail-body h2 { font-size: var(--step-3); }
.detail-body > p { color: var(--muted); font-size: var(--step-1); max-width: 44ch; line-height: 1.55; }
.detail-soft { background: var(--soft); }
.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); width: 100%; }
.checklist li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); color: var(--ink); }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 1.4em; width: 14px; height: 1px; background: var(--ink); }
.checklist-compact { margin-top: 10px; border-top-color: var(--line); }
.checklist-compact li { padding-block: 10px; }

/* ---------- Pfeiler und Ablauf ---------- */
.pillars { border-block: 1px solid var(--line); }
.pillars ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.pillars li { padding: 32px 24px 32px 0; display: grid; gap: 6px; }
.pillars li + li { border-left: 1px solid var(--line); padding-left: 28px; }
.pillars b { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--ink); line-height: 1.1; }
.pillars span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 760px) { .pillars ul { grid-template-columns: 1fr; } .pillars li, .pillars li + li { border-left: 0; padding: 20px 0; } .pillars li + li { border-top: 1px solid var(--line); } }

.about .wrap, .about-intro .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); }
@media (max-width: 820px) { .about .wrap, .about-intro .wrap { grid-template-columns: 1fr; } }
.about { background: var(--soft); }
.about-head { display: grid; gap: 16px; align-content: start; }
.about-head h2 { font-size: var(--step-3); }
.about-copy { display: grid; gap: 28px; min-width: 0; }
.about-copy > p { font-size: var(--step-1); color: var(--text); max-width: 56ch; line-height: 1.6; }
.about-intro .about-copy > p { font-family: var(--serif); font-size: var(--step-2); line-height: 1.3; color: var(--ink); max-width: 32ch; }
.steps { display: grid; margin: 0; padding: 0; list-style: none; counter-reset: step; border-top: 1px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 1.6rem; color: var(--muted); line-height: 1; padding-top: 2px; }
.steps b { display: block; color: var(--ink); font-weight: 600; }
.steps span { color: var(--muted); font-size: 0.97rem; }

/* ---------- Galerie ---------- */
.gallery-section { padding-top: 0; }
.gallery-lead { color: var(--muted); max-width: 46ch; }
.g-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 230px); gap: clamp(10px, 1.4vw, 18px); }
.g-item { margin: 0; overflow: hidden; background: var(--soft); min-width: 0; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.g-item:hover img { transform: scale(1.04); }
.g-a { grid-column: span 8; grid-row: span 2; }
.g-b, .g-c, .g-d, .g-e, .g-f { grid-column: span 4; }
.g-d img { object-position: 50% 80%; }
.g-f img { object-position: 50% 85%; }
.g-note { margin-top: 12px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); text-align: right; }
@media (max-width: 760px) { .g-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; } .g-a { grid-column: span 2; grid-row: span 1; } .g-b, .g-c, .g-d, .g-e { grid-column: span 1; } .g-f { grid-column: span 2; } }

/* ---------- Büro und Karte ---------- */
.office .wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 880px) { .office .wrap { grid-template-columns: 1fr; } }
.office-text { display: grid; gap: 18px; min-width: 0; justify-items: start; }
.office-text h2 { font-size: var(--step-3); }
.office-text > p { color: var(--muted); max-width: 48ch; }
.map-box { position: relative; isolation: isolate; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; background: var(--soft); }
.map-box > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); z-index: -2; }
.map-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(10 10 10 / .82), rgb(10 10 10 / .35)); }
.map-box.loaded::before { display: none; }
.map-consent { position: absolute; inset: auto 0 0 0; display: grid; gap: 16px; justify-items: start; padding: clamp(20px, 4vw, 36px); color: #fff; }
.map-title { font-family: var(--serif); font-size: var(--step-2); line-height: 1.15; }
.map-note { font-size: 0.85rem; color: rgb(255 255 255 / .75); max-width: 44ch; }
.map-note a { color: #fff; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 560px) { .map-box { aspect-ratio: 4 / 5; } }

/* ---------- Häufige Fragen ---------- */
.faq .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
@media (max-width: 820px) { .faq .wrap { grid-template-columns: 1fr; } }
.faq-list { border-top: 1px solid var(--ink); min-width: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 22px; color: var(--muted); max-width: 64ch; }

/* ---------- Ankauf ---------- */
.ankauf { background: var(--soft); }
.ankauf .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 880px) { .ankauf .wrap { grid-template-columns: 1fr; } }
.ankauf-head { display: grid; gap: 16px; min-width: 0; }
.ankauf-head h2 { font-size: var(--step-3); }
.ankauf-head > p { color: var(--muted); max-width: 44ch; }
.ankauf-head .steps { margin-top: 16px; }
.ankauf .form { background: var(--bg); padding: clamp(24px, 4vw, 48px); gap: 28px; }
.form-group { border: 0; margin: 0; padding: 0; display: grid; gap: 20px; min-width: 0; }
.form-group legend { padding: 0; margin-bottom: 4px; font-family: var(--serif); font-size: 1.6rem; color: var(--ink); }
.form-row.form-row-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .form-row.form-row-3 { grid-template-columns: 1fr 1fr; } .form-row-3 .field:last-child { grid-column: 1 / -1; } }

/* ---------- Kontakt und Formulare ---------- */
.contact .wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); }
@media (max-width: 820px) { .contact .wrap { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 28px; align-content: start; min-width: 0; }
.contact-info h2 { font-size: var(--step-3); }
.contact-links { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.form { display: grid; gap: 20px; min-width: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid #c6c6c2; border-radius: 0; background: transparent; color: var(--ink); }
.field select { padding-right: 8px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a3a3a0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; font-size: 0.9rem; color: var(--muted); align-items: start; }
.check input { margin-top: 4px; accent-color: var(--ink); width: 17px; height: 17px; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.6em; color: var(--ink); }
.form-status.err { color: var(--danger); }
.form strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--ink); }

/* ---------- Angebote ---------- */
.listings { background: var(--soft); }
.toolbar { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.segmented { display: inline-flex; border: 1px solid var(--ink); }
.segmented button { font: inherit; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; border: 0; background: transparent; color: var(--ink); padding: 10px 18px; cursor: pointer; }
.segmented button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.select { font: inherit; font-size: 0.92rem; padding: 9px 12px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--ink); }
.count { color: var(--muted); font-size: var(--step--1); letter-spacing: 0.08em; }
.notice { padding: 14px 18px; background: var(--bg); border: 1px solid var(--line); font-size: 0.95rem; margin-bottom: 28px; }
.notice.error { border-color: var(--danger); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 40px 28px; }
.card { display: grid; grid-template-rows: auto 1fr; color: inherit; text-decoration: none; background: var(--bg); min-width: 0; }
.ph { position: relative; background: var(--soft); overflow: hidden; max-width: 100%; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.card .ph { aspect-ratio: 4 / 3; }
.card .ph img { transition: transform .6s ease; }
.card:hover .ph img { transform: scale(1.03); }
.badge { position: absolute; top: 14px; left: 14px; padding: 5px 12px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; background: var(--bg); color: var(--ink); }
.badge.kauf { background: var(--ink); color: var(--bg); }
.card-body { display: grid; gap: 6px; padding: 22px 22px 24px; align-content: start; }
.card-body h3 { font-size: 1.6rem; }
.loc { color: var(--muted); font-size: 0.95rem; }
.facts-row, .facts { font-size: 0.95rem; }
.card .facts { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 14px; padding-top: 14px; border: 0; border-top: 1px solid var(--line); color: var(--muted); }
.card .facts b { color: var(--ink); font-weight: 600; }
.card .facts .price { margin-left: auto; color: var(--ink); font-weight: 600; }
.empty-state { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: end; padding: clamp(32px, 5vw, 56px); background: var(--bg); border: 1px solid var(--line); }
.empty-state h3 { font-size: var(--step-2); }
.empty-state p { color: var(--muted); margin-top: 12px; max-width: 56ch; }
@media (max-width: 760px) { .empty-state { grid-template-columns: 1fr; align-items: start; } }
.skeleton .ph { animation: pulse 1.4s ease-in-out infinite; }
.skeleton .line { height: 12px; background: var(--line); }
@keyframes pulse { 50% { opacity: .55; } }

/* ---------- Exposé (Dialog) ---------- */
.expose { width: min(1120px, 100%); max-width: 100%; max-height: 100%; height: 100%; margin: 0 auto; padding: 0; border: 0; background: var(--bg); color: var(--text); }
@media (min-width: 900px) { .expose { height: calc(100% - 48px); margin-top: 24px; } }
.expose::backdrop { background: rgb(17 17 17 / .55); backdrop-filter: blur(3px); }
.expose-inner { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.expose-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); padding-top: max(12px, env(safe-area-inset-top, 0px)); background: rgb(255 255 255 / .95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; flex: none; }
.icon-btn:hover { border-color: var(--ink); }
.gallery { position: relative; background: #1a1a1a; }
.gallery-main { aspect-ratio: 16 / 10; max-height: 62vh; width: 100%; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main.cover img { object-fit: cover; }
.gallery .nav-btn { position: absolute; top: 50%; translate: 0 -50%; background: rgb(255 255 255 / .92); border: 0; }
.gallery .prev { left: max(12px, env(safe-area-inset-left, 0px)); }
.gallery .next { right: max(12px, env(safe-area-inset-right, 0px)); }
.gallery-count { position: absolute; right: 12px; bottom: 12px; background: rgb(0 0 0 / .6); color: #fff; font-size: 0.82rem; padding: 3px 10px; }
.thumbs { display: flex; gap: 8px; padding: 10px 16px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.thumbs button { flex: none; width: 88px; aspect-ratio: 4 / 3; padding: 0; border: 1px solid transparent; overflow: hidden; cursor: pointer; background: var(--soft); opacity: .6; }
.thumbs button[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.expose-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding: 32px max(16px, env(safe-area-inset-right, 0px)) 56px max(16px, env(safe-area-inset-left, 0px)); }
@media (min-width: 640px) { .expose-body { padding-inline: 36px; } }
@media (max-width: 900px) { .expose-body { grid-template-columns: 1fr; } }
.expose-main { display: grid; gap: 36px; min-width: 0; align-content: start; }
.expose-title { display: grid; gap: 8px; }
.expose-title h2 { font-size: var(--step-3); }
.keyfigures { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid var(--ink); }
.keyfigures div { padding: 16px 16px 16px 0; display: grid; gap: 2px; border-bottom: 1px solid var(--line); }
.keyfigures strong { font-family: var(--serif); font-size: var(--step-2); font-weight: 500; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.keyfigures span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.block { display: grid; gap: 14px; }
.block h3 { font-size: 1.6rem; }
.block p { white-space: pre-line; max-width: 70ch; }
.datatable { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); column-gap: 36px; margin: 0; }
.datatable div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.datatable dt { color: var(--muted); }
.datatable dd { margin: 0; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 14px; border: 1px solid var(--line); color: var(--ink); font-size: 0.92rem; }
.energy { display: grid; gap: 10px; }
.energy-scale { display: grid; grid-template-columns: repeat(9, 1fr); gap: 2px; }
.energy-scale span { position: relative; height: 28px; display: grid; place-items: center; font-size: 0.8rem; font-weight: 600; color: #10201a; }
.energy-scale span:nth-child(1) { background: #00a54f; }
.energy-scale span:nth-child(2) { background: #4cb848; }
.energy-scale span:nth-child(3) { background: #bed630; }
.energy-scale span:nth-child(4) { background: #fff200; }
.energy-scale span:nth-child(5) { background: #fdb913; }
.energy-scale span:nth-child(6) { background: #f37021; }
.energy-scale span:nth-child(7) { background: #ed1c24; color: #fff; }
.energy-scale span:nth-child(8) { background: #c4161c; color: #fff; }
.energy-scale span:nth-child(9) { background: #8f1418; color: #fff; }
.energy-scale span.on { outline: 2px solid var(--ink); outline-offset: 1px; z-index: 1; transform: scaleY(1.25); }
.energy small { color: var(--muted); }
.aside { display: grid; gap: 20px; align-content: start; min-width: 0; }
.price-box { position: sticky; top: 84px; display: grid; gap: 14px; padding: 26px; background: var(--soft); }
.price-box .big { font-family: var(--serif); font-size: var(--step-3); font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.price-box dl { margin: 0; display: grid; gap: 6px; font-size: 0.95rem; }
.price-box dl div { display: flex; justify-content: space-between; gap: 12px; }
.price-box dt { color: var(--muted); }
.price-box dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.price-box .form { gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.price-box .field textarea { min-height: 80px; }
.small-link { font-size: 0.9rem; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 75ch; display: grid; gap: 14px; }
.legal h1 { font-size: var(--step-3); margin-bottom: 12px; }
.legal h2 { font-size: 1.7rem; margin-top: 22px; }
.legal .todo { background: var(--soft); border-left: 2px solid var(--ink); padding: 12px 16px; }

/* ---------- Cookie-Hinweis ---------- */
.consent { position: fixed; z-index: 30; left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); width: min(420px, calc(100% - 32px)); display: grid; gap: 14px; padding: 26px; background: var(--bg); color: var(--text); border: 1px solid var(--line); box-shadow: 0 24px 60px -24px rgb(0 0 0 / .45); animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; }
.consent-title { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); line-height: 1.1; }
.consent-text { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-actions .btn { padding: 12px 10px; font-size: 0.7rem; }
@media (max-width: 760px) { .consent { left: 0; right: 0; bottom: 0; width: auto; padding: 20px max(16px, env(safe-area-inset-right, 0px)) max(20px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); border-width: 1px 0 0; } .consent-visible .action-bar { display: none; } }
.consent-open { font: inherit; background: none; border: 0; padding: 0; color: #d9d9d6; cursor: pointer; }
.consent-open:hover { color: #fff; text-decoration: underline; }

/* ---------- Schnellkontakt am Handy ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--dark); border-top: 1px solid var(--dark-line); transform: translateY(100%); transition: transform .3s ease; }
  .show-bar .action-bar { transform: none; }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; color: var(--on-dark); text-decoration: none; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; }
  .action-bar a + a { border-left: 1px solid var(--dark-line); }
  .site-footer .footer-bottom { padding-bottom: calc(24px + 56px + env(safe-area-inset-bottom, 0px)); }
  .site-footer .footer-bottom nav { padding-bottom: 8px; }
}

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--dark); color: var(--dark-muted); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: clamp(56px, 7vw, 96px) 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand img { height: 28px; width: auto; }
.footer-brand p { font-family: var(--serif); font-size: 1.5rem; line-height: 1.25; color: var(--on-dark); max-width: 20ch; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col p { line-height: 1.7; }
.footer-title { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 6px; }
.site-footer a { color: #d9d9d6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-block: 24px; border-top: 1px solid var(--dark-line); font-size: 0.86rem; }
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
