/* =========================================================
   LocalCrypta Styles v2 — mobile-first, light, smooth
   Datei: styles.css
   (passt zu deinem index.html + java.js)
========================================================= */

/* ---------- Reset & Tokens ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;text-size-adjust:100%}
body{
  margin:0;
  font:15px/1.6 ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;
  color:#0f172a;
  background:#faf9f6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}

:root{
  --wrap:1120px;
  --gap:14px;

  --paper:#ffffff;
  --bg:#faf9f6;
  --beige:#f3efe8;

  --text:#0f172a;
  --muted:#51525c;
  --line:#e7e3db;

  --brand:  #0ea5e9;   /* Primär: hellblau */
  --brand-hover:#0284c7; /* dunkleres Blau */
  --brand2: #6366f1;   /* Sekundär: violett-blau */
  --brand2-hover:#4f46e5;
  --brand-light:#e0f2fe; /* sanfter Hintergrund */

  --radius:16px;
  --radius-sm:10px;

  --shadow-s:0 6px 18px rgba(17,23,42,.05);
  --shadow: 0 10px 24px rgba(17,23,42,.06);

  --ring:0 0 0 3px rgba(14,165,233,.25);
}

/* Container */
.wrap{max-width:var(--wrap);margin:auto;padding:0 16px}

/* Utils */
.hidden{display:none!important}
.muted{color:var(--muted)}

/* Focus sichtbar */
:where(a,button,input,select,textarea):focus-visible{
  outline:none;box-shadow:var(--ring);border-radius:var(--radius-sm)
}

/* ---------- Header ---------- */
header {
  position: relative; /* bleibt oben im Layout, scrollt NICHT mit */
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

header .wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}

header .grid-2 {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center; /* zentriert vertikal */
  gap: 30px;
}

/* Desktop groß */
header .logo img {
  height: 160px;
  display: block;
}

/* Laptops / kleinere Screens */
@media (max-width: 1200px) {
  header .logo img {
    height: 130px;
  }
}

/* Tablets */
@media (max-width: 900px) {
  header .logo img {
    height: 110px;
  }
}

/* Smartphones */
@media (max-width: 600px) {
  header .logo img {
    height: 85px;
  }
}

/* Kleine Smartphones (iPhone SE etc.) */
@media (max-width: 420px) {
  header .logo img {
    height: 70px;
  }
}


/* Navigation */
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center; /* Schrift mittig */
}

header nav a {
  font-weight: 600;
  font-size: 16px;
  color: #1f2937;
  opacity: 0.9;
  letter-spacing: 0.4px;
  text-align: center;
  transition: all 0.2s ease;
}

header nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Mobile kleiner machen */
@media (max-width: 768px) {
  header .grid-2 {
    grid-template-columns: auto 1fr;
  }

  header nav {
    gap: 16px;
  }

  header .logo img {
    height: 58px;
  }
}

/* ---------- Hero / Modus ---------- */
.hero{
  background: linear-gradient(180deg, var(--beige) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  padding: 28px 0 32px;
  text-align: center;
}

.hero h1{
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.hero p{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

/* Select-Bereiche */
.hero-controls{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#modeSelect,
#qtySelect{
  font: inherit;
  height: 38px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: all .2s ease;
}

#modeSelect:hover,
#qtySelect:hover{
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,0,0,.05);
}

/* Preiszeile */
.hero-pricebar{
  margin-top: 16px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.hero-pricebar span{
  color: var(--text);
  font-size: 22px;
}

.hero-pricebar .btn.primary{
  padding: 10px 22px;
  font-size: 16px;
  border-radius: 12px;
}


/* ---------- Buttons ---------- */
.btn {
  appearance: none;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition:
    background .2s ease,
    color .2s ease,
    transform .08s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

.btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: var(--shadow-s);
}

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

/* ---------- Primary Button (z. B. „Bestellen“) ---------- */
.btn.primary {
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(14,165,233,.25);
  transition:
    background .2s ease,
    transform .1s ease,
    box-shadow .2s ease;
}

.btn.primary:hover {
  background: linear-gradient(90deg, var(--brand-hover), var(--brand2-hover));
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(14,165,233,.35);
}

.btn.primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(14,165,233,.25);
}


/* ---------- Sections / Cards ---------- */
section{padding:28px 0}
.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow);
  padding:16px
}
h2{margin:0 0 10px;font-size:20px}

/* ---------- Grid Basics ---------- */
.grid-2{display:grid;grid-template-columns:1fr;gap:var(--gap)}
@media (min-width:920px){ .grid-2{grid-template-columns:1fr 1fr} }

/* ---------- Editor ---------- */
#section-editor .card{padding:14px}

/* Inputs */
#section-editor input[type="text"],
#section-editor input[type="email"],
#section-editor input[type="number"],
#section-editor select{
  width:100%;height:38px;line-height:1;
  font:inherit;color:var(--text);
  padding:8px 10px;border:1px solid var(--line);
  border-radius:var(--radius-sm);background:#fff;outline:none
}
#section-editor input[type="color"]{
  height:38px;padding:2px 4px;border-radius:var(--radius-sm);
  border:1px solid var(--line);background:#fff
}
#section-editor input[type="range"]{width:100%}

/* Toolgruppen */
#section-editor aside .btn{margin-bottom:0}
#section-editor aside .btn + .btn{margin-left:6px}
#section-editor aside label{font-weight:600;color:#26262b}

/* Tabs */
.tabs{display:flex;gap:8px;flex-wrap:wrap}
.tab{
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  padding:8px 12px;background:#fff;
  font-weight:700;cursor:pointer;
  transition:box-shadow .2s ease,border-color .2s ease
}
.tab.is-active{border-color:#7cc7f1;box-shadow:var(--ring)}

/* Canvas */
.canvas-area{
  position:relative;display:flex;justify-content:center;align-items:flex-start;width:100%
}
#preview-area{
  position:relative;width:540px;height:345px;background:#fff;border-radius:12px;
  box-shadow:0 8px 24px rgba(0,0,0,.08);transform-origin:top left
}
.card-preview{position:absolute;inset:0;border-radius:12px;overflow:hidden}
.card-node{position:absolute}
.card-node.selected{
  outline:2px dashed rgba(14,165,233,.95);outline-offset:2px;border-radius:6px
}

/* Templates unter Vorschau */
#templates-grid{
  display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:8px
}
#templates-grid .tpl-card{
  border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:10px 12px;background:#fff;font-weight:700;cursor:pointer;
  transition:box-shadow .2s ease,border-color .2s ease
}
#templates-grid .tpl-card:hover{box-shadow:var(--shadow-s)}

/* ---------- Preis/Tiers ---------- */
#tier-buttons{display:flex;gap:8px;flex-wrap:wrap}
.tier-btn{
  border:1px solid var(--line);background:#fff;border-radius:999px;
  padding:8px 12px;font-weight:700;cursor:pointer;
  transition:border-color .2s ease, box-shadow .2s ease
}
.tier-btn.active{border-color:var(--brand);box-shadow:var(--ring)}

/* Order Summary */
#order-summary .order-summary-card{
  margin-top:10px;border:1px dashed var(--line);border-radius:12px;padding:10px;background:#fff
}
#order-summary .order-row{
  display:flex;justify-content:space-between;padding:4px 0;color:#2a2a31
}
#order-summary strong{font-weight:800}

/* ---------- Papier-Section Buttons ---------- */
#btnSeeDesigns,#btnUploadDesign{min-width:160px}

/* ---------- Footer ---------- */
.footer {
  background: transparent;
  border: none;
  position: relative;
  z-index: 1;
  padding: 0 0 70px;
}

/* Weißer Kasten – volle Breite wie .card */
.footer-trust {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 20px;        /* gleiches Innenmaß wie .card */
  margin: 20px 0 0;          /* gleicher Außenabstand */
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  width: 100%;               /* volle Breite innerhalb .wrap */
  box-sizing: border-box;    /* saubere Breitenberechnung */
}

.footer-trust h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

.footer-trust ul {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.5;
  font-size: 14px;
  color: var(--muted);
}

/* Sicherheitsabstand unten (fixierter Button) */
.footer::after {
  content: "";
  display: block;
  height: 20px;
}




/* ---------- Desktop Verfeinerung ---------- */
@media (min-width:920px){
  body{font-size:16px}
  .hero h1{font-size:24px}
  h2{font-size:22px}
  #templates-grid{grid-template-columns:repeat(3,minmax(140px,1fr))}
  section{padding:36px 0}
  .card{padding:18px}
}

/* ---------- Motion Preferences ---------- */
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}
}

/* ---------- Touch ---------- */
button,select,input{touch-action:manipulation}
/* =========================================================
   LocalCrypta Mobile UX Enhancements
   ========================================================= */

/* Fortschrittsleiste */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: #e2e8f0;
  z-index: 9998;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg,#0ea5e9,#6366f1);
  transition: width .2s;
}

/* Sticky Preview */
.sticky-preview {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  z-index: 50;
}
.sticky-preview canvas {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

/* Mobile Tabs */
.mobile-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}
.mobile-tabs button {
  flex: 1 1 auto;
  padding: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 8px;
}
.mobile-tabs button.is-active {
  background: #0ea5e9;
  color: #fff;
}

/* Bottom Navigation */
.mnav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  height: 60px;
  z-index: 9999;
}
.mnav__btn {
  flex: 1;
  border: none;
  background: none;
  text-align: center;
  font-size: 14px;
  color: #64748b;
}
.mnav__btn span {
  display: block;
  font-size: 12px;
}
.mnav__btn.is-active,
.mnav__btn:hover { color: #0ea5e9; }
.mnav__btn--cta {
  background: #0ea5e9;
  color: #fff;
  border-radius: 10px;
  margin: 4px;
}

/* Bottom Sheet */
.bottom-sheet {
  width: 100%;
  max-height: 80%;
  border: none;
  border-radius: 16px 16px 0 0;
  padding: 0;
  margin: 0;
  animation: slideUp .25s ease;
}
.bottom-sheet::backdrop {
  background: rgba(0,0,0,0.4);
}
.bottom-sheet header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.sheet-content {
  padding: 16px;
  overflow-y: auto;
  max-height: calc(80vh - 56px);
}
.close-sheet {
  background: none;
  border: none;
  font-size: 22px;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* Floating Action Button */
.fab {
  position: fixed;
  bottom: 80px;
  right: 16px;
  width: 56px;
  height: 56px;
  background: #0ea5e9;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 9998;
}
.fab-menu {
  position: fixed;
  bottom: 140px;
  right: 16px;
  display: none;
  flex-direction: column;
  gap: 6px;
}
.fab-menu.open { display: flex; }
.fab-menu button {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Responsive Anpassung */
@media (max-width: 768px) {
  aside.card { display: none; }
  .grid-2 { display: block; }
  #section-editor { padding-bottom: 100px; }
}
/* =========================================================
   Compact Print Options – clean, responsive look
   ========================================================= */
.print-options-compact {
  background: var(--card, #fff);
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 16px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.print-options-compact h4 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: var(--fg, #0f172a);
  text-align: left;
}

.print-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.print-row label {
  flex: 1;
  font-weight: 600;
  color: var(--fg, #0f172a);
  font-size: 0.95rem;
}

.print-row select {
  flex: 2;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--line, #e2e8f0);
  background: #f8fafc;
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.print-row select:focus {
  border-color: var(--brand, #0ea5e9);
  background: #fff;
}

.print-row select:hover {
  background: #fff;
}

.print-options-compact .disclaimer {
  font-size: 0.8rem;
  color: var(--muted, #475569);
  margin-top: 8px;
  text-align: right;
}
/* =========================================================
   Mobile Editor — Clean Layout (≤768px)
   Ziel:
   - 1-Spalten-Editor
   - Desktop-Tools weg, mobile Toolnav + Bottom-Sheet aktiv
   - klare Z-Index-Reihenfolge
   - keine transform-Scale auf der Stage
   - Höhe per JS berechenbar (keine !important-Kollisionen)
========================================================= */

/* ---------- Basics & Preview ---------- */
.hidden { display: none !important; }

#preview-area{
  width: min(540px, 92vw);
  aspect-ratio: 540 / 345;
  height: auto;
}

/* Behutsam: nichts „abschneiden“ in den Containern der Stage */
#section-editor .card,
.canvas-area,
#preview-area { overflow: visible; }

/* Sehr schmale Geräte: horizontales Ausweichen erlauben */
@media (max-width: 480px){
  .card{ overflow-x: auto; }
}

/* ---------- MOBILE CORE ---------- */
@media (max-width: 768px){

  /* 1) Layout auf 1 Spalte stellen */
  .grid-2{
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap, 14px);
  }

  /* 2) Desktop-Tools ausblenden */
  #section-editor aside.card,
  #section-editor aside.tools-desktop{
    display: none !important;
  }

  /* 3) Höhen-Variablen + Unterkante abpolstern */
  :root{
    /* Fallbacks – werden idealerweise per JS exakt gesetzt */
    --mnav-h: 60px;
    --toolnav-h: 52px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --bottom-pad: calc(var(--mnav-h) + var(--toolnav-h) + 16px + var(--safe-bottom));
  }
  body{ padding-bottom: var(--bottom-pad); }
  #section-editor{ padding-bottom: var(--bottom-pad); }

  /* 4) Mobile Bottom Navigation (deine Hauptnav unten) */
  .mnav{
    position: fixed;
    left: 0; right: 0; bottom: var(--safe-bottom);
    height: var(--mnav-h);
    display: flex; align-items: center; justify-content: space-around;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    z-index: 200; /* unter Toolnav & Sheet */
  }

  /* 5) Tool-Leiste (horizontal scrollbar), liegt über mnav */
  .toolnav{
    position: fixed;
    left: 0; right: 0;
    bottom: calc(var(--mnav-h) + var(--safe-bottom));
    display: flex; gap: 8px; padding: 8px 12px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(6px);
    border-top: 1px solid #e5e7eb;
    z-index: 300;

    overflow-x: auto; overflow-y: hidden;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x; overscroll-behavior-x: contain;
  }
  .toolnav::-webkit-scrollbar{ display: none; }

  .toolnav__btn{
    flex: 0 0 auto;
    min-width: 160px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 12px;
    border-radius: 12px; border: 1px solid #e5e7eb; background: #fff;
    font-size: 14px; line-height: 1.2; white-space: nowrap;
  }

  /* 6) Bottom-Sheet (Werkzeugpanel) – liegt über Toolnav */
  .sheet{
    position: fixed; left: 0; right: 0;
    bottom: calc(var(--mnav-h) + var(--toolnav-h) + var(--safe-bottom));
    /* Basiswerte – JS darf diese OHNE !important überschreiben */
    height: 40vh; max-height: 75vh;
    transform: translateY(100%); /* geschlossen */
    background: #fff;
    border-top-left-radius: 16px; border-top-right-radius: 16px;
    box-shadow: 0 -10px 30px rgba(0,0,0,.12);
    transition: transform .28s ease;
    z-index: 400;
  }
  .sheet[data-state="open"]{ transform: translateY(0); }
  .sheet[aria-hidden="true"]{ visibility: hidden; pointer-events: none; }

  .sheet__head{
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff; color: #0f172a;
    border-top-left-radius: 16px; border-top-right-radius: 16px;
  }
  .sheet__grab{ width: 36px; height: 4px; border-radius: 999px; background:#e5e7eb; margin: 0 4px; }
  .sheet__labels{ flex: 1; min-width: 0; }
  .sheet__title{ margin: 0; font-size: 16px; }
  .sheet__close{
    appearance: none; border: 0; background: transparent; color: #0f172a;
    font-size: 20px; padding: 6px;
  }

  /* Body-Höhe des Sheets: Basis – JS kann neu setzen */
  .sheet__body{
    height: calc(30vh - 52px); /* 52px ≈ Kopf */
    overflow: auto; padding: 12px 14px 18px;
    -webkit-overflow-scrolling: touch;
  }

  /* Panels/Details */
  .sheet__panel[hidden]{ display: none !important; }
  details{
    border: 1px solid #e5e7eb; border-radius: 12px;
    padding: 8px 10px; margin-bottom: 10px; background: #fff;
  }
  details>summary{
    cursor: pointer; font-weight: 600; list-style: none;
  }
  details>summary::-webkit-details-marker{ display: none; }

  /* Header über der Stage darf umbrechen */
  .card > div[style*="justify-content:space-between"]{
    display: flex; flex-wrap: wrap; gap: 8px;
  }
  .tabs{ flex-wrap: wrap; }

  /* Stage/Tools Wrapper horizontales Wischen */
  .editor-scroller{
    display: grid;
    grid-auto-flow: column;
    gap: var(--gap, 12px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .canvas-actions{
    overflow-x: auto;
    white-space: nowrap;
  }
}
@media (max-width:768px){
  .sheet__body{
    background:#fff;              /* ✅ verhindert Durchscheinen */
    height: calc(30vh - 52px);
    overflow:auto;
    padding:12px 14px 18px;
    -webkit-overflow-scrolling:touch;
  }
  .sheet__head{ background:#fff } /* sicherheitshalber */
  details{ background:#fff }      /* deine Dropdown-Boxen im Sheet */
}

/* ---------- DESKTOP (≥769px): Mobile-UI aus, Desktop-Tools an ---------- */
@media (min-width: 769px){
  .toolnav, .sheet{ display: none !important; }
  .tools-desktop{ display: block !important; }
}

/* ---------- Stage & Items (geräteunabhängig, minimal) ---------- */
.card-preview{
  position: relative;              /* Bezug für absolute Kinder */
  width: var(--card-w, 320px);
  aspect-ratio: 85.6 / 54;        /* EC-Kartenformat */
  background: #fff;
  border: 1px solid #e5e7eb;
  overflow: hidden;                /* Karte clippt ihre Inhalte */
}

.text-item{
  position: absolute;
  display: inline-block;     /* ✅ nur so breit wie der Text */
  width: max-content;        /* ✅ passt sich Textinhalt an */
  line-height: 1.2;
  user-select: text;
  z-index: 2;
  white-space: pre;          /* kein automatischer Zeilenumbruch */
  background: transparent;   /* falls nötig */
  border: 0;
  margin: 0;
  padding: 0;
  box-sizing: content-box;   /* verhindert “Breite + Padding” Effekt */
}

/* ==== Preview: echte Visitenkartenmaße ==== */

/* Wrapper */
#preview-area {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  display: inline-block !important;
}

/* ==== Preview-Karte mit Tiefenwirkung ==== */
.card-preview {
  position: relative !important;
  inset: auto !important;
  width: 85mm !important;
  height: 55mm !important;
  background: var(--paper);
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

/* Hover-Effekt – Desktop only */
@media (hover: hover) {
  .card-preview:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  }
}

/* Aktiv-Zustand (per JS setzbar) */
.card-preview.active {
  box-shadow:
    0 0 0 4px var(--brand-light),
    0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}


/* Zentriert in der Bühne */
.canvas-area {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .toolnav button,
  .toolnav .btn {
    font-size: 12px !important;
    padding: 8px 8px !important;
  }
}
/* ===== Mobile: alles im Editor mittig ausrichten & Einzüge neutralisieren ===== */
@media (max-width: 768px){

  /* Wrapper & Karte wirklich zentrieren */
  #section-editor .card,
  #section-editor .stage,
  #section-editor .preview-area,
  #section-editor .preview-wrapper,
  .card-preview{
    margin-left: auto !important;
    margin-right: auto !important;
    left: auto !important;          /* falls irgendwo left benutzt wurde */
  }

  /* Seiten-Tabs + Action-Buttons (Vorderseite/Rückseite/PNG/Weiter…) */
  #section-editor .tabs,
  #section-editor .canvas-actions,
  #section-editor .top-actions{
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Verhindert “Schubser” durch zu große Innenabstände im Grid/Card */
  .editor-scroller,
  #section-editor .card{
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Buttons kompakter (hilft “Weiter zur Bestellung”) */
  #section-editor .btn{
    white-space: nowrap;
    padding: 6px 10px;
    font-size: clamp(11px, 2.8vw, 14px);
  }
}
/* ===== Utilities ===== */
.hidden{ display:none !important; }

/* ===== Layout-Wrapper ===== */
.wrap{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== Typo (leicht responsiv) ===== */
h1{ font-size: clamp(22px, 2.4vw, 34px); margin: 8px 0 6px; }
h3{ font-size: clamp(18px, 2vw, 24px);  margin: 16px 0 8px; }
h4{ font-size: clamp(16px, 1.6vw, 20px); margin: 14px 0 8px; }
p { font-size: clamp(14px, 1.4vw, 16px); color:#444; }

/* =========================================================
   Formular – modern, responsiv, sanfte Effekte
   Ersetzt: .digital-options, .form-row, Inputs
   Nutzt vorhandene Tokens, falls definiert
========================================================= */

/* ---------- Card / Container ---------- */
.digital-options{
  --card-bg: var(--paper, #fff);
  --card-br: var(--radius, 12px);
  --card-bc: color-mix(in srgb, var(--line, #e5e7eb) 85%, transparent);
  --card-shadow: 0 2px 6px rgba(0,0,0,.05);

  background: var(--card-bg);
  border: 1px solid var(--card-bc);
  border-radius: var(--card-br);
  padding: clamp(14px, 2vw, 20px);
  margin: 14px 0 24px;
  box-shadow: var(--card-shadow);
}

/* ---------- Rows & Layout ---------- */
.form-row{
  --label-w: 180px;
  --gap: var(--gap, 14px);

  display: grid;
  grid-template-columns: minmax(120px, var(--label-w)) 1fr;
  align-items: center;
  gap: 10px var(--gap);
  margin-bottom: 12px;
}

@media (max-width: 640px){
  .form-row{
    grid-template-columns: 1fr;
  }
  .form-row label{
    margin-bottom: 4px;
  }
}

/* Variante: mehrere Felder in einer Zeile (z.B. Socials) */
.form-row.row-inline{
  grid-template-columns: minmax(120px, var(--label-w)) 1fr;
}
.form-row.row-inline > .inputs{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}

/* ---------- Labels ---------- */
.form-row label{
  font-weight: 600;
  color: var(--text, #111827);
  font-size: 14px;
}

/* ---------- Inputs (Text, Email, Tel, URL, Select, Textarea) ---------- */
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="url"],
.form-row input[type="password"],
.form-row select,
.form-row textarea{
  --h: 42px;
  --bd: #d1d5db;
  --bd-focus: var(--brand, #3b82f6);
  --ring: color-mix(in srgb, var(--brand, #3b82f6) 30%, transparent);

  width: 100%;
  min-height: var(--h);
  padding: 10px 12px;
  font-size: 15px;
  color: var(--text, #0f172a);
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 10px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,.03) inset;
}

.form-row textarea{
  min-height: 96px;
  resize: vertical;
}

.form-row input:hover,
.form-row select:hover,
.form-row textarea:hover{
  border-color: color-mix(in srgb, var(--bd) 60%, var(--brand, #3b82f6) 40%);
}

.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible{
  border-color: var(--bd-focus);
  box-shadow: 0 0 0 3px var(--ring);
}

/* Placeholder dezenter */
.form-row ::placeholder{
  color: color-mix(in srgb, var(--text, #0f172a) 40%, transparent);
  opacity: .7;
}

/* ---------- Validierung ---------- */
.is-error input,
.is-error select,
.is-error textarea,
.form-row input:invalid,
.form-row select:invalid,
.form-row textarea:invalid{
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.15);
}

.is-success input,
.is-success select,
.is-success textarea{
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,.15);
}

.field-hint{
  font-size: 12px;
  color: var(--muted, #6b7280);
  margin-top: 6px;
}
.is-error .field-hint{ color:#ef4444; }

/* ---------- Inputs mit Icon (optional) ----------
Markup:
  <div class="input-icon">
    <svg><!-- icon --></svg>
    <input ...>
  </div>
*/
.input-icon{ position: relative; }
.input-icon > svg{
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  pointer-events: none;
  opacity: .55;
}
.input-icon > input,
.input-icon > select{
  padding-left: 36px;
}

/* ---------- Floating Label (optional) ----------
Markup:
  <div class="field fl">
    <input id="x" placeholder=" " />
    <label for="x">Label</label>
  </div>
Nur nutzen, wenn Input VOR Label steht und placeholder=" " gesetzt ist.
*/
.field.fl{
  position: relative;
}
.field.fl > input,
.field.fl > textarea,
.field.fl > select{
  padding-top: 18px; /* Platz für Label */
}
.field.fl > label{
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 0 6px;
  color: var(--muted, #6b7280);
  font-weight: 500;
  font-size: 13px;
  pointer-events: none;
  transition: all .15s ease;
}
.field.fl > :is(input,textarea,select):focus + label,
.field.fl > :is(input,textarea,select):not(:placeholder-shown) + label{
  top: 6px;
  transform: none;
  font-size: 12px;
  color: var(--brand, #3b82f6);
}

/* ---------- Kleinere Details ---------- */
.form-row .help-inline{
  justify-self: end;
  font-size: 12px;
  color: var(--muted, #6b7280);
}
.form-row .addon{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Reduzierte Motion für Nutzerpräferenz ---------- */
@media (prefers-reduced-motion: reduce){
  .digital-options,
  .form-row *{
    transition: none !important;
    animation: none !important;
  }
}

/* ===== Mobile-Anpassungen ===== */
@media (max-width: 768px){
  .form-row{
    grid-template-columns: 1fr;   /* Label über dem Input */
  }
  .form-row label{
    margin-bottom: 4px;
  }
  .digital-options{
    padding: 14px;
    border-radius: 10px;
  }
}

/* ========== Mobile: Bereich unter der Karte kompakter ========== */
@media (max-width: 768px){
  #section-editor .card{
    margin-bottom: 6px; /* kleinerer Abstand unter der Box */
  }
  #section-editor{
    padding-bottom: 6px; /* engerer Abschluss */
  }
  #section-editor + section{
    padding-top: 8px; /* nächster Abschnitt rückt näher ran */
  }
}
.hidden { display: none !important; }
/* ========= Bewertungen ========= */
.reviews-card{ padding: 18px }
.reviews-head h2{ margin:0 0 6px; font-size: clamp(20px,4vw,26px) }
.reviews-head .muted{ margin:0 0 8px }

.reviews-track{
  display:grid;
  grid-auto-flow: column;
  grid-auto-columns: min(82%, 340px);
  gap: var(--gap,14px);
  overflow-x: auto;
  padding: 6px 2px 2px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.reviews-track::-webkit-scrollbar{ height: 8px }
.reviews-track::-webkit-scrollbar-thumb{ background:#0000001a; border-radius:8px }

.review{
  scroll-snap-align: start;
  background: var(--paper,#fff);
  border:1px solid var(--line,#e5e7eb);
  border-radius: 12px;
  padding:14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  display:flex; flex-direction:column; gap:8px;
}
.review .stars{ color:#f59e0b; letter-spacing:2px; font-size:18px; line-height:1 }
.review .text{ margin:0 }
.review .meta{ font-size: 13px }

.reviews-aggregate{
  margin-top:10px;
  font-size:14px;
}

/* Desktop: 3 Kacheln ohne Scrollen */
@media (min-width: 1024px){
  .reviews-track{
    grid-auto-flow: initial;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
  }
}

/* ========= FAQ (CSS-only Animation) ========= */
#section-faq .card{ padding: 18px }
#section-faq h2{ margin:0 0 10px; font-size: clamp(20px,4vw,26px) }

.faq{
  border:1px solid var(--line,#e5e7eb);
  border-radius:12px;
  background: var(--paper,#fff);
  margin:10px 0;
  overflow:hidden; /* clippt die animierte Höhe */
}

.faq > summary{
  list-style:none;
  cursor:pointer;
  padding:14px 16px;
  font-weight:600;
  position:relative;
  display:flex; align-items:center; gap:10px;
}
.faq > summary::-webkit-details-marker{ display:none }

/* Pfeil rechts */
.faq > summary::after{
  content:"";
  width: 18px; height: 18px;
  margin-left:auto;
  mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6 9l6 6 6-6" stroke="black" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / contain no-repeat;
  background: currentColor;
  transition: transform .25s ease;
  opacity:.85;
}
.faq[open] > summary::after{ transform: rotate(180deg) }

/* weiche Höhe */
.faq-content{
  padding: 0 16px 0;
  max-height: 0;
  transition: max-height .28s ease;
}
.faq[open] .faq-content{
  /* großzügige Obergrenze für die Animation */
  max-height: 320px;
  padding-bottom: 14px;
}
.faq-content p{ margin:10px 0 0; color: var(--muted,#51525c) }
.trust-banner {
  background: var(--beige);
  color: var(--text);
  text-align: center;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.intro-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: center;
}

.intro-block h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text);
}

.intro-block p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.hero {
  background: var(--beige);
  border-bottom: 1px solid var(--line);
  padding: 36px 0 42px;
  text-align: center;
}

.hero .wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.hero-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.hero-pricebar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
}

.hero-pricebar #priceDisplay {
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
}

.btn.primary {
  background: var(--brand, #2563eb);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease;
}

.btn.primary:hover { background: #1d4ed8; }

@media (max-width: 768px){
  .hero { padding: 26px 0 32px; }
  .hero-pricebar #priceDisplay { font-size: 18px; }
}
/* ===== MOBILE CLEAN: Modus & Menge oben (Hero) ===== */
.hero-controls{
  display: grid;
  grid-template-columns: auto 1fr auto;  /* Label | Modus | Menge */
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.hero-controls label{
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

#modeSelect,
#qtySelect{
  height: 36px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-weight: 600;
  font-size: 15px;
}

/* Bei sehr schmalen Screens untereinander stapeln */
@media (max-width: 380px){
  .hero-controls{
    grid-template-columns: 1fr 1fr;
  }
  .hero-controls label{
    grid-column: 1 / -1;
    margin-bottom: 2px;
  }
  #modeSelect, #qtySelect{
    width: 100%;
  }
}

/* Menge bei digitalem Modus ausblenden */
#qtySelect.hidden{ display: none !important; }
/* ===== kompaktere Toolnav-Buttons (Mobile) ===== */
.toolnav__btn{
  padding: 6px 8px;          /* weniger Innenabstand */
  border-radius: 8px;        /* kleinere Rundung */
  font-size: 13px;           /* etwas kleinere Schrift */
  gap: 6px;                  /* enger zwischen Icon & Text */
  min-width: 130px;          /* etwas schmaler */
}
/* === Fix: Text-Elemente richtig positionieren (Drag & Drop Randproblem) === */
.text-item {
  position: absolute !important;
  display: inline-block !important;
  width: max-content !important;
  line-height: 1.2;
  user-select: text;
  z-index: 2;
  white-space: pre !important;
  background: transparent !important;
  box-sizing: content-box !important;
  padding: 0 !important;
  margin: 0 !important;
}
.stage .card-preview { position: relative; }
[data-type="qr"], .item-qr {
  position: absolute;
  touch-action: none;
  user-select: none;
  cursor: grab;
  will-change: transform;
}
[data-type="qr"] * { pointer-events: none; } /* Kinder ignorieren Pointer, damit das Parent greift */
.dragging { cursor: grabbing; }
/* 🔴 Floating Delete Button oben rechts */
/* EINMAL definieren – OHNE zweite, überschreibende Regel */
.btn-del-float{
  position: fixed; /* !important unnötig, wenn du nicht woanders überschreibst */
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  right: calc(env(safe-area-inset-right, 0px) + 14px);
  z-index: 2147483647; /* ganz oben */
  background: #e53935;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
  pointer-events: auto;  /* falls Overlay pointer-events benutzt */
}
.btn-del-float:hover{ background:#d32f2f; transform: translateY(-1px); }
.btn-del-float:active{ transform: translateY(1px); }
.btn-del-float:disabled{ opacity:.5; cursor: default; }
/* Stage muss Anker sein */
.stage .card-preview { position: relative; }

/* QR-Wrapper: links/rechts oben-unten steuern, nicht transform */
[data-type="qr"], .item-qr {
  position: absolute;
  left: 0; top: 0;                /* sichere Defaults */
  transform: none !important;     /* transform komplett raus */
  will-change: left, top;         /* statt transform */
  touch-action: none;
  user-select: none;
  cursor: grab;
  z-index: 6;                     /* über Handles/Masken legen */
}

/* Kinder dürfen weiterhin klick-durchlässig sein, ok */
[data-type="qr"] * { pointer-events: none; }

.dragging { cursor: grabbing; }

/* Overlays/Guides dürfen den QR nicht blocken */
.selection-box,
.selection-mask,
.guides,
.guide-lines,
.lasso,
.marquee {
  pointer-events: none !important;
}
html {
  scroll-behavior: smooth;
}

/* ===== Bezugspunkt für die absolute Position (Editor) ===== */
.stage,
.live-editor,
.editor,
.card-preview,
#card-front,
#card-back {
  position: relative;
}

/* ===== Delete-Button oben rechts IM Editor ===== */
.btn-del-float {
  position: absolute !important;   /* überschreibt evtl. fixed */
  top: 10px;
  right: 10px;
  z-index: 1000;
  padding: 8px 12px;
  background: #e53935;
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  transition: background .2s, transform .2s;
}

.btn-del-float:hover {
  background: #c62828;
  transform: scale(1.03);
}

/* ===== Mobile kompakter ===== */
@media (max-width: 768px){
  .btn-del-float {
    top: 8px;
    right: 8px;
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 8px;
  }
}

/* Falls irgendwo noch eine alte fixe Variante existiert (Viewportscrolling) */
body > .btn-del-float {
  position: static !important;
  display: none !important;
}
/* === Live-Editor als Bezugspunkt (breit gefasst, falls Klassen variieren) === */
:where(.live-editor, .editor, .editor-grid, .editor-wrap, .stage, #card-front, #card-back,
section:has(.card-preview), section:has(.tools), section:has(.editor-tools)) {
  position: relative;
}

/* === Delete-Button fest oben rechts IM Editor === */
.btn-del-float[data-id="btn-del"] {
  position: absolute !important;   /* nicht mehr viewport-fixed */
  top: 10px;
  right: 10px;
  z-index: 1000;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  background: #e53935;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  transition: background .2s, transform .2s;
}

.btn-del-float[data-id="btn-del"]:hover { 
  background: #c62828; 
  transform: scale(1.03);
}

/* === Mobile kompakter === */
@media (max-width: 768px){
  .btn-del-float[data-id="btn-del"]{
    top: 8px;
    right: 8px;
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 8px;
  }
}

/* Falls irgendwo noch eine alte, viewport-feste Variante existiert: ausknipsen */
body > .btn-del-float[data-id="btn-del"] {
  position: static !important;
  display: none !important;
}
/* === 🌟 WOW & SMOOTH FINISH FOR LOCALCRYPTO EDITOR === */

/* Weiche Übergänge für alles, was interaktiv ist */
button, select, input, .btn, .mnav__btn {
  transition: all .25s ease;
}

/* sanfter Hover bei Buttons */
button:hover, .btn:hover, .mnav__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0,0,0,.15);
}

/* leichtes „Press“-Feedback beim Klicken */
button:active, .btn:active, .mnav__btn:active {
  transform: scale(0.97);
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

/* fließendes Ein-/Ausblenden für Dialoge, Sheets, Panels */
dialog[open], .sheet[data-state="open"], .sheet__body, .sheet-content {
  animation: fadeIn .35s ease both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Card-Preview: leichter Schweb-Effekt */
.card-preview {
  transition: transform .3s ease, box-shadow .3s ease;
}
.card-preview:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

/* Inputs & Selects glatter */
input, select, textarea {
  transition: border-color .25s, box-shadow .25s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brand, #2563eb);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}

/* Leichtes Scrollverhalten (smooth) */
html {
  scroll-behavior: smooth;
}

/* Delete-Button leicht reinfaden */
.btn-del-float {
  opacity: 0;
  animation: btnFloatIn .4s ease forwards;
}
@keyframes btnFloatIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Bottom-Nav smooth shadow beim Scroll */
.mnav {
  transition: box-shadow .3s ease;
}
body:has(main:focus-within) .mnav {
  box-shadow: 0 -4px 12px rgba(0,0,0,.12);
}
/* === HERO / EDITOR SMOOTH TRANSITION === */

/* Abschnitt über dem Editor: etwas kompakter */
.hero {
  padding: clamp(16px, 3vw, 36px) 0 12px;
}

/* Untertitel dezenter, damit der Editor sofort dominiert */
.hero p {
  font-size: 15px;
  opacity: 0.8;
  margin-bottom: 12px;
}

/* Editor leicht nach oben ziehen */
section:has(.live-editor),
.live-editor {
  margin-top: -8px; /* zieht ihn optisch näher ans Hero */
  transition: margin-top .4s ease, opacity .4s ease;
}

/* Schöner „Float-In“ Effekt beim Laden */
.live-editor {
  opacity: 0;
  animation: editorFadeIn .6s ease forwards .2s;
}
@keyframes editorFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Auf kleineren Bildschirmen den Editor minimal höher ziehen */
@media (max-width: 768px) {
  .hero {
    padding-top: 10px;
    padding-bottom: 4px;
  }
  .live-editor {
    margin-top: -12px;
  }
}
.lc-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  background: transparent; /* kein Weiß mehr */
  border-bottom: none;     /* keine Linie */
  width: 100%;
  pointer-events: none;    /* Header blockiert nix */
}

.lc-header .wrap {
  padding: 0; /* keine Höhe/Padding mehr */
}

.logo img {
  height: 42px;   /* Logo bleibt gleich */
  margin: 10px;   /* bisschen Abstand */
  pointer-events: auto; /* Logo bleibt anklickbar */
}

.header-spacer {
  display: none;
}
/* HERO BASE */
.hero {
  padding: 40px 0 20px;
  text-align: center;
}

.hero .wrap {
  max-width: 700px;
  margin: 0 auto;
}

/* Titel */
.hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

/* Subline */
.hero-sub {
  font-size: 18px;
  line-height: 1.45;
  margin-bottom: 25px;
  opacity: 0.85;
}

/* Controls */
.hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 15px;
}

.hero-controls label {
  margin-right: 6px;
  font-size: 16px;
}

/* Dropdowns */
.hero-controls select {
  padding: 10px 14px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}

/* Preisleiste */
.hero-pricebar {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

#priceDisplay {
  font-size: 22px;
  font-weight: 700;
}

/* MOBILE OPTIMIERUNG */
@media (max-width: 700px) {

  .hero {
    padding: 25px 0 10px;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 1.2;
  }

  .hero-sub {
    font-size: 16px;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .hero-controls {
    flex-direction: column;
    gap: 10px;
  }

  .hero-controls label {
    margin-bottom: 3px;
    font-size: 14px;
  }

  .hero-controls select {
    width: 95%;
    font-size: 16px;
  }

  .hero-pricebar {
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
  }

  #priceDisplay {
    font-size: 24px;
  }

  #buyBtn {
    width: 95%;
    font-size: 18px;
    padding: 14px;
  }
}
/* Promo-Banner */
.promo-showcase {
  width: 100%;
  margin: 40px auto;
  display: flex;
  justify-content: center;
}

.promo-showcase .wrap {
  width: 100%;
  max-width: 1400px;
  padding: 0 20px;
}

/* Bild-Container */
.promo-container {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
}

/* Banner-Bild – Mobile (perfekt wie jetzt) */
.promo-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 18px;
}

/* Desktop Version */
@media (min-width: 768px) {
  .promo-img {
    height: 380px;         /* >>> Desktop-Banner, Premium-Look */
    border-radius: 18px;
  }
}

@media (min-width: 1200px) {
  .promo-img {
    height: 420px;         /* >>> Für große Monitore schöner */
  }
}

