/* ============================================================
   T&B Reinigung — Offerte & Preisrechner (nur offerte.html)
   ============================================================ */
.offerte-hero { padding-bottom: 1.5rem; }
.offerte-section { padding-top: 1rem; }

.calc {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.75rem; align-items: start;
}
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

.calc-form {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1.5rem;
}
.calc-step { display: flex; gap: 1rem; }
.calc-step__nr {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700;
}
.calc-step__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.calc-field { display: flex; flex-direction: column; gap: 0.5rem; }
.calc-field[hidden] { display: none; }
.calc-label { font-family: var(--font-head); font-weight: 700; color: var(--heading); font-size: 1.1rem; margin: 0; }
.calc-sublabel { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.3rem; color: var(--text); }
.calc-input {
  width: 100%; font: inherit; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--border); border-radius: 12px; padding: 0.75rem 0.9rem; min-height: 48px;
}
.calc-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); }
textarea.calc-input { resize: vertical; min-height: 84px; }
.calc-check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 600; cursor: pointer; line-height: 1.4; }
.calc-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); flex-shrink: 0; }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
@media (max-width: 560px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-note { margin: 0; color: var(--text-muted); }

.calc-result {
  position: sticky; top: 96px;
  background: var(--navy); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .calc-result { background: var(--surface-2); }
@media (max-width: 900px) { .calc-result { position: static; } }
.calc-result .eyebrow { color: var(--sky-soft); }
.calc-result__price {
  font-family: var(--font-head); font-weight: 800; line-height: 1.1;
  font-size: clamp(2.2rem, 6vw, 3rem); margin: 0.35rem 0 0.25rem; color: #fff;
  overflow-wrap: anywhere;
}
.calc-result__sub { margin: 0 0 0.9rem; color: var(--sky-soft); font-weight: 600; }
.calc-result__list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.4rem; }
.calc-result__list li {
  padding: 0.5rem 0.75rem; border-radius: 10px; background: rgba(255,255,255,0.08);
  font-size: 0.95rem; overflow-wrap: anywhere;
}
.calc-result__hint { font-size: 0.86rem; color: var(--sky-soft); margin: 0 0 1rem; }
.calc-result__btns { display: grid; gap: 0.65rem; }
.calc-result .btn-outline { color: #fff; border-color: rgba(255,255,255,0.7); }
.calc-result .btn-outline:hover { background: #fff; color: var(--navy); }
.calc-result__tel { margin: 0.9rem 0 0; font-size: 0.95rem; color: var(--sky-soft); }
.calc-result__tel a { color: #fff; font-weight: 700; }
.calc-error {
  margin: 0 0 0.8rem; padding: 0.6rem 0.8rem; border-radius: 10px;
  background: #fff; color: var(--red-dark); font-weight: 700;
}

.bau-table-wrap {
  margin-top: 2rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-sm);
}
.bau-table-title { margin: 0 0 0.3rem; }
.bau-table-sub { margin: 0 0 1rem; color: var(--text-muted); }
.bau-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bau-table { width: 100%; min-width: 520px; border-collapse: collapse; }
.bau-table th, .bau-table td { padding: 0.75rem 0.8rem; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.bau-table thead th { font-family: var(--font-head); color: var(--heading); font-size: 0.98rem; }
.bau-table td { font-family: var(--font-head); font-weight: 700; color: var(--blue); }
[data-theme="dark"] .bau-table td { color: var(--sky); }
.bau-table tr.is-highlight { background: color-mix(in srgb, var(--blue) 10%, transparent); }
.bau-extras { margin: 1.1rem 0 0.8rem; padding-left: 1.2rem; display: grid; gap: 0.3rem; }
.bau-example { margin: 0; }
#preisliste .disclaimer { margin-top: 1.5rem; }
@media (max-width: 560px) {
  .bau-table { min-width: 0; font-size: 0.86rem; }
  .bau-table th, .bau-table td { padding: 0.6rem 0.35rem; white-space: normal; }
  .bau-table thead th { font-size: 0.82rem; }
}
.show-sm { display: none; }
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .bau-table td { font-size: 0.84rem; }
}
.calc-result__nr { float: right; font-size: 0.78rem; color: var(--sky-soft); font-weight: 700; letter-spacing: 0.04em; }
.calc-doc-btn { background: #fff; color: var(--navy); }
.calc-doc-btn:hover { background: var(--sky-soft); color: var(--navy-dark); }

.calc-result__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 4vw, 1.9rem); line-height: 1.15; margin: 0.4rem 0 0.9rem; color: #fff; }
.calc-result__usps { list-style: none; padding: 0; margin: 0 0 1.1rem; display: grid; gap: 0.35rem; color: var(--sky-soft); font-weight: 600; font-size: 0.95rem; }
.calc-result__usps li { padding-left: 1.5rem; position: relative; }
.calc-result__usps li::before { content: "✓"; position: absolute; left: 0; color: #fff; font-weight: 800; }

.calc-kanal { border: 0; margin: 0.4rem 0 0.2rem; padding: 0; }
.calc-kanal__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.calc-kanal__opt {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; cursor: pointer;
  border: 1.5px solid var(--border); border-radius: 12px; background: var(--bg); font-weight: 700; color: var(--text);
  transition: border-color var(--transition-interactive), background var(--transition-interactive);
}
.calc-kanal__opt input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; }
.calc-kanal__opt:has(input:checked) { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, var(--surface)); color: var(--heading); }
.calc-kanal__opt:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); }
#c-email-wrap[hidden] { display: none; }
.calc-result__btns + .calc-result__hint { margin: 0.9rem 0 0; }
