/* InseratCheck Werkstatt-Portal — werkstatt.css */
@import url('https://fonts.googleapis.com/css2?family=Cabinet+Grotesk:wght@400;500;700;800;900&display=swap');

:root {
  --ic-red:    #1d4ed8;
  --ic-dark:   #1a1a1a;
  --ic-white:  #fafaf9;
  --ic-cream:  #f5f0eb;
  --ic-gut:    #16a34a;
  --ic-mittel: #d97706;
  --ic-schlecht: #dc2626;
  --ic-border: #e5e7eb;
  --ic-text:   #111827;
  --ic-muted:  #6b7280;
  --ic-radius: 10px;
  --ic-shadow: 0 1px 4px rgba(0,0,0,.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.icw-wrap {
  font-family: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ic-text);
  background: var(--ic-cream);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Screen transitions ─────────────────────────────────── */
.icw-screen { animation: icwFadeIn .22s ease; }
@keyframes icwFadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }

/* ── Login ──────────────────────────────────────────────── */
#icw-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  background: var(--ic-cream);
}

.icw-login-card {
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
}

.icw-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.icw-badge {
  background: var(--ic-red);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 5px;
  letter-spacing: .5px;
}

.icw-logo-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--ic-dark);
}

.icw-login-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--ic-dark);
  margin-bottom: 6px;
}

.icw-login-sub {
  color: var(--ic-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

/* ── Forms ──────────────────────────────────────────────── */
.icw-field {
  margin-bottom: 18px;
}

.icw-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ic-dark);
  margin-bottom: 6px;
  letter-spacing: .3px;
}

.icw-field input,
.icw-field textarea,
.icw-field select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--ic-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ic-text);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
}

.icw-field input:focus,
.icw-field textarea:focus {
  outline: none;
  border-color: var(--ic-red);
  box-shadow: 0 0 0 3px rgba(220,38,38,.1);
}

.icw-field textarea { resize: vertical; min-height: 100px; }

/* ── Grid ───────────────────────────────────────────────── */
.icw-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.icw-span-2 { grid-column: 1 / -1; }

@media (max-width: 600px) {
  .icw-grid-2 { grid-template-columns: 1fr; }
  .icw-span-2 { grid-column: 1; }
}

/* ── Buttons ────────────────────────────────────────────── */
.icw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: opacity .15s, transform .1s;
}

.icw-btn:hover { opacity: .88; }
.icw-btn:active { transform: scale(.98); }

.icw-btn-primary { background: var(--ic-red); color: #fff; }
.icw-btn-ghost   { background: transparent; color: var(--ic-dark); border: 1.5px solid var(--ic-border); }
.icw-btn:not(.icw-btn-primary):not(.icw-btn-ghost):not(.icw-btn-full) { background: #f3f4f6; color: #374151; border: 1.5px solid #e5e7eb; }
.icw-btn-full    { width: 100%; }

/* ── Alerts ─────────────────────────────────────────────── */
.icw-alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}
.icw-alert-error   { background: #fef2f2; color: var(--ic-red); border: 1px solid #fecaca; }
.icw-alert-success { background: #f0fdf4; color: #16a34a;       border: 1px solid #bbf7d0; }

/* ── Foto-Buttons ────────────────────────────────────────── */
.icw-foto-buttons {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.icw-foto-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
.icw-foto-kamera {
  background: #1a1a1a;
  color: #fff;
}
.icw-foto-datei {
  background: #f3f4f6;
  color: #111;
  border: 1px solid #d1d5db;
}

/* ── Nav ────────────────────────────────────────────────── */
.icw-nav {
  background: var(--ic-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.icw-nav-left  { display: flex; align-items: center; gap: 10px; }
.icw-nav-right { display: flex; align-items: center; gap: 10px; }
.icw-nav-center { color: #fff; font-weight: 700; font-size: 15px; }

.icw-nav-name  { color: #fff; font-weight: 700; font-size: 15px; }
.icw-nav-sep   { color: #555; margin: 0 4px; }
.icw-nav-wname { color: #aaa; font-size: 14px; }

.icw-nav-btn {
  background: var(--ic-red);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: opacity .15s;
}
.icw-nav-btn:hover { opacity: .85; }
.icw-nav-btn-ghost {
  background: transparent;
  color: #aaa;
  border: 1px solid #444;
}
.icw-nav-btn-ghost:hover { color: #fff; border-color: #666; opacity: 1; }

.icw-nav-back {
  background: none;
  border: none;
  color: #aaa;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  padding: 8px 0;
  transition: color .15s;
}
.icw-nav-back:hover { color: #fff; }

.icw-step-indicator { color: #aaa; font-size: 13px; font-weight: 600; }

/* ── Progress Bar ───────────────────────────────────────── */
.icw-progress-wrap {
  background: #e5e7eb;
  height: 4px;
}
.icw-progress-bar {
  height: 4px;
  background: var(--ic-red);
  transition: width .4s ease;
}

/* ── Stats Bar ──────────────────────────────────────────── */
.icw-stats-bar {
  display: flex;
  background: #fff;
  border-bottom: 1px solid var(--ic-border);
}
.icw-stat {
  flex: 1;
  padding: 16px 20px;
  text-align: center;
  border-right: 1px solid var(--ic-border);
}
.icw-stat:last-child { border-right: none; }
.icw-stat-num {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: var(--ic-red);
}
.icw-stat-label {
  font-size: 12px;
  color: var(--ic-muted);
  font-weight: 600;
  letter-spacing: .3px;
}

/* ── Section / Form Container ───────────────────────────── */
.icw-section {
  max-width: 860px;
  margin: 28px auto;
  padding: 0 20px;
}

.icw-section-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}

.icw-step {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.icw-form-section {
  background: #fff;
  border-radius: var(--ic-radius);
  padding: 28px;
  box-shadow: var(--ic-shadow);
  margin-top: 24px;
}

.icw-form-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ic-dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ic-red);
}

.icw-form-footer {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}
.icw-footer-split { justify-content: space-between; }

.icw-mt { margin-top: 20px; }

/* ── Checks List ────────────────────────────────────────── */
.icw-checks-list { display: flex; flex-direction: column; gap: 10px; }

.icw-check-card {
  background: #fff;
  border: 1px solid var(--ic-border);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.icw-check-card:hover {
  border-color: var(--ic-red);
  box-shadow: 0 2px 8px rgba(220,38,38,.1);
}

.icw-check-card-left { flex: 1; }
.icw-check-card-title { font-weight: 700; font-size: 15px; margin-bottom: 3px; }
.icw-check-card-meta  { font-size: 12px; color: var(--ic-muted); }
.icw-check-card-right { display: flex; align-items: center; gap: 10px; }

.icw-badge-gut     { background: #dcfce7; color: #16a34a; }
.icw-badge-mittel  { background: #fef9c3; color: #854d0e; }
.icw-badge-schlecht{ background: #fee2e2; color: var(--ic-red); }

.icw-score-badge {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.icw-arrow { color: var(--ic-muted); font-size: 18px; }
.icw-check-delete-btn { background: none; border: none; color: #9ca3af; font-size: 16px; cursor: pointer; padding: 4px 6px; border-radius: 4px; line-height: 1; }
.icw-check-delete-btn:hover { background: #fee2e2; color: #dc2626; }
.icw-empty { text-align: center; color: var(--ic-muted); padding: 32px; font-size: 14px; }

/* ── Prüfpunkte ─────────────────────────────────────────── */
.icw-kategorie-block {
  margin-bottom: 28px;
}

.icw-kategorie-header {
  background: var(--ic-dark);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .4px;
  padding: 10px 16px;
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.icw-kategorie-progress-text { font-size: 12px; color: #aaa; }

.icw-punkt-item {
  border: 1px solid var(--ic-border);
  border-top: none;
  padding: 14px 16px;
  background: #fff;
  transition: background .1s;
}

.icw-punkt-item:last-child { border-radius: 0 0 8px 8px; }
.icw-punkt-item.icw-punkt-done { background: #f0fdf4; }

.icw-punkt-name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icw-punkt-done-icon { color: var(--ic-gut); font-size: 16px; }

/* Bewertung Buttons */
.icw-bewertung-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.icw-bew-btn {
  flex: 1;
  min-width: 80px;
  padding: 9px 12px;
  border-radius: 8px;
  border: 2px solid var(--ic-border);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.icw-bew-btn:hover { border-color: #9ca3af; background: #f9fafb; }

.icw-bew-btn.icw-bew-active-gut      { background: var(--ic-gut);     border-color: var(--ic-gut);     color: #fff; }
.icw-bew-btn.icw-bew-active-mittel   { background: var(--ic-mittel);  border-color: var(--ic-mittel);  color: #fff; }
.icw-bew-btn.icw-bew-active-schlecht { background: var(--ic-schlecht);border-color: var(--ic-schlecht);color: #fff; }

/* Ja/Nein */
.icw-ja-nein-group {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.icw-jn-btn {
  padding: 9px 20px;
  border-radius: 8px;
  border: 2px solid var(--ic-border);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all .15s;
}
.icw-jn-btn:hover { border-color: #9ca3af; }
.icw-jn-btn.icw-jn-active-positiv { background: var(--ic-gut);      border-color: var(--ic-gut);      color: #fff; }
.icw-jn-btn.icw-jn-active-negativ { background: var(--ic-schlecht); border-color: var(--ic-schlecht); color: #fff; }

/* Zahl */
.icw-zahl-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.icw-zahl-input {
  width: 120px;
  padding: 9px 12px;
  border: 2px solid var(--ic-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  transition: border-color .15s;
}
.icw-zahl-input:focus { outline: none; border-color: var(--ic-red); }
.icw-zahl-unit { color: var(--ic-muted); font-size: 13px; font-weight: 600; }

/* Kommentar */
.icw-kommentar-toggle {
  background: none;
  border: none;
  color: var(--ic-muted);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 2px 0;
}
.icw-kommentar-toggle:hover { color: var(--ic-dark); }
.icw-kommentar-field {
  width: 100%;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1.5px solid var(--ic-border);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  resize: vertical;
  min-height: 64px;
}
.icw-kommentar-field:focus { outline: none; border-color: var(--ic-red); }

/* Foto */
.icw-foto-wrap { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.icw-foto-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 7px;
  border: 1.5px dashed var(--ic-border);
  background: #fafaf9;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  color: var(--ic-muted);
  font-weight: 600;
  transition: all .15s;
}
.icw-foto-btn:hover { border-color: var(--ic-red); color: var(--ic-red); }
.icw-foto-hidden { display: none; }

/* Reifenprofil */
.icw-reifen-wrap { margin-top: 8px; }
.icw-reifen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.icw-reifen-field { display: flex; flex-direction: column; gap: 6px; background: #f9fafb; border: 1px solid var(--ic-border); border-radius: 8px; padding: 8px 10px; }
.icw-reifen-label { font-weight: 700; font-size: 13px; color: #374151; }
.icw-reifen-row { display: flex; align-items: center; gap: 5px; }
.icw-reifen-row .icw-zahl-input { width: 72px; }
.icw-reifen-alter-row { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.icw-reifen-alter-lbl { font-size: 11px; color: #9ca3af; white-space: nowrap; }
.icw-reifen-alter-inp { padding: 4px 8px; font-size: 13px; border: 1px solid var(--ic-border); border-radius: 6px; font-family: inherit; }
.icw-reifen-alter-inp.icw-reifen-kw   { width: 72px; }
.icw-reifen-alter-inp.icw-reifen-jahr { width: 90px; }
.icw-reifen-sep { font-size: 12px; color: #9ca3af; }
.icw-foto-preview {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
  cursor: pointer;
}

/* ── Gesamtbewertung ────────────────────────────────────── */
.icw-bewertung-group.icw-gesamt-group .icw-bew-btn { padding: 14px 20px; font-size: 15px; }

/* ── Gesamtbewertung & Abschluss-Block ──────────────────── */
.icw-abschluss-block {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 2px solid var(--ic-border);
}
.icw-abschluss-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ic-dark);
  margin-bottom: 20px;
}

/* ── Protokoll-Vorschau ─────────────────────────────────── */
.icw-preview-box {
  background: var(--ic-cream);
  border: 1px solid var(--ic-border);
  border-radius: 10px;
  padding: 20px;
  margin-top: 24px;
}
.icw-preview-title { font-size: 15px; font-weight: 800; margin-bottom: 14px; color: var(--ic-dark); }
.icw-preview-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--ic-border); font-size: 13px; }
.icw-preview-row:last-child { border-bottom: none; }
.icw-preview-kat  { font-weight: 700; font-size: 12px; color: var(--ic-muted); text-transform: uppercase; letter-spacing: .5px; padding: 10px 0 4px; }
.icw-preview-label{ color: var(--ic-text); }
.icw-preview-val  { font-weight: 700; }
.icw-preview-val.gut     { color: var(--ic-gut); }
.icw-preview-val.mittel  { color: var(--ic-mittel); }
.icw-preview-val.schlecht{ color: var(--ic-schlecht); }

/* ── Check-Detail ───────────────────────────────────────── */
.icw-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.icw-detail-gesamt {
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  text-align: center;
}

.icw-detail-table { width: 100%; border-collapse: collapse; }
.icw-detail-table th { background: var(--ic-dark); color: #fff; text-align: left; padding: 10px 14px; font-size: 13px; }
.icw-detail-table td { padding: 10px 14px; border-bottom: 1px solid var(--ic-border); font-size: 14px; }
.icw-detail-table tr:last-child td { border-bottom: none; }
.icw-detail-kat-row td { background: #f9fafb; font-weight: 700; color: var(--ic-dark); font-size: 13px; letter-spacing: .3px; padding: 8px 14px; }

/* ── Loading ────────────────────────────────────────────── */
.icw-loading {
  text-align: center;
  color: var(--ic-muted);
  padding: 32px;
  font-size: 14px;
}

/* ── Print ──────────────────────────────────────────────── */
@media print {
  .icw-nav, .icw-stats-bar, .icw-form-footer, .icw-nav-btn { display: none !important; }
  .icw-form-section { box-shadow: none; border: 1px solid #eee; }
}

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .icw-nav { padding: 0 14px; }
  .icw-nav-wname { display: none; }
  .icw-login-card { padding: 32px 20px; }
  .icw-form-section { padding: 18px; }
  .icw-step { padding: 0 12px 40px; }
  .icw-bewertung-group .icw-bew-btn { min-width: 60px; }
  .icw-stats-bar { overflow-x: auto; }
}

/* ═══════════════════════════════════════════════════════════
   PARTNERWERKSTATT-INFOSEITE (BLOCK 1) — Prefix: icpw-
   Vollständig getrennt vom bestehenden Portal (.icw-*)
   ═══════════════════════════════════════════════════════════ */

.icpw-wrap {
  font-family: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ic-text);
  background: var(--ic-cream);
  -webkit-font-smoothing: antialiased;
}

/* ── Hero ─────────────────────────────────────────────────── */
.icpw-hero {
  background: var(--ic-dark);
  padding: 64px 24px 72px;
  text-align: center;
}

.icpw-hero-inner {
  max-width: 680px;
  margin: 0 auto;
}

.icpw-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.icpw-badge {
  background: var(--ic-red);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 5px;
  letter-spacing: .5px;
}

.icpw-logo-name {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.icpw-hero-title {
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
}

.icpw-hero-sub {
  font-size: 16px;
  color: #bbb;
  line-height: 1.65;
  margin-bottom: 36px;
}

.icpw-hero-cta {
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 10px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.icpw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity .15s, transform .1s;
  line-height: 1;
}

.icpw-btn:hover { opacity: .88; text-decoration: none; }
.icpw-btn:active { transform: scale(.98); }

.icpw-btn-primary { background: var(--ic-red); color: #fff; }
.icpw-btn-full    { width: 100%; }

/* ── Sections ────────────────────────────────────────────── */
.icpw-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px;
}

.icpw-section-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--ic-dark);
  margin-bottom: 10px;
}

.icpw-section-sub {
  font-size: 15px;
  color: var(--ic-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

/* ── Anforderungs-Cards ──────────────────────────────────── */
.icpw-req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.icpw-req-card {
  background: #fff;
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius);
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--ic-shadow);
}

.icpw-req-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.icpw-req-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ic-dark);
  margin-bottom: 6px;
}

.icpw-req-desc {
  font-size: 13px;
  color: var(--ic-muted);
  line-height: 1.55;
}

/* ── CTA-Bar ─────────────────────────────────────────────── */
.icpw-cta-bar {
  background: var(--ic-red);
  padding: 24px;
}

.icpw-cta-bar-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.icpw-cta-bar-text {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.icpw-cta-bar .icpw-btn-primary {
  background: #fff;
  color: var(--ic-red);
}

.icpw-cta-bar .icpw-btn-primary:hover { opacity: .92; }

/* ── Registrierungs-Sektion ──────────────────────────────── */
.icpw-reg-section {
  padding-bottom: 72px;
}

.icpw-reg-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0,0,0,.09);
}

/* ── Felder ──────────────────────────────────────────────── */
.icpw-field {
  margin-bottom: 20px;
}

.icpw-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ic-dark);
  margin-bottom: 6px;
  letter-spacing: .3px;
}

.icpw-field input[type="text"],
.icpw-field input[type="email"],
.icpw-field input[type="password"] {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--ic-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ic-text);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
}

.icpw-field input:focus {
  outline: none;
  border-color: var(--ic-red);
  box-shadow: 0 0 0 3px rgba(220,38,38,.1);
}

.icpw-req-mark { color: var(--ic-red); }

/* Passwort-Toggle */
.icpw-pw-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.icpw-pw-wrap input[type="password"],
.icpw-pw-wrap input[type="text"] {
  padding-right: 44px;
}

.icpw-pw-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--ic-muted);
  display: flex;
  align-items: center;
  line-height: 1;
  transition: color .15s;
}

.icpw-pw-toggle:hover { color: var(--ic-dark); }

/* Checkbox-Zeile */
.icpw-field-check { margin-bottom: 24px; }

.icpw-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ic-muted);
  font-weight: 400;
  cursor: pointer;
}

.icpw-check-label input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--ic-red);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.icpw-check-label a {
  color: var(--ic-red);
  text-decoration: underline;
}

/* ── Meldungen ───────────────────────────────────────────── */
.icpw-msg {
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 22px;
}

.icpw-msg-success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.icpw-msg-error {
  background: #fef2f2;
  color: var(--ic-red);
  border: 1px solid #fecaca;
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 680px) {
  .icpw-hero-title { font-size: 26px; }
  .icpw-hero-sub   { font-size: 14px; }
  .icpw-req-grid   { grid-template-columns: 1fr; }
  .icpw-reg-card   { padding: 28px 20px; }
  .icpw-section    { padding: 40px 16px; }
  .icpw-cta-bar-inner { flex-direction: column; text-align: center; }
}

/* ── Schritte (Wie funktioniert's) ───────────────────────── */
.icpw-steps { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin: 0 auto; }

.icpw-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: var(--ic-shadow);
}

.icpw-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--ic-red);
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icpw-step-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--ic-text);
}

.icpw-step-desc {
  font-size: 14px;
  color: var(--ic-muted);
  line-height: 1.55;
}

/* ── Zeitbanner ──────────────────────────────────────────── */
.icpw-time-banner {
  margin-top: 28px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1e40af;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.icpw-faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.icpw-faq-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: var(--ic-shadow);
}

.icpw-faq-q {
  font-weight: 700;
  font-size: 15px;
  color: var(--ic-text);
  margin-bottom: 8px;
}

.icpw-faq-a {
  font-size: 14px;
  color: var(--ic-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   BLOCK 2 – STEP 1: Werkstattprofil
   ═══════════════════════════════════════════════════════════ */

/* Schlanker Hero für Folgeseiten */
.icpw-hero--slim { padding: 40px 24px 48px; }
.icpw-hero-title--sm { font-size: 26px; }

/* Abschnitts-Labels im Formular */
.icpw-profil-section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--ic-muted);
  margin: 24px 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ic-border);
}

.icpw-profil-section-label:first-child { margin-top: 0; }

/* Zeilen-Layout für Straße+Nr und PLZ+Ort */
.icpw-field-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.icpw-field-grow { flex: 1; }

.icpw-field-hnr { width: 80px; flex-shrink: 0; }
.icpw-field-plz { width: 96px; flex-shrink: 0; }

/* Lade-Zustand */
.icpw-profil-loading {
  text-align: center;
  color: var(--ic-muted);
  padding: 32px 0;
  font-size: 14px;
}

@media (max-width: 480px) {
  .icpw-field-row    { flex-direction: column; gap: 0; }
  .icpw-field-hnr,
  .icpw-field-plz    { width: 100%; }
}

/* Pflichtfeld-Validierung */
.icw-punkt-fehlt {
  border: 2px solid #dc2626 !important;
  border-radius: 8px;
  background: #fff5f5;
  animation: icw-shake 0.3s ease;
}
.icw-punkt-fehlt .icw-punkt-name {
  color: #dc2626;
}
@keyframes icw-shake {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(-4px); }
  75%       { transform: translateX(4px); }
}

/* ── Vergütung ── */
.icw-stat-card { background:#fff; border-radius:10px; box-shadow:0 1px 4px rgba(0,0,0,.08); padding:20px; text-align:center; }
.icw-nav-tab-btn.active { background:rgba(255,255,255,.15); color:#fff; }

/* ── Hamburger ──────────────────────────────────────────── */
.icw-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.icw-hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.icw-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.icw-hamburger.open span:nth-child(2) { opacity: 0; }
.icw-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Menü ────────────────────────────────────────── */
.icw-mobile-menu {
  background: #1a1a1a;
  border-top: 1px solid #333;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.icw-mob-btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: none;
  text-align: left;
  background: rgba(255,255,255,.08);
  color: #fff;
  transition: background .15s;
}
.icw-mob-btn:hover { background: rgba(255,255,255,.15); }
.icw-mob-btn-ghost { background: none; border: 1.5px solid #444; color: #ccc; }
.icw-mob-btn.active { background: rgba(255,255,255,.18); }

@media (max-width: 680px) {
  .icw-nav-right { display: none; }
  .icw-hamburger { display: flex; }
}

/* ── Horizontaler Scroll-Fix (Theme-Override) ───────────── */
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}
body * {
  background-attachment: scroll !important;
}
.icw-wrap {
  overflow-x: hidden;
}
