/* ==========================================================================
   Golden Falcon Homes – Gestaltung
   Farben und Schriften zentral hier oben ändern.
   ========================================================================== */
:root {
  --schwarz: #0b0b0c;
  --schwarz-2: #141416;
  --schwarz-3: #1d1d20;
  --gold: #c9a55a;
  --gold-hell: #e6c98a;
  --gold-dunkel: #9c7c3c;
  --text: #f4efe6;
  --text-gedimmt: #b9b2a5;
  --linie: rgba(201, 165, 90, .28);
  --schrift-titel: "Didot", "Bodoni 72", "Playfair Display", Georgia, "Times New Roman", serif;
  --schrift-text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --breite: 1180px;
  --kopf-hoehe: 68px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--schwarz);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-hell); }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold-hell); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--schrift-titel);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .02em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.3rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.inhalt { width: min(100% - 40px, var(--breite)); margin-inline: auto; }
.schmal { width: min(100% - 40px, 780px); margin-inline: auto; }
.abschnitt { padding: clamp(56px, 9vw, 110px) 0; }
.abschnitt.hell { background: var(--schwarz-2); }
.zentriert { text-align: center; }
.oberzeile {
  display: block;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.goldlinie {
  width: 64px; height: 1px; border: 0;
  background: var(--gold);
  margin: 22px auto 28px;
}
.gedimmt { color: var(--text-gedimmt); }

/* ---------- Buttons ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 28px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold-hell), var(--gold) 55%, var(--gold-dunkel));
  color: #111;
  font: 600 .85rem/1 var(--schrift-text);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.knopf:hover { color: #000; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(201,165,90,.25); }
.knopf.rahmen { background: transparent; color: var(--gold-hell); }
.knopf.rahmen:hover { background: rgba(201,165,90,.1); }
.knopf.klein { min-height: 40px; padding: 8px 16px; font-size: .74rem; }

/* ---------- Entwurfshinweis ---------- */
.entwurf-band {
  background: #f2c94c; color: #1a1400;
  font-size: .85rem; text-align: center; padding: 8px 16px;
}
.fehlt {
  background: rgba(235, 87, 87, .16);
  color: #ff9a9a;
  border: 1px dashed #eb5757;
  border-radius: 3px;
  padding: 0 4px;
}

/* ---------- Kopfzeile (Aufbau wie Vorlage: Menü – Logo – Buchen) ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,11,12,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf-innen {
  height: var(--kopf-hoehe);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100% - 28px, var(--breite)); margin-inline: auto;
}
.menue-knopf {
  justify-self: start;
  width: 46px; height: 46px; padding: 0;
  background: none; border: 0; cursor: pointer; color: var(--text);
  display: grid; place-content: center; gap: 6px;
}
.menue-knopf span { display: block; width: 26px; height: 1.5px; background: currentColor; transition: transform .2s, opacity .2s; }
.menue-offen .menue-knopf span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menue-offen .menue-knopf span:nth-child(2) { opacity: 0; }
.menue-offen .menue-knopf span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.logo {
  justify-self: center;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text); line-height: 1;
}
.logo-zeichen { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--linie); }
.logo-text { display: flex; flex-direction: column; align-items: center; }
@media (max-width: 359px) { .logo-text { display: none; } }
.fuss-logo img { width: 140px; height: 140px; border-radius: 6px; }
@media (max-width: 420px) {
  .logo-zeichen { width: 36px; height: 36px; }
  .logo { gap: 8px; }
  .logo .logo-name { font-size: .86rem; letter-spacing: .16em; padding-left: 0; white-space: nowrap; }
  .logo .logo-zusatz { padding-left: 0; }
}
.logo-name {
  font-family: var(--schrift-titel);
  font-size: clamp(1.05rem, 4.2vw, 1.45rem);
  letter-spacing: .32em;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-hell), var(--gold) 60%, var(--gold-dunkel));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-left: .32em; /* gleicht letter-spacing aus */
}
.logo-zusatz { font-size: .58rem; letter-spacing: .5em; color: var(--text-gedimmt); margin-top: 5px; padding-left: .5em; }
.kopf-buchen { justify-self: end; }

.navigation { display: none; }
.navigation a {
  color: var(--text); text-decoration: none;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
}
.navigation a:hover, .navigation a[aria-current="page"] { color: var(--gold-hell); }

/* Mobiles Menü */
.menue-flaeche {
  position: fixed; top: var(--kopf-hoehe); left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--schwarz);
  padding: 28px 24px 40px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(-100%);
  transition: transform .25s ease;
  overflow-y: auto;
}
.menue-offen .menue-flaeche { transform: none; }
.menue-flaeche a {
  color: var(--text); text-decoration: none;
  font-family: var(--schrift-titel); font-size: 1.7rem;
  padding: 12px 0; border-bottom: 1px solid var(--linie);
}
.menue-flaeche a[aria-current="page"] { color: var(--gold-hell); }
.menue-flaeche .knopf { margin-top: 24px; font-family: var(--schrift-text); font-size: .85rem; border-bottom: 1px solid var(--gold); }
body.menue-offen { overflow: hidden; }

@media (min-width: 960px) {
  .kopf-innen { grid-template-columns: auto 1fr auto; gap: 40px; }
  .menue-knopf, .menue-flaeche { display: none; }
  .logo { justify-self: start; }
  .logo-text { align-items: flex-start; }
  .logo-name, .logo-zusatz { padding-left: 0; }
  .navigation { display: flex; justify-content: center; gap: 34px; }
}
@media (max-width: 380px) {
  .kopf-buchen.knopf { padding: 8px 12px; letter-spacing: .1em; }
}

/* ---------- Großes Titelbild ---------- */
.titelbild {
  position: relative;
  min-height: calc(100svh - var(--kopf-hoehe));
  display: grid; place-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.titelbild picture, .titelbild img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.titelbild::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 70%),
    linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.82) 100%);
}
.titelbild .oberzeile { color: var(--gold-hell); text-shadow: 0 1px 12px rgba(0,0,0,.8); }
.titelbild-text { padding: 80px 20px 60px; max-width: 900px; }
.titelbild h1 { margin-bottom: .25em; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.titelbild .slogan-gold {
  background: linear-gradient(180deg, var(--gold-hell), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.titelbild p.unterzeile { font-size: clamp(1rem, 2.6vw, 1.2rem); color: #eee6d8; margin-bottom: 32px; }
.titelbild .knopf-reihe { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.titelbild.klein { min-height: 52svh; }

/* ---------- Laufband ---------- */
.laufband {
  background: linear-gradient(90deg, var(--gold-dunkel), var(--gold), var(--gold-dunkel));
  color: #111; overflow: hidden; white-space: nowrap;
  font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  padding: 11px 0;
}
.laufband-spur { display: inline-flex; animation: laufen 38s linear infinite; }
.laufband-spur span { padding: 0 22px; }
.laufband-spur span::after { content: "✦"; margin-left: 44px; font-size: .7em; }
@keyframes laufen { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .laufband-spur { animation: none; } }

/* ---------- Video-Rundgang ---------- */
.video-abschnitt .inhalt { display: grid; gap: 28px; align-items: center; }
.video-rahmen { width: min(100%, 340px); margin-inline: auto; }
.video-rahmen video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: var(--radius); border: 1px solid var(--linie); background: #000; box-shadow: 0 18px 40px rgba(0,0,0,.5); }
@media (min-width: 900px) {
  .video-abschnitt .inhalt { grid-template-columns: auto 1fr; gap: 64px; }
  .video-abschnitt p { max-width: 46ch; }
}

/* ---------- Karten / Raster ---------- */
.raster { display: grid; gap: 22px; }
@media (min-width: 720px) { .raster.zwei { grid-template-columns: repeat(2, 1fr); } .raster.drei { grid-template-columns: repeat(3, 1fr); } .raster.vier { grid-template-columns: repeat(4, 1fr); } }

.wohnungskarte {
  display: grid; background: var(--schwarz-3);
  border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--text);
}
@media (min-width: 860px) { .wohnungskarte { grid-template-columns: 1.3fr 1fr; } }
.wohnungskarte img { width: 100%; height: 100%; min-height: 300px; max-height: 560px; object-fit: cover; transition: transform .5s ease; }
.wohnungskarte:hover img { transform: scale(1.03); }
.wohnungskarte .bildrahmen { overflow: hidden; }
.wohnungskarte .kartentext { padding: clamp(24px, 4vw, 48px); align-self: center; }
.wohnungskarte .kartentext p { color: var(--text-gedimmt); }

.merkmal { padding: 26px 22px; border: 1px solid var(--linie); border-radius: var(--radius); background: rgba(255,255,255,.015); }
.merkmal .symbol { color: var(--gold); width: 30px; height: 30px; margin-bottom: 14px; }
.merkmal h3 { font-size: 1.2rem; margin-bottom: .35em; }
.merkmal p { color: var(--text-gedimmt); margin: 0; font-size: .95rem; }

.eckdaten { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--linie); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; margin: 28px 0; }
@media (min-width: 720px) { .eckdaten { grid-template-columns: repeat(var(--anzahl, 4), 1fr); } }
.eckdaten div { background: var(--schwarz); padding: 20px 14px; text-align: center; }
.eckdaten strong { display: block; font-family: var(--schrift-titel); font-weight: 400; font-size: 1.5rem; color: var(--gold-hell); }
.eckdaten span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-gedimmt); }

/* ---------- Ausstattung ---------- */
.ausstattung { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 28px; }
@media (min-width: 720px) { .ausstattung { grid-template-columns: repeat(2, 1fr); } }
.ausstattung li { padding: 13px 0 13px 30px; border-bottom: 1px solid var(--linie); position: relative; }
.ausstattung li::before { content: "✦"; position: absolute; left: 4px; top: 13px; color: var(--gold); font-size: .8rem; }

/* ---------- Galerie ---------- */
.galerie { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .galerie { grid-template-columns: repeat(4, 1fr); gap: 10px; } }
.galerie button {
  padding: 0; border: 0; background: var(--schwarz-3); cursor: zoom-in;
  aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px;
}
.galerie button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .3s; }
.galerie button:hover img { transform: scale(1.04); }
.galerie .mehr-ausgeblendet { display: none; }
.galerie-mehr { margin-top: 22px; }

.lightbox {
  position: fixed; inset: 0; margin: 0; z-index: 100; background: rgba(0,0,0,.96);
  display: none; align-items: center; justify-content: center;
}
.lightbox.offen { display: flex; }
.lightbox img { max-width: 94vw; max-height: 82vh; object-fit: contain; }
.lightbox figcaption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--text-gedimmt); font-size: .9rem; padding: 0 60px; }
.lightbox button {
  position: absolute; background: rgba(0,0,0,.5); border: 1px solid var(--linie); color: var(--gold-hell);
  width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center;
}
.lightbox .zu { top: 16px; right: 16px; }
.lightbox .zurueck { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .weiter { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Buchung ---------- */
.buchung-rahmen {
  background: #fff; color: #222; border-radius: var(--radius);
  border: 1px solid var(--gold); padding: 6px; min-height: 160px;
}
.buchung-hinweis { background: var(--schwarz-3); border: 1px solid var(--linie); border-radius: var(--radius); padding: 28px; text-align: center; }
.buchung-hinweis p { color: var(--text-gedimmt); font-size: .92rem; }
.buchung-hinweis .knopf-reihe { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }
.ausweich { margin-top: 18px; font-size: .92rem; color: var(--text-gedimmt); text-align: center; }

/* ---------- Formular ---------- */
.formular { display: grid; gap: 16px; }
@media (min-width: 720px) { .formular .zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
.formular label { display: grid; gap: 6px; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-gedimmt); }
.formular input, .formular select, .formular textarea {
  width: 100%; font: inherit; font-size: 16px; letter-spacing: normal; text-transform: none;
  color: var(--text); background: var(--schwarz); border: 1px solid var(--linie); border-radius: var(--radius); padding: 12px 14px;
}
.formular input:focus, .formular select:focus, .formular textarea:focus { border-color: var(--gold); outline: none; }
.formular .klein-hinweis { font-size: .82rem; color: var(--text-gedimmt); }

/* ---------- Rechtstexte ---------- */
.rechtstext h2 { font-size: 1.6rem; margin-top: 1.8em; }
.rechtstext h3 { font-size: 1.15rem; margin-top: 1.4em; }
.rechtstext p, .rechtstext li { color: #ddd6c9; }
.kasten { border: 1px solid #f2c94c; background: rgba(242,201,76,.08); padding: 18px 20px; border-radius: var(--radius); margin-bottom: 30px; font-size: .95rem; }

/* ---------- Fußzeile ---------- */
.fuss { border-top: 1px solid var(--linie); padding: 56px 0 30px; background: #070708; font-size: .92rem; }
.fuss-raster { display: grid; gap: 30px; }
@media (min-width: 760px) { .fuss-raster { grid-template-columns: 1.4fr 1fr 1fr; } }
.fuss h3 { font-size: .78rem; font-family: var(--schrift-text); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: 8px; }
.fuss a { color: var(--text); text-decoration: none; }
.fuss a:hover { color: var(--gold-hell); }
.fuss-unten { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--linie); color: var(--text-gedimmt); font-size: .8rem; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

/* Mobile: fester Buchen-Balken unten */
.mobil-buchen {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11,11,12,.95); border-top: 1px solid var(--linie);
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
}
.mobil-buchen span { font-size: .85rem; color: var(--text-gedimmt); }
.hat-mobil-buchen { padding-bottom: 78px; }
@media (min-width: 960px) { .mobil-buchen { display: none; } .hat-mobil-buchen { padding-bottom: 0; } }
