/* Produktseite (Library) nach Wadims Entwürfen, 18.11.2026.
   Links Titel, Text und Bild direkt auf der Fläche mit Lichtbogen, rechts die Kaufkarte, darunter vier Vorteile.
   Abo-Produkte (instaTrader): linke Seite als Karte mit Vorteilen und Testphase. */

.pdp-hero {
  --pdp-blau: #2f7bff;
  --pdp-blau-hell: #5aa2ff;
  --pdp-rand: rgba(90, 162, 255, .22);
  --pdp-karte: linear-gradient(160deg, rgba(20, 38, 74, .72) 0%, rgba(8, 17, 36, .9) 100%);
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem);
  isolation: isolate;
}
.pdp-hero__licht {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 28% 62%, rgba(47, 123, 255, .20), transparent 70%),
    radial-gradient(40% 40% at 85% 10%, rgba(90, 162, 255, .10), transparent 70%);
}
.pdp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

/* ── Links ── */
.pdp-links { position: relative; min-width: 0; }
.pdp-hero--abo .pdp-links {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: var(--pdp-karte);
  border: 1px solid var(--pdp-rand);
  border-radius: 20px;
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .7);
  overflow: hidden;
}
.pdp-links__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 1rem; }
.pdp-eyebrow {
  display: inline-block;
  padding: .45rem .8rem;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pdp-blau-hell);
  background: rgba(47, 123, 255, .10);
  border: 1px solid rgba(90, 162, 255, .35);
  border-radius: 8px;
}
.pdp-badge {
  padding: .4rem .9rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--pdp-blau);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(47, 123, 255, .45);
}
.pdp-titel {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: #fff;
  overflow-wrap: anywhere;
}
.pdp-titel span {
  background: linear-gradient(90deg, #5aa2ff, #8cc4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pdp-lead {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.6;
  color: #c9d6ea;
}

/* Bild direkt auf der Fläche, Lichtbogen dahinter */
.pdp-bild {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(220px, 32vw, 380px);
  margin: 0 0 .5rem;
}
.pdp-bild__glanz {
  position: absolute;
  inset: 8% -10% 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 35% at 50% 78%, rgba(47, 123, 255, .55), transparent 70%),
    radial-gradient(70% 50% at 50% 60%, rgba(47, 123, 255, .18), transparent 70%);
  filter: blur(6px);
}
.pdp-bild__glanz::after {          /* Lichtbogen wie im Entwurf */
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -55%;
  height: 120%;
  border-radius: 50%;
  border-top: 2px solid rgba(90, 162, 255, .75);
  box-shadow: 0 -10px 40px rgba(47, 123, 255, .45);
  -webkit-mask: linear-gradient(90deg, transparent 5%, #000 35%, #000 65%, transparent 95%);
  mask: linear-gradient(90deg, transparent 5%, #000 35%, #000 65%, transparent 95%);
}
.pdp-bild__knopf {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.pdp-bild__img {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  max-height: 440px;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
  transition: transform .4s ease;
}
@media (hover: hover) { .pdp-bild__knopf:hover .pdp-bild__img { transform: translateY(-4px) scale(1.01); } }
.pdp-bild__leer { position: relative; z-index: 1; color: rgba(90, 162, 255, .35); }

/* Abo: vier Vorteile mit Symbol + Testphase */
.pdp-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}
.pdp-mini li { display: grid; justify-items: center; gap: 10px; text-align: center; font-size: .9rem; line-height: 1.35; color: #e3ecf9; }
.pdp-mini__icon,
.pdp-vorteile__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--pdp-blau-hell, #5aa2ff);
  background: rgba(47, 123, 255, .12);
  border: 1px solid rgba(90, 162, 255, .28);
  border-radius: 12px;
}
.pdp-test {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, rgba(47, 123, 255, .22), rgba(47, 123, 255, .08));
  border: 1px solid rgba(90, 162, 255, .5);
  border-radius: 14px;
  transition: border-color .2s, background .2s;
}
.pdp-test:hover { border-color: #8cc4ff; background: linear-gradient(90deg, rgba(47, 123, 255, .32), rgba(47, 123, 255, .12)); }
.pdp-test__icon { display: grid; place-items: center; flex: 0 0 44px; height: 44px; color: #8cc4ff; background: rgba(47, 123, 255, .2); border-radius: 12px; }
.pdp-test__text { flex: 1; min-width: 0; }
.pdp-test__text strong { display: block; font-size: 1.02rem; }
.pdp-test__text small { display: block; margin-top: 2px; font-size: .85rem; color: #b9c9e2; }
.pdp-test__pfeil { flex: 0 0 auto; color: #8cc4ff; }

/* ── Rechts: Kaufkarte ── */
.pdp-rechts { min-width: 0; }
.pdp-hero .product-buycard {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--pdp-karte);
  border: 1px solid rgba(90, 162, 255, .35);
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(47, 123, 255, .08), 0 30px 70px -30px rgba(0, 0, 0, .75), 0 0 60px -20px rgba(47, 123, 255, .35);
  overflow: hidden;
}
.pdp-hero .product-buycard__price { margin: 0 0 1.25rem; padding: 0 0 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pdp-hero .product-buycard__price-num {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  white-space: nowrap;
}
.pdp-hero .product-buycard__price-num small,
.pdp-einheit { font-size: .42em !important; font-weight: 500 !important; opacity: .8 !important; white-space: nowrap; }
.pdp-hero .product-buycard__price-note { display: block; margin-top: .5rem; font-size: .92rem; line-height: 1.5; color: #b9c9e2; }

/* Drei Kacheln (Einmal-Produkte) */
.pdp-kacheln {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 1.25rem;
  padding: 14px 6px;
  list-style: none;
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
}
.pdp-kacheln li { display: grid; justify-items: center; gap: 8px; padding: 4px 8px; text-align: center; font-size: .92rem; line-height: 1.3; color: #e3ecf9; }
.pdp-kacheln li + li { border-inline-start: 1px solid rgba(255, 255, 255, .07); }
.pdp-kacheln svg { color: var(--pdp-blau-hell); }

/* Geräte-Auswahl: Text links, Auswahl rechts */
.pdp-hero .tmb-geraete {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 13rem);
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  font-size: .95rem;
}
.pdp-hero .tmb-geraete small { display: block; margin-top: 2px; font-size: .82rem; color: #9fb2cf; }
.pdp-hero .tmb-geraete select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  color: #fff;
  font: inherit;
  background: #0b1a33;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  text-overflow: ellipsis;
}

/* Abo-Pläne */
.pdp-hero .tmb-plaene { display: grid; gap: 10px; margin: 0 0 16px; }
.pdp-hero .tmb-plan {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.pdp-hero .tmb-plan:hover { border-color: rgba(90, 162, 255, .45); }
.pdp-hero .tmb-plan:has(input:checked) {
  background: linear-gradient(90deg, rgba(47, 123, 255, .16), rgba(47, 123, 255, .05));
  border-color: #5aa2ff;
  box-shadow: 0 0 0 1px rgba(90, 162, 255, .5), 0 0 24px -6px rgba(47, 123, 255, .6);
}
.pdp-hero .tmb-plan input { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; accent-color: #2f7bff; }
.tmb-plan__icon { display: grid; place-items: center; flex: 0 0 44px; height: 44px; color: #8cc4ff; background: rgba(47, 123, 255, .12); border: 1px solid rgba(90, 162, 255, .22); border-radius: 12px; }
.tmb-plan__text { flex: 1; min-width: 0; }
.tmb-plan__text strong { display: block; font-size: 1.05rem; color: #fff; }
.tmb-plan__text small { display: block; margin-top: 2px; font-size: .85rem; line-height: 1.4; color: #a9bbd6; }
.tmb-plan__preis { display: grid; justify-items: end; gap: 6px; flex: 0 0 auto; font-size: 1.1rem; color: #fff; white-space: nowrap; text-align: right; }
.tmb-plan__spar { padding: 2px 8px; font-style: normal; font-size: .78rem; font-weight: 700; color: #b8f5d0; background: rgba(16, 185, 129, .22); border: 1px solid rgba(16, 185, 129, .45); border-radius: 8px; }

/* Plattform-Auswahl (Pakete) */
.pdp-plattform { display: grid; gap: 10px; margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.pdp-plattform legend { margin: 0 0 10px; padding: 0; font-size: 1rem; font-weight: 700; color: #fff; }
.pdp-plattform__wahl {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 10px 16px;
  cursor: pointer;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.pdp-plattform__wahl:hover { border-color: rgba(90, 162, 255, .45); }
.pdp-plattform__wahl:has(input:checked) { background: rgba(47, 123, 255, .12); border-color: #5aa2ff; box-shadow: 0 0 0 1px rgba(90, 162, 255, .5), 0 0 24px -8px rgba(47, 123, 255, .6); }
.pdp-plattform__wahl input { width: 20px; height: 20px; margin: 0; accent-color: #2f7bff; }
.pdp-plattform__icon { display: grid; place-items: center; color: #8cc4ff; }
.pdp-plattform__name { font-size: 1.02rem; font-weight: 600; color: #fff; }

/* Kaufknopf und Testknopf */
.pdp-hero .product-buycard__cta { display: grid; gap: 10px; }
.pdp-hero .product-buycard__btn.btn--primary {
  width: 100%;
  min-height: 56px;
  font-size: 1.1rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #3b8bff, #1f66e5);
  box-shadow: 0 10px 30px -10px rgba(47, 123, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.pdp-hero .product-buycard__btn.btn--outline { width: 100%; min-height: 52px; border-radius: 12px; border-color: rgba(90, 162, 255, .6); }
.pdp-hero .product-buycard__lichint { color: #34d399; font-size: .9rem; line-height: 1.5; }

/* Vorteile-Liste in der Karte */
.pdp-hero .product-buycard__benefits { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.pdp-hero .product-buycard__benefits li { display: flex; align-items: flex-start; gap: 10px; font-size: .98rem; line-height: 1.45; color: #e3ecf9; }
.pdp-hero .product-buycard__benefits svg { flex: 0 0 auto; margin-top: 4px; color: #34d399; }

/* Zusätzliche Downloads: eine Zeile mit Knopf rechts */
.pdp-hero .product-buycard__extras { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
.pdp-hero .product-buycard__extra-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; }
.pdp-hero .product-buycard__extra-top { min-width: 0; }
.pdp-hero .product-buycard__extra-btn { flex: 0 0 auto; width: auto; }

/* ── Vorteilsleiste unter dem Hero ── */
.pdp-vorteile { padding: clamp(1.25rem, 3vw, 2rem) 0; border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.pdp-vorteile__liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.pdp-vorteile__liste li { display: flex; align-items: flex-start; gap: 14px; padding: 6px clamp(10px, 2vw, 26px); }
.pdp-vorteile__liste li + li { border-inline-start: 1px solid rgba(255, 255, 255, .08); }
.pdp-vorteile__liste strong { display: block; font-size: 1.02rem; color: #fff; }
.pdp-vorteile__liste small { display: block; margin-top: 4px; font-size: .9rem; line-height: 1.45; color: #a9bbd6; }

/* ── Tablet und Handy ── */
@media (max-width: 960px) {
  .pdp-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .pdp-vorteile__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .pdp-vorteile__liste li:nth-child(odd) { border-inline-start: 0; }
}
@media (max-width: 560px) {
  .pdp-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .pdp-hero .tmb-geraete { grid-template-columns: minmax(0, 1fr); }
  .pdp-hero .tmb-plan { flex-wrap: nowrap; align-items: center; gap: 10px; padding: 12px; }   /* Preis bleibt rechts (Wadim 18.11.2026: Lifetime-Preis rutschte nach links) */
  .tmb-plan__icon { display: none; }
  .tmb-plan__text { flex: 1 1 0; min-width: 0; }
  .tmb-plan__preis { flex: 0 0 auto; align-self: center; font-size: 1rem; }
  .pdp-kacheln li { font-size: .82rem; padding: 4px; }
  .pdp-vorteile__liste { grid-template-columns: minmax(0, 1fr); }
  .pdp-vorteile__liste li { border-inline-start: 0 !important; padding: 0; }
  .pdp-hero .product-buycard__extra-item { flex-wrap: wrap; }
}

/* Bild mit weggeschnittenem Rand (tmb_bild_inhalt): Rahmen trägt das Seitenverhältnis, das Bild liegt vergrößert darin */
.pdp-bild__knopf--zu { position: relative; max-width: 620px; margin: 0 auto; overflow: visible; }
.pdp-bild__knopf--zu .pdp-bild__img { margin: 0; }
.pdp-bild__img--rund { border-radius: 14px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .8), 0 0 0 1px rgba(90, 162, 255, .18); filter: none; }
.pdp-hero--abo .pdp-bild { min-height: 0; margin: 1rem 0 1.5rem; }
