/* Regendantz Immobilien – Entwurf neues Design (Oktober 2026) */
:root {
  --graphit: #2b2d2f;
  --graphit-2: #4a4c4e;
  --text: #33363a;
  --text-leise: #6b6f73;
  --sand: #f5efe6;
  --sand-2: #ebe2d4;
  --weiss: #ffffff;
  --akzent: #d47f22;
  --akzent-dunkel: #b0661a;
  --salbei: #7e8f74;
  --linie: #e2d9cb;
  --radius: 14px;
  --schatten: 0 10px 30px rgba(30, 28, 25, .10);
  --breite: 1180px;
  --schrift: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --schrift-titel: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--akzent-dunkel); }
h1, h2, h3 { font-family: var(--schrift-titel); font-weight: 500; color: var(--graphit); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 20px; }
.abschnitt { padding: clamp(64px, 9vw, 110px) 0; }
.abschnitt.sand { background: var(--sand); }
.abschnitt.dunkel { background: var(--graphit); color: #e9e5df; }
.abschnitt.dunkel h2, .abschnitt.dunkel h3 { color: #fff; }
.vorzeile {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--akzent-dunkel); margin-bottom: 14px;
}
.dunkel .vorzeile { color: #f0b46e; }
.einleitung { font-size: 1.15rem; color: var(--text-leise); max-width: 720px; }
.dunkel .einleitung { color: #c9c3ba; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; text-decoration: none; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s; cursor: pointer;
}
.knopf:hover { transform: translateY(-1px); }
.knopf.voll { background: var(--akzent); color: #fff; }
.knopf.voll:hover { background: var(--akzent-dunkel); }
.knopf.rahmen { border-color: currentColor; color: var(--graphit); background: transparent; }
.knopf.rahmen.hell { color: #fff; }
.knopf.rahmen:hover { background: var(--graphit); color: #fff; border-color: var(--graphit); }
.knopf.rahmen.hell:hover { background: #fff; color: var(--graphit); border-color: #fff; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Entwurfshinweis */
.entwurf-band {
  background: #fff4d6; color: #6b4e00; font-size: .85rem; text-align: center; padding: 8px 16px;
  border-bottom: 1px solid #f0dca0;
}

/* Kopf */
.kopf {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--linie);
}
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--graphit); }
.logo img { height: 40px; width: auto; }
.logo span { font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; line-height: 1.35; }
.logo strong { display: block; font-weight: 600; letter-spacing: .28em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--text); font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--akzent-dunkel); }
.nav .knopf { padding: 10px 18px; color: #fff; }
.nav-tel { white-space: nowrap; }
.menue-knopf { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menue-knopf span { display: block; width: 24px; height: 2px; background: var(--graphit); margin: 5px 0; }

/* Startbild */
.start {
  position: relative; min-height: min(88vh, 820px); display: grid; align-items: end; color: #fff;
  background: var(--graphit) url("bilder/s8-garten.jpg") center 40% / cover no-repeat;
}
.start::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, .15) 0%, rgba(20, 20, 20, .25) 40%, rgba(18, 18, 18, .82) 100%);
}
.start .huelle { position: relative; padding-bottom: 56px; padding-top: 120px; width: 100%; }
.start h1 { color: #fff; max-width: 900px; }
.start .einleitung { color: #ece7df; font-size: 1.2rem; }
.start-marken { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.marke {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); color: #fff; letter-spacing: .02em;
}
.bildhinweis { position: absolute; right: 16px; bottom: 10px; font-size: .7rem; color: rgba(255, 255, 255, .7); z-index: 2; }

/* Besichtigungsband */
.termin-band { background: var(--akzent); color: #fff; }
.termin-band .huelle {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px;
}
.termin-band strong { font-size: 1.15rem; }
.termin-band .termine { display: flex; gap: 12px; flex-wrap: wrap; }
.termin-band .tag { background: rgba(255, 255, 255, .18); border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: .95rem; }
.termin-band .knopf { background: #fff; color: var(--akzent-dunkel); }

/* Projektkarten */
.projekte { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 44px; }
.projekt {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten);
  display: flex; flex-direction: column;
}
.projekt-bild { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.projekt-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.projekt:hover .projekt-bild img { transform: scale(1.03); }
.projekt-status {
  position: absolute; top: 16px; left: 16px; background: #fff; color: var(--graphit); border-radius: 999px;
  padding: 6px 14px; font-size: .8rem; font-weight: 700;
}
.projekt-status.neu { background: var(--salbei); color: #fff; }
.projekt-status.letzte { background: var(--akzent); color: #fff; }
.projekt-inhalt { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.projekt-ort { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-leise); margin-bottom: 6px; }
.eckdaten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 22px; padding: 16px 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.eckdaten div { font-size: .82rem; color: var(--text-leise); line-height: 1.35; }
.eckdaten b { display: block; font-size: 1.12rem; color: var(--graphit); font-weight: 600; }
.projekt .knopfreihe { margin-top: auto; }

/* Vorteile */
.vorteile { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.vorteil { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--linie); }
.sand .vorteil { border-color: transparent; }
.vorteil .zeichen {
  width: 46px; height: 46px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; margin-bottom: 16px; color: var(--akzent-dunkel);
}
.sand .vorteil .zeichen { background: var(--sand-2); }
.vorteil h3 { font-size: 1.18rem; margin-bottom: 8px; }
.vorteil p { font-size: .96rem; color: var(--text-leise); margin: 0; }

/* Wohnungsfinder */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 26px; }
.filter button {
  font: inherit; font-size: .92rem; font-weight: 600; padding: 9px 18px; border-radius: 999px; cursor: pointer;
  background: #fff; border: 1.5px solid var(--linie); color: var(--text);
}
.filter button[aria-pressed="true"] { background: var(--graphit); border-color: var(--graphit); color: #fff; }
.wohnungen { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.wohnung {
  background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--linie);
  display: flex; flex-direction: column; gap: 6px; transition: box-shadow .2s, transform .2s; text-decoration: none; color: inherit;
}
.wohnung:hover { box-shadow: var(--schatten); transform: translateY(-2px); }
.wohnung .w-kopf { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.wohnung .w-projekt { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-leise); white-space: nowrap; }
.wohnung .w-merkmal { font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--sand); color: var(--akzent-dunkel); white-space: nowrap; }
.wohnung .w-merkmal.letzte { background: var(--akzent); color: #fff; }
.wohnung h3 { font-size: 1.25rem; margin: 6px 0 2px; }
.wohnung .w-daten { font-size: .93rem; color: var(--text-leise); }
.wohnung .w-preis { margin-top: 10px; font-size: 1.15rem; font-weight: 600; color: var(--graphit); }
.wohnung .w-preis small { display: block; font-size: .78rem; font-weight: 400; color: var(--text-leise); }
.wohnung .w-mehr { margin-top: 8px; font-size: .9rem; font-weight: 600; color: var(--akzent-dunkel); }
.leer { display: none; padding: 30px; text-align: center; color: var(--text-leise); }

/* Bild + Text */
.zweispaltig { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.zweispaltig.umgekehrt > :first-child { order: 2; }
.bild-rund { border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); position: relative; }
.bild-rund img { width: 100%; height: 100%; object-fit: cover; }
.bild-rund figcaption, .bildunterschrift { font-size: .78rem; color: var(--text-leise); margin-top: 8px; }
.haken { list-style: none; padding: 0; margin: 18px 0 0; }
.haken li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.haken li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px;
  border-left: 2.5px solid var(--akzent); border-bottom: 2.5px solid var(--akzent); transform: rotate(-45deg);
}

/* Personen */
.personen { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.person { display: flex; align-items: center; gap: 14px; }
.person .kreis {
  width: 58px; height: 58px; border-radius: 50%; background: var(--sand-2); display: grid; place-items: center;
  font-family: var(--schrift-titel); font-size: 1.3rem; color: var(--graphit);
}
.person b { display: block; color: var(--graphit); }
.person span { font-size: .88rem; color: var(--text-leise); }

/* Referenzen */
.referenzen { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 36px; }
.referenz { border-left: 3px solid var(--akzent); padding: 6px 0 6px 16px; }
.referenz b { display: block; color: #fff; }
.referenz span { font-size: .9rem; color: #bdb7ad; }

/* Kontakt */
.kontakt-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.kontakt-karte { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--schatten); }
.kontakt-karte .gross { font-size: 1.6rem; font-family: var(--schrift-titel); color: var(--graphit); text-decoration: none; display: block; margin: 4px 0; }
.kontakt-karte small { color: var(--text-leise); }

/* Fuß */
.fuss { background: #1f2022; color: #a9a49c; font-size: .9rem; padding: 50px 0 34px; }
.fuss .huelle { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.fuss a { color: #d8d3cb; text-decoration: none; }
.fuss a:hover { color: #fff; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 6px; }
.fuss h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.fuss .unten { grid-column: 1 / -1; border-top: 1px solid #36383b; padding-top: 20px; margin-top: 10px; font-size: .8rem; }

/* Projektseite */
.projekt-start { min-height: min(78vh, 720px); background-position: center; }
.projekt-start::before { background: linear-gradient(180deg, rgba(20, 20, 20, .1) 0%, rgba(20, 20, 20, .35) 45%, rgba(18, 18, 18, .85) 100%); }
.start h1, .start .einleitung { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.faktenleiste { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); margin-top: -56px; position: relative; z-index: 3; overflow: hidden; }
.faktenleiste div { padding: 22px 24px; border-right: 1px solid var(--linie); }
.faktenleiste div:last-child { border-right: 0; }
.faktenleiste b { display: block; font-family: var(--schrift-titel); font-size: 1.6rem; font-weight: 500; color: var(--graphit); }
.faktenleiste span { font-size: .85rem; color: var(--text-leise); }
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.galerie button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.galerie button:hover img { transform: scale(1.04); }
.tabelle-huelle { overflow-x: auto; margin-top: 30px; border-radius: var(--radius); border: 1px solid var(--linie); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 640px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--linie); }
th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-leise); font-weight: 600; background: var(--sand); }
td.zahl, th.zahl { text-align: right; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td button { font: inherit; font-size: .88rem; font-weight: 600; color: var(--akzent-dunkel); background: none; border: 0; cursor: pointer; padding: 0; text-decoration: underline; }
.fussnote { font-size: .8rem; color: var(--text-leise); margin-top: 14px; }
.grundrisse { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.grundriss { background: #fff; border-radius: var(--radius); padding: 18px; border: 1px solid var(--linie); }
.grundriss button { border: 0; background: none; padding: 0; cursor: zoom-in; width: 100%; }
.grundriss h3 { font-size: 1.1rem; margin: 12px 0 0; }
.kasten { background: var(--sand); border-radius: var(--radius); padding: 28px; }
.kasten h3 { margin-bottom: 10px; }
.liste-zweispaltig { columns: 2; column-gap: 36px; }
.liste-zweispaltig li { break-inside: avoid; }

/* Rechtliche Seiten */
.rechtstext { max-width: 820px; padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(56px, 8vw, 96px); }
.rechtstext h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .8em; }
.rechtstext h2 { font-size: 1.5rem; margin: 2em 0 .6em; padding-top: .6em; border-top: 1px solid var(--linie); }
.rechtstext h3 { font-size: 1.12rem; margin: 1.6em 0 .4em; font-family: var(--schrift); font-weight: 600; }
.rechtstext p, .rechtstext li { font-size: .98rem; }
.rechtstext .stand { color: var(--text-leise); font-size: .88rem; }
.rechtstext address { font-style: normal; margin-bottom: 1em; }
.rechtstext .gross-text { text-transform: none; font-size: .94rem; background: var(--sand); padding: 16px 18px; border-radius: 10px; }

/* Bildbetrachter */
.betrachter { position: fixed; inset: 0; background: rgba(15, 15, 15, .92); display: none; align-items: center; justify-content: center; z-index: 100; padding: 24px; }
.betrachter.offen { display: flex; }
.betrachter img { max-height: 86vh; max-width: 100%; border-radius: 8px; background: #fff; }
.betrachter p { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #ddd; font-size: .85rem; margin: 0; padding: 0 20px; }
.betrachter button { position: absolute; top: 16px; right: 20px; font-size: 2rem; color: #fff; background: none; border: 0; cursor: pointer; line-height: 1; }

/* Mobil-Leiste */
.mobil-leiste { display: none; }

@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 24px; gap: 4px; border-bottom: 1px solid var(--linie); box-shadow: var(--schatten); }
  .nav.offen { display: flex; }
  .nav a { padding: 10px 0; }
  .nav .knopf { justify-content: center; margin-top: 8px; }
  .menue-knopf { display: block; }
  .projekte, .zweispaltig, .kontakt-raster, .grundrisse { grid-template-columns: 1fr; }
  .zweispaltig.umgekehrt > :first-child { order: 0; }
  .vorteile { grid-template-columns: 1fr 1fr; }
  .faktenleiste { grid-template-columns: 1fr 1fr; }
  .faktenleiste div:nth-child(2) { border-right: 0; }
  .faktenleiste div:nth-child(-n+2) { border-bottom: 1px solid var(--linie); }
  .galerie { grid-template-columns: 1fr 1fr; }
  .fuss .huelle { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .huelle { padding: 0 16px; }
  .vorteile { grid-template-columns: 1fr; }
  .eckdaten { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .eckdaten b { font-size: 1rem; }
  .projekt-inhalt { padding: 22px 20px 24px; }
  .start { min-height: 86vh; }
  .logo span { display: none; }
  .liste-zweispaltig { columns: 1; }
  .fuss .huelle { grid-template-columns: 1fr; }
  .termin-band .knopf { width: 100%; justify-content: center; }
  .mobil-leiste {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--linie); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
  }
  .mobil-leiste a { padding: 16px 8px; text-align: center; font-weight: 600; text-decoration: none; color: var(--graphit); font-size: .95rem; }
  .mobil-leiste a + a { background: var(--akzent); color: #fff; }
}
