/* =========================================================
   PAGE: CONTENT
   Cleaned FULL FILE — 1:1 COPY/PASTE
   ========================================================= */

/* =========================================================
   BLOCK: HERO (1:1 wie Events, mit Filter rechts)
   ========================================================= */
   .content-hero{
    position: relative;
    padding-top: 84px; /* space for fixed topbar */
    padding-bottom: 26px;
    overflow: hidden;
    isolation: isolate;
  }
  
  .content-hero::before{
    content:"";
    position:absolute; inset:0;
    background:
      radial-gradient(circle at 18% 22%, rgba(64,185,235,.07), transparent 55%),
      radial-gradient(circle at 82% 18%, rgba(216,245,255,.05), transparent 60%),
      radial-gradient(circle at 50% 115%, rgba(255,255,255,.025), transparent 65%),
      linear-gradient(to bottom, rgba(7,6,7,.75), rgba(7,6,7,1));
    z-index: 0;
  }
  
  .content-hero__inner{
    position: relative;
    z-index: 1;
    padding: 34px 0 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
  }
  
  .content-title{
    margin-top: 10px;
    font-family: "Playfair Display", ui-serif, Georgia, serif;
    font-size: 44px;
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: .01em;
    color: rgba(255,255,255,.92);
  }
  
  /* Filter (im Hero, ohne Box/Trennlinie) */
  .content-filters{
    margin: 0;
    padding: 0;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
  }
  
  .content-label{
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .28em;
    color: rgba(255,255,255,.50);
  }
  
  .content-select{
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.35);
    padding: 10px 12px;
    font-size: 14px;
    color: rgba(255,255,255,.82);
    outline: none;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  }
  
  .content-select:hover{
    background: rgba(255,255,255,.03);
  }
  
  .content-select:focus{
    border-color: rgba(64,185,235,.30);
    box-shadow:
      0 0 0 3px rgba(64,185,235,.10),
      0 0 0 1px rgba(216,245,255,.08);
  }
  
  /* Mobile: wie Events stacking */
  @media (max-width: 640px){
    .content-hero__inner{
      padding: 26px 0 10px;
      flex-direction: column;
      align-items: flex-start;
    }
  
    .content-title{ font-size: 38px; }
  
    .content-filters{
      width: 100%;
      justify-content: flex-start;
      margin-top: 14px;
    }
  
    #sortMode{
      width: min(260px, 100%) !important;
    }
  }
  
  
  /* =========================================================
     TYPO / SECTION HEADS
     ========================================================= */
  .section-title{
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: rgba(255,255,255,.92);
  }
  
  .section-sub{
    margin-top: 6px;
    color: rgba(255,255,255,.70);
  }
  
  
  /* =========================================================
     CONTENT CARD — Minimal / Elegant
     ========================================================= */
  .content-card{
    position: relative;
    display: block;
    border-radius: 26px;
    padding: 18px;
  
    background: transparent;
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: none;
  
    transform: translateZ(0);
    transition:
      transform .22s ease,
      background .25s ease,
      border-color .25s ease,
      box-shadow .28s ease;
  }
  
  .content-card:hover{
    transform: translateY(-3px);
    background: rgba(255,255,255,.02);
    border-color: rgba(64,185,235,.18);
    box-shadow:
      0 28px 90px rgba(0,0,0,.62),
      0 0 0 1px rgba(64,185,235,.07),
      0 18px 50px rgba(64,185,235,.05),
      inset 0 1px 0 rgba(255,255,255,.05);
  }
  
  .content-card:focus-visible{
    outline: none;
    box-shadow:
      0 0 0 3px rgba(64,185,235,.14),
      0 0 0 1px rgba(216,245,255,.18),
      0 28px 90px rgba(0,0,0,.62);
  }
  
  
  /* =========================================================
     MEDIA PREVIEW — Thumbnail -> Teaser (fade)
     JS setzt Klasse: .is-playing
     ========================================================= */
  .media-preview{
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 4 / 3;
  
    background:
      radial-gradient(circle at 22% 24%, rgba(64,185,235,.06), transparent 60%),
      radial-gradient(circle at 78% 38%, rgba(216,245,255,.035), transparent 66%),
      rgba(255,255,255,.015);
  
    border: 1px solid rgba(255,255,255,.05);
  }
  
  .media-preview__thumb,
  .media-preview__video{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
  
    transform: translateZ(0);
    will-change: opacity, transform, filter;
    transition: opacity .22s ease, transform .35s ease, filter .35s ease;
  }
  
  .media-thumb{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
  
    transform: translateZ(0);
    will-change: opacity, transform, filter;
    transition: opacity .22s ease, transform .35s ease, filter .35s ease;
  }
  
  .media-preview__thumb,
  .media-thumb{
    opacity: 1;
    filter: saturate(.95) contrast(1.04);
    transform: scale(1.01);
  }
  
  .media-preview__video{
    opacity: 0;
  }
  
  .content-card.is-playing .media-preview__thumb,
  .content-card.is-playing .media-thumb{
    opacity: 0;
    transform: scale(1.03);
    filter: saturate(1.0) contrast(1.06);
  }
  
  .content-card.is-playing .media-preview__video{
    opacity: 1;
  }
  
  
  /* =========================================================
     PLAY BADGE (dezent, nur Hover)
     ========================================================= */
  .play-badge,
  .media-play{
    position: absolute;
    top: 12px;
    right: 12px;
  
    padding: 7px 10px;
    border-radius: 999px;
  
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
  
    color: rgba(216,245,255,.82);
    background: rgba(0,0,0,.34);
    border: 1px solid rgba(255,255,255,.10);
  
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity .22s ease, transform .22s ease, background .22s ease, border-color .22s ease;
    pointer-events: none;
  }
  
  .content-card:hover .play-badge,
  .content-card:hover .media-play{
    opacity: .75;
    transform: translateY(0);
    border-color: rgba(64,185,235,.18);
    background: rgba(0,0,0,.40);
  }
  
  .content-card.is-playing .play-badge,
  .content-card.is-playing .media-play{
    opacity: .55;
  }
  
  
  /* =========================================================
     THUMB FALLBACK — wenn Thumbnail fehlt
     ========================================================= */
  .content-card.no-thumb .media-preview__thumb,
  .content-card.no-thumb .media-thumb{
    display: none;
  }
  
  .content-card.no-thumb .media-preview::after{
    content: "Vorschau";
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 2;
  
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .28em;
    color: rgba(255,255,255,.62);
  
    padding: 8px 12px;
    border-radius: 999px;
  
    background: rgba(0,0,0,.28);
    border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
  }
  
  
  /* =========================================================
     CARD TEXT
     ========================================================= */
  .item-title{
    font-weight: 600;
    color: rgba(255,255,255,.92);
    letter-spacing: -.01em;
  }
  
  .item-meta{
    margin-top: 4px;
    font-size: 13px;
    color: rgba(255,255,255,.60);
  }
  
  .item-rating{
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255,255,255,.62);
    display:flex;
    align-items:center;
    gap: 10px;
  }
  
  .item-rating .stars{ color: rgba(216,245,255,.78); letter-spacing: .12em; }
  .item-rating .score{ color: rgba(255,255,255,.78); }
  .item-rating .count{ color: rgba(255,255,255,.45); }
  
  .price-badge{
    border-radius: 14px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(10,10,12,.92);
  
    background: linear-gradient(135deg,
      var(--gold-1) 0%,
      var(--gold-2) 30%,
      var(--gold-3) 70%,
      var(--gold-2) 100%
    );
  
    border: 1px solid rgba(255,255,255,.12);
    box-shadow:
      0 14px 32px rgba(64,185,235,.12),
      inset 0 1px 0 rgba(255,255,255,.22),
      inset 0 -10px 16px rgba(0,0,0,.16);
  }
  
  
  /* =========================================================
     NAV ACTIVE underline rules
     ========================================================= */
  .nav-underline.is-active{
    color: rgba(255,255,255,.95);
  }
  
  /* Kein permanentes underline bei Active */
  .nav-underline.is-active::after,
  .nav-underline.is-active::before{
    transform: scaleX(0);
  }
  
  /* Unterline nur bei Hover/Focus */
  .nav-underline.is-active:hover::after,
  .nav-underline.is-active:hover::before,
  .nav-underline.is-active:focus-visible::after,
  .nav-underline.is-active:focus-visible::before{
    transform: scaleX(1);
  }
  
  
  /* =========================================================
     RESPONSIVE (Cards)
     ========================================================= */
  @media (max-width: 640px){
    .content-card{ border-radius: 22px; }
    .media-preview{ border-radius: 18px; }
  }
  
  
  /* =========================================================
     ADD TO CART BUTTON (like shop flow)
     ========================================================= */
  .add-to-cart-btn{
    margin-top: 14px;
    width: 100%;
    border-radius: 18px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .01em;
  }
  
  
  /* =========================================================
     CART (same as shop)
     ========================================================= */
  .cart-wrap{ position: relative; }
  
  .cart-btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 18px;
    padding: 10px 12px;
  
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(64,185,235,.22);
    color: rgba(255,255,255,.86);
  
    box-shadow:
      0 10px 30px rgba(0,0,0,.35),
      inset 0 1px 0 rgba(255,255,255,.05);
  
    transition: transform .18s ease, box-shadow .25s ease, border-color .25s ease;
  }
  
  .cart-btn:hover{
    transform: translateY(-1px);
    border-color: rgba(216,245,255,.44);
    box-shadow:
      0 16px 44px rgba(0,0,0,.45),
      0 0 0 1px rgba(64,185,235,.09),
      inset 0 1px 0 rgba(255,255,255,.07);
  }
  
  .cart-icon{ color: rgba(216,245,255,.90); }
  
  .cart-label{
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .01em;
  }
  
  .cart-badge{
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: rgba(10,10,12,.92);
  
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2), var(--gold-3));
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 10px 26px rgba(64,185,235,.16);
  }
  
  .cart-menu{
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 360px;
    max-width: calc(100vw - 28px);
    overflow: hidden;
    border-radius: 22px;
  
    background: rgba(7,6,7,.92);
    backdrop-filter: blur(14px);
  
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 26px 90px rgba(0,0,0,.70);
    z-index: 60;
  }
  
  .cart-menu__header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  
  .cart-menu__title{
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .28em;
    color: rgba(255,255,255,.65);
    font-weight: 800;
  }
  
  .cart-close{
    width: 34px;
    height: 34px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.02);
    color: rgba(255,255,255,.85);
    font-size: 20px;
    line-height: 1;
    transition: transform .18s ease, border-color .25s ease;
  }
  
  .cart-close:hover{
    transform: translateY(-1px);
    border-color: rgba(216,245,255,.26);
  }
  
  .cart-empty{
    padding: 18px 16px;
    color: rgba(255,255,255,.60);
    font-size: 13px;
  }
  
  .cart-items{
    max-height: 44vh;
    overflow: auto;
    padding: 6px 10px 6px 10px;
  }
  
  .cart-item{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap: 10px;
    padding: 12px 6px;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  
  .cart-item__name{
    font-weight: 700;
    color: rgba(255,255,255,.88);
    font-size: 13px;
  }
  
  .cart-item__sub{
    margin-top: 2px;
    color: rgba(255,255,255,.55);
    font-size: 12px;
  }
  
  .cart-item__right{
    text-align: right;
    min-width: 120px;
  }
  
  .cart-item__price{
    font-weight: 800;
    color: rgba(255,255,255,.86);
    font-size: 12px;
  }
  
  .qty{
    margin-top: 8px;
    display:inline-flex;
    align-items:center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    padding: 6px 8px;
    background: rgba(255,255,255,.02);
  }
  
  .qty button{
    width: 26px;
    height: 26px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.02);
    color: rgba(255,255,255,.82);
    font-weight: 800;
    transition: transform .18s ease, border-color .25s ease, box-shadow .25s ease;
  }
  
  .qty button:hover{
    transform: translateY(-1px);
    border-color: rgba(216,245,255,.24);
    box-shadow: 0 0 0 1px rgba(64,185,235,.05);
  }
  
  .qty span{
    min-width: 18px;
    text-align:center;
    font-weight: 800;
    color: rgba(255,255,255,.82);
    font-size: 12px;
  }
  
  .cart-summary{
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  
  .cart-summary__row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom: 10px;
  }
  
  .cart-summary__label{
    color: rgba(255,255,255,.62);
    font-size: 12px;
    letter-spacing: .02em;
    font-weight: 700;
  }
  
  .cart-summary__value{
    color: rgba(255,255,255,.90);
    font-weight: 900;
    letter-spacing: .02em;
  }
  
  .cart-checkout{
    display:flex;
    align-items:center;
    justify-content:center;
    width: 100%;
    border-radius: 18px;
    padding: 12px 14px;
    font-weight: 800;
  }
  
  .cart-hint{
    margin-top: 10px;
    font-size: 11px;
    color: rgba(255,255,255,.45);
    line-height: 1.6;
  }
  
  /* CART MENU — Mobile Fix */
  @media (max-width: 640px){
    .cart-menu{
      position: fixed;
      left: 50%;
      right: auto;
      top: calc(84px + env(safe-area-inset-top));
      transform: translateX(-50%);
      width: min(420px, calc(100vw - 24px));
      max-height: calc(100vh - 110px);
      overflow: hidden;
      z-index: 80;
    }
  
    .cart-items{
      max-height: calc(100vh - 320px);
    }
  }