/* Seite Makler */

main > .band:not(.buehne) { --band-abstand: var(--a-7); }
main > .band .band-kopf { margin-bottom: var(--a-4); }

/* --- Bühne: Regler */
@property --schub { syntax: "<length>"; inherits: true; initial-value: 0px; }
:root { --bildgrund: rgb(182 190 199); }
.modell-buehne { background: var(--bildgrund); }
.regler-oben { clip-path: inset(0 0 0 calc(var(--teil) + var(--schub))); }
.regler-linie { left: calc(var(--teil) + var(--schub)); }
.regler-linie::after { background: var(--weiss); }
@keyframes regler-wink { 0%, 100% { --schub: 0px; } 45% { --schub: 40px; } }
@media (prefers-reduced-motion: no-preference) {
  html.js:not([data-bewegung="aus"]) .buehne [data-umschalter] { animation: regler-wink 1.3s cubic-bezier(.45, 0, .25, 1) 1s 1 both; }
}
.buehne-text .buehne-preis { max-width: 34em; }

/* --- Vorschau: Regler, Inserat, Exposé */
.vorschau-raster { display: grid; gap: var(--a-6) var(--a-6); align-items: start; }
.vorschau-kopf { gap: var(--a-4); }
.vorschau-kopf .band-kopf { margin-bottom: 0; }
.vorschau-raster [data-attrappe="expose"] { max-width: 320px; }
@media (min-width: 700px) and (max-width: 1099px) {
  .vorschau-raster { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .vorschau-raster > .vorschau-kopf, .vorschau-raster > .vorschau-regler { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .vorschau-raster { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) minmax(0, 3fr); gap: var(--a-6) var(--a-6); }
  .vorschau-raster > .vorschau-kopf { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: var(--a-6); align-items: end; }
}
.form-inserat { aspect-ratio: 1 / 1; border: 1px solid var(--linie); }
.form-inserat > .a-inhalt { height: 100%; grid-template-rows: auto minmax(0, 1fr); grid-auto-rows: auto; }
.form-inserat > [data-attrappe-offen] { position: absolute; inset: 0; padding: 0; }
.form-inserat .a-bild { aspect-ratio: auto; min-height: 0; height: 100%; }
.a-eckdaten-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 520px) { .form-inserat { aspect-ratio: 4 / 5; } }
.form-papier > .a-bild { aspect-ratio: auto; height: 0; padding-bottom: 56%; }
@media (max-width: 699px) { .attrappe-rahmen.form-papier { aspect-ratio: auto; gap: 12px; } }

/* --- Fragen */
@media (min-width: 1100px) {
  #fragen .aufklapper { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--a-6); align-items: start; border-top: 0; }
  #fragen .aufklapper > details:nth-child(-n+2) { border-top: 1px solid var(--b-text); }
  #fragen details[data-einwand] > :not(summary) { padding-right: 0; }
}

.a-linktext { font-size: 12px; font-weight: 600; text-decoration: underline; color: var(--modell-tief); }
.form-inserat .a-beispiel { white-space: nowrap; }


.buehne-preis [data-preis] { white-space: nowrap; }
/* Beleg-Zahl in der Größe der Überschriften: sonst steht am Rechner eine sechste Schriftgröße auf der Seite (R60). */
#nutzen [data-beleg] .zahl { font-size: var(--t-2); line-height: 1.08; }
