:root {
  --ink: #16211f;
  --muted: #5b6a63;
  --line: #dde3df;
  --bg: #f7f8f6;
  --card: #ffffff;
  --accent: #0f3d3e;
  --accent-2: #d9a441;
  --success: #2f7a4f;
  --danger: #b3432f;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.page-header h1 {
  font-size: 28px;
  margin: 0 0 6px;
}

.muted { color: var(--muted); font-size: 14px; }

.steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 32px 0;
}

.dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--card); border: 1.5px solid var(--line);
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
}
.dot.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.dot.done { background: var(--success); color: #fff; border-color: var(--success); }
.line { flex: 1; height: 2px; background: var(--line); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
}
.card.hidden { display: none; }
.card h2 { margin: 0 0 4px; font-size: 20px; }
.card.center { text-align: center; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.cat-card {
  cursor: pointer;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  transition: border-color .15s, background .15s;
}
.cat-card.selected {
  border-color: var(--accent);
  background: #eef4f2;
}
.cat-card .label { font-weight: 600; font-size: 14px; margin-top: 8px; display: block; }
.cat-card .icon { font-size: 22px; }

.upload-list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.upload-row {
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.upload-row.filled { border-style: solid; border-color: var(--success); }
.upload-row .cat-label { font-weight: 600; font-size: 14px; flex: none; width: 110px; }
.upload-row .fname { flex: 1; font-size: 13px; color: var(--muted); }
.upload-row .fname.ok { color: var(--success); }
.upload-row label.file-btn {
  font-size: 13px; color: var(--accent); cursor: pointer; font-weight: 600;
}

.field-group { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=datetime-local] {
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  width: 100%;
}

.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.consent a { color: var(--accent); }

.btn {
  padding: 11px 18px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); flex: 1; }
.btn-row { display: flex; gap: 10px; margin-top: 16px; }

.error { color: var(--danger); font-size: 13px; }
.hidden { display: none !important; }

.check-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: #e5f2e9; color: var(--success);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 14px;
}

/* --- Admin --- */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px; border-bottom: 1px solid var(--line);
  background: #fff; box-shadow: 0 1px 6px rgba(15,61,62,.04);
  position: sticky; top: 0; z-index: 40;
}
.topbar .brand { font-weight: 700; color: var(--accent); }
.admin-wrap { max-width: 1200px; margin: 0 auto; padding: 24px; }
.tabs {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px;
  padding: 6px; background: #f4f6f5; border-radius: 12px;
}
.tab-btn {
  padding: 7px 14px; border-radius: 8px; border: 1.5px solid transparent;
  background: transparent; cursor: pointer; font-size: 13.5px; font-weight: 600;
  color: #46554f; transition: background .15s, color .15s, box-shadow .15s;
  white-space: nowrap;
}
.tab-btn:hover { background: #fff; color: var(--accent); }
.tab-btn.active {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(15,61,62,.22);
}
table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 8px rgba(15,61,62,.05); }
th, td { text-align: left; padding: 12px 14px; font-size: 13px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; background: #fafaf8; letter-spacing: .02em; }
tbody tr { transition: background .12s; }
tbody tr:hover { background: #f7faf9; }
tbody tr:last-child td { border-bottom: none; }
select, .badge { font-size: 12px; }
.badge { padding: 3px 8px; border-radius: 20px; background: #eef4f2; color: var(--accent); font-weight: 600; }
.badge.status-neu { background: #fbeee0; color: #a8631a; }
.badge.status-bearbeitung { background: #e6f0fb; color: #1f5da0; }
.badge.status-erledigt { background: #e5f2e9; color: var(--success); }
.login-box { max-width: 360px; margin: 80px auto; }

/* --- Logo & Kundenportal --- */
.logo-sm { width: 76px; height: 76px; border-radius: 12px; display: block; margin: 0 auto 16px; object-fit: cover; }
.logo-xs { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }

.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); padding: 24px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; max-width: 440px; width: 100%; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.auth-tab { flex: 1; padding: 10px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; font-size: 14px; }
.auth-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.plan-hint { font-size: 13px; font-weight: 700; margin: 20px 0 10px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.03em; }
.plan-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.plan-card { position: relative; display: flex; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; font-size: 13px; transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease; }
.plan-card:hover { border-color: var(--accent-2); transform: translateY(-1px); }
.plan-card:has(input:checked) { border-color: var(--accent); background: #eef4f2; box-shadow: 0 0 0 1px var(--accent); }
.plan-card p { margin: 4px 0 0; color: var(--muted); }
.plan-badge { position: absolute; top: -10px; right: 12px; background: var(--accent-2); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.03em; }
.price-calc-box { background: var(--bg); border: 1.5px solid var(--accent-2); border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.price-calc-box input[type="number"] { max-width: 160px; }
.price-calc-result { display: flex; align-items: baseline; gap: 4px; font-size: 22px; font-weight: 800; color: var(--accent); white-space: nowrap; }
.fine-print { font-size: 12px; color: var(--muted); margin-top: 12px; }
.fine-print a { color: var(--accent); }

.metric-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.metric-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.metric-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.metric-value { display: block; font-size: 24px; font-weight: 700; color: var(--accent); }

.section-title { font-size: 16px; margin: 0 0 12px; }
.field-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.field-row input, .field-row select { padding: 9px 10px; border: 1.5px solid var(--line); border-radius: 8px; font-size: 13px; }

.tab-panel.hidden { display: none; }

.contract-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.contract-card .row1 { display: flex; justify-content: space-between; align-items: center; }
.contract-card .docs { margin-top: 10px; font-size: 13px; }
.contract-card .docs a { color: var(--accent); margin-right: 10px; }
.upload-mini { font-size: 12px; color: var(--accent); cursor: pointer; font-weight: 600; }

.tariff-card { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 16px; }
.tariff-card .price { font-size: 20px; font-weight: 700; color: var(--accent); margin: 6px 0; }
.tariff-card button { width: 100%; margin-top: 8px; }

.analysis-row { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.analysis-row .saving { color: var(--success); font-weight: 700; }

.ticket-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 10px; }
.ticket-msg { font-size: 13px; padding: 8px 10px; border-radius: 8px; margin-top: 6px; background: #f2f4f2; }
.ticket-msg.team { background: #eef4f2; }

/* --- Tour --- */
.tour-overlay {
  position: fixed; inset: 0; background: rgba(20,25,23,0.55);
  display: flex; align-items: center; justify-content: center; z-index: 999;
}
.tour-overlay.hidden { display: none; }
.tour-card { background: #fff; border-radius: 14px; padding: 26px; max-width: 380px; width: 90%; }
.tour-step-label { font-size: 12px; color: var(--muted); margin: 0 0 6px; }
.tour-card h3 { margin: 0 0 8px; }
.tour-actions { display: flex; justify-content: space-between; margin-top: 18px; }

/* --- Landing page: Pricing / Hero --- */
.hero { text-align: center; padding: 20px 0 36px; }
.hero .logo-lg { width: 120px; height: 120px; border-radius: 20px; object-fit: cover; margin-bottom: 16px; }
.hero h1 { font-size: 30px; margin: 0 0 8px; }
.hero .claim { font-size: 17px; color: var(--accent); font-weight: 700; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; margin: 24px 0; }
.pricing-card { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 20px; position: relative; }
.pricing-card.featured { border-color: var(--accent-2); }
.pricing-card .price-big { font-size: 28px; font-weight: 700; color: var(--accent); margin: 8px 0 4px; }
.pricing-card .price-sub { font-size: 12px; color: var(--muted); }
.cta-row { text-align: center; margin: 28px 0; }
.disclaimer { font-size: 12px; color: var(--muted); margin-top: 24px; text-align: center; }

.b2b-hint { font-size: 12px; background: #eef4f2; color: var(--accent); padding: 6px 10px; border-radius: 6px; margin-bottom: 12px; font-weight: 600; }
.onboard-step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.box-text { background: var(--bg); border-radius: 8px; padding: 14px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.mini-table { font-size: 13px; margin: 10px 0; }
.mini-table td { padding: 4px 10px 4px 0; }
.doc-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.doc-row:last-child { border-bottom: none; }

.onboard-wrap { max-width: 560px; margin: 0 auto; padding: 40px 20px 80px; }
.onboard-heading { text-align: center; font-size: 26px; margin: 0 0 6px; }
.onboard-step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; margin-bottom: 16px; }
.onboard-step.hidden { display: none; }
.onboard-step.center { text-align: center; }
.onboard-step-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 6px; }
.onboard-summary { text-align: center; font-size: 13px; color: var(--muted); margin-top: 8px; }
.field-label { font-size: 12px; color: var(--muted); font-weight: 600; margin: 4px 0 -4px; }

.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.account-grid .onboard-step { margin-bottom: 0; }
.account-grid .row1 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }

.onboarding-banner {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  background: #fff7e6; border-bottom: 1px solid #f0d9a8; padding: 12px 24px; font-size: 13px; color: #7a5a10;
}
.onboarding-banner.hidden { display: none; }
.cat-icon { font-size: 15px; margin-right: 2px; }
.tariff-card, .contract-card, .ticket-card, .onboard-step { border-radius: 14px; }

.promo-carousel { margin-top: 24px; position: relative; border-radius: 14px; overflow: hidden; min-height: 120px; background: var(--accent); }
.promo-slide { display: none; padding: 20px 24px; color: #fff; align-items: center; gap: 16px; }
.promo-slide.active { display: flex; }
.promo-slide img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; flex: none; }
.promo-slide h3 { margin: 0 0 4px; font-size: 16px; }
.promo-slide p { margin: 0; font-size: 13px; opacity: 0.9; }
.promo-slide a { color: #fff; font-weight: 700; font-size: 13px; }
.promo-dots { position: absolute; bottom: 8px; right: 12px; display: flex; gap: 5px; }
.promo-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.promo-dots span.active { background: #fff; }
.perm-grid { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; margin-top: 6px; }

.path-grid { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.path-card { display: flex; gap: 10px; border: 1.5px solid var(--line); border-radius: 10px; padding: 14px; cursor: pointer; }
.path-card:has(input:checked) { border-color: var(--accent); background: #eef4f2; }
.path-card strong { font-size: 14px; }
.path-card p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

/* --- Maskottchen-Laufband --- */
.mascot-track { position: relative; height: 64px; overflow: hidden; margin: 8px 0 32px; }
.mascot-walker {
  position: absolute; top: 0; left: -80px; width: 56px; height: 56px;
  border-radius: 50%; object-fit: cover; box-shadow: 0 2px 6px rgba(15,61,62,0.25);
  animation: mascot-walk 14s linear infinite, mascot-bounce 0.5s ease-in-out infinite alternate;
}
@keyframes mascot-walk {
  0% { left: -80px; transform: scaleX(1); }
  48% { left: calc(100% + 20px); transform: scaleX(1); }
  50% { left: calc(100% + 20px); transform: scaleX(-1); }
  98% { left: -80px; transform: scaleX(-1); }
  100% { left: -80px; transform: scaleX(1); }
}
@keyframes mascot-bounce {
  from { top: 0; }
  to { top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .mascot-walker { animation: none; left: 50%; margin-left: -28px; }
}

/* --- Allgemeiner Feinschliff --- */
.card, .onboard-step, .contract-card, .tariff-card, .ticket-card, .metric-card, .pricing-card, .auth-card {
  box-shadow: 0 1px 3px rgba(15,33,31,0.06);
}
.btn.primary { box-shadow: 0 2px 8px rgba(15,61,62,0.18); }
.btn.primary:hover { background: #0c3233; }
.cat-card:hover { border-color: var(--accent); box-shadow: 0 2px 8px rgba(15,61,62,0.1); }
.tariff-card { transition: transform 0.15s ease, box-shadow 0.15s ease; }
.tariff-card:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(15,61,62,0.12); }

.b2b-badge { display: inline-block; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.trust-row { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: var(--muted); }
.trust-row i { color: var(--success); font-style: normal; margin-right: 4px; }
.appointment-cta { display: inline-block; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; border-bottom: 1.5px solid var(--accent-2); padding-bottom: 2px; }
.appointment-cta:hover { color: var(--accent-2); }

.lang-switch { display: inline-flex; gap: 4px; }
.lang-switch-btn { padding: 4px 10px; font-size: 12px; font-weight: 700; border: 1.5px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; color: var(--muted); }
.lang-switch-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.room-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.whiteboard-tools { display: flex; align-items: center; gap: 8px; }
.color-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; padding: 0; }
.color-dot.active { box-shadow: 0 0 0 2px var(--accent); }
#whiteboard { width: 100%; height: 420px; border: 1.5px solid var(--line); border-radius: 10px; background: #fffef8; cursor: crosshair; touch-action: none; }
#rm-offer-box { border-color: var(--accent-2); }
.offer-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.offer-row:last-child { border-bottom: none; }
.offer-row .saving-tag { color: var(--success); font-weight: 700; }

.buying-question { padding: 16px 0; border-bottom: 1px solid var(--line); }
.buying-question:last-child { border-bottom: none; }
.buying-question-text { font-size: 14px; font-weight: 600; margin: 0 0 10px; }
.buying-yes-btn { background: var(--success); color: #fff; border: none; margin-right: 8px; }
.buying-yes-btn:hover { opacity: 0.9; }
.buying-yes-btn.selected { box-shadow: 0 0 0 2px var(--success); }
.buying-no-btn.selected { box-shadow: 0 0 0 2px var(--muted); }
#rm-buying-box { border-color: var(--accent-2); }
.wb-tool { width: 32px; height: 32px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 15px; }
.wb-tool.active { border-color: var(--accent); background: #eef4f2; }
.announcement-box { display: flex; gap: 16px; align-items: center; background: #fff; border: 1.5px solid var(--accent-2); border-radius: 12px; padding: 16px 20px; margin: 20px 0; }
.announcement-box img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }
.announcement-box h3 { margin: 0 0 4px; font-size: 15px; }

.calendar { margin-top: 16px; }
.calendar-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.calendar-nav button { padding: 6px 12px; }
.calendar-nav .cal-month-label { font-weight: 700; font-size: 14px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar-grid .cal-weekday { font-size: 11px; color: var(--muted); text-align: center; padding: 4px 0; font-weight: 600; }
.calendar-day { min-height: 64px; border: 1px solid var(--line); border-radius: 8px; padding: 4px; font-size: 11px; background: #fff; }
.calendar-day.other-month { background: var(--bg); color: var(--muted); }
.calendar-day.today { border-color: var(--accent); border-width: 2px; }
.calendar-day .cal-daynum { font-weight: 700; margin-bottom: 3px; }
.calendar-day .cal-appt { background: var(--accent); color: #fff; border-radius: 4px; padding: 1px 4px; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: default; }
.calendar-day .cal-appt.status-vorgemerkt { background: var(--accent-2); }
.calendar-day .cal-appt.status-abgesagt { background: var(--danger); }
.calendar-day .cal-appt.status-bestaetigt { background: var(--success); }

/* ===== Website-Baukasten Showcase auf der Startseite ===== */
.website-showcase {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px;
  align-items: start;
  margin-top: 16px;
}
@media (max-width: 780px) { .website-showcase { grid-template-columns: 1fr; } }
.ws-template-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ws-chip {
  border: 2px solid var(--line); border-radius: 20px; padding: 7px 14px;
  font-size: 13px; font-weight: 600; cursor: pointer; background: #fff;
  transition: all .15s; color: #444;
}
.ws-chip:hover { border-color: var(--accent); }
.ws-chip.active { color: #fff; border-color: transparent; }
.ws-packages { display: flex; flex-direction: column; gap: 10px; }
.ws-pkg {
  border: 2px solid var(--line); border-radius: 12px; padding: 14px;
}
.ws-pkg.featured { border-color: var(--accent-2); background: linear-gradient(135deg,#fffdf6,#fff9ea); }
.ws-pkg-price { font-size: 22px; font-weight: 800; color: var(--accent); }
.ws-pkg-price small { font-size: 12px; font-weight: 400; color: #666; }
/* Browser-Mockup für die Live-Vorschau */
.ws-browser {
  border-radius: 12px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.14);
  border: 1px solid #e2e2e2; background: #fff;
}
.ws-browser-bar {
  display: flex; align-items: center; gap: 6px; padding: 9px 12px;
  background: #f1f1f1; border-bottom: 1px solid #e2e2e2;
}
.ws-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.ws-url {
  margin-left: 10px; font-size: 12px; color: #777; background: #fff;
  padding: 3px 12px; border-radius: 12px; flex: 1;
}
.ws-browser-body { min-height: 340px; transition: all .3s; }
/* Vorschau-Innenleben */
.wsp-hero { padding: 40px 24px; text-align: center; color: #fff; }
.wsp-hero h3 { font-size: 24px; margin-bottom: 6px; }
.wsp-hero p { font-size: 14px; opacity: .95; }
.wsp-hero .wsp-btn {
  display: inline-block; margin-top: 14px; background: #fff; padding: 8px 20px;
  border-radius: 6px; font-size: 13px; font-weight: 700;
}
.wsp-section { padding: 20px 24px; }
.wsp-section h4 { font-size: 15px; margin-bottom: 10px; }
.wsp-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.wsp-card { border: 1px solid #eee; border-radius: 8px; padding: 12px; font-size: 11px; }
.wsp-card b { display: block; margin-bottom: 4px; }
.wsp-contact { padding: 16px 24px; background: #f7f9f8; font-size: 12px; display: flex; gap: 20px; flex-wrap: wrap; }

/* ===== Auswählbare Preiskarten auf der Startseite ===== */
.pricing-card.selectable { position: relative; cursor: pointer; border: 2px solid var(--line); transition: border-color .15s, background .15s, box-shadow .15s; }
.pricing-card.selectable:hover { border-color: var(--accent); box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.pricing-card.selectable:focus { outline: none; border-color: var(--accent); }
.pricing-card.selectable.selected {
  border-color: var(--success);
  background: linear-gradient(135deg,#f0f9f4,#f7fdfa);
  box-shadow: 0 4px 20px rgba(47,122,79,.18);
}
.pricing-card.selectable.selected .price-big { color: var(--success); }
.pricing-card .plan-choose { background: var(--accent); color: #fff; border: none; font-weight: 700; }
.pricing-card.selectable.selected .plan-choose { background: var(--success); }
/* "Beliebt"-Badge */
.popular-badge {
  position: absolute; top: -12px; right: 14px;
  background: var(--accent-2); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
/* Auswählbare Website-Pakete */
.ws-pkg.selectable-pkg { position: relative; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.ws-pkg.selectable-pkg:hover { border-color: var(--accent); }
.ws-pkg.selectable-pkg:focus { outline: none; border-color: var(--accent); }
.ws-pkg .pkg-check { display: none; font-size: 12px; font-weight: 700; color: var(--success); margin-top: 6px; }
.ws-pkg.selectable-pkg.selected { border-color: var(--success); background: linear-gradient(135deg,#f0f9f4,#f7fdfa); box-shadow: 0 4px 16px rgba(47,122,79,.16); }
.ws-pkg.selectable-pkg.selected .pkg-check { display: block; }
.ws-pkg.selectable-pkg.selected .ws-pkg-price { color: var(--success); }
.pkg-popular { font-size: 11px; background: var(--accent-2); color: #fff; padding: 2px 8px; border-radius: 10px; margin-left: 4px; }

/* ===== Erdmännchen-Maskottchen-Hinweise & Design-Feinschliff ===== */
/* Freundlicher Hinweis mit Maskottchen – für leere Listen, Erfolgs- oder Info-Momente */
.mascot-note {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, #f4f9f7, #eef5f2);
  border: 1px solid #dce8e3; border-radius: 14px;
  padding: 16px 18px; margin: 14px 0;
}
.mascot-note img {
  width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15,61,62,.15);
}
.mascot-note .mascot-note-body { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.mascot-note .mascot-note-body strong { color: var(--accent); display: block; margin-bottom: 2px; font-size: 14px; }
/* Kompakte Variante für leere Zustände in Tabellen/Panels */
.mascot-empty {
  text-align: center; padding: 32px 20px; color: var(--muted);
}
.mascot-empty img {
  width: 72px; height: 72px; border-radius: 16px; object-fit: cover;
  opacity: .92; margin-bottom: 12px; box-shadow: 0 3px 12px rgba(15,61,62,.12);
}
.mascot-empty p { margin: 0; font-size: 14px; }
.mascot-empty .hint { font-size: 12.5px; opacity: .8; margin-top: 4px; }

/* Karten etwas weicher & mit sanftem Schatten */
.admin-wrap .card, .admin-wrap .metric-card { border-radius: 14px; }

/* Kundendetail-Panel & Abschnitte klarer abtrennen */
.detail-section-title {
  font-size: 14px; font-weight: 700; color: var(--accent);
  margin: 18px 0 8px; padding-bottom: 6px; border-bottom: 2px solid #eef4f2;
  display: flex; align-items: center; gap: 6px;
}

/* Buttons: einheitlich runder, sanfter Hover */
.btn { transition: background .15s, box-shadow .15s, transform .05s; }
.btn:active { transform: translateY(1px); }

/* Scroll-Container für wirklich breite Tabellen: sauberer statt "endlos nach rechts" */
.table-scroll { overflow-x: auto; border-radius: 12px; -webkit-overflow-scrolling: touch; }
.table-scroll table { box-shadow: none; }

/* Preisübersicht im Registrierungs-Bestätigungsschritt */
.reg-verify-price {
  background: linear-gradient(135deg,#f4f9f7,#eef5f2); border: 1px solid #dce8e3;
  border-radius: 12px; padding: 14px 16px; margin: 14px 0;
}
.reg-verify-price strong { color: var(--accent); }
.reg-verify-price ul { margin: 8px 0 0; padding-left: 18px; font-size: 13.5px; }
.reg-verify-price li { margin-bottom: 4px; }
.field-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--muted); }

/* Rufnummern & Unterverträge im Vertrag */
.contract-lines { margin: 8px 0; }
.lines-panel { background: #f7faf9; border: 1px solid #e2ebe8; border-radius: 10px; padding: 10px 12px; margin-top: 6px; }
.line-row { display: flex; gap: 6px; margin-bottom: 6px; align-items: center; }
.line-row input { padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.line-row .line-number { flex: 1.2; }
.line-row .line-label { flex: 1.5; }

/* Hervorgehobene eigene Tarife (Empfehlung) */
.tariff-card.tariff-featured { border: 2px solid var(--accent-2); position: relative; }
.tariff-featured-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent-2); color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 12px; border-radius: 12px; white-space: nowrap;
}

/* ===== DocShock Assistent: persönliche Benachrichtigungs-Zentrale ===== */
.assistant-setup { background: linear-gradient(135deg,#f6fbf9,#eef6f3); }
.assistant-master { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 16px; background:#fff; border:2px solid #d9e8e3; border-radius:12px; margin-bottom:16px; }
.assistant-master.off { opacity:.6; }
.assistant-setup-label { font-size:13px; font-weight:700; color:#2a3b37; margin:16px 0 8px; }
#assistant-notif-body.disabled { opacity:.4; pointer-events:none; filter:grayscale(.4); }

/* Toggle-Switch */
.switch { position:relative; display:inline-block; width:52px; height:28px; flex-shrink:0; }
.switch input { opacity:0; width:0; height:0; }
.switch .slider { position:absolute; cursor:pointer; inset:0; background:#cbd5d1; border-radius:28px; transition:.3s; }
.switch .slider:before { content:''; position:absolute; height:22px; width:22px; left:3px; bottom:3px; background:#fff; border-radius:50%; transition:.3s; box-shadow:0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .slider { background:#25a568; }
.switch input:checked + .slider:before { transform:translateX(24px); }

/* Themen-Karten */
.assistant-topic-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
@media (max-width:600px){ .assistant-topic-grid { grid-template-columns:1fr; } }
.assistant-topic { display:flex; align-items:center; gap:10px; padding:12px 14px; border:2px solid #e0ebe7; border-radius:12px; background:#fff; cursor:pointer; transition:all .15s; }
.assistant-topic:hover { border-color:#25a568; }
.assistant-topic.on { border-color:#25a568; background:#effaf3; }
.assistant-topic .at-emoji { font-size:22px; }
.assistant-topic .at-text { flex:1; }
.assistant-topic .at-text strong { display:block; font-size:13px; }
.assistant-topic .at-text span { font-size:11px; color:#6b7a76; }
.assistant-topic .at-check { width:22px; height:22px; border-radius:50%; border:2px solid #cbd8d5; display:flex; align-items:center; justify-content:center; color:#fff; font-size:12px; flex-shrink:0; }
.assistant-topic.on .at-check { background:#25a568; border-color:#25a568; }

/* Häufigkeits-Auswahl */
.assistant-choice-row { display:flex; gap:10px; flex-wrap:wrap; }
.assistant-choice { flex:1; min-width:140px; padding:12px; border:2px solid #e0ebe7; border-radius:12px; background:#fff; cursor:pointer; font-size:14px; font-weight:700; text-align:center; transition:all .15s; }
.assistant-choice span { display:block; font-size:11px; font-weight:400; color:#6b7a76; margin-top:4px; }
.assistant-choice:hover { border-color:#25a568; }
.assistant-choice.on { border-color:#25a568; background:#effaf3; color:#1e8e5a; }

/* Kanal-Auswahl */
.assistant-channel-row { display:flex; gap:12px; flex-wrap:wrap; }
.assistant-channel { display:flex; align-items:center; gap:8px; padding:10px 14px; border:2px solid #e0ebe7; border-radius:10px; background:#fff; cursor:pointer; font-size:13px; }
.assistant-channel input { width:18px; height:18px; }

/* ===== Interessenten-Angebot: Banner bei Registrierung ===== */
.offer-banner { margin-bottom: 18px; }
.offer-banner-inner { background: linear-gradient(135deg,#0f3d3e,#1e8e5a); color: #fff; border-radius: 16px; padding: 20px 22px; text-align: center; }
.offer-banner-badge { display: inline-block; background: rgba(255,255,255,.2); padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.offer-banner-inner h2 { margin: 0 0 12px; font-size: 18px; }
.offer-saving { font-size: 32px; font-weight: 800; line-height: 1; }
.offer-saving span { display: block; font-size: 13px; font-weight: 400; opacity: .9; margin-top: 4px; }
.offer-providers { margin: 14px 0 8px; font-size: 14px; }
.offer-hint { font-size: 12px; opacity: .9; margin: 0; }

/* ===== Mein Angebot: Karte in der Übersicht ===== */
.my-offer-card { background: linear-gradient(135deg,#fff9e6,#fef3c7); border: 2px solid #f0c14b; border-radius: 16px; padding: 20px; margin-bottom: 20px; }
.my-offer-card.accepted { background: linear-gradient(135deg,#effaf3,#f6fdf9); border-color: #25a568; }
.my-offer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; flex-wrap: wrap; gap: 8px; }
.my-offer-badge { font-size: 15px; font-weight: 800; color: #8a6d1a; }
.my-offer-card.accepted .my-offer-badge { color: #1e8e5a; }
.my-offer-saving { font-size: 22px; font-weight: 800; color: var(--accent); }
.my-offer-sub { font-size: 13px; color: #6b6250; margin: 0 0 14px; }
.my-offer-items { display: flex; flex-direction: column; gap: 8px; }
.my-offer-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border-radius: 10px; padding: 12px 14px; }

/* ============================================================================
   STARTSEITE: Selbst-Rechner, Ablauf, Einwände, Vertrauen
   ----------------------------------------------------------------------------
   Verkaufslogik: Der Kunde soll VOR dem Preis sehen, was ihn die Eigenverwaltung
   kostet - und danach selbst entscheiden können, ohne auf einen Rückruf zu warten.
   ============================================================================ */

/* Vertrauensleiste im Hero */
.trust-bar { display:flex; flex-wrap:wrap; gap:8px 22px; justify-content:center; margin-top:18px; font-size:13px; color:#5c6b68; }
.trust-bar span { white-space:nowrap; }

/* Der Rechner */
.calc-box { margin-top:48px; border:2px solid var(--accent, #0f3d3e); border-radius:18px; padding:28px; background:#fff; }
.calc-head { text-align:center; margin-bottom:22px; }
.calc-head h2 { font-size:26px; margin:0 0 4px; color:var(--accent, #0f3d3e); }
.calc-inputs { display:grid; grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)); gap:20px; }
.calc-field { display:flex; flex-direction:column; gap:6px; }
.calc-field label { font-size:14px; font-weight:600; }
.calc-field input[type=range] { width:100%; accent-color:var(--accent, #0f3d3e); }
.calc-field output { font-size:19px; font-weight:800; color:var(--accent, #0f3d3e); }
.calc-hint { font-size:11.5px; color:#879895; line-height:1.4; }
.calc-stepper { display:flex; align-items:center; gap:6px; }
.calc-stepper button { width:36px; height:36px; border:1px solid #dcebe8; background:#f3f8f7; border-radius:8px; font-size:19px; font-weight:700; cursor:pointer; color:var(--accent, #0f3d3e); }
.calc-stepper button:hover { background:#e6f1ef; }
.calc-stepper input { width:74px; text-align:center; font-size:19px; font-weight:800; padding:6px; border:1px solid #dcebe8; border-radius:8px; }

.calc-result { margin-top:24px; padding-top:22px; border-top:1px solid #e8efed; }
.calc-time { text-align:center; background:linear-gradient(135deg, #0f3d3e, #1a6b52); color:#fff; border-radius:14px; padding:22px; }
.calc-time-label { display:block; font-size:12px; text-transform:uppercase; letter-spacing:.8px; opacity:.85; font-weight:700; }
.calc-time-value { display:block; font-size:clamp(30px, 5vw, 44px); font-weight:800; line-height:1.1; margin:4px 0; }
.calc-time-sub { display:block; font-size:13.5px; opacity:.85; }

.calc-plans-title { font-size:16px; margin:22px 0 10px; text-align:center; }
.calc-plans { display:grid; grid-template-columns:repeat(auto-fit, minmax(200px, 1fr)); gap:12px; }
.calc-plan { border:1px solid #dcebe8; border-radius:12px; padding:14px 16px; background:#fbfdfc; position:relative; }
.calc-plan.best { border:2px solid var(--accent-2, #d9a441); background:#fffdf6; }
.calc-plan-badge { position:absolute; top:-9px; left:12px; background:var(--accent-2, #d9a441); color:#33260a; font-size:10.5px; font-weight:800; padding:2px 8px; border-radius:999px; text-transform:uppercase; letter-spacing:.4px; }
.calc-plan-name { font-weight:700; font-size:14px; }
.calc-plan-price { font-size:23px; font-weight:800; color:var(--accent, #0f3d3e); margin:4px 0 2px; }
.calc-plan-sub { font-size:12px; color:#5c6b68; line-height:1.5; }
.calc-note { font-size:13px; color:#5c6b68; text-align:center; margin:14px 0 0; }
.calc-cta { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-top:20px; }
.calc-cta .btn.primary { font-size:16px; padding:15px 30px; }
.calc-fine { font-size:12px; color:#879895; text-align:center; margin-top:14px; line-height:1.6; max-width:640px; margin-left:auto; margin-right:auto; }

/* So funktioniert's */
.how-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)); gap:16px; }
.how-card { padding:22px; border:1px solid #e8efed; border-radius:14px; background:#fff; }
.how-num { display:inline-flex; width:32px; height:32px; border-radius:50%; background:var(--accent, #0f3d3e); color:#fff; align-items:center; justify-content:center; font-weight:800; }
.how-card h3 { font-size:16px; margin:10px 0 4px; }
.how-card p { font-size:13.5px; color:#5c6b68; margin:0; line-height:1.6; }

/* Einwände als aufklappbare Liste */
.faq-list { display:flex; flex-direction:column; gap:8px; }
.faq-item { border:1px solid #e8efed; border-radius:12px; background:#fff; padding:0; }
.faq-item summary { padding:15px 18px; cursor:pointer; font-weight:600; font-size:14.5px; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:10px; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:'+'; font-size:21px; color:var(--accent, #0f3d3e); font-weight:400; flex-shrink:0; }
.faq-item[open] summary::after { content:'−'; }
.faq-item[open] summary { border-bottom:1px solid #f0f4f3; }
.faq-item p { padding:14px 18px; margin:0; font-size:13.5px; color:#5c6b68; line-height:1.7; }

@media (max-width:700px) {
  .calc-box { padding:18px; }
  .calc-cta { flex-direction:column; }
  .calc-cta .btn { width:100%; text-align:center; }
}

/* Standorte (Impressum + Startseite) */
.branch-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)); gap:14px; }
.branch-card { border:1px solid #e8efed; border-radius:14px; padding:18px 20px; background:#fff; position:relative; }
.branch-card.main { border:2px solid var(--accent, #0f3d3e); }
.branch-badge { position:absolute; top:-9px; left:14px; background:var(--accent, #0f3d3e); color:#fff; font-size:10.5px; font-weight:800; padding:3px 9px; border-radius:999px; text-transform:uppercase; letter-spacing:.4px; }
.branch-card h3 { font-size:15px; margin:2px 0 8px; color:var(--accent, #0f3d3e); }
.branch-card p { margin:0 0 5px; font-size:13.5px; color:#5c6b68; line-height:1.6; }
.branch-card a { color:var(--accent, #0f3d3e); }

/* ============================================================================
   HERO — zweispaltig mit Grafik
   ----------------------------------------------------------------------------
   Gestaltungsidee: Links die Aussage, rechts das Bild. Das SVG zeigt Chaos -> Ordnung,
   was der Kunde in zwei Sekunden versteht. In den Firmenfarben (Dunkelgrün + Gold),
   ruhig und edel gehalten - kein Effektgewitter, das bei B2B nur Misstrauen erzeugt.
   ============================================================================ */
.hero-split { display:grid; grid-template-columns:1.05fr 0.95fr; gap:40px; align-items:center; text-align:left; }
.hero-split .logo-lg { margin:0 0 14px; }
.hero-split .b2b-badge { display:inline-block; margin:0 0 12px; }
.hero-split h1 { font-size:clamp(30px, 4.2vw, 47px); line-height:1.12; letter-spacing:-0.8px; margin:0 0 16px; }
/* Der Gold-Akzent trägt die Kernaussage - das Auge landet zuerst dort. */
.hero-split h1 .hl { color:var(--accent, #0f3d3e); position:relative; white-space:nowrap; }
.hero-split h1 .hl::after { content:''; position:absolute; left:0; right:0; bottom:3px; height:11px; background:var(--accent-2, #d9a441); opacity:.32; border-radius:3px; z-index:-1; }
.hero-split .claim { font-size:17px; line-height:1.6; margin:0 0 10px; color:#3d4d49; font-weight:500; }
.hero-split .muted { font-size:14.5px; line-height:1.65; margin:0 0 22px; }
.hero-split .cta-row { justify-content:flex-start; margin:0; }
.hero-visual { display:flex; justify-content:center; }
.hero-visual svg { width:100%; max-width:420px; height:auto; }
.hero-login-line { font-size:13px; color:#879895; margin:12px 0 0; }
.hero-login-line a { color:var(--accent, #0f3d3e); font-weight:600; }
.hero-split .trust-bar { justify-content:flex-start; margin-top:20px; }

/* Große Abschluss-Schaltfläche: soll ohne Suchen gefunden werden */
.btn-xl { font-size:16.5px !important; padding:16px 34px !important; box-shadow:0 8px 22px -8px rgba(15,61,62,.5); }
.btn-ghost { background:transparent !important; border:1.5px solid #cfdcd8 !important; }

@media (max-width:900px) {
  .hero-split { grid-template-columns:1fr; text-align:center; gap:26px; }
  .hero-split .cta-row, .hero-split .trust-bar { justify-content:center; }
  .hero-split .logo-lg { margin-left:auto; margin-right:auto; }
  .hero-visual { order:-1; }
  .hero-visual svg { max-width:330px; }
}

/* ============================================================================
   KENNENLERNPHASE: Countdown + Kündigungsbereich
   ----------------------------------------------------------------------------
   Der Countdown ist bewusst prominent, aber nicht aggressiv: Er informiert, statt
   Druck zu machen. Ab 3 Resttagen färbt er sich warnend - das ist der Moment, in
   dem auch die Erinnerungsmail rausgeht.
   ============================================================================ */
.trial-countdown { border:2px solid var(--accent, #0f3d3e); border-radius:14px; padding:18px 20px; margin-bottom:20px; background:linear-gradient(135deg, #f4faf8, #fff); }
.trial-countdown.urgent { border-color:var(--accent-2, #d9a441); background:linear-gradient(135deg, #fffaf0, #fff); }
.tc-head { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.tc-badge { background:var(--accent, #0f3d3e); color:#fff; font-size:10.5px; font-weight:800; padding:3px 10px; border-radius:999px; text-transform:uppercase; letter-spacing:.5px; }
.trial-countdown.urgent .tc-badge { background:var(--accent-2, #d9a441); color:#33260a; }
.tc-days { font-size:21px; font-weight:800; color:var(--accent, #0f3d3e); }
.trial-countdown.urgent .tc-days { color:#8a6a12; }
.tc-bar { background:#e3ece9; border-radius:20px; height:8px; overflow:hidden; margin:12px 0; }
.tc-fill { background:var(--accent, #0f3d3e); height:100%; width:0%; transition:width .4s; }
.trial-countdown.urgent .tc-fill { background:var(--accent-2, #d9a441); }
.tc-info { font-size:13px; color:#4a5a56; line-height:1.65; margin:0 0 14px; }
.tc-actions { display:flex; gap:8px; flex-wrap:wrap; }

/* Kündigungsbereich - sichtbar, aber optisch abgesetzt */
.danger-zone { border:1px solid #e6d3cf; border-radius:14px; padding:18px 20px; background:#fdf8f7; }
.dz-actions { display:flex; gap:8px; flex-wrap:wrap; margin:14px 0 8px; }
.dz-actions .btn { border-color:#d9b5ad; color:#8a3524; }
.dz-actions .btn:disabled { opacity:.45; cursor:not-allowed; }
.dz-note { margin-top:10px; }
.dz-note summary { cursor:pointer; font-size:13px; font-weight:600; color:#5c6b68; }
.dz-note p { font-size:12.5px; color:#5c6b68; line-height:1.7; margin:10px 0 0; }

/* Selbst-Terminbuchung */
.slot-days { display:flex; flex-direction:column; gap:10px; max-height:420px; overflow-y:auto; }
.slot-day { border:1px solid #e8efed; border-radius:10px; padding:12px 14px; background:#fff; }
.slot-day h4 { margin:0 0 8px; font-size:13.5px; color:var(--accent, #0f3d3e); }
.slot-times { display:flex; flex-wrap:wrap; gap:6px; }
.slot-btn { border:1px solid #dcebe8; background:#f7fbfa; border-radius:7px; padding:7px 12px; font-size:13px; cursor:pointer; font-weight:600; color:var(--accent, #0f3d3e); }
.slot-btn:hover { background:var(--accent, #0f3d3e); color:#fff; }
.slot-btn.chosen { background:var(--accent, #0f3d3e); color:#fff; border-color:var(--accent, #0f3d3e); }

/* Pflicht-Hinweis Kennenlernphase bei der Registrierung */
.trial-consent { border:2px solid var(--accent, #0f3d3e); border-radius:12px; padding:16px 18px; margin:16px 0; background:#f7fbfa; }
.tcn-head { font-size:14px; margin-bottom:8px; color:var(--accent, #0f3d3e); }
.tcn-list { margin:0 0 12px; padding-left:18px; }
.tcn-list li { font-size:13px; color:#4a5a56; line-height:1.65; margin-bottom:5px; }
.tcn-check { display:flex; gap:9px; align-items:flex-start; border-top:1px solid #dcebe8; padding-top:12px; }
.tcn-check span { font-size:12.5px; line-height:1.6; color:#3d4d49; }
.calc-plan.trial-plan { border:1.5px dashed #2f7a4f; background:#f5fbf7; }

/* ============================================================================
   UNTERNEHMENS-GESUNDHEITSCHECK
   Die Ampel trägt die ganze Aussage - der Rest ist Detail für die, die es wissen wollen.
   ============================================================================ */
.hc-box { border:1px solid #e0e8e6; border-radius:16px; padding:20px 22px; margin-bottom:22px; background:#fff; }
.hc-head { display:flex; align-items:center; gap:14px; }
.hc-ampel { width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-size:22px; font-weight:800; flex-shrink:0; }
.hc-headline { flex:1; min-width:0; }
.hc-headline h2 { margin:0; font-size:18px; }
.hc-headline p { margin:2px 0 0; font-size:13px; }
.hc-stats { display:flex; gap:10px; flex-wrap:wrap; margin:16px 0; }
.hc-stat { background:#f6faf9; border:1px solid #e8efed; border-radius:10px; padding:10px 14px; min-width:96px; }
.hc-stat-good { background:#f2faf5; border-color:#c9e6d5; }
.hc-stat-bad { background:#fdf5f3; border-color:#e8cdc6; }
.hc-stat-val { display:block; font-size:19px; font-weight:800; color:var(--accent, #0f3d3e); }
.hc-stat-good .hc-stat-val { color:#2f7a4f; }
.hc-stat-bad .hc-stat-val { color:#b3432f; }
.hc-stat-lbl { display:block; font-size:11px; color:#879895; margin-top:1px; }
.hc-group { margin-bottom:14px; }
.hc-group h4 { font-size:12.5px; margin:0 0 6px; color:#5c6b68; text-transform:uppercase; letter-spacing:.4px; }
.hc-item { border-left:3px solid #dde3df; padding:7px 0 7px 11px; margin-bottom:5px; }
.hc-item strong { display:block; font-size:13.5px; }
.hc-item span { font-size:12.5px; color:#5c6b68; line-height:1.55; }
.hc-item.hc-kritisch { border-left-color:#b3432f; }
.hc-item.hc-wichtig { border-left-color:#d9a441; }
.hc-item.hc-hinweis { border-left-color:#2f7a4f; }
.hc-foot { font-size:11.5px; color:#879895; margin:12px 0 0; padding-top:10px; border-top:1px solid #f0f4f3; }

/* ============================================================================
   VERBINDUNGS-LAMPE (Stripe & andere Anbindungen)
   Grün = verbunden, Gelb = ungeprüft, Rot = Fehler, Grau = nicht eingerichtet.
   Der Modus-Aufkleber daneben ist bei Zahlungsanbindungen fast wichtiger als die Lampe:
   Test oder Echtgeld zu verwechseln ist der teuerste Fehler in diesem Bereich.
   ============================================================================ */
.conn-status { display:flex; align-items:center; gap:12px; border:1px solid #e8efed; border-radius:12px; padding:12px 16px; background:#fbfdfc; max-width:640px; }
.conn-lamp { width:14px; height:14px; border-radius:50%; background:#c8d3ce; flex-shrink:0; box-shadow:0 0 0 3px rgba(0,0,0,.04); }
.conn-lamp.pulse { animation:connpulse 2.2s ease-in-out infinite; }
@keyframes connpulse {
  0%,100% { box-shadow:0 0 0 3px rgba(47,122,79,.18); }
  50%     { box-shadow:0 0 0 7px rgba(47,122,79,.06); }
}
.conn-text { flex:1; min-width:0; display:flex; flex-direction:column; gap:1px; }
.conn-text strong { font-size:14px; }
.conn-text span { font-size:12px; line-height:1.5; }
.conn-mode { font-size:10.5px; font-weight:800; padding:3px 9px; border-radius:999px; letter-spacing:.4px; white-space:nowrap; }
.conn-mode.mode-live { background:#fdecea; color:#b3432f; border:1px solid #e8c4bd; }
.conn-mode.mode-test { background:#eef4f2; color:#0f3d3e; border:1px solid #cfdcd8; }

/* Anbieter-Schalter */
.prov-row { display:flex; gap:10px; flex-wrap:wrap; max-width:640px; }
.prov-card { flex:1; min-width:150px; display:flex; align-items:center; gap:9px; border:1px solid #e8efed; border-radius:10px; padding:11px 13px; cursor:pointer; background:#fff; }
.prov-card:has(input:checked) { border-color:var(--accent, #0f3d3e); background:#f4faf8; }
.prov-card:has(input:disabled) { opacity:.5; cursor:not-allowed; }
.prov-card span { display:flex; flex-direction:column; }
.prov-card strong { font-size:13.5px; }
.prov-card em { font-size:11px; color:#879895; font-style:normal; }

/* Impressum: Standorte oben + Länderleiste */
.branch-head { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
.country-pill { background:var(--accent, #0f3d3e); color:#fff; font-size:12px; font-weight:700; padding:5px 13px; border-radius:999px; letter-spacing:.2px; }
.branch-country { color:var(--accent, #0f3d3e); font-weight:700; font-size:12.5px; }

/* Beratungsraum: Merkzettel zur Kennenlernphase */
.trial-legal { border:1.5px solid var(--accent-2, #d9a441); border-radius:10px; padding:12px 14px; margin-top:10px; background:#fffdf7; }
.tl-head { font-size:12.5px; font-weight:800; color:#8a6a12; margin-bottom:7px; }
.tl-list { margin:0 0 8px; padding-left:17px; }
.tl-list li { font-size:12px; line-height:1.6; color:#4a4130; margin-bottom:4px; }
.tl-list em { color:#8a6a12; font-style:normal; font-weight:600; }
.tl-foot { font-size:11.5px; line-height:1.55; color:#6b5518; border-top:1px solid #ecdfc0; padding-top:8px; }
.bo-sub { display:block; font-size:11px; color:#879895; font-weight:400; margin-top:2px; }

/* ============================================================================
   KONZEPT-ABSCHNITT (Startseite)
   Antwort auf einen echten Kundeneinwand: "Wir verstehen das Konzept nicht."
   ============================================================================ */
.konzept { margin: 44px 0; }
.konzept-split { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:22px 0; }
@media (max-width: 760px) { .konzept-split { grid-template-columns:1fr; } }
.konzept-col { border-radius:14px; padding:20px 22px; }
.konzept-col h3 { margin:0 0 12px; font-size:15px; }
.konzept-col ul { margin:0; padding-left:18px; }
.konzept-col li { font-size:13.5px; line-height:1.65; margin-bottom:10px; color:#3d4d49; }
.konzept-col.bleibt { background:#fff; border:1px solid #e0e8e6; }
.konzept-col.bleibt h3 { color:#5c6b68; }
.konzept-col.uebernehmen { background:linear-gradient(135deg, #f2f8f6, #fff); border:1.5px solid var(--accent, #0f3d3e); }
.konzept-col.uebernehmen h3 { color:var(--accent, #0f3d3e); }

.konzept-beispiel { border:1px solid #e0e8e6; border-radius:14px; padding:22px 24px; background:#fff; }
.konzept-beispiel h3 { margin:0 0 16px; font-size:15px; color:var(--accent, #0f3d3e); }
.beispiel-zeit { list-style:none; margin:0; padding:0; }
.beispiel-zeit li { display:flex; gap:16px; padding:11px 0; border-left:2px solid #dcebe8; padding-left:16px; margin-left:6px; position:relative; }
.beispiel-zeit li::before { content:''; width:10px; height:10px; border-radius:50%; background:var(--accent, #0f3d3e); position:absolute; left:-6px; top:16px; }
.bz-wann { flex:0 0 168px; font-size:12.5px; font-weight:800; color:var(--accent, #0f3d3e); padding-top:1px; }
.bz-was { flex:1; font-size:13.5px; line-height:1.65; color:#3d4d49; }
@media (max-width: 640px) { .beispiel-zeit li { flex-direction:column; gap:3px; } .bz-wann { flex:none; } }
.konzept-merksatz { margin:16px 0 0; padding-top:14px; border-top:1px solid #eef2f0; font-size:14.5px; color:#3d4d49; }
.konzept-merksatz strong { color:var(--accent, #0f3d3e); }

/* Tabellen-Suche */
.table-search { width:100%; max-width:460px; padding:9px 13px; border:1.5px solid var(--line, #dde3df); border-radius:9px; font-size:13px; margin-bottom:6px; background:#fff; }
.table-search:focus { outline:none; border-color:var(--accent, #0f3d3e); }
.table-search-row { display:flex; }

/* "Kunde wartet"-Banner im Admin */
.waiting-banner { position:sticky; top:0; z-index:900; background:#0f3d3e; padding:10px 18px; box-shadow:0 3px 14px rgba(15,61,62,.3); }
.waiting-row { display:flex; align-items:center; gap:12px; max-width:1100px; margin:0 auto; }
.waiting-row + .waiting-row { margin-top:8px; }
.waiting-pulse { width:11px; height:11px; border-radius:50%; background:#d9a441; flex-shrink:0; animation:connpulse 1.6s ease-in-out infinite; }
.waiting-text { flex:1; color:#fff; font-size:13.5px; }
.waiting-join { text-decoration:none; font-size:13px; padding:7px 14px; white-space:nowrap; }

/* Teilnehmer im Sprachgespräch */
.vp-chip { display:inline-block; background:#eef4f2; border:1px solid #cfdcd8; border-radius:999px; padding:2px 9px; margin-right:5px; font-size:11.5px; }
#rm-voice-mute-btn.muted { background:#fdecea; border-color:#e8c4bd; color:#b3432f; }

/* Wiedervorlagen */
.fu-form { display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:8px; align-items:center; max-width:1000px; }
.fu-form input { padding:8px 11px; border:1px solid var(--line, #dde3df); border-radius:8px; font-size:12.5px; }
.fu-form button { font-size:12.5px; padding:8px 14px; white-space:nowrap; }
tr.fu-faellig td { background:#fffaf0; }
tr.fu-erledigt td { opacity:.5; }
.fu-badge { display:inline-block; font-size:10.5px; font-weight:800; padding:2px 8px; border-radius:999px; white-space:nowrap; }
.fu-badge.heute { background:#fdecea; color:#b3432f; }
.fu-badge.bald { background:#fff8e6; color:#8a6a12; }
.fu-badge.spaeter { background:#eef4f2; color:#0f3d3e; }
.fu-nl-ja { color:#2f7a4f; font-weight:700; font-size:11.5px; }
.fu-nl-nein { color:#879895; font-size:11.5px; }

/* Versand-tot-Warnung (blockierendster Zustand: keine Anmeldung möglich) */
.mail-dead-banner { position:sticky; top:0; z-index:1000; background:#b3432f; color:#fff; padding:11px 18px; box-shadow:0 3px 16px rgba(179,67,47,.4); }
.mail-dead-inner { max-width:1100px; margin:0 auto; font-size:13.5px; line-height:1.5; }
.mail-dead-inner a { color:#fff; font-weight:800; text-decoration:underline; margin-left:8px; white-space:nowrap; }

/* Kontaktleiste ganz oben auf der Startseite */
.top-contact-bar { background:#0f3d3e; color:#fff; padding:7px 18px; text-align:center; }
.tcb-inner { max-width:1100px; margin:0 auto; display:flex; gap:14px; align-items:center; justify-content:center; flex-wrap:wrap; font-size:13px; }
.tcb-text { opacity:.85; }
.tcb-phone { color:#fff; font-weight:800; text-decoration:none; font-size:14.5px; }
.tcb-phone:hover { text-decoration:underline; }
.tcb-email { color:#cfe3df; text-decoration:none; }
.tcb-email:hover { text-decoration:underline; }

/* Assistent in den Tarifkarten */
.plan-assist { font-size:12px; background:#f2f8f6; border:1px solid #d4e6e0; border-radius:8px; padding:8px 10px; margin:10px 0 0; line-height:1.5; color:#2d4a44; }
.plan-assist strong { color:#0f3d3e; }

/* Assistent-Verstärker unter den Karten */
.assist-promo { margin:28px 0; border:1.5px solid #d4e6e0; border-radius:16px; padding:24px 26px; background:linear-gradient(135deg,#f2f8f6,#fff); }
.assist-promo-head { display:flex; gap:16px; align-items:flex-start; margin-bottom:18px; }
.assist-promo-icon { font-size:38px; line-height:1; flex-shrink:0; }
.assist-promo-head h2 { margin:0 0 6px; font-size:19px; color:#0f3d3e; }
.assist-promo-head .muted { margin:0; font-size:13.5px; max-width:640px; }
.assist-promo-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:14px; }
.assist-feat { background:#fff; border:1px solid #e0e8e6; border-radius:11px; padding:14px 16px; }
.assist-feat strong { display:block; font-size:13.5px; color:#0f3d3e; margin-bottom:4px; }
.assist-feat span { font-size:12.5px; color:#5c6b68; line-height:1.5; }

/* ===== "Neu für Sie" - Produkt-Hinweis-Band im Kundenportal ===== */
.neu-band {
  position: relative;
  background: linear-gradient(135deg, #0f3d3e 0%, #1a5a52 100%);
  border-radius: 14px;
  padding: 16px 18px 18px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(15,61,62,.18);
}
.neu-band-close {
  position: absolute; top: 8px; right: 12px;
  background: rgba(255,255,255,.15); color: #fff; border: none;
  width: 26px; height: 26px; border-radius: 50%; cursor: pointer;
  font-size: 18px; line-height: 1; transition: background .15s;
}
.neu-band-close:hover { background: rgba(255,255,255,.3); }
.neu-band-tag {
  display: inline-block; color: #ffe08a; font-weight: 700; font-size: 13px;
  letter-spacing: .3px; margin-bottom: 12px;
}
.neu-band-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.neu-item {
  display: flex; align-items: center; gap: 10px; text-align: left;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px; padding: 12px; cursor: pointer; color: #fff;
  transition: background .15s, transform .15s, border-color .15s;
}
.neu-item:hover { background: rgba(255,255,255,.2); border-color: rgba(255,224,138,.5); transform: translateY(-2px); }
.neu-item-icon { font-size: 26px; flex-shrink: 0; }
.neu-item-txt { flex: 1; font-size: 13px; line-height: 1.35; }
.neu-item-badge {
  font-size: 10px; background: #ffe08a; color: #0f3d3e; font-weight: 800;
  padding: 1px 6px; border-radius: 8px; vertical-align: middle;
}
.neu-item-sub { color: rgba(255,255,255,.8); font-size: 12px; }
.neu-item-arrow { font-size: 18px; color: #ffe08a; flex-shrink: 0; }

/* ============================================================================
   ADMIN-NAVIGATION (zweistufig)
   34 Reiter in einer Reihe waren eine Wand aus Text. Jetzt: sechs klare Bereiche
   oben, darunter nur die Reiter des gewaehlten Bereichs. Ruhig genug fuer den
   ganzen Arbeitstag, mit genug Charakter, dass die Arbeit Freude macht.
   ============================================================================ */
.admin-groups {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px;
}
.agroup-btn {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 17px 11px 13px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  font-size: 14px; font-weight: 700; color: #2c3a36;
  transition: transform .12s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
  box-shadow: 0 1px 3px rgba(15,61,62,.05);
}
.agroup-btn .ag-ic {
  width: 30px; height: 30px; border-radius: 9px; display: flex;
  align-items: center; justify-content: center; font-size: 16px;
  background: #eef4f2; transition: background .16s ease;
}
.agroup-btn:hover { border-color: #9dc4c0; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15,61,62,.10); }
.agroup-btn.active {
  background: linear-gradient(135deg, #0f3d3e, #1c6b6d); color: #fff;
  border-color: #0f3d3e; box-shadow: 0 5px 16px rgba(15,61,62,.26);
}
.agroup-btn.active .ag-ic { background: rgba(255,255,255,.18); }
/* Zaehler fuer offene Vorgaenge im Bereich - lenkt den Blick dahin, wo Arbeit liegt */
.agroup-btn .ag-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 20px;
  background: #b3432f; color: #fff; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.agroup-btn.active .ag-count { background: #e0b64e; color: #3a2c05; }

/* Unterreiter: leiser als die Bereichsleiste, damit die Hierarchie sichtbar bleibt */
.admin-subtabs {
  background: #f4f6f5; border: 1px solid var(--line);
  animation: subtabsIn .18s ease-out;
}
@keyframes subtabsIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.admin-subtabs.hidden { display: none; }

@media (max-width: 720px) {
  .admin-groups { gap: 6px; }
  .agroup-btn { padding: 9px 13px 9px 10px; font-size: 13px; border-radius: 12px; }
  .agroup-btn .ag-ic { width: 26px; height: 26px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .agroup-btn, .admin-subtabs { transition: none; animation: none; }
  .agroup-btn:hover { transform: none; }
}
