/* BBI Persönlichkeitsprofil. Design nach BBI-CI (plan/DESIGN-STANDARD.md Abschnitt 2a):
   Dunkelblau #113250, Weiß, Tints Blau 90/20/10, Grau, Tinte. Keine Verläufe, keine Emojis, keine weitere Akzentfarbe.
   Serifen-Akzent (Source Serif 4 Display) nur für Ziffern und einzelne Wörter, nie am Logo. */
@import url("assets/bbi-tokens.css");

@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/SourceSans3-Regular.otf.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/SourceSans3-Semibold.otf.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/SourceSans3-Bold.otf.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4 Display"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/SourceSerif4Display-Regular.subset.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4 Display"; font-weight: 400; font-style: italic; font-display: swap; src: url("assets/fonts/SourceSerif4Display-Italic.subset.woff2") format("woff2"); }

:root {
  --bbi-font-display: "Source Serif 4 Display", "Minion Pro", Georgia, "Times New Roman", serif;
  --rand: 1px solid var(--bbi-blue-20);
  --breite: 1120px;
  --schatten-fokus: 0 0 0 3px var(--bbi-white), 0 0 0 6px var(--bbi-blue-90);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--bbi-white); color: var(--bbi-ink);
  font-family: var(--bbi-font); font-size: 1.0625rem; line-height: 1.55;
  min-height: 100vh; display: flex; flex-direction: column;
}
h1, h2, h3 { color: var(--bbi-blue); line-height: 1.12; margin: 0; font-weight: 700; }
p { margin: 0; }
img { max-width: 100%; }
strong { font-weight: 600; }
[hidden] { display: none !important; }
.sr-nur { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--bbi-blue-90); outline-offset: 3px; }
h1:focus, main:focus { outline: none; }

.skip { position: absolute; left: -999px; top: 0; background: var(--bbi-blue); color: #fff; padding: .75rem 1rem; z-index: 20; }
.skip:focus { left: 0; }

/* Kopf */
.kopf { background: var(--bbi-blue); color: #fff; }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.logo { height: 76px; width: auto; align-self: flex-start; object-fit: contain; display: block; }
.nav { display: flex; gap: 4px; }
.nav-knopf {
  font: inherit; font-weight: 600; font-size: .95rem; color: #fff; background: transparent; border: 0; border-bottom: 3px solid transparent;
  padding: .6rem .9rem; cursor: pointer; min-height: 44px;
}
.nav-knopf:hover { border-bottom-color: var(--bbi-blue-20); }
.nav-knopf[aria-current="page"] { border-bottom-color: #fff; }
.kopf :focus-visible { outline-color: #fff; }

main { flex: 1; width: 100%; max-width: var(--breite); margin: 0 auto; padding: 48px 20px 72px; }
.ansicht > * { min-width: 0; }
.kicker { font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bbi-blue-90); margin-bottom: 14px; }
.einleitung { font-size: 1.15rem; max-width: 40em; color: var(--bbi-ink); }

/* Knöpfe */
.knopf {
  font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; border-radius: var(--bbi-radius);
  min-height: 48px; padding: .7rem 1.4rem; border: 2px solid var(--bbi-blue);
}
.knopf-primaer { background: var(--bbi-blue); color: #fff; }
.knopf-primaer:hover:not(:disabled) { background: var(--bbi-blue-90); border-color: var(--bbi-blue-90); }
.knopf-sekundaer { background: #fff; color: var(--bbi-blue); }
.knopf-sekundaer:hover { background: var(--bbi-blue-10); }
.knopf-text { background: transparent; color: var(--bbi-blue); border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.knopf:disabled { background: var(--bbi-blue-10); border-color: var(--bbi-blue-20); color: var(--bbi-gray); cursor: not-allowed; }

/* Start */
.start-gitter { display: grid; gap: 56px; align-items: center; }
#start-titel { font-size: clamp(2.4rem, 5.6vw, 4.2rem); letter-spacing: -.012em; margin-bottom: 22px; }
#start-titel em, .em-serif { font-family: var(--bbi-font-display); font-style: italic; font-weight: 400; }
.start-form { margin-top: 32px; max-width: 30rem; }
.start-form label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--bbi-blue); }
.start-form input {
  width: 100%; font: inherit; font-size: 1.15rem; padding: .8rem 1rem; min-height: 52px; color: var(--bbi-ink); background: #fff;
  border: 2px solid var(--bbi-gray); border-radius: var(--bbi-radius);
}
.start-form input:focus-visible { border-color: var(--bbi-blue); outline: 3px solid var(--bbi-blue-90); outline-offset: 2px; }
.fehler { color: var(--bbi-blue); font-weight: 700; margin-top: 8px; padding: 8px 12px; border: 1px solid var(--bbi-blue); background: var(--bbi-blue-10); }
.start-knoepfe { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.info { margin-top: 28px; max-width: 36rem; padding: 20px 22px 18px; border: var(--rand); background: var(--bbi-blue-10); }
.info h2 { font-size: 1.15rem; margin-bottom: 12px; }
.info-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--bbi-ink); font-size: .98rem; }
.info-liste li { padding-left: 22px; position: relative; }
.info-liste li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--bbi-blue); }
.info-verantwortlich { margin-top: 14px; padding-top: 12px; border-top: var(--rand); color: var(--bbi-gray); font-size: .9rem; }
.platzhalter { border: 1px dashed var(--bbi-blue); padding: 0 6px; font-weight: 600; color: var(--bbi-blue); background: #fff; }
.zustimmung { margin-top: 18px; max-width: 36rem; }
.start-form .haken, .haken { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; color: var(--bbi-ink); margin: 0; cursor: pointer; line-height: 1.45; }
.zustimmung .haken + .haken { margin-top: 14px; }
.start-form .haken input, .haken input { width: 24px; min-height: 0; height: 24px; flex: none; margin: 1px 0 0; padding: 0; accent-color: var(--bbi-blue); cursor: pointer; }
.zustimmung-team { margin: 0 0 18px; padding: 14px 18px; border: var(--rand); background: #fff; max-width: none; }
.ablage.gesperrt { cursor: not-allowed; border-color: var(--bbi-gray); color: var(--bbi-gray); }
.ablage.gesperrt .ablage-titel, .ablage.gesperrt .ablage-link { color: var(--bbi-gray); cursor: not-allowed; text-decoration: none; }
.ablage-sperre { display: none; margin-top: 8px; font-size: .92rem; }
.ablage.gesperrt .ablage-sperre { display: block; }

/* Stilkarte (Start) */
.karte { margin: 0; position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; width: 100%; max-width: 480px; justify-self: center;
  border: 2px solid var(--bbi-blue); margin-top: 28px; margin-bottom: 28px; margin-left: 28px; margin-right: 28px; }
.karte-feld { padding: 22px 20px 20px; min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; border: 0 solid var(--bbi-blue-20); }
#karte-G { border-right-width: 1px; border-bottom-width: 1px; }
#karte-D { border-bottom-width: 1px; }
#karte-S { border-right-width: 1px; }
.karte-buchstabe { font-family: var(--bbi-font-display); font-style: italic; font-size: 4.6rem; line-height: .9; color: var(--bbi-blue); }
.karte-name { font-weight: 700; color: var(--bbi-blue); font-size: 1.15rem; }
.karte-kern { font-size: .95rem; color: var(--bbi-gray); line-height: 1.35; }
.karte-achse { position: absolute; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bbi-blue-90); white-space: nowrap; }
.karte-oben { top: -26px; left: 50%; transform: translateX(-50%); }
.karte-unten { bottom: -26px; left: 50%; transform: translateX(-50%); }
.karte-links { left: -28px; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); }
.karte-rechts { right: -28px; top: 50%; transform: translate(50%, -50%) rotate(90deg); }

/* Test */
.test-kopf { display: flex; align-items: flex-end; gap: 28px; margin-bottom: 20px; }
.block-nummer { display: flex; align-items: baseline; gap: 12px; color: var(--bbi-blue); line-height: .85; }
#block-ziffer { font-family: var(--bbi-font-display); font-size: clamp(4.6rem, 12vw, 8rem); }
.block-von { font-size: .95rem; font-weight: 600; color: var(--bbi-blue-90); }
.test-titelzeile h1 { font-size: 1.5rem; margin-bottom: 6px; }
.test-hinweis { color: var(--bbi-gray); max-width: 32em; }
.fortschritt { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 6px; }
.fortschritt button {
  width: 28px; height: 28px; padding: 0; border-radius: 2px; cursor: pointer; border: 1px solid var(--bbi-blue-20); background: var(--bbi-blue-10);
  font: 600 .7rem/1 var(--bbi-font); color: var(--bbi-blue);
}
.fortschritt button[data-zustand="fertig"] { background: var(--bbi-blue); border-color: var(--bbi-blue); color: #fff; }
.fortschritt button[aria-current="step"] { background: #fff; border: 3px solid var(--bbi-blue); }
.fortschritt button:disabled { cursor: not-allowed; opacity: .6; }
.seiten { display: grid; gap: 28px; }
.seite { border: 0; margin: 0; padding: 0; min-width: 0; }
.seite legend { font-size: 1.3rem; font-weight: 700; color: var(--bbi-blue); padding: 0; margin-bottom: 14px; display: block; width: 100%; }
.legend-klein { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bbi-blue-90); margin-bottom: 4px; }
.optionen { display: grid; gap: 10px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.option label {
  display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 12px 16px; cursor: pointer; background: #fff;
  border: 1px solid var(--bbi-blue-20); border-radius: var(--bbi-radius); font-size: 1.08rem; line-height: 1.3; color: var(--bbi-ink);
}
.option label:hover { border-color: var(--bbi-blue); background: var(--bbi-blue-10); }
.indikator { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--bbi-blue); background: #fff; display: grid; place-items: center; }
.indikator::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--bbi-blue); transform: scale(0); transition: transform .15s ease; }
.option input:checked + label { background: var(--bbi-blue); border-color: var(--bbi-blue); color: #fff; }
.option input:checked + label .indikator { border-color: #fff; background: #fff; }
.option input:checked + label .indikator::after { transform: scale(1); }
.option input:focus-visible + label { outline: 3px solid var(--bbi-blue-90); outline-offset: 3px; }
.status { min-height: 1.6em; margin-top: 18px; color: var(--bbi-gray); font-size: .98rem; }
.test-knoepfe { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }

/* Ergebnis */
.ergebnis-kopf { margin-bottom: 32px; }
.ergebnis-kopf h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 8px; }
.ergebnis-meta { color: var(--bbi-gray); }
.druck-kopf { display: none; }
.hinweisband { border: 1px solid var(--bbi-blue-20); background: var(--bbi-blue-10); padding: 14px 18px; margin: 0 0 28px; color: var(--bbi-ink); font-weight: 600; }
.warnband { border: 1px solid var(--bbi-blue-20); background: var(--bbi-blue-10); padding: 14px 18px; margin: 0 0 24px; }
.zusammenfassung { display: grid; gap: 16px; margin-bottom: 32px; }
.stilkarte { padding: 28px 28px 26px; border: 1px solid var(--bbi-blue-20); display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: center; }
.stilkarte.haupt { background: var(--bbi-blue); color: #fff; border-color: var(--bbi-blue); }
.stilkarte .buchstabe { grid-row: span 3; font-family: var(--bbi-font-display); font-style: italic; font-size: clamp(5rem, 11vw, 7.5rem); line-height: .85; color: inherit; }
.stilkarte .rolle { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.stilkarte .stilname { font-size: 1.9rem; font-weight: 700; line-height: 1.1; color: inherit; }
.stilkarte .stufe { font-size: 1rem; }
.stilkarte:not(.haupt) .rolle { color: var(--bbi-blue-90); opacity: 1; }
.stilkarte:not(.haupt) .stilname { color: var(--bbi-blue); }
/* Stilfarben (gleiche Werte wie das PDF): Hauptstil in voller Farbe, Nebenstil mit Farbband */
.stil-D { --sf: #D32F2F; --st: #FFFFFF; --sh: #F7D0D0; }
.stil-I { --sf: #F5C400; --st: #262626; --sh: #FDF0B0; }
.stil-S { --sf: #1B8038; --st: #FFFFFF; --sh: #CBE9D3; }
.stil-G { --sf: #1E6FD9; --st: #FFFFFF; --sh: #CCDFF7; }
.stilkarte[class*="stil-"] { border-top: 8px solid var(--sf); }
.stilkarte.haupt[class*="stil-"] { background: var(--sf); color: var(--st); border-color: var(--sf); }
.stilkarte.haupt[class*="stil-"] .rolle, .stilkarte.haupt[class*="stil-"] .stilname, .stilkarte.haupt[class*="stil-"] .stufe { color: var(--st); }
.stilkarte:not(.haupt)[class*="stil-"] { background: var(--sh); border-color: var(--sf); }
.beschreibung[class*="stil-"] { border-top: 8px solid var(--sf); padding-top: 22px; }
.beschreibung[class*="stil-"] .absatz-text { margin: 0 0 12px; max-width: 46rem; }
.mischhinweis { margin: 0 0 28px; font-weight: 600; color: var(--bbi-blue); }
.diagramme { display: grid; gap: 14px; margin-bottom: 20px; }
.diagramm { margin: 0; padding: 22px 24px 20px; border: 1px solid var(--bbi-blue-20); background: #fff; break-inside: avoid; display: grid; gap: 12px 40px; align-items: center; }
.diagramm h3 { font-size: 1.3rem; margin-bottom: 6px; }
.diagramm figcaption p { font-size: 1rem; color: var(--bbi-gray); max-width: 28em; }
.diagramm svg { width: 100%; max-width: 520px; height: auto; display: block; justify-self: end; }
details.tabelle { margin: 6px 0 36px; border-top: var(--rand); }
details.tabelle summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--bbi-blue); min-height: 44px; }
.tabellen-huelle { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; font-variant-numeric: tabular-nums; }
th, td { padding: 8px 12px; text-align: right; border-bottom: var(--rand); }
th:first-child, td:first-child, th.links, td.links { text-align: left; }
td.links { white-space: nowrap; }
thead th { color: var(--bbi-blue); font-weight: 700; border-bottom: 2px solid var(--bbi-blue); }
tbody tr:nth-child(even) { background: var(--bbi-blue-10); }
.beschreibung { margin: 44px 0 0; }
.beschreibung > h2 { font-size: 1.7rem; margin-bottom: 6px; }
.beschreibung .untertitel { color: var(--bbi-gray); margin-bottom: 22px; }
.teilweise { margin: 0 0 18px; padding: 10px 14px; border: 1px solid var(--bbi-blue-20); background: var(--bbi-blue-10); font-weight: 600; }
.abschnitt { display: grid; gap: 6px 32px; padding: 20px 0; border-top: var(--rand); }
.abschnitt h3 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bbi-blue-90); }
.abschnitt ul { margin: 0; padding-left: 1.2em; }
.abschnitt li { margin-bottom: 4px; }
.kleingedrucktes { margin-top: 36px; padding-top: 18px; border-top: var(--rand); color: var(--bbi-gray); font-size: .92rem; display: grid; gap: 8px; }
.aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Team */
.ablage { border: 2px dashed var(--bbi-blue-90); border-radius: var(--bbi-radius); padding: 30px 20px; text-align: center; cursor: pointer; margin-bottom: 18px; background: #fff; }
.ablage.zieht { background: var(--bbi-blue-10); border-color: var(--bbi-blue); }
.ablage-titel { font-size: 1.15rem; font-weight: 700; color: var(--bbi-blue); margin-bottom: 4px; }
.ablage-link { color: var(--bbi-blue); font-weight: 600; text-decoration: underline; cursor: pointer; }
.ablage input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.meldungen { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; font-size: .95rem; }
.meldungen li { padding: 8px 12px; border: 1px solid var(--bbi-blue-20); background: var(--bbi-mist); }
.meldungen li.fehl { border-color: var(--bbi-blue); background: var(--bbi-blue-10); font-weight: 700; color: var(--bbi-blue); }
.team-werkzeuge { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 22px 0 14px; }
.schalter { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--bbi-blue); cursor: pointer; min-height: 44px; }
.schalter input { width: 22px; height: 22px; accent-color: var(--bbi-blue); }
.team-gitter { display: grid; gap: 24px; margin: 24px 0 40px; }
.team-karte-svg { width: 100%; max-width: 560px; height: auto; }
.verteilung { display: grid; gap: 10px; }
.verteilung .zeile { display: grid; grid-template-columns: 9.5rem 1fr 2.5rem; align-items: center; gap: 12px; }
.verteilung .balken { height: 22px; background: var(--bbi-blue-10); }
.verteilung .balken span { display: block; height: 100%; background: var(--bbi-blue); }

/* Fuß */
.fuss { border-top: var(--rand); padding: 22px 20px 30px; text-align: center; color: var(--bbi-gray); font-size: .9rem; display: grid; gap: 4px; }
.noscript { padding: 20px; text-align: center; font-weight: 600; }

/* Öffentliche Seite: Abschlussformular, Rechtsseiten, Stilrad (SVG) */
.abschluss-gitter { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; max-width: 36rem; }
.abschluss-gitter .voll { grid-column: 1 / -1; }
.feld-hinweis { margin-top: 6px; color: var(--bbi-gray); font-size: .92rem; }
.kurzhinweis { margin: 24px 0 0; max-width: 36rem; padding: 16px 18px; border: var(--rand); background: var(--bbi-blue-10); font-size: .95rem; line-height: 1.5; }
.kurzhinweis strong { color: var(--bbi-blue); }
.kurzhinweis a, .fuss a, .legal a { color: var(--bbi-blue); text-underline-offset: 3px; }
.turnstile-box { margin-top: 18px; min-height: 66px; }
.sende-status { margin-top: 14px; max-width: 36rem; }
.gesendet-band { border: 1px solid var(--bbi-blue); background: var(--bbi-blue-10); padding: 14px 18px; margin: 0 0 28px; color: var(--bbi-ink); font-weight: 600; }
.legal { max-width: 46rem; margin: 0 auto; }
.legal h1 { margin-bottom: 18px; }
.legal h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--bbi-ink); margin: 0 0 10px; }
.legal ul { padding-left: 1.2em; margin: 0 0 10px; }
.rad-box { display: grid; gap: 14px; justify-items: center; margin: 0 0 28px; padding: 18px 12px 14px; border: var(--rand); background: #fff; }
.rad-box svg { width: 100%; max-width: 440px; height: auto; display: block; }
.rad-box figcaption { font-size: .92rem; color: var(--bbi-ink); display: grid; gap: 4px; width: 100%; max-width: 440px; }
.rad-box figcaption strong { color: var(--bbi-blue); }
@media (max-width: 560px) { .abschluss-gitter { grid-template-columns: 1fr; } }

/* Breite Ansicht */
@media (min-width: 900px) {
  main { padding: 72px 32px 96px; }
  .kopf-innen { padding: 16px 32px; }
  .start-gitter { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .seiten { grid-template-columns: 1fr 1fr; gap: 40px; }
  .zusammenfassung { grid-template-columns: 1.25fr 1fr; }
  .diagramm { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .abschnitt { grid-template-columns: 13rem 1fr; }
}
@media (min-width: 1180px) {
  .team-gitter { grid-template-columns: 1.15fr 1fr; align-items: start; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .logo { height: 60px; }
  .test-kopf { flex-direction: column; align-items: flex-start; gap: 10px; }
  .karte { width: auto; justify-self: stretch; margin-left: 28px; margin-right: 28px; }
  .karte-links { left: -20px; }
  .karte-rechts { right: -20px; }
  .karte-feld { min-height: 170px; padding: 16px 14px; }
  .karte-buchstabe { font-size: 3.6rem; }
  .stilkarte { padding: 20px; gap: 4px 16px; }
  .verteilung .zeile { grid-template-columns: 7rem 1fr 2rem; }
}

/* Bewegung: nur opacity und transform, 150 bis 900 ms, ohne Verläufe (DESIGN-STANDARD 7b). Inhalte sind ohne Skript sichtbar. */
@keyframes einblenden { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html.bewegung .ansicht.eintritt > * { animation: einblenden .42s cubic-bezier(.2, .7, .2, 1) both; }
html.bewegung .ansicht.eintritt > *:nth-child(2) { animation-delay: .06s; }
html.bewegung .ansicht.eintritt > *:nth-child(3) { animation-delay: .12s; }
html.bewegung .ansicht.eintritt > *:nth-child(4) { animation-delay: .18s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Druck: DIN A4, nur das Ergebnis */
@media print {
  @page { size: A4; margin: 14mm 14mm 16mm; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { display: block; font-size: 10.5pt; background: #fff; }
  .skip, .kopf, .nav, .fuss, .aktionen, #ansicht-start, #ansicht-test, #ansicht-team, .noscript { display: none !important; }
  main { padding: 0; max-width: none; }
  #ansicht-ergebnis { display: block !important; }
  .druck-kopf { display: block; margin-bottom: 10mm; }
  .druck-kopf img { height: 22mm; width: auto; object-fit: contain; }
  .ergebnis-kopf { margin-bottom: 6mm; }
  .ergebnis-kopf h1 { font-size: 22pt; }
  .zusammenfassung { grid-template-columns: 1.25fr 1fr; gap: 6mm; margin-bottom: 6mm; }
  .stilkarte { padding: 5mm; }
  .stilkarte .buchstabe { font-size: 52pt; }
  .stilkarte .stilname { font-size: 15pt; }
  .diagramme { gap: 3mm; margin-bottom: 4mm; }
  .diagramm { padding: 3mm 4mm; grid-template-columns: 1fr 1.25fr; gap: 3mm 6mm; }
  .diagramm h3 { font-size: 11.5pt; margin-bottom: 1mm; }
  .diagramm figcaption p { font-size: 9pt; }
  .diagramm svg { max-width: 100mm; }
  details.tabelle { break-inside: avoid; }
  .beschreibung { break-before: page; margin-top: 0; }
  .abschnitt { grid-template-columns: 38mm 1fr; padding: 3.5mm 0; break-inside: avoid; }
  .kleingedrucktes { font-size: 8.5pt; break-inside: avoid; }
}
/* Endpruefung 16.10.2026: zwischen 900 und 1179 px ragte die Achsenbeschriftung der Stilkarte 3 px ueber den Rand */
@media (min-width: 900px) and (max-width: 1179px) { .karte-rechts { right: -20px; } }
