/* Flowlee · Kosten-Seite (/webdesign/kosten/), freigegeben 25.11.2026.
   Baut auf system.css, seiten.css und branchen.css auf und ändert dort nichts.
   Hier steht nur, was die Seite eigen hat: der Einstieg mit den drei Beträgen und das Blatt der Kostenaufstellung.
   Keine Bewegung, kein Skript: Das Blatt ist ein Dokument zum Lesen. */

/* Einstieg: Frage, Antwort in Beträgen, Nachsatz. Die Beträge tragen die Markenfarbe, der Nachsatz tritt zurück. */
.einstieg--kosten .einstieg__titel { font-size: clamp(32px, 9vw, 44px); line-height: 1.04; }
.einstieg--kosten .einstieg__antwort { color: var(--violett-hell); font-variant-numeric: tabular-nums; }
.einstieg--kosten .einstieg__titel .einstieg__betrag { display: inline; white-space: nowrap; }
.einstieg--kosten .einstieg__titel > span:last-child { margin-top: .32em; font-size: .56em; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; color: var(--hell-text); }
@media (min-width: 768px) { .einstieg--kosten .einstieg__titel { font-size: clamp(44px, 6vw, 56px); } }
@media (min-width: 1024px) { .einstieg--kosten .einstieg__titel { max-width: 15em; font-size: clamp(52px, 5vw, 72px); } }

/* ======================================================================
   DAS BLATT · weißes Papier auf grauer Fläche, Posten links, Betrag rechts
   Die Linien sind die Tabellenlinien eines Angebots: kräftig je Block, fein je Posten.
   ====================================================================== */
.aufstellung .teil__kopf { margin-bottom: 28px; }
.blatt { background: var(--weiss); color: var(--text); padding: 24px 20px 28px; box-shadow: 0 1px 0 rgb(0 0 0 / .06), 0 18px 40px -24px rgb(0 0 0 / .28); }
.blatt__kopf { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 28px; font-size: 14px; line-height: 1.3; font-weight: 700; color: var(--text-leise); }

.blatt__block + .blatt__block { margin-top: 36px; }
.blatt__titel { margin: 0; padding-bottom: 10px; border-bottom: 2px solid var(--text); font-weight: 800; font-size: 18px; line-height: 1.25; letter-spacing: -.01em; }
.blatt__hinweis { margin-left: .5em; font-weight: 500; font-size: 14px; letter-spacing: 0; color: var(--text-leise); }
.blatt__posten, .blatt__summe { margin: 0; }

.posten { padding: 16px 0; border-bottom: 1px solid var(--linie); }
.posten dt { margin: 0; }
.posten__was { display: block; font-weight: 700; font-size: 17px; line-height: 1.35; }
.posten__text { display: block; margin-top: 4px; max-width: 36em; font-size: 15px; line-height: 1.55; color: var(--text-2, var(--text-leise)); }
.posten dd { margin: 10px 0 0; font-weight: 800; font-size: 17px; line-height: 1.3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.posten--leise dd { font-weight: 600; color: var(--text-leise); }
.posten--gross dd { font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: -.03em; }
.posten--premium .posten__was, .posten--premium dd { color: var(--violett); }

/* Summenzeile: doppelte Linie wie unter einer Rechnung */
.blatt__summe { margin-top: 36px; border-top: 2px solid var(--text); }
.blatt__summe .posten { border-bottom: 2px solid var(--text); }

.blatt__fuss { margin-top: 28px; }
.blatt__fuss p { margin: 0 0 20px; max-width: 30em; font-weight: 650; font-size: 17px; line-height: 1.5; }

@media (min-width: 768px) {
  .blatt { padding: 44px 48px 48px; }
  .blatt__kopf { margin-bottom: 40px; font-size: 15px; }
  .blatt__block + .blatt__block { margin-top: 48px; }
  .blatt__titel { font-size: 20px; }
  .posten { display: grid; grid-template-columns: minmax(0, 1fr) 250px; column-gap: 40px; align-items: baseline; padding: 18px 0; }
  .posten dd { margin: 0; text-align: right; }
  .posten--gross dd { font-size: 36px; }
  .blatt__summe { margin-top: 48px; }
  .blatt__fuss { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 36px; }
  .blatt__fuss p { margin: 0; }
  .blatt__knopf { flex: 0 0 320px; }
}
@media (min-width: 1024px) {
  .aufstellung .teil__kopf { margin-bottom: 40px; }
  .blatt { max-width: 960px; padding: 56px 64px 60px; }
  /* Posten in zwei Spalten: Name links, Erklärung daneben, Betrag rechts */
  .posten dt { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 32px; align-items: baseline; }
  .posten__was { font-size: 18px; }
  .posten__text { margin-top: 0; font-size: 16px; }
  .posten--gross dd { font-size: 40px; }
}

/* ======================================================================
   WAS DEN PREIS BEWEGT · ein Beispiel für eine Sonderfunktion
   ====================================================================== */
.beispiel { width: 100%; max-width: none; margin: 40px 0 0; }
.beispiel__link { display: block; color: inherit; text-decoration: none; }
.beispiel__link:focus-visible { outline: 3px solid var(--text); outline-offset: 6px; }
.beispiel__bilder { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) 24%; gap: 12px; align-items: end; }
.beispiel__bilder img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 14px 34px -20px rgb(0 0 0 / .45); }
.beispiel figcaption { display: block; margin-top: 16px; font-size: 15px; line-height: 1.5; color: var(--text-leise); }
.beispiel figcaption > span { display: block; }
.beispiel__zeile { font-weight: 800; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; color: var(--text); }
.beispiel__live { margin-top: 2px; padding: 9px 0; font-weight: 700; color: var(--violett); }
.beispiel__link:hover .beispiel__live { text-decoration: underline; }
@media (min-width: 1024px) {
  .beispiel { margin-top: 56px; }
  .beispiel__bilder { gap: 20px; }
  .beispiel__zeile { font-size: 22px; }
}
