/* Ergänzung zu start.css für Preise, Viewer-Seite, FAQ und Rechtstexte. */

/* ---------- Seitenkopf ---------- */
.seiten-kopf { background: var(--flaeche); padding-block: clamp(52px, 6.5vw, 92px); }
.seiten-kopf .zweispalter { margin-bottom: 0; }
.seiten-kopf .hero-aktionen { margin-top: 28px; }

.sprungleiste { display: flex; flex-wrap: wrap; gap: 0 clamp(18px, 2.4vw, 32px); margin-top: clamp(24px, 3vw, 40px); }
.sprungleiste a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 13px; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none; text-underline-offset: 6px;
}
.sprungleiste a:hover { text-decoration: underline; }

/* ---------- Preise ---------- */
#baudokumentation, .modell-band { padding-top: clamp(40px, 4.4vw, 64px); }

.gruppen-label {
  margin-bottom: clamp(76px, 7vw, 96px); padding-bottom: 12px;
  border-bottom: 1px solid var(--linie); font-weight: 500;
}

.preis-kopf {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 28px var(--spalt); align-items: start;
  margin-bottom: clamp(44px, 5vw, 68px);
}
.preis-kopf p { max-width: 62ch; }
.preis-kopf h2 + p { margin-top: 14px; }
.preis-kopf figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.geraet-tag { margin-top: 12px; font-size: 15px; font-weight: 400; line-height: 1.6; }

.preis-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; }
.preis-karten.vierer { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.preis-karte { position: relative; display: flex; flex-direction: column; padding-top: 18px; border-top: 1px solid var(--linie); }
.preis-karte .umfang { margin-top: 2px; }
.preis {
  margin-top: 18px; font-size: clamp(40px, 3.8vw, 54px); font-weight: 300; line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.preis small { font-size: 16px; font-weight: 300; }
.preis-zusatz { margin-top: 6px; font-size: 15px; line-height: 1.6; }
.preis-karte .plus-liste { margin-block: 20px; }
.preis-fussnote { margin-top: auto; font-size: 13px; line-height: 1.6; }

.preis-karte.hervor {
  --linie: var(--weiss);
  margin-top: -1px; padding: 18px 20px 22px; border-top: 0;
  background: var(--schwarz); color: var(--weiss);
}
.beliebt { position: absolute; top: 22px; right: 20px; font-size: 15px; font-weight: 400; }

.preis-info { margin-top: clamp(32px, 4vw, 48px); padding: 24px clamp(20px, 3vw, 32px); background: var(--flaeche); }
.flaeche .preis-info { background: var(--weiss); }

.baudoku-karte {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px var(--spalt); align-items: stretch;
}
.baudoku-karte h3 { margin-bottom: 18px; }
.baudoku-cta {
  --linie: var(--weiss);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: clamp(28px, 4vw, 48px); background: var(--schwarz); color: var(--weiss);
}
.baudoku-cta .preis { margin-top: 0; }
.baudoku-cta .knopf { margin-top: 24px; }

.anfahrt-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px var(--spalt); align-items: start; }
.anfahrt-raster h2 + p { margin-top: 14px; max-width: 62ch; }
.preistabelle { width: 100%; border-collapse: collapse; }
.preistabelle th, .preistabelle td { padding: 13px 0; border-top: 1px solid var(--linie); text-align: left; }
.preistabelle th { font-weight: 500; }
.preistabelle tbody tr:last-child td { border-bottom: 1px solid var(--linie); }
.preistabelle .wert, .preistabelle th:last-child { font-weight: 400; text-align: right; white-space: nowrap; }

/* ---------- Viewer-Seite ---------- */
.ohne-abstand { margin-bottom: 0; }
.zweispalter > div > h2 + p { margin-top: 14px; padding-top: 0; }
.modell-fuss { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 24px; }
.modell-fuss p { max-width: 62ch; }
.modell-fuss h2 + p, .modell-fuss p + p { margin-top: 14px; }
.modell-fuss .knopf { flex: none; }

.zugang-form { display: flex; flex-wrap: wrap; gap: 8px; }
.zugang-form input {
  flex: 1 1 240px; min-width: 0; min-height: 64px; padding: 0 18px;
  border: 1px solid var(--tinte); border-radius: 0; background: var(--weiss); color: var(--tinte);
  font: inherit; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase;
}
.zugang-form input::placeholder { color: #5c5c5c; opacity: 1; }
.zugang-meldung { min-height: 1.8em; margin-top: 12px; font-size: 15px; line-height: 1.6; }
.zugang-meldung[data-art="fehler"] { color: #b3261e; }
.visuell-versteckt {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.vorfuehrung-video { display: block; width: 100%; height: auto; background: var(--schwarz); }
.vorfuehrung figcaption { max-width: 62ch; margin-top: 16px; }

.galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 64px) 32px; }
.galerie-bild:first-child { grid-column: 1 / -1; }
.galerie-lupe { display: block; }
.galerie-bild img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 100%; }
.galerie-bild figcaption { max-width: 62ch; margin-top: 14px; }
.galerie-bild figcaption strong { display: block; margin-bottom: 4px; font-size: var(--h3); font-weight: 300; line-height: 1.36; }

.kachel-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kachel {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: clamp(240px, 26vw, 340px); padding: clamp(24px, 3vw, 36px);
  background: var(--weiss); color: var(--tinte); text-decoration: none;
  transition: background-color 180ms ease-out;
}
.kachel:hover { background: var(--hellgrau); }
.kachel-leer { background: var(--schwarz); color: var(--weiss); }
.kachel-leer:hover { background: var(--dunkel); }
.kachel-art { font-weight: 500; }
.kachel-bild { position: absolute; top: clamp(20px, 2.6vw, 32px); right: clamp(20px, 2.6vw, 32px); }
.kachel-bild svg { width: 72px; height: 72px; stroke-width: 1.5; }
.kachel-leer .kachel-bild svg { stroke: var(--weiss); }
.kachel-titel { display: block; font-size: var(--h3); font-weight: 300; line-height: 1.36; }
.kachel-zeile { display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: 6px; font-size: 15px; line-height: 1.6; }
.hinweis-klein { max-width: 62ch; margin-top: 32px; font-size: 15px; line-height: 1.7; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px var(--spalt); align-items: start; }
.faq h2 { padding-bottom: 8px; }
.faq h2:not(:first-child) { margin-top: clamp(56px, 7vw, 88px); }
.faq h3 { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--linie); }
.faq p { margin-top: 8px; max-width: 62ch; }
.faq p strong { font-weight: 400; }
.faq a { text-underline-offset: 3px; }
.faq-seite { position: sticky; top: 112px; }
.faq-box { display: grid; gap: 14px; padding: clamp(24px, 3vw, 36px); background: var(--flaeche); }
.faq-box-titel { font-size: var(--h3); font-weight: 300; line-height: 1.36; }
.faq-tel { display: flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; font-weight: 400; }
.faq-tel:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Rechtstexte ---------- */
.rechtstext:not(.faq) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rechtstext:not(.faq) > * { grid-column: 2; margin-top: 12px; }
.rechtstext:not(.faq) > h2 {
  grid-column: 1; margin-top: clamp(32px, 4vw, 48px); padding: 16px var(--spalt) 0 0;
  border-top: 1px solid var(--linie);
  font-size: var(--h3); line-height: 1.36; hyphens: auto;
}
.rechtstext:not(.faq) > h2 + * {
  margin-top: clamp(32px, 4vw, 48px); padding-top: 16px; border-top: 1px solid var(--linie);
}
.rechtstext:not(.faq) > h2:first-child, .rechtstext:not(.faq) > h2:first-child + * { margin-top: 0; }
.rechtstext h3 { font-size: 18px; font-weight: 400; line-height: 1.5; }
.rechtstext:not(.faq) > h3 { margin-top: 24px; }
.rechtstext address { font-style: normal; }
.rechtstext ul { padding-left: 1.2em; list-style: disc; }
.rechtstext a { overflow-wrap: anywhere; text-underline-offset: 3px; }

/* ---------- Breiten ---------- */
@media (max-width: 1120px) {
  .preis-karten, .preis-karten.vierer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .preis-kopf, .baudoku-karte, .anfahrt-raster, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-seite { position: static; }
  .faq p { max-width: none; }
}

@media (max-width: 800px) {
  .modell-fuss { flex-direction: column; align-items: stretch; }
  .galerie, .kachel-raster { grid-template-columns: minmax(0, 1fr); }
  .rechtstext:not(.faq) { grid-template-columns: minmax(0, 1fr); }
  .rechtstext:not(.faq) > *, .rechtstext:not(.faq) > h2 { grid-column: 1; }
  .rechtstext:not(.faq) > h2 { padding-right: 0; }
  .rechtstext:not(.faq) > h2 + * { margin-top: 12px; padding-top: 0; border-top: 0; }
}

@media (max-width: 600px) {
  .preis-karten, .preis-karten.vierer { grid-template-columns: minmax(0, 1fr); }
  .baudoku-cta .knopf, .zugang-form .knopf { width: 100%; }
}
