/* Co-Hosting-Landingpage. Farben und Typografie aus brand_assets/en-apartments-brand.md
   (Dateiname ist Altlast, die Domain heisst nn-apartments.de).

   Kein JavaScript: die Content-Security-Policy laesst nur eigene Skripte zu, und
   fuer Sticky-Kopf, Aufklapper und Ankersprünge braucht es keins. */

:root {
  --gold: #C8960C;
  --gold-dunkel: #A07A0A;
  --gold-hell: #E8C97A;
  --anthrazit: #2D2D2D;
  --anthrazit-tief: #232323;
  --warmweiss: #F8F6F0;
  --hellgrau: #E8E4DC;
  --grau: #6f6a60;
  --rot: #A3341F;
  --rahmen: 1px solid var(--hellgrau);
  --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--anthrazit);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* ── Breiten ─────────────────────────────────────────────────────────── */
.innen       { width: min(720px, 100% - 2.5rem);  margin-inline: auto; }
.innen-breit { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

/* ── Kopf ────────────────────────────────────────────────────────────── */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: var(--rahmen);
  backdrop-filter: saturate(140%) blur(6px);
}
.kopf-innen {
  display: flex; align-items: center; gap: 1.5rem;
  padding: .8rem 0; flex-wrap: wrap;
}
.marke {
  font-weight: 700; font-size: 1.1rem; color: var(--gold);
  text-decoration: none; letter-spacing: .01em; white-space: nowrap;
}
.kopf-zusatz { color: var(--grau); font-size: .9rem; }
.sprungmarken { display: flex; gap: 1.4rem; margin-left: auto; flex-wrap: wrap; }
.sprungmarken a {
  color: var(--anthrazit); text-decoration: none; font-size: .93rem;
  padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.sprungmarken a:hover { border-bottom-color: var(--gold); }
.kopf-knopf { margin-left: auto; }
.sprungmarken + .kopf-knopf { margin-left: 0; }

@media (max-width: 60rem) {
  .sprungmarken { display: none; }
  .kopf-knopf { margin-left: auto; }
}

/* ── Baender ─────────────────────────────────────────────────────────── */
.band { padding: 4rem 0; scroll-margin-top: 5rem; }
.band-hell    { background: var(--warmweiss); }
.band-schmal  { padding: 2rem 0; }
.band-aufmacher { padding: 3.5rem 0 2.5rem; }
.band-ergebnis  { padding-top: 3rem; }
.band-dunkel {
  background: var(--anthrazit-tief); color: #efece5;
}
.band-dunkel h2, .band-dunkel h3 { color: #fff; }
.band-analyse {
  background: var(--warmweiss);
  border-top: 3px solid var(--gold);
  border-bottom: var(--rahmen);
}

/* ── Typografie ──────────────────────────────────────────────────────── */
h1 {
  font-size: clamp(2rem, 5.2vw, 3.1rem);
  line-height: 1.12; letter-spacing: -.02em; margin-bottom: 1rem;
}
h1 em {
  font-style: normal; color: var(--gold);
  border-bottom: 4px solid var(--gold-hell);
}
h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.05rem);
  line-height: 1.2; letter-spacing: -.015em; margin-bottom: .8rem;
}
h2.gross { font-size: clamp(1.7rem, 3.8vw, 2.4rem); }
h3 { font-size: 1.05rem; margin-bottom: .35rem; }

.augenbraue {
  text-transform: uppercase; letter-spacing: .12em; font-size: .74rem;
  font-weight: 700; color: var(--gold-dunkel); margin-bottom: .5rem;
}
.augenbraue-hell { color: var(--gold-hell); }

.unterzeile { font-size: 1.1rem; color: #4a4a4a; }
.band-dunkel .unterzeile { color: #cfcabf; }
.einzug { max-width: 46rem; margin-bottom: 2rem; }
.klein { font-size: .86rem; color: var(--grau); }
.klein-hell { font-size: .86rem; color: #b3ada2; }
.quellen { margin-top: 1.2rem; }
.hilfe { display: block; font-size: .82rem; color: var(--grau); margin-top: .3rem; }
.marker {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--gold-dunkel); font-weight: 700; margin-left: .35rem;
  white-space: nowrap;
}
.hervor {
  font-size: 1.05rem; font-weight: 700; margin-top: 1.2rem;
  border-left: 3px solid var(--gold); padding-left: 1rem;
}
.hervor-hell {
  font-size: 1.15rem; font-weight: 700; color: var(--gold-hell); margin-top: .8rem;
}
.abgesetzt { margin-top: 2rem; max-width: 46rem; }
.nurleser {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ── Aufmacher ───────────────────────────────────────────────────────── */
.aufmacher-gitter {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem;
  align-items: center; margin-bottom: 2.5rem;
}
/* Ohne Bildstrecke traegt der Text die volle Breite -- sonst stuende die
   Haelfte der Seite leer, bis die Fotos erzeugt sind. */
.aufmacher-gitter.ohne-bild { grid-template-columns: 1fr; }
.aufmacher-gitter.ohne-bild .aufmacher-text { max-width: 44rem; }

.pille {
  display: inline-block; background: var(--warmweiss); border: var(--rahmen);
  border-radius: 99px; padding: .35rem 1rem; font-size: .82rem;
  color: var(--grau); margin-bottom: 1.2rem;
}
.knopfzeile { margin: 1.6rem 0 .6rem; }
.aufmacher-bild { margin: 0; }
.aufmacher-bild img, .teambild img {
  width: 100%; height: auto; border-radius: var(--radius); display: block;
}
figcaption { font-size: .8rem; color: var(--grau); margin-top: .45rem; }

@media (max-width: 56rem) {
  .aufmacher-gitter { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Kennzahlen ──────────────────────────────────────────────────────── */
.kacheln { display: flex; gap: .9rem; margin: 1.5rem 0 .8rem; flex-wrap: wrap; }
.kachel {
  flex: 1 1 10rem; background: var(--warmweiss); border: var(--rahmen);
  border-radius: var(--radius); padding: 1.1rem .8rem; text-align: center;
}
.band-hell .kachel { background: #fff; }
.kacheln-schmal .kachel { padding: .8rem .6rem; }
.kachel .wert {
  display: block; font-size: 1.75rem; font-weight: 700; color: var(--gold);
  letter-spacing: -.02em;
}
.kacheln-schmal .kachel .wert { font-size: 1.35rem; }
.kachel .bez { display: block; font-size: .78rem; color: var(--grau); }
.grundlage { max-width: 52rem; }

/* ── Schmerzpunkte ───────────────────────────────────────────────────── */
.raster-drei {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
}
.schmerzfeld {
  background: #fff; border: var(--rahmen); border-radius: var(--radius);
  padding: 1.4rem;
}
.schmerzzahl { font-size: .8rem; color: var(--grau); margin-bottom: .6rem; }
.schmerzzahl span {
  display: block; font-size: 1.6rem; font-weight: 700; color: var(--gold);
  line-height: 1.1;
}
.schmerzfeld p:last-child { font-size: .95rem; color: #4a4a4a; }

/* ── System ──────────────────────────────────────────────────────────── */
.raster-vier {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.25rem; margin-top: 1.5rem;
}
.systemfeld { border-top: 3px solid var(--gold); padding-top: .9rem; }

/* ── Reaktionszeiten ─────────────────────────────────────────────────── */
table.zeiten { width: 100%; max-width: 40rem; border-collapse: collapse; }
table.zeiten td { padding: .7rem 0; border-bottom: var(--rahmen); }
table.zeiten td.zahl {
  text-align: right; font-weight: 700; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ── Pakete ──────────────────────────────────────────────────────────── */
.pakettabelle { overflow-x: auto; margin: 1.5rem 0 1rem; }
table.pakete { width: 100%; border-collapse: collapse; min-width: 44rem; }
table.pakete th, table.pakete td {
  padding: .6rem .7rem; border-bottom: var(--rahmen); text-align: center;
  font-size: .92rem;
}
table.pakete th { vertical-align: bottom; background: #fff; }
.band-hell table.pakete th { background: var(--warmweiss); }
table.pakete td.leistung, table.pakete th.leistung {
  text-align: left; width: 42%;
}
.paketnr {
  display: block; font-size: .72rem; color: var(--grau); letter-spacing: .1em;
}
.paketname { display: block; font-size: 1.05rem; font-weight: 700; }
.paketpreis {
  display: block; font-size: 1.5rem; font-weight: 700; color: var(--gold);
  line-height: 1.2;
}
.paketkurz {
  display: block; font-size: .76rem; color: var(--grau); font-weight: 400;
  margin-top: .2rem; max-width: 12rem; margin-inline: auto;
}
.ja { color: var(--gold); font-weight: 700; }
.nein { color: #bdb8ae; }
tr.rest td {
  background: var(--anthrazit); color: #fff; font-weight: 700; font-size: .88rem;
  border-bottom: none;
}
tr.rest td.leistung { background: var(--anthrazit); }

/* ── Preis ───────────────────────────────────────────────────────────── */
.preis-gitter {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 2rem; margin-top: 1.5rem;
}
.preis-gitter h3 {
  text-transform: uppercase; letter-spacing: .1em; font-size: .75rem;
  color: var(--gold-hell); margin-bottom: .6rem;
}

/* ── Zusagen ─────────────────────────────────────────────────────────── */
ul.zusagen { list-style: none; margin: 1.2rem 0; }
ul.zusagen li {
  padding: 1rem 0 1rem 2.2rem; border-bottom: var(--rahmen); position: relative;
}
ul.zusagen li::before {
  content: "✔"; position: absolute; left: 0; top: 1rem;
  color: var(--gold); font-weight: 700;
}
ul.zusagen li:last-child { border-bottom: none; }

/* ── Ablauf ──────────────────────────────────────────────────────────── */
ol.wochen {
  list-style: none; display: grid; gap: 1.25rem; margin: 1.5rem 0;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
ol.wochen li {
  background: var(--warmweiss); border-radius: var(--radius); padding: 1.4rem;
}
.band-hell ol.wochen li { background: #fff; border: var(--rahmen); }
.wochennr {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold-dunkel); font-weight: 700; margin-bottom: .3rem;
}

/* ── Warum wir ───────────────────────────────────────────────────────── */
.wir-gitter {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem;
  align-items: start;
}
.wir-gitter.ohne-bild { grid-template-columns: 1fr; }
.wir-gitter.ohne-bild > div { max-width: 48rem; }

dl.unterschiede { margin: 1.5rem 0; }
dl.unterschiede dt {
  font-weight: 700; margin-top: 1.1rem; padding-left: 1rem;
  border-left: 3px solid var(--gold);
}
dl.unterschiede dd {
  padding-left: 1rem; border-left: 3px solid var(--hellgrau);
  color: #4a4a4a; font-size: .95rem;
}
.teambild { margin: 0; position: sticky; top: 6rem; }
@media (max-width: 56rem) {
  .wir-gitter { grid-template-columns: 1fr; gap: 2rem; }
  .teambild { position: static; max-width: 20rem; }
}

/* ── Galerie ─────────────────────────────────────────────────────────── */
.galerie {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem; margin: 2rem 0;
}
.galerie figure { margin: 0; }
.galerie img {
  width: 100%; height: auto; border-radius: var(--radius); display: block;
  aspect-ratio: 4 / 3; object-fit: cover;
}

/* ── Fragen ──────────────────────────────────────────────────────────── */
.fragen { margin: 1.5rem 0; }
.fragen details { border-bottom: var(--rahmen); }
.fragen summary {
  cursor: pointer; padding: 1rem 0; font-weight: 700; font-size: 1.02rem;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.fragen details[open] summary::after { content: "–"; }
.fragen details p { padding-bottom: 1.2rem; color: #4a4a4a; max-width: 48rem; }

/* ── Analyse-Band ────────────────────────────────────────────────────── */
.band-titel { margin-bottom: .6rem; }
ul.nutzen { list-style: none; margin: 1.2rem 0 2rem; }
ul.nutzen li { padding: .35rem 0 .35rem 1.6rem; position: relative; font-size: .97rem; }
ul.nutzen li::before {
  content: "→"; position: absolute; left: 0; color: var(--gold); font-weight: 700;
}
.naechstes { margin-top: 1rem; }

/* ── Karte und Formular ──────────────────────────────────────────────── */
.karte {
  background: #fff; border: var(--rahmen); border-radius: var(--radius);
  padding: 1.75rem; margin-bottom: 1.25rem;
}
.karte.ergebnis { border-left: 4px solid var(--gold); }
.karte.abschluss { background: var(--warmweiss); }

ol.schritte {
  display: flex; gap: .4rem; list-style: none; margin-bottom: 1.4rem;
  font-size: .8rem; flex-wrap: wrap;
}
ol.schritte li {
  padding: .25rem .8rem; border-radius: 99px;
  background: var(--warmweiss); color: var(--grau);
}
ol.schritte li.aktiv { background: var(--gold); color: #fff; font-weight: 700; }
ol.schritte li.fertig { background: var(--hellgrau); color: var(--anthrazit); }

p.rueckblick {
  background: var(--warmweiss); border-radius: 4px; padding: .5rem .8rem;
  font-size: .87rem; color: var(--grau); margin-bottom: 1rem;
}
p.rueckblick a { color: var(--gold-dunkel); margin-left: .4rem; }

.paar { display: flex; gap: 1rem; flex-wrap: wrap; }
.paar > .feld { flex: 1 1 15rem; }
.feld { margin-bottom: 1.1rem; }
.feld.schmal { max-width: 16rem; }
label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .3rem; }

input[type=text], input[type=email], input[type=tel], input[type=number],
select, textarea {
  width: 100%; padding: .65rem .75rem; font: inherit; font-size: .95rem;
  border: 1px solid #c9c3b8; border-radius: 4px; background: #fff; color: inherit;
}
input:focus-visible, select:focus-visible, textarea:focus-visible,
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--rot); }
textarea { resize: vertical; }

fieldset { border: none; margin-bottom: 1.3rem; }
fieldset.zahlen {
  background: var(--warmweiss); border-radius: var(--radius);
  padding: 1.1rem 1.1rem .2rem;
}
legend { font-weight: 700; font-size: .92rem; margin-bottom: .3rem; }
fieldset.zahlen legend { padding: 0; }

.auswahl { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-top: .5rem; }
label.haken {
  display: flex; align-items: flex-start; gap: .5rem;
  font-weight: 400; font-size: .93rem; margin-bottom: 0; cursor: pointer;
}
label.haken input { margin-top: .3rem; flex: none; }
.einwilligung label.haken { font-size: .88rem; line-height: 1.5; }

/* ── Knopf ───────────────────────────────────────────────────────────── */
.knopf {
  display: inline-block; background: var(--gold); color: #fff; border: none;
  border-radius: 5px; padding: .8rem 1.7rem; font: inherit; font-weight: 700;
  cursor: pointer; text-decoration: none; text-align: center;
}
.knopf:hover { background: var(--gold-dunkel); }
.knopf-gross { padding: .95rem 2rem; font-size: 1.03rem; }
.knopf-klein { padding: .5rem 1rem; font-size: .88rem; }

.fehler { color: var(--rot); font-size: .85rem; margin-top: .3rem; font-weight: 700; }
.hinweis {
  background: var(--warmweiss); border-left: 3px solid var(--gold);
  padding: .8rem 1rem; margin-top: .8rem; font-size: .9rem;
}

table.rechnung { width: 100%; border-collapse: collapse; margin: .75rem 0; }
table.rechnung td { padding: .55rem 0; border-bottom: var(--rahmen); }
table.rechnung td.zahl {
  text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap;
}
table.rechnung tr:last-child td { border-bottom: none; }

ol.massnahmen { margin: .75rem 0 0 1.2rem; }
ol.massnahmen li { margin-bottom: .8rem; padding-left: .3rem; }

/* Fuer Menschen unsichtbar, fuer einfache Skripte nicht. Nicht display:none --
   manche Skripte ueberspringen ausgeblendete Felder. */
.honigtopf {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

/* ── Rechtstexte ─────────────────────────────────────────────────────── */
.rechtstext h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 1.5rem; }
.rechtstext h2 { font-size: 1.15rem; margin: 2rem 0 .5rem; }
.rechtstext p, .rechtstext li { max-width: 42rem; }
.rechtstext ul { margin: .5rem 0 .5rem 1.2rem; }
.rechtstext li { margin-bottom: .5rem; }
.rechtstext a { color: var(--gold-dunkel); }

/* ── Fuss ────────────────────────────────────────────────────────────── */
.fuss {
  background: var(--warmweiss); border-top: var(--rahmen);
  padding: 2rem 0 3rem; font-size: .86rem; color: var(--grau);
}
.fuss-firma { color: var(--anthrazit); }
.fuss-links { margin: .5rem 0 .8rem; }
.fuss a { color: var(--gold-dunkel); }
.fuss .klein { max-width: 52rem; }
.hinweis a { color: var(--gold-dunkel); }

@media (max-width: 34rem) {
  body { font-size: 16px; }
  .band { padding: 2.75rem 0; }
  .karte { padding: 1.2rem; }
  .kachel .wert { font-size: 1.45rem; }
}
