/* Anwendungsfall-Seiten (AF-2 Vorlage). Baut auf site.css-Tokens auf. Nur von /loesungen/*-Seiten geladen.
   Keine Gedankenstriche, echte Umlaute. */

.brotkrume { margin: 0 0 16px; font-size: .875rem; color: var(--tinte-3, #8a8aa0); }
.brotkrume a { color: var(--tinte-2, #55556a); text-decoration: none; }
.brotkrume a:hover { text-decoration: underline; }

/* Baustein 1: Kopf */
.af-problem { margin: 0 0 10px; font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 500; font-style: italic;
  color: var(--tinte-2, #55556a); }
.af-knopf { margin-top: 24px; }

/* Baustein 3: Schritte */
.af-schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 3vw, 36px); }
.af-schritte > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px);
  align-items: center; }
.af-schritte > li:nth-child(even) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.af-schritte > li:nth-child(even) .af-schritt__text { order: 2; }
.af-schritt__nr { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px;
  background: var(--akzent-hell, #f3eefc); color: var(--akzent, #6b1fd1); font-weight: 600; font-size: 1rem; margin-bottom: 12px; }
.af-schritt__text h3 { margin: 0 0 8px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -.01em; }
.af-schritt__text p { margin: 0; color: var(--tinte-2, #55556a); line-height: 1.55; }

/* Platzhalter für spätere Musterbilder */
.af-platzhalter { display: grid; place-items: center; min-height: 240px; border-radius: 16px;
  background: var(--grau-1, #f6f6f9); color: var(--tinte-3, #8a8aa0); font-size: .9375rem;
  box-shadow: inset 0 0 0 1px var(--linie, #e5e7ec); }
.af-platzhalter--breit { min-height: 320px; }

/* Baustein 4: Was Sie bekommen und was nicht */
.af-grenzen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1000px; margin-inline: auto; }
.af-grenzen__spalte { padding: 24px 26px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie, #e5e7ec); }
.af-grenzen__spalte h3 { margin: 0 0 14px; font-size: 1.0625rem; font-weight: 600; }
.af-grenzen__spalte ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.af-grenzen__spalte li { position: relative; padding-left: 26px; color: var(--tinte-2, #55556a); line-height: 1.5; }
.af-grenzen__ja li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px;
  border-left: 2px solid #16a34a; border-bottom: 2px solid #16a34a; transform: rotate(-45deg); }
.af-grenzen__nein li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 2px;
  background: var(--tinte-3, #8a8aa0); }

/* Baustein 5: Beleg */
.af-beleg { max-width: 1000px; margin-inline: auto; display: grid; gap: 14px; }
.af-beleg__zahl { margin: 0; font-size: .9375rem; color: var(--tinte-2, #55556a); }
.af-stichtag { color: var(--tinte-3, #8a8aa0); }

/* Baustein 6: FAQ (nutzt vorhandene .aufklapp-Optik, hier nur Rahmen) */
.af-faq { max-width: 820px; margin-inline: auto; }

/* Baustein 7: Abschluss */
.af-abschluss { text-align: center; max-width: 820px; margin-inline: auto; }
.af-abschluss .weiter { margin-top: 32px; text-align: left; }

@media (max-width: 760px) {
  .af-schritte > li, .af-schritte > li:nth-child(even) { grid-template-columns: 1fr; }
  .af-schritte > li:nth-child(even) .af-schritt__text { order: 0; }
  .af-grenzen { grid-template-columns: 1fr; }
}

/* AF-6: Aufgaben-Kacheln auf der Startseite */
.af-kacheln { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr)); }
.af-kacheln a { position: relative; display: block; height: 100%; padding: 22px 24px; border-radius: 16px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--linie, #e5e7ec); text-decoration: none; color: var(--tinte, #17171f);
  transition: box-shadow .15s, transform .1s; }
.af-kacheln a:hover { box-shadow: inset 0 0 0 1px var(--linie-2, #c9c9d6), 0 10px 28px -16px rgba(13,13,25,.4); }
.af-kacheln b { display: block; margin: 0 0 8px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; padding-right: 24px; }
.af-kacheln span { display: block; color: var(--tinte-2, #55556a); font-size: .9375rem; line-height: 1.5; }
.af-kachel__pfeil { position: absolute; top: 22px; right: 22px; color: var(--tinte-3, #8a8aa0); }
.af-kachel__pfeil svg { width: 18px; height: 18px; }
.af-zielgruppen { margin: 22px 0 0; text-align: center; font-size: .9375rem; color: var(--tinte-2, #55556a); }
.af-zielgruppen span { color: var(--tinte-3, #8a8aa0); }
.af-zielgruppen a { color: var(--tinte, #17171f); text-decoration: none; }
.af-zielgruppen a:hover { text-decoration: underline; }
@media (max-width: 900px) { .af-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .af-kacheln { grid-template-columns: 1fr; } }

/* AF-6: Probe-Hinweisband + Fassung-B-Vorschau (nur auf der Probe-Seite) */
.af-probebanner { background: #fff4d6; color: #5a4a10; text-align: center; padding: 10px 16px; font-size: .875rem;
  border-bottom: 1px solid #ecd9a0; }
.af-fassungb { background: var(--grau-1, #f6f6f9); padding: 20px; margin: 0; text-align: center;
  border-bottom: 1px solid var(--linie, #e5e7ec); }
.af-fassungb small { display: block; color: var(--tinte-3, #8a8aa0); margin-bottom: 6px; font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; }
.af-fassungb b { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 600; letter-spacing: -.02em; }

/* AF-6: Vergleich-Schaubild (Platzhalter N2) */
.af-vergleich { max-width: 1000px; margin-inline: auto; }

/* AF-6: gekürzter KI-Abschnitt (ein Satz + Link) */
.af-kibox { max-width: 820px; margin-inline: auto; text-align: center; }
.af-kibox .vorspann { margin: 10px auto 20px; }

/* 01.11.2026 (c0): Schaubilder N2 (Startseite) und N5 (KI-Seite) als HTML statt Platzhalter. Echte Texte, mobil einspaltig. */
.af-schaubild { margin: 0; padding: clamp(16px, 3vw, 32px); border-radius: 20px; background: var(--pastell-c); box-shadow: inset 0 0 0 1px var(--linie); }
.sb-raster { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(12px, 2.4vw, 28px); align-items: stretch; }
.sb-seite { display: flex; flex-direction: column; gap: 14px; padding: clamp(16px, 2vw, 22px); border-radius: 16px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--linie); }
.sb-seite--ziel { background: #fff; box-shadow: inset 0 0 0 1.5px var(--violett), 0 18px 40px -26px rgba(106, 44, 240, .55); }
.sb-kopf { margin: 0; font: 600 .78rem/1.3 var(--f); letter-spacing: .06em; text-transform: uppercase; color: var(--tinte-3); }
.sb-seite--ziel .sb-kopf { color: var(--violett); }
.sb-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sb-liste li { display: flex; align-items: center; gap: 12px; padding: 9px 12px 9px 9px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); }
.sb-liste .ic { flex: 0 0 34px; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--grau-1); color: var(--tinte-2); stroke-width: 1.8; }
.sb-txt { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.sb-liste b { font-size: .9375rem; font-weight: 600; line-height: 1.25; color: var(--tinte); }
.sb-liste span { font-size: .8125rem; line-height: 1.35; color: var(--tinte-3); }
.sb-liste--lose li:nth-child(odd) { transform: none; }
.sb-liste--lose li:nth-child(even) { transform: none; }
.sb-liste--akte li { box-shadow: none; background: var(--violett-hauch); }
.sb-liste--akte .ic { background: #fff; color: var(--violett); }
.sb-liste--entwurf li { box-shadow: none; outline: 1.5px dashed var(--linie-2); outline-offset: -1.5px; background: rgba(255, 255, 255, .85); }
.sb-marke { flex: 0 0 auto; align-self: center; padding: 3px 9px; border-radius: 999px; background: var(--grau-1); color: var(--tinte-3); font: 500 .72rem/1.2 var(--f); font-style: normal; }
.sb-fuss { margin: auto 0 0; font-size: .875rem; line-height: 1.45; color: var(--tinte-2); }
.sb-mitte { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.sb-pfeil { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--violett); color: #fff; box-shadow: 0 10px 24px -12px rgba(106, 44, 240, .8); }
.sb-pfeil .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.sb-mitte__text { max-width: 110px; text-align: center; font-size: .8125rem; font-weight: 600; line-height: 1.3; color: var(--violett); }
.sb-unterschrift { margin: 14px 2px 0; font-size: .8125rem; color: var(--tinte-3); text-align: center; }
@media (max-width: 760px) {
  .sb-raster { grid-template-columns: minmax(0, 1fr); }
  .sb-mitte { flex-direction: row; }
  .sb-pfeil { transform: rotate(90deg); }
  .sb-mitte__text { max-width: none; }
  .sb-liste--lose li:nth-child(even) { transform: none; }
}
/* 01.11.2026 (Ruben): Platzhalter „… folgt“ nicht mehr zeigen. Bis die Musterhaus-Bilder da sind, ist der Schritt einspaltig. */
.af-platzhalter { display: none; }
.af-schritt__bild:has(> .af-platzhalter) { display: none; }
.af-schritte > li:has(.af-platzhalter), .af-schritte > li:nth-child(even):has(.af-platzhalter) { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.af-schritte > li:nth-child(even):has(.af-platzhalter) .af-schritt__text { order: 0; }

/* 02.11.2026: Bildschirme aus dem Musterhaus (Musterdaten der erfundenen Stadt Musterstadt) */
.af-schritt__bild img, .af-beleg__bild { display: block; width: 100%; height: auto; border-radius: 14px;
  border: 1px solid rgba(23, 23, 31, .08); background: #fff;
  box-shadow: 0 1px 2px rgba(23, 23, 31, .04), 0 18px 40px -26px rgba(23, 23, 31, .35); }
.af-schritt__bild img { max-height: 620px; object-fit: cover; object-position: top left; }
.af-schritt__bild img.af-bild--schmal { max-width: 460px; margin-inline: auto; }
