/* ================================================================
   TUNING KONFIGURATOR PRO – Apple-Style, Dark/Light Mode
   Version 4.0
   ================================================================ */

/* ── Google Fonts: SF Pro Ersatz (Inter) ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

/* ================================================================
   CSS CUSTOM PROPERTIES – Dark Mode (Standard)
   ================================================================ */
#tkc-wrap {
  /* Farben */
  --tk-red:         #e30613;
  --tk-red-hover:   #c0000f;

  /* Backgrounds – layered wie Apple */
  --tk-bg-base:     #000000;
  --tk-bg-elevated: #1c1c1e;
  --tk-bg-card:     #2c2c2e;
  --tk-bg-input:    #3a3a3c;

  /* Text */
  --tk-text-primary:   #ffffff;
  --tk-text-secondary: rgba(235,235,245,.6);
  --tk-text-tertiary:  rgba(235,235,245,.3);

  /* Borders – hauchdünn */
  --tk-border:      rgba(255,255,255,.1);
  --tk-border-soft: rgba(255,255,255,.06);

  /* Toggle */
  --tk-toggle-off:  #3a3a3c;
  --tk-toggle-on:   #e30613;

  /* Schrift */
  --tk-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  /* Größen */
  --tk-radius-sm: 8px;
  --tk-radius-md: 12px;
  --tk-radius-lg: 16px;
}

/* ================================================================
   LIGHT MODE – per Admin konfigurierbar via data-attribute
   ================================================================ */
#tkc-wrap[data-mode="light"] {
  --tk-bg-base:     #f5f5f7;
  --tk-bg-elevated: #ffffff;
  --tk-bg-card:     #f5f5f7;
  --tk-bg-input:    #e8e8ed;

  --tk-text-primary:   #1d1d1f;
  --tk-text-secondary: rgba(60,60,67,.6);
  --tk-text-tertiary:  rgba(60,60,67,.3);

  --tk-border:      rgba(0,0,0,.1);
  --tk-border-soft: rgba(0,0,0,.06);

  --tk-toggle-off:  #e5e5ea;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
#tkc-wrap, #tkc-wrap *, #tkc-wrap *::before, #tkc-wrap *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#tkc-wrap {
  display: block;
  background: var(--tk-bg-base);
  color: var(--tk-text-primary);
  font-family: var(--tk-font);
  font-size: 15px;
  line-height: 1.5;
  position: relative;
}

/* ================================================================
   FAHRZEUG-SELECTOR
   3 kaskadierende Dropdowns – Apple-Style, dünne Trennlinie
   ================================================================ */
.tkc-selector {
  background: var(--tk-bg-elevated);
  border-bottom: 1px solid var(--tk-border-soft);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.tkc-sel-col {
  position: relative;
  border-right: 1px solid var(--tk-border-soft);
}
.tkc-sel-col:last-child { border-right: none; }

.tkc-sel-col select {
  display: block !important;
  width: 100% !important;
  height: 56px !important;
  padding: 0 44px 0 20px !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: var(--tk-text-primary) !important;
  font-family: var(--tk-font) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: none !important;
  letter-spacing: -0.1px !important;
}
.tkc-sel-col select option {
  background: #1c1c1e !important;
  color: #fff !important;
}
.tkc-sel-col select:disabled {
  color: var(--tk-text-tertiary) !important;
  cursor: not-allowed !important;
}

.tkc-sel-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--tk-text-tertiary);
}
.tkc-sel-arrow svg {
  display: block;
  width: 12px;
  height: 12px;
}

.tkc-sel-col.tkc-locked { opacity: .3; pointer-events: none; }
.tkc-sel-col.tkc-unlocked { opacity: 1; pointer-events: auto; }

/* ================================================================
   TOGGLE-LEISTE
   iOS-Style Switches – wie auf PP-Performance Screenshot
   ================================================================ */
.tkc-toggle-bar {
  background: var(--tk-bg-elevated);
  border-bottom: 1px solid var(--tk-border-soft);
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.tkc-tog-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  padding: 4px 0;
}
.tkc-tog-item.tkc-tog-disabled {
  opacity: .25;
  pointer-events: none;
}

/* iOS Toggle Switch */
.tkc-tog-sw {
  position: relative;
  width: 44px;
  height: 26px;
  background: var(--tk-toggle-off);
  border-radius: 13px;
  border: none;
  cursor: pointer;
  transition: background .25s ease;
  flex-shrink: 0;
  padding: 0;
}
.tkc-tog-sw::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform .25s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.tkc-tog-item.tkc-tog-on .tkc-tog-sw {
  background: var(--tk-toggle-on);
}
.tkc-tog-item.tkc-tog-on .tkc-tog-sw::after {
  transform: translateX(18px);
}

.tkc-tog-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--tk-text-secondary);
  letter-spacing: -0.1px;
  transition: color .2s;
}
.tkc-tog-item.tkc-tog-on .tkc-tog-label {
  color: var(--tk-text-primary);
  font-weight: 500;
}

/* ================================================================
   HAUPT-CONTENT-BEREICH
   ================================================================ */
.tkc-main {
  display: block;
}

/* ================================================================
   FAHRZEUG-HERO
   Rote Deko-Linie + großer Titel + Beschreibung – alles zentriert
   ================================================================ */
.tkc-hero {
  padding: 64px 48px 56px;
  text-align: center;
  border-bottom: 1px solid var(--tk-border-soft);
}

.tkc-hero-deco {
  width: 60px;
  height: 2px;
  background: var(--tk-red);
  margin: 0 auto 28px;
}

.tkc-hero-title {
  font-size: clamp(24px, 4vw, 38px) !important;
  font-weight: 600 !important;
  letter-spacing: -1px !important;
  color: var(--tk-text-primary) !important;
  line-height: 1.05 !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  text-transform: uppercase !important;
}

.tkc-hero-desc {
  font-size: 15px !important;
  color: var(--tk-text-secondary) !important;
  line-height: 1.65 !important;
  max-width: 620px !important;
  margin: 0 auto !important;
  font-weight: 400 !important;
  padding: 0 !important;
}

/* Fahrzeugbild */
.tkc-hero-img-wrap {
  margin: 40px auto 0;
  max-width: 560px;
}
.tkc-hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--tk-radius-md);
  opacity: .9;
}
.tkc-hero-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: var(--tk-text-tertiary);
}
.tkc-hero-img-placeholder svg {
  width: 120px;
  opacity: .3;
}

/* ================================================================
   STATISTIKEN
   Riesige Zahlen – links Serien, rechts PP – wie Apple Specs
   ================================================================ */
.tkc-stats {
  border-bottom: 1px solid var(--tk-border-soft);
}

.tkc-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--tk-border-soft);
}
.tkc-stat-row:last-child { border-bottom: none; }

.tkc-stat-cell {
  padding: 36px 48px;
  text-align: center;
  border-right: 1px solid var(--tk-border-soft);
}
.tkc-stat-cell:last-child { border-right: none; }

.tkc-stat-num {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: -2px;
  color: var(--tk-text-primary);
  line-height: 1;
  display: block;
  transition: color .3s, transform .2s;
}
.tkc-stat-num .tkc-stat-unit {
  font-size: .55em;
  letter-spacing: -1px;
  font-weight: 300;
}

/* PP-Seite: rot */
.tkc-stat-cell-pp .tkc-stat-num {
  color: var(--tk-red);
}

/* Animation wenn Wert sich ändert */
.tkc-stat-num.tkc-stat-flash {
  animation: tkc-numflash .35s ease;
}

.tkc-stat-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tk-text-tertiary);
  margin-top: 10px;
}

@keyframes tkc-numflash {
  0%   { opacity: .3; transform: translateY(4px); }
  100% { opacity: 1;  transform: translateY(0); }
}

/* ================================================================
   PREISBEREICH
   "Investment / PREISE" mit roter Seitenlinie – Apple-clean
   ================================================================ */
.tkc-price-section {
  padding: 64px 48px;
}

/* Header: roter Strich + Text */
.tkc-price-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 40px;
}
.tkc-price-header-line {
  width: 2px;
  min-height: 52px;
  background: var(--tk-red);
  flex-shrink: 0;
  border-radius: 1px;
}
.tkc-price-header-sub {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tk-text-tertiary);
  margin-bottom: 4px;
  font-weight: 500;
}
.tkc-price-header-title {
  font-size: 36px !important;
  font-weight: 600 !important;
  letter-spacing: -1.5px !important;
  color: var(--tk-text-primary) !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  text-transform: uppercase !important;
}

/* Tabelle */
.tkc-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tkc-price-table thead th {
  padding: 10px 0;
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--tk-text-tertiary);
  border-bottom: 1px solid var(--tk-border);
}
.tkc-price-table thead th.th-right { text-align: right; }
.tkc-price-table thead th.th-center { text-align: center; }

.tkc-price-table tbody tr {
  border-bottom: 1px solid var(--tk-border-soft);
  transition: background .15s;
}
.tkc-price-table tbody tr:last-child { border-bottom: none; }

.tkc-price-table tbody td {
  padding: 18px 0;
  color: var(--tk-text-tertiary);
  vertical-align: middle;
}

/* Aktive Zeile */
.tkc-price-table tbody tr.tkc-row-on td {
  color: var(--tk-text-primary);
}
.tkc-price-table tbody tr.tkc-row-on .tkc-td-name {
  font-weight: 500;
}
.tkc-price-table tbody tr.tkc-row-on .tkc-td-price,
.tkc-price-table tbody tr.tkc-row-on .tkc-td-total {
  font-weight: 600;
}

.tkc-td-pos { width: 36px; font-size: 12px; color: var(--tk-text-tertiary); }
.tkc-td-name-wrap { line-height: 1.4; }
.tkc-td-name { font-size: 14px; display: block; letter-spacing: -0.1px; }
.tkc-td-name-sub { font-size: 11px; color: var(--tk-text-tertiary); margin-top: 1px; display: block; }
.tkc-td-vehicle { font-size: 12px; color: var(--tk-text-tertiary); }
.tkc-td-price { text-align: right; font-size: 14px; white-space: nowrap; }
.tkc-td-qty { text-align: center; }
.tkc-td-total { text-align: right; font-size: 14px; white-space: nowrap; }

/* Tfoot / Gesamt */
.tkc-price-table tfoot tr td {
  padding: 20px 0;
  border-top: 1px solid var(--tk-border);
}
.tkc-tfoot-label {
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  color: var(--tk-text-primary);
}
.tkc-tfoot-total {
  text-align: right;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--tk-text-primary);
  white-space: nowrap;
}

/* ZUR KASSE */
.tkc-checkout-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

/* ================================================================
   OPTIONALE EXTRAS
   Checkbox-Rows Apple-Style
   ================================================================ */
.tkc-extras-section {
  padding: 0 48px 48px;
  border-top: 1px solid var(--tk-border-soft);
  padding-top: 36px;
}

.tkc-extras-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .5px !important;
  color: var(--tk-text-secondary) !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  text-transform: uppercase !important;
}

.tkc-extra-row {
  display: grid;
  grid-template-columns: 28px 1fr 180px 70px 60px 120px;
  align-items: center;
  gap: 0 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--tk-border-soft);
  transition: background .15s;
}
.tkc-extra-row:last-child { border-bottom: none; }
.tkc-extra-row.tkc-extra-on td,
.tkc-extra-row.tkc-extra-on .tkc-extra-name { color: var(--tk-text-primary); }

/* Checkbox Apple-Style */
.tkc-extra-cb {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1.5px solid var(--tk-border);
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: all .2s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tkc-extra-cb.tkc-cb-on {
  background: var(--tk-red);
  border-color: var(--tk-red);
}
.tkc-extra-cb.tkc-cb-on::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 9px;
  border: 1.5px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}

.tkc-extra-name { font-size: 13px; color: var(--tk-text-secondary); }
.tkc-extra-name-main { display: block; font-weight: 500; letter-spacing: -0.1px; }
.tkc-extra-name-sub { display: block; font-size: 11px; color: var(--tk-text-tertiary); margin-top: 2px; }
.tkc-extra-vehicle { font-size: 12px; color: var(--tk-text-tertiary); }
.tkc-extra-price { text-align: right; font-size: 13px; color: var(--tk-text-tertiary); }
.tkc-extra-qty { text-align: center; font-size: 13px; color: var(--tk-text-tertiary); }
.tkc-extra-total { text-align: right; font-size: 13px; color: var(--tk-text-tertiary); }
.tkc-extra-row.tkc-extra-on .tkc-extra-price,
.tkc-extra-row.tkc-extra-on .tkc-extra-total { color: var(--tk-text-primary); font-weight: 500; }

/* ================================================================
   BUTTONS – Apple-Style
   ================================================================ */
.tkc-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 24px !important;
  height: 44px !important;
  border-radius: var(--tk-radius-sm) !important;
  font-family: var(--tk-font) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: -0.1px !important;
  border: none !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: all .2s ease !important;
  white-space: nowrap !important;
  -webkit-appearance: none !important;
}

.tkc-btn-primary {
  background: var(--tk-red) !important;
  color: #fff !important;
}
.tkc-btn-primary:hover {
  background: var(--tk-red-hover) !important;
  transform: translateY(-1px) !important;
}

.tkc-btn-kasse {
  background: var(--tk-red) !important;
  color: #fff !important;
  letter-spacing: .5px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  border-radius: 4px !important;
  padding: 0 32px !important;
  height: 48px !important;
}
.tkc-btn-kasse:hover { background: var(--tk-red-hover) !important; }

.tkc-btn-ghost {
  background: var(--tk-bg-card) !important;
  color: var(--tk-text-secondary) !important;
  border: 1px solid var(--tk-border) !important;
}
.tkc-btn-ghost:hover {
  background: var(--tk-bg-input) !important;
  color: var(--tk-text-primary) !important;
}

.tkc-btn:disabled { opacity: .4 !important; cursor: not-allowed !important; transform: none !important; }

/* ================================================================
   CTA SECTION – dunkler Balken unten
   ================================================================ */
.tkc-cta-section {
  background: var(--tk-bg-elevated);
  border-top: 1px solid var(--tk-border-soft);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tkc-cta-note {
  margin-left: auto;
  font-size: 12px;
  color: var(--tk-text-tertiary);
  letter-spacing: .2px;
}

/* ================================================================
   BESCHREIBUNGSTEXTE
   ================================================================ */
.tkc-descs {
  border-top: 1px solid var(--tk-border-soft);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.tkc-desc-item { display: none; }
.tkc-desc-item.tkc-desc-on {
  display: block;
  animation: tkc-fadein .3s ease;
}

.tkc-desc-title {
  font-size: 19px !important;
  font-weight: 600 !important;
  letter-spacing: -0.5px !important;
  color: var(--tk-text-primary) !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
.tkc-desc-text {
  font-size: 14px !important;
  color: var(--tk-text-secondary) !important;
  line-height: 1.75 !important;
  margin: 0 !important;
  font-weight: 400 !important;
  max-width: 680px !important;
}

/* ================================================================
   MODAL – Apple Sheet-Style
   ================================================================ */
.tkc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  animation: tkc-fadein .2s ease;
}

@media (min-width: 640px) {
  .tkc-modal-overlay {
    align-items: center;
    padding: 24px;
  }
}

.tkc-modal {
  background: var(--tk-bg-elevated);
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: var(--tk-radius-lg) var(--tk-radius-lg) 0 0;
  padding: 32px 28px 40px;
  position: relative;
  animation: tkc-slideup .3s cubic-bezier(.25,.46,.45,.94);
}

@media (min-width: 640px) {
  .tkc-modal {
    border-radius: var(--tk-radius-lg);
  }
}

/* Griff-Indikator oben */
.tkc-modal::before {
  content: '';
  display: block;
  width: 36px;
  height: 4px;
  background: var(--tk-border);
  border-radius: 2px;
  margin: 0 auto 28px;
}

.tkc-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--tk-bg-card);
  border: none;
  color: var(--tk-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background .15s;
}
.tkc-modal-close:hover { background: var(--tk-bg-input); color: var(--tk-text-primary); }

.tkc-modal-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tk-red);
  margin-bottom: 6px;
}
.tkc-modal-title {
  font-size: 22px !important;
  font-weight: 600 !important;
  letter-spacing: -0.5px !important;
  color: var(--tk-text-primary) !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

/* Konfigurationsübersicht im Modal */
.tkc-modal-summary {
  background: var(--tk-bg-card);
  border-radius: var(--tk-radius-sm);
  padding: 16px 18px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--tk-text-secondary);
  line-height: 1.6;
}
.tkc-modal-summary strong {
  color: var(--tk-text-primary);
  font-weight: 600;
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.tkc-sum-total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--tk-border-soft);
  font-size: 18px;
  font-weight: 600;
  color: var(--tk-text-primary);
  letter-spacing: -0.3px;
}

/* Formular */
.tkc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tkc-form-field { display: flex; flex-direction: column; gap: 6px; }
.tkc-form-full { grid-column: 1 / -1; }

.tkc-form-lbl {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .5px !important;
  text-transform: uppercase !important;
  color: var(--tk-text-tertiary) !important;
}
.tkc-form-lbl span { color: var(--tk-red) !important; }

.tkc-form-input,
.tkc-form-textarea {
  display: block !important;
  width: 100% !important;
  background: var(--tk-bg-card) !important;
  border: 1px solid var(--tk-border) !important;
  border-radius: var(--tk-radius-sm) !important;
  color: var(--tk-text-primary) !important;
  font-family: var(--tk-font) !important;
  font-size: 15px !important;
  padding: 12px 14px !important;
  outline: none !important;
  transition: border-color .2s !important;
  box-shadow: none !important;
  height: auto !important;
  -webkit-appearance: none !important;
}
.tkc-form-input::placeholder,
.tkc-form-textarea::placeholder { color: var(--tk-text-tertiary) !important; }
.tkc-form-input:focus,
.tkc-form-textarea:focus {
  border-color: var(--tk-red) !important;
  box-shadow: 0 0 0 3px rgba(227,6,19,.12) !important;
}
.tkc-form-textarea { resize: vertical !important; min-height: 90px !important; }

.tkc-form-privacy {
  font-size: 12px !important;
  color: var(--tk-text-tertiary) !important;
  line-height: 1.5 !important;
  margin: 14px 0 !important;
}

.tkc-form-error {
  background: rgba(227,6,19,.1);
  border: 1px solid rgba(227,6,19,.25);
  color: #ff6b6b;
  padding: 11px 14px;
  border-radius: var(--tk-radius-sm);
  font-size: 13px;
  margin-bottom: 12px;
}

.tkc-form-actions { display: flex; gap: 10px; }

/* Erfolg */
.tkc-success { text-align: center; padding: 20px 0; }
.tkc-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(52,199,89,.15);
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tkc-success-icon svg { width: 28px; height: 28px; stroke: #34c759; fill: none; stroke-width: 2.5; }
.tkc-success-msg {
  font-size: 15px !important;
  color: var(--tk-text-primary) !important;
  line-height: 1.6 !important;
  margin: 0 0 24px !important;
  font-weight: 400 !important;
}

/* ================================================================
   LOADER
   ================================================================ */
.tkc-loader {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}
.tkc-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255,255,255,.1);
  border-top-color: var(--tk-red);
  border-radius: 50%;
  animation: tkc-spin .7s linear infinite;
}

/* ================================================================
   ANIMATIONEN
   ================================================================ */
@keyframes tkc-spin    { to { transform: rotate(360deg); } }
@keyframes tkc-fadein  { from { opacity: 0; } to { opacity: 1; } }
@keyframes tkc-slideup { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .tkc-selector { grid-template-columns: 1fr; }
  .tkc-sel-col { border-right: none; border-bottom: 1px solid var(--tk-border-soft); }
  .tkc-sel-col:last-child { border-bottom: none; }

  .tkc-toggle-bar { padding: 12px 16px; gap: 10px 20px; }
  .tkc-tog-label { font-size: 12px; }

  .tkc-hero { padding: 40px 20px 36px; }
  .tkc-hero-title { font-size: 24px !important; }

  .tkc-stat-cell { padding: 24px 20px; }
  .tkc-stat-num { font-size: 32px; letter-spacing: -1px; }

  .tkc-price-section { padding: 40px 20px; }
  .tkc-extras-section { padding: 28px 20px; }
  .tkc-cta-section { padding: 28px 20px; flex-direction: column; align-items: stretch; }
  .tkc-cta-note { margin-left: 0; text-align: center; }
  .tkc-descs { padding: 32px 20px; }

  .tkc-extra-row { grid-template-columns: 28px 1fr auto; }
  .tkc-extra-vehicle, .tkc-extra-qty, .tkc-extra-price { display: none; }

  .tkc-price-table .th-vehicle,
  .tkc-price-table .td-vehicle,
  .tkc-price-table .th-qty,
  .tkc-price-table .td-qty { display: none; }

  .tkc-form-grid { grid-template-columns: 1fr; }
  .tkc-modal { padding: 24px 20px 32px; }
}

@media (max-width: 480px) {
  .tkc-stat-num { font-size: 28px; }
  .tkc-price-header-title { font-size: 28px !important; }
}
