/* ============================================================
   PC-Zuschnitt Kalkulator – CNC-DURCH-BLICK GmbH
   Ruhige Industrie-Optik: Markenblau, klare Linien, große Felder
   ============================================================ */

:root {
  /* Markenfarben CNC-DURCH-BLICK GmbH: Blau #3266AF, dunkles Blau #28518B */
  --navy: #3266af;
  --navy-dark: #28518b;
  --blue: #3266af;
  --blue-soft: #e7eef9;
  --steel: #6c757d;
  --ink: #212529;
  --line: #d8dadd;
  --line-soft: #e9ecef;
  --bg: #f8f9fa;
  --surface: #ffffff;
  --ok: #1e7a4b;
  --ok-soft: #e7f4ec;
  --warn: #b02a37;
  --warn-soft: #fbeced;
  --accent: #28518b;
  --accent-light: #8fb3de;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 31, 45, .06), 0 8px 24px rgba(16, 31, 45, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    linear-gradient(180deg, #e7eef9 0%, var(--bg) 260px, var(--bg) 100%);
  -webkit-text-size-adjust: 100%;
  line-height: 1.45;
  font-size: 16px;
}

/* ------------------------------ Kopfleiste ------------------------------ */

.topbar {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--accent-light);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 46px;
  padding: 5px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(17, 17, 17, .25);
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong { font-size: 16px; letter-spacing: .01em; }
.brand-text span { font-size: 13px; color: #d6e3f5; text-transform: uppercase; letter-spacing: .12em; }

.topbar-note {
  margin: 0;
  font-size: 13px;
  color: #dfe9f7;
}

/* ------------------------------ Layout ------------------------------ */

.layout {
  display: grid;
  gap: 18px;
  max-width: 1320px;
  margin: 22px auto 40px;
  padding: 0 18px;
  grid-template-columns: minmax(0, 1fr);
}

.sidebar { min-width: 0; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.card-head h2 {
  margin: 0;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--navy);
}

.pill {
  font-size: 12px;
  background: var(--line-soft);
  color: var(--steel);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

/* ------------------------------ Felder ------------------------------ */

.field-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 620px) {
  .field-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }

.field label,
.field-grid label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--steel);
}

input[type="text"],
select {
  width: 100%;
  padding: 12px 12px;
  font-size: 17px;
  font-family: inherit;
  color: var(--ink);
  background: #fbfcfe;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  min-height: 48px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

input[type="text"]:focus,
select:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(28, 110, 168, .16);
}

input.is-invalid,
select.is-invalid {
  border-color: var(--warn);
  background: var(--warn-soft);
}

#length, #width { font-size: 20px; font-weight: 600; letter-spacing: .02em; }

/* Segmentierte Variantenwahl */
.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.segmented-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented-opt span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
  user-select: none;
}

.segmented-opt input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.segmented-opt input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(28, 110, 168, .3);
}

/* ------------------------------ Hinweise ------------------------------ */

.hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--steel);
}

.hint code {
  font-family: var(--mono);
  background: var(--line-soft);
  padding: 1px 5px;
  border-radius: 5px;
}

/* ------------------------------ Live-Kalkulation ------------------------------ */

.live {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  background: #f7fafd;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--steel);
  min-height: 54px;
}

.live__waiting { color: var(--steel); }

.live__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.live__table th {
  text-align: left;
  font-weight: 600;
  color: var(--steel);
  padding: 3px 8px 3px 0;
  white-space: nowrap;
  vertical-align: top;
}

.live__table td {
  padding: 3px 0;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.live__total {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
}

.badge-min {
  display: block;
  width: fit-content;
  margin: 4px 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--warn);
  background: var(--warn-soft);
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 6px;
}

/* ------------------------------ Buttons ------------------------------ */

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn {
  appearance: none;
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  min-height: 46px;
  transition: transform .08s ease, background .15s ease, border-color .15s ease, color .15s ease;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn--primary:hover { background: var(--navy-dark); }

.btn--ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn--danger { color: var(--warn); border-color: #e8d3cb; }
.btn--danger:hover { border-color: var(--warn); color: var(--warn); }

.btn--small {
  padding: 8px 12px;
  font-size: 13px;
  min-height: 38px;
  border-radius: 8px;
}

.is-hidden { display: none !important; }

/* ------------------------------ Tabellen ------------------------------ */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.pos-table { min-width: 780px; }

.pos-table th,
.price-table th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--steel);
  font-weight: 600;
  padding: 8px 10px;
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}

.pos-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}

.pos-table tbody tr:hover { background: #f7fafd; }
.pos-table tbody tr.is-editing { background: #fff8e6; }

.cell-pos { color: var(--steel); font-weight: 600; }
.cell-dims { font-weight: 600; white-space: nowrap; }
.cell-money { text-align: right; white-space: nowrap; }
.cell-total { font-weight: 700; color: var(--navy); }
.col-actions { text-align: right; }
.cell-actions { text-align: right; white-space: nowrap; }

.cell-actions .btn { margin-left: 6px; }

.tier-rate {
  font-size: 12px;
  color: var(--steel);
  white-space: nowrap;
}
.tier-tag {
  display: inline-block;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--line-soft);
  color: var(--steel);
  white-space: nowrap;
}

.empty {
  margin: 16px 0 4px;
  color: var(--steel);
  font-size: 14px;
}

/* ------------------------------ Preistabelle ------------------------------ */

.price-table { min-width: 560px; }

.price-table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}

.price-table .price-name { font-weight: 600; white-space: nowrap; }
.price-table .price-name small { display: block; font-weight: 400; color: var(--steel); }

.price-table input[type="text"] {
  min-height: 40px;
  padding: 8px 10px;
  font-size: 15px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.price-table input.is-dirty { border-color: var(--accent); background: #fffdf5; }

.th-sub { font-size: 10px; letter-spacing: .02em; text-transform: none; color: #93a5b4; }

/* ------------------------------ Summen ------------------------------ */

.field--factor { max-width: 220px; }
.field--factor input { font-size: 22px; font-weight: 700; text-align: right; }

.sum-list { margin: 0; }

.sum-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
}

.sum-row dt { font-size: 14px; color: var(--steel); }
.sum-row dd { margin: 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.sum-strong { font-size: 19px; font-weight: 700; color: var(--navy); }

.sum-row--gross { border-bottom: none; }
.sum-row--gross .sum-strong { font-size: 22px; color: var(--ok); }

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
}

.check input { width: 18px; height: 18px; accent-color: var(--navy); }

/* ------------------------------ Einstellungen ------------------------------ */

.card--settings details summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--navy);
  list-style: none;
}

.card--settings details summary::-webkit-details-marker { display: none; }

.card--settings details summary::before {
  content: "▸ ";
  color: var(--blue);
}

.card--settings details[open] summary::before { content: "▾ "; }

.card--settings details > *:not(summary) { margin-top: 12px; }

/* ------------------------------ Fuß / Toast ------------------------------ */

.footer {
  max-width: 1180px;
  margin: 0 auto 32px;
  padding: 0 18px;
  font-size: 12px;
  color: var(--steel);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 50;
  max-width: calc(100vw - 32px);
  text-align: center;
}

.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.is-error { background: var(--warn); }

/* ------------------------------ Mobil: Tabelle als Karten ------------------------------ */

@media (max-width: 760px) {
  .pos-table { min-width: 0; }
  .pos-table thead { display: none; }
  .pos-table tr {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px 12px;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }
  .pos-table td {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border: none;
    padding: 3px 0;
    font-size: 14px;
  }
  .pos-table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    white-space: nowrap;
    margin-right: 8px;
    color: var(--steel);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
  }
  .pos-table td.cell-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 8px;
  }
  .pos-table td.cell-actions::before { content: ""; }
  .pos-table td.cell-actions .btn { margin-left: 0; margin-right: 8px; }
}

/* ------------------------------ Druck ------------------------------ */

@media print {
  body { background: #fff; font-size: 12px; }
  .topbar { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .card--input,
  .card--settings,
  .card--sum .actions,
  .topbar-note,
  .footer,
  .toast,
  .cell-actions,
  .col-actions,
  .pos-table thead th.col-actions { display: none !important; }
  .layout { display: block; max-width: none; margin: 0; padding: 0; }
  .card { box-shadow: none; border: 1px solid #bbb; break-inside: avoid; margin-bottom: 14px; }
  .card--sum { position: static; }
  .pos-table { min-width: 0; }
  .pos-table thead { display: table-header-group; }
  .price-table { display: none; }
}

/* ------------------------------ Desktop-Layout (ab 1080 px) ------------------------------ */
/* Rechte Spalte mit der Vorgangssumme: bleibt beim Scrollen sichtbar und
   überdeckt keine Inhalte, weil sie eine eigene Rasterspalte belegt. */
@media (min-width: 1080px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
  }
  .card--input { grid-column: 1; grid-row: 1; }
  .card--list { grid-column: 1; grid-row: 2; }
  .card--settings { grid-column: 1; grid-row: 3; }
  .sidebar {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: stretch;
  }
  .card--sum { position: sticky; top: 18px; }
  /* Positionstabelle kompakter, damit sie in der linken Spalte Platz hat */
  .pos-table { min-width: 0; font-size: 13px; }
  .pos-table th, .pos-table td { padding: 10px 6px; }
  .pos-table th { font-size: 11.5px; }
  .pos-table:not(.pos-table--panel) th:nth-child(3),
  .pos-table:not(.pos-table--panel) td:nth-child(3) { display: none; }
  .cell-actions .btn { margin-left: 4px; padding: 6px 9px; font-size: 13px; min-height: 34px; }
  .tier-rate { display: block; }
}
/* Schmalere Desktops: etwas engere Spalte und kleinere Schrift */
@media (min-width: 1080px) and (max-width: 1299px) {
  .layout { grid-template-columns: minmax(0, 1fr) 312px; }
  .pos-table { font-size: 12.5px; }
  .pos-table th, .pos-table td { padding: 9px 5px; }
  .pos-table th { font-size: 11px; }
  .cell-actions .btn { padding: 5px 7px; font-size: 12px; min-height: 32px; }
}
/* Sehr schmale Desktops: Spalte „€/Stück“ entfällt zusätzlich */
@media (min-width: 1080px) and (max-width: 1199px) {
  .pos-table:not(.pos-table--panel) th:nth-child(7),
  .pos-table:not(.pos-table--panel) td:nth-child(7) { display: none; }
}
/* Breite Desktops: alle Spalten sichtbar */
@media (min-width: 1300px) {
  .pos-table:not(.pos-table--panel) th:nth-child(3),
  .pos-table:not(.pos-table--panel) td:nth-child(3) { display: table-cell; }
}
/* ============================================================
   Registerkarten (Polycarbonat-Scheiben / Schutzfolien)
   ============================================================ */

.shell { display: block; }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1320px;
  margin: 18px auto 0;
  padding: 0 18px;
}

.tab {
  appearance: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 20px;
  min-height: 46px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.tab:hover { border-color: var(--blue); }

.tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.tab:focus-visible { outline: 3px solid rgba(50, 102, 175, .35); outline-offset: 2px; }

.panel[hidden] { display: none !important; }

@media (max-width: 560px) {
  .tabs { padding: 0 12px; gap: 6px; }
  .tab { flex: 1 1 auto; padding: 10px 12px; font-size: 14px; }
}

/* ============================================================
   Schutzfolien
   ============================================================ */

/* Der Folienbereich wird nie abgeschnitten – auch bei großen Maßen. */
.live--foil { overflow: visible; }
.live--foil .live__table td { white-space: normal; }

.pos-table--foil { min-width: 900px; }

.cell-foil { font-weight: 600; white-space: nowrap; }
.cell-foil small { display: block; font-weight: 400; font-size: 12px; color: var(--steel); }

.cell-route { white-space: normal; min-width: 210px; }
.route-text {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--steel);
  line-height: 1.35;
}

.type-form {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.card--settings h3 {
  margin: 18px 0 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--navy);
}

.type-form h3 { margin-top: 0; }

.field-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 720px) {
  .field-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.price-table--foil { min-width: 1000px; }
.price-table--foil input[type="text"] { text-align: left; min-width: 110px; }
.price-table--foil input.type-input[data-field="base"] { text-align: right; min-width: 100px; }

.price-table td.derived {
  text-align: right;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price-table--model { min-width: 360px; }

.price-table--model th[scope="row"] {
  font-weight: 600;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  white-space: normal;
}

.price-table--model th small {
  display: block;
  font-weight: 400;
  color: var(--steel);
  font-size: 11px;
}

.price-table--model td { text-align: right; }
.price-table--model input[type="text"] { max-width: 160px; margin-left: auto; }

/* Desktop: Folientabelle etwas kompakter */
@media (min-width: 1080px) {
  .pos-table--foil { min-width: 0; }
  .pos-table--foil .cell-route { min-width: 150px; }
  .pos-table--foil .route-text { font-size: 11.5px; }
}

/* ============================================================
   Druck: nur die aktive Registerkarte
   ============================================================ */

@media print {
  .tabs { display: none !important; }
  .panel[hidden] { display: none !important; }
  .cell-route { min-width: 0; }
  .route-text { font-size: 11px; }
}
/* Mobil: Folientabelle ebenfalls als Karten (keine Mindestbreite) */
@media (max-width: 760px) {
  .pos-table--foil { min-width: 0; }
  .pos-table--foil .cell-route { min-width: 0; }
  .pos-table--foil .route-text { font-size: 12px; }
  .pos-table--foil td.cell-foil { align-items: flex-start; }
}
/* Folientypen-Tabelle kompakter: passt auch in die linke Spalte am Desktop */
.price-table--foil { min-width: 830px; font-size: 13px; }
.price-table--foil th { padding: 8px 6px; font-size: 11px; letter-spacing: .05em; }
.price-table--foil td { padding: 5px 6px; }

.price-table--foil input[type="text"] {
  min-width: 0;
  padding: 7px 8px;
  font-size: 13.5px;
}
.price-table--foil input.type-input[data-field="name"] { min-width: 84px; }
.price-table--foil input.type-input[data-field="material"] { min-width: 106px; }
.price-table--foil input.type-input[data-field="base"] { min-width: 84px; }

.price-table--foil td.derived { font-size: 13px; padding-left: 4px; padding-right: 4px; }
.price-table--foil .cell-actions { padding-left: 4px; }
.price-table--foil .cell-actions .btn { padding: 6px 9px; font-size: 12.5px; min-height: 32px; margin-left: 0; }

@media (min-width: 1080px) {
  .card--settings .table-wrap { margin-right: -4px; }
}
/* ============================================================
   Kalkulationsfaktor – liegt in den Einstellungen, nicht im Blickfeld
   ============================================================ */

.factor-box {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.factor-box .field--factor { max-width: 280px; }
.factor-box .field--factor input {
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}
.factor-box .hint { margin-top: 8px; }

.hint--small {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--steel);
}

@media print {
  .hint--small { display: none !important; }
  .factor-box { display: none; }
}
/* ------------------------------ Scheibenaufbereitung PC ------------------------------ */

.panel-rows {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.panel-row {
  border: 1px solid var(--line, #dfe4ea);
  border-radius: 10px;
  padding: 10px 12px 12px;
  background: var(--surface-soft, #f8fafc);
}

.panel-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.panel-row__title {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--navy, #12395e);
}

.panel-row .field-grid {
  margin-top: 0;
}

.field-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.actions--inline {
  margin-top: 12px;
}

.cell-panels {
  font-size: 0.88rem;
  line-height: 1.5;
}

.cell-panels small {
  color: var(--muted, #6b7c8c);
}

.cell-machine small {
  display: block;
  color: var(--muted, #6b7c8c);
  font-size: 0.78rem;
}

.badge-warn {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fdeceb;
  color: #b3261e;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.warn-note {
  margin: 6px 0 0;
  padding: 8px 10px;
  border-left: 3px solid #b3261e;
  background: #fdeceb;
  color: #8c1d18;
  font-size: 0.85rem;
  border-radius: 0 6px 6px 0;
}

.live__hint {
  color: var(--muted, #6b7c8c);
  font-weight: 400;
  font-size: 0.85rem;
}

.derived-hint {
  color: var(--muted, #6b7c8c);
  font-size: 0.85rem;
}

.price-table--panel td,
.price-table--panel th {
  vertical-align: middle;
}

@media (max-width: 900px) {
  .field-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .field-grid--4 {
    grid-template-columns: 1fr;
  }

  .panel-row {
    padding: 10px;
  }

  .pos-table--panel .cell-panels {
    line-height: 1.6;
  }
}

/* Aufbereitung am Handy: lange Inhalte unter der Beschriftung */
@media (max-width: 760px) {
  .pos-table--panel .cell-route { min-width: 0; }
  .pos-table--panel td.cell-panels,
  .pos-table--panel td.cell-route {
    display: block;
  }
  .pos-table--panel td.cell-panels::before,
  .pos-table--panel td.cell-route::before {
    display: block;
    margin: 0 0 3px;
  }
  .pos-table--panel td.cell-money { font-weight: 700; }
  .pos-table--panel .cell-panels { margin-bottom: 4px; }
}

/* Aufbereitung am Desktop: kompakte Spalten ohne Überlauf */
@media (min-width: 1080px) {
  .pos-table--panel { min-width: 0; }
  .pos-table--panel .cell-route,
  .pos-table--panel .cell-panels { min-width: 0; }
  .pos-table--panel .cell-actions { white-space: normal; }
  .pos-table--panel .cell-actions .btn { margin-left: 0; margin-right: 4px; }
}

/* ============================================================
   Scheibenaufbereitung: Scheibenliste, Vorschau, Ankertabelle
   ============================================================ */
.panel-line { display: block; }
.panel-line + .panel-line { margin-top: 3px; }
.panel-line__area { color: var(--steel); }

.live__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.live__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, .07);
}
.live__list li:last-child { border-bottom: 0; }
.live__label {
  flex: 0 0 auto;
  color: var(--steel);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.live__value { text-align: right; }

.price-table .unit {
  display: inline-block;
  margin-left: 6px;
  color: var(--steel);
  font-size: 11px;
}
.price-table tr.row-static td { color: var(--steel); }
.row-static__note { font-size: 12px; color: var(--steel); }

.label-opt { color: var(--steel); font-weight: 400; text-transform: none; letter-spacing: 0; }
.pos-name {
  display: block;
  margin-bottom: 3px;
  font-weight: 600;
}

/* --------------------- Beispieltexte in Eingabefeldern ---------------------
   Platzhalter („z. B. 1000“) erben sonst die große, kräftige Feld-Schrift.
   Hier einheitlich kleiner, dünner und heller – in allen Bereichen gleich. */
input::placeholder,
textarea::placeholder {
  font-size: 13px;
  font-weight: 400;
  color: #a6b7c5;
  opacity: 1;
}

/* --------------------------- Info-Kennzeichen ------------------------------ */
.card-head__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.info-btn {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: var(--steel);
  background: var(--line-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}

.info-btn:hover,
.info-btn:focus-visible {
  color: var(--blue);
  border-color: var(--blue);
}

.info-btn.is-open {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
}

.info-row__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--steel);
}

.info-panel {
  margin: 10px 0 0;
  padding: 10px 14px;
  background: #f2f7fb;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #33506a;
}

.info-panel h3 {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}

.info-panel ul {
  margin: 0;
  padding-left: 17px;
}

.info-panel li + li {
  margin-top: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* ============================================================
   Kundenanfrage, Büro-Plattform – zusätzliche Stile
   ============================================================ */

input[type="number"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea {
  width: 100%;
  padding: 12px;
  font-size: 17px;
  font-family: inherit;
  color: var(--ink);
  background: #fbfcfe;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  min-height: 48px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
textarea { min-height: 84px; resize: vertical; line-height: 1.45; }
input[type="number"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(28, 110, 168, .16);
}

/* ------------------------------ Kopfleiste mit Aktionen ------------------------------ */
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, .55);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.topbar-link:hover { background: rgba(255, 255, 255, .14); }
.topbar-link--muted { border-color: transparent; font-weight: 500; opacity: .85; }
.zaehler {
  display: inline-block;
  min-width: 22px;
  text-align: center;
  background: #fff;
  color: var(--navy-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 7px;
  margin-left: 6px;
}

/* ------------------------------ Kundenbereich ------------------------------ */
body.kunde {
  background: linear-gradient(180deg, #e7eef9 0%, var(--bg) 320px, var(--bg) 100%);
}
.topbar--kunde { padding: 14px 18px; }
.kunde-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 16px 56px;
  display: grid;
  gap: 16px;
}
.kunde-shell h1 {
  font-size: clamp(24px, 4.4vw, 33px);
  margin: 0 0 10px;
  color: var(--navy-dark);
  letter-spacing: -.01em;
}
.intro-lead { font-size: 17px; margin: 0 0 18px; }
.intro-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.intro-step {
  background: #f7f9fd;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 14px;
}
.intro-nr {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.intro-step h3 { margin: 10px 0 4px; font-size: 15px; }
.intro-step p { margin: 0; font-size: 14px; color: var(--steel); }
.intro-hinweis {
  background: var(--blue-soft);
  border-left: 4px solid var(--navy);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  margin: 18px 0 0;
}

/* ------------------------------ Formularfelder ------------------------------ */
.feld-raster {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.feld { display: block; }
.feld > span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--steel);
  margin-bottom: 6px;
}
.feld em { color: var(--navy); font-style: normal; }
.feld--breit { margin-bottom: 12px; }
.feld--schmal { max-width: 130px; }
.feld-hilfe { font-size: 13px; color: var(--steel); margin: 6px 0 0; }
.feld-gruppe { margin-bottom: 14px; }
.feld-gruppe__titel {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--steel);
  margin-bottom: 8px;
}
.auswahl-reihe { display: flex; flex-wrap: wrap; gap: 8px; }
.auswahl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  background: #fbfcfe;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 15px;
}
.auswahl:has(input:checked) {
  border-color: var(--navy);
  background: var(--blue-soft);
  font-weight: 600;
}
.auswahl input { width: 18px; height: 18px; }
.haken {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
  cursor: pointer;
}
.haken--breit { margin: 12px 0; }
.haken input { width: 20px; height: 20px; flex: none; }
.haken:has(input:checked) { border-color: var(--navy); background: var(--blue-soft); font-weight: 600; }
.folien-ident { border-style: dashed; }
/* ------------------------------ Bereiche und Positionen ------------------------------ */
.bereich-frage { font-size: 15px; margin: 6px 0 10px; }
.bereich-wahl {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  margin-bottom: 18px;
}
.bereich-knopf {
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  display: grid;
  gap: 4px;
  font-family: inherit;
}
.bereich-knopf:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.bereich-knopf strong { font-size: 15.5px; color: var(--navy-dark); }
.bereich-knopf span { font-size: 13.5px; color: var(--steel); }

.positionen { display: grid; gap: 14px; }
.position {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}
.position__kopf {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}
.position__nr {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--steel);
}
.position__hilfe { font-size: 13.5px; color: var(--steel); margin: 0 0 12px; }
.scheiben { display: grid; gap: 10px; }
.scheibe {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  align-items: end;
  background: #f7f9fd;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 12px;
  position: relative;
}
.scheibe__weg {
  position: absolute;
  top: 6px;
  right: 6px;
  line-height: 1;
  font-size: 16px;
}

/* ------------------------------ Fotos ------------------------------ */
.fotos { margin-top: 14px; }
.foto-knopf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  padding: 11px 15px;
  cursor: pointer;
  font-size: 14.5px;
  color: var(--navy-dark);
  font-weight: 600;
}
.foto-knopf input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.foto-liste { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.foto { position: relative; margin: 0; width: 96px; }
.foto img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}
.foto__weg {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--warn);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  line-height: 1;
}
.foto__hinweis { font-size: 11.5px; color: var(--steel); margin: 4px 0 0; }

/* ------------------------------ Absenden und Erfolg ------------------------------ */
.btn--gross { width: 100%; padding: 16px; font-size: 18px; margin-top: 10px; }
.btn--klein { padding: 6px 11px; font-size: 13px; }
.pflichthinweis { font-size: 13px; color: var(--steel); }
.sende-status { font-weight: 600; color: var(--navy-dark); }
.fehlerliste {
  background: var(--warn-soft);
  border-left: 4px solid var(--warn);
  padding: 12px 16px 12px 32px;
  border-radius: 8px;
  font-size: 14.5px;
  color: #7c1d24;
  margin: 12px 0 0;
}
.karte-erfolg { border: 2px solid var(--ok); }
.erfolg-daten { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0; }
.erfolg-feld { background: var(--ok-soft); border-radius: 10px; padding: 12px 18px; min-width: 175px; }
.erfolg-feld span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--steel);
}
.erfolg-feld strong { font-size: 22px; font-family: var(--mono); letter-spacing: .04em; }
.erfolg-hinweis { font-size: 14.5px; }
.erfolg-link a { font-size: 17px; font-weight: 600; }
.foto-status { font-size: 14px; color: var(--steel); }
.leer-hinweis { font-size: 14px; color: var(--steel); margin: 4px 0 0; }
/* ------------------------------ Statusseite des Kunden ------------------------------ */
.status-kopf {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background: var(--blue-soft);
  color: var(--navy-dark);
}
.status-chip--ok { background: var(--ok-soft); color: var(--ok); }
.status-chip--warn { background: var(--warn-soft); color: var(--warn); }
.status-meta { font-size: 14.5px; color: var(--steel); }
.status-positionen { display: grid; gap: 12px; margin-top: 12px; }
.status-position {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 12px;
  background: #fbfcfe;
}
.status-position__kopf { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.status-scheiben { margin: 8px 0 0; padding-left: 18px; font-size: 14.5px; }
.status-scheiben li { margin-bottom: 3px; }
.status-fotos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.status-fotos img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.status-aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.status-edit { margin-top: 14px; }
.status-edit .scheibe { background: #fff; }

/* ------------------------------ Anmeldung Büro ------------------------------ */
.login-shell {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}
.login-karte { width: 100%; max-width: 420px; }
.login-karte h1 { font-size: 22px; margin: 0 0 6px; color: var(--navy-dark); }
.login-karte p { font-size: 14.5px; color: var(--steel); margin: 0 0 16px; }

/* ------------------------------ Anfragenliste Büro ------------------------------ */
.filter-reihe {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
  margin-bottom: 14px;
}
.filter-reihe .feld { min-width: 160px; }
.anfragen-liste { display: grid; gap: 10px; }
.anfrage-zeile {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
  align-items: center;
  cursor: pointer;
}
.anfrage-zeile:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.anfrage-zeile__haupt { display: grid; gap: 3px; }
.anfrage-zeile__nummer { font-family: var(--mono); font-weight: 700; color: var(--navy-dark); }
.anfrage-zeile__firma { font-weight: 600; }
.anfrage-zeile__info { font-size: 13.5px; color: var(--steel); }
.anfrage-zeile__rechts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.anfrage-detail { display: grid; gap: 14px; }
.detail-block { border: 1px solid var(--line-soft); border-radius: 10px; padding: 12px; background: #fbfcfe; }
.detail-block h3 { margin: 0 0 8px; font-size: 15px; color: var(--navy-dark); }
.detail-daten { display: grid; gap: 6px; font-size: 14.5px; }
.detail-daten a { color: var(--navy-dark); }
.detail-position { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: #fff; margin-bottom: 10px; }
.detail-position__kopf { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.detail-position ul { margin: 8px 0 0; padding-left: 18px; font-size: 14.5px; }
.foto-galerie { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.foto-galerie figure { margin: 0; }
.foto-galerie img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}
.foto-galerie a { font-size: 13px; }
.event-liste { font-size: 13.5px; color: var(--steel); margin: 0; padding-left: 18px; }
.detail-aktionen { display: flex; flex-wrap: wrap; gap: 10px; }

/* ------------------------------ Übernahme-Hinweis im Kalkulator ------------------------------ */
.anfrage-hinweis {
  max-width: 1180px;
  margin: 16px auto 0;
  background: var(--blue-soft);
  border: 1.5px solid var(--navy);
  border-left-width: 6px;
  border-radius: 12px;
  padding: 14px 16px;
}
.anfrage-hinweis__kopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.anfrage-hinweis__kunde { font-size: 14.5px; }
.anfrage-hinweis__kunde a { color: var(--navy-dark); }
.anfrage-hinweis__text { font-size: 14.5px; margin: 6px 0 0; }
.anfrage-hinweis__liste { margin: 8px 0 0; padding-left: 20px; font-size: 14px; color: #7c4a10; }
/* ------------------------------ Einklappbare Positionen (Kundenseite) ------------------------------ */
.position {
  padding: 0;
  overflow: hidden;
}
.position--fehler {
  border-color: var(--warn);
  box-shadow: 0 0 0 3px var(--warn-soft);
}
.position__kopf {
  align-items: center;
  margin-bottom: 0;
  padding: 12px 14px;
  background: #f7f9fd;
  border-bottom: 1px solid var(--line-soft);
}
.position--offen .position__kopf {
  border-bottom-color: var(--line);
}
.position__schalter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.position__pfeil {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: -3px;
  border-right: 2px solid var(--steel);
  border-bottom: 2px solid var(--steel);
  transform: rotate(-45deg);
  transition: transform .18s ease, margin-top .18s ease;
}
.position--offen .position__pfeil {
  transform: rotate(45deg);
  margin-top: -6px;
}
.position__titel {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.position__titel strong {
  font-size: 15px;
  line-height: 1.25;
}
.position__kurz {
  font-size: 12.5px;
  color: var(--steel);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.position__weg {
  flex: 0 0 auto;
}
.position__koerper {
  padding: 14px;
}
.feld--maschine {
  margin-bottom: 10px;
}
.feld--maschine input {
  font-weight: 600;
}
@media (max-width: 520px) {
  .position__kopf {
    padding: 11px 12px;
  }
  .position__kurz {
    white-space: normal;
  }
  .position__koerper {
    padding: 12px;
  }
}

/* ------------------------------ Maschine je Position ------------------------------ */
.label-optional {
  font-weight: 500;
  color: var(--muted, #6b7c8c);
  font-size: 0.86em;
}

.cell-maschine {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted, #6b7c8c);
}

/* ------------------------------ Fotos im Büro-Bereich ------------------------------ */
.detail-fotos {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--linie, #d6dde5);
}
.detail-fotos h4 {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel);
}
.detail-fotos .foto-galerie img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border: 1px solid var(--linie, #d6dde5);
  border-radius: 8px;
  background: #fff;
}
.detail-fotos .foto-galerie figcaption { max-width: 180px; line-height: 1.35; }
.link-knopf {
  border: 0;
  background: none;
  padding: 0;
  color: #b3261e;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
}
.anfrage-zeile__bild {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--linie, #d6dde5);
  margin-right: 12px;
  flex: 0 0 auto;
}
.foto-status { min-height: 18px; }

/* ------------------------------ Zentrale Preise übernehmen ------------------------------ */
.preis-uebernahme,
.preis-passwort {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line, #d8dde4);
}

.preis-uebernahme h3,
.preis-passwort h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.preis-zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
}

.field--pass {
  flex: 0 1 260px;
  min-width: 200px;
}

.preis-knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 2px;
}

.preis-status,
.preis-warnung {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--muted, #6b7c8c);
}

.preis-status.is-error,
.preis-warnung {
  color: #b3261e;
  font-weight: 600;
}

.preis-warnung {
  padding: 10px 12px;
  border: 1px solid #e2b4ae;
  border-radius: 6px;
  background: #fdf3f2;
}

.preis-passwort .field-grid {
  margin-bottom: 10px;
}

/* ------------------------------ Weiter-Block im Kundenbereich ------------------------------ */
.weiter-block {
  margin-top: 18px;
  border: 2px dashed var(--navy);
  border-radius: 14px;
  background: #f6f9fd;
  padding: 16px;
}

.weiter-block h3 {
  margin: 0 0 4px;
  font-size: 17px;
  color: var(--navy-dark);
}

.weiter-text {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--steel);
}

.weiter-wahl {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  margin-bottom: 14px;
}

.weiter-block .bereich-knopf {
  background: #fff;
}

.weiter-stand {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 14px;
  color: var(--navy-dark);
}

.weiter-stand ul {
  margin: 8px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 4px;
  color: var(--steel);
}

.weiter-hinweis {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: var(--steel);
}

@media (max-width: 640px) {
  .weiter-block { padding: 14px; }
  .weiter-wahl { grid-template-columns: 1fr; }
  .weiter-block h3 { font-size: 16px; }
}

/* ------------------------------ Grobmaß-Hinweise (18.10.2026) ------------ */
.grobmass-hinweis {
  margin: 14px 0 18px;
  padding: 11px 14px;
  background: #eef3f9;
  border-left: 4px solid var(--navy, #0f2a4a);
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: #3d4d5c;
}
.grobmass-hinweis strong { color: var(--navy, #0f2a4a); }
.position__grobmass {
  margin: 0 0 12px;
  padding: 9px 12px;
  background: #eef3f9;
  border-left: 4px solid var(--navy, #0f2a4a);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: #3d4d5c;
}
@media (max-width: 640px) {
  .grobmass-hinweis, .position__grobmass { font-size: 12.5px; padding: 9px 11px; }
}
