:root{
  --bg:#0b0b0f;
  --text:#f5f5f7;
  --muted:#b8b8c7;

  --surface: rgba(255,255,255,.03);
  --surface2: rgba(255,255,255,.05);

  --border: rgba(255,255,255,.10);
  --border2: rgba(255,212,0,.22);

  --shadow: 0 18px 55px rgba(0,0,0,.50);
  --shadow2: 0 12px 30px rgba(0,0,0,.35);

  --yellow:#ffd400;
  --yellow2:#ffea6a;

  --radius:18px;
  --radius2:26px;

  --max: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(255,212,0,.22), transparent 55%),
    radial-gradient(900px 500px at 92% 10%, rgba(255,212,0,.14), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.02), transparent 280px),
    var(--bg);
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  width:min(var(--max), 92vw);
  margin:0 auto;
}

.muted{ color:var(--muted); }

/* =========================================
   BADGE / BUTTONS
========================================= */
.badge{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.38rem .7rem;
  border:1px solid var(--border);
  border-radius:999px;
  background: rgba(255,255,255,.04);
  font-size:.92rem;
  font-weight:700;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  padding:.7rem 1rem;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  font-weight:900;
  letter-spacing:.2px;
  cursor:pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
}
.btn:hover{
  background: rgba(255,255,255,.09);
  text-decoration:none;
}
.btn:active{
  transform: translateY(1px);
}

.btn--primary{
  background: linear-gradient(135deg, var(--yellow), var(--yellow2));
  border-color: rgba(0,0,0,.25);
  color:#0c0c12;
  box-shadow: 0 16px 30px rgba(255,212,0,.16);
}
.btn--primary:hover{ filter: brightness(1.03); }

.btn--coupon{
  box-shadow: 0 20px 40px rgba(255,212,0,.14);
}

/* =========================================
   HEADER
========================================= */
.header{
  position:sticky;
  top:0;
  z-index:10;
  background: rgba(10,10,14,.72);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--border);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}

.brand__logoImg{
  width:44px;
  height:44px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--shadow2);
}

.brand__text{
  display:flex;
  flex-direction:column;
  gap:2px;
  line-height:1.1;
}

.brand__name{
  font-weight: 1000;
  font-size: 1.05rem;
  letter-spacing:.2px;
}
.brand__name span{
  margin-left:8px;
  color: var(--yellow);
  text-shadow: 0 0 18px rgba(255,212,0,.22);
}
.brand__sub{
  font-size:.86rem;
  color: var(--muted);
  font-weight:750;
}

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

.hamburger{
  display:none;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: var(--text);
  border-radius: 12px;
  padding: .55rem .7rem;
  cursor:pointer;
}
.hamburger:hover{ background: rgba(255,255,255,.08); }

/* NAV */
.navwrap{
  padding: 0 0 12px;
}
.nav{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.nav__link{
  padding:.48rem .75rem;
  border-radius:999px;
  border:1px solid transparent;
  color: var(--muted);
  font-weight:850;
  font-size:.95rem;
}
.nav__link:hover{
  border-color: rgba(255,212,0,.18);
  color: var(--text);
  text-decoration:none;
  background: rgba(255,255,255,.03);
}

/* Responsive nav */
@media (max-width: 860px){
  .hamburger{ display:inline-flex; }
  .navwrap{ display:none; }
  .navwrap.navwrap--open{ display:block; }
  .nav{ padding: 10px 0 0; }
  .btn--coupon{ display:none; }
}

/* =========================================
   MAIN / SECTIONS
========================================= */
.main{ padding: 22px 0 52px; }

.section{ margin-top: 26px; }
.section h2{
  margin:0 0 12px;
  font-size:1.28rem;
  font-weight: 1000;
  letter-spacing:.2px;
}

.kicker{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:center;
  margin-bottom:10px;
}

/* =========================================
   HERO (home)
========================================= */
.hero{
  border:1px solid var(--border);
  border-radius: var(--radius2);
  padding:32px 24px;
  background:
    radial-gradient(1000px 420px at 50% -20%, rgba(255,212,0,.22), transparent 55%),
    linear-gradient(180deg, rgba(255,212,0,.06), rgba(255,255,255,0)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero--home{
  text-align:center;
}

.h1{
  margin:10px 0 8px;
  font-size: clamp(2.2rem, 3vw, 3.25rem);
  line-height:1.03;
  font-weight: 1100;
  letter-spacing: .2px;
}

.h1 em{
  font-style:normal;
  color: var(--yellow);
  text-shadow: 0 0 18px rgba(255,212,0,.22);
}

.h2sub{
  margin: 0 0 12px;
  font-size: 1.12rem;
  font-weight: 1000;
  color: var(--yellow);
  text-shadow: 0 0 18px rgba(255,212,0,.18);
}

.lead{
  margin:0 auto;
  max-width: 74ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height:1.45;
}

.ctaRow{
  margin-top: 18px;
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
}

/* =========================================
   BROWSE GRID (center buttons)
========================================= */
.centerTitle{
  text-align:center;
  font-weight: 1000;
}

.browseGrid{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 980px){ .browseGrid{ grid-template-columns: repeat(3, 1fr);} }
@media (max-width: 720px){ .browseGrid{ grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 460px){ .browseGrid{ grid-template-columns: 1fr;} }

.browse__btn{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 14px 14px;
  border-radius: 18px;
  border:1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow: 0 10px 22px rgba(0,0,0,.20);
  font-weight: 1000;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.browse__btn:hover{
  text-decoration:none;
  transform: translateY(-1px);
  background:
    linear-gradient(180deg, rgba(255,212,0,.10), rgba(255,255,255,.02));
  border-color: rgba(255,212,0,.22);
}

.browse__icon{
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(255,212,0,.10);
  border:1px solid rgba(255,212,0,.25);
}
.browse__icon--img {
  padding: 0;
  overflow: hidden;
}

.browse__icon--img img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}


.browse__label{ color: var(--text); }
.browse__chev{ color: var(--yellow); }

/* =========================================
   PANELS / INFO BLOCKS
========================================= */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 900px){
  .split{ grid-template-columns: 1fr; }
}

.panel{
  border:1px solid var(--border);
  border-radius: var(--radius2);
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow2);
}

.panel h2{
  margin:0 0 8px;
  font-weight: 1000;
}

.panelActions{
  margin-top: 12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.small{ font-size: .92rem; line-height:1.4; }

.info{
  border:1px solid var(--border);
  border-radius: var(--radius2);
  padding: 18px;
  background: rgba(255,255,255,.02);
}

/* =========================================
   TOOLBAR (category filters)
========================================= */
.toolbar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  padding:14px;
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

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

.input,.select{
  padding:.72rem .9rem;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.22);
  color:var(--text);
  outline:none;
}
.input:focus,.select:focus{
  border-color: rgba(255,212,0,.30);
  box-shadow: 0 0 0 4px rgba(255,212,0,.10);
}

/* =========================================
   PRODUCT GRID + CARDS
========================================= */
.grid{
  display:grid;
  gap:14px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px){ .grid{ grid-template-columns: repeat(3, 1fr);} }
@media (max-width: 720px){ .grid{ grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 460px){ .grid{ grid-template-columns: 1fr;} }

.card{
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  overflow:hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,.28);
  display:flex;
  flex-direction:column;
  min-height: 270px;
  transition: transform .12s ease, border-color .12s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,212,0,.20);
}

.card__img{
  aspect-ratio: 4/3;
  background:
    radial-gradient(500px 240px at 30% 18%, rgba(255,212,0,.22), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.18));
  display:grid;
  place-items:center;
}

.card__img img{
  width:64%;
  height:auto;
  opacity:.96;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,.40));
}

.card__body{
  padding:14px 14px 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
}

.card__title{
  font-weight: 1000;
  line-height:1.2;
  letter-spacing:.1px;
}

.card__meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:.92rem;
}

.card__actions{
  margin-top:auto;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.pill{
  display:inline-flex;
  padding:.35rem .65rem;
  border-radius:999px;
  border:1px solid var(--border2);
  background: rgba(255,212,0,.09);
  color: var(--yellow2);
  font-weight:900;
  font-size:.86rem;
}

/* =========================================
   STEPS
========================================= */
.steps{
  border:1px solid var(--border);
  border-radius: var(--radius2);
  padding: 16px 18px;
  background: rgba(255,255,255,.02);
  color: var(--muted);
}
.steps li{ margin: 10px 0; }
.steps strong{ color: var(--text); }

/* =========================================
   MODAL
========================================= */
.modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999;
}
.modal.is-open{ display: block; }

.modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(8px);
}

.modal__dialog{
  position: relative;
  width: min(720px, 92vw);
  margin: 8vh auto;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(255,212,0,.20), transparent 55%),
    rgba(15,15,22,.92);
  box-shadow: 0 18px 70px rgba(0,0,0,.60);
  padding: 18px;
}

.modal__close{
  position: absolute;
  top: 12px;
  right: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-radius: 12px;
  padding: .45rem .6rem;
  cursor: pointer;
}
.modal__close:hover{ background: rgba(255,255,255,.10); }

.modal__header{
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: start;
}
@media (max-width: 520px){
  .modal__header{ grid-template-columns: 1fr; }
}

.modal__logo{
  width: 84px;
  height: 84px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--shadow2);
}

.modal__title{
  margin: 8px 0 6px;
  font-size: 1.38rem;
  font-weight: 1100;
}
.hl{
  color: var(--yellow);
  text-shadow: 0 0 18px rgba(255,212,0,.22);
}
.modal__text{ margin: 0; }

.modal__actions{
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.modal__fineprint{
  margin-top: 12px;
  font-size: .9rem;
}

/* =========================================
   FOOTER
========================================= */
.footer{
  border-top:1px solid var(--border);
  background: rgba(10,10,14,.72);
}
.footer__inner{ padding:22px 0; }
.footer__cols{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap:18px;
}
@media (max-width: 900px){
  .footer__cols{ grid-template-columns: 1fr; }
}
.footer h4{
  margin:0 0 8px;
  font-weight:1000;
}
.footer__bottom{
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid var(--border);
  font-size:.92rem;

  /* ===== CLEAN FIXES ===== */

/* Gleichmäßige Badge/Pill Größen, nichts "steht raus" */
.badge, .pill{
  line-height: 1;
  white-space: nowrap;
}

/* Meta-Zeile in Cards: sauber, gleiche Höhe, kein Overlap */
.card__meta{
  align-items: center;
  gap: 8px;
}

.card__meta .badge,
.card__meta .pill{
  padding: .38rem .65rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  height: 30px;          /* << gleiche Höhe */
}

/* Datum-Badge nicht zu fett/klobig */
.card__meta .badge{
  font-weight: 800;
  opacity: .95;
}

/* Preis-Pill: cleaner */
.pill{
  border-color: rgba(255,212,0,.22);
  background: rgba(255,212,0,.10);
}

/* Card Buttons: gleiche Höhe, sauberer */
.card__actions .btn{
  height: 38px;
  padding: 0 .95rem;
}

/* Produktbild Bereich: kein “kaputter” Rahmen */
.card__img img{
  display:block;
}

/* Code in Textblöcken schöner */
code{
  padding: .15rem .4rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 800;
}

}
