:root {
  /* Defaults – werden durch Tenant-Config überschrieben */
  --primary: #18597b;
  --primary-dark: #0f3f57;
  --accent: #26b4ab;
  --accent-bg: rgba(38, 180, 171, 0.1);
  --success: #33ad69;
  --success-bg: rgba(51, 173, 105, 0.1);
  --error: #d04a3a;
  --error-bg: rgba(208, 74, 58, 0.08);

  --ink: #0a1a26;
  --gray-900: #1a2332;
  --gray-700: #3d4f5e;
  --gray-500: #6b7a8a;
  --gray-300: #c5cfd6;
  --gray-200: #e2e8ed;
  --gray-100: #eef2f5;
  --gray-50: #f7f9fb;
  --paper: #ffffff;
  --line: #e2e8ed;
  --line-soft: #eef2f5;

  --display: 'Inter Tight', -apple-system, sans-serif;
  --body: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  min-height: 100vh;
}

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

p { color: var(--gray-700); }
a { color: var(--primary); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  padding: 0.4rem 0.9rem;
  background: var(--accent-bg);
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

/* === TOPBAR === */
.topbar {
  border-bottom: 1px solid var(--line);
  background: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand-lockup { display: flex; align-items: center; gap: 0.75rem; }
.brand-logo { height: 36px; width: auto; }
.brand-logo-small { height: 28px; }
.brand-cobrand { display: flex; align-items: center; gap: 0.75rem; }
.brand-divider { color: var(--gray-300); font-weight: 300; }
.topbar-contact {
  font-size: 0.88rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.topbar-contact a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.topbar-contact a:hover { color: var(--primary); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  border-radius: 8px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-block { width: 100%; }
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.btn-primary:disabled { background: var(--gray-300); transform: none; box-shadow: none; cursor: not-allowed; }
.btn-secondary {
  background: white;
  color: var(--ink);
  border: 1.5px solid var(--gray-200);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* === HERO PAGE === */
.hero-page {
  position: relative;
  padding: 4rem 0 6rem;
  overflow: hidden;
  min-height: calc(100vh - 130px);
}
.hero-page-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(ellipse 800px 400px at 80% 0%, var(--accent-bg) 0%, transparent 60%),
    radial-gradient(ellipse 600px 300px at 0% 100%, rgba(24, 89, 123, 0.04) 0%, transparent 60%);
}
.hero-page-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
  opacity: 0.5;
}
.hero-page-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-page h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  margin: 0.5rem 0 1.5rem;
}
.hero-page h1 .hl { color: var(--primary); }
.hero-page .lead {
  font-size: 1.12rem;
  color: var(--gray-700);
  margin-bottom: 2rem;
  max-width: 480px;
}
.trust-row {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-700);
  font-size: 0.92rem;
  font-weight: 500;
}
.trust-item svg { color: var(--success); }

/* === CHECK CARD === */
.check-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(10, 26, 38, 0.04), 0 20px 50px rgba(24, 89, 123, 0.08);
}
.check-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-soft);
}
.pulse-wrap {
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.pulse-dot {
  position: absolute;
  inset: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--success);
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}
.check-title { font-family: var(--display); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.check-sub { font-size: 0.85rem; color: var(--gray-500); }

/* === FORMS === */
.form-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.form-field { display: flex; flex-direction: column; min-width: 0; }
.form-field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field select {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--body);
  font-size: 0.95rem;
  background: white;
  transition: all 0.2s;
  color: var(--ink);
  width: 100%;
}
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-bg);
}
.form-field input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: var(--error);
}
.field-hint { font-size: 0.8rem; color: var(--gray-500); margin-top: 0.4rem; }
.field-hint-inline { font-weight: 400; color: var(--gray-500); margin-left: 0.3rem; font-size: 0.8rem; }
.form-hint {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 1rem;
  text-align: center;
}
.form-hint code {
  background: var(--gray-100);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.85em;
}

/* Honeypot */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* === RESULT === */
.result {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  animation: fadeIn 0.3s ease;
}
.result.available { border-color: var(--success); background: var(--success-bg); }
.result.planned { border-color: #d4a017; background: rgba(212, 160, 23, 0.08); }
.result.unavailable { border-color: var(--gray-300); background: var(--gray-50); }
.result.error { border-color: var(--error); background: var(--error-bg); }
.result-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: white;
}
.result.available .result-icon { color: var(--success); }
.result.planned .result-icon { color: #d4a017; }
.result.unavailable .result-icon { color: var(--gray-500); }
.result.error .result-icon { color: var(--error); }
.result-body { flex: 1; }
.result-title { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--ink); margin-bottom: 0.3rem; }
.result-text { font-size: 0.92rem; color: var(--gray-700); margin-bottom: 1rem; }
.result-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================ */
/* === ORDER STRECKE                          === */
/* ============================================ */

.order-body { background: var(--gray-50); }

.stepper-wrap {
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}
.stepper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.stepper::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}
.stepper::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 10%;
  height: 2px;
  width: 0%;
  background: var(--success);
  z-index: 1;
  transition: width 0.4s ease;
}
.stepper[data-progress="1"]::after { width: 0%; }
.stepper[data-progress="2"]::after { width: 20%; }
.stepper[data-progress="3"]::after { width: 40%; }
.stepper[data-progress="4"]::after { width: 60%; }
.stepper[data-progress="5"]::after { width: 80%; }

.step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  text-align: center;
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gray-500);
  transition: all 0.3s;
}
.step-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-500);
}
.step.done .step-num {
  background: var(--success);
  border-color: var(--success);
  color: white;
}
.step.done .step-label { color: var(--gray-700); }
.step.active .step-num {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 0 4px var(--accent-bg);
}
.step.active .step-label { color: var(--ink); font-weight: 600; }

/* Klickbare Steps (bereits durchlaufen, nicht der aktuelle) */
.step.clickable { cursor: pointer; }
.step.clickable:hover .step-num,
.step.clickable:focus-visible .step-num {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(24, 89, 123, 0.25);
}
.step.clickable:hover .step-label,
.step.clickable:focus-visible .step-label {
  color: var(--primary);
}
.step:focus-visible { outline: none; }
.step.clickable:focus-visible .step-num {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
/* Nicht klickbare Steps haben den default cursor */
.step:not(.clickable):not(.active) { cursor: default; }

.order-main { padding: 2.5rem 0 4rem; }
.order-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: flex-start;
}
.order-content {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.5rem;
}

.order-address-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--success-bg);
  color: var(--success);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.order-address-banner span { color: var(--gray-900); }
.order-address-banner strong { color: var(--success); margin-right: 0.3rem; }

.step-section h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.step-intro {
  color: var(--gray-700);
  margin-bottom: 2rem;
  font-size: 0.98rem;
}
.block-heading {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}
.block-heading:first-child { margin-top: 0; }
.optional {
  font-weight: 400;
  color: var(--gray-500);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
  margin-left: 0.4rem;
}

/* Tarif-Karten */
.tariff-card {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 0.75rem;
  background: white;
  transition: all 0.2s;
}
.tariff-card.selected {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--accent-bg), white);
}
.tariff-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.tariff-name { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.tariff-desc { font-size: 0.92rem; color: var(--gray-500); margin-top: 0.25rem; }
.tariff-price { text-align: right; flex-shrink: 0; }
.price-amount { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--primary); }
.price-period { font-size: 0.85rem; color: var(--gray-500); }
.price-plus { color: var(--gray-500); margin-right: 0.2rem; }
.tariff-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}
.tariff-features li {
  font-size: 0.88rem;
  color: var(--gray-700);
  padding-left: 1.5rem;
  position: relative;
}
.tariff-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5em;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326b4ab' stroke-width='3' stroke-linecap='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Addon-Karte */
.addon-card {
  display: block;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.addon-card input { position: absolute; left: 1rem; top: 1.5rem; }
.addon-card-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-left: 2rem;
}
.addon-card:has(input:checked) {
  border-color: var(--primary);
  background: var(--accent-bg);
}
.addon-name { font-family: var(--display); font-weight: 600; font-size: 1rem; }
.addon-desc { font-size: 0.88rem; color: var(--gray-500); margin-top: 0.2rem; }
.addon-price { flex-shrink: 0; text-align: right; }
.addon-price .price-amount { font-size: 1.15rem; }

/* TV-Optionen */
.tv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.tv-card {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  background: white;
}
.tv-card input { position: absolute; opacity: 0; }
.tv-card:has(input:checked) {
  border-color: var(--primary);
  background: var(--accent-bg);
}
.tv-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}
.tv-name { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.tv-desc { font-size: 0.85rem; color: var(--gray-500); margin-top: 0.2rem; }
.tv-price .price-amount { font-size: 1.15rem; }
.tv-features { list-style: none; }
.tv-features li {
  font-size: 0.85rem;
  color: var(--gray-700);
  padding: 0.3rem 0 0.3rem 1.4rem;
  position: relative;
}
.tv-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 12px; height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326b4ab' stroke-width='3' stroke-linecap='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.tv-deselect {
  font-size: 0.8rem;
  color: var(--gray-500);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  margin-top: 0.5rem;
}
.tv-deselect:hover { color: var(--error); }

/* Radio Cards */
.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.radio-card {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  background: white;
}
.radio-card input { position: absolute; opacity: 0; }
.radio-card:has(input:checked) {
  border-color: var(--primary);
  background: var(--accent-bg);
}
.radio-card-body { display: block; }
.radio-card-title { display: block; font-family: var(--display); font-weight: 600; font-size: 1rem; margin-bottom: 0.25rem; }
.radio-card-desc { font-size: 0.85rem; color: var(--gray-500); }

/* Pill Group (Ja/Nein/Weiß nicht) */
.pill-group { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.4rem; }
.pill {
  cursor: pointer;
  position: relative;
}
.pill input { position: absolute; opacity: 0; }
.pill span {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.88rem;
  background: white;
  transition: all 0.2s;
}
.pill:has(input:checked) span {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

/* Toggle (Checkbox als Card) */
.check-card-toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 0.75rem;
  background: white;
  transition: all 0.2s;
  font-size: 0.92rem;
}
.check-card-toggle:has(input:checked) {
  border-color: var(--primary);
  background: var(--accent-bg);
}
.check-card-toggle input { margin-top: 0.2rem; }
.check-card-toggle a { color: var(--primary); }

/* Conditional blocks */
.conditional-block {
  padding: 1.25rem 1.25rem 0.5rem;
  background: var(--gray-50);
  border-radius: 10px;
  margin: 0.5rem 0 1rem;
  border-left: 3px solid var(--accent);
  animation: slideDown 0.25s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* SEPA-Mandat-Text */
.sepa-mandate {
  background: var(--gray-50);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  font-size: 0.85rem;
  color: var(--gray-700);
  margin: 1rem 0;
  line-height: 1.55;
}

.block-subheading {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

/* EVN Optionen */
.evn-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.evn-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  cursor: pointer;
  background: white;
  transition: all 0.2s;
}
.evn-option input { margin-top: 0.2rem; flex-shrink: 0; }
.evn-option:has(input:checked) {
  border-color: var(--primary);
  background: var(--accent-bg);
}
.evn-option-name {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
  display: block;
  margin-bottom: 0.15rem;
}
.evn-option-desc {
  font-size: 0.82rem;
  color: var(--gray-500);
  display: block;
}

/* Vertragslaufzeit Cards */
.term-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.term-card .radio-card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.term-card .term-price {
  display: block;
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--gray-500);
}
.term-card .term-price strong {
  color: var(--primary);
  font-family: var(--display);
}

/* Passwort-Stärke */
.pw-strength { margin-top: 0.6rem; display: flex; align-items: center; gap: 0.75rem; }
.pw-bar { flex: 1; height: 4px; background: var(--gray-200); border-radius: 100px; overflow: hidden; }
.pw-bar-fill { height: 100%; transition: all 0.3s; width: 0%; background: var(--error); }
.pw-bar-fill.medium { background: #d4a017; }
.pw-bar-fill.strong { background: var(--success); }
.pw-label { font-size: 0.82rem; color: var(--gray-500); min-width: 70px; }

/* Step Footer */
.step-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  gap: 1rem;
  flex-wrap: wrap;
}
.price-summary { font-family: var(--display); }
.summary-label { font-size: 0.85rem; color: var(--gray-500); display: block; }
.summary-amount { font-size: 1.5rem; font-weight: 700; color: var(--primary); }

/* AGB-Block */
.agb-block { margin-top: 2rem; }

/* TKG-Pflichtinformationen */
.tkg-info {
  margin-top: 2rem;
  border: 2px solid var(--primary);
  border-radius: 14px;
  padding: 1.75rem;
  background: linear-gradient(180deg, var(--accent-bg) 0%, white 30%);
}
.tkg-info-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.tkg-info-header h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
}
.tkg-info-intro {
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}
.tkg-block {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
}
.tkg-block:last-child { padding-bottom: 0; }
.tkg-block-title {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.85rem;
}
.tkg-dl { margin: 0; }
.tkg-dl-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.4rem 0;
  font-size: 0.92rem;
  border-bottom: 1px dashed var(--line-soft);
}
.tkg-dl-row:last-child { border-bottom: none; }
.tkg-dl-row dt { color: var(--gray-700); }
.tkg-dl-row dd {
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}
.tkg-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-700);
}
.tkg-note {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 0.6rem;
  font-style: italic;
}
.tkg-doc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.tkg-doc {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  background: white;
  transition: all 0.2s;
}
.tkg-doc:hover {
  border-color: var(--primary);
  background: var(--accent-bg);
}
.tkg-doc svg { color: var(--primary); flex-shrink: 0; }
.tkg-doc span { display: flex; flex-direction: column; }
.tkg-doc strong { color: var(--ink); font-size: 0.9rem; font-weight: 500; }
.tkg-doc strong + span { color: var(--gray-500); font-size: 0.8rem; margin-top: 0.1rem; }

/* Review (Schritt 5) */
.review-block {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.review-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-soft);
}
.review-block-header h4 {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
}
.review-edit {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.85rem;
  cursor: pointer;
  font-weight: 500;
}
.review-edit:hover { text-decoration: underline; }
.review-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  padding: 0.4rem 0;
  font-size: 0.92rem;
}
.review-row dt { color: var(--gray-500); }
.review-row dd { color: var(--ink); }

/* Erfolg */
.step-success { text-align: center; padding: 2rem 0; }
.success-icon {
  width: 96px; height: 96px;
  margin: 0 auto 2rem;
  background: var(--success-bg);
  color: var(--success);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Sticky Sidebar */
.order-summary { position: sticky; top: 100px; }
.summary-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.summary-card h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-soft);
}
.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.92rem;
}
.summary-item.optional .item-name { color: var(--gray-500); }
.summary-item .item-name { color: var(--gray-700); }
.summary-item .item-price { font-weight: 500; color: var(--ink); }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--line);
  font-family: var(--display);
}
.summary-total span { font-weight: 500; }
.summary-total strong { font-size: 1.4rem; font-weight: 700; color: var(--primary); }

.summary-meta {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.85rem;
}
.summary-meta-row {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
}
.summary-meta-row span:first-child { color: var(--gray-500); }
.summary-meta-row span:last-child { color: var(--ink); font-weight: 500; }

.summary-help {
  background: var(--accent-bg);
  border-radius: 12px;
  padding: 1.25rem;
}
.summary-help h4 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.summary-help p { font-size: 0.88rem; color: var(--gray-700); }

/* Footer */
.footer-mini {
  background: white;
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  font-size: 0.85rem;
}
.footer-mini-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--gray-500);
}
.footer-mini-inner a {
  color: var(--gray-500);
  text-decoration: none;
  margin-right: 1.5rem;
}
.footer-mini-inner a:hover { color: var(--primary); }

/* Loading */
.loading { opacity: 0.6; pointer-events: none; }
.loading-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 0.5rem;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Inline error */
.inline-error {
  background: var(--error-bg);
  color: var(--error);
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-top: 0.6rem;
  border: 1px solid rgba(208, 74, 58, 0.2);
}

.field-error {
  border-color: var(--error) !important;
  background: var(--error-bg) !important;
  animation: shake 0.3s ease;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* === Hilfe-Tooltips === */
.help-wrapper {
  display: inline-block;
  position: relative;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.help-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  background: white;
  color: var(--gray-500);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--body);
  cursor: help;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: all 0.15s ease;
  vertical-align: middle;
}
.help-icon:hover,
.help-icon:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--accent-bg);
  outline: none;
}
.help-tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray-900);
  color: white;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 400;
  width: 280px;
  max-width: calc(100vw - 32px);
  text-align: left;
  box-shadow: 0 6px 20px rgba(10, 26, 38, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s, visibility 0s 0.15s;
  z-index: 100;
  white-space: normal;
  letter-spacing: 0;
  text-transform: none;
}
.help-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--gray-900);
}
.help-wrapper:hover .help-tip,
.help-wrapper:focus-within .help-tip,
.help-wrapper.open .help-tip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.15s, visibility 0s;
}
/* Falls Tooltip nahe rechtem Rand: nach links versetzen */
.help-tip.flip-right {
  left: auto;
  right: 0;
  transform: none;
}
.help-tip.flip-right::after {
  left: auto;
  right: 8px;
  transform: none;
}
.help-tip.flip-left {
  left: 0;
  transform: none;
}
.help-tip.flip-left::after {
  left: 8px;
  transform: none;
}
@media (max-width: 640px) {
  .help-tip {
    width: 240px;
  }
}

/* === RESPONSIVE === */
@media (max-width: 980px) {
  .order-container { grid-template-columns: 1fr; }
  .order-summary { position: static; order: -1; }
  .hero-page-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .stepper { padding: 0 1rem; }
  .step-label { display: none; }
}
@media (max-width: 640px) {
  .topbar-inner { padding: 0 1.25rem; }
  .topbar-contact { display: none; }
  .order-content { padding: 1.5rem; }
  .hero-page-inner { padding: 0 1.25rem; }
  .footer-mini-inner { padding: 0 1.25rem; flex-direction: column; }
  .tariff-features { grid-template-columns: 1fr; }
  .tv-grid { grid-template-columns: 1fr; }
  .radio-group { grid-template-columns: 1fr; }
  .term-options { grid-template-columns: 1fr; }
  .tkg-doc-grid { grid-template-columns: 1fr; }
  .tkg-dl-row { grid-template-columns: 1fr; gap: 0.2rem; }
  .tkg-dl-row dd { text-align: left; }
  .form-row { flex-direction: column; gap: 1rem; }
  .form-row .form-field { flex: 1 1 100% !important; }
  .step-footer { flex-direction: column-reverse; }
  .step-footer .btn { width: 100%; }
  .review-row { grid-template-columns: 1fr; gap: 0.2rem; }
}
