/* Deutscher Arbeitsschutz Dienst — Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --navy:        #071E4A;
  --navy-mid:    #0A2E6E;
  --navy-light:  #1a3a6e;
  --green:       #078B3E;
  --green-hover: #066A30;
  --green-light: #E8F5EE;
  --bg:          #F6F8FB;
  --white:       #FFFFFF;
  --border:      #E5EAF2;
  --text:        #1A2235;
  --muted:       #6C7A8D;
  --red:         #DC3545;
  --yellow:      #F59E0B;
  --sidebar-w:   240px;
  --topbar-h:    60px;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ─────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; color: var(--navy); line-height: 1.25; }
.text-navy   { color: var(--navy) !important; }
.text-green  { color: var(--green) !important; }
.text-muted  { color: var(--muted) !important; }
.fw-600      { font-weight: 600 !important; }
.fw-700      { font-weight: 700 !important; }
.fs-13       { font-size: 13px !important; }
.fs-12       { font-size: 12px !important; }

/* ── Buttons ─────────────────────────────────────── */
.btn-green {
  background: var(--green);
  color: #fff;
  border: none;
  padding: .6rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background .2s, transform .1s;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-green:hover  { background: var(--green-hover); color: #fff; transform: translateY(-1px); }
.btn-green:active { transform: translateY(0); }
.btn-green-lg     { padding: .75rem 2rem; font-size: 15px; border-radius: 10px; }
.btn-green-sm     { padding: .35rem 1rem; font-size: 13px; border-radius: 6px; }

.btn-navy {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: .6rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: background .2s;
}
.btn-navy:hover { background: var(--navy-light); color: #fff; }

.btn-outline-navy {
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: .55rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: all .2s;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

.btn-outline-green {
  background: transparent;
  border: 1.5px solid var(--green);
  color: var(--green);
  padding: .55rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: all .2s;
}
.btn-outline-green:hover { background: var(--green); color: #fff; }
.ai-guided-next-card { border: 1px solid #8bbfa0; border-left: 5px solid var(--green); border-radius: 12px; background: #eff9f2; color: #173d27; padding: .9rem 1rem; max-width: min(88%, 760px); box-shadow: 0 4px 14px rgba(7,139,62,.1); }
.ai-guided-next-card .ai-guided-next-label { display:block; color:var(--green); font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; margin-bottom:.2rem; }
.ai-guided-next-card strong { display:block; color:#123c25; font-size:1rem; margin-bottom:.25rem; }
.ai-guided-next-card p { margin:0 0 .7rem; line-height:1.55; }
.ai-guided-next-card button:focus-visible { outline:3px solid rgba(7,139,62,.3); outline-offset:2px; }

/* ── Cards ───────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(7,30,74,.06);
  overflow: hidden;
}
.card-body { padding: 1.25rem; }
.card-header {
  padding: 1rem 1.25rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--navy);
  font-size: 14px;
}
.card-header .card-title { font-weight: 600; font-size: 15px; margin: 0; }
.card-hover { transition: box-shadow .2s, transform .2s; }
.card-hover:hover { box-shadow: 0 4px 16px rgba(7,30,74,.1); transform: translateY(-2px); }

/* Stat cards */
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 1px 4px rgba(7,30,74,.05);
}
.stat-card .stat-value { font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-card .stat-label { font-size: 12px; color: var(--muted); margin-top: .2rem; }
.stat-card .stat-icon  { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }

/* ── Badges ──────────────────────────────────────── */
.badge {
  font-weight: 600;
  font-size: 11.5px;
  padding: .3em .65em;
  border-radius: 6px;
}
.badge-primary-soft   { background: #EEF2FF; color: #3730A3; }
.badge-success-soft   { background: #D1FAE5; color: #065F46; }
.badge-warning-soft   { background: #FEF3C7; color: #92400E; }
.badge-danger-soft    { background: #FEE2E2; color: #991B1B; }
.badge-info-soft      { background: #DBEAFE; color: #1E40AF; }
.badge-secondary-soft { background: #F3F4F6; color: #374151; }
.bg-danger-soft       { background: #FEE2E2; }
.bg-warning-soft      { background: #FEF3C7; }
.bg-success-soft      { background: #D1FAE5; }

/* ── Ampel ───────────────────────────────────────── */
.ampel-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ampel-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.ampel-row:last-child { border-bottom: none; }
.ampel-bereich { flex: 1; font-weight: 500; }
.ampel-status  { font-size: 12px; color: var(--muted); }

/* ── Forms ───────────────────────────────────────── */
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  padding: .55rem .85rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(7,30,74,.1);
  outline: none;
}
.form-label { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.input-group .form-control { border-radius: 8px; }

/* ── Tables ──────────────────────────────────────── */
.table { font-size: 13.5px; }
.table th { font-weight: 600; color: var(--navy); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; border-bottom: 2px solid var(--border); padding: .75rem 1rem; }
.table td { padding: .75rem 1rem; vertical-align: middle; border-bottom: 1px solid var(--border); color: var(--text); }
.table tbody tr:hover { background: var(--bg); }
.table-card { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 1px 4px rgba(7,30,74,.05); }
.table-card table { margin: 0; }

/* ── Progress ────────────────────────────────────── */
.progress {
  background: #EEF2FF;
  border-radius: 99px;
  overflow: hidden;
}
.progress-bar-green { background: var(--green); }
.progress-bar-navy  { background: var(--navy); }
.progress-bar-red   { background: var(--red); }
.progress-bar-yellow { background: var(--yellow); }

/* ── Score Circle ────────────────────────────────── */
.score-circle {
  position: relative;
  width: 90px; height: 90px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  background: conic-gradient(var(--green) 0%, var(--green) var(--p, 0%), #E5EAF2 var(--p, 0%));
  flex-shrink: 0;
}
.score-circle::after {
  content: '';
  position: absolute;
  inset: 8px;
  background: var(--white);
  border-radius: 50%;
}
.score-circle .score-inner {
  position: relative; z-index: 1;
  text-align: center;
  line-height: 1.1;
}
.score-circle .score-value  { font-size: 20px; font-weight: 800; color: var(--navy); }
.score-circle .score-label  { font-size: 9px; color: var(--muted); font-weight: 600; }

/* Score circle large */
.score-circle-lg {
  width: 130px; height: 130px;
}
.score-circle-lg .score-value { font-size: 28px; }
.score-circle-lg .score-label { font-size: 11px; }
.score-circle-lg::after { inset: 12px; }

/* ── Public Navbar ───────────────────────────────── */
.pub-navbar {
  background: var(--navy);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(7,30,74,.25);
}
.pub-navbar .navbar-brand { color: #fff !important; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: .5rem; text-decoration: none; }
.pub-navbar .navbar-brand .brand-icon { width: 32px; height: 32px; background: var(--green); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: #fff; flex-shrink: 0; }
.pub-navbar .nav-link { color: rgba(255,255,255,.85) !important; font-size: 13.5px; font-weight: 500; padding: 1.1rem .75rem !important; transition: color .2s; }
.pub-navbar .nav-link:hover, .pub-navbar .nav-link.active { color: #fff !important; }
.pub-navbar .nav-cta { background: var(--green); color: #fff !important; border-radius: 8px; padding: .5rem 1.1rem !important; font-weight: 600 !important; margin-left: .5rem; transition: background .2s; }
.pub-navbar .nav-cta:hover { background: var(--green-hover) !important; }

/* ── Public Sections ─────────────────────────────── */
.hero-section { background: var(--white); padding: 5rem 0 3.5rem; }
.hero-title   { font-size: 2.6rem; font-weight: 800; line-height: 1.15; color: var(--navy); }
.hero-title .highlight { color: var(--green); }
.hero-sub     { font-size: 1.1rem; color: var(--muted); margin-top: .75rem; line-height: 1.6; }

.video-panel { overflow: hidden; background: var(--navy); border-radius: 16px; box-shadow: 0 12px 30px rgba(7,30,74,.16); }
.video-poster { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #0A2E6E, #078B3E); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.video-poster::before { content: ''; position: absolute; inset: 1rem; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; }
.video-element { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-play { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 30px; padding-left: 3px; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.video-play:disabled { opacity: .9; cursor: not-allowed; }
.video-panel-body { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; }
.video-kicker { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.video-title { color: #fff; font-size: 1.1rem; margin: .2rem 0 0; }
.video-panel .btn-green:disabled { opacity: .8; cursor: not-allowed; }

.section-title   { font-size: 1.7rem; font-weight: 800; color: var(--navy); }
.section-sub     { font-size: 1rem; color: var(--muted); margin-top: .4rem; }
.section-light   { background: var(--bg); padding: 4rem 0; }
.section-white   { background: var(--white); padding: 4rem 0; }
.section-navy    { background: var(--navy); padding: 4rem 0; color: #fff; }
.section-navy h2,
.section-navy h3 { color: #fff; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); margin-bottom: .5rem;
}

/* ── Homepage refresh: process, areas, industries and comparison ── */
.dad-home-process { padding: 5rem 0; }
.dad-process-track { display: flex; align-items: stretch; gap: 0; }
.dad-process-item { display: flex; align-items: center; flex: 1 1 0; min-width: 0; }
.dad-process-card { position: relative; display: flex; flex-direction: column; flex: 1; min-height: 280px; padding: 1.75rem; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--green); border-radius: 14px; box-shadow: 0 8px 22px rgba(7,30,74,.07); transition: transform .2s, box-shadow .2s, border-color .2s; }
.dad-process-item:nth-child(2) .dad-process-card { border-top-color: var(--navy); }
.dad-process-item:nth-child(3) .dad-process-card { border-top-color: #3b82a0; }
.dad-process-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(7,30,74,.12); }
.dad-process-number { color: var(--navy); font-size: 3.4rem; font-weight: 850; line-height: .9; letter-spacing: .02em; margin-bottom: 1.25rem; }
.dad-process-card .feature-icon { width: 48px; height: 48px; margin-bottom: 1.2rem; }
.dad-process-card-body { margin-top: auto; }
.dad-process-card h3 { color: var(--navy); font-size: 1.05rem; font-weight: 800; margin: 0 0 .55rem; }
.dad-process-card p { color: #415064; font-size: .9rem; line-height: 1.6; margin: 0; }
.dad-process-connector { flex: 0 0 42px; color: var(--green); font-size: 1.35rem; text-align: center; }

.dad-home-areas { padding: 5rem 0; color: #fff; background: linear-gradient(135deg, #0c2448 0%, #122f52 58%, #17445b 100%); }
.dad-home-areas .section-title { color: #fff; }
.dad-home-areas .section-sub { color: #d4e0e8; }
.dad-home-areas .section-label { color: #72d59b; }
.dad-area-card { display: flex; flex-direction: column; flex: 1; min-height: 225px; padding: 1.4rem; background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.5); border-radius: 14px; box-shadow: 0 10px 24px rgba(0,0,0,.13); transition: transform .2s, box-shadow .2s; }
.dad-area-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(0,0,0,.2); }
.dad-area-icon { width: 48px; height: 48px; margin-bottom: auto; }
.dad-area-card h3 { color: var(--navy); font-size: .98rem; font-weight: 800; margin: 1.15rem 0 .45rem; }
.dad-area-card p { color: #415064; font-size: .84rem; line-height: 1.55; margin: 0; }

.dad-home-industries { padding: 5rem 0; }
.dad-industry-card { display: flex; flex-direction: column; flex: 1; overflow: hidden; min-height: 310px; color: var(--text); text-decoration: none; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 7px 18px rgba(7,30,74,.07); transition: transform .2s, box-shadow .2s, border-color .2s; }
.dad-industry-card:hover { color: var(--text); border-color: var(--green); box-shadow: 0 14px 28px rgba(7,139,62,.14); transform: translateY(-4px); }
.dad-industry-image { aspect-ratio: 16 / 10; overflow: hidden; background: #dfe8e4; }
.dad-industry-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.dad-industry-card:hover .dad-industry-image img { transform: scale(1.035); }
.dad-industry-content { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.15rem 1.25rem; }
.dad-industry-content h3 { color: var(--navy); font-size: .98rem; font-weight: 800; margin: 0 0 .4rem; }
.dad-industry-content p { color: #4b5a6b; font-size: .83rem; line-height: 1.5; margin: 0; }

.dad-home-comparison { padding: 5rem 0; }
.dad-comparison-wrap { max-width: 940px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: .75rem; box-shadow: 0 12px 28px rgba(7,30,74,.08); }
.dad-comparison-head, .dad-comparison-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.dad-comparison-column { padding: 1.15rem 1.35rem; border-radius: 12px 12px 6px 6px; }
.dad-comparison-column span { display: block; font-size: 1.05rem; font-weight: 800; }
.dad-comparison-column small { display: block; margin-top: .25rem; font-size: .76rem; }
.dad-comparison-positive { background: #e9f7ef; color: #14532d; }
.dad-comparison-negative { background: #f4f1f0; color: #5b3e3a; }
.dad-comparison-rows { padding-top: .75rem; }
.dad-comparison-row { padding: .2rem 0; }
.dad-comparison-cell { display: flex; align-items: center; gap: .7rem; min-height: 58px; padding: .8rem 1.35rem; border-radius: 8px; font-size: .9rem; font-weight: 650; }
.dad-comparison-cell i { flex: 0 0 auto; font-size: 1.05rem; }
.dad-comparison-positive i { color: var(--green); }
.dad-comparison-negative { color: #5b6673; font-weight: 500; }
.dad-comparison-negative i { color: #aa6d61; }
.dad-comparison-row:nth-child(odd) .dad-comparison-cell { background: #fbfcfb; }
.dad-comparison-row:nth-child(even) .dad-comparison-cell { background: #f5f7f5; }

@media (max-width: 767.98px) {
  .dad-home-process, .dad-home-areas, .dad-home-industries, .dad-home-comparison { padding: 3.5rem 0; }
  .dad-process-track { display: block; }
  .dad-process-item { display: block; }
  .dad-process-card { min-height: 0; margin-bottom: .5rem; padding: 1.35rem; }
  .dad-process-number { font-size: 2.6rem; margin-bottom: 1rem; }
  .dad-process-connector { height: 28px; line-height: 28px; transform: rotate(90deg); }
  .dad-area-card { min-height: 205px; padding: 1.05rem; }
  .dad-area-card h3 { font-size: .9rem; }
  .dad-area-card p { font-size: .78rem; }
  .dad-industry-card { min-height: 285px; }
  .dad-industry-content { padding: .9rem; }
  .dad-industry-content h3 { font-size: .88rem; }
  .dad-industry-content p { font-size: .76rem; }
  .dad-comparison-wrap { padding: .5rem; }
  .dad-comparison-head, .dad-comparison-row { grid-template-columns: 1fr; gap: .4rem; }
  .dad-comparison-column { padding: .9rem 1rem; border-radius: 10px; }
  .dad-comparison-column small { font-size: .7rem; }
  .dad-comparison-row { padding: .35rem 0; }
  .dad-comparison-cell { min-height: 48px; padding: .7rem .9rem; font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .dad-process-card, .dad-area-card, .dad-industry-card, .dad-industry-image img { transition: none; }
}

.process-step { flex: 1 1 120px; min-width: 120px; text-align: center; position: relative; }
.process-step-number { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto .55rem; font-weight: 800; font-size: 12px; }
.process-step-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto; font-size: 18px; }
.process-step-title { font-size: 12px; font-weight: 700; color: var(--navy); margin-top: .55rem; }
.process-step-sub { font-size: 11px; color: var(--muted); line-height: 1.4; }
.process-arrow { flex: 0 0 28px; align-self: center; color: var(--border); font-size: 18px; }
.pricing-note { color: var(--muted); font-size: 12px; line-height: 1.45; margin: .5rem 0 1rem; }

.feature-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.icon-navy-soft  { background: #EEF2FF; color: var(--navy); }
.icon-green-soft { background: var(--green-light); color: var(--green); }
.icon-blue-soft  { background: #DBEAFE; color: #1D4ED8; }
.icon-red-soft   { background: #FEE2E2; color: #DC2626; }
.icon-yellow-soft { background: #FEF3C7; color: #D97706; }
.icon-purple-soft { background: #EDE9FE; color: #7C3AED; }

/* Industry cards */
.industry-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: all .2s;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.industry-card:hover { border-color: var(--green); box-shadow: 0 4px 12px rgba(7,139,62,.12); transform: translateY(-2px); color: var(--text); }
.industry-card .ic-icon { font-size: 32px; margin-bottom: .5rem; display: block; }

/* Pricing cards */
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: all .2s;
  position: relative;
  overflow: hidden;
}
.pricing-card.stripe-pricing-card { padding: 2rem 1.65rem 1.5rem; border-radius: 18px; }
.pricing-card.stripe-pricing-card:hover { border-color: var(--green); box-shadow: 0 12px 28px rgba(7,139,62,.14); transform: translateY(-3px); }
.stripe-price-kicker { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.stripe-monthly-price { color: var(--navy); font-size: 2.7rem; font-weight: 850; letter-spacing: 0; line-height: 1; }
.stripe-monthly-price small { color: var(--muted); font-size: .95rem; font-weight: 600; }
.stripe-payment-total { color: #263445; font-size: 13px; font-weight: 700; margin-top: .7rem; }
.stripe-payment-note { color: #556273; font-size: 12px; line-height: 1.45; margin: .25rem 0 1.25rem; }
.stripe-plan-description { color: #263445; font-size: 14px; font-weight: 700; line-height: 1.4; min-height: 40px; }
.pricing-card.featured { border-color: var(--navy); }
.pricing-card.featured .featured-ribbon {
  position: absolute; top: 1.25rem; right: -2rem;
  background: var(--green); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: .25rem 2.5rem;
  transform: rotate(45deg);
}
.pricing-price { font-size: 2.5rem; font-weight: 800; color: var(--navy); line-height: 1; }
.pricing-price sub { font-size: 1rem; font-weight: 500; color: var(--muted); }
.pricing-feature { display: flex; align-items: center; gap: .5rem; font-size: 13.5px; padding: .35rem 0; border-bottom: 1px solid var(--border); }
.pricing-feature:last-child { border-bottom: none; }
.pricing-feature .check { color: var(--green); font-weight: 700; font-size: 15px; }
.pricing-feature .cross { color: #D1D5DB; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  padding: 1.1rem 0;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14.5px;
}
.faq-answer { padding-bottom: 1rem; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* Steps */
.step-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; }
.step-num  { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: .1rem; }

/* CTA Banner */
.cta-banner { background: var(--navy); border-radius: 16px; padding: 2.5rem 2rem; color: #fff; }
.cta-banner h3 { color: #fff; }

/* Footer */
.pub-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 3rem 0 1.5rem; }
.pub-footer h5 { color: #fff; font-size: 14px; margin-bottom: 1rem; }
.pub-footer a  { color: rgba(255,255,255,.65); text-decoration: none; font-size: 13px; display: block; padding: .2rem 0; transition: color .2s; }
.pub-footer a:hover { color: #fff; }
.pub-footer hr { border-color: rgba(255,255,255,.15); }
.pub-footer .footer-bottom { font-size: 12px; color: rgba(255,255,255,.4); }

/* ── App Layout (Customer + Admin) ───────────────── */
.app-wrapper { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar {
  width: var(--sidebar-w);
  background: var(--navy);
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s;
  z-index: 900;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 2px; }
.sidebar-logo {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.sidebar-logo .logo-icon { width: 32px; height: 32px; background: var(--green); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: #fff; flex-shrink: 0; }
.sidebar-logo .logo-text { color: #fff; font-weight: 700; font-size: 12.5px; line-height: 1.25; }
.sidebar-logo .logo-sub  { color: rgba(255,255,255,.5); font-size: 10px; font-weight: 400; }

.sidebar-section { padding: .75rem 1rem .25rem; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.3); }
.sidebar-nav { flex: 1; padding: .5rem 0; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .6rem 1.25rem;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 0;
  transition: background .15s, color .15s;
  position: relative;
}
.sidebar-link i { font-size: 15px; flex-shrink: 0; width: 18px; text-align: center; }
.sidebar-link:hover  { background: rgba(255,255,255,.07); color: #fff; }
.sidebar-link.active { background: rgba(255,255,255,.1); color: #fff; font-weight: 600; }
.sidebar-link.active::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--green); border-radius: 0 2px 2px 0; }
.sidebar-link .badge-count { margin-left: auto; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; padding: .1rem .45rem; border-radius: 99px; }

.sidebar-bottom { padding: 1rem; border-top: 1px solid rgba(255,255,255,.1); }
.sidebar-user { display: flex; align-items: center; gap: .6rem; }
.sidebar-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sidebar-user-name  { font-size: 13px; font-weight: 600; color: #fff; }
.sidebar-user-role  { font-size: 11px; color: rgba(255,255,255,.45); }

/* Main content area */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Topbar */
.topbar {
  height: var(--topbar-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 800;
  flex-shrink: 0;
}
.topbar-search {
  flex: 1;
  max-width: 380px;
  position: relative;
}
.topbar-search input {
  width: 100%;
  padding: .45rem .9rem .45rem 2.4rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13.5px;
  background: var(--bg);
  color: var(--text);
}
.topbar-search input:focus { border-color: var(--navy); outline: none; background: var(--white); }
.topbar-search .search-icon { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; }
.global-search-results { position:absolute; top:calc(100% + .45rem); left:0; right:0; z-index:1200; max-height:360px; overflow:auto; padding:.35rem; border:1px solid var(--border); border-radius:10px; background:#fff; box-shadow:0 12px 28px rgba(7,30,74,.14); }
.global-search-result { display:flex; align-items:flex-start; gap:.65rem; width:100%; padding:.65rem .7rem; border-radius:7px; color:var(--text); text-decoration:none; }
.global-search-result:hover,.global-search-result:focus { background:var(--green-light); color:var(--text); outline:none; }
.global-search-result i { flex:0 0 28px; width:28px; height:28px; display:grid; place-items:center; border-radius:7px; background:#eef5f0; color:var(--green); }
.global-search-result strong { display:block; font-size:12.5px; line-height:1.35; }
.global-search-result small { display:block; margin-top:.1rem; color:var(--muted); font-size:10.5px; }
.global-search-empty { padding:.7rem; color:var(--muted); font-size:12px; }
.topbar-right { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.topbar-bell {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  cursor: pointer;
  font-size: 15px;
  position: relative;
  transition: border-color .2s, color .2s;
}
.topbar-bell:hover { border-color: var(--navy); color: var(--navy); }
.topbar-bell .notif-dot { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; background: var(--red); border-radius: 50%; border: 1.5px solid var(--white); }
.topbar-company { font-size: 13px; font-weight: 600; color: var(--navy); }
.topbar-user {
  display: flex; align-items: center; gap: .5rem;
  cursor: pointer;
  padding: .35rem .65rem;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  transition: border-color .2s;
}
.topbar-user:hover { border-color: var(--navy); }
.topbar-user .avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.topbar-user .uname  { font-size: 13px; font-weight: 600; color: var(--navy); }

/* Page area */
.page-area { padding: 1.5rem; flex: 1; }
.page-header { margin-bottom: 1.25rem; }
.page-title { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin: 0; }
.page-sub   { font-size: 13px; color: var(--muted); margin-top: .15rem; }
.page-header .breadcrumb { font-size: 12px; }
.page-header .breadcrumb-item a { color: var(--muted); text-decoration: none; }
.page-header .breadcrumb-item.active { color: var(--navy); font-weight: 500; }

/* ── Pflichtencheck Wizard ────────────────────────── */
.wizard-layout { display: grid; grid-template-columns: 220px 1fr 280px; gap: 1.25rem; min-height: calc(100vh - 80px); align-items: start; }
@media (max-width: 1024px) {
  .wizard-layout { grid-template-columns: 1fr; }
  .wizard-steps, .wizard-sidebar { position: static; }
  .wizard-steps { order: -1; }
}

@media (max-width: 767.98px) {
  .wizard-main-card { padding: 1.1rem; border-radius: 10px; }
  .wizard-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; padding: .85rem; border-radius: 10px; }
  .wizard-steps > div:first-child,
  .wizard-steps > div:last-child { grid-column: 1 / -1; }
  .wizard-steps > div:last-child { margin-top: .35rem !important; }
  .wizard-step-item { min-width: 0; margin-bottom: 0; padding: .55rem .45rem; gap: .45rem; }
  .wizard-step-label { font-size: 11.5px; line-height: 1.2; }
  .wizard-step-num { width: 25px; height: 25px; font-size: 11px; }
  .wizard-main-card .row { --bs-gutter-x: .75rem; }
  .wizard-main-card .d-flex.justify-content-between.align-items-center.mt-4 { gap: .75rem; }
  .wizard-main-card .btn-green-lg,
  .wizard-main-card .btn-outline-navy { min-height: 46px; }
  .check-topbar { padding-left: .75rem !important; padding-right: .75rem !important; gap: .75rem; }
  .check-brand { white-space: nowrap; font-size: 11px !important; gap: .35rem !important; }
  .check-topbar > div { font-size: 10px !important; white-space: nowrap; }
  .video-panel-body { align-items: flex-start; flex-direction: column; }
  .video-panel-body .btn-green { width: 100%; justify-content: center; }
  .process-arrow { flex-basis: 100%; text-align: center; transform: rotate(90deg); height: 20px; }
  .process-step { flex-basis: 100%; }
}

.wizard-steps { background: var(--navy); border-radius: 14px; padding: 1.5rem 1rem; position: sticky; top: 70px; }
.wizard-step-item { display: flex; align-items: center; gap: .75rem; padding: .7rem .75rem; border-radius: 8px; margin-bottom: .25rem; transition: background .2s; }
.wizard-step-item.active   { background: rgba(255,255,255,.1); }
.wizard-step-item.done     { opacity: .7; }
.wizard-step-num { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); color: rgba(255,255,255,.6); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wizard-step-item.active .wizard-step-num { border-color: var(--green); background: var(--green); color: #fff; }
.wizard-step-item.done   .wizard-step-num { border-color: var(--green); background: transparent; color: var(--green); }
.wizard-step-label { font-size: 13px; color: rgba(255,255,255,.75); font-weight: 500; }
.wizard-step-item.active .wizard-step-label { color: #fff; font-weight: 600; }

.wizard-main-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; box-shadow: 0 1px 6px rgba(7,30,74,.07); }
.wizard-sidebar { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; position: sticky; top: 70px; }

@media (max-width: 1024px) {
  .wizard-layout .wizard-steps,
  .wizard-layout .wizard-sidebar { position: static; top: auto; }
  .wizard-layout .wizard-steps { z-index: auto; }
}

.check-option {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: .85rem 1rem;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  user-select: none;
  height: 100%;
}
.check-option:hover  { border-color: var(--navy); background: var(--bg); }
.check-option.selected { border-color: var(--green); background: var(--green-light); color: var(--navy); }
.check-option input { display: none; }
.check-option .option-icon { font-size: 22px; flex-shrink: 0; }

.wizard-main-card .form-control,
.wizard-main-card .form-select { min-height: 46px; }
.wizard-main-card .yn-option { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: .6rem 1rem; }

.yn-option {
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: .5rem 1.1rem;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  transition: all .15s;
}
.yn-option:hover   { border-color: var(--navy); background: var(--bg); }
.yn-option.yes.sel { border-color: var(--green); background: var(--green-light); color: var(--green); }
.yn-option.no.sel  { border-color: var(--red); background: #FEE2E2; color: var(--red); }
.yn-option input { display: none; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .hero-title { font-size: 1.8rem; }
  .wizard-layout { grid-template-columns: 1fr; }
}

/* ── Utilities ───────────────────────────────────── */
.border-top-green { border-top: 3px solid var(--green) !important; }
.border-top-navy  { border-top: 3px solid var(--navy) !important; }
.rounded-12 { border-radius: 12px !important; }
.rounded-14 { border-radius: 14px !important; }
.shadow-sm  { box-shadow: 0 1px 4px rgba(7,30,74,.07) !important; }
.shadow-md  { box-shadow: 0 4px 16px rgba(7,30,74,.1) !important; }
.gap-10 { gap: 10px; }
.hover-row tr:hover td { background: var(--bg); }
.cursor-pointer { cursor: pointer; }
.overflow-hidden { overflow: hidden; }

/* Score badge pill */
.score-pill { background: var(--green); color: #fff; font-weight: 700; font-size: 12px; padding: .2rem .6rem; border-radius: 99px; }

/* Notification dot */
.dot-red    { display:inline-block; width:8px; height:8px; border-radius:50%; background: var(--red); }
.dot-yellow { display:inline-block; width:8px; height:8px; border-radius:50%; background: var(--yellow); }
.dot-green  { display:inline-block; width:8px; height:8px; border-radius:50%; background: var(--green); }
.dot-grey   { display:inline-block; width:8px; height:8px; border-radius:50%; background: #9CA3AF; }

/* Dropdown overrides */
.dropdown-menu { border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 4px 16px rgba(7,30,74,.12); padding: .4rem; font-size: 13.5px; }

.portal-confirm-modal { display:none; position:fixed; inset:0; z-index:2000; align-items:center; justify-content:center; padding:1rem; }
.portal-confirm-modal.is-open { display:flex; }
.portal-confirm-backdrop { position:absolute; inset:0; background:rgba(15,23,42,.48); backdrop-filter:blur(2px); }
.portal-confirm-dialog { position:relative; width:min(100%,420px); background:#fff; border:1px solid var(--border); border-radius:14px; box-shadow:0 20px 60px rgba(15,23,42,.24); padding:1.5rem; }
.portal-confirm-icon { width:42px; height:42px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:#FEF3C7; color:#92400E; font-size:20px; margin-bottom:.85rem; }
.portal-confirm-dialog h2 { color:var(--navy); font-size:1.15rem; margin:0 0 .5rem; }
.portal-confirm-message { color:#253244; font-size:.92rem; line-height:1.55; margin:0; white-space:pre-line; }
.portal-confirm-actions { display:flex; justify-content:flex-end; gap:.6rem; margin-top:1.35rem; }
@media (max-width:480px) { .portal-confirm-actions { flex-direction:column-reverse; } .portal-confirm-actions button { width:100%; justify-content:center; } }
.dropdown-item { border-radius: 7px; padding: .5rem .85rem; color: var(--text); }
.dropdown-item:hover { background: var(--bg); color: var(--navy); }
.dropdown-item.text-danger:hover { background: #FEE2E2; }

/* Alert overrides */
.alert { border-radius: 10px; font-size: 13.5px; border: none; }
.alert-success  { background: #D1FAE5; color: #065F46; }
.alert-warning  { background: #FEF3C7; color: #92400E; }
.alert-danger   { background: #FEE2E2; color: #991B1B; }
.alert-info     { background: #DBEAFE; color: #1E40AF; }

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  background: var(--bg);
}
.upload-zone:hover { border-color: var(--navy); background: #EEF2FF; }
.upload-zone.dragging { border-color: var(--green); background: var(--green-light); }

/* Modal overrides */
.modal-content { border-radius: 14px; border: 1px solid var(--border); box-shadow: 0 8px 32px rgba(7,30,74,.15); }
.modal-header { border-bottom: 1px solid var(--border); padding: 1.1rem 1.5rem; }
.modal-title { font-weight: 700; color: var(--navy); font-size: 16px; }
.modal-footer { border-top: 1px solid var(--border); }

/* Tooltip */
[data-bs-toggle="tooltip"] { cursor: help; }

/* Mobile menu toggle */
.sidebar-toggle { display: none; }
@media (max-width: 900px) { .sidebar-toggle { display: flex; } }
