/* ============================================================
   UNIPODS Container-Konfigurator
   Theme passend zur Unipods-Webseite:
   dunkler Header/Hero/Footer, helle Content-Bereiche,
   Türkis-Akzent, Pill-Buttons, weiße Karten, Poppins
   ============================================================ */

:root {
  --dark: #111214;
  --dark-soft: #1a1c1f;
  --bg: #ffffff;
  --bg-soft: #f6f7f8;
  --text: #17181a;
  --text-dim: #5f6a72;
  --text-faint: #97a0a8;
  --text-inverse: #ffffff;
  --text-inverse-dim: #b9c0c6;
  --accent: #2fd9c0;
  --accent-strong: #17b8a2;
  --accent-dark: #073b34;
  --accent-soft: rgba(47, 217, 192, 0.12);
  --card: #ffffff;
  --border: #e7eaec;
  --border-strong: #d6dbde;
  --border-dark: rgba(255, 255, 255, 0.14);
  --danger: #e05252;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-card: 0 8px 32px -8px rgba(17, 18, 20, 0.1), 0 2px 8px rgba(17, 18, 20, 0.04);
  --shadow-lg: 0 24px 64px -16px rgba(17, 18, 20, 0.16);
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(47, 217, 192, 0.35); }

/* ---------- Utility ---------- */

.glass {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
  position: relative;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-dark);
  box-shadow: 0 8px 28px -8px rgba(23, 184, 162, 0.55);
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -8px rgba(23, 184, 162, 0.6);
}

.btn-dark {
  background: var(--dark);
  color: #ffffff;
  box-shadow: 0 8px 24px -10px rgba(17, 18, 20, 0.5);
}

.btn-dark:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -10px rgba(17, 18, 20, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid transparent;
}

.btn-ghost:hover { color: var(--text); }

.btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(17, 18, 20, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-inverse);
}

.brand-logo-img {
  display: block;
  height: 30px;
  width: auto;
}

.brand-logo-footer { height: 26px; }

.header-price { text-align: right; }

.header-price-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-inverse-dim);
}

.header-price-value {
  font-size: 21px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* ---------- Hero (dunkel, wie Website-Header-Bereich) ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 120px 28px 120px;
  background: #33383e;
  background-image: radial-gradient(900px 480px at 78% 18%, rgba(47, 217, 192, 0.10), transparent 60%);
  color: var(--text-inverse);
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.badge-pill {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-inverse-dim);
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
}

.hero-title {
  font-size: clamp(28px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
  overflow-wrap: break-word;
}

.hero-title-accent { color: var(--accent); }

.hero-sub {
  font-size: 18px;
  color: var(--text-inverse-dim);
  max-width: 480px;
  margin-bottom: 38px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-cta-hint {
  font-size: 13.5px;
  color: var(--text-inverse-dim);
}

.hero-visual { position: relative; }

.hero-stage {
  width: 100%;
  aspect-ratio: 1.15;
  display: grid;
  place-items: center;
}

.hero-stage img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 6px 18px rgba(0, 0, 0, 0.35);
  animation: heroFloat 7s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(0.001deg); }
  50% { transform: translateY(-16px) rotate(0.001deg); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--border-dark);
  border-radius: 999px;
}

.hero-scroll-hint span {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--accent);
  animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Konfigurator Layout (hell) ---------- */

.configurator-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 28px 120px;
  scroll-margin-top: 90px;
}

.configurator-grid {
  display: grid;
  grid-template-columns: minmax(380px, 460px) 1fr;
  gap: 28px;
  align-items: start;
}

.configurator-grid > *,
.hero-inner > * { min-width: 0; max-width: 100%; }

svg { max-width: 100%; }

/* ---------- Panel (links) ---------- */

.panel {
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 640px;
}

.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 26px;
}

.tab {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-faint);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 4px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.tab:disabled { cursor: not-allowed; opacity: 0.45; }

.tab.is-done:not(.is-active) { color: var(--text-dim); }

.tab.is-active {
  background: var(--dark);
  color: #ffffff;
  box-shadow: 0 4px 14px -4px rgba(17, 18, 20, 0.4);
}

.step-wrap { flex: 1; }

.step-content { animation: stepIn 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }

.step-content.anim-back { animation-name: stepInBack; }

@keyframes stepIn {
  from { opacity: 0; transform: translateX(26px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes stepInBack {
  from { opacity: 0; transform: translateX(-26px); }
  to { opacity: 1; transform: translateX(0); }
}

.step-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.step-hint {
  font-size: 13.5px;
  color: var(--text-dim);
  margin: -12px 0 18px;
}

/* ---------- RAL-Farbauswahl ---------- */

.ral-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
  gap: 8px;
}

.ral-swatch {
  aspect-ratio: 1;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.25), 0 1px 3px rgba(17, 18, 20, 0.15);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.ral-swatch:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(17, 18, 20, 0.25);
  z-index: 1;
}

.ral-swatch.is-selected {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  transform: scale(1.08);
}

.ral-custom {
  margin-top: 16px;
  padding: 14px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.ral-custom-label {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.ral-custom-row {
  display: flex;
  gap: 10px;
}

.ral-custom-input {
  flex: 1;
  min-width: 0;
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--text);
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
}

.ral-custom-input::placeholder { color: var(--text-faint); }

.ral-custom-input:focus {
  outline: none;
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(47, 217, 192, 0.18);
}

.btn-sm {
  padding: 0 18px;
  font-size: 13.5px;
  border: 1.5px solid var(--border-strong);
  flex-shrink: 0;
}

.ral-custom-msg {
  min-height: 18px;
  font-size: 12.5px;
  margin-top: 9px;
}

.ral-custom-msg.is-error { color: var(--danger); }
.ral-custom-msg.is-success { color: var(--accent-strong); font-weight: 600; }

.ral-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  font-size: 14px;
  color: var(--text-dim);
}

.ral-info b { color: var(--text); }

.ral-info-chip {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.14);
}

/* ---------- Options-Karten ---------- */

.option-card {
  width: 100%;
  text-align: left;
  font-family: var(--font);
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 17px 18px;
  margin-bottom: 13px;
  cursor: pointer;
  color: var(--text);
  transition: transform 0.22s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.option-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 217, 192, 0.08), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.option-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}

.option-card:hover::after { opacity: 1; }

.option-card.is-selected {
  border-color: var(--accent-strong);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(23, 184, 162, 0.35), 0 10px 30px -12px rgba(23, 184, 162, 0.35);
}

.option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.option-name {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.option-price {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.option-desc {
  font-size: 13.5px;
  color: var(--text-dim);
  margin-top: 7px;
}

.option-meta {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 6px;
}

/* Modell-Karten mit Vorschaubild */

.option-thumb {
  display: block;
  margin: -5px -6px 12px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 8 / 3.4;
}

.option-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.option-card-model:hover .option-thumb img { transform: scale(1.04); }

/* Optik-Karten mit Farb-Swatch */

.option-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.swatch {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(17, 18, 20, 0.12);
}

.option-row .option-desc { margin-top: 3px; }

/* Extras mit Checkbox */

.check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 8px;
  border: 1.5px solid var(--border-strong);
  background: #ffffff;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.check svg { opacity: 0; transform: scale(0.4); transition: all 0.25s cubic-bezier(0.3, 1.4, 0.5, 1); }

.option-card.is-selected .check {
  background: var(--accent);
  border-color: transparent;
}

.option-card.is-selected .check svg { opacity: 1; transform: scale(1); color: var(--accent-dark); }

/* ---------- Kontakt-Formular ---------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-grid .full { grid-column: 1 / -1; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235f6a72' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  cursor: pointer;
}

.field select option { background: #ffffff; color: var(--text); }

.field textarea {
  resize: vertical;
  min-height: 92px;
  line-height: 1.5;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(47, 217, 192, 0.18);
  background: #ffffff;
}

/* Kochbetrieb-Paket: Geräteauswahl */

.koch-panel {
  margin: 2px 0 12px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: 14px;
}

.koch-panel.is-hidden { display: none; }

.koch-panel-title { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.koch-panel-title span { font-weight: 400; color: var(--text-faint); }

.koch-geraete {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.koch-geraet {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.koch-geraet:hover { border-color: var(--accent-strong); }
.koch-geraet.is-checked {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(47, 217, 192, 0.15);
}
.koch-geraet input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-strong);
  flex: 0 0 auto;
  cursor: pointer;
}

.koch-sonstige { margin-top: 10px; }
.koch-sonstige input {
  width: 100%;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.koch-sonstige input::placeholder { color: var(--text-faint); }
.koch-sonstige input:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(47, 217, 192, 0.18);
}

.koch-hint { margin-top: 10px; font-size: 13px; font-weight: 500; color: #c0392b; }

@media (max-width: 520px) {
  .koch-geraete { grid-template-columns: 1fr; }
}

/* Zusammenfassung */

.summary {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  padding: 18px;
  font-size: 13.5px;
}

.summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
}

.summary-head .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.summary-head .model {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 0;
  color: var(--text-dim);
}

.summary-row b { color: var(--text); font-weight: 600; text-align: right; }

.summary-note {
  font-size: 12px;
  font-style: italic;
  color: var(--text-faint);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.summary-extra {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  color: var(--text-dim);
  font-size: 13px;
}

.summary-extra span:last-child { color: var(--text); font-weight: 600; white-space: nowrap; }

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--border-strong);
  margin-top: 12px;
  padding-top: 12px;
}

.summary-total .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.summary-total .value {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-strong);
  font-variant-numeric: tabular-nums;
}

.summary-footnote {
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 8px;
}

/* ---------- Panel Footer ---------- */

.panel-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  margin-top: 22px;
  padding-top: 18px;
}

.panel-footer-spacer { flex: 1; }

/* ---------- Vorschau (rechts) ---------- */

.preview {
  position: sticky;
  top: 96px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--dark);
  color: var(--text-inverse);
  border-bottom: 1px solid var(--border);
  padding: 16px 22px;
}

.preview-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(47, 217, 192, 0.9);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.preview-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.preview-stage {
  min-height: 560px;
  display: grid;
  place-items: center;
  position: relative;
  padding: 40px;
  background-color: var(--bg-soft);
  background-image: radial-gradient(rgba(17, 18, 20, 0.07) 1px, transparent 1.5px);
  background-size: 26px 26px;
}

.preview-empty {
  text-align: center;
  color: var(--text-faint);
  font-size: 15px;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 46px 60px;
  background: #ffffff;
}

.preview-photo {
  width: 100%;
  display: grid;
  place-items: center;
  position: relative;
}

.photo-wrap {
  position: relative;
  width: min(100%, 760px);
}

.preview-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: 0 24px 56px -12px rgba(17, 18, 20, 0.28), 0 4px 14px rgba(17, 18, 20, 0.1);
}

/* Farb-Kachel oben rechts: zeigt die gewählte RAL-Farbe an,
   solange kein eigenes Farb-Rendering vorliegt */
.preview-color-tile {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 13px;
  box-shadow: 0 6px 18px -4px rgba(17, 18, 20, 0.18);
  animation: tileIn 0.25s ease;
}

@keyframes tileIn {
  from { opacity: 0; transform: translateY(-6px); }
}

.tile-swatch {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.tile-label {
  display: flex;
  flex-direction: column;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--text-dim);
}

.tile-label b {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}

.preview-chips {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: calc(100% - 32px);
}

.preview-chip {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: rgba(17, 18, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 12px;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(17, 18, 20, 0.3);
}

.preview-photo.pop img { animation: popIn 0.55s cubic-bezier(0.25, 1.3, 0.4, 1); }

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.96) translateY(8px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---------- Footer (dunkel, wie Website) ---------- */

.site-footer {
  background: var(--dark);
  color: var(--text-inverse-dim);
  border-top: none;
  padding: 44px 28px 54px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.brand-footer { opacity: 0.95; color: var(--text-inverse); }

.footer-note {
  flex: 1;
  min-width: 240px;
  font-size: 12.5px;
  color: var(--text-inverse-dim);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-inverse-dim);
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--accent); }

/* ---------- Modal & Confetti ---------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(17, 18, 20, 0.55);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
  padding: 24px;
}

@keyframes fadeIn { from { opacity: 0; } }

.modal {
  max-width: 460px;
  padding: 38px 34px;
  text-align: center;
  animation: modalIn 0.5s cubic-bezier(0.25, 1.3, 0.4, 1);
  box-shadow: var(--shadow-lg);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.85) translateY(24px); }
}

.modal-icon {
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-dark);
  box-shadow: 0 10px 36px -8px rgba(23, 184, 162, 0.6);
}

.modal h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal p {
  font-size: 14.5px;
  color: var(--text-dim);
  margin-bottom: 26px;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

#confetti {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .hero { text-align: center; padding-top: 100px; }
  .hero-badges, .hero-cta-row { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .configurator-grid { grid-template-columns: 1fr; }
  .preview { position: static; order: -1; }
  .preview-stage { min-height: 380px; }
  .panel { min-height: 0; }
}

@media (max-width: 560px) {
  .header-inner { padding: 12px 18px; }
  .brand-logo { width: 34px; height: 24px; }
  .brand-name { font-size: 16px; }
  .configurator-section { padding: 24px 14px 80px; }
  .panel { padding: 16px; }
  .tab { font-size: 11.5px; padding: 8px 2px; }
  .form-grid { grid-template-columns: 1fr; }
  .preview-stage { padding: 20px; min-height: 300px; }
  .preview-empty { padding: 30px 22px; }
  .ral-custom-row { flex-wrap: wrap; }
  .ral-custom-row .btn-sm { flex: 1 1 100%; padding: 11px 18px; }
}

/* Screenshot-/Testmodus (?shot=1): Hero & Footer ausblenden, Reveals sofort zeigen */
.shot-mode .hero,
.shot-mode .site-footer { display: none; }
.shot-mode .reveal { opacity: 1; transform: none; transition: none; }
.shot-mode .configurator-section { padding-top: 100px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
}
