/* Xhaferi Immobilien GmbH
   Farben: Schwarz, Weiß, Steinton, Grau. Schriften: Cormorant Garamond und Jost, beide auf dem eigenen Server. */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --schwarz: #141414;
  --weiss: #FFFFFF;
  --stein: #EFECE6;
  --grau: #67635C;
  --linie: #D9D4CA;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", sans-serif;
  --breite: 1220px;
  --rand: clamp(1.25rem, 4vw, 2.75rem);
  --kopf: 100px;
  --abstand: clamp(4.5rem, 10vw, 8.5rem);
  --weich: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--schwarz);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.005em; margin: 0 0 .5em; font-variant-numeric: lining-nums; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.6rem; font-weight: 600; line-height: 1.2; }
h1 em, h2 em { font-style: italic; }
h2[id], section[id], article[id] { scroll-margin-top: calc(var(--kopf) + 24px); }

.container { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.schmal { max-width: 46rem; }
.section { padding: var(--abstand) 0; }
.section--stein { background: var(--stein); }
.section--dunkel { background: var(--schwarz); color: var(--weiss); }
.section--anschluss { padding-top: 0; }
.leise { color: var(--grau); }
.section--dunkel .leise { color: rgba(255, 255, 255, .68); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.65; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--weiss); color: var(--schwarz); padding: .7rem 1rem; }
.skip:focus { top: 1rem; }

/* Kleine Überzeile mit feiner Linie davor, wie das gesperrte IMMOBILIEN im Logo */
.kicker {
  display: flex; align-items: center; gap: .9rem;
  font-size: .76rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--grau); margin: 0 0 1.4rem;
}
.kicker::before { content: ""; width: 2.4rem; height: 1px; background: currentColor; flex: none; }
.section--dunkel .kicker, .buehne .kicker { color: rgba(255, 255, 255, .72); }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  min-height: 3.25rem; padding: .95rem 2.1rem;
  font-size: .8rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  background: var(--schwarz); color: var(--weiss); border: 1px solid var(--schwarz);
  cursor: pointer; transition: background .3s var(--weich), color .3s var(--weich), border-color .3s var(--weich);
}
.knopf:hover { background: transparent; color: var(--schwarz); }
.knopf--hell { background: var(--weiss); color: var(--schwarz); border-color: var(--weiss); }
.knopf--hell:hover { background: transparent; color: var(--weiss); }
.knopf--klein { min-height: 2.6rem; padding: .6rem 1.3rem; font-size: .72rem; }
.knopf[disabled] { opacity: .55; cursor: wait; }

.textlink {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; padding-bottom: .35rem;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .35s var(--weich);
}
.textlink:hover { background-size: 40% 1px; }
.textlink span { transition: transform .35s var(--weich); }
.textlink:hover span { transform: translateX(4px); }
.mehr { margin-top: 2.2rem; }

.telefon { font-size: .95rem; }
.telefon a { text-decoration: none; border-bottom: 1px solid currentColor; }
.telefon--kopf { margin: 1.4rem 0 0; }

/* Kopfleiste */
.kopf {
  position: sticky; top: 0; z-index: 50;
  height: var(--kopf); background: var(--schwarz); color: var(--weiss);
  transition: box-shadow .3s, height .35s var(--weich);
}
.kopf.gescrollt { box-shadow: 0 1px 0 rgba(255, 255, 255, .1); }
@media (min-width: 901px) {
  .kopf.gescrollt { height: 78px; }
  .kopf.gescrollt .logo img { height: 62px; }
}
.kopf__innen { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { display: block; flex: none; }
.logo img { height: 82px; width: auto; transition: height .35s var(--weich); }
.nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.6vw, 2.6rem); }
.nav a:not(.knopf) {
  font-size: .78rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  color: rgba(255, 255, 255, .74); padding: .4rem 0; position: relative; transition: color .25s;
}
.nav a:not(.knopf)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--weich);
}
.nav a:not(.knopf):hover, .nav a[aria-current="page"] { color: var(--weiss); }
.nav a:not(.knopf):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .knopf { margin-left: .4rem; }
.menu-knopf { display: none; }

/* Bühne der Startseite */
.buehne {
  position: relative; overflow: hidden; color: var(--weiss); background: var(--schwarz);
  min-height: min(calc(100svh - var(--kopf)), 860px);
  display: flex; align-items: flex-end;
}
.buehne__bild { position: absolute; inset: 0; }
.buehne__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%; animation: ruhig 2.6s var(--weich) both; }
.buehne__bild::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 20, 20, .88) 0%, rgba(20, 20, 20, .62) 38%, rgba(20, 20, 20, .12) 72%, rgba(20, 20, 20, 0) 100%),
    linear-gradient(0deg, rgba(20, 20, 20, .55) 0%, rgba(20, 20, 20, 0) 40%);
}
.buehne__inhalt { position: relative; padding-top: 5rem; padding-bottom: clamp(3.5rem, 9vh, 6.5rem); }
.buehne__text { max-width: 38rem; animation: auftauchen 1.1s .25s var(--weich) both; }
.buehne h1 { margin-bottom: .45em; }
.buehne .lead { color: rgba(255, 255, 255, .86); max-width: 33rem; }
.buehne__aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; margin-top: 2.2rem; }
.buehne .telefon { color: rgba(255, 255, 255, .82); }
.buehne__hinweis {
  position: absolute; right: var(--rand); bottom: 1.6rem; margin: 0;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
}
@keyframes ruhig { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes auftauchen { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Bühne der Startseite mit großem Logo */
.buehne--marke {
  align-items: center; justify-content: center; text-align: center;
  min-height: max(calc(100svh - var(--kopf)), 660px);
  padding: clamp(2.2rem, 5vh, 4rem) 0 clamp(4.5rem, 9vh, 6rem);
  background: radial-gradient(ellipse 75% 65% at 50% 32%, #2a2a2a 0%, #1a1a1a 45%, #0f0f0f 100%);
}
.buehne--marke::after {
  content: ""; position: absolute; left: var(--rand); right: var(--rand); bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .18), rgba(255, 255, 255, 0));
}
.buehne__mitte { position: relative; display: flex; flex-direction: column; align-items: center; }
.buehne__logo { position: relative; width: clamp(220px, 21vw, 310px); margin-bottom: clamp(1.4rem, 3.4vh, 2.2rem); }
.buehne__logo img { position: relative; z-index: 1; width: 100%; height: auto; animation: logo-ein 1.9s var(--weich) both; }
.buehne__logo::before, .buehne__logo::after {
  content: ""; position: absolute; left: 50%; top: 34%; aspect-ratio: 3 / 4; border-radius: 50%;
  transform: translate(-50%, -50%); pointer-events: none; animation: oval-ein 2.6s .5s var(--weich) both;
}
.buehne__logo::before { width: 158%; border: 1px solid rgba(255, 255, 255, .08); }
.buehne__logo::after { width: 146%; border: 1px solid rgba(255, 255, 255, .05); }
.buehne__trenner { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.5rem; animation: auftauchen 1s .8s var(--weich) both; }
.buehne__trenner::before, .buehne__trenner::after { content: ""; width: clamp(44px, 6vw, 84px); height: 1px; background: rgba(255, 255, 255, .38); }
.buehne__trenner span { width: 7px; height: 7px; border: 1px solid rgba(255, 255, 255, .75); transform: rotate(45deg); }
.buehne--marke h1 em { display: block; }
.buehne--marke h1 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); max-width: 16em; margin: 0 auto .5em; animation: auftauchen 1s .95s var(--weich) both; }
.buehne--marke .lead { max-width: 40rem; margin: 0 auto; color: rgba(255, 255, 255, .76); animation: auftauchen 1s 1.1s var(--weich) both; }
.buehne--marke .buehne__aktion { justify-content: center; animation: auftauchen 1s 1.25s var(--weich) both; }
.buehne__gebiete { margin: 2rem 0 0; font-size: .68rem; letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .48); animation: auftauchen 1s 1.4s var(--weich) both; }
.buehne__weiter { position: absolute; left: 50%; bottom: 1.2rem; width: 32px; height: 48px; transform: translateX(-50%); display: flex; justify-content: center; overflow: hidden; }
.buehne__weiter span { display: block; width: 1px; height: 100%; background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .75)); animation: weiter 2.6s 2.2s ease-in-out infinite both; }
@keyframes logo-ein { from { opacity: 0; transform: scale(.96); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes oval-ein { from { opacity: 0; transform: translate(-50%, -50%) scale(.92); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes weiter { 0% { transform: translateY(-100%); } 55%, 100% { transform: translateY(100%); } }

/* Auf der Startseite erscheint das kleine Logo oben erst beim Scrollen, solange das große sichtbar ist */
.startseite .kopf .logo { transition: opacity .45s var(--weich), visibility .45s; }
.startseite .kopf:not(.gescrollt) .logo { opacity: 0; visibility: hidden; }

/* Drei Zusagen */
.zusagen__kopf { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem 5rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.zusagen__kopf h2 { margin: 0; }
.zusagen__kopf p { margin: 0; color: var(--grau); }
.zusagen__liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.zusage { position: relative; padding-top: 2rem; }
.zusage::before, .zusage::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--linie); }
.zusage::after { background: var(--schwarz); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--weich); }
.zusage:hover::after { transform: scaleX(1); }
.zusage__nr { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--grau); display: block; margin-bottom: .8rem; }
.zusage h3 { margin-bottom: .55rem; }
.zusage p { color: var(--grau); margin: 0; }

/* Text mit Bild im Bogen (Anlehnung an das Oval im Logo) */
.paar { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 7vw, 6.5rem); align-items: center; }
.paar--umgekehrt { grid-template-columns: 6fr 5fr; }
.paar--umgekehrt .paar__bild { order: 2; }
.bogen { position: relative; padding: 14px; }
.bogen::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--linie); border-radius: 999px 999px 0 0;
}
.section--stein .bogen::before { border-color: #CFC9BD; }
.bogen img, .bogen .logotafel { border-radius: 999px 999px 0 0; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.bogen figcaption { margin-top: 1rem; font-size: .78rem; letter-spacing: .06em; color: var(--grau); }
figcaption .ki { white-space: nowrap; }
.logotafel { background: var(--schwarz); display: grid; place-items: center; }
.logotafel img { width: 62%; height: auto; aspect-ratio: auto; border-radius: 0; object-fit: contain; }

.arten { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; margin: 1.8rem 0 0; }
.arten li { display: flex; align-items: center; gap: .9rem; padding: .8rem 0; border-bottom: 1px solid var(--linie); }
.section--stein .arten li { border-color: #D3CDC1; }
.arten li::before { content: ""; width: 6px; height: 6px; border: 1px solid var(--schwarz); transform: rotate(45deg); flex: none; }

/* Objekte */
.kopfzeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.kopfzeile h2 { margin: 0; }
.objekte { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3rem); }
.objekt { display: block; text-decoration: none; }
.objekt__bild { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--stein); }
.objekt__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--weich); }
.objekt:hover .objekt__bild img { transform: scale(1.035); }
.marke {
  position: absolute; left: 1rem; top: 1rem;
  font-size: .68rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  padding: .45rem .8rem; background: var(--weiss); color: var(--schwarz);
}
.marke--dunkel { background: var(--schwarz); color: var(--weiss); }
.objekt__text { padding-top: 1.4rem; }
.objekt__ort { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--grau); margin: 0 0 .4rem; }
.objekt h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 500; margin-bottom: .5rem; }
.objekt__daten { color: var(--grau); margin: 0; }

/* Gebiete */
.gebiete { position: relative; overflow: hidden; }
.gebiete::after {
  content: ""; position: absolute; right: -8vw; top: 50%; width: min(46vw, 560px); aspect-ratio: 3 / 4;
  border: 1px solid rgba(255, 255, 255, .09); border-radius: 50%; transform: translateY(-50%); pointer-events: none;
}
.gebiete__raster { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem 6rem; align-items: start; }
.gebiete__liste li { display: grid; gap: .35rem; padding: 1.4rem 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.gebiete__liste li:first-child { border-top: 1px solid rgba(255, 255, 255, .16); }
.gebiete__liste strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; white-space: nowrap; }
.gebiete__liste span { font-size: .85rem; color: rgba(255, 255, 255, .66); }

/* Abschluss mit der Handlungsaufforderung */
.abschluss { text-align: center; }
.abschluss .kicker { justify-content: center; }
.abschluss .kicker::after { content: ""; width: 2.4rem; height: 1px; background: currentColor; }
.abschluss h2 { max-width: 15em; margin-left: auto; margin-right: auto; }
.abschluss p { max-width: 34rem; margin-left: auto; margin-right: auto; color: var(--grau); }
.buehne__aktion p, .abschluss__aktion p { margin: 0; }
.abschluss__aktion { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.2rem 2rem; margin-top: 2.2rem; }

/* Kopf der Unterseiten */
.seitenkopf { background: var(--stein); padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.seitenkopf__raster { display: grid; grid-template-columns: 7fr 4fr; gap: 3rem clamp(3rem, 7vw, 6rem); align-items: end; }
.seitenkopf h1 { margin-bottom: .4em; }
.seitenkopf .lead { color: var(--grau); max-width: 36rem; margin: 0; }
.seitenkopf .bogen img { aspect-ratio: 4 / 5; }
.seitenkopf__raster--schlicht { grid-template-columns: 1fr; }
.seitenkopf__raster--schlicht .lead { max-width: 44rem; }

/* Abschnitte der Unterseiten */
.block { display: grid; grid-template-columns: 4fr 7fr; gap: 1.5rem clamp(2.5rem, 7vw, 6rem); padding: clamp(2.8rem, 5vw, 4rem) 0; border-top: 1px solid var(--linie); }
.block:first-child { border-top: 0; padding-top: 0; }
.block:last-child { padding-bottom: 0; }
.block__titel .kicker { margin-bottom: .9rem; }
.block__titel h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 0; }
.block__inhalt > :last-child { margin-bottom: 0; }

.punkte { display: grid; gap: 0; margin: 1.2rem 0 0; counter-reset: punkt; }
.punkte li { position: relative; padding: .95rem 0 .95rem 2.6rem; border-bottom: 1px solid var(--linie); }
.punkte li::before {
  counter-increment: punkt; content: counter(punkt, upper-roman);
  position: absolute; left: 0; top: .95rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--grau);
}

.zweier { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.karte { background: var(--stein); padding: clamp(1.8rem, 3.5vw, 2.6rem); border-top: 1px solid var(--schwarz); }
.section--stein .karte { background: var(--weiss); }
.karte h3 { margin-bottom: .6rem; }
.karte p { color: var(--grau); margin: 0; }

.werte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.block .werte { grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; }
.wert h3 { font-size: 1.45rem; margin-bottom: .4rem; }
.wert p { color: var(--grau); margin: 0; font-size: 1rem; }

.fakten { display: grid; grid-template-columns: max-content 1fr; gap: 0 2.5rem; margin: 0; }
.fakten dt, .fakten dd { padding: .85rem 0; border-bottom: 1px solid var(--linie); margin: 0; }
.fakten dt { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grau); padding-top: 1.05rem; }

/* Objektseite */
.angebot { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.galerie { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.galerie a { position: relative; display: block; overflow: hidden; background: var(--stein); }
.galerie a:first-child { grid-column: 1 / -1; }
.galerie img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 1s var(--weich), opacity .3s; }
.galerie a:first-child img { aspect-ratio: 3 / 2; }
.galerie a:hover img { transform: scale(1.03); }
.galerie__vermerk {
  position: absolute; right: .7rem; bottom: .7rem;
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(20, 20, 20, .72); color: var(--weiss); padding: .3rem .55rem;
}
.angebot__text h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.angebot__text .fakten { margin: 1.6rem 0 2rem; }
.angebot__text .marke { position: static; display: inline-block; margin-bottom: 1.2rem; }

.entwuerfe { margin-top: clamp(3rem, 6vw, 4.5rem); }
.entwuerfe__kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 2rem; margin-bottom: 1.4rem; }
.entwuerfe__kopf h3 { margin: 0; }
.entwuerfe__kopf p { margin: 0; color: var(--grau); font-size: .95rem; }
.entwuerfe .galerie { grid-template-columns: repeat(3, 1fr); }
.entwuerfe .galerie a:first-child { grid-column: auto; }
.entwuerfe .galerie img, .entwuerfe .galerie a:first-child img { aspect-ratio: 3 / 4; }

.verkauft { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.verkauft__bild { position: relative; }
.verkauft__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(.35); }
.verkauft + .container { margin-top: clamp(3rem, 6vw, 4.5rem); }
.hinweis { font-size: .92rem; color: var(--grau); border-left: 1px solid var(--schwarz); padding-left: 1.2rem; max-width: 46rem; }

/* Dunkler Seitenkopf für Ankauf und Objekte, passend zur Startseite */
.seitenkopf--dunkel {
  position: relative; overflow: hidden; color: var(--weiss);
  background: radial-gradient(ellipse 80% 95% at 28% 20%, #282828 0%, #181818 50%, #0f0f0f 100%);
  padding: clamp(4.5rem, 10vw, 7.5rem) 0 clamp(4rem, 8vw, 6rem);
}
.seitenkopf--dunkel::after {
  content: ""; position: absolute; left: var(--rand); right: var(--rand); bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .18), rgba(255, 255, 255, 0));
}
.seitenkopf--dunkel .kicker { color: rgba(255, 255, 255, .68); }
.seitenkopf--dunkel h1 { margin-bottom: 0; }
.seitenkopf--dunkel .lead { color: rgba(255, 255, 255, .76); }
.seitenkopf__text > * { animation: auftauchen 1s var(--weich) both; }
.seitenkopf__text > :nth-child(2) { animation-delay: .1s; }
.seitenkopf__text > :nth-child(3) { animation-delay: .25s; }
.seitenkopf__text > :nth-child(4) { animation-delay: .35s; }
.seitenkopf__bild { animation: auftauchen 1.2s .3s var(--weich) both; }
.trenner { display: flex; align-items: center; gap: .9rem; margin: 1.6rem 0; }
.trenner::before, .trenner::after { content: ""; width: clamp(40px, 5vw, 70px); height: 1px; background: rgba(255, 255, 255, .38); }
.trenner span { width: 7px; height: 7px; border: 1px solid rgba(255, 255, 255, .75); transform: rotate(45deg); }
.seitenkopf--dunkel .bogen::before { border-color: rgba(255, 255, 255, .22); }
.bogen--doppelt::after { content: ""; position: absolute; inset: -12px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 999px 999px 0 0; pointer-events: none; }
.seitenkopf--dunkel .bogen figcaption { color: rgba(255, 255, 255, .55); }
.seitenkopf--mitte { text-align: center; }
.seitenkopf--mitte .kicker, .seitenkopf--mitte .trenner { justify-content: center; }
.seitenkopf--mitte .kicker::after { content: ""; width: 2.4rem; height: 1px; background: currentColor; flex: none; }
.seitenkopf--mitte .lead { margin: 0 auto; max-width: 38rem; }

/* Ankauf: Arten als Kacheln mit feinen Symbolen */
.kopfzeile__text { max-width: 30rem; margin: 0; color: var(--grau); }
.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--linie); border-left: 1px solid var(--linie); }
.kachel { padding: 2.2rem 2rem 2.4rem; border-right: 1px solid var(--linie); border-bottom: 1px solid var(--linie); transition: background .4s var(--weich); }
.kachel svg { display: block; width: 46px; height: 46px; margin-bottom: 1.5rem; color: var(--schwarz); transition: transform .6s var(--weich); }
.kachel h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.kachel p { margin: 0; color: var(--grau); font-size: .98rem; }
.kachel:hover { background: var(--stein); }
.kachel:hover svg { transform: translateY(-4px); }

/* Ankauf: drei Schritte auf dunklem Grund */
.section--dunkel .kopfzeile { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.schritte { display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: none; }
.schritt { position: relative; padding: 2rem 2.4rem 0; border-left: 1px solid rgba(255, 255, 255, .14); }
.schritt:first-child { border-left: 0; padding-left: 0; }
.schritt::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, .14); }
.schritt:first-child::before { left: 0; }
.schritt__nr { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1; color: rgba(255, 255, 255, .3); margin-bottom: 1.3rem; }
.schritt h3 { color: var(--weiss); font-size: 1.65rem; margin-bottom: .5rem; }
.schritt p { margin: 0; color: rgba(255, 255, 255, .72); }

/* Ankauf: Checkliste */
.paar--text { grid-template-columns: 5fr 6fr; align-items: start; }
.checkliste { background: var(--stein); padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.6rem, 4vw, 2.8rem); border-top: 1px solid var(--schwarz); }
.checkliste .punkte { margin: 0; }
.checkliste .punkte li:last-child { border-bottom: 0; }

/* Objekte: große Vorstellung des Hauses */
.vorstellung__kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; margin-bottom: 2rem; }
.vorstellung__kopf h2 { margin: 0; }
.vorstellung__kopf .marke { position: static; display: inline-block; margin-bottom: 1.1rem; background: var(--schwarz); color: var(--weiss); }
.vorstellung__bild { position: relative; display: block; overflow: hidden; background: var(--stein); }
.vorstellung__bild img { width: 100%; height: auto; aspect-ratio: 21 / 10; object-fit: cover; object-position: 50% 64%; transition: transform 1.6s var(--weich); }
.vorstellung__bild:hover img { transform: scale(1.02); }
.eckdaten { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-bottom: 1px solid var(--linie); }
.eckdaten div { padding: 1.7rem 1.6rem 1.5rem; border-left: 1px solid var(--linie); }
.eckdaten div:first-child { border-left: 0; padding-left: 0; }
.eckdaten dt { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--grau); margin-bottom: .45rem; }
.eckdaten dd { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; font-variant-numeric: lining-nums; }
.vorstellung__mehr { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.galerie--paar { grid-template-columns: 1fr 1fr; }
.galerie--paar a:first-child { grid-column: auto; }
.galerie--paar img, .galerie--paar a:first-child img { aspect-ratio: 1; }

/* Großansicht der Fotos */
.grossansicht { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1400px); max-height: 92vh; }
.grossansicht::backdrop { background: rgba(14, 14, 14, .9); }
.grossansicht img { max-width: min(94vw, 1400px); max-height: 84vh; width: auto; height: auto; margin: 0 auto; }
.grossansicht p { color: rgba(255, 255, 255, .8); font-size: .85rem; text-align: center; margin: .8rem 0 0; }
.grossansicht button {
  position: fixed; right: 1.2rem; top: 1rem; width: 3rem; height: 3rem; border: 1px solid rgba(255, 255, 255, .5);
  background: transparent; color: var(--weiss); font-size: 1.5rem; line-height: 1; cursor: pointer;
}

/* Formular */
.kontakt-raster { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.formular fieldset { border: 0; margin: 0 0 2.6rem; padding: 0; min-width: 0; }
.formular legend { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; padding: 0; margin-bottom: 1.2rem; }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.8rem; }
.feld { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.feld--breit { grid-column: 1 / -1; }
.feld label, .feldtitel { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--grau); }
.feld input, .feld select, .feld textarea {
  width: 100%; border: 0; border-bottom: 1px solid #BDB7AC; background: transparent; border-radius: 0;
  padding: .7rem 0; font-size: 1.05rem; transition: border-color .25s;
  -webkit-appearance: none; appearance: none;
}
.feld select {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.3'/%3E%3C/svg%3E") right .2rem center / 12px 8px no-repeat;
  padding-right: 1.8rem; cursor: pointer;
}
.feld textarea { min-height: 8.5rem; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-bottom-color: var(--schwarz); box-shadow: 0 1px 0 var(--schwarz); }
.pflicht { color: var(--schwarz); }
.feld--abstand { margin-top: 1.4rem; max-width: 24rem; }
.klein { font-size: .88rem; margin: 1rem 0 0; }

.auswahl { display: flex; flex-wrap: wrap; gap: .7rem; }
.auswahl label { position: relative; cursor: pointer; }
.auswahl input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.auswahl span {
  display: inline-block; padding: .75rem 1.2rem; border: 1px solid #BDB7AC; font-size: .95rem;
  transition: background .25s, color .25s, border-color .25s;
}
.auswahl input:checked + span { background: var(--schwarz); color: var(--weiss); border-color: var(--schwarz); }
.auswahl input:focus-visible + span { outline: 2px solid var(--schwarz); outline-offset: 3px; }

.fotos { border: 1px dashed #A9A399; padding: 1.6rem; text-align: center; transition: border-color .25s, background .25s; }
.fotos:hover { border-color: var(--schwarz); }
.fotos input { width: 100%; font-size: .95rem; }
.fotos p { margin: .7rem 0 0; font-size: .9rem; color: var(--grau); }
.vorschau { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 1rem; }
.vorschau img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.zustimmung { display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; color: var(--grau); margin: 0 0 1.8rem; }
.zustimmung input { width: 1.15rem; height: 1.15rem; margin-top: .25rem; accent-color: var(--schwarz); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.meldung { display: none; padding: 1.1rem 1.3rem; margin-bottom: 1.8rem; border-left: 2px solid var(--schwarz); background: var(--stein); }
.meldung.ok, .meldung.fehler { display: block; }
.meldung.fehler { border-left-color: #8A2A1F; }
.meldung:focus { outline: none; }
.versteckt { display: none !important; }

.kontaktkarte { background: var(--schwarz); color: var(--weiss); padding: clamp(2rem, 4vw, 2.8rem); position: sticky; top: calc(var(--kopf) + 2rem); }
.kontaktkarte h2 { font-size: 2rem; }
.kontaktkarte .kicker, .kontaktkarte .leise { color: rgba(255, 255, 255, .7); }
.kontaktkarte dl { margin: 1.4rem 0 0; }
.kontaktkarte dt { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .62); margin-top: 1.3rem; }
.kontaktkarte dd { margin: .25rem 0 0; font-size: 1.05rem; }
.kontaktkarte a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.kontaktkarte a:hover { border-color: var(--weiss); }

/* Rechtstexte */
.rechtstext { max-width: 48rem; }
.rechtstext h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: .8em; }
.rechtstext h2 { font-size: 1.7rem; margin: 2.4rem 0 .7rem; }
.rechtstext h3 { font-family: var(--sans); font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--grau); margin: 1.6rem 0 .4rem; }
.rechtstext .pruefen { background: var(--stein); padding: 1rem 1.2rem; border-left: 2px solid var(--schwarz); font-size: .95rem; }
.stand { margin-top: 2.5rem; color: var(--grau); font-size: .9rem; }

/* Fehlerseite */
.fehlerseite { min-height: 60vh; display: flex; align-items: center; }
.fehlerseite__links { display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; margin-top: 2rem; }

/* Fußbereich */
.fuss { background: var(--schwarz); color: rgba(255, 255, 255, .78); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; font-size: .98rem; }
.fuss__raster { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem 4rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.fuss__logo img { width: 128px; height: auto; margin-bottom: 1.4rem; }
.fuss__titel { font-size: .7rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin: .4rem 0 1rem; }
.fuss li { margin-bottom: .45rem; }
.fuss a { text-decoration: none; transition: color .2s; }
.fuss a:hover { color: var(--weiss); }
.fuss address { font-style: normal; margin-bottom: 1rem; }
.fuss__marke p { max-width: 22rem; }
.fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.6rem; font-size: .85rem; color: rgba(255, 255, 255, .55); }
.fuss__unten p { margin: 0; }
.fuss__unten ul { display: flex; gap: 1.8rem; }

/* Hinweis zu Cookies */
.cookie {
  position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 60; max-width: 25rem;
  background: var(--weiss); color: var(--schwarz); border-top: 2px solid var(--schwarz);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18); padding: 1.3rem 1.4rem 1.4rem; font-size: .92rem; line-height: 1.6;
  animation: cookie-ein .5s var(--weich) both;
}
.cookie p { margin: 0 0 .9rem; color: var(--grau); }
.cookie .cookie__titel { font-family: var(--serif); font-size: 1.35rem; color: var(--schwarz); margin-bottom: .3rem; }
.cookie a { color: var(--schwarz); }
.cookie__knopf { border: 1px solid var(--schwarz); background: transparent; padding: .6rem 1.3rem; font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s; }
.cookie__knopf:hover { background: var(--schwarz); color: var(--weiss); }
.cookie.weg { opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s; }
@keyframes cookie-ein { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Sanftes Einblenden beim Scrollen */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--weich), transform .9s var(--weich); }
.js .reveal.sichtbar { opacity: 1; transform: none; }
.js .reveal.spaet { transition-delay: .12s; }
.js .reveal.spaeter { transition-delay: .24s; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .nav { gap: 1.4rem; }
  .nav a:not(.knopf) { letter-spacing: .16em; }
  .werte { grid-template-columns: 1fr 1fr; }
}

/* ---------- Handy und schmale Fenster: eigener Durchgang ---------- */
@media (max-width: 900px) {
  :root { --kopf: 74px; }
  .logo img { height: 60px; }
  .menu-knopf {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 46px; height: 46px; padding: 0 10px; margin-right: -10px; background: transparent; border: 0; cursor: pointer;
  }
  .menu-knopf span { display: block; height: 1px; background: var(--weiss); transition: transform .3s var(--weich), opacity .2s; }
  .menu-offen .menu-knopf span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-offen .menu-knopf span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--kopf); bottom: 0; z-index: 49;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0;
    background: var(--schwarz); padding: 1.5rem var(--rand) 2.5rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--weich), visibility 0s .3s;
  }
  .menu-offen .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--weich); }
  .menu-offen { overflow: hidden; }
  .nav a:not(.knopf) {
    width: 100%; font-family: var(--serif); font-size: 2.1rem; letter-spacing: 0; text-transform: none; font-weight: 500;
    color: var(--weiss); padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  .nav a:not(.knopf)::after { display: none; }
  .nav a[aria-current="page"] { font-style: italic; }
  .nav .knopf { margin: 2rem 0 0; width: 100%; }

  .buehne { min-height: calc(92svh - var(--kopf)); }
  .buehne__bild img { object-position: 68% 40%; }
  .buehne__bild::after { background: linear-gradient(180deg, rgba(20, 20, 20, .2) 0%, rgba(20, 20, 20, .45) 35%, rgba(20, 20, 20, .9) 75%); }
  .buehne__inhalt { padding-bottom: 4.5rem; }
  .buehne__hinweis { left: var(--rand); right: auto; bottom: 1.2rem; font-size: .62rem; }

  .zusagen__kopf, .paar, .paar--umgekehrt, .gebiete__raster, .seitenkopf__raster, .block, .angebot, .verkauft, .kontakt-raster { grid-template-columns: 1fr; }
  .paar--umgekehrt .paar__bild { order: 0; }
  .zusagen__liste { grid-template-columns: 1fr; gap: 0; }
  .kacheln { grid-template-columns: 1fr 1fr; }
  .schritte { grid-template-columns: 1fr; }
  .schritt, .schritt:first-child { border-left: 0; padding: 1.6rem 0 1.8rem; }
  .schritt__nr { font-size: 2.6rem; margin-bottom: .8rem; }
  .eckdaten { grid-template-columns: 1fr 1fr; }
  .eckdaten div:nth-child(3) { border-left: 0; padding-left: 0; }
  .eckdaten div:nth-child(n+3) { border-top: 1px solid var(--linie); }
  .vorstellung__mehr, .paar--text { grid-template-columns: 1fr; }
  .vorstellung__bild img { aspect-ratio: 4 / 3; }
  .zusage { padding: 1.6rem 0 1.8rem; }
  .zusage__nr { margin-bottom: .3rem; }
  .paar__bild { max-width: 26rem; }
  .bogen img, .bogen .logotafel { aspect-ratio: 4 / 5; }
  .objekte { grid-template-columns: 1fr; }
  .gebiete::after { width: 80vw; right: -40vw; }
  .seitenkopf__raster .paar__bild { display: none; }
  .block { gap: 1rem; }
  .kontaktkarte { position: static; }
  .zweier { grid-template-columns: 1fr; gap: 1.4rem; }
  .fuss__raster { grid-template-columns: 1fr 1fr; }
  .fuss__marke { grid-column: 1 / -1; }
  .menu-offen .cookie { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .kicker { letter-spacing: .2em; gap: .7rem; }
  .kacheln { grid-template-columns: 1fr; }
  .kachel { display: grid; grid-template-columns: 40px 1fr; column-gap: 1.1rem; align-items: start; padding: 1.3rem 1.1rem; }
  .kachel svg { grid-row: 1 / 3; width: 36px; height: 36px; margin: .1rem 0 0; }
  .kachel h3 { font-size: 1.3rem; margin-bottom: .15rem; }
  .kachel p { font-size: .92rem; }
  .eckdaten div { padding: 1.2rem 1rem 1.1rem; }
  .eckdaten div:nth-child(odd) { padding-left: 0; }
  .nur-gross { display: none; }
  .kicker::before, .abschluss .kicker::after { width: 1.5rem; }
  /* Auf dem Handy steht das Foto oben frei, der Text darunter auf Schwarz */
  .buehne { display: block; min-height: 0; }
  .buehne__bild { position: relative; height: 50svh; min-height: 290px; overflow: hidden; }
  .buehne__bild img { object-position: 64% 45%; }
  .buehne__bild::after { background: linear-gradient(180deg, rgba(20, 20, 20, 0) 50%, rgba(20, 20, 20, .75) 80%, #141414 97%); }
  .buehne__inhalt { padding-top: 0; margin-top: -2.5rem; padding-bottom: 3.5rem; }
  .buehne__hinweis { top: .9rem; bottom: auto; left: var(--rand); right: var(--rand); text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
  .buehne.buehne--marke { display: flex; min-height: calc(100svh - var(--kopf)); padding: 2.6rem 0 4.8rem; }
  .buehne__logo { width: min(64vw, 260px); }
  .buehne__gebiete { letter-spacing: .2em; line-height: 1.9; }
  .knopf { width: 100%; }
  .buehne__aktion, .abschluss__aktion { flex-direction: column; align-items: stretch; text-align: center; }
  .arten { grid-template-columns: 1fr; }
  .felder { grid-template-columns: 1fr; }
  .werte, .block .werte { grid-template-columns: 1fr; }
  .galerie { grid-template-columns: 1fr 1fr; gap: 8px; }
  .entwuerfe .galerie { grid-template-columns: 1fr 1fr; }
  .entwuerfe .galerie a:last-child { grid-column: 1 / -1; }
  .entwuerfe .galerie a:last-child img { aspect-ratio: 4 / 3; }
  .fakten { grid-template-columns: 1fr; }
  .fakten dt { border-bottom: 0; padding-bottom: 0; }
  .fakten dd { padding-top: .2rem; }
  .vorschau { grid-template-columns: repeat(3, 1fr); }
  .fuss__raster { grid-template-columns: 1fr; }
  .fuss__unten { flex-direction: column; }
  .cookie { left: 0; right: 0; bottom: 0; max-width: none; border-top-width: 2px; box-shadow: 0 -10px 40px rgba(0, 0, 0, .16); }
  .cookie__knopf { width: 100%; padding: .8rem; }
}

@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; }
}

@media print {
  .kopf, .cookie, .abschluss, .menu-knopf { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .buehne { min-height: 0; color: var(--schwarz); background: none; }
  .buehne__bild { display: none; }
  .buehne--marke { background: none; }
  .buehne__logo img { filter: invert(1); }
  .buehne__weiter { display: none; }
  .section--dunkel { background: none; color: var(--schwarz); }
}
