/* =========================================================
   store.intuitionorbit.de – style.css (final UI pack)
   - Base Store UI (Dark Glass)
   - Mobile Hamburger Menu + Panel
   - Scroll-Positionsanzeige (Progress Bar)
   - Schriftgrößen-Schalter (A-/A+ via html[data-font])
   - FAQ Accordion
   - Delivery badges (collision-free)
   - Shipping info box
   - About tags (collision-free)
   - Footer (single source of truth)
   - Tiers (3-stufen UI)
   - HERO Overlay (single implementation, duplicates removed)
========================================================= */

/* =========================
   TOKENS
========================= */
:root{
  --bg:#0b0d12;
  --panel:rgba(255,255,255,0.06);
  --panel2:rgba(255,255,255,0.08);
  --text:rgba(255,255,255,0.92);
  --muted:rgba(255,255,255,0.70);
  --faint:rgba(255,255,255,0.55);
  --line:rgba(255,255,255,0.12);
  --accent:#7cf7ff;
  --accent2:#a7ff7c;
  --shadow: 0 10px 40px rgba(0,0,0,0.35);
  --radius: 18px;
  --max: 1080px;

  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";

  /* Font scale system */
  --io-font-scale: 1;
}

/* =========================
   FONT SCALE (A-/A+)
========================= */
html{ font-size: calc(16px * var(--io-font-scale)); }

html[data-font="sm"]{ --io-font-scale: 0.92; }
html[data-font="md"]{ --io-font-scale: 1.00; }
html[data-font="lg"]{ --io-font-scale: 1.10; }
html[data-font="xl"]{ --io-font-scale: 1.22; }

/* =========================
   BASE
========================= */
*{box-sizing:border-box}

body{
  margin:0;
  font-family: var(--sans);
  background:
    radial-gradient(900px 500px at 18% 10%, rgba(124,247,255,0.12), transparent 55%),
    radial-gradient(900px 500px at 82% 30%, rgba(167,255,124,0.10), transparent 55%),
    radial-gradient(1200px 800px at 50% 110%, rgba(255,255,255,0.06), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height:1.5;
}

a{color:inherit}
.mono{font-family:var(--mono)}

/* Safe spacing / mobile comfort */
.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:22px 16px 56px;
}

/* =========================
   SCROLL PROGRESS BAR
========================= */
.scrollbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 9999;
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
}
.scrollbar__bar{
  height: 100%;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, rgba(124,247,255,0.9), rgba(167,255,124,0.85));
}

/* =========================
   HEADER / NAV
========================= */
.site-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;

  padding:14px 14px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);

  position: sticky;
  top: 10px;
  z-index: 50;
}

.brand{display:flex; flex-direction:column; gap:4px; min-width: 180px}
.brand strong{letter-spacing:0.3px}
.brand span{color:var(--muted); font-size:0.92rem}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px; padding:10px 14px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,0.05);
  text-decoration:none;
  font-weight:600;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}
.btn--accent{
  border-color: rgba(124,247,255,0.35);
  background: rgba(124,247,255,0.10);
}

/* Nav blocks */
.nav{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.nav--desktop{}

/* Header controls (font + burger) */
.head-controls{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* Small icon buttons */
.iconbtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  height: 38px;
  min-width: 44px;
  padding: 0 12px;

  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-weight: 850;
  letter-spacing: .2px;

  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.iconbtn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}

/* Hamburger */
.nav-toggle{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.burger{
  display:none; /* only on mobile */
  width: 46px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  cursor:pointer;

  align-items:center;
  justify-content:center;
  gap: 5px;
  padding: 0 12px;

  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.burger:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}
.burger span{
  display:block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.88);
  border-radius: 999px;
}

/* Mobile nav panel (hidden by default) */
.nav-panel{
  display:none;
  margin-top: 12px;

  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);

  overflow:hidden;
}
.nav-panel__inner{
  padding: 12px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.nav-panel__hint{
  margin-top: 4px;
  opacity: .75;
  font-size: 0.92rem;
}

/* Toggle panel when burger checked */
.nav-toggle:checked ~ .nav-panel{ display:block; }

/* Responsive: mobile menu behavior */
@media (max-width: 820px){
  .nav--desktop{ display:none; }
  .burger{ display:inline-flex; }
  .site-header{ gap: 10px; }
  .brand{ min-width: 0; }
}

/* =========================
   LAYOUT BLOCKS
========================= */
main{margin-top:18px}

.hero{
  margin-top:18px;
  padding:22px 18px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

h1{margin:0 0 8px; font-size: clamp(22px, 3.4vw, 34px); letter-spacing:0.2px}
.sub{color:var(--muted); margin:0 0 12px; font-size:0.98rem}

/* chips */
.chips{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}
.chip{
  font-family: var(--mono);
  font-size: 12px;
  padding:7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--faint);
  background: rgba(255,255,255,0.04);
  white-space: nowrap;
}

/* grid/cards */
.grid{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}
@media (max-width: 920px){ .grid{grid-template-columns: 1fr} }

.card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel2);
  box-shadow: var(--shadow);
  padding:16px;
  backdrop-filter: blur(10px);
}
.card h2{margin:0 0 6px; font-size:1.12rem}
.card p{margin:0 0 12px; color:var(--muted); font-size:0.92rem}

.row{display:flex; gap:10px; flex-wrap:wrap; align-items:center}

.price{
  display:flex; align-items:baseline; gap:10px;
  margin:10px 0 12px;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,0.18);
}
.price .eur{font-size:1.9rem; font-weight:800; letter-spacing:0.2px}
.price .meta{color:var(--muted); font-family:var(--mono); font-size:0.80rem}

.fine{
  margin-top:18px;
  padding:14px 16px;
  border-radius: var(--radius);
  border:1px dashed rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.16);
  color: var(--muted);
  font-size: 0.86rem;
}

/* small helpers */
.muted{opacity:.85}
.tiny{font-size: 0.92rem; opacity: .82}
.lead{font-size: 1.05rem}
.small{font-size: 0.92rem}
.center{text-align:center}
.wide{margin-top:18px}

/* Link style inside main content */
main a{
  text-decoration: none;
  border-bottom: 1px dashed rgba(125,231,255,0.55);
}
main a:hover{border-bottom-style: solid}

/* =========================
   FAQ – Accordion
========================= */
details.faq{
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 10px 0;
  transition: 0.2s ease;
}
details.faq summary{
  cursor: pointer;
  font-weight: 750;
  list-style: none;
  outline: none;
}
details.faq summary::-webkit-details-marker{display:none}
details.faq summary:after{
  content: "＋";
  float: right;
  opacity: .9;
  font-weight: 900;
}
details.faq[open] summary:after{content: "－"}
.faq-body{
  padding-top: 10px;
  line-height: 1.55;
  opacity: .95;
}

/* Mini row for help buttons */
.help-pill-row{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* =========================
   Lieferzeit-Badges (collision-free)
========================= */
.delivery-row{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.delivery-badge{
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 10px 12px;
  min-height: 56px;
}
.delivery-label{
  display:block;
  font-size: 0.88rem;
  opacity: .88;
  margin-bottom: 2px;
}
.delivery-text{
  display:block;
  font-weight: 850;
  letter-spacing: .2px;
}
@media (max-width: 820px){
  .delivery-row{grid-template-columns: repeat(2, minmax(0,1fr))}
}
@media (max-width: 520px){
  .delivery-row{grid-template-columns: 1fr}
}

/* =========================
   Versandkosten-Infobox
========================= */
.ship-info{
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.14);
}
.ship-info h3{
  margin: 0 0 10px 0;
  font-size: 1.02rem;
}
.ship-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ship-card{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  padding: 12px;
}
.ship-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.ship-sub{font-size: 0.90rem; opacity: .84}

@media (max-width: 820px){
  .ship-grid{grid-template-columns: 1fr}
}

/* =========================
   ABOUT – Tags (collision-free)
========================= */
.tag-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 14px;
}
.tag{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  color: rgba(255,255,255,0.82);
  font-weight: 750;
  font-size: 0.92rem;
}

/* nice lists */
.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.82);
}
.list li{margin: 6px 0}

/* CTA Row */
.cta-row{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 14px;
}

/* Support inline block */
.support-inline{
  margin-top: 10px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
}
.support-icon{
  width: 40px;
  height: 40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  flex: 0 0 auto;
}
.support-title{font-weight: 900; margin-bottom: 6px}
.support-mail{
  display:inline-block;
  font-weight: 900;
  font-size: 1.02rem;
  border-bottom: 1px dashed rgba(125,231,255,0.55);
  text-decoration:none;
}
.support-note{margin-top:6px}

/* =========================
   TIERS – 3-Stufen UI
========================= */
.tier-head{
  margin-top:18px;
  padding: 14px 4px 0;
}
.tier-head h2{
  margin:0 0 6px;
  font-size: 1.12rem;
}
.tier-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:6px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  font-weight: 850;
  font-size: 12px;
  margin-bottom: 10px;
}
.card-title{
  margin: 0 0 6px;
  font-size: 1.12rem;
}

/* =========================
   FOOTER (single source of truth)
========================= */
.footer{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:space-between;
  align-items:flex-end;
  color: rgba(255,255,255,0.62);
  font-size:12px;
  padding: 10px 2px 6px;
}

.footer-left,.footer-right{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:240px;
}

.footer-copy{opacity:.9}

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

.footer-links a,
.footer-support a{
  text-decoration:none;
  border-bottom: 1px dashed rgba(125,231,255,0.35);
  padding-bottom:2px;
}
.footer-links a:hover,
.footer-support a:hover{
  border-bottom-style: solid;
}

.footer-note{
  opacity:.78;
  line-height:1.35;
}

@media (max-width:700px){
  .footer{align-items:flex-start}
}

/* =========================
   MEDIA (Cards)
========================= */
.card-media{ margin: 10px 0 14px; }
.card-img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:16px;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  display:block;
}

/* Placeholder, falls Bild fehlt */
.img-ph{
  width:100%;
  border-radius:16px;
  border:1px dashed var(--line);
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--muted);
  text-align:center;
  padding:14px;
}
.img-ph--hero{ height:260px; border-radius:18px; }
.img-ph--card{ height:160px; }
.img-ph span{ font-weight:600; }

/* =========================================================
   HERO OVERLAY (single source of truth)
   - nutzt .hero-media--overlay + .hero-overlay + .hero-box
   - Doppelte/alte Regeln entfernt & konsolidiert
========================================================= */
.hero-media.hero-media--overlay{
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.22);
  box-shadow: var(--shadow);
}

/* Image */
.hero-media.hero-media--overlay .hero-img{
  width: 100%;
  height: clamp(280px, 46vw, 520px);
  object-fit: cover;
  display: block;
  filter: contrast(1.02) saturate(1.02);
}

/* Readability gradient */
.hero-gradient{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.12) 70%, rgba(0,0,0,0.00) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.12) 60%, rgba(0,0,0,0.00) 100%);
  pointer-events: none;
}

/* Subtle vignette */
.hero-media.hero-media--overlay::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: radial-gradient(
    ellipse at center,
    rgba(0,0,0,0.00) 35%,
    rgba(0,0,0,0.18) 65%,
    rgba(0,0,0,0.34) 100%
  );
  mix-blend-mode: multiply;
  opacity: 0.95;
}

/* Overlay container (bottom-right) */
.hero-overlay{
  position: absolute;
  right: 16px;
  bottom: 16px;
  max-width: min(560px, 92%);
  text-align: right;
  pointer-events: none;
}

/* Make actions clickable */
.hero-overlay .hero-actions,
.hero-overlay .hero-actions a{
  pointer-events: auto;
}

/* Panel */
.hero-box{
  background: linear-gradient(
    270deg,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.44) 45%,
    rgba(0,0,0,0.10) 75%,
    rgba(0,0,0,0.00) 100%
  );
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: clamp(14px, 2.3vw, 20px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* Text styles inside hero overlay */
.hero-kicker{
  display:inline-flex;
  gap: 10px;
  align-items:center;
  font-size: 0.95rem;
  opacity: 0.92;
  margin-bottom: 8px;
}

.hero-title{
  margin: 0 0 8px 0;
  line-height: 1.05;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
}

.hero-sub{
  margin: 0 0 10px 0;
  opacity: 0.92;
  color: rgba(255,255,255,0.86);
}

.hero-text{
  margin: 0 0 14px 0;
  opacity: 0.86;
  max-width: 60ch;
}

.hero-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 720px){
  .hero-media.hero-media--overlay .hero-img{
    height: clamp(360px, 84vw, 620px);
  }
  .hero-overlay{
    left: 16px;
    right: 16px;
    text-align: left;
  }
  .hero-actions{ justify-content: flex-start; }
}
/* --- Mobile Panel: smooth open/close --- */
.nav-panel{
  display:block;              /* wir animieren statt display:none */
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  overflow: hidden;
  transition: max-height .22s ease, opacity .18s ease, transform .18s ease;
  margin-top: 0;              /* wird beim open gesetzt */
}

.nav-toggle:checked ~ .nav-panel{
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 12px;
}
/* Hero Shot Label ("Shot 1/4") */
.hero-shot{
  display: inline-block;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.35);
  font-size: 12px;
  letter-spacing: 0.2px;
  opacity: 0.95;
}
/* Ghost Button (für “Nächstes Bild”) */
.btn--ghost{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
}

/* Smooth Image Swap */
.hero-img{
  transition: opacity 180ms ease;
}
/* Hero Shot Label ("Shot 1/4") */
.hero-shot{
  display: inline-block;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.35);
  font-size: 12px;
  letter-spacing: 0.2px;
  opacity: 0.95;
}

/* Ghost Button */
.btn--ghost{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
}

/* Smooth swap */
.hero-img{
  transition: opacity 180ms ease;
}
/* =========================
   Disabled tier cards (Coming Soon)
========================= */
.tier.is-disabled{
  opacity: .62;
  filter: grayscale(.35);
  pointer-events: none; /* verhindert Klicks in der ganzen Karte */
}

.tier.is-disabled .btn{
  opacity: .6;
  cursor: not-allowed;
}

.badge--soon{
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  font-size: .85rem;
}
.hero-caption{
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.85;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-caption__shot{
  font-variant-numeric: tabular-nums;
}
.hero-captionbar{
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-caption{
  font-size: 0.9rem;
  opacity: 0.85;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-caption__shot{
  font-variant-numeric: tabular-nums;
}
.btn--icon{
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.footer-logos img {
  height: 26px;
  opacity: 0.8;
  margin-right: 10px;
}
.btn--disabled{
  opacity:.55;
  cursor:not-allowed;
}
