/* KI-Wirkungscheck – Stylesheet (portiert aus ki-wirkungscheck-v15.html)
   Alle Regeln auf .ki-wc begrenzt, damit keine WordPress-Styles beeinflusst werden.
*/

/* ============================================================
   CSS-VARIABLEN
   ============================================================ */
.ki-wc {
  --color-primary:        #6B2F8F;
  --color-primary-hover:  #541f72;
  --color-sub:            #7B3FA0;
  --color-magenta:        #C2185B;

  --color-eco:  #1A5FA5;
  --color-env:  #2E7D57;
  --color-soc:  #C25A00;

  --bg-page:       #f5f4f8;
  --bg-white:      #ffffff;
  --bg-subtle:     #eeecf4;
  --bg-methodbox:  #f0edf8;

  --text-primary:   #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-tertiary:  #8a8aaa;

  --border-light:  rgba(107,47,143,0.12);
  --border-medium: rgba(107,47,143,0.25);
  --border-strong: rgba(107,47,143,0.45);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --font: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================================
   RESET & BASIS
   ============================================================ */
.ki-wc *,
.ki-wc *::before,
.ki-wc *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.ki-wc {
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  padding: 1.5rem 1rem 3rem;
}

.ki-wc .app {
  max-width: 820px;
  margin: 0 auto;
  overflow-x: hidden;
}

.ki-wc .app > .header {
  margin-bottom: 1rem;
}

.ki-wc .col-input,
.ki-wc .col-result {
  display: block;
  overflow: visible;
  max-height: none;
  position: static;
  padding: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.ki-wc .header {
  margin-bottom: 0;
  padding: 1rem 1.5rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 0.5px solid var(--border-light);
}

.ki-wc .header h1 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.ki-wc .header h1 span { color: var(--color-primary); }

.ki-wc .header p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 580px;
}

/* ============================================================
   SÄULEN-BADGES
   ============================================================ */
.ki-wc .pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 1rem;
}

.ki-wc .pillar-badge {
  border-radius: var(--radius-md);
  padding: 12px 14px;
  text-align: center;
  border: 0.5px solid var(--border-light);
  background: var(--bg-white);
}

.ki-wc .pillar-badge-label { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.ki-wc .pillar-badge-sub   { font-size: 11px; color: var(--text-tertiary); margin-top: 2px; }

/* ============================================================
   SCHRITTE
   ============================================================ */
.ki-wc .step-block { margin-bottom: 1rem; transition: opacity 0.2s; }

.ki-wc .step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ki-wc .step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.ki-wc .step-num.done { background: var(--color-primary); }

.ki-wc .step-title { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.ki-wc .step-sub   { font-size: 12px; color: var(--text-tertiary); margin-left: auto; }

/* ============================================================
   BERUFSFELD-GRID
   ============================================================ */
.ki-wc .role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ki-wc .role-card {
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 11px 13px;
  cursor: pointer;
  transition: all 0.12s;
  background: var(--bg-white);
}

.ki-wc .role-card:hover  { border-color: var(--border-medium); background: var(--bg-subtle); }
.ki-wc .role-card.active { border-color: var(--color-primary); background: var(--bg-subtle); box-shadow: 0 0 0 2px rgba(107,47,143,0.12); }

.ki-wc .role-card-label { font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.ki-wc .role-card-sub   { font-size: 11px; color: var(--text-tertiary); }

/* ============================================================
   AUFGABEN
   ============================================================ */
.ki-wc .proc-area {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
}

.ki-wc .proc-list { display: flex; flex-wrap: wrap; gap: 6px; }

.ki-wc .proc-btn {
  font-size: 12px; padding: 5px 13px;
  border-radius: var(--radius-xl);
  border: 0.5px solid var(--border-medium);
  background: var(--bg-white);
  color: var(--text-secondary);
  cursor: pointer; transition: all 0.12s;
  font-family: var(--font);
}

.ki-wc .proc-btn:hover  { border-color: var(--color-primary); color: var(--color-primary); }
.ki-wc .proc-btn.active { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }

.ki-wc .proc-source {
  font-size: 10px; color: var(--text-tertiary);
  margin-top: 10px; line-height: 1.5;
  border-top: 0.5px solid var(--border-light);
  padding-top: 8px;
}

/* ============================================================
   FELDER
   ============================================================ */
.ki-wc .fields-area {
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  background: var(--bg-white);
  overflow-x: hidden;
}

.ki-wc .fields-intro {
  font-size: 13px; color: var(--text-secondary);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 0.5px solid var(--border-light);
  line-height: 1.5;
}

.ki-wc .fields-intro strong { color: var(--color-primary); font-weight: 700; }

.ki-wc .field-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }

.ki-wc .field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ki-wc .field-wide { grid-column: span 2; }

.ki-wc .field label { font-size: 12px; color: var(--text-secondary); font-weight: 600; }

.ki-wc .field input,
.ki-wc .field select {
  width: 100%;
  min-width: 0;
  height: 40px; padding: 0 11px;
  border-radius: var(--radius-md);
  border: 0.5px solid var(--border-light);
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-size: 14px; font-family: var(--font);
  transition: border-color 0.12s;
  box-sizing: border-box;
}

.ki-wc .field input:focus,
.ki-wc .field select:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(107,47,143,0.08);
}

.ki-wc .field .hint { font-size: 11px; color: var(--text-tertiary); line-height: 1.4; }

.ki-wc .label-row { display: flex; align-items: center; gap: 6px; }

.ki-wc .tooltip-wrap { position: relative; display: inline-flex; align-items: center; }
.ki-wc .tooltip-icon {
  width: 15px; height: 15px; border-radius: 50%;
  border: 0.5px solid var(--border-medium);
  color: var(--text-tertiary); font-size: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: default; flex-shrink: 0;
}
.ki-wc .tooltip-text {
  display: none; position: absolute; bottom: 100%; left: 50%;
  transform: translateX(-50%); margin-bottom: 6px;
  background: var(--bg-white);
  border: 0.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 8px 10px; font-size: 11px;
  color: var(--text-secondary); line-height: 1.5;
  width: 220px; z-index: 10;
  box-shadow: 0 2px 12px rgba(107,47,143,0.12);
}
.ki-wc .tooltip-wrap:hover .tooltip-text { display: block; }

.ki-wc .slider-full { grid-column: span 2; overflow: hidden; }
.ki-wc .slider-row  { display: flex; align-items: center; gap: 12px; overflow: hidden; }
.ki-wc .slider-row label { min-width: 180px; flex-shrink: 0; }
.ki-wc .slider-row input[type=range] {
  flex: 1; min-width: 0; width: 100%;
  accent-color: var(--color-primary);
  -webkit-appearance: none !important;
  appearance: none !important;
  height: 6px !important;
  background: transparent !important;
  cursor: pointer;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

/* Track – Chrome/Safari/Edge (--slider-fill wird per JS gesetzt) */
.ki-wc .slider-row input[type=range]::-webkit-slider-runnable-track {
  height: 6px !important;
  border-radius: 3px !important;
  background: linear-gradient(
    to right,
    var(--color-primary, #6b2fa0) var(--slider-fill, 25%),
    #ddd                          var(--slider-fill, 25%)
  ) !important;
  border: none !important;
  box-shadow: none !important;
}

/* Thumb – Chrome/Safari/Edge */
.ki-wc .slider-row input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: var(--color-primary, #6b2fa0) !important;
  border: 2px solid #fff !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25) !important;
  margin-top: -6px !important;
  cursor: pointer !important;
}

/* Track – Firefox */
.ki-wc .slider-row input[type=range]::-moz-range-track {
  height: 6px !important;
  border-radius: 3px !important;
  background: var(--border-medium, #ddd) !important;
  border: none !important;
}

/* Thumb – Firefox */
.ki-wc .slider-row input[type=range]::-moz-range-thumb {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: var(--color-primary, #6b2fa0) !important;
  border: 2px solid #fff !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25) !important;
  cursor: pointer !important;
}

/* Filled portion left of thumb – Firefox */
.ki-wc .slider-row input[type=range]::-moz-range-progress {
  height: 6px !important;
  border-radius: 3px !important;
  background: var(--color-primary, #6b2fa0) !important;
}
.ki-wc .slider-val  { font-size: 13px; font-weight: 700; min-width: 36px; text-align: right; color: var(--color-primary); flex-shrink: 0; }

/* ============================================================
   SOZIALE DIMENSION
   ============================================================ */
.ki-wc .sozial-box {
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.25rem;
  background: var(--bg-white);
  margin-bottom: 1rem;
}

.ki-wc .sozial-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--color-soc); margin-bottom: 10px;
}

.ki-wc .sozial-input-row { display: flex; gap: 8px; margin-bottom: 12px; }

.ki-wc .sozial-input {
  flex: 1; height: 40px; padding: 0 11px;
  border-radius: var(--radius-md);
  border: 0.5px solid var(--border-light);
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-size: 14px; font-family: var(--font);
  transition: border-color 0.12s;
}

.ki-wc .sozial-input:focus {
  outline: none; border-color: var(--color-primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(107,47,143,0.08);
}

.ki-wc .sozial-select {
  width: 100%; padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 0.5px solid var(--border-light);
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-size: 13px; font-family: var(--font);
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.12s;
}

.ki-wc .sozial-select:focus {
  outline: none; border-color: var(--color-primary);
  background: var(--bg-white);
}

.ki-wc .sozial-selected { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; min-height: 0; overflow: hidden; }

.ki-wc .sozial-tag {
  font-size: 12px; padding: 4px 10px 4px 12px;
  border-radius: var(--radius-xl);
  background: #4a1a6e;
  border: 0.5px solid #6b2a9e;
  color: #ffffff;
  display: flex; align-items: flex-start; gap: 6px;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.ki-wc .sozial-tag span:first-child {
  flex: 1;
  min-width: 0;
  line-height: 1.4;
}

.ki-wc .sozial-tag-remove {
  cursor: pointer; color: rgba(255,255,255,0.7);
  font-size: 14px; line-height: 1;
  transition: color 0.12s;
}

.ki-wc .sozial-tag-remove:hover { color: #ffffff; }

.ki-wc .sozial-hint { font-size: 11px; color: var(--text-tertiary); line-height: 1.5; }

.ki-wc .divider { height: 0.5px; background: var(--border-light); margin: 1rem 0; }

/* ============================================================
   ERGEBNIS
   ============================================================ */
.ki-wc .results-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-bottom: 1.25rem;
}

.ki-wc .pillar-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  border: 0.5px solid var(--border-light);
}

.ki-wc .pillar-card-title {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 2px solid currentColor;
  opacity: 0.9;
}

.ki-wc .pillar-card-title.eco { color: var(--color-eco); }
.ki-wc .pillar-card-title.env { color: var(--color-env); }
.ki-wc .pillar-card-title.soc { color: var(--color-soc); }

.ki-wc .metric-block { margin-bottom: 10px; }
.ki-wc .metric-block:last-child { margin-bottom: 0; }
.ki-wc .metric-label { font-size: 11px; color: var(--text-secondary); margin-bottom: 2px; line-height: 1.3; }
.ki-wc .metric-value { font-size: 18px; font-weight: 800; }
.ki-wc .metric-value.pos  { color: var(--color-eco); }
.ki-wc .metric-value.grn  { color: var(--color-env); }
.ki-wc .metric-sub { font-size: 11px; color: var(--text-tertiary); margin-top: 1px; }

.ki-wc .co2-save-block {
  margin-top: 10px; padding: 10px 12px;
  background: linear-gradient(135deg, #e8f5ef 0%, #d4eddf 100%);
  border-radius: var(--radius-md);
  border: 1px solid #a8d8be;
}

.ki-wc .co2-save-label { font-size: 10px; font-weight: 700; color: var(--color-eco); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.ki-wc .co2-save-value { font-size: 15px; font-weight: 800; color: var(--color-eco); }
.ki-wc .co2-save-sub   { font-size: 10px; color: #3a8a5a; margin-top: 2px; line-height: 1.4; }

.ki-wc .sozial-card-content { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }
.ki-wc .sozial-uses { margin-top: 6px; list-style: none; padding: 0; }
.ki-wc .sozial-uses li { font-size: 12px; color: var(--text-secondary); padding: 3px 0 3px 14px; position: relative; line-height: 1.4; }
.ki-wc .sozial-uses li::before { content: '›'; position: absolute; left: 0; color: var(--color-soc); font-weight: 700; }

.ki-wc .context-bar {
  background: var(--bg-white);
  border-left: 3px solid var(--color-primary);
  padding: 0.875rem 1rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1.25rem;
  border-top: 0.5px solid var(--border-light);
  border-right: 0.5px solid var(--border-light);
  border-bottom: 0.5px solid var(--border-light);
}

.ki-wc .context-bar p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.ki-wc .context-bar strong { color: var(--color-primary); font-weight: 700; }

/* ============================================================
   AKTIONSLEISTE
   ============================================================ */
.ki-wc .action-row {
  display: flex; gap: 10px;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.ki-wc .copy-btn {
  font-size: 13px; padding: 9px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-medium);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer; transition: all 0.12s;
  font-family: var(--font); font-weight: 600;
}

.ki-wc .copy-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.ki-wc .copy-btn.copied { color: var(--color-eco); border-color: var(--color-eco); }

.ki-wc .pdf-btn {
  font-size: 13px; padding: 9px 18px;
  border-radius: var(--radius-md);
  border: none;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer; transition: all 0.12s;
  font-family: var(--font); font-weight: 700;
}

.ki-wc .pdf-btn:hover    { background: var(--color-primary-hover); }
.ki-wc .pdf-btn:disabled { opacity: 0.4; cursor: default; }

/* ============================================================
   METHODIKBOX
   ============================================================ */
.ki-wc .methodik-box {
  background: var(--bg-methodbox);
  border: 1px solid rgba(107,47,143,0.2);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.ki-wc .methodik-title {
  font-size: 11px; font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.ki-wc .methodik-box p {
  font-size: 12px; color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   PDF OVERLAY
   ============================================================ */
.ki-wc .overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(26,26,46,0.55);
  z-index: 100; align-items: center; justify-content: center;
  padding: 1rem;
}

.ki-wc .overlay.visible { display: flex; }

.ki-wc .overlay-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem; max-width: 430px; width: 100%;
  box-shadow: 0 12px 40px rgba(107,47,143,0.18);
}

.ki-wc .overlay-title {
  font-size: 17px; font-weight: 800;
  color: var(--text-primary); margin-bottom: 6px;
}

.ki-wc .overlay-sub {
  font-size: 13px; color: var(--text-secondary);
  margin-bottom: 1.25rem; line-height: 1.55;
}

.ki-wc .overlay-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 1rem; }
.ki-wc .overlay-field label { font-size: 12px; color: var(--text-secondary); font-weight: 600; }

.ki-wc .overlay-field input {
  height: 42px; padding: 0 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-size: 14px; font-family: var(--font);
  transition: all 0.12s;
}

.ki-wc .overlay-field input:focus {
  outline: none; border-color: var(--color-primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(107,47,143,0.1);
}

.ki-wc .overlay-dsgvo { font-size: 11px; color: var(--text-tertiary); line-height: 1.5; margin-bottom: 1.25rem; }
.ki-wc .overlay-dsgvo a { color: var(--color-primary); text-decoration: none; }
.ki-wc .overlay-dsgvo a:hover { text-decoration: underline; }

.ki-wc .overlay-actions { display: flex; gap: 8px; justify-content: flex-end; }

.ki-wc .overlay-cancel {
  font-size: 13px; padding: 9px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background: transparent; color: var(--text-secondary);
  cursor: pointer; font-family: var(--font); transition: all 0.12s;
}

.ki-wc .overlay-cancel:hover { border-color: var(--color-primary); color: var(--color-primary); }

.ki-wc .overlay-submit {
  font-size: 13px; padding: 9px 20px;
  border-radius: var(--radius-md);
  background: var(--color-primary); color: #fff;
  border: none; cursor: pointer;
  font-family: var(--font); font-weight: 700;
  transition: opacity 0.12s;
}

.ki-wc .overlay-submit:hover    { background: var(--color-primary-hover); }
.ki-wc .overlay-submit:disabled { opacity: 0.4; cursor: default; }

.ki-wc .overlay-success { display: none; text-align: center; padding: 1rem 0; }
.ki-wc .overlay-success p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.ki-wc .overlay-success strong { color: var(--text-primary); }

/* Paid-Banner */
.ki-wc .paid-banner {
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  background: var(--bg-white);
  margin-bottom: 1rem;
}

.ki-wc .paid-banner-text { font-size: 13px; color: var(--text-secondary); line-height: 1.4; }
.ki-wc .paid-banner-text strong { color: var(--text-primary); font-weight: 700; }

.ki-wc .paid-btn {
  font-size: 13px; padding: 9px 18px;
  border-radius: var(--radius-md);
  background: var(--color-primary); color: #fff;
  border: none; cursor: pointer; white-space: nowrap;
  font-family: var(--font); font-weight: 700;
  transition: opacity 0.12s;
}

.ki-wc .paid-btn:hover { background: var(--color-primary-hover); }

/* Footer */
.ki-wc .footer {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 0.5px solid var(--border-light);
  font-size: 11px; color: var(--text-tertiary);
  line-height: 1.6;
}

.ki-wc .footer a { color: var(--text-tertiary); text-decoration: none; }
.ki-wc .footer a:hover { color: var(--color-primary); text-decoration: underline; }

/* ============================================================
   RESPONSIVE – Tablet (max 900px)
   ============================================================ */
@media (max-width: 900px) {
  .ki-wc { padding: 1rem 0.875rem 2rem; }

  .ki-wc .pillars { grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 0.875rem; }
  .ki-wc .pillar-badge { padding: 8px 6px; }
  .ki-wc .pillar-badge-label { font-size: 11px; }
  .ki-wc .pillar-badge-sub   { font-size: 10px; }

  .ki-wc .step-block { margin-bottom: 0.875rem; }
  .ki-wc .sozial-box { margin-bottom: 0.875rem; }

  .ki-wc .role-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .ki-wc .role-card { padding: 9px 10px; }
  .ki-wc .role-card-label { font-size: 12px; }

  .ki-wc .results-three { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ki-wc .pillar-card:last-child { grid-column: span 2; }

  .ki-wc .field-grid { grid-template-columns: 1fr 1fr; }

  .ki-wc .overlay-card { padding: 1.5rem; }

  .ki-wc .header { padding: 1rem 1.25rem; }
  .ki-wc .header h1 { font-size: 18px; }
  .ki-wc .header p  { font-size: 13px; }
}

/* ============================================================
   RESPONSIVE – Mobil (max 560px)
   ============================================================ */
@media (max-width: 560px) {
  .ki-wc .app { padding: 0.75rem 0.625rem 2rem; }

  .ki-wc .header { padding: 0.875rem 1rem; border-radius: var(--radius-md); }
  .ki-wc .header h1 { font-size: 17px; }
  .ki-wc .header p  { font-size: 13px; }

  .ki-wc .pillars { grid-template-columns: 1fr 1fr 1fr; gap: 5px; }

  .ki-wc .role-grid { grid-template-columns: 1fr 1fr; }
  .ki-wc .role-card-label { font-size: 12px; }

  .ki-wc .field-grid { grid-template-columns: 1fr; }
  .ki-wc .field-wide { grid-column: span 1; }
  .ki-wc .slider-full { grid-column: span 1; }

  .ki-wc .slider-row { flex-wrap: wrap; gap: 8px; }
  .ki-wc .slider-row label { min-width: unset !important; width: 100%; font-size: 12px; flex-shrink: unset; }
  .ki-wc .slider-row input[type=range] { width: 100%; flex: none; min-width: 0; }
  .ki-wc .slider-val { min-width: unset; }

  .ki-wc .results-three { grid-template-columns: 1fr; }
  .ki-wc .pillar-card:last-child { grid-column: span 1; }

  .ki-wc .action-row { flex-direction: column; gap: 8px; }
  .ki-wc .copy-btn, .ki-wc .pdf-btn { width: 100%; text-align: center; }

  .ki-wc .methodik-box { padding: 0.875rem 1rem; }
  .ki-wc .methodik-box p { font-size: 11px; }

  .ki-wc .overlay { padding: 0.75rem; align-items: flex-end; }
  .ki-wc .overlay-card {
    padding: 1.25rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-width: 100%;
  }
  .ki-wc .overlay-title { font-size: 15px; }
  .ki-wc .overlay-actions { flex-direction: column-reverse; }
  .ki-wc .overlay-cancel,
  .ki-wc .overlay-submit { width: 100%; text-align: center; padding: 11px; }

  .ki-wc .context-bar p { font-size: 12px; }

  .ki-wc .footer { font-size: 11px; }
  .ki-wc .footer a { display: inline-block; margin-bottom: 2px; }

  .ki-wc .step-title { font-size: 13px; }
  .ki-wc .step-sub   { font-size: 11px; }

  .ki-wc .sozial-tag { font-size: 11px; padding: 5px 8px 5px 10px; }
  .ki-wc .sozial-select { font-size: 13px; }
  .ki-wc .sozial-input  { font-size: 13px; }
}

/* ============================================================
   RESPONSIVE – Sehr klein (max 380px)
   ============================================================ */
@media (max-width: 380px) {
  .ki-wc .role-grid  { grid-template-columns: 1fr; }
  .ki-wc .header h1  { font-size: 15px; }
  .ki-wc .metric-value { font-size: 15px; }
  .ki-wc .pillars { grid-template-columns: 1fr; }
}
