/* =============================================================
   Organisationsdiagnose – Styles
   Corporate Identity: LEINE-KOMPETENZ ZENTRUM (Blau)
   Zentrale Farben als CSS-Variablen -> exakte Markenfarbe
   später einfach an einer Stelle (--brand) austauschbar.
   ============================================================= */

:root {
  /* --- Markenfarben (exakt von leinekompetenz.de) --- */
  --brand: #2e5b87;          /* mittleres Blau – Buttons, Navigation, Logo-Zeichen */
  --brand-dark: #1f476a;     /* dunkleres Blau */
  --brand-darker: #12293e;   /* tiefes Marineblau – Kopfzeile, Überschriften */
  --brand-100: #eaeff4;      /* heller Blauton (Flächen) */
  --brand-200: #cdd9e5;
  --brand-300: #9db3c6;

  /* --- Stahlblau (Hero-Fläche der Website) --- */
  --steel: #5e7590;
  --steel-dark: #4a6480;
  --steel-light: #86a0b8;

  /* --- Rollen (IST/SOLL) – edel monochrom im Blauverlauf --- */
  --ist: #234c72;            /* tiefes Blau */
  --soll: #86a0b8;           /* helleres Stahlblau */

  --ink: #1c2733;
  --muted: #5a6675;
  --line: #e2e8ef;
  --line-soft: #eef2f6;
  --bg: #f5f7fa;
  --white: #ffffff;
  --ok: #1f7a52;
  --warn: #c0392b;
  --accent-soft: #eef1f5;

  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(18, 41, 62, 0.06);
  --shadow: 0 12px 38px rgba(18, 41, 62, 0.11);
  --shadow-brand: 0 18px 44px rgba(46, 91, 135, 0.26);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.app { min-height: 100vh; display: flex; flex-direction: column; }

/* ======================= HEADER ======================= */
.app-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 20;
}
.app-header-inner {
  max-width: 960px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { text-decoration: none; display: inline-flex; align-items: center; }
.logo { height: 50px; width: auto; display: block; }
.brand-lockup { display: flex; flex-direction: column; line-height: 1; }
.brand-mark {
  font-weight: 800; letter-spacing: 1.2px; color: var(--brand-darker);
  font-size: 20px;
}
.brand-dot { color: var(--brand); font-weight: 800; }
.brand-sub {
  color: var(--steel); font-size: 11px; letter-spacing: 5.5px;
  font-weight: 600; margin-top: 3px;
}
.header-tag {
  color: var(--brand-dark); font-size: 13px; font-weight: 600;
  background: var(--brand-100); padding: 6px 14px; border-radius: 999px;
  letter-spacing: .3px;
}

/* ======================= MAIN ======================= */
.app-main {
  flex: 1; width: 100%; max-width: 900px; margin: 0 auto; padding: 40px 20px;
}
/* Landingpage läuft über die volle Breite; die Begrenzung auf Lesebreite
   übernehmen die einzelnen Bereiche selbst (siehe .lp-…) */
.app-main.is-landing { max-width: 100%; padding: 0; }
.screen { display: none; animation: fade .3s ease; }
.screen.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px);} to {opacity:1; transform:none;} }

/* Eyebrow */
.eyebrow {
  text-transform: uppercase; letter-spacing: 2.5px; font-size: 11px;
  font-weight: 700; color: var(--muted); margin: 0 0 10px;
}
.eyebrow-blue { color: var(--brand); }

/* Card */
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow); padding: 40px;
}
.title { font-size: 27px; line-height: 1.2; margin: 0 0 10px; color: var(--brand-darker); font-weight: 800; }
.section-title {
  margin: 32px 0 14px; font-size: 13px; color: var(--brand-dark);
  text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700;
  padding-bottom: 8px; border-bottom: 2px solid var(--line);
}
.muted { color: var(--muted); margin-top: 0; }
.hint { color: var(--muted); font-size: 13px; margin-top: 16px; }
.lock { color: var(--brand); }
.note {
  background: var(--brand-100); border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0; padding: 14px 16px; font-size: 14px; color: var(--brand-darker);
}

/* ======================= LOGIN (Split) ======================= */
.login-split {
  display: grid; grid-template-columns: 1.05fr 1fr;
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
  background: var(--white); border: 1px solid var(--line);
  margin-top: 20px;
}
.login-brand {
  background: linear-gradient(157deg, var(--steel) 0%, var(--brand-dark) 52%, var(--brand-darker) 100%);
  color: #fff; padding: 52px 44px; display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.login-brand:after {
  content: ""; position: absolute; right: -70px; bottom: -70px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.login-brand:before {
  content: ""; position: absolute; left: -50px; top: -50px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.login-brand-content { position: relative; z-index: 1; }
.login-brand .eyebrow { color: var(--brand-200); }
.login-brand-title { font-size: 26px; line-height: 1.28; font-weight: 800; margin: 0 0 16px; letter-spacing: -.2px; }
.login-brand-text { font-size: 15px; color: #dde6f0; margin: 0 0 28px; }
.login-brand-by { font-size: 12px; letter-spacing: .4px; color: var(--brand-200); margin: 0; }
.login-form { padding: 48px 42px; display: flex; flex-direction: column; justify-content: center; }

/* Form */
.field { margin: 22px 0 8px; }
.field label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 7px; color: var(--ink); }
.field input {
  width: 100%; padding: 13px 15px; font-size: 16px;
  border: 1px solid var(--line); border-radius: 10px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.error { color: var(--warn); font-size: 14px; font-weight: 600; }

/* ======================= BUTTONS ======================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; border: none; padding: 13px 24px; font-size: 15px; font-weight: 700;
  border-radius: 10px; transition: background .15s, transform .05s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(46,91,135,.26); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: var(--brand-100); color: var(--brand-dark); }
.btn-ghost:hover { background: var(--brand-200); }
.btn-block { width: 100%; margin-top: 8px; }
.btn-lg { padding: 15px 30px; font-size: 16px; margin-top: 8px; }

/* Lade-Zustand (dezenter Spinner) */
.btn.is-loading { color: transparent !important; pointer-events: none; position: relative; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 16px; height: 16px; top: 50%; left: 50%;
  margin: -8px 0 0 -8px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff;
  border-radius: 50%; animation: od-spin .6s linear infinite;
}
@keyframes od-spin { to { transform: rotate(360deg); } }

/* Bullets / intro */
.bullets { margin: 16px 0 4px; padding-left: 0; list-style: none; }
.bullets li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.bullets li:before {
  content: "✓"; position: absolute; left: 0; top: 10px;
  color: #fff; background: var(--brand); width: 20px; height: 20px; border-radius: 50%;
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
#intro-body p { margin: 0 0 12px; font-size: 15px; }

/* Phasen-Visual */
.phases { margin: 26px 0; padding: 20px; background: var(--brand-100); border-radius: 12px; }
.phases-label { font-size: 12px; font-weight: 700; color: var(--brand-dark); text-transform: uppercase; letter-spacing: 1px; margin: 0 0 14px; text-align: center; }
.phase-row { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.phase { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 90px; }
.phase-num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--white);
  border: 2px solid var(--brand); color: var(--brand-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
}
.phase-name { font-size: 12px; font-weight: 600; color: var(--brand-darker); text-align: center; }
.phase-arrow { color: var(--brand-300); font-weight: 700; }

/* ======================= PROGRESS ======================= */
.progress-wrap { margin-bottom: 20px; }
.progress-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.progress-info span { font-size: 14px; color: var(--muted); font-weight: 600; }
.chip {
  background: var(--brand); color: #fff; border-radius: 999px;
  padding: 3px 14px; font-weight: 800; font-size: 14px;
}
.progress-bar { height: 8px; background: #e6ecf4; border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--brand-dark)); transition: width .35s ease; }

/* ======================= QUIZ ======================= */
.q-title { font-size: 21px; color: var(--brand-darker); margin: 0 0 8px; font-weight: 800; }
.q-title span:first-child {
  background: var(--brand); color: #fff;
  border-radius: 8px; padding: 2px 11px; margin-right: 8px; font-weight: 800;
}
.q-prompt { color: var(--ink); font-weight: 500; margin: 0 0 18px; font-size: 16px; }

.legend { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.legend-item { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot-ist { background: var(--ist); }
.dot-soll { background: var(--soll); }

.options { display: flex; flex-direction: column; gap: 12px; }
.option {
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.option:hover { border-color: var(--brand-300); }
.option.sel-ist { border-color: var(--ist); background: rgba(35,76,114,.05); box-shadow: inset 3px 0 0 var(--ist); }
.option.sel-soll { border-color: var(--soll); background: rgba(94,117,144,.09); box-shadow: inset 3px 0 0 var(--soll); }
.option.sel-both { border-color: var(--brand-dark); background: rgba(35,76,114,.08); box-shadow: inset 3px 0 0 var(--brand-dark); }
.option-text { font-size: 15px; line-height: 1.55; }
.option-num { display: inline-block; font-weight: 800; color: var(--brand); margin-right: 6px; }
.picks { display: flex; gap: 8px; }
.pick {
  border: 1.5px solid var(--line); background: #fff; border-radius: 9px;
  padding: 8px 14px; font-size: 13px; font-weight: 800; cursor: pointer; color: var(--muted);
  min-width: 58px; text-align: center; transition: all .12s;
}
.pick:hover { border-color: var(--brand-300); }
.pick.ist.on { background: var(--ist); color: #fff; border-color: var(--ist); }
.pick.soll.on { background: var(--soll); color: var(--brand-darker); border-color: var(--soll); }

.quiz-nav { display: flex; justify-content: space-between; margin-top: 24px; }

/* ---- Aspekteraster: Zufriedenheits-Zeilen ---- */
.aspect {
  display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center;
  padding: 12px 4px; border-bottom: 1px solid var(--line-soft);
}
.aspect:last-child { border-bottom: none; }
.aspect-text { font-size: 14.5px; line-height: 1.45; }
.aspect-id { font-weight: 800; color: var(--brand); margin-right: 4px; }
.aspect-scale { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.sbtn {
  min-width: 34px; height: 34px; padding: 0 8px; border: 1.5px solid var(--line);
  background: #fff; border-radius: 8px; font-weight: 800; font-size: 13px; color: var(--muted); cursor: pointer;
  transition: all .12s;
}
.sbtn:hover { border-color: var(--brand-300); }
.sbtn.on.val1 { background: #1f7a52; border-color: #1f7a52; color: #fff; }
.sbtn.on.val2 { background: var(--brand); border-color: var(--brand); color: #fff; }
.sbtn.on.val3 { background: #c98a1e; border-color: #c98a1e; color: #fff; }
.sbtn.on.val4 { background: #c0392b; border-color: #c0392b; color: #fff; }
.sbtn.on.val0 { background: #8a94a1; border-color: #8a94a1; color: #fff; }
.hb {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--muted);
  border: 1.5px dashed var(--line); border-radius: 8px; padding: 6px 9px; cursor: pointer; margin-left: 4px;
}
.hb.on { border-color: #c98a1e; color: #a06a12; background: #fdf3e2; border-style: solid; }
.hb input { accent-color: #c98a1e; }

@media (max-width: 620px) {
  .aspect { grid-template-columns: 1fr; }
  .aspect-scale { justify-content: flex-start; }
}

/* ---- Kompetenzmatrix: Rollen-Auswahl & Skill/Will ---- */
.persp-btn {
  display: block; width: 100%; text-align: left; margin-bottom: 12px;
  padding: 16px 18px; border: 1.5px solid var(--line); background: #fff;
  border-radius: 12px; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer; transition: all .12s;
}
.persp-btn:hover { border-color: var(--brand-300); }
.persp-btn.on { border-color: var(--brand); background: var(--brand-100); color: var(--brand-darker); box-shadow: inset 3px 0 0 var(--brand); }

.sw-sub { padding: 14px 4px; border-bottom: 1px solid var(--line-soft); }
.sw-sub:last-child { border-bottom: none; }
/* Kompetenzmatrix: Erklärung der beiden Dimensionen auf der Startseite */
.dim-explain { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 18px; }
.dim-box { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: #fff; }
.dim-box.dim-skill { border-top: 3px solid var(--brand); }
.dim-box.dim-will { border-top: 3px solid #c98a1e; }
.dim-h { display: block; font-size: 15px; font-weight: 800; color: var(--brand-darker); margin-bottom: 5px; }
.dim-h em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--muted);
  letter-spacing: 1px; text-transform: uppercase; margin-left: 7px; }
.dim-t { display: block; font-size: 13px; line-height: 1.55; color: var(--muted); }
@media (max-width: 620px) { .dim-explain { grid-template-columns: 1fr; } }

/* Rollenauswahl mit Erläuterung */
.persp-btn .persp-t { display: block; font-weight: 800; }
.persp-btn .persp-h { display: block; font-size: 12.5px; font-weight: 500; opacity: .8; margin-top: 3px; }

.sw-text { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.sw-desc { font-size: 12.5px; line-height: 1.45; color: var(--muted); margin: 0 0 10px; padding-left: 2px; border-left: 3px solid var(--brand-200); padding: 2px 0 2px 10px; }
.sw-row { display: flex; align-items: center; gap: 12px; margin: 6px 0; }
.sw-lbl { font-size: 12px; font-weight: 800; min-width: 62px; text-transform: uppercase; letter-spacing: .5px; }
.sw-skill { color: var(--brand); }
.sw-will { color: #c98a1e; }
.sw-steps { display: flex; gap: 6px; flex-wrap: wrap; }
.swbtn {
  min-width: 44px; height: 34px; border: 1.5px solid var(--line); background: #fff;
  border-radius: 8px; font-weight: 700; font-size: 13px; color: var(--muted); cursor: pointer; transition: all .12s;
}
.swbtn:hover { border-color: var(--brand-300); }
.sw-row-skill .swbtn.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.sw-row-will .swbtn.on { background: #c98a1e; border-color: #c98a1e; color: #fff; }

@media (max-width: 620px) {
  .sw-row { align-items: flex-start; flex-direction: column; gap: 5px; }
}

/* ======================= RESULT ======================= */
.result-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 14px; margin-bottom: 4px; }
.result-actions { display: flex; gap: 10px; }

table.result {
  width: 100%; border-collapse: collapse; font-size: 14px;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
}
table.result th, table.result td { padding: 12px 13px; text-align: left; border-bottom: 1px solid var(--line-soft); }
table.result thead th { background: var(--brand); color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; }
table.result td.num, table.result th.num { text-align: center; width: 66px; }
table.result tbody tr:last-child td { border-bottom: none; }
table.result tr.row-strong td { background: rgba(192,57,43,.06); }
table.result tr.row-parallel td { background: rgba(31,122,82,.07); }
.badge { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.badge-strong { background: #fbe4e1; color: var(--warn); }
.badge-parallel { background: #dcefe5; color: var(--ok); }
.badge-mod { background: var(--brand-100); color: var(--brand-dark); }

.chart-wrap { overflow-x: auto; padding: 8px 0; }
.chart-legend { display: flex; gap: 18px; font-size: 13px; color: var(--muted); margin: 6px 0 10px; font-weight: 600; }
.chart-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; margin-right: 6px; vertical-align: middle; }

.summary p { margin: 0 0 12px; font-size: 15px; }
.summary .lead { font-weight: 600; color: var(--brand-darker); font-size: 16px; }

/* ---- Kennzahlen-Karten (Auswertung) ---- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric {
  background: var(--brand-100); border-radius: 12px; padding: 18px 14px;
  text-align: center; display: flex; flex-direction: column; gap: 3px;
  border: 1px solid var(--brand-200);
}
.metric-value { font-size: 30px; font-weight: 800; color: var(--brand-dark); line-height: 1.1; }
.metric-label { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.metric-sub { font-size: 11.5px; color: var(--muted); }
.metric-warn { background: #fbe9e6; border-color: #f2cfc9; }
.metric-warn .metric-value { color: var(--warn); }
.metric-ok { background: #e2f1ea; border-color: #c7e3d6; }
.metric-ok .metric-value { color: var(--ok); }

/* ---- Hervorhebungs-Blöcke ---- */
.callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.callout { border-radius: 12px; padding: 18px 20px; border: 1px solid var(--line); }
.callout-strong { background: #fdf1ef; border-color: #f3d3cd; }
.callout-parallel { background: #e9f4ee; border-color: #c9e5d6; }
.callout-head { font-weight: 800; font-size: 14px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.callout-strong .callout-head { color: var(--warn); }
.callout-parallel .callout-head { color: var(--ok); }
.callout-ic { font-size: 12px; }
.callout-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.callout-list li { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid rgba(0,0,0,.05); }
.callout-list li:last-child { border-bottom: none; padding-bottom: 0; }
.co-el { font-weight: 700; font-size: 13.5px; color: var(--ink); }
.co-move { font-size: 12.5px; color: var(--muted); }
.co-move b { color: var(--brand); }

/* ---- Login: Lockup, Features, Badge ---- */
.login-lockup { display: flex; flex-direction: column; line-height: 1; margin-bottom: 28px; }
.login-lockup-mark { font-weight: 800; letter-spacing: 1.5px; color: #fff; font-size: 19px; }
.login-lockup-sub { color: var(--brand-200); font-size: 11px; letter-spacing: 5.5px; font-weight: 600; margin-top: 3px; }
.login-features { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.login-features li { font-size: 14px; color: #eaf1fb; display: flex; align-items: center; gap: 10px; }
.feat-ic {
  width: 20px; height: 20px; min-width: 20px; border-radius: 50%; background: rgba(255,255,255,.16);
  color: #fff; font-size: 11px; font-weight: 800; font-style: normal;
  display: flex; align-items: center; justify-content: center;
}
.login-badge {
  display: inline-block; background: var(--brand-100); color: var(--brand-dark);
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; align-self: flex-start;
}

/* ---- Intro: Kennzahlen ---- */
.intro-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0; }
.intro-metrics-3 { grid-template-columns: repeat(3, 1fr); }
.imetric {
  text-align: center; padding: 18px 10px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--line);
}
.imetric-val { display: block; font-size: 30px; font-weight: 800; color: var(--brand); line-height: 1; }
.imetric-lbl { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 8px; line-height: 1.35; }

/* ======================= ABSCHLUSS (Mini-Feedback) ======================= */
.card-center { text-align: center; max-width: 620px; margin: 20px auto; }
.done-check {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--brand); color: #fff; font-size: 32px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.phase-hint {
  margin-top: 26px; padding: 26px 22px; border-radius: 14px;
  background: var(--brand-100); border: 1px solid var(--brand-200);
}
.phase-hint-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--brand-dark); margin: 0 0 12px; }
.phase-hint-badge {
  display: inline-block; background: var(--brand); color: #fff;
  font-size: 20px; font-weight: 800; padding: 10px 26px; border-radius: 999px;
}
.phase-hint-note { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.done-actions { margin-top: 24px; }

/* ======================= FOOTER ======================= */
.app-footer { background: var(--white); border-top: 1px solid var(--line); margin-top: 20px; }
.app-footer-inner { max-width: 900px; margin: 0 auto; padding: 22px 24px; text-align: center; }
.footer-brand { font-weight: 800; color: var(--brand); letter-spacing: 1px; font-size: 14px; }
.footer-meta { color: var(--muted); font-size: 13px; margin-top: 6px; }
.footer-meta a { color: var(--brand-dark); text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; }
.footer-meta .sep { margin: 0 8px; color: var(--line); }

/* ======================= PRINT ======================= */
@media print {
  .no-print, .app-header, .app-footer, .quiz-nav { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border: none; padding: 0; }
  .app-main { max-width: 100%; padding: 0; }
  table.result thead th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ======================= RESPONSIVE ======================= */
@media (max-width: 720px) {
  .login-split { grid-template-columns: 1fr; }
  .login-brand { padding: 36px 28px; }
  .login-form { padding: 32px 28px; }
  .card { padding: 26px; }
  .phase-arrow { display: none; }
  .phase { min-width: 70px; }
}
@media (max-width: 720px) {
  .metrics, .intro-metrics { grid-template-columns: repeat(2, 1fr); }
  .callouts { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .option { grid-template-columns: 1fr; }
  .picks { justify-content: flex-start; }
  .header-tag { display: none; }
}

/* =============================================================
   Info-Landingpage – großzügiges Layout in der Marken-Farbwelt
   Große Typografie, dunkle Markensektion, viel Weißraum.
   ============================================================= */
.lp { max-width: 100%; margin: 0; }

/* Bereiche auf weißem Grund: mittig begrenzt.
   Farbflächen (.lp-dark, .lp-steps-sec, .lp-foot) laufen dagegen voll durch. */
.lp-hero, .lp-shot, .lp-stats, .lp-sec, .lp-quote {
  max-width: 1120px; margin-left: auto; margin-right: auto;
  padding-left: 24px; padding-right: 24px;
}
.lp-brow { font-size: 15px; font-weight: 700; color: var(--brand); letter-spacing: -.01em; margin: 0 0 10px; }

/* ---- Hero ---- */
.lp-hero { text-align: center; padding-top: 76px; }
.lp-hero-logo { height: 62px; width: auto; display: block; margin: 0 auto 30px; }
.lp-h1 { font-size: 72px; line-height: 1.05; font-weight: 700; letter-spacing: -.028em;
  color: var(--brand-darker); margin: 0 0 22px; }
.lp-sub { font-size: 24px; line-height: 1.38; font-weight: 400; color: var(--muted);
  max-width: 660px; margin: 0 auto 18px; }
.lp-note { font-size: 15px; color: var(--steel); margin: 0; }

.lp-shot { margin-top: 52px; border-radius: 24px; overflow: hidden; background: var(--brand-100); }
.lp-shot img { width: 100%; height: auto; display: block; }

/* ---- Wechselndes Wort im Kopfbereich ---- */
.lp-rotate { font-size: 15px; color: var(--steel); margin: 22px 0 0; }
.lp-rotate-w { display: inline-block; position: relative; min-width: 210px; text-align: left;
  font-weight: 700; color: var(--brand); }
.lp-rotate-w.out { opacity: 0; transform: translateY(-8px); }
.lp-rotate-w { transition: opacity .34s cubic-bezier(.23,1,.32,1), transform .34s cubic-bezier(.23,1,.32,1); }

/* ---- Laufband ---- */
.lp-marq { margin-top: 74px; padding: 22px 0; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); overflow: hidden; }
.lp-marq-mask { position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.lp-marq-track { display: flex; width: max-content; gap: 46px; animation: lp-run 42s linear infinite; }
.lp-marq-mask:hover .lp-marq-track { animation-play-state: paused; }
@keyframes lp-run { to { transform: translateX(-50%); } }
.lp-marq-i { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap; transition: color .25s cubic-bezier(.23,1,.32,1); }
.lp-marq-i:hover { color: var(--brand); }
.lp-marq-i span { color: var(--brand-300); margin-right: 10px; }

/* ---- Ablauf in drei Bildern ---- */
.lp-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.lp-flow-i { margin: 0; }
.lp-flow-img { border-radius: 16px; overflow: hidden; background: var(--brand-100);
  aspect-ratio: 16 / 10; }
.lp-flow-img img { width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.03); transition: transform 1.1s cubic-bezier(.23,1,.32,1); }
.lp-flow-i:hover .lp-flow-img img { transform: scale(1.09); }
.lp-flow figcaption { padding-top: 18px; }
.lp-flow-n { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em;
  color: var(--brand); margin-bottom: 8px; }
.lp-flow figcaption b { display: block; font-size: 17px; color: var(--brand-darker);
  letter-spacing: -.01em; margin-bottom: 6px; }
.lp-flow figcaption p { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0; }

/* ---- Verweis auf die Hauptseite ---- */
.lp-bridge { margin-top: 118px; padding: clamp(66px, 8vw, 100px) 24px;
  background: linear-gradient(165deg, var(--brand-darker) 0%, #0f2337 100%); text-align: center; }
.lp-bridge-in { max-width: 700px; margin: 0 auto; }
.lp-bridge .lp-brow { color: var(--steel-light); }
.lp-bridge .lp-h2 { color: #fff; }
.lp-bridge .lp-lead { color: #a8b6c5; margin: 0 auto; }
.lp-bridge-btn { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px;
  padding: 15px 28px; border-radius: 3px; background: #fff; color: var(--brand-darker);
  font-size: 14.5px; font-weight: 700; text-decoration: none;
  transition: transform .25s cubic-bezier(.23,1,.32,1), box-shadow .25s cubic-bezier(.23,1,.32,1); }
.lp-bridge-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.lp-bridge-btn:active { transform: scale(.985); }
.lp-bridge-btn:focus-visible { outline: 2px solid var(--steel-light); outline-offset: 3px; }
.lp-bridge-ar { transition: transform .3s cubic-bezier(.23,1,.32,1); }
.lp-bridge-btn:hover .lp-bridge-ar { transform: translateX(5px); }

/* ---- Dashboard: Stellungnahme-Karten ---- */
.stmt-cards { display: grid; gap: 12px; margin: 6px 0 4px; }
.stmt-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.stmt-card-head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: baseline; margin-bottom: 10px;
  padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.stmt-card-sub { font-size: 12px; font-weight: 700; color: var(--brand); }
.stmt-card-asp { font-size: 13px; color: var(--brand-darker); font-weight: 600; }
.stmt-qa { margin-bottom: 10px; }
.stmt-qa-q { font-size: 12px; font-weight: 600; color: var(--steel); margin-bottom: 2px; }
.stmt-qa-a { font-size: 14px; color: var(--ink); line-height: 1.55; white-space: pre-wrap; }

/* ---- Aspekteraster: eigene Aspekte (Kap. 8) & Stellungnahme ---- */
.opt-hint { font-size: 14px; color: var(--muted); margin: 0 0 18px; line-height: 1.6; }
.custom-aspect .cust-line { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cust-input { flex: 1; min-width: 0; padding: 9px 12px; font-size: 15px; font-family: inherit;
  color: var(--ink); border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.cust-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }

.stmt-block { border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 6px;
  margin-bottom: 18px; background: var(--brand-50, #fafcfe); }
.stmt-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.stmt-no { font-size: 17px; font-weight: 700; color: var(--brand); line-height: 1.9; }
.stmt-q { display: block; font-size: 13.5px; font-weight: 600; color: var(--brand-darker);
  margin-bottom: 16px; line-height: 1.5; }
.stmt-aspect { flex: 1; margin-bottom: 0; font-weight: 700; }
.stmt-input { display: block; width: 100%; margin-top: 6px; padding: 9px 12px; font-size: 15px;
  font-family: inherit; font-weight: 400; color: var(--ink); border: 1px solid var(--line);
  border-radius: 8px; background: #fff; box-sizing: border-box; resize: vertical; }
.stmt-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
textarea.stmt-input { min-height: 46px; line-height: 1.5; }

/* ---- Kennzahlen ---- */
.lp-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 74px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-stat { padding: 42px 26px; text-align: center; border-right: 1px solid var(--line); }
.lp-stat:last-child { border-right: none; }
.lp-stat-v { display: block; font-size: 62px; font-weight: 700; letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-darker) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-stat-l { display: block; font-size: 15px; color: var(--muted); margin-top: 14px; line-height: 1.45; }

/* ---- Abschnitte ---- */
.lp-sec { padding-top: 120px; }
.lp-sec-head { text-align: center; margin-bottom: 58px; }
.lp-h2 { font-size: 50px; line-height: 1.1; font-weight: 700; letter-spacing: -.026em;
  color: var(--brand-darker); margin: 0 0 18px; }
.lp-lead { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 620px; margin: 0 auto; }

/* ---- Dunkle Markensektion ---- */
/* Farbflächen laufen über die volle Breite; der Inhalt darin bleibt begrenzt. */
.lp-dark { margin-top: 120px; padding: 110px 24px;
  background: linear-gradient(165deg, var(--brand-darker) 0%, #0d2135 55%, #0a1a2b 100%); }
.lp-dark-in { max-width: 1080px; margin: 0 auto; }
.lp-dark .lp-h2 { color: #fff; }
.lp-dark .lp-brow { color: var(--steel-light); }
.lp-dark .lp-lead { color: #a8b6c5; }
.lp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-card { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px; padding: 34px 28px;
  transition: transform .5s cubic-bezier(.22,.61,.36,1), background .5s, border-color .5s; }
.lp-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.22); }
.lp-card-n { display: block; font-size: 13px; font-weight: 700; color: var(--steel-light); margin-bottom: 16px; }
.lp-card h3 { font-size: 25px; font-weight: 700; letter-spacing: -.02em; color: #fff; margin: 0 0 8px; }
.lp-card-s { font-size: 15px; color: #8ea0b3; margin: 0 0 16px; }
.lp-card p { font-size: 15.5px; line-height: 1.65; color: #c2ccd7; margin: 0; }

/* ---- Modell ---- */
.lp-model { background: var(--brand-100); border-radius: 24px; padding: 46px 44px; }
.lp-row { display: flex; align-items: center; gap: 26px; padding: 22px 0;
  border-bottom: 1px solid var(--brand-200); }
.lp-row:last-child { border-bottom: none; }
.lp-bar { width: 4px; height: 48px; border-radius: 2px; flex: 0 0 auto; }
.lp-bar-1 { background: var(--brand); }
.lp-bar-2 { background: var(--steel); }
.lp-bar-3 { background: var(--steel-light); }
.lp-row-l { flex: 0 0 240px; }
.lp-row-t { display: block; font-size: 17px; font-weight: 700; color: var(--brand-darker); letter-spacing: -.01em; }
.lp-row-d { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.lp-row-e { font-size: 16px; color: var(--muted); }
.lp-row-e b { color: var(--brand-dark); font-weight: 700; }

/* ---- Zitat ---- */
.lp-quote { text-align: center; padding-top: 130px; padding-bottom: 130px; }
.lp-quote p { font-size: 44px; line-height: 1.2; font-weight: 700; letter-spacing: -.026em;
  color: var(--brand-darker); max-width: 900px; margin: 0 auto 24px; }
.lp-quote cite { font-style: normal; font-size: 15px; color: var(--steel); }

/* ---- Vorgehen ---- */
.lp-steps-sec { padding: 110px 24px; background: var(--brand-100); }
.lp-steps-in { max-width: 1080px; margin: 0 auto; }
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lp-step { padding-top: 24px; border-top: 2px solid var(--brand-darker); }
.lp-step-n { display: block; font-size: 13px; font-weight: 700; color: var(--brand); margin-bottom: 10px; }
.lp-step h4 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; color: var(--brand-darker); margin: 0 0 8px; }
.lp-step p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---- Person ---- */
.lp-person { display: flex; align-items: center; gap: 54px; background: var(--brand-100);
  border-radius: 24px; padding: 54px 50px; }
/* Porträt im Hochformat – zeigt das Motiv vollständig, ohne Beschnitt */
.lp-person-img { flex: 0 0 auto; width: 230px; border-radius: 18px; overflow: hidden;
  background: #e3e9ef; box-shadow: 0 10px 30px rgba(18,41,62,.14); }
.lp-person-img img { width: 100%; height: auto; display: block; }
.lp-person-t h3 { font-size: 34px; font-weight: 700; letter-spacing: -.02em; color: var(--brand-darker); margin: 0 0 4px; }
.lp-person-r { font-size: 16px; color: var(--brand); font-weight: 600; margin: 0 0 16px; }
.lp-person-t p { font-size: 16.5px; line-height: 1.65; color: var(--muted); max-width: 560px; margin: 0; }
.lp-motto { margin-top: 16px !important; font-size: 17px !important; color: var(--brand-darker) !important;
  font-weight: 600; }

/* ---- Fuß ---- */
.lp-foot { margin-top: 120px; padding: 62px 24px 44px; background: var(--brand-100); }
.lp-foot-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.lp-foot-logo { height: 40px; width: auto; display: block; margin-bottom: 20px; }
.lp-foot p { font-size: 13.5px; line-height: 1.75; color: var(--muted); margin: 0 0 14px; }
.lp-foot p:last-child { margin-bottom: 0; }
.lp-foot b { color: var(--brand-darker); }
.lp-foot a { color: var(--brand); text-decoration: none; font-weight: 600; }
.lp-foot a:hover { text-decoration: underline; }

/* Pflichtangaben – von jeder Seite aus erreichbar */
.lp-foot-legal { max-width: 1080px; margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid var(--brand-200); display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.lp-foot-copy { font-size: 12.5px; color: var(--muted); }
.lp-foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.lp-foot-links a { font-size: 12.5px; font-weight: 600; color: var(--brand-darker); }
.lp-foot-links a:hover { color: var(--brand); }
@media (max-width: 900px) {
  .lp-foot-legal { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 28px; }
  .lp-foot-links { gap: 18px; }
}

/* ---- Einblenden beim Scrollen ---- */
.rv { opacity: 0; transform: translateY(32px);
  transition: opacity 1s cubic-bezier(.22,.61,.36,1), transform 1s cubic-bezier(.22,.61,.36,1); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .10s; } .rv-d2 { transition-delay: .20s; } .rv-d3 { transition-delay: .30s; }
.lp-shot.rv img { transform: scale(1.06); transition: transform 1.5s cubic-bezier(.22,.61,.36,1); }
.lp-shot.rv.in img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .rv, .lp-shot.rv img { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (max-width: 900px) {
  .lp-h1 { font-size: 42px; }
  .lp-h2 { font-size: 31px; }
  .lp-quote p { font-size: 27px; }
  .lp-sub { font-size: 18px; }
  .lp-lead { font-size: 17px; }
  .lp-hero-logo { height: 48px; margin-bottom: 22px; }
  .lp-cards, .lp-steps, .lp-flow { grid-template-columns: 1fr; }
  .lp-flow { gap: 34px; }
  .lp-rotate-w { min-width: 0; }
  .lp-marq { margin-top: 48px; }
  .lp-bridge { margin-top: 76px; padding: 54px 22px; }
  .lp-stats { grid-template-columns: 1fr; }
  .lp-stat { border-right: none; border-bottom: 1px solid var(--line); padding: 30px; }
  .lp-stat:last-child { border-bottom: none; }
  .lp-stat-v { font-size: 46px; }
  .lp-person { flex-direction: column; text-align: center; padding: 38px 24px; gap: 26px; }
  .lp-person-img { width: 190px; }
  .lp-person-t p { max-width: none; }
  .lp-row { flex-wrap: wrap; gap: 14px; }
  .lp-row-l { flex: 1 1 100%; }
  .lp-hero, .lp-shot, .lp-stats, .lp-sec, .lp-quote { padding-left: 20px; padding-right: 20px; }
  .lp-hero { padding-top: 48px; }
  .lp-shot { margin-top: 38px; }
  .lp-stats { margin-top: 62px; }
  .lp-sec { padding-top: 76px; }
  .lp-dark, .lp-steps-sec { padding: 72px 20px; }
  .lp-dark { margin-top: 76px; }
  .lp-foot { margin-top: 76px; padding: 46px 20px 36px; }
  .lp-quote { padding-top: 80px; padding-bottom: 80px; }
  .lp-model { padding: 28px 22px; }
  .lp-foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .lp-shot { border-radius: 16px; }
}

/* =============================================================
   Rechtstexte (Impressum, Datenschutz, AVV)
   ============================================================= */
.legal { max-width: 820px; margin: 0 auto; }
.legal-back { display: inline-block; margin-bottom: 14px; font-size: 14px; color: var(--brand); text-decoration: none; }
.legal-back:hover { text-decoration: underline; }
.legal-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 36px 40px; }
.legal h1 { font-size: 28px; color: var(--brand-darker); margin: 0 0 6px; }
.legal .legal-sub { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.legal h2 { font-size: 17px; color: var(--brand-dark); margin: 26px 0 8px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.legal h2:first-of-type { border-top: none; padding-top: 0; }
.legal h3 { font-size: 14px; color: var(--brand-darker); margin: 16px 0 4px; }
.legal p, .legal li { font-size: 14.5px; line-height: 1.65; color: var(--ink); }
.legal ul { margin: 6px 0 6px 20px; }
.legal li { margin-bottom: 4px; }
.legal address { font-style: normal; line-height: 1.7; font-size: 14.5px; color: var(--ink); }
.legal a { color: var(--brand); }
.legal-updated { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }

/* Platzhalter-/Hinweis-Markierung – im Skript leicht auffindbar */
.todo {
  display: inline-block; background: #fdf3e2; color: #8a5a10;
  border: 1px dashed #e0b366; border-radius: 6px; padding: 1px 7px;
  font-size: 13px; font-weight: 600;
}
.legal-hint {
  background: #fbf6ec; border: 1px solid #ecd9ad; border-left: 4px solid #d9a441;
  border-radius: 10px; padding: 14px 16px; margin: 22px 0 6px;
  font-size: 13.5px; line-height: 1.6; color: #6d5320;
}
.legal-hint strong { color: #5b430f; }

/* ---- Stellungnahme: Aspekt-Auswähler ---- */
.stmt-aspect-wrap { position: relative; margin-bottom: 16px; }
.asp-search { display: block; width: 100%; margin-top: 6px; padding: 9px 12px; font-size: 15px;
  font-family: inherit; color: var(--ink); border: 1px solid var(--line); border-radius: 8px;
  background: #fff; box-sizing: border-box; }
.asp-search:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.asp-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; margin-top: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(18,41,62,.16); }
.asp-panel-list { max-height: 260px; overflow-y: auto; padding: 6px; }
.asp-opt { display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 8px 10px; border-radius: 7px; font-family: inherit; font-size: 14px; color: var(--ink); line-height: 1.4; }
.asp-opt:hover { background: var(--brand-100); }
.asp-opt-id { display: inline-block; min-width: 34px; font-weight: 700; color: var(--brand); }

/* ---- Dashboard: Stellungnahmen nach Aspekt gebündelt ---- */
.stmt-groups { display: grid; gap: 8px; margin-top: 4px; }
.stmt-group { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.stmt-group > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 12px; padding: 12px 14px; background: var(--brand-50, #fafcfe); }
.stmt-group > summary::-webkit-details-marker { display: none; }
.stmt-group-t { font-size: 14.5px; font-weight: 600; color: var(--brand-darker); }
.stmt-group-c { font-size: 12px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.stmt-group .stmt-cards { padding: 10px 14px 14px; }
.rep-opt { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); cursor: pointer; }

/* ---- AVV: Unterschriftszeilen ---- */
.legal-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 34px 0 10px; }
.legal-sign-line { border-bottom: 1px solid var(--ink); height: 44px; }
.legal-sign-col p { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
@media (max-width: 640px) { .legal-sign { grid-template-columns: 1fr; } }

/* Prozent-Hervorhebung im Dashboard */
.result td.cell-hl { background: var(--brand-100); font-weight: 700; color: var(--brand-darker); }

/* ---- Rechtstexte: Parteien-Kasten, Anlagen-Tabellen, Feinschrift ---- */
.legal-card h3 { font-size: 15px; color: var(--brand-darker); margin: 18px 0 6px; font-weight: 700; }
.legal-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 8px; }
.legal-party { background: var(--brand-100); border: 1px solid var(--brand-200); border-radius: 10px; padding: 14px 16px; }
.legal-party strong { display: block; color: var(--brand-darker); font-size: 13px; margin-bottom: 8px; }
.legal-party address, .legal-party p { font-style: normal; font-size: 13.5px; color: var(--ink); line-height: 1.6; margin: 0; }
.legal-fine { font-size: 12px; color: var(--muted); line-height: 1.5; }
.legal-sign-lbl { font-weight: 700; color: var(--brand-darker); font-size: 13px; margin: 0 0 8px; }
.legal-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 10px 0 6px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 620px; }
.legal-table th { background: var(--brand-darker); color: #fff; text-align: left; padding: 9px 10px; font-size: 11.5px; font-weight: 700; }
.legal-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink); line-height: 1.45; }
.legal-table tbody tr:nth-child(even) td { background: var(--brand-100); }
@media (max-width: 640px) {
  .legal-parties { grid-template-columns: 1fr; }
}

/* Intro: Beschreibungen der vier Entwicklungsphasen (Nina-Feedback) */
.phase-desc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.phase-desc-item { background: #f7f9fb; border: 1px solid #e6ebf1; border-radius: 10px; padding: 10px 12px; }
.phase-desc-h { display: block; font-weight: 800; color: #12293e; font-size: 12.5px; margin-bottom: 3px; }
.phase-desc-t { display: block; font-size: 12px; color: #55616e; line-height: 1.45; }
@media (max-width: 560px) { .phase-desc { grid-template-columns: 1fr; } }

/* Stellungnahme: Auswahlfeld als Dropdown erkennbar machen (Nina-Feedback) */
.asp-inputwrap { position: relative; }
.asp-inputwrap .asp-search { width: 100%; padding-right: 30px; }
.asp-caret { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #5e7590; font-size: 12px; }

/* Organisationsdiagnose: IST/ZIEL als Radio-Tabelle + Element-Kontext (Nina-Feedback) */
.q-context { display: block; color: var(--muted); font-size: 14px; line-height: 1.55; margin-bottom: 10px; }
.q-lead { display: block; font-weight: 700; color: var(--ink); }
.istsoll-grid { display: block; }
.istsoll-hrow { display: flex; }
.istsoll-hrow > span:first-child { flex: 1; }
.istsoll-hrow > span:not(:first-child) { flex: 0 0 66px; text-align: center; font-size: 12px; font-weight: 800; color: var(--brand); letter-spacing: .5px; padding: 0 0 6px; align-self: flex-end; }
.istsoll-row.option { display: flex; align-items: stretch; border: none; padding: 0; background: none; }
.istsoll-row .isr-text { flex: 1; font-size: 14.5px; line-height: 1.5; padding: 12px 14px; border: 1px solid var(--line); border-right: none; border-radius: 10px 0 0 10px; margin: 4px 0; background: #fff; }
.istsoll-row .isr-radio { flex: 0 0 66px; margin: 4px 0; border: 1px solid var(--line); border-left: none; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.istsoll-row .isr-radio.ist { border-left: 1px dashed var(--line); }
.istsoll-row .isr-radio.soll { border-radius: 0 10px 10px 0; }
.istsoll-row .isr-radio::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c2ccd8; transition: all .12s; }
.istsoll-row .isr-radio:hover::before { border-color: var(--brand-300); }
.istsoll-row .isr-radio.ist.on::before { border-color: var(--ist); background: var(--ist); box-shadow: inset 0 0 0 3px #fff; }
.istsoll-row .isr-radio.soll.on::before { border-color: var(--soll); background: var(--soll); box-shadow: inset 0 0 0 3px #fff; }
/* alte .option-Markierung für die Tabellen-Zeilen neutralisieren */
.istsoll-row.option.sel-ist, .istsoll-row.option.sel-soll, .istsoll-row.option.sel-both { box-shadow: none; background: none; }
.istsoll-row.sel-ist .isr-text { box-shadow: inset 3px 0 0 var(--ist); border-color: var(--ist); }
.istsoll-row.sel-soll .isr-text { box-shadow: inset 3px 0 0 var(--soll); border-color: var(--soll); }
.istsoll-row.sel-both .isr-text { box-shadow: inset 3px 0 0 var(--brand-dark); border-color: var(--brand-dark); }
@media (max-width: 560px) { .istsoll-grid { grid-template-columns: 1fr 52px 52px; } .istsoll-row .isr-text { font-size: 13.5px; padding: 10px 11px; } }

/* Kompetenzmatrix: TMS-Rollenauswahl (letzter Schritt) */
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 12px; }
.role-btn { display: flex; flex-direction: column; text-align: left; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 12px 14px; cursor: pointer; transition: border-color .12s, background .12s; }
.role-btn:hover { border-color: var(--brand-300); }
.role-btn.on { border-color: var(--brand); background: rgba(46,91,135,.06); box-shadow: inset 0 0 0 1px var(--brand); }
.role-t { display: block; font-weight: 800; color: var(--brand-darker); font-size: 14px; margin-bottom: 3px; }
.role-d { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }
.role-note-l { display: block; font-size: 13px; color: var(--ink); font-weight: 600; margin-top: 4px; }
.role-note { display: block; width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; font-weight: 400; resize: vertical; }
@media (max-width: 560px) { .role-grid { grid-template-columns: 1fr; } }
