/* Beziehungstest · Ergebnisseite und Seite „Ergebnis wird erstellt“ (Doguniversity CI, Stand 12.11.2026)
   Wird vom Worker als statische Datei ausgeliefert und auf den Webflow-Seiten eingebunden. Alles ist unter .bt-app gekapselt. */
.bt-app {
  --navy: #1a2d4c; --navy-2: #39587c; --navy-3: #bfdeef; --navy-4: #e3ecf2;
  --gruen: #97bd43; --gruen-2: #c9df95; --gruen-3: #e1edb7; --gruen-4: #f2f9d7; --gruen-5: #e3eccb;
  --seite: #f5f9ec; --blau: #eaf2f6; --blau-2: #d6e6f0;
  --text: #3e3a37; --text-2: #5b6352;
  --schatten: 0 24px 56px -34px rgba(26, 45, 77, 0.55);
  background: var(--seite); color: var(--text);
  font-family: 'Open Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.6;
  min-height: 100vh; -webkit-font-smoothing: antialiased;
}
.bt-app *, .bt-app *::before, .bt-app *::after { box-sizing: border-box; }
.bt-app h1, .bt-app h2, .bt-app h3, .bt-app p { margin: 0; }
.bt-app img { max-width: 100%; }
.bt-app a { color: var(--navy); }
.bt-wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.bt-o { font-family: 'Outfit', sans-serif; }

/* Kopf und Fuß */
.bt-kopf { background: #fff; border-bottom: 1px solid var(--gruen-5); }
.bt-kopf .bt-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.bt-kopf.is-mitte .bt-wrap { justify-content: center; }
.bt-logo { height: 40px; width: auto; display: block; }
.bt-fuss { background: var(--navy); }
.bt-fuss .bt-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; padding-top: 24px; padding-bottom: 24px; font-size: 14px; }
.bt-fuss a { color: #fff; text-decoration: none; }
.bt-fuss a:hover { text-decoration: underline; }

/* Buttons */
.bt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; }
.bt-btn.is-gruen { background: var(--gruen); color: var(--navy); }
.bt-btn.is-navy { background: var(--navy); color: #fff; }
.bt-btn.is-klein { min-height: 44px; padding: 0 18px; font-size: 15px; }
.bt-btn.is-rand { min-height: 44px; padding: 0 18px; font-size: 15px; background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.bt-btn svg { flex: 0 0 auto; }

/* Typografie */
.bt-h1 { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(2rem, 4vw, 3.125rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--navy); }
.bt-h2 { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(1.875rem, 3.6vw, 2.75rem); line-height: 1; letter-spacing: -0.02em; color: var(--navy); }
.bt-unter { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.25; color: var(--gruen); }
.bt-h3 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--navy); }
.bt-lead { font-size: clamp(0.975rem, 1.2vw, 1.0625rem); color: var(--text-2); max-width: 34em; }
.bt-gruen { color: var(--gruen); }
.bt-label { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); display: block; margin-bottom: 4px; }
.bt-fliess { display: flex; flex-direction: column; gap: 14px; font-size: 16px; max-width: 46em; }

/* Hero */
.bt-hero { padding: 48px 24px 32px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.bt-hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.bt-badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 20px 8px 8px; background: #fff; border-radius: 999px; box-shadow: 0 12px 30px -20px rgba(26, 45, 77, 0.45); font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 15px; color: var(--navy); }
.bt-badge-icon { width: 30px; height: 30px; border-radius: 999px; background: var(--gruen); color: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.bt-badge img { height: 22px; width: auto; display: block; filter: brightness(0) invert(14%) sepia(35%) saturate(1400%) hue-rotate(188deg) brightness(92%); }
.bt-ueberblick { flex: 1 1 360px; min-width: 0; max-width: 420px; background: var(--navy); color: #fff; border-radius: 28px; padding: 28px; box-shadow: var(--schatten); display: flex; flex-direction: column; gap: 22px; }
.bt-ueberblick .bt-klein { font-size: 14px; color: var(--navy-3); }
.bt-script { font-family: 'Caveat', cursive; font-weight: 700; font-size: 34px; line-height: 1.1; }
.bt-zeile { display: flex; justify-content: space-between; gap: 12px; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 15px; }
.bt-typbox { background: #fff; color: var(--navy); border-radius: 18px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.bt-typbox-icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 999px; background: var(--blau); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bt-typbox-icon img { width: 100%; height: 100%; object-fit: cover; }
.bt-striche { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
.bt-striche span { height: 6px; border-radius: 999px; background: var(--navy-2); }
.bt-striche span.is-an { background: var(--gruen); }

/* Stufen-Balken (3 Segmente) */
.bt-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.bt-seg span { height: 12px; border-radius: 999px; background: var(--gruen-4); }
.bt-seg span.is-an { background: var(--gruen); }
.bt-seg.is-dunkel span { height: 10px; background: var(--navy-2); }
.bt-seg.is-dunkel span.is-an { background: var(--gruen); }
.bt-seg.is-gross span { height: 14px; }
.bt-seg.is-klein span { height: 8px; background: var(--gruen-5); }
.bt-seg.is-klein span.is-an { background: var(--gruen); }
.bt-skala { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); font-size: 13px; color: var(--text-2); }
.bt-skala span:nth-child(2) { text-align: center; } .bt-skala span:nth-child(3) { text-align: right; }

/* Abschnitte */
.bt-abschnitt { padding: 24px; }
.bt-abschnitt.is-weit { padding-top: 40px; padding-bottom: 40px; }
.bt-panel { background: #fff; border-radius: 28px; padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--schatten); display: flex; flex-direction: column; gap: 24px; }
.bt-kopfzeile { display: flex; align-items: center; gap: 16px 20px; flex-wrap: wrap; }
.bt-nummer { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 999px; background: var(--navy); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.bt-score { margin-left: auto; flex: 0 1 300px; min-width: 220px; display: flex; flex-direction: column; gap: 8px; }
.bt-score-stufe { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 19px; color: var(--navy); }
.bt-text-bild { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.bt-text-bild .bt-fliess { flex: 1 1 460px; min-width: 0; }
.bt-rundbild { flex: 0 0 auto; width: 240px; height: 240px; margin: 0 auto; border-radius: 999px; object-fit: cover; background: #fff; box-shadow: 0 0 0 10px var(--gruen-4); display: block; }
.bt-trenn { padding-top: 28px; border-top: 1px solid var(--gruen-5); }
.bt-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

/* Zusammenfassung */
.bt-karte { background: #fff; border-radius: 26px; padding: 28px; box-shadow: var(--schatten); display: flex; flex-direction: column; gap: 22px; }
.bt-karte-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bt-pill { display: inline-flex; align-items: center; gap: 6px; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px; background: var(--gruen-3); color: var(--navy); }
.bt-pill.is-blau { background: var(--blau); }
.bt-teilzeile { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; color: var(--navy); }

/* Situationskarten */
.bt-sit { background: var(--seite); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.bt-sit-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--gruen-3); color: var(--navy); }
.bt-sit-tag.is-ausbau { background: var(--blau-2); }
.bt-sit-titel { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--navy); }
.bt-sit-antwort { background: #fff; border-radius: 14px; padding: 12px 14px; font-size: 15px; font-style: italic; }
.bt-sit-antwort .bt-label { font-style: normal; }
.bt-sit-deutung { padding-top: 14px; border-top: 1px solid var(--gruen-5); font-size: 15px; }

/* Karten nebeneinander: Situation, Antwort und Deutung stehen in allen Karten auf gleicher Höhe */
@supports (grid-template-rows: subgrid) {
  .bt-raster.is-karten > .bt-sit { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 16px; align-content: start; }
  .bt-raster.is-karten > .bt-sit > .bt-sit-tag { justify-self: start; align-self: start; }
  .bt-raster.is-karten > .bt-sit > .bt-sit-antwort { align-self: stretch; }
  .bt-raster.is-bsp > .bt-bsp { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 12px; align-content: start; }
}

/* Gut zu wissen */
.bt-info { background: var(--blau); border-radius: 24px; padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.bt-info svg { flex: 0 0 auto; }
.bt-info p { font-size: 15px; margin-top: 6px; }

/* Teaser Teil 2 */
.bt-teaser { background: var(--navy); color: #fff; border-radius: 30px; padding: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; box-shadow: var(--schatten); }
.bt-teaser-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.bt-teaser .bt-h2 { color: #fff; font-size: clamp(1.875rem, 3.4vw, 2.625rem); line-height: 1.1; }
.bt-teaser ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--navy-4); }
.bt-teaser li { display: flex; gap: 10px; }
.bt-teaser li svg { flex: 0 0 auto; margin-top: 3px; }
.bt-tag-gruen { align-self: flex-start; background: var(--gruen); color: var(--navy); font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.bt-teaser-bild { flex: 1 1 320px; min-width: 0; max-width: 420px; margin: 0 auto; position: relative; }
.bt-teaser-raster { background: #fff; border-radius: 24px; padding: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; filter: blur(5px); opacity: 0.85; }
.bt-teaser-raster div { aspect-ratio: 1; background: var(--seite); border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.bt-teaser-raster img { width: 72%; aspect-ratio: 1; border-radius: 999px; object-fit: cover; }
.bt-schloss { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.bt-schloss-kreis { width: 72px; height: 72px; border-radius: 999px; background: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -10px rgba(26, 45, 77, 0.7); }
.bt-schloss-text { background: var(--navy); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 15px; padding: 8px 16px; border-radius: 999px; text-align: center; }

/* Teil 2: Typ */
.bt-typ { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.bt-typ-bild { flex: 0 0 auto; width: 190px; height: 190px; border-radius: 999px; object-fit: cover; background: #fff; box-shadow: 0 0 0 8px var(--gruen-2); display: block; margin: 8px auto; }
.bt-typ-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.bt-typ-text .bt-lead { max-width: none; }
.bt-typname { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 1.875rem); line-height: 1.15; color: var(--gruen); }

/* Vergleich Einschätzung / Ergebnis */
.bt-vergleich { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: stretch; }
.bt-vgl { background: var(--seite); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.bt-vgl-kopf { display: flex; align-items: center; gap: 10px; }
.bt-vgl-kopf .bt-label { font-size: 13px; margin: 0; }
.bt-vgl-zitat { background: #fff; border-radius: 14px; padding: 12px 14px; font-size: 15px; font-style: italic; }
.bt-vgl.is-mitte { background: var(--navy); color: #fff; text-align: center; align-items: center; justify-content: center; }
.bt-vgl.is-mitte .bt-label { color: var(--navy-3); font-size: 13px; }
.bt-vgl.is-mitte p { align-self: stretch; text-align: left; font-size: 13px; line-height: 1.5; color: var(--navy-4); }
.bt-ue-stufe { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 28px; line-height: 1; }
.bt-ue-skala { width: 100%; max-width: 220px; }
.bt-ue-skala .bt-seg span { height: 10px; background: var(--navy-2); }
.bt-ue-skala .bt-seg span.is-an { background: var(--gruen); }
.bt-ue-skala .bt-skala { color: var(--navy-3); font-size: 12px; margin-top: 6px; }
.bt-mk-selbst { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 999px; background: #fff; border: 4px solid var(--navy); }
.bt-mk-erg { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 999px; background: var(--gruen); box-shadow: 0 0 0 4px rgba(225, 237, 183, 0.9); }

/* Matrix */
.bt-bedeutung { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.bt-bedeutung .bt-fliess { flex: 1 1 420px; min-width: 0; }
.bt-matrix { flex: 1 1 400px; min-width: 0; max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--gruen-5); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.bt-matrix-zeile { display: flex; gap: 12px; }
.bt-achse-y { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.bt-achse-y span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 14px; color: var(--navy); }
.bt-matrix-feld { flex: 1 1 auto; min-width: 0; position: relative; }
.bt-m-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bt-m-zelle { aspect-ratio: 1; background: var(--seite); border-radius: 14px; position: relative; display: flex; align-items: center; justify-content: center; }
.bt-m-zelle.is-typ { background: var(--gruen-2); }
.bt-m-zelle span { position: absolute; left: 10px; top: 6px; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 13px; color: var(--text-2); }
.bt-m-zelle.is-typ span { color: var(--navy); }
.bt-m-zelle img { width: 62%; aspect-ratio: 1; border-radius: 999px; object-fit: cover; background: #fff; display: block; }
.bt-m-zelle.is-typ img { box-shadow: 0 0 0 3px var(--gruen); }
.bt-m-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.bt-m-mk { position: absolute; transform: translate(-50%, -50%); border-radius: 999px; pointer-events: none; }
.bt-m-mk.is-erg { width: 28px; height: 28px; background: var(--gruen); box-shadow: 0 0 0 6px rgba(225, 237, 183, 0.85); }
.bt-m-mk.is-selbst { width: 34px; height: 34px; background: rgba(255, 255, 255, 0.55); border: 5px solid var(--navy); }
.bt-achse-x { padding-left: 30px; text-align: center; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 14px; color: var(--navy); }
.bt-legende { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; font-size: 14px; }
.bt-legende > span { display: inline-flex; align-items: center; gap: 8px; }
.bt-lg-selbst { width: 14px; height: 14px; border-radius: 999px; border: 3px solid var(--navy); background: #fff; }
.bt-lg-erg { width: 12px; height: 12px; margin: 0 2px; border-radius: 999px; background: var(--gruen); box-shadow: 0 0 0 3px rgba(225, 237, 183, 0.95); }
.bt-lg-typ { width: 14px; height: 14px; border-radius: 4px; background: var(--gruen-2); }

/* Beispiele */
.bt-bsp { background: var(--seite); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.bt-bsp-nr { width: 36px; height: 36px; border-radius: 999px; background: var(--navy); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.bt-bsp p { font-size: 15px; }

/* PDF-Zeile */
.bt-pdf { padding: 8px 24px 64px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }

/* Zustände (lädt, Hinweise) */
.bt-zustand { max-width: 560px; margin: 0 auto; padding: 36px 24px 72px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.bt-zustand .bt-h2 { font-size: clamp(1.75rem, 3vw, 2.125rem); line-height: 1.1; text-wrap: balance; }
.bt-zustand .bt-lead { text-wrap: balance; }
.bt-lader { position: relative; width: 120px; height: 120px; }
.bt-lader-ring { position: absolute; inset: 0; border-radius: 999px; border: 8px solid var(--gruen-4); border-top-color: var(--gruen); animation: bt-dreh 1.1s linear infinite; }
.bt-lader-mitte { position: absolute; inset: 22px; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -18px rgba(26, 45, 77, 0.55); }
.bt-lader-grid { display: grid; grid-template-columns: repeat(3, 12px); gap: 4px; }
.bt-lader-grid span { width: 12px; height: 12px; border-radius: 3px; background: var(--gruen-5); animation: bt-zelle 1.8s ease-in-out infinite; }
.bt-schritte { width: 100%; margin: 0; padding: 20px; list-style: none; background: #fff; border-radius: 24px; box-shadow: var(--schatten); display: flex; flex-direction: column; gap: 16px; text-align: left; }
.bt-schritte li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--text-2); }
.bt-schritte li.is-fertig, .bt-schritte li.is-aktiv { color: var(--navy); }
.bt-schritte li.is-aktiv { font-weight: 700; }
.bt-schritt-icon { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 999px; border: 2px dashed #8fa0b5; display: flex; align-items: center; justify-content: center; }
.is-fertig .bt-schritt-icon { border: 0; background: var(--gruen); }
.is-aktiv .bt-schritt-icon { border: 3px solid var(--gruen-4); border-top-color: var(--gruen); animation: bt-dreh 0.9s linear infinite; }
.bt-mail-icon { width: 64px; height: 64px; border-radius: 999px; background: var(--gruen); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -14px rgba(26, 45, 77, 0.55); }
.bt-tag-weiss { background: #fff; border: 1px solid var(--gruen-5); color: var(--gruen); font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.bt-nummernliste { width: 100%; margin: 0; padding: 18px 20px; list-style: none; background: #fff; border-radius: 24px; box-shadow: var(--schatten); display: flex; flex-direction: column; gap: 14px; text-align: left; }
.bt-nummernliste li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--navy); }
.bt-nummernliste li span { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 999px; background: var(--navy); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.bt-hinweisbox { width: 100%; background: var(--blau); border-radius: 20px; padding: 16px 18px; font-size: 14px; line-height: 1.5; color: var(--navy); text-align: left; }
.bt-versteckt { display: none !important; }

@keyframes bt-dreh { to { transform: rotate(360deg); } }
@keyframes bt-zelle { 0%, 100% { background: var(--gruen-5); transform: scale(1); } 40% { background: var(--gruen); transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .bt-app * { animation: none !important; } }

@media (max-width: 600px) {
  .bt-hero { padding-top: 40px; }
  .bt-ueberblick { padding: 24px; }
  .bt-rundbild { width: 220px; height: 220px; }
  .bt-score { margin-left: 0; flex-basis: 100%; }
  .bt-kopf .bt-btn { display: none; }
  .bt-logo { height: 32px; }
  .bt-h2 { font-size: 30px; }
  .bt-nummer { width: 40px; height: 40px; font-size: 19px; }
  .bt-kopfzeile { gap: 12px 14px; }
  .bt-panel { padding: 24px 20px; }
  .bt-text-bild .bt-rundbild { order: -1; }
  .bt-pdf { flex-direction: column; justify-content: center; text-align: center; }
  .bt-kopf .bt-wrap { padding-top: 12px; padding-bottom: 12px; }
  .bt-kopf .bt-wrap { justify-content: center; }
  .bt-badge { font-size: 14px; gap: 8px; padding: 6px 14px 6px 6px; }
  .bt-badge-icon { width: 28px; height: 28px; }
  .bt-badge img { height: 20px; }
}

/* Übung zum Typ */
.bt-uebung .bt-h3 { margin-top: 12px; }
.bt-zw { font-weight: 700; color: var(--navy); }
.bt-liste { margin: -4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.bt-liste li { position: relative; padding-left: 22px; }
.bt-liste li::before { content: ''; position: absolute; left: 4px; top: 0.62em; width: 8px; height: 8px; border-radius: 999px; background: var(--gruen); }
.bt-aufgabe { background: var(--gruen-4); border-left: 4px solid var(--gruen); border-radius: 16px; padding: 16px 20px; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 18px; line-height: 1.4; color: var(--navy); text-wrap: pretty; }

/* Druckfassung (A4) – am Bildschirm unsichtbar, beim Drucken das Einzige, was erscheint */
.bt-druck { display: none; }
@media print {
  @page { size: A4; margin: 0; }
  html, body { background: #fff !important; margin: 0 !important; }
  body > :not(#bt-app) { display: none !important; }
  .bt-app { background: #fff; min-height: 0; }
  .bt-app > :not(.bt-druck) { display: none !important; }
  .bt-druck { display: block; color: var(--text); font-size: 9.5pt; line-height: 1.45; }
  .bt-druck * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .bt-d-seite { padding: 14mm 15mm 12mm; break-after: page; }
  .bt-d-seite:last-child { break-after: auto; }
  .bt-druck h1 { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 24pt; line-height: 1.1; color: var(--navy); margin: 8mm 0 3mm; }
  .bt-druck h2 { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 20pt; line-height: 1; color: var(--navy); margin: 0; }
  .bt-druck h3 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 12pt; color: var(--navy); margin: 6mm 0 2.5mm; break-after: avoid; }
  .bt-druck p { margin: 0 0 2mm; }
  .bt-d-kopf { display: flex; justify-content: space-between; align-items: center; padding-bottom: 4mm; border-bottom: 1px solid var(--gruen-5); font-size: 9pt; color: var(--text-2); }
  .bt-d-kopf img { height: 9mm; width: auto; }
  .bt-d-intro { font-size: 10.5pt; color: var(--text-2); max-width: 150mm; }
  .bt-d-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 5mm; }
  .bt-d-box { border: 1px solid var(--gruen-5); border-radius: 4mm; padding: 4mm; break-inside: avoid; }
  .bt-d-boxkopf { display: flex; justify-content: space-between; font-family: 'Outfit', sans-serif; font-size: 12pt; color: var(--navy); margin-bottom: 2mm; }
  .bt-d-boxkopf span { font-weight: 800; }
  .bt-d-bereich { display: flex; justify-content: space-between; font-size: 9pt; color: var(--text-2); margin-top: 2mm; }
  .bt-druck .bt-seg span { height: 2.6mm; }
  .bt-d-kopf2 { display: flex; align-items: center; gap: 4mm; }
  .bt-d-kopf2 .bt-d-seg { width: 45mm; margin-left: 0; }
  .bt-d-nr { width: 10mm; height: 10mm; border-radius: 999px; background: var(--navy); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 13pt; display: flex; align-items: center; justify-content: center; }
  .bt-d-stufe { margin-left: auto; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 12pt; color: var(--navy); }
  .bt-d-unter { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 12pt; color: var(--gruen); margin: 2mm 0 4mm !important; }
  .bt-d-text { max-width: 165mm; }
  .bt-d-karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4mm; }
  .bt-d-karte { background: var(--seite); border-radius: 4mm; padding: 4mm; break-inside: avoid; font-size: 8.8pt; }
  .bt-d-karten.is-sit > .bt-d-karte { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 2mm; align-content: start; }
  .bt-d-karten.is-sit .bt-d-tag { justify-self: start; }
  .bt-d-karten.is-sit .bt-d-sit, .bt-d-karten.is-sit .bt-d-antw { margin: 0; }
  .bt-d-tag { display: inline-block; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 8pt; padding: 0.6mm 2.5mm; border-radius: 999px; background: var(--gruen-3); color: var(--navy); }
  .bt-d-tag.is-ausbau { background: var(--blau-2); }
  .bt-d-sit { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 10pt; color: var(--navy); margin: 2mm 0; line-height: 1.25; }
  .bt-d-antw { background: #fff; border-radius: 2.5mm; padding: 2mm 2.5mm; font-style: italic; margin-bottom: 2mm; }
  .bt-d-antw b { font-style: normal; }
  .bt-d-typ { display: flex; gap: 5mm; align-items: center; break-inside: avoid; }
  .bt-d-typ img { width: 28mm; height: 28mm; border-radius: 999px; object-fit: cover; box-shadow: 0 0 0 1.5mm var(--gruen-2); flex: 0 0 auto; }
  .bt-d-typname { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 15pt; color: var(--gruen); margin-bottom: 1.5mm; }
  .bt-d-ue { display: grid; grid-template-columns: 1fr 1fr; gap: 5mm; margin-top: 4mm; }
  .bt-d-ue > div { border: 1px solid var(--gruen-5); border-radius: 4mm; padding: 4mm; break-inside: avoid; }
  .bt-d-ue b { font-family: 'Outfit', sans-serif; color: var(--navy); }
  .bt-d-hinweis { margin-top: 6mm; background: var(--blau); border-radius: 4mm; padding: 4mm; color: var(--navy); }
  .bt-d-klein { font-size: 9pt; }
  .bt-d-seite.is-fliessend { font-size: 9pt; line-height: 1.42; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .bt-d-seite.is-fliessend h3 { font-size: 11pt; margin: 4mm 0 1.5mm; }
  .bt-d-seite.is-fliessend p { margin-bottom: 1.6mm; }
  .bt-d-seite.is-fliessend .bt-d-text { max-width: none; }
  .bt-d-zw { font-weight: 700; color: var(--navy); }
  .bt-d-liste { margin: 0 0 2mm; padding-left: 5mm; }
  .bt-d-liste li { margin-bottom: 1mm; }
  .bt-d-aufgabe { background: var(--gruen-4); border-left: 1.2mm solid var(--gruen); border-radius: 3mm; padding: 3mm 4mm; margin: 1mm 0 3mm; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 11pt; color: var(--navy); break-inside: avoid; }
  .bt-d-bedeutung { display: grid; grid-template-columns: 1fr 70mm; gap: 7mm; align-items: start; }
  .bt-d-matrix { position: relative; padding-left: 5mm; break-inside: avoid; }
  .bt-d-matrix svg { width: 100%; height: auto; display: block; }
  .bt-d-achse-y { position: absolute; left: -2mm; top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: center; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 8pt; color: var(--navy); white-space: nowrap; width: 0; display: flex; justify-content: center; }
  .bt-d-achse-x { text-align: center; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 8pt; color: var(--navy); margin-top: 1.5mm; }
  .bt-d-legende { display: flex; flex-wrap: wrap; gap: 1mm 4mm; justify-content: center; font-size: 7.5pt; margin-top: 1.5mm; }
  .bt-d-legende i { display: inline-block; width: 2.6mm; height: 2.6mm; border-radius: 999px; margin-right: 1mm; vertical-align: -0.3mm; }
  .bt-d-lg-s { border: 0.7mm solid var(--navy); background: #fff; box-sizing: border-box; }
  .bt-d-lg-e { background: var(--gruen); }
  .bt-d-lg-t { background: var(--gruen-2); border-radius: 0.6mm !important; }
}

/* Angedeutete Pfeile: Einschätzung und Ergebnis führen zur Übereinstimmung (nur Desktop) */
@media (min-width: 900px) {
  .bt-vergleich { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
  .bt-vgl.is-mitte { position: relative; overflow: visible; }
  .bt-vgl.is-mitte::before, .bt-vgl.is-mitte::after {
    content: ''; position: absolute; top: 50%; width: 38px; height: 16px; margin-top: -8px;
    background-repeat: no-repeat; background-position: center; background-size: 38px 16px; pointer-events: none;
  }
  .bt-vgl.is-mitte::before { left: -41px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 16' fill='none' stroke='%2397bd43' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h30' stroke-dasharray='3 4'/%3E%3Cpath d='M28 3l5 5-5 5'/%3E%3C/svg%3E"); }
  .bt-vgl.is-mitte::after { right: -41px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 16' fill='none' stroke='%2397bd43' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M35 8H5' stroke-dasharray='3 4'/%3E%3Cpath d='M10 3L5 8l5 5'/%3E%3C/svg%3E"); }
}

/* Untereinander (Handy, Tablet): erst Einschätzung und Ergebnis, dann die Übereinstimmung */
@media (max-width: 899px) {
  .bt-vergleich { grid-template-columns: minmax(0, 1fr); }
  .bt-vgl.is-mitte { order: 3; }
}
