/* Haus in Warburg – Burggraben 69
   Nur Systemschriften, keine externen Ressourcen. */

:root {
  /* Farben aus Logo und Website von Nina Lehmann Immobilien */
  --bg: #f9f9fb;            /* helles Grau der Maklerwebsite */
  --paper: #ffffff;
  --tint: #f3f1ee;          /* warmes Hellgrau für Wechselflächen */
  --ink: #212934;           /* Anthrazit (Website-Text) */
  --ink-soft: #4a4e57;
  --grey: #58595b;          /* Logo-Grau */
  --line: #e2e0dc;
  --accent: #a35000;        /* Logo-Kupfer */
  --accent-hover: #8a4400;
  --accent-soft: #f7ece2;
  --accent-light: #e8a46a;  /* Kupfer hell, nur auf dunklem Grund */
  --dark: #212934;
  --dark-2: #2c3542;
  --on-dark: #f4f4f6;
  --on-dark-soft: #c9ccd3;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -24px rgba(33, 41, 52, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
strong { font-weight: 650; }
small, .small { font-size: .88rem; }
.muted { color: var(--ink-soft); }
.muted-light { color: var(--on-dark-soft); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 200; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.section--dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--accent-light); }

.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--accent-light); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-soft); }
.section--dark .lead { color: var(--on-dark-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid var(--accent);
  background: var(--accent); color: #fff; font: 600 1rem/1.2 var(--sans);
  text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(160, 78, 0, .6); }
.btn--small { padding: 10px 18px; font-size: .92rem; }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

.badge {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .02em;
}
.badge--dark { background: var(--dark); color: var(--on-dark); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, height .35s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0));
  transition: opacity .35s;
}
.site-header.is-solid { background: rgba(255, 253, 249, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid::before { opacity: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; background: rgba(255,255,255,.94); padding: 6px 10px; border-radius: 10px; transition: background .35s, padding .35s; }
.site-header.is-solid .brand { background: transparent; padding: 6px 0; }
.brand img { width: 112px; height: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: #fff; text-decoration: none; font-weight: 550; font-size: .95rem; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.site-header.is-solid .nav a:not(.btn) { color: var(--ink); }

.nav-toggle { display: none; }

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand img { width: 96px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); cursor: pointer; padding: 0 13px;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-header.is-solid .nav-toggle { background: var(--tint); }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 8px var(--gutter) 24px; box-shadow: 0 24px 40px -20px rgba(0,0,0,.25);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--dark); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: kenburns 22s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(20,25,33,.62) 0%, rgba(20,25,33,.28) 55%, rgba(20,25,33,0) 85%),
  linear-gradient(180deg, rgba(20,25,33,.1) 0%, rgba(20,25,33,.3) 45%, rgba(20,25,33,.85) 100%); }
.hero .eyebrow { text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.hero-content { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(70px, 11vh, 120px); }
.hero h1 { font-size: clamp(2.5rem, 7vw, 5.4rem); margin-bottom: 18px; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 36em; color: rgba(255,255,255,.9); }
.hero-price { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 26px 0 30px; }
.hero-price .label { display: block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.hero-price strong { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; line-height: 1; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-anim { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; }
.hero-anim:nth-child(2) { animation-delay: .12s; }
.hero-anim:nth-child(3) { animation-delay: .24s; }
.hero-anim:nth-child(4) { animation-delay: .36s; }
.hero-anim:nth-child(5) { animation-delay: .48s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 600px) { .scroll-hint { display: none; } }

/* Stats */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); padding: 34px 0 18px; }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.stat { text-align: center; padding: 8px 4px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; color: var(--ink); line-height: 1.15; }
.stat > span { display: block; color: var(--ink-soft); font-size: .92rem; line-height: 1.35; margin-top: 4px; }
.stat small { font-size: .76rem; }
.stats-note { font-size: .78rem; color: var(--ink-soft); margin: 14px auto 0; text-align: center; }
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat + .stat { border-left: 0; }
  .stat { background: var(--bg); border-radius: var(--radius-sm); padding: 14px 6px; }
}
@media (max-width: 520px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Sections */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head h2 { margin-bottom: 0; }
.section-head > p { max-width: 26em; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split--top { align-items: start; }
.split-media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media--tall img { aspect-ratio: 3 / 4; }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split-media img { aspect-ratio: 4 / 3; }
  #lage .split-media { order: 2; }
}

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature { background: var(--paper); border-radius: var(--radius); padding: 30px 28px; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature svg { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: var(--accent-soft); stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.feature h3 { margin-bottom: .4em; }
.feature p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Gallery (Masonry über CSS-Spalten, natürliche Bildformate) */
.gallery { columns: 3; column-gap: 14px; }
.g-item { position: relative; display: block; width: 100%; border: 0; padding: 0; margin: 0 0 14px; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--tint); break-inside: avoid; }
.g-item img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.25), transparent 40%); opacity: 0; transition: opacity .4s; }
.g-item:hover img { transform: scale(1.05); }
.g-item:hover::after { opacity: 1; }
@media (max-width: 900px) { .gallery { columns: 2; column-gap: 10px; } .g-item { margin-bottom: 10px; } }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(12, 14, 12, .96); color: #fff; }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; flex-direction: column; animation: fade .3s var(--ease); }
.lightbox img { max-width: min(92vw, 1600px); max-height: 82vh; object-fit: contain; border-radius: 6px; }
.lb-caption { margin: 14px 16px 0; color: #ddd; text-align: center; font-size: .95rem; }
.lb-btn { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 22px; transform: none; } }
@keyframes fade { from { opacity: 0; } }

/* Before / after */
.ba-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.ba-tabs button {
  border: 1px solid rgba(255,255,255,.22); background: transparent; color: var(--on-dark);
  padding: 10px 18px; border-radius: 999px; font: 550 .92rem var(--sans); cursor: pointer; transition: all .25s;
}
.ba-tabs button:hover { border-color: var(--accent-light); }
.ba-tabs button[aria-selected="true"] { background: var(--accent-light); color: var(--dark); border-color: var(--accent-light); }
@media (max-width: 600px) {
  .ba-tabs { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .ba-tabs::-webkit-scrollbar { display: none; }
  .ba-tabs button { flex: 0 0 auto; }
}

.ba { --pos: 50%; position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: #111; user-select: none; -webkit-user-select: none; touch-action: pan-y; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.ba.is-loading img { opacity: .35; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.ba-handle span::before, .ba-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 7px solid transparent; margin-top: -7px; }
.ba-handle span::before { left: 7px; border-right-color: var(--dark); }
.ba-handle span::after { right: 7px; border-left-color: var(--dark); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible + .ba-handle span, .ba:focus-within .ba-handle span { outline: 3px solid var(--accent-light); }
.ba-tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 650; background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; }
.ba-tag--left { left: 14px; }
.ba-tag--right { right: 14px; background: rgba(232, 164, 106, .95); color: var(--dark); }
.ba-caption { margin: 14px 0 6px; font-family: var(--serif); font-size: 1.2rem; color: #fff; }
.disclaimer-light { font-size: .85rem; color: var(--on-dark-soft); max-width: 60em; }
@media (max-width: 600px) { .ba { aspect-ratio: 4 / 3.4; } .ba-tag { font-size: .7rem; top: 10px; } .ba-tag--left { left: 10px; } .ba-tag--right { right: 10px; } }

/* Usage */
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 38px; font-weight: 550; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); }
.checklist li::after { content: ""; position: absolute; left: 8px; top: 8px; width: 8px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.note-card { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--accent-light); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.note-card p { color: var(--ink-soft); }
.note-card p:last-child { margin-bottom: 0; }

/* Floors */
.floors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.floor { position: relative; background: var(--paper); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); overflow: hidden; }
.floor-tag { display: inline-block; font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 16px; }
.floor p { color: var(--ink-soft); font-size: .96rem; margin: 0; }
@media (max-width: 960px) { .floors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .floors { grid-template-columns: 1fr; } }
.cta-strip { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; background: var(--dark); color: var(--on-dark); border-radius: var(--radius); padding: 26px 32px; }
.cta-strip p { margin: 0; max-width: 40em; }

/* Location */
.distances { list-style: none; padding: 0; margin: 26px 0; border-top: 1px solid var(--line); }
.distances li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.distances span { color: var(--ink-soft); }
.distances strong { text-align: right; white-space: nowrap; }
@media (max-width: 480px) { .distances li { flex-direction: column; gap: 0; } .distances strong { text-align: left; } }
.link-arrow { font-weight: 650; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin .25s; }
.link-arrow:hover::after { margin-left: 4px; }

/* Facts */
.facts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; margin-top: 36px; align-items: start; }
.facts-list { margin: 0; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); padding: 8px 28px; }
.facts-list div, .energy dl div { display: grid; grid-template-columns: 42% 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts-list div:last-child, .energy dl div:last-child { border-bottom: 0; }
.facts-list dt, .energy dt { color: var(--ink-soft); }
.facts-list dd, .energy dd { margin: 0; font-weight: 600; }
.facts-side { display: grid; gap: 20px; }
.energy { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); padding: 26px 28px 12px; }
.energy dl { margin: 0; font-size: .95rem; }
.energy dl div { grid-template-columns: 52% 1fr; padding: 10px 0; }
.energy-scale { display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; margin: 6px 0 16px; }
.energy-scale span { text-align: center; font-size: .72rem; font-weight: 700; color: #fff; padding: 6px 0; border-radius: 4px; opacity: .45; }
.energy-scale span.on { opacity: 1; transform: scaleY(1.25); box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.price-card { background: var(--dark); color: var(--on-dark); border-radius: var(--radius); padding: 28px; display: grid; gap: 8px; justify-items: start; }
.price-card .label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); }
.price-card strong { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; line-height: 1; color: #fff; margin-bottom: 8px; }
.price-card .badge--dark { background: var(--accent-light); color: var(--dark); }
@media (max-width: 960px) { .facts { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .facts-list { padding: 4px 18px; } .facts-list div { grid-template-columns: 1fr; gap: 2px; } .energy { padding: 22px 18px 8px; } }

.condition { margin-top: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.condition summary { cursor: pointer; list-style: none; padding: 22px 28px; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.condition summary::-webkit-details-marker { display: none; }
.condition summary::after { content: "+"; font-family: var(--sans); font-size: 1.6rem; color: var(--accent); transition: transform .3s var(--ease); }
.condition[open] summary::after { transform: rotate(45deg); }
.condition > div { padding: 0 28px 16px; color: var(--ink-soft); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.agent { display: flex; align-items: center; gap: 16px; margin: 30px 0 20px; }
.agent-logo { background: #fff; border-radius: 14px; padding: 10px 12px; flex: 0 0 auto; }
.agent-logo img { width: 104px; }
.agent strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: #fff; }
.agent span { color: var(--on-dark-soft); font-size: .92rem; }
.contact-lines { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.contact-lines a { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 600; font-size: 1.05rem; word-break: break-word; }
.contact-lines a:hover { color: var(--accent-light); }
.contact-lines svg { width: 40px; height: 40px; flex: 0 0 40px; padding: 9px; border-radius: 50%; background: var(--dark-2); stroke: var(--accent-light); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.form { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.form h3, .section--dark .form h3 { font-size: 1.6rem; margin-bottom: 18px; color: var(--ink); }
.topics { border: 0; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { font-size: .9rem; font-weight: 600; margin-bottom: 8px; padding: 0; }
.topics label { position: relative; }
.topics input { position: absolute; opacity: 0; inset: 0; }
.topics span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: .92rem; font-weight: 550; cursor: pointer; transition: all .2s; }
.topics input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.topics input:focus-visible + span { outline: 3px solid var(--accent-light); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; gap: 0; } }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1px solid #d5cab9; background: #fff;
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(160, 78, 0, .15); }
.field.has-error input, .field.has-error textarea { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: .82rem; margin-top: 4px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; line-height: 1.5; margin: 6px 0 20px; color: var(--ink-soft); cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; accent-color: var(--accent); }
.consent.has-error span { color: #b3261e; }
.form .muted-light { color: var(--ink-soft); margin: 14px 0 0; font-size: .8rem; }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1px; }
.form-status.is-ok { color: var(--accent-hover); background: var(--accent-soft); padding: 14px 16px; border-radius: var(--radius-sm); }
.form-status.is-error { color: #8c1d18; background: #fbe9e7; padding: 14px 16px; border-radius: var(--radius-sm); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #1a2029; color: var(--on-dark-soft); padding: 54px 0 26px; padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-inner > div { max-width: 34em; }
.footer-logo { width: 120px; background: #fff; padding: 8px 10px; border-radius: 10px; margin-bottom: 18px; box-sizing: content-box; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: #fff; text-decoration: none; }
.footer-nav a:hover { color: var(--accent-light); }
.copyright { margin-top: 30px; font-size: .82rem; opacity: .7; }

/* Mobile sticky CTA */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    display: block; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40;
    text-align: center; padding: 15px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 650; text-decoration: none;
    box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transform: translateY(140%); transition: transform .4s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta:hover { color: #fff; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal--img { transform: translateY(28px) scale(.97); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Legal pages */
.legal { padding: calc(var(--header-h) + 60px) 0 90px; background: var(--paper); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.6em; }
.legal p, .legal li { color: #3d3730; }
.legal-header { background: var(--paper); }
.legal-header .nav a:not(.btn) { color: var(--ink); }
.legal-header::before { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Rechtliche Seiten: kein Burger-Menü, nur ein Button */
.nav--legal, .nav--legal.nav { position: static; flex-direction: row; background: none; padding: 0; box-shadow: none; transform: none; opacity: 1; visibility: visible; }
.nav--legal .btn { margin-top: 0; }
.legal-header .brand { background: transparent; padding: 6px 0; }
.thanks { min-height: 70vh; display: flex; align-items: center; }

@media (max-width: 600px) {
  .hero .eyebrow { font-size: .7rem; letter-spacing: .1em; }
  .hero .eyebrow::before { display: none; }
}

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.12rem; margin: 0; line-height: 1.35; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--accent); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 24px 20px; margin: 0; color: var(--ink-soft); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

.stat strong { white-space: nowrap; font-size: clamp(1.45rem, 2.3vw, 2.1rem); }
@media (max-width: 700px) { .hero-lead br { display: none; } }

/* Energieskala: alle Stufen gut lesbar, aktive Klasse farbig hervorgehoben */
.energy-scale span { opacity: 1; color: var(--ink-soft); background: var(--tint); }
.energy-scale span.on { background: var(--accent); color: #fff; }


/* Störungsmeldung des Formulars */
.form-status.is-outage { background: #fff4e5; border: 2px solid var(--accent); color: var(--ink); padding: 16px 18px; border-radius: var(--radius-sm); font-weight: 400; }
.form-status.is-outage strong { display: block; color: var(--accent-hover); font-size: 1.05rem; margin-bottom: 6px; }
.form-status.is-outage p { margin: 0 0 8px; }
.form-status.is-outage ul { margin: 0; padding-left: 18px; }
.form-status.is-outage li { margin: 4px 0; }
.form-status.is-outage a { color: var(--accent-hover); font-weight: 650; }
.contact-lines--light a { color: var(--accent); font-size: 1.15rem; }
.contact-lines--light a:hover { color: var(--accent-hover); }

/* Vorderansicht ungeschnitten zeigen */
.split-media--natural img, .split-media--natural img { aspect-ratio: auto; height: auto; }
@media (max-width: 960px) { .split-media--natural img { aspect-ratio: auto; } }

/* Aktive Reiter, Kennzeichnungen und Abzeichen im Logo-Kupfer statt Hellorange */
.ba-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.ba-tabs button:hover { border-color: var(--accent-light); }
.ba-tag--right { background: var(--accent); color: #fff; }
.price-card .badge--dark { background: var(--accent); color: #fff; }

/* ================================================================
   Angleichung an nina-lehmann-immobilien.de: helle Flächen
   (Weiß, #f7f7f9, #f4f6f8), Anthrazit für Text, Kupfer als Akzent.
   Keine dunklen Abschnitte mehr.
   ================================================================ */
:root { --bg: #ffffff; --tint: #f4f6f8; --bg-alt: #f7f7f9; --line: #e3e6ea; }
.section--dark { background: var(--tint); color: var(--ink); }
.section--dark h2, .section--dark h3 { color: var(--ink); }
.section--dark .lead { color: var(--ink-soft); }
.section .eyebrow--light { color: var(--accent); }
.muted-light, .disclaimer-light { color: var(--ink-soft); }
.section--dark :focus-visible { outline-color: var(--accent); }

.ba-tabs button { border-color: var(--line); background: #fff; color: var(--ink); }
.ba-tabs button:hover { border-color: var(--accent); color: var(--accent); }
.ba-tabs button[aria-selected="true"], .ba-tabs button[aria-selected="true"]:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.ba { box-shadow: var(--shadow); }
.ba-caption { color: var(--ink); }

.agent strong { color: var(--ink); }
.agent span { color: var(--ink-soft); }
.agent-logo { border: 1px solid var(--line); }
.contact-lines a { color: var(--ink); }
.contact-lines a:hover { color: var(--accent); }
.contact-lines svg { background: var(--accent-soft); stroke: var(--accent); }
.form { box-shadow: var(--shadow); border: 1px solid var(--line); }

.cta-strip { background: #fff; color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.price-card { background: #fff; color: var(--ink); border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.price-card strong { color: var(--ink); }
.price-card .label { color: var(--ink-soft); }

.site-footer { background: var(--tint); color: var(--ink-soft); border-top: 1px solid var(--line); }
.site-footer :focus-visible { outline-color: var(--accent); }
.footer-nav a { color: var(--ink); }
.footer-nav a:hover { color: var(--accent); }
.footer-logo { border: 1px solid var(--line); }
.copyright { opacity: 1; }
