/* Extracted from index1.php  */
/* THF dezente Optimierung V2: nur Feinschliff, keine entfernten Funktionen */
    .hero-header.thf-hero-v2 { padding-bottom: clamp(24px, 5vw, 56px); }
    .thf-hero-subline { max-width: 760px; margin: 18px auto 0; color: var(--text-sub); font-size: clamp(1rem, 1.7vw, 1.22rem); line-height: 1.55; font-family: "Open Sans", sans-serif; }
    .thf-hero-actions { display:flex; justify-content:center; gap: 12px; flex-wrap:wrap; margin-top: 24px; }
    .thf-hero-action { min-height: 44px; padding: 0 18px; border-radius: 999px; display:inline-flex; align-items:center; justify-content:center; text-decoration:none; font-size:.82rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; border:1px solid rgba(255,255,255,.14); transition: transform .18s ease, background .18s ease, border-color .18s ease; }
    .thf-hero-action:hover { transform: translateY(-1px); }
    .thf-hero-action.primary { background: var(--accent-blue); color:#fff; border-color: var(--accent-blue); }
    .thf-hero-action.secondary { color: var(--text-main); background: rgba(255,255,255,.035); }
    .thf-hero-trust { display:flex; justify-content:center; gap:16px; flex-wrap:wrap; margin-top: 18px; color: rgba(255,255,255,.58); font-size:.82rem; }
    .thf-empty-state { text-align:center; color:var(--text-sub); padding:34px 18px; border:1px dashed rgba(255,255,255,.14); border-radius:18px; background:rgba(255,255,255,.025); }
    .thf-empty-state strong { display:block; color:var(--text-main); margin-bottom:6px; font-size:1rem; }
    .thf-empty-state p { margin:0; line-height:1.45; }
    .card { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
    .card:hover { transform: translateY(-2px); }
    .card-img, .lb-thumb, .stage-img { image-rendering:auto; }
    .album-meta-item { opacity:.86; }
    .lightbox .co-header, #checkoutArea { border-color: rgba(255,255,255,.10) !important; }
    .co-price-card, .lb-item { transition: border-color .18s ease, background .18s ease; }
    @media (max-width: 700px) {
      .thf-hero-subline { padding: 0 18px; }
      .thf-hero-actions { padding: 0 18px; }
      .thf-hero-action { width:100%; }
      .thf-hero-trust { display:none; }
      .fab-cart, .fab-search, .fab-top { transform: scale(.94); }
    }
  /* Checkout V3: ruhiger zusätzlicher Auswahl-Schritt */
.checkout-step-intro {
  margin: 2px 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}
.checkout-step-intro h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--text-main);
}
.checkout-step-intro p {
  margin: 0;
  color: var(--text-sub);
  line-height: 1.5;
  font-size: .92rem;
}
#checkoutStepsNav.co-steps { gap: 7px; }
#checkoutStepsNav .co-step { padding-left: 10px; padding-right: 10px; }
@media (max-width: 640px) {
  #checkoutStepsNav.co-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #checkoutStepsNav .co-step {
    justify-content: center;
    width: 100%;
  }
}

    /* Premium Formatfilter Albumansicht - kompakt auf Hoehe des Albumnamens */
    .album-title-row {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
      flex: 1 1 auto;
    }
    .album-title-row .section-title {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .album-format-filter {
      margin-left: auto;
      position: relative;
      z-index: 5000;
      flex: 0 0 auto;
    }
    .format-filter-select {
      min-height: 48px;
      border: 1px solid rgba(255,255,255,.13);
      border-radius: 999px;
      background:
        linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.012)),
        rgba(12,12,14,.74);
      color: rgba(255,255,255,.92);
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      gap: 13px;
      padding: 8px 10px 8px 17px;
      cursor: pointer;
      box-shadow: 0 12px 30px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.065);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
      text-align: left;
      min-width: 238px;
    }
    .format-filter-select:hover,
    .format-filter-select[aria-expanded="true"] {
      background:
        linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.018)),
        rgba(18,18,20,.92);
      border-color: rgba(255,255,255,.24);
      box-shadow: 0 18px 42px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.09);
      color: #fff;
    }
    .format-filter-labels {
      display: grid;
      gap: 2px;
      min-width: 0;
    }
    .format-filter-kicker {
      color: rgba(255,255,255,.46);
      font-size: .58rem;
      font-weight: 900;
      letter-spacing: .20em;
      text-transform: uppercase;
      white-space: nowrap;
      line-height: 1;
    }
    .format-filter-current {
      color: rgba(255,255,255,.94);
      font-size: .66rem;
      font-weight: 800;
      letter-spacing: .075em;
      text-transform: uppercase;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 1.25;
    }
    .format-filter-select-icon {
      width: 32px;
      height: 32px;
      border-radius: 999px;
      display: inline-grid;
      place-items: center;
      background: rgba(255,255,255,.055);
      color: rgba(255,255,255,.78);
      transition: transform .18s ease, background .18s ease, color .18s ease;
      flex: 0 0 auto;
    }
    .format-filter-select[aria-expanded="true"] .format-filter-select-icon {
      transform: rotate(180deg);
      background: rgba(255,255,255,.09);
      color: #fff;
    }
    .format-filter-menu {
      position: absolute;
      top: calc(100% + 10px);
      right: 0;
      z-index: 99999;
      width: 318px;
      padding: 7px;
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 18px;
      background: rgba(18,18,20,.98);
      box-shadow: 0 32px 90px rgba(0,0,0,.72), 0 0 0 1px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.07);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
    }
    .format-filter-menu[hidden] { display: none !important; }
    .format-filter-option {
      width: 100%;
      border: 1px solid transparent;
      background: transparent;
      color: rgba(255,255,255,.74);
      border-radius: 13px;
      padding: 12px 13px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      text-align: left;
      cursor: pointer;
      transition: background .18s ease, border-color .18s ease, color .18s ease;
    }
    .format-filter-option:hover:not(:disabled) {
      background: rgba(255,255,255,.06);
      border-color: rgba(255,255,255,.08);
      color: #fff;
    }
    .format-filter-option.active {
      color: #fff;
      background: linear-gradient(135deg, rgba(43,124,255,.98), rgba(25,88,205,.95));
      border-color: rgba(119,172,255,.46);
      box-shadow: 0 10px 24px rgba(43,124,255,.22), inset 0 1px 0 rgba(255,255,255,.18);
    }
    .format-filter-option:disabled { opacity: .38; cursor: not-allowed; }
    .format-filter-option-main {
      display: block;
      font-size: .76rem;
      font-weight: 900;
      letter-spacing: .055em;
      text-transform: uppercase;
      line-height: 1.15;
    }
    .format-filter-option-sub {
      display: block;
      margin-top: 3px;
      color: rgba(255,255,255,.52);
      font-size: .64rem;
      font-weight: 750;
      letter-spacing: .025em;
    }
    .format-filter-option.active .format-filter-option-sub { color: rgba(255,255,255,.78); }
    .format-filter-option-status {
      color: rgba(255,255,255,.42);
      font-size: .64rem;
      font-weight: 800;
      white-space: nowrap;
    }
    .format-filter-option.active .format-filter-option-status { color: rgba(255,255,255,.78); }
    @media (max-width: 900px) {
      .album-header {
        align-items: flex-start;
      }
      .album-title-row {
        flex-wrap: wrap;
        row-gap: 10px;
      }
      .album-format-filter {
        width: 100%;
        order: 3;
      }
      .format-filter-select {
        width: 100%;
        min-width: 0;
      }
      .format-filter-menu {
        width: 100%;
        min-width: 0;
      }
    }
    @media (max-width: 520px) {
      .album-title-row {
        gap: 9px;
      }
      .format-filter-select {
        min-height: 46px;
        padding: 8px 9px 8px 14px;
        border-radius: 18px;
      }
      .format-filter-kicker { font-size: .55rem; letter-spacing: .18em; }
      .format-filter-current { font-size: .69rem; }
      .format-filter-select-icon { width: 30px; height: 30px; }
      .format-filter-menu {
        border-radius: 16px;
        top: calc(100% + 8px);
      }
      .format-filter-option { padding: 11px 12px; }
    }




    /* ------------------------------------------------------------
       THF Albumheader - souveränes Premium-Layout
       Kompakt, ruhig, passend zum bestehenden THF-Auftritt
       ------------------------------------------------------------ */
    #view-album-photos .section-header.album-header {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto auto;
      align-items: center;
      gap: 12px;
      padding: 16px 0 16px;
      border-bottom: 1px solid rgba(255,255,255,.10);
      position: relative;
      overflow: visible;
    }

    #view-album-photos .btn-back {
      flex: 0 0 auto;
      height: 34px;
      min-height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.12);
      background: rgba(255,255,255,.045);
      color: rgba(255,255,255,.86);
      box-shadow: none;
      font-size: .66rem;
      font-weight: 800;
      letter-spacing: .075em;
      text-transform: uppercase;
      transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
    }

    #view-album-photos .btn-back svg {
      width: 15px;
      height: 15px;
    }

    #view-album-photos .btn-back:hover {
      background: rgba(255,255,255,.075);
      border-color: rgba(255,255,255,.22);
      color: #fff;
      transform: translateY(-1px);
    }

    #view-album-photos .album-title-row {
      display: contents;
    }

    #view-album-photos .album-title-row .section-title {
      grid-column: 2;
      min-width: 0;
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: clamp(1.05rem, 1.18vw, 1.42rem);
      line-height: 1.18;
      letter-spacing: -.012em;
      font-weight: 650;
      color: rgba(255,255,255,.94);
    }

    #view-album-photos .album-share-btn {
      grid-column: 3;
      width: 34px;
      height: 34px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.13);
      background: rgba(255,255,255,.045);
      color: rgba(255,255,255,.84);
      box-shadow: none;
      transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
    }

    #view-album-photos .album-share-btn:hover {
      background: rgba(43,124,255,.13);
      border-color: rgba(43,124,255,.42);
      color: #fff;
      transform: translateY(-1px);
    }

    #view-album-photos .album-format-filter {
      grid-column: 4;
      position: relative;
      z-index: 9000;
      justify-self: end;
      min-width: 0;
    }

    #view-album-photos .format-filter-select {
      min-width: 0;
      height: 38px;
      min-height: 38px;
      width: auto;
      max-width: 290px;
      padding: 0 6px 0 12px;
      gap: 9px;
      border-radius: 999px;
      background: rgba(255,255,255,.045);
      border: 1px solid rgba(255,255,255,.13);
      box-shadow: none;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    }

    #view-album-photos .format-filter-select:hover,
    #view-album-photos .format-filter-select[aria-expanded="true"] {
      background: rgba(255,255,255,.075);
      border-color: rgba(255,255,255,.22);
      box-shadow: 0 14px 36px rgba(0,0,0,.28);
      transform: translateY(-1px);
    }

    #view-album-photos .format-filter-labels {
      display: flex;
      align-items: center;
      gap: 7px;
      min-width: 0;
      white-space: nowrap;
    }

    #view-album-photos .format-filter-kicker {
      color: rgba(255,255,255,.38);
      font-size: .55rem;
      font-weight: 900;
      letter-spacing: .15em;
      text-transform: uppercase;
      line-height: 1;
    }

    #view-album-photos .format-filter-kicker::after {
      content: ':';
      letter-spacing: 0;
      margin-left: 1px;
    }

    #view-album-photos .format-filter-current {
      color: rgba(255,255,255,.92);
      font-size: .68rem;
      font-weight: 900;
      letter-spacing: .07em;
      text-transform: uppercase;
      line-height: 1;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    #view-album-photos .format-filter-select-icon {
      width: 28px;
      height: 28px;
      flex: 0 0 auto;
      border-radius: 999px;
      background: rgba(255,255,255,.055);
    }

    #view-album-photos .format-filter-menu {
      top: calc(100% + 9px);
      right: 0;
      width: 292px;
      z-index: 99999;
      border-radius: 18px;
      border: 1px solid rgba(255,255,255,.13);
      background: rgba(16,16,18,.96);
      box-shadow: 0 22px 70px rgba(0,0,0,.55);
      backdrop-filter: blur(22px);
      -webkit-backdrop-filter: blur(22px);
    }

    #view-album-photos .format-filter-option {
      padding: 12px 13px;
    }

    @media (max-width: 980px) {
      #view-album-photos .section-header.album-header {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 11px;
      }

      #view-album-photos .album-format-filter {
        grid-column: 1 / -1;
        width: 100%;
        justify-self: stretch;
      }

      #view-album-photos .format-filter-select {
        width: 100%;
        max-width: none;
        justify-content: space-between;
      }
    }

    @media (max-width: 760px) {
      #view-album-photos .section-header.album-header {
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        gap: 10px;
        padding: 15px 0 16px;
      }

      #view-album-photos .btn-back {
        width: 40px;
        height: 40px;
        min-height: 40px;
        padding: 0;
        justify-content: center;
        border-radius: 999px;
      }

      #view-album-photos .btn-back span {
        display: none;
      }

      #view-album-photos .album-title-row .section-title {
        grid-column: 2;
        grid-row: 1;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: clamp(1.05rem, 4.6vw, 1.32rem);
        line-height: 1.18;
        letter-spacing: -.012em;
        font-weight: 650;
        margin: 0;
      }

      #view-album-photos .album-share-btn {
        grid-column: 3;
        grid-row: 1;
        width: 40px;
        height: 40px;
      }

      #view-album-photos .album-format-filter {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 2px;
      }

      #view-album-photos .format-filter-select {
        height: 40px;
        min-height: 40px;
        border-radius: 999px;
        padding: 0 6px 0 12px;
        background: rgba(255,255,255,.04);
      }

      #view-album-photos .format-filter-kicker {
        font-size: .52rem;
        letter-spacing: .14em;
      }

      #view-album-photos .format-filter-current {
        font-size: .66rem;
      }

      #view-album-photos .format-filter-select-icon {
        width: 28px;
        height: 28px;
      }

      #view-album-photos .format-filter-menu {
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 16px;
      }
    }

    @media (max-width: 420px) {
      #view-album-photos .section-header.album-header {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        gap: 9px;
      }

      #view-album-photos .btn-back,
      #view-album-photos .album-share-btn {
        width: 38px;
        height: 38px;
        min-height: 38px;
      }

      #view-album-photos .album-title-row .section-title {
        font-size: clamp(1.0rem, 4.8vw, 1.22rem);
      }

      #view-album-photos .format-filter-kicker {
        display: inline;
      }

      #view-album-photos .format-filter-current {
        font-size: .64rem;
      }
    }


/* THF Startseite V3: ohne Hero, mit kuratierter Featured-Bildstrecke */
#view-home .hero-header.thf-hero-v2,
#view-home .hero-spacer {
  display: none !important;
}
#view-home .home-vnext-shell {
  padding-top: 34px !important;
}
#view-home .home-vnext-topbar {
  width: min(1500px, calc(100% - 56px)) !important;
  margin: 0 auto 22px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 24px !important;
}
#view-home .home-vnext-title {
  margin: 5px 0 0 !important;
  font-size: clamp(1.55rem, 2.2vw, 2.35rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
  font-weight: 680 !important;
}
#view-home .home-vnext-kicker {
  color: rgba(255,255,255,.42) !important;
  font-size: .68rem !important;
  letter-spacing: .22em !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
}
#view-home .home-vnext-tabs {
  padding: 4px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(255,255,255,.035) !important;
  border-radius: 999px !important;
  display: flex !important;
  gap: 3px !important;
  flex-shrink: 0 !important;
}
#view-home .home-vnext-tabs button {
  min-height: 31px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: rgba(255,255,255,.62) !important;
  font-size: .66rem !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
  font-weight: 850 !important;
  cursor: pointer !important;
}
#view-home .home-vnext-tabs button.active {
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
}
#view-home #homeFeatured {
  display: grid !important;
  width: min(1500px, calc(100% - 56px)) !important;
  margin: 0 auto 34px !important;
}
#view-home .home-info-strip { display: none !important; }
#view-home .highlights-grid {
  margin-top: 0 !important;
}
@media (max-width: 760px) {
  #view-home .home-vnext-shell { padding-top: 22px !important; }
  #view-home .home-vnext-topbar {
    width: calc(100% - 28px) !important;
    display: block !important;
    margin-bottom: 18px !important;
  }
  #view-home .home-vnext-title {
    font-size: clamp(1.35rem, 7vw, 1.8rem) !important;
  }
  #view-home .home-vnext-tabs {
    margin-top: 14px !important;
    width: 100% !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
  }
  #view-home #homeFeatured {
    width: calc(100% - 28px) !important;
    margin-bottom: 26px !important;
  }
}
.card-figure.is-missing-thumb {
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.018));
  min-height: 220px;
}
.card-figure.is-missing-thumb::after {
  content: 'Bildstrecke';
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: rgba(255,255,255,.48);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
}
@media (max-width: 760px) {
  #view-home .hero-header.thf-hero-v2 {
    width: calc(100% - 28px) !important;
    margin: 18px auto 20px !important;
    padding: 24px 20px !important;
    border-radius: 20px !important;
  }
  #view-home .hero-title-main {
    font-size: clamp(1.65rem, 9vw, 2.25rem) !important;
    letter-spacing: -.04em !important;
  }
  #view-home .thf-hero-subline {
    padding: 0 !important;
    font-size: .94rem !important;
  }
  #view-home .thf-hero-action { width: auto !important; min-height: 38px !important; padding: 0 15px !important; }
  #view-home .home-vnext-topbar {
    width: calc(100% - 28px) !important;
    display: block !important;
  }
  #view-home .home-vnext-tabs {
    margin-top: 16px !important;
    width: 100% !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
  }
}



/* STARTSEITE V3.1: bündig, ruhiger Featured-Bereich, mobile sauber */
#view-home .scroll-content {
  padding-top: var(--thf-home-offset, 104px) !important;
}
#view-home .home-featured-only {
  width: min(1500px, calc(100% - 56px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 0 !important;
}
#view-home #homeFeatured.home-featured-grid {
  width: 100% !important;
  margin: 0 0 30px !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, .72fr) !important;
  gap: 18px !important;
  align-items: stretch !important;
}
#view-home .home-featured-card {
  min-height: clamp(340px, 38vw, 560px) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.03) !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  box-shadow: none !important;
}
#view-home .home-featured-card::after {
  background: linear-gradient(180deg, rgba(0,0,0,.02) 30%, rgba(0,0,0,.78) 100%) !important;
}
#view-home .home-featured-label {
  display: none !important;
}
#view-home .home-featured-title {
  font-size: clamp(1.45rem, 2.5vw, 2.55rem) !important;
  font-weight: 640 !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
}
#view-home .home-featured-meta {
  font-size: .78rem !important;
  color: rgba(255,255,255,.58) !important;
}
#view-home .home-side-panel {
  gap: 14px !important;
}
#view-home .home-small-card {
  grid-template-columns: 142px minmax(0, 1fr) !important;
  min-height: 132px !important;
  padding: 10px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.032) !important;
  border-color: rgba(255,255,255,.105) !important;
  overflow: hidden !important;
}
#view-home .home-small-card img,
#view-home .home-side-panel .home-small-card img {
  width: 142px !important;
  min-width: 142px !important;
  height: 112px !important;
  min-height: 112px !important;
  border-radius: 13px !important;
  object-fit: cover !important;
  display: block !important;
}
#view-home .home-small-content {
  padding: 0 4px 0 0 !important;
  justify-content: center !important;
}
#view-home .home-small-title {
  font-size: .94rem !important;
  font-weight: 610 !important;
  line-height: 1.26 !important;
  color: rgba(255,255,255,.88) !important;
}
#view-home .home-small-meta {
  font-size: .72rem !important;
  color: rgba(255,255,255,.46) !important;
}
#view-home > .scroll-content > .content-wrapper:not(.home-featured-only) {
  width: min(1500px, calc(100% - 56px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#view-home .section-header {
  margin-top: 4px !important;
}
#view-home #grid-title {
  font-size: clamp(1.05rem, 1.45vw, 1.35rem) !important;
  font-weight: 610 !important;
  letter-spacing: -.015em !important;
}
@media (max-width: 980px) {
  #view-home .scroll-content {
    padding-top: var(--thf-home-offset-tablet, 88px) !important;
  }
  #view-home #homeFeatured.home-featured-grid {
    grid-template-columns: 1fr !important;
  }
  #view-home .home-side-panel {
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  }
  #view-home .home-small-card {
    display: block !important;
    min-height: auto !important;
    padding: 0 !important;
    border-radius: 18px !important;
  }
  #view-home .home-small-card img,
  #view-home .home-side-panel .home-small-card img {
    width: 100% !important;
    min-width: 0 !important;
    height: 150px !important;
    min-height: 150px !important;
    border-radius: 18px 18px 0 0 !important;
  }
  #view-home .home-small-content {
    padding: 14px !important;
  }
}
@media (max-width: 760px) {
  #view-home .scroll-content {
    padding-top: var(--thf-home-offset-mobile, 82px) !important;
  }
  #view-home .home-featured-only,
  #view-home > .scroll-content > .content-wrapper:not(.home-featured-only) {
    width: calc(100% - 28px) !important;
  }
  #view-home #homeFeatured.home-featured-grid {
    gap: 14px !important;
    margin-bottom: 24px !important;
  }
  #view-home .home-featured-card {
    min-height: 330px !important;
    border-radius: 20px !important;
  }
  #view-home .home-featured-content {
    left: 18px !important;
    right: 18px !important;
    bottom: 18px !important;
  }
  #view-home .home-featured-title {
    font-size: clamp(1.45rem, 7.4vw, 2.05rem) !important;
    line-height: 1.08 !important;
  }
  #view-home .home-side-panel {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  #view-home .home-small-card {
    display: grid !important;
    grid-template-columns: 92px minmax(0,1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 9px !important;
    min-height: 104px !important;
    border-radius: 17px !important;
  }
  #view-home .home-small-card img,
  #view-home .home-side-panel .home-small-card img {
    width: 92px !important;
    min-width: 92px !important;
    height: 86px !important;
    min-height: 86px !important;
    border-radius: 12px !important;
  }
  #view-home .home-small-content {
    padding: 0 4px 0 0 !important;
  }
  #view-home .home-small-title {
    font-size: .88rem !important;
    line-height: 1.24 !important;
  }
  #view-home .home-small-meta {
    margin-top: 5px !important;
    font-size: .68rem !important;
  }
  /* Mobile-Fix: Mehr geladene Alben dürfen sichtbar bleiben. */
}



/* THF Final Rubrik-Portal: ruhige Medienportal-Kanten, Sidebar und Empty States */
#view-home { --thf-home-gutter: clamp(40px, 4.2vw, 72px); }
#view-home .home-vnext-shell,
#view-home > .scroll-content > .content-wrapper {
  padding-left: var(--thf-home-gutter) !important;
  padding-right: var(--thf-home-gutter) !important;
}
#view-home .home-topic-sidebar {
  position: fixed !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 9000 !important;
}
#view-home .home-topic-nav {
  border-radius: 0 22px 22px 0 !important;
  border-left: 0 !important;
  background: rgba(13,13,15,.78) !important;
  border-color: rgba(255,255,255,.08) !important;
  box-shadow: 18px 0 48px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.055) !important;
}
#view-home .home-featured-grid,
#view-home .home-info-strip,
#view-home #highlightsGrid,
#view-home #teaser,
#view-home #albumGrid,
#view-home .section-header {
  max-width: none !important;
  width: 100% !important;
}
#view-home .home-info-strip {
  margin-top: clamp(18px, 2vw, 28px) !important;
}
#view-home #teaser {
  margin-top: clamp(18px, 2vw, 28px) !important;
}
#view-home .section-header {
  margin-top: clamp(44px, 4vw, 72px) !important;
  margin-bottom: clamp(20px, 2vw, 30px) !important;
}
#view-home .section-title {
  letter-spacing: -.025em !important;
}
#view-home #resetSearch.search-reset-btn {
  display: none !important;
}
#view-home .thf-empty-state {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-height: 210px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  border: 1px dashed rgba(255,255,255,.14) !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,.015)) !important;
}
#view-home .thf-empty-state strong {
  font-size: clamp(1.1rem, 1.3vw, 1.45rem) !important;
}
#view-home .thf-empty-state p {
  max-width: 660px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
#view-home #loadMore.loading .spinner,
#view-home #loadMore.is-loading .spinner {
  display: inline-block !important;
}
#view-home #loadMore.loading,
#view-home #loadMore.is-loading {
  pointer-events: none !important;
  opacity: .82 !important;
}
#view-home .teaser-action-title {
  letter-spacing: -.015em !important;
}
@media (max-width: 900px) {
  #view-home { --thf-home-gutter: 14px; }
  #view-home .home-topic-sidebar { display: none !important; }
}


/* THF Korrektur: Rubrik-Badges nicht auf Albumkarten anzeigen; Suchergebnisse erhalten Quellenlabel + Datum */
#view-home .card-figure .topic-badge,
#view-home .home-featured-content .topic-badge,
#view-home .home-small-content .topic-badge { display:none !important; }
#view-home .source-date-badge {
  position:absolute;
  right:12px;
  top:12px;
  z-index:4;
  display:inline-flex;
  align-items:center;
  gap:7px;
  max-width:calc(100% - 24px);
  padding:7px 10px;
  border-radius:7px;
  background:rgba(8,10,14,.76);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  font-size:13px;
  line-height:1;
  box-shadow:0 8px 18px rgba(0,0,0,.24);
  backdrop-filter:blur(10px);
}
#view-home .source-date-badge .source-label {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-weight:800;
  color:rgba(255,255,255,.94);
}
#view-home .source-date-badge .source-topic-label {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:20px;
  padding:4px 8px;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(43,124,255,.98), rgba(25,88,205,.96));
  border:1px solid rgba(119,172,255,.44);
  color:#fff;
  font-family:'Montserrat', sans-serif;
  font-size:10px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
  box-shadow:0 8px 18px rgba(43,124,255,.22);
}
#view-home .source-date-badge .source-date-separator { color:rgba(255,255,255,.45); }
#view-home .source-date-badge .source-date { white-space:nowrap; color:rgba(255,255,255,.92); }


/* Extracted from index1.php  */
/* Checkout v4: bewusst reduzierter Einstieg */
    #lbCartView .checkout-cart-list { display: grid !important; }
    #lbCartView #checkoutArea.checkout-area-minimal { margin-top: 0 !important; border-top: 0 !important; padding-top: 0 !important; }
    #lbCartView #checkoutHeader .co-row,
    #lbCartView #cartCalcDetail,
    #lbCartView #checkoutPackageHint,
    #lbCartView #thfCartProgress,
    #lbCartView #freiburgHint,
    #lbCartView #checkoutStepsNav,
    #lbCartView #coStep1 .checkout-step-intro { display: none !important; }
    #lbCartView #preorderSection { margin-bottom: 18px !important; padding: 14px !important; border-radius: 14px !important; }
    #lbCartView #preorderSection label { font-size: .92rem !important; margin-bottom: 10px !important; }
    #lbCartView #preorderSection input { min-height: 46px !important; }
    #lbCartView #preorderSection .co-btn { min-height: 46px !important; padding-inline: 18px !important; }
    #lbCartView #coPriceSelection { margin-top: 0 !important; display: block; }
    #lbCartView #coPriceSelection .co-price-card { margin-bottom: 10px !important; padding: 14px 16px !important; border-radius: 14px !important; }
    #lbCartView #coPriceSelection .co-price-sub { font-size: .86rem !important; line-height: 1.35 !important; }
    #lbCartView #coStep1 { margin-top: 12px !important; }
    #lbCartView #coStep1 .co-actions.checkout-entry-actions { margin-top: 16px !important; padding-top: 0 !important; border-top: 0 !important; }
    #lbCartView #coStep1 .co-actions.checkout-entry-actions .co-actions-left { display: none !important; }
    #lbCartView #coStep1 .co-actions.checkout-entry-actions .co-btn { width: 100%; justify-content: center; }
    #lbCartView #checkoutStepsNav[style*="block"] { display: block !important; }

    /* Checkout v7: Warenkorb optisch bereinigt, Albumname + Bild-ID, ohne Horizontal-Scroll */
    .lightbox,
    .lb-content,
    #lbCartView,
    #lbCartView .cart-selection-panel {
      max-width: 100%;
      overflow-x: hidden !important;
    }
    #lbCartView .cart-selection-head { min-width: 0; }
    #lbCartView .cart-selection-title { min-width: 0; }
    #lbCartView .cart-clear-btn,
    #lbCartView .cart-clear-btn:visited {
      border-color: rgba(59,130,246,.42) !important;
      background: rgba(59,130,246,.08) !important;
      color: #dbeafe !important;
      text-shadow: none !important;
      box-shadow: none !important;
    }
    #lbCartView .cart-clear-btn:hover,
    #lbCartView .cart-clear-btn:focus-visible {
      border-color: rgba(59,130,246,.65) !important;
      background: rgba(59,130,246,.16) !important;
      color: #ffffff !important;
    }
    #lbCartView .checkout-cart-list {
      max-width: 100%;
      overflow-x: hidden !important;
    }
    #lbCartView .checkout-cart-list .lb-item {
      max-width: 100%;
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 12px;
      overflow: hidden !important;
    }
    #lbCartView .checkout-cart-list .lb-thumb {
      flex: 0 0 64px;
      width: 64px;
      height: 48px;
      object-fit: cover;
    }
    #lbCartView .checkout-cart-list .lb-info {
      flex: 1 1 auto;
      min-width: 0;
      overflow: hidden !important;
    }
    #lbCartView .checkout-cart-list .lb-name {
      display: block;
      max-width: 100%;
      overflow: hidden !important;
      text-overflow: ellipsis;
      white-space: nowrap !important;
      color: var(--text-main);
    }
    #lbCartView .checkout-cart-list .lb-meta {
      display: flex !important;
      align-items: center;
      gap: 6px;
      margin-top: 4px;
      max-width: 100%;
      overflow: hidden;
      color: var(--text-sub);
      font-size: .76rem;
      font-weight: 600;
      line-height: 1.25;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
    #lbCartView .checkout-cart-list .cart-photo-id-label {
      color: var(--text-sub);
      opacity: .85;
      flex: 0 0 auto;
    }
    #lbCartView .checkout-cart-list .cart-photo-id-value {
      color: #dbeafe;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      letter-spacing: .02em;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    #lbCartView .cart-remove-btn,
    #lbCartView .cart-remove-btn:visited {
      flex: 0 0 32px;
      width: 32px;
      height: 32px;
      border-color: rgba(255,255,255,.18) !important;
      background: rgba(255,255,255,.06) !important;
      color: #ffffff !important;
    }
    #lbCartView .cart-remove-btn:hover,
    #lbCartView .cart-remove-btn:focus-visible {
      border-color: rgba(255,255,255,.32) !important;
      background: rgba(255,255,255,.12) !important;
      color: #ffffff !important;
    }
    @media (max-width: 640px) {
      #lbCartView .checkout-cart-list .lb-item { gap: 10px; }
      #lbCartView .checkout-cart-list .lb-thumb { flex-basis: 56px; width: 56px; height: 42px; }
      #lbCartView .checkout-cart-list .lb-name { font-size: .84rem !important; }
    }


/* Extracted from index1.php  */
/* Checkout v5: dezenter Fortschrittsbalken statt großer Schritt-Kacheln */
    #lbCartView #checkoutStepsNav.checkout-progress {
      width: 100%;
      margin: 18px 0 18px;
      padding: 4px 4px 0;
    }
    #lbCartView #checkoutStepsNav.checkout-progress[style*="block"] {
      display: block !important;
    }
    .checkout-progress-track {
      position: relative;
      height: 3px;
      margin: 15px 13% 10px;
      border-radius: 999px;
      background: rgba(255,255,255,.14);
      overflow: hidden;
    }
    .checkout-progress-fill {
      width: 0%;
      height: 100%;
      border-radius: inherit;
      background: var(--accent-blue);
      transition: width .25s ease;
    }
    .checkout-progress-steps {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0;
      align-items: start;
    }
    .checkout-progress-step {
      appearance: none;
      border: 0;
      background: transparent;
      color: var(--text-sub);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 7px;
      padding: 0 4px;
      cursor: pointer;
      font: inherit;
      text-align: center;
    }
    .checkout-progress-dot {
      width: 16px;
      height: 16px;
      border-radius: 999px;
      border: 2px solid rgba(255,255,255,.28);
      background: #111;
      box-shadow: 0 0 0 4px #090909;
      transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
    }
    .checkout-progress-label {
      font-size: .78rem;
      font-weight: 700;
      letter-spacing: .01em;
      white-space: nowrap;
    }
    .checkout-progress-step.is-active,
    .checkout-progress-step.is-complete {
      color: var(--text-main);
    }
    .checkout-progress-step.is-active .checkout-progress-dot,
    .checkout-progress-step.is-complete .checkout-progress-dot {
      border-color: var(--accent-blue);
      background: var(--accent-blue);
      box-shadow: 0 0 0 4px rgba(59,130,246,.16);
    }
    @media (max-width: 640px) {
      #lbCartView #checkoutStepsNav.checkout-progress { margin-top: 16px; }
      .checkout-progress-track { margin-left: 12%; margin-right: 12%; }
      .checkout-progress-label { font-size: .72rem; }
      .checkout-progress-dot { width: 14px; height: 14px; }
    }

    /* Checkout v6: Auswahl wieder sichtbar + Auswahl leeren */
    #lbCartView .cart-selection-panel {
      display: none;
      margin: 0 0 18px;
      padding: 14px;
      border: 1px solid rgba(255,255,255,.10);
      border-radius: 16px;
      background: rgba(255,255,255,.035);
    }
    #lbCartView .cart-selection-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 12px;
    }
    #lbCartView .cart-selection-title {
      color: var(--text-main);
      font-weight: 800;
      font-size: .95rem;
      line-height: 1.25;
    }
    #lbCartView .cart-selection-sub {
      display: block;
      margin-top: 3px;
      color: var(--text-sub);
      font-weight: 600;
      font-size: .78rem;
    }
    #lbCartView .cart-clear-btn {
      flex: 0 0 auto;
      min-height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid rgba(239,68,68,.42);
      background: rgba(239,68,68,.08);
      color: #fca5a5;
      font-size: .78rem;
      font-weight: 800;
      cursor: pointer;
    }
    #lbCartView .cart-clear-btn:hover {
      background: rgba(239,68,68,.16);
      border-color: rgba(239,68,68,.65);
      color: #fecaca;
    }
    #lbCartView .checkout-cart-list {
      display: grid !important;
      gap: 10px;
      margin: 0;
    }
    #lbCartView .checkout-cart-list .lb-item {
      margin-bottom: 0;
      padding: 10px;
      border-radius: 12px;
      background: rgba(255,255,255,.045);
      border: 1px solid rgba(255,255,255,.08);
    }
    #lbCartView .checkout-cart-list .lb-thumb {
      width: 76px;
      height: 54px;
      border-radius: 8px;
    }
    #lbCartView .cart-remove-btn {
      width: 34px;
      height: 34px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      border: 1px solid rgba(239,68,68,.30);
      background: rgba(239,68,68,.08);
      color: #fca5a5;
      font-size: 1.1rem;
      line-height: 1;
      cursor: pointer;
    }
    #lbCartView .cart-remove-btn:hover {
      background: rgba(239,68,68,.16);
      color: #fecaca;
    }
    @media (max-width: 640px) {
      #lbCartView .cart-selection-panel { padding: 12px; border-radius: 14px; }
      #lbCartView .cart-selection-head { align-items: flex-start; }
      #lbCartView .cart-clear-btn { min-height: 32px; padding: 0 10px; font-size: .72rem; }
      #lbCartView .checkout-cart-list .lb-item { gap: 10px; }
      #lbCartView .checkout-cart-list .lb-thumb { width: 68px; height: 50px; }
      #lbCartView .checkout-cart-list .lb-name { font-size: .86rem; white-space: normal; line-height: 1.25; }
      #lbCartView .checkout-cart-list .lb-meta { font-size: .72rem; }
    }


/* Extracted from index1.php  */
/* THF Premium Plattform-Layout vNext: ruhiger Header, kompakte Werkzeuge, Mobile-first */
    #view-album-photos .content-wrapper {
      max-width: min(1540px, calc(100vw - 56px));
    }

    #view-album-photos .section-header.album-header {
      display: grid !important;
      grid-template-columns: auto minmax(0, 1fr) auto auto !important;
      align-items: center !important;
      column-gap: 14px !important;
      row-gap: 8px !important;
      padding: 18px 0 18px !important;
      margin-bottom: 18px !important;
      border-bottom: 1px solid rgba(255,255,255,.095) !important;
      overflow: visible !important;
    }

    #view-album-photos .album-title-row { display: contents !important; }

    #view-album-photos .album-title-stack {
      grid-column: 2 !important;
      min-width: 0 !important;
      display: grid !important;
      gap: 4px !important;
    }

    #view-album-photos .album-title-stack .section-title,
    #view-album-photos #albumTitle {
      margin: 0 !important;
      max-width: 100% !important;
      font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
      font-size: clamp(1.18rem, 1.45vw, 1.75rem) !important;
      line-height: 1.16 !important;
      font-weight: 620 !important;
      letter-spacing: -.025em !important;
      color: rgba(255,255,255,.94) !important;
      text-wrap: balance;
      white-space: nowrap !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
    }

    #view-album-photos .album-subtitle-line {
      color: rgba(255,255,255,.46) !important;
      font-size: .72rem !important;
      font-weight: 650 !important;
      letter-spacing: .035em !important;
      line-height: 1.25 !important;
      white-space: nowrap !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
    }

    #view-album-photos .btn-back {
      height: 36px !important;
      min-height: 36px !important;
      padding: 0 13px !important;
      border-radius: 999px !important;
      background: rgba(255,255,255,.035) !important;
      border: 1px solid rgba(255,255,255,.12) !important;
      color: rgba(255,255,255,.78) !important;
      box-shadow: none !important;
      font-size: .63rem !important;
      font-weight: 850 !important;
      letter-spacing: .09em !important;
    }

    #view-album-photos .btn-back:hover {
      background: rgba(255,255,255,.07) !important;
      color: #fff !important;
      border-color: rgba(255,255,255,.22) !important;
    }

    #view-album-photos .album-share-btn {
      width: 36px !important;
      height: 36px !important;
      border-radius: 999px !important;
      background: rgba(255,255,255,.035) !important;
      border: 1px solid rgba(255,255,255,.12) !important;
      color: rgba(255,255,255,.78) !important;
      box-shadow: none !important;
    }

    #view-album-photos .album-format-filter {
      grid-column: 4 !important;
      justify-self: end !important;
      z-index: 20000 !important;
    }

    #view-album-photos .format-filter-select {
      height: 36px !important;
      min-height: 36px !important;
      min-width: 210px !important;
      max-width: 270px !important;
      padding: 0 5px 0 12px !important;
      background: rgba(255,255,255,.035) !important;
      border: 1px solid rgba(255,255,255,.12) !important;
      box-shadow: none !important;
    }

    #view-album-photos .format-filter-kicker {
      font-size: .50rem !important;
      color: rgba(255,255,255,.38) !important;
      letter-spacing: .16em !important;
    }

    #view-album-photos .format-filter-current {
      font-size: .64rem !important;
      font-weight: 850 !important;
      letter-spacing: .07em !important;
      color: rgba(255,255,255,.86) !important;
    }

    #view-album-photos .format-filter-select-icon {
      width: 27px !important;
      height: 27px !important;
      background: rgba(255,255,255,.055) !important;
    }

    #view-album-photos .format-filter-menu {
      width: 292px !important;
      z-index: 999999 !important;
      top: calc(100% + 8px) !important;
      background: rgba(14,14,16,.985) !important;
      border-color: rgba(255,255,255,.14) !important;
    }

    #view-album-photos .photo-card.card {
      border-radius: 14px !important;
      overflow: hidden !important;
    }

    #view-album-photos .photo-card .card-figure {
      border-radius: 14px !important;
      overflow: hidden !important;
    }

    @media (max-width: 980px) {
      #view-album-photos .section-header.album-header {
        grid-template-columns: auto minmax(0, 1fr) auto !important;
      }
      #view-album-photos .album-format-filter {
        grid-column: 2 / 4 !important;
        grid-row: 2 !important;
        width: min(100%, 420px) !important;
        justify-self: start !important;
      }
      #view-album-photos .format-filter-select {
        width: 100% !important;
        max-width: none !important;
      }
    }

    @media (max-width: 700px) {
      #view-album-photos .content-wrapper {
        max-width: none !important;
        width: 100% !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
      }

      #view-album-photos .section-header.album-header {
        grid-template-columns: 38px minmax(0, 1fr) 38px !important;
        grid-template-rows: auto auto !important;
        gap: 11px !important;
        padding: 16px 0 15px !important;
        margin-bottom: 16px !important;
      }

      #view-album-photos .btn-back,
      #view-album-photos .album-share-btn {
        width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
      }

      #view-album-photos .btn-back span { display: none !important; }

      #view-album-photos .album-title-stack {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: center !important;
        gap: 3px !important;
      }

      #view-album-photos .album-title-stack .section-title,
      #view-album-photos #albumTitle {
        font-size: clamp(1.08rem, 5.1vw, 1.42rem) !important;
        font-weight: 620 !important;
        line-height: 1.17 !important;
        white-space: normal !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
      }

      #view-album-photos .album-subtitle-line {
        font-size: .66rem !important;
        letter-spacing: .02em !important;
      }

      #view-album-photos .album-format-filter {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
      }

      #view-album-photos .format-filter-select {
        height: 38px !important;
        min-height: 38px !important;
        min-width: 0 !important;
        border-radius: 12px !important;
        padding-left: 12px !important;
      }

      #view-album-photos .format-filter-labels {
        width: 100% !important;
        justify-content: space-between !important;
        gap: 8px !important;
      }

      #view-album-photos .format-filter-kicker {
        font-size: .50rem !important;
      }

      #view-album-photos .format-filter-current {
        font-size: .62rem !important;
        text-align: right !important;
      }

      #view-album-photos .format-filter-menu {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 14px !important;
      }
    }

    @media (max-width: 420px) {
      #view-album-photos .content-wrapper {
        padding-left: 14px !important;
        padding-right: 14px !important;
      }
      #view-album-photos .section-header.album-header {
        grid-template-columns: 36px minmax(0, 1fr) 36px !important;
        gap: 10px !important;
      }
      #view-album-photos .btn-back,
      #view-album-photos .album-share-btn {
        width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
      }
      #view-album-photos .album-subtitle-line {
        display: none !important;
      }
      #view-album-photos .format-filter-select {
        height: 36px !important;
        min-height: 36px !important;
      }
    }


/* Extracted from index1.php  */
/* ============================================================
       THF Album Header - Quiet Premium v3
       Ziel: Fotos im Fokus, Header wie Werkzeugleiste statt Werbeheadline.
       ============================================================ */
    #view-album-photos .section-header.album-header {
      display: grid !important;
      grid-template-columns: auto minmax(0, 1fr) auto auto !important;
      align-items: center !important;
      gap: 10px !important;
      padding: 13px 0 14px !important;
      margin: 0 0 16px !important;
      border-bottom: 1px solid rgba(255,255,255,.085) !important;
      overflow: visible !important;
      min-height: 58px !important;
    }

    #view-album-photos .album-title-row { display: contents !important; }

    #view-album-photos .album-title-stack {
      grid-column: 2 !important;
      display: block !important;
      min-width: 0 !important;
      align-self: center !important;
    }

    #view-album-photos .album-subtitle-line { display: none !important; }

    #view-album-photos .album-title-stack .section-title,
    #view-album-photos #albumTitle {
      margin: 0 !important;
      max-width: 100% !important;
      font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
      font-size: clamp(1.02rem, 1.08vw, 1.34rem) !important;
      line-height: 1.22 !important;
      font-weight: 560 !important;
      letter-spacing: -.012em !important;
      color: rgba(255,255,255,.92) !important;
      white-space: nowrap !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      text-wrap: normal !important;
    }

    #view-album-photos .btn-back {
      grid-column: 1 !important;
      height: 32px !important;
      min-height: 32px !important;
      padding: 0 11px !important;
      gap: 6px !important;
      border-radius: 999px !important;
      border: 1px solid rgba(255,255,255,.12) !important;
      background: rgba(255,255,255,.035) !important;
      color: rgba(255,255,255,.72) !important;
      box-shadow: none !important;
      font-size: .58rem !important;
      font-weight: 760 !important;
      letter-spacing: .075em !important;
      text-transform: uppercase !important;
    }

    #view-album-photos .btn-back svg {
      width: 14px !important;
      height: 14px !important;
      stroke-width: 2.1 !important;
    }

    #view-album-photos .btn-back:hover {
      background: rgba(255,255,255,.065) !important;
      border-color: rgba(255,255,255,.20) !important;
      color: #fff !important;
      transform: translateY(-1px) !important;
    }

    #view-album-photos .album-share-btn {
      grid-column: 3 !important;
      width: 32px !important;
      height: 32px !important;
      min-width: 32px !important;
      border-radius: 999px !important;
      border: 1px solid rgba(255,255,255,.12) !important;
      background: rgba(255,255,255,.035) !important;
      color: rgba(255,255,255,.72) !important;
      box-shadow: none !important;
    }

    #view-album-photos .album-share-btn svg {
      width: 15px !important;
      height: 15px !important;
      stroke-width: 2.05 !important;
    }

    #view-album-photos .album-share-btn:hover {
      background: rgba(43,124,255,.10) !important;
      border-color: rgba(43,124,255,.32) !important;
      color: #fff !important;
      transform: translateY(-1px) !important;
    }

    #view-album-photos .album-format-filter {
      grid-column: 4 !important;
      justify-self: end !important;
      position: relative !important;
      z-index: 50000 !important;
      width: auto !important;
    }

    #view-album-photos .format-filter-select {
      height: 32px !important;
      min-height: 32px !important;
      min-width: 178px !important;
      max-width: 230px !important;
      padding: 0 4px 0 11px !important;
      gap: 8px !important;
      border-radius: 999px !important;
      border: 1px solid rgba(255,255,255,.12) !important;
      background: rgba(255,255,255,.035) !important;
      color: rgba(255,255,255,.82) !important;
      box-shadow: none !important;
      backdrop-filter: blur(14px) !important;
      -webkit-backdrop-filter: blur(14px) !important;
    }

    #view-album-photos .format-filter-select:hover,
    #view-album-photos .format-filter-select[aria-expanded="true"] {
      background: rgba(255,255,255,.07) !important;
      border-color: rgba(255,255,255,.20) !important;
      box-shadow: 0 18px 48px rgba(0,0,0,.36) !important;
      transform: none !important;
    }

    #view-album-photos .format-filter-select:focus-visible,
    #view-album-photos .format-filter-option:focus-visible {
      outline: none !important;
      border-color: rgba(74, 139, 255, .55) !important;
      box-shadow: 0 0 0 3px rgba(43,124,255,.18), 0 18px 48px rgba(0,0,0,.34) !important;
    }

    #view-album-photos .format-filter-labels {
      display: flex !important;
      align-items: center !important;
      gap: 6px !important;
      min-width: 0 !important;
      white-space: nowrap !important;
    }

    #view-album-photos .format-filter-kicker {
      font-size: .47rem !important;
      font-weight: 800 !important;
      letter-spacing: .13em !important;
      color: rgba(255,255,255,.34) !important;
      line-height: 1 !important;
      text-transform: uppercase !important;
    }

    #view-album-photos .format-filter-kicker::after { content: ':' !important; margin-left: 1px !important; }

    #view-album-photos .format-filter-current {
      min-width: 0 !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      font-size: .58rem !important;
      font-weight: 800 !important;
      letter-spacing: .065em !important;
      color: rgba(255,255,255,.88) !important;
      line-height: 1 !important;
      text-transform: uppercase !important;
    }

    #view-album-photos .format-filter-select-icon {
      width: 24px !important;
      height: 24px !important;
      min-width: 24px !important;
      border-radius: 999px !important;
      background: rgba(255,255,255,.055) !important;
    }

    #view-album-photos .format-filter-select-icon svg {
      width: 13px !important;
      height: 13px !important;
    }

    #view-album-photos .format-filter-mobile-icon {
      display: none !important;
    }

    #view-album-photos .format-filter-menu {
      top: calc(100% + 8px) !important;
      right: 0 !important;
      left: auto !important;
      width: 250px !important;
      z-index: 999999 !important;
      border-radius: 15px !important;
      border: 1px solid rgba(255,255,255,.14) !important;
      background: rgba(14,14,16,.985) !important;
      box-shadow: 0 24px 70px rgba(0,0,0,.58) !important;
      overflow: hidden !important;
    }

    #view-album-photos .format-filter-option {
      min-height: 42px !important;
      padding: 10px 12px !important;
    }

    #view-album-photos .format-filter-option-main {
      font-size: .72rem !important;
      letter-spacing: .055em !important;
    }

    #view-album-photos .format-filter-option-sub {
      font-size: .61rem !important;
    }

    #view-album-photos #photoGrid .thf-empty-state {
      grid-column: 1 / -1 !important;
      width: 100% !important;
      max-width: none !important;
      min-height: 170px !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      justify-content: center !important;
      padding: 34px clamp(18px, 4vw, 48px) !important;
    }

    #view-album-photos #photoGrid .thf-empty-state p {
      max-width: 720px !important;
      margin-left: auto !important;
      margin-right: auto !important;
    }

    #view-album-photos .album-stats-note {
      display: inline-flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 9px;
      width: max-content;
      max-width: 100%;
      margin: -2px 0 16px;
      padding: 8px 11px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.10);
      background: rgba(255,255,255,.032);
      color: rgba(255,255,255,.66);
      font-size: 12px;
      line-height: 1.2;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
    }

    #view-album-photos .album-stats-note[hidden] {
      display: none !important;
    }

    #view-album-photos .album-stats-note strong {
      color: rgba(255,255,255,.90);
      font-weight: 850;
    }

    #view-album-photos .album-stats-kicker {
      font-family: "Montserrat", sans-serif;
      font-size: 9px;
      font-weight: 900;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: rgba(255,255,255,.40);
    }

    #view-album-photos .album-stats-dot {
      width: 3px;
      height: 3px;
      border-radius: 999px;
      background: rgba(255,255,255,.25);
    }

    #view-album-photos .album-sponsor-banner {
      display: flex;
      align-items: center;
      gap: 14px;
      margin: 0 0 16px;
      padding: 12px 14px;
      border: 1px solid rgba(90,150,255,.22);
      border-radius: 12px;
      background: linear-gradient(135deg, rgba(36,80,150,.16), rgba(255,255,255,.035));
      color: rgba(255,255,255,.78);
    }

    #view-album-photos .album-sponsor-banner[hidden] {
      display: none !important;
    }

    #view-album-photos .album-sponsor-kicker {
      flex: 0 0 auto;
      font: 900 10px/1 "Montserrat", sans-serif;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: #b8d2ff;
    }

    #view-album-photos .album-sponsor-copy {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      font-size: 13px;
      line-height: 1.35;
    }

    #view-album-photos .album-sponsor-item {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-height: 26px;
      padding: 3px 8px 3px 4px;
      border-radius: 999px;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.08);
      color: #fff;
      font-weight: 800;
    }

    #view-album-photos .album-sponsor-logo {
      width: 28px;
      height: 20px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      border-radius: 6px;
      background: rgba(255,255,255,.92);
    }

    #view-album-photos .album-sponsor-logo img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }

    #view-album-photos .album-sponsor-name a {
      color: inherit;
      text-decoration: none;
    }

    @media (min-width: 761px) {
      #view-album-photos .section-header.album-header {
        grid-template-columns: auto minmax(0, 1fr) auto auto auto !important;
      }

      #view-album-photos .album-stats-note {
        grid-column: 5 !important;
        justify-self: end !important;
        align-self: center !important;
        margin: 0 !important;
        min-height: 32px !important;
        max-width: none !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
      }
    }

    @media (max-width: 760px) {
      #view-album-photos .album-sponsor-banner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
      }
    }

    #view-photo-detail .stage-photo-stats {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 9px;
      margin: 0 0 2px;
      padding: 10px 12px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,.10);
      background: rgba(255,255,255,.035);
      color: rgba(255,255,255,.66);
      font-size: .78rem;
      line-height: 1.2;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
    }

    #view-photo-detail .stage-photo-stats[hidden] {
      display: none !important;
    }

    #view-photo-detail .stage-photo-stats strong {
      color: rgba(255,255,255,.92);
      font-weight: 850;
    }

    #view-photo-detail .stage-photo-stats-dot {
      width: 3px;
      height: 3px;
      border-radius: 999px;
      background: rgba(255,255,255,.25);
    }

    #view-photo-detail .stage-photo-status {
      display: inline-flex;
      align-items: center;
      min-height: 22px;
      padding: 0 8px;
      border-radius: 999px;
      border: 1px solid rgba(43,124,255,.28);
      background: rgba(43,124,255,.12);
      color: rgba(218,230,255,.94);
      font-family: "Montserrat", sans-serif;
      font-size: .62rem;
      font-weight: 850;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .eibner-checkout-check {
      margin: 0 0 18px;
      padding: 15px;
      border-radius: 14px;
      border: 1px solid rgba(59,130,246,.24);
      background: linear-gradient(135deg, rgba(59,130,246,.10), rgba(255,255,255,.025));
      color: rgba(255,255,255,.82);
    }

    .eibner-checkout-check[hidden] {
      display: none !important;
    }

    .eibner-checkout-kicker {
      margin-bottom: 7px;
      color: rgba(147,197,253,.86);
      font-family: "Montserrat", sans-serif;
      font-size: .64rem;
      font-weight: 900;
      letter-spacing: .16em;
      text-transform: uppercase;
    }

    .eibner-checkout-check strong {
      display: block;
      margin-bottom: 5px;
      color: rgba(255,255,255,.95);
      font-size: .98rem;
      line-height: 1.25;
    }

    .eibner-checkout-check p {
      margin: 0 0 12px;
      color: rgba(255,255,255,.64);
      font-size: .86rem;
      line-height: 1.5;
    }

    .eibner-checkout-options {
      display: grid;
      gap: 9px;
    }

    .eibner-checkout-options label {
      display: flex;
      align-items: center;
      gap: 10px;
      min-height: 42px;
      padding: 10px 12px;
      border-radius: 11px;
      border: 1px solid rgba(255,255,255,.10);
      background: rgba(0,0,0,.16);
      cursor: pointer;
    }

    .eibner-checkout-options input {
      width: 17px;
      height: 17px;
      accent-color: var(--accent-blue);
      flex: 0 0 auto;
    }

    .eibner-checkout-options span {
      color: rgba(255,255,255,.82);
      font-size: .84rem;
      font-weight: 750;
      line-height: 1.3;
    }

    .eibner-customer-status {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      width: fit-content;
      margin: -2px 0 14px;
      padding: 8px 11px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.12);
      background: rgba(255,255,255,.045);
      color: rgba(255,255,255,.78);
      font-family: "Montserrat", sans-serif;
      font-size: .72rem;
      font-weight: 850;
      letter-spacing: .08em;
      text-transform: uppercase;
      cursor: pointer;
    }

    .eibner-customer-status[hidden] {
      display: none !important;
    }

    .eibner-customer-status::before {
      content: "";
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: rgba(255,255,255,.42);
      box-shadow: 0 0 0 3px rgba(255,255,255,.07);
    }

    .eibner-customer-status.is-eibner {
      border-color: rgba(96,165,250,.32);
      background: rgba(59,130,246,.10);
      color: rgba(219,234,254,.96);
    }

    .eibner-customer-status.is-eibner::before {
      background: #60a5fa;
      box-shadow: 0 0 0 3px rgba(96,165,250,.16);
    }

    .eibner-customer-status.is-normal {
      border-color: rgba(74,222,128,.26);
      background: rgba(34,197,94,.08);
      color: rgba(220,252,231,.94);
    }

    .eibner-customer-status.is-normal::before {
      background: #4ade80;
      box-shadow: 0 0 0 3px rgba(74,222,128,.13);
    }

    .eibner-manual-review-hint {
      margin: -4px 0 16px;
      padding: 12px 13px;
      border-radius: 12px;
      border: 1px solid rgba(96,165,250,.26);
      background: rgba(59,130,246,.075);
      color: rgba(219,234,254,.92);
      font-size: .84rem;
      font-weight: 650;
      line-height: 1.45;
    }

    .eibner-manual-review-hint[hidden] {
      display: none !important;
    }

    .thf-stats-consent {
      position: fixed;
      left: 50%;
      bottom: 22px;
      z-index: 1000000;
      width: min(720px, calc(100vw - 32px));
      display: grid;
      grid-template-columns: minmax(0, 1fr) 150px;
      gap: 22px;
      align-items: center;
      padding: 18px;
      border-radius: 20px;
      border: 1px solid rgba(255,255,255,.12);
      background:
        radial-gradient(circle at 88% 18%, rgba(59,130,246,.18), transparent 32%),
        rgba(14,14,16,.965);
      color: rgba(255,255,255,.82);
      box-shadow: 0 26px 80px rgba(0,0,0,.52);
      transform: translateX(-50%);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
    }

    .thf-stats-consent-text {
      display: grid;
      gap: 4px;
      min-width: 0;
    }

    .thf-stats-consent-text strong {
      font-family: "Montserrat", sans-serif;
      font-size: .78rem;
      font-weight: 850;
      letter-spacing: .11em;
      text-transform: uppercase;
      color: rgba(255,255,255,.94);
    }

    .thf-stats-consent-text span {
      font-size: .86rem;
      line-height: 1.5;
      color: rgba(255,255,255,.66);
    }

    .thf-stats-consent-actions {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 9px;
      white-space: nowrap;
    }

    .thf-stats-consent-btn {
      width: 100%;
      min-height: 42px;
      padding: 0 18px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.14);
      cursor: pointer;
      color: #fff;
      font-size: .72rem;
      font-weight: 850;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .thf-stats-consent-btn.primary {
      border-color: rgba(59,130,246,.55);
      background: linear-gradient(135deg, #3b82f6, #4f46e5);
      box-shadow: 0 16px 38px rgba(59,130,246,.28);
    }

    .thf-stats-consent-btn.secondary {
      background: rgba(255,255,255,.04);
    }

    .thf-stats-consent-subactions {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      width: 100%;
    }

    .thf-stats-consent-link {
      color: rgba(255,255,255,.46);
      font-size: .62rem;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
      text-decoration: none;
    }

    .thf-stats-consent-link.as-button {
      appearance: none;
      border: 0;
      background: transparent;
      padding: 0;
      cursor: pointer;
      font-family: "Montserrat", sans-serif;
    }

    .thf-stats-consent-link:hover {
      color: rgba(255,255,255,.76);
    }

    /* Mobile: sehr ruhig, ein kompakter Kopfbereich ohne große CTA-Flächen */
    @media (max-width: 760px) {
      .thf-stats-consent {
        grid-template-columns: 1fr;
        bottom: 14px;
        gap: 13px;
      }

      .thf-stats-consent-actions {
        align-items: stretch;
        white-space: normal;
      }

      .thf-stats-consent-subactions {
        justify-content: center;
      }

      #view-album-photos .album-stats-note {
        display: none !important;
      }

      #view-album-photos .content-wrapper {
        width: 100% !important;
        max-width: none !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
      }

      #view-album-photos .section-header.album-header {
        grid-template-columns: 34px minmax(0, 1fr) 34px 34px !important;
        grid-template-rows: auto !important;
        column-gap: 10px !important;
        padding: 12px 0 14px !important;
        margin-bottom: 14px !important;
        min-height: 0 !important;
      }

      #view-album-photos .btn-back,
      #view-album-photos .album-share-btn,
      #view-album-photos .format-filter-select {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 999px !important;
      }

      #view-album-photos .btn-back span { display: none !important; }
      #view-album-photos .btn-back svg,
      #view-album-photos .album-share-btn svg,
      #view-album-photos .format-filter-mobile-icon svg { width: 16px !important; height: 16px !important; }

      #view-album-photos .album-title-stack {
        grid-column: 2 !important;
        align-self: center !important;
        min-width: 0 !important;
      }

      #view-album-photos .album-title-stack .section-title,
      #view-album-photos #albumTitle {
        font-size: clamp(1.05rem, 4.7vw, 1.28rem) !important;
        line-height: 1.18 !important;
        font-weight: 560 !important;
        letter-spacing: -.01em !important;
        white-space: normal !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-align: left !important;
      }

      #view-album-photos .album-format-filter {
        grid-column: 4 !important;
        grid-row: 1 !important;
        width: 34px !important;
        justify-self: end !important;
        align-self: center !important;
      }

      #view-album-photos .format-filter-select {
        border-radius: 999px !important;
        background: rgba(255,255,255,.035) !important;
      }

      #view-album-photos .format-filter-labels {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        overflow: hidden !important;
        clip: rect(0 0 0 0) !important;
        white-space: nowrap !important;
      }

      #view-album-photos .format-filter-select-icon {
        display: none !important;
      }

      #view-album-photos .format-filter-mobile-icon {
        display: inline-grid !important;
        place-items: center !important;
        color: rgba(255,255,255,.72) !important;
      }

      #view-album-photos .format-filter-menu {
        width: min(260px, calc(100vw - 26px)) !important;
        left: auto !important;
        right: 0 !important;
        top: calc(100% + 7px) !important;
        border-radius: 13px !important;
      }
    }

    @media (max-width: 420px) {
      #view-album-photos .content-wrapper {
        padding-left: 13px !important;
        padding-right: 13px !important;
      }

      #view-album-photos .section-header.album-header {
        grid-template-columns: 32px minmax(0, 1fr) 32px 32px !important;
        column-gap: 9px !important;
      }

      #view-album-photos .btn-back,
      #view-album-photos .album-share-btn,
      #view-album-photos .format-filter-select {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
      }

      #view-album-photos .album-format-filter {
        width: 32px !important;
      }

      #view-album-photos .album-title-stack .section-title,
      #view-album-photos #albumTitle {
        font-size: clamp(1rem, 4.45vw, 1.18rem) !important;
      }
    }
  

    /* Premium-Detailseite: Bildinhalt / Keywords - redaktionelle Darstellung */
    .stage-keywords-wrap {
      margin: 14px 0 18px !important;
      padding: 14px 0 0 !important;
      border-top: 1px solid rgba(255,255,255,.08) !important;
      border-bottom: 0 !important;
      background: transparent !important;
    }

    .stage-section-label {
      display: block !important;
      margin: 0 0 8px !important;
      color: rgba(255,255,255,.38) !important;
      font-size: .64rem !important;
      font-weight: 800 !important;
      letter-spacing: .17em !important;
      text-transform: uppercase !important;
      line-height: 1 !important;
    }

    .stage-section-label::after {
      display: none !important;
      content: none !important;
    }

    .stage-keywords-tags {
      display: block !important;
      margin: 0 !important;
      color: rgba(255,255,255,.72) !important;
      font-size: .86rem !important;
      font-weight: 450 !important;
      line-height: 1.65 !important;
      letter-spacing: .005em !important;
    }

    .stage-keyword-pill {
      display: inline !important;
      min-height: 0 !important;
      padding: 0 !important;
      border: 0 !important;
      border-radius: 0 !important;
      background: transparent !important;
      color: inherit !important;
      font: inherit !important;
      line-height: inherit !important;
      letter-spacing: inherit !important;
      box-shadow: none !important;
      text-transform: none !important;
      cursor: default !important;
      pointer-events: none !important;
      white-space: normal !important;
    }

    .stage-keyword-pill::after {
      content: ' · ' !important;
      color: rgba(255,255,255,.26) !important;
      padding: 0 3px !important;
    }

    .stage-keyword-pill:last-child::after {
      content: '' !important;
      padding: 0 !important;
    }

    .stage-keyword-pill:first-child {
      border: 0 !important;
      background: transparent !important;
      color: rgba(255,255,255,.86) !important;
      font-weight: 650 !important;
    }

    .stage-keyword-pill.is-hidden {
      display: none !important;
    }

    .stage-keywords-toggle {
      display: none !important;
    }

    @media (max-width: 780px) {
      .stage-keywords-wrap {
        margin: 12px 0 16px !important;
        padding-top: 12px !important;
      }

      .stage-keywords-tags {
        font-size: .80rem !important;
        line-height: 1.55 !important;
      }
    }


    /* THF Startseite VNext: ruhige Premium-Mediathek */
    #view-home .hero-header.thf-hero-v2 {
      position: relative !important;
      min-height: clamp(360px, 46vw, 560px) !important;
      padding: clamp(60px, 8vw, 105px) 20px clamp(54px, 7vw, 92px) !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      justify-content: center !important;
      text-align: center !important;
      overflow: hidden !important;
      border-bottom: 1px solid rgba(255,255,255,.08) !important;
      background:
        radial-gradient(circle at 50% 18%, rgba(43,124,255,.18), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0) 64%) !important;
    }

    #view-home .hero-header.thf-hero-v2::before {
      content: '' !important;
      position: absolute !important;
      inset: 0 !important;
      background:
        linear-gradient(90deg, rgba(10,10,11,.96) 0%, rgba(10,10,11,.58) 50%, rgba(10,10,11,.96) 100%),
        var(--home-hero-image, none) center/cover no-repeat !important;
      opacity: .46 !important;
      transform: scale(1.02) !important;
      z-index: 0 !important;
    }

    #view-home .hero-header.thf-hero-v2::after {
      content: '' !important;
      position: absolute !important;
      inset: 0 !important;
      background: linear-gradient(180deg, rgba(8,8,9,.12), rgba(8,8,9,.92)) !important;
      z-index: 1 !important;
    }

    #view-home .hero-header.thf-hero-v2 > * {
      position: relative !important;
      z-index: 2 !important;
    }

    #view-home .hero-eyebrow {
      display: inline-flex !important;
      align-items: center !important;
      gap: 9px !important;
      margin-bottom: 18px !important;
      color: rgba(255,255,255,.58) !important;
      font-size: .68rem !important;
      font-weight: 800 !important;
      letter-spacing: .22em !important;
      text-transform: uppercase !important;
    }

    #view-home .hero-title-main {
      max-width: 920px !important;
      margin: 0 auto !important;
      font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
      font-size: clamp(2rem, 5vw, 4.7rem) !important;
      line-height: .98 !important;
      font-weight: 720 !important;
      letter-spacing: -.055em !important;
      color: rgba(255,255,255,.96) !important;
      text-transform: none !important;
    }

    #view-home .hero-highlight-text {
      display: inline !important;
      color: rgba(255,255,255,.96) !important;
      background: none !important;
      -webkit-text-fill-color: currentColor !important;
    }

    #view-home .thf-hero-subline {
      max-width: 650px !important;
      margin-top: 20px !important;
      color: rgba(255,255,255,.68) !important;
      font-size: clamp(.98rem, 1.28vw, 1.14rem) !important;
      line-height: 1.62 !important;
    }

    #view-home .thf-hero-actions { margin-top: 26px !important; }
    #view-home .thf-hero-action {
      min-height: 38px !important;
      padding: 0 16px !important;
      border-radius: 999px !important;
      font-size: .66rem !important;
      letter-spacing: .12em !important;
      box-shadow: none !important;
    }
    #view-home .thf-hero-action.primary {
      background: rgba(255,255,255,.92) !important;
      border-color: rgba(255,255,255,.92) !important;
      color: #101012 !important;
    }
    #view-home .thf-hero-action.secondary {
      background: rgba(255,255,255,.045) !important;
      border-color: rgba(255,255,255,.14) !important;
      color: rgba(255,255,255,.82) !important;
    }

    #view-home .thf-hero-trust {
      margin-top: 20px !important;
      gap: 18px !important;
      color: rgba(255,255,255,.50) !important;
      font-size: .72rem !important;
    }

    #view-home .hero-spacer { display: none !important; }

    .home-vnext-shell {
      margin-top: clamp(30px, 5vw, 62px) !important;
    }

    .home-vnext-topbar {
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) auto !important;
      gap: 24px !important;
      align-items: end !important;
      margin-bottom: 20px !important;
    }

    .home-vnext-kicker {
      display: block !important;
      margin-bottom: 8px !important;
      color: rgba(255,255,255,.42) !important;
      font-size: .66rem !important;
      font-weight: 800 !important;
      letter-spacing: .20em !important;
      text-transform: uppercase !important;
    }

    .home-vnext-title {
      margin: 0 !important;
      color: rgba(255,255,255,.92) !important;
      font-size: clamp(1.24rem, 2vw, 1.85rem) !important;
      line-height: 1.2 !important;
      font-weight: 620 !important;
      letter-spacing: -.025em !important;
    }

    .home-vnext-tabs {
      display: inline-flex !important;
      gap: 6px !important;
      padding: 5px !important;
      border-radius: 999px !important;
      border: 1px solid rgba(255,255,255,.10) !important;
      background: rgba(255,255,255,.035) !important;
    }

    .home-vnext-tabs button {
      appearance: none !important;
      border: 0 !important;
      border-radius: 999px !important;
      background: transparent !important;
      color: rgba(255,255,255,.55) !important;
      padding: 8px 12px !important;
      font-size: .62rem !important;
      font-weight: 800 !important;
      letter-spacing: .10em !important;
      text-transform: uppercase !important;
      cursor: pointer !important;
    }

    .home-vnext-tabs button.active {
      background: rgba(255,255,255,.12) !important;
      color: rgba(255,255,255,.92) !important;
    }

    .home-featured-grid {
      display: grid !important;
      grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr) !important;
      gap: 18px !important;
      margin-bottom: 34px !important;
    }

    .home-featured-card {
      position: relative !important;
      display: block !important;
      min-height: clamp(330px, 42vw, 520px) !important;
      overflow: hidden !important;
      border-radius: 24px !important;
      border: 1px solid rgba(255,255,255,.11) !important;
      background: rgba(255,255,255,.035) !important;
      cursor: pointer !important;
      box-shadow: 0 28px 90px rgba(0,0,0,.35) !important;
    }

    .home-featured-card img {
      width: 100% !important;
      height: 100% !important;
      min-height: inherit !important;
      object-fit: cover !important;
      display: block !important;
      transform: scale(1.01) !important;
      transition: transform .6s ease, filter .6s ease !important;
    }

    .home-featured-card:hover img { transform: scale(1.045) !important; filter: brightness(1.05) !important; }

    .home-featured-card::after {
      content: '' !important;
      position: absolute !important;
      inset: 0 !important;
      background: linear-gradient(180deg, rgba(0,0,0,.04) 20%, rgba(0,0,0,.78) 100%) !important;
      pointer-events: none !important;
    }

    .home-featured-content {
      position: absolute !important;
      left: clamp(20px, 3vw, 34px) !important;
      right: clamp(20px, 3vw, 34px) !important;
      bottom: clamp(20px, 3vw, 32px) !important;
      z-index: 2 !important;
    }

    .home-featured-label {
      display: inline-flex !important;
      margin-bottom: 12px !important;
      padding: 7px 10px !important;
      border-radius: 999px !important;
      background: rgba(255,255,255,.12) !important;
      color: rgba(255,255,255,.78) !important;
      font-size: .58rem !important;
      font-weight: 800 !important;
      letter-spacing: .13em !important;
      text-transform: uppercase !important;
      backdrop-filter: blur(14px) !important;
    }

    .home-featured-title {
      max-width: 760px !important;
      margin: 0 !important;
      color: rgba(255,255,255,.96) !important;
      font-size: clamp(1.45rem, 3.1vw, 3rem) !important;
      line-height: 1.04 !important;
      font-weight: 680 !important;
      letter-spacing: -.045em !important;
    }

    .home-featured-meta {
      display: flex !important;
      flex-wrap: wrap !important;
      gap: 10px !important;
      margin-top: 13px !important;
      color: rgba(255,255,255,.66) !important;
      font-size: .82rem !important;
      font-weight: 560 !important;
    }

    .home-side-panel {
      display: grid !important;
      gap: 12px !important;
      align-content: stretch !important;
    }

    .home-small-card {
      position: relative !important;
      display: grid !important;
      grid-template-columns: 118px minmax(0, 1fr) !important;
      gap: 13px !important;
      min-height: 122px !important;
      padding: 10px !important;
      border-radius: 18px !important;
      border: 1px solid rgba(255,255,255,.10) !important;
      background: rgba(255,255,255,.035) !important;
      cursor: pointer !important;
      transition: background .18s ease, border-color .18s ease, transform .18s ease !important;
    }

    .home-small-card:hover { background: rgba(255,255,255,.058) !important; border-color: rgba(255,255,255,.18) !important; transform: translateY(-1px) !important; }

    .home-small-card img {
      width: 118px !important;
      height: 100% !important;
      min-height: 102px !important;
      border-radius: 13px !important;
      object-fit: cover !important;
    }

    .home-small-content {
      min-width: 0 !important;
      display: flex !important;
      flex-direction: column !important;
      justify-content: center !important;
      padding-right: 4px !important;
    }

    .home-small-title {
      color: rgba(255,255,255,.88) !important;
      font-size: .94rem !important;
      line-height: 1.25 !important;
      font-weight: 620 !important;
      letter-spacing: -.01em !important;
    }

    .home-small-meta {
      margin-top: 8px !important;
      color: rgba(255,255,255,.45) !important;
      font-size: .72rem !important;
      line-height: 1.4 !important;
    }

    #view-home #grid-title {
      font-size: clamp(1.05rem, 1.6vw, 1.42rem) !important;
      font-weight: 620 !important;
      letter-spacing: -.018em !important;
    }

    #view-home #albumGrid.grid {
      gap: clamp(16px, 2vw, 24px) !important;
    }

    #view-home #albumGrid .card {
      border-radius: 20px !important;
      border-color: rgba(255,255,255,.10) !important;
      background: rgba(255,255,255,.028) !important;
      box-shadow: none !important;
    }

    #view-home #albumGrid .card-figure { border-radius: 20px 20px 0 0 !important; }
    #view-home #albumGrid .card-title {
      font-size: .96rem !important;
      line-height: 1.24 !important;
      font-weight: 610 !important;
      letter-spacing: -.012em !important;
    }

    .home-info-strip {
      display: grid !important;
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
      gap: 14px !important;
      margin: 10px 0 40px !important;
    }

    .home-info-item {
      padding: 18px !important;
      border-radius: 18px !important;
      border: 1px solid rgba(255,255,255,.09) !important;
      background: rgba(255,255,255,.026) !important;
    }

    .home-info-item strong {
      display: block !important;
      color: rgba(255,255,255,.86) !important;
      font-size: .84rem !important;
      margin-bottom: 7px !important;
    }

    .home-info-item span {
      display: block !important;
      color: rgba(255,255,255,.50) !important;
      font-size: .77rem !important;
      line-height: 1.5 !important;
    }

    @media (max-width: 980px) {
      .home-vnext-topbar { grid-template-columns: 1fr !important; align-items: start !important; }
      .home-vnext-tabs { max-width: 100% !important; overflow-x: auto !important; justify-self: start !important; }
      .home-featured-grid { grid-template-columns: 1fr !important; }
      .home-side-panel { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
      .home-small-card { grid-template-columns: 1fr !important; }
      .home-small-card img { width: 100% !important; height: 120px !important; min-height: 120px !important; }
    }

    @media (max-width: 700px) {
      #view-home .hero-header.thf-hero-v2 {
        min-height: 390px !important;
        padding: 58px 18px 48px !important;
        justify-content: flex-end !important;
        text-align: left !important;
        align-items: flex-start !important;
      }
      #view-home .hero-title-main {
        font-size: clamp(2.15rem, 11vw, 3.4rem) !important;
        line-height: 1.02 !important;
        letter-spacing: -.055em !important;
      }
      #view-home .thf-hero-subline { margin-left: 0 !important; margin-right: 0 !important; font-size: .94rem !important; }
      #view-home .thf-hero-actions { width: 100% !important; justify-content: flex-start !important; padding: 0 !important; }
      #view-home .thf-hero-action { width: auto !important; min-height: 36px !important; padding: 0 13px !important; }
      .home-vnext-shell { margin-top: 28px !important; }
      .home-vnext-tabs { width: 100% !important; border-radius: 16px !important; }
      .home-vnext-tabs button { flex: 1 0 auto !important; padding: 8px 10px !important; }
      .home-featured-card { min-height: 360px !important; border-radius: 20px !important; }
      .home-featured-title { font-size: clamp(1.55rem, 8vw, 2.35rem) !important; }
      .home-side-panel { grid-template-columns: 1fr !important; }
      .home-small-card { grid-template-columns: 96px minmax(0,1fr) !important; min-height: 104px !important; }
      .home-small-card img { width: 96px !important; height: 84px !important; min-height: 84px !important; }
      .home-info-strip { grid-template-columns: 1fr !important; margin-bottom: 30px !important; }
    }


/* FINAL THF HOME: kein Hero, Featured-Bereich als ruhiger Einstieg */
#view-home .hero-header.thf-hero-v2,
#view-home .hero-spacer { display: none !important; }
#view-home .home-vnext-shell { margin-top: 0 !important; padding-top: 34px !important; }
#view-home .home-vnext-topbar {
  width: min(1500px, calc(100% - 56px)) !important;
  margin: 0 auto 22px !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 24px !important;
}
#view-home .home-vnext-title {
  font-size: clamp(1.55rem, 2.2vw, 2.25rem) !important;
  font-weight: 660 !important;
  letter-spacing: -.035em !important;
}
#view-home #homeFeatured.home-featured-grid {
  display: grid !important;
  width: min(1500px, calc(100% - 56px)) !important;
  margin: 0 auto 34px !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr) !important;
}
#view-home .home-featured-card {
  min-height: clamp(300px, 34vw, 460px) !important;
  border-radius: 22px !important;
  box-shadow: none !important;
}
#view-home .home-featured-title {
  font-size: clamp(1.5rem, 2.6vw, 3rem) !important;
  font-weight: 680 !important;
}
@media (max-width: 760px) {
  #view-home .home-vnext-shell { padding-top: 20px !important; }
  #view-home .home-vnext-topbar {
    width: calc(100% - 28px) !important;
    display: block !important;
    margin-bottom: 16px !important;
  }
  #view-home .home-vnext-tabs {
    margin-top: 14px !important;
    max-width: 100% !important;
    overflow-x: auto !important;
  }
  #view-home #homeFeatured.home-featured-grid {
    width: calc(100% - 28px) !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-bottom: 24px !important;
  }
  #view-home .home-featured-card { min-height: 300px !important; border-radius: 18px !important; }
  #view-home .home-side-panel { grid-template-columns: 1fr !important; }
}

/* HOME REDESIGN: kein Hero, keine Kategorie-Filter, nur Featured + Grid */
#view-home .hero-header,
#view-home .hero-spacer,
#view-home .home-vnext-topbar,
#view-home .home-vnext-tabs,
#view-home .home-vnext-kicker,
#view-home .home-vnext-title {
  display: none !important;
}
#view-home .home-featured-only {
  padding-top: clamp(18px, 2.4vw, 34px) !important;
}
#view-home #homeFeatured.home-featured-grid {
  margin-top: 0 !important;
}
#view-home .home-side-panel .home-small-card img {
  width: 132px !important;
  min-width: 132px !important;
  height: 100% !important;
  object-fit: cover !important;
}
#view-home .home-small-card.is-missing-thumb::before {
  content: '';
  display: block;
  width: 132px;
  min-width: 132px;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
}


/* THF FIX: Featured-Bereich exakt an den Kanten von „Weitere Galerien“ ausrichten */
#view-home .home-featured-only,
#view-home > .scroll-content > .content-wrapper:not(.home-featured-only) {
  width: min(1500px, calc(100% - 56px)) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

#view-home #homeFeatured.home-featured-grid {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

#view-home .home-featured-only #homeFeatured.home-featured-grid {
  margin-top: 0 !important;
  margin-bottom: 30px !important;
}

@media (max-width: 760px) {
  #view-home .home-featured-only,
  #view-home > .scroll-content > .content-wrapper:not(.home-featured-only) {
    width: calc(100% - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #view-home #homeFeatured.home-featured-grid {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* Extracted from index1.php  */
/* THF Hotfix: Mobile Featured-Nebenalben sauber, bündig und ohne Textüberlagerung */
@media (max-width: 760px) {
  #view-home .home-featured-only,
  #view-home > .scroll-content > .content-wrapper:not(.home-featured-only) {
    width: calc(100% - 28px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #view-home #homeFeatured.home-featured-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #view-home .home-side-panel {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  #view-home .home-small-card,
  #view-home .home-side-panel .home-small-card {
    width: 100% !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    min-height: 104px !important;
    padding: 9px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: rgba(255,255,255,.034) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
  }

  #view-home .home-small-card img,
  #view-home .home-side-panel .home-small-card img {
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
    height: 86px !important;
    min-height: 86px !important;
    max-height: 86px !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: 11px !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  #view-home .home-small-content {
    grid-column: 2 !important;
    min-width: 0 !important;
    width: auto !important;
    padding: 0 6px 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  #view-home .home-small-title {
    width: 100% !important;
    font-size: .86rem !important;
    line-height: 1.22 !important;
    font-weight: 650 !important;
    letter-spacing: -.01em !important;
    color: rgba(255,255,255,.92) !important;
    overflow-wrap: anywhere !important;
    margin: 0 !important;
  }

  #view-home .home-small-meta {
    width: 100% !important;
    margin-top: 5px !important;
    font-size: .68rem !important;
    line-height: 1.25 !important;
    color: rgba(255,255,255,.48) !important;
    white-space: normal !important;
  }

  #view-home .home-small-card.is-missing-thumb::before {
    width: 88px !important;
    min-width: 88px !important;
    height: 86px !important;
    border-radius: 11px !important;
  }
}


/* THF Plattform-Ausbau: Meine Auswahl Dock + ruhige Lizenzhinweise */
.thf-selection-dock{
  position:fixed;
  left:50%;
  bottom:24px;
  transform:translate(-50%, 140%);
  z-index:9998;
  width:min(720px, calc(100vw - 32px));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:12px 14px 12px 18px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:22px;
  background:linear-gradient(180deg, rgba(28,28,30,.94), rgba(13,13,14,.96));
  box-shadow:0 24px 80px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter:blur(18px);
  opacity:0;
  pointer-events:none;
  transition:transform .28s ease, opacity .28s ease;
}
.thf-selection-dock.is-visible{
  transform:translate(-50%, 0);
  opacity:1;
  pointer-events:auto;
}
.thf-selection-copy{min-width:0;display:flex;flex-direction:column;gap:2px;}
.thf-selection-kicker{
  font-size:.66rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,.44);
  font-weight:800;
}
.thf-selection-title{
  font-size:.94rem;
  color:rgba(255,255,255,.92);
  font-weight:720;
  letter-spacing:.01em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.thf-selection-sub{
  font-size:.74rem;
  color:rgba(255,255,255,.52);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.thf-selection-dismiss{
  position:absolute;
  top:-13px;
  right:-13px;
  width:32px;
  height:32px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.28);
  background:linear-gradient(180deg, rgba(36,36,38,.98), rgba(14,14,16,.98));
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  flex:0 0 auto;
  box-shadow:0 12px 34px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.10);
  transition:background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.thf-selection-dismiss:hover{background:linear-gradient(180deg, rgba(62,62,64,.98), rgba(24,24,26,.98));border-color:rgba(255,255,255,.48);color:#fff;transform:translateY(-1px) scale(1.02);}
.thf-selection-dismiss svg{width:17px;height:17px;stroke-width:2.35;}
.thf-selection-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto;}
.thf-selection-btn{
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  min-height:38px;
  padding:0 15px;
  background:rgba(255,255,255,.055);
  color:rgba(255,255,255,.88);
  font-size:.72rem;
  font-weight:850;
  letter-spacing:.11em;
  text-transform:uppercase;
  cursor:pointer;
  transition:background .18s ease, border-color .18s ease, transform .18s ease;
}
.thf-selection-btn:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.24);transform:translateY(-1px);}
.thf-selection-btn.primary{background:#ffffff;color:#111;border-color:#ffffff;}
.thf-selection-btn.primary:hover{background:rgba(255,255,255,.9);}
.stage-usage-panel{
  margin:16px 0 0;
  padding:14px 0 0;
  border-top:1px solid rgba(255,255,255,.10);
}
.stage-usage-grid{display:grid;grid-template-columns:1fr;gap:8px;margin-top:9px;}
.stage-usage-item{
  display:flex;align-items:flex-start;gap:10px;
  padding:10px 11px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:13px;
  background:rgba(255,255,255,.035);
}
.stage-usage-dot{width:7px;height:7px;border-radius:999px;background:rgba(255,255,255,.48);margin-top:7px;flex:0 0 auto;}
.stage-usage-text strong{display:block;font-size:.80rem;color:rgba(255,255,255,.88);font-weight:720;line-height:1.25;}
.stage-usage-text span{display:block;margin-top:2px;font-size:.72rem;color:rgba(255,255,255,.48);line-height:1.35;}
@media (max-width: 720px){
  .thf-selection-dock{bottom:14px;width:calc(100vw - 24px);border-radius:18px;padding:11px 11px 11px 13px;gap:10px;}
  .thf-selection-kicker{font-size:.58rem;letter-spacing:.16em;}
  .thf-selection-title{font-size:.82rem;}
  .thf-selection-sub{font-size:.66rem;}
  .thf-selection-actions{gap:6px;}
  .thf-selection-btn{min-height:34px;padding:0 10px;font-size:.62rem;letter-spacing:.08em;}
  .thf-selection-dismiss{top:-12px;right:-10px;width:30px;height:30px;color:#fff;}
  .thf-selection-btn.secondary{display:none;}
  body.has-selection-dock #btnBackToTop,
  body.has-selection-dock #mobileSearchTrigger,
  body.has-selection-dock #cartTriggerMobile{bottom:88px;}
}


/* Extracted from index1.php id="thf-final-media-portal-fixes" */
/* THF Final Fix: echte linke Rubrik-Sidebar + gemeinsame Content-Kanten */
#view-home {
  --thf-page-width: min(1500px, calc(100vw - clamp(56px, 6vw, 96px)));
}
#view-home .home-topic-sidebar {
  position: fixed !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 9500 !important;
  display: block !important;
}
#view-home .home-topic-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 10px 8px 10px 6px !important;
  border-radius: 0 22px 22px 0 !important;
  background: rgba(10, 10, 12, .82) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-left: 0 !important;
  box-shadow: 18px 0 48px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.05) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}
#view-home .home-topic-btn {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: transparent !important;
  color: rgba(255,255,255,.52) !important;
  cursor: pointer !important;
  transition: background .18s ease, color .18s ease, transform .18s ease !important;
}
#view-home .home-topic-btn:hover {
  color: rgba(255,255,255,.86) !important;
  background: rgba(255,255,255,.075) !important;
  transform: translateX(2px) !important;
}
#view-home .home-topic-btn.active,
#view-home .home-topic-btn.is-active {
  color: #fff !important;
  background: rgba(255,255,255,.14) !important;
  box-shadow: inset 3px 0 0 rgba(76, 141, 255, .95) !important;
}
#view-home .home-topic-btn svg {
  width: 22px !important;
  height: 22px !important;
  stroke: currentColor !important;
}
#view-home .home-topic-label {
  position: absolute !important;
  left: 64px !important;
  padding: 7px 10px !important;
  border-radius: 999px !important;
  background: rgba(10,10,12,.92) !important;
  color: rgba(255,255,255,.86) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 14px 38px rgba(0,0,0,.28) !important;
  font-size: .68rem !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateX(-4px) !important;
  transition: opacity .16s ease, transform .16s ease !important;
  white-space: nowrap !important;
}
#view-home .home-topic-btn:hover .home-topic-label {
  opacity: 1 !important;
  transform: translateX(0) !important;
}
#view-home .home-vnext-topbar,
#view-home .home-vnext-tabs,
#view-home .home-vnext-kicker,
#view-home .home-vnext-title,
#view-home .hero-header,
#view-home .hero-spacer {
  display: none !important;
}
#view-home .home-featured-only,
#view-home > .scroll-content > .content-wrapper:not(.home-featured-only) {
  width: var(--thf-page-width) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}
#view-home .home-featured-only {
  padding-top: clamp(24px, 2.6vw, 42px) !important;
}
#view-home #homeFeatured.home-featured-grid,
#view-home .home-info-strip,
#view-home #highlightsGrid,
#view-home #teaser,
#view-home #albumGrid,
#view-home .section-header {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}
#view-home #homeFeatured.home-featured-grid {
  margin-top: 0 !important;
  margin-bottom: clamp(24px, 2.6vw, 42px) !important;
}
#view-home .section-header {
  margin-top: clamp(46px, 4.2vw, 76px) !important;
  margin-bottom: clamp(20px, 2vw, 30px) !important;
}
#view-home #grid-title.section-title {
  font-size: clamp(1.2rem, 1.55vw, 1.65rem) !important;
}
#view-home #resetSearch.search-reset-btn {
  display: none !important;
}
#view-home .load-container {
  width: 100% !important;
  justify-content: center !important;
  margin-top: clamp(28px, 3vw, 44px) !important;
}
#view-home #loadMore.btn-load {
  min-height: 48px !important;
  padding: 0 24px !important;
  font-size: .86rem !important;
  font-weight: 850 !important;
  letter-spacing: .08em !important;
}
#view-home #loadMore .spinner {
  width: 17px !important;
  height: 17px !important;
  border: 2px solid rgba(255,255,255,.20) !important;
  border-top-color: rgba(255,255,255,.88) !important;
  border-radius: 50% !important;
  animation: thfSpin .75s linear infinite !important;
  display: none !important;
}
#view-home #loadMore.is-loading .spinner,
#view-home #loadMore.loading .spinner {
  display: inline-block !important;
}
@keyframes thfSpin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  #view-home { --thf-page-width: calc(100vw - 28px); }
  #view-home .home-topic-sidebar { display: none !important; }
}


/* Extracted from index1.php id="thf-media-portal-alignment-and-empty-fix" */
/* THF: einheitliche ruhige Kanten wie bei „Weitere Galerien“ */
#view-home {
  --thf-page-width: min(1500px, calc(100vw - clamp(56px, 5.2vw, 84px))) !important;
}
#view-home .home-featured-only,
#view-home > .scroll-content > .content-wrapper:not(.home-featured-only) {
  width: var(--thf-page-width) !important;
  max-width: var(--thf-page-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}
#view-home #homeFeatured.home-featured-grid,
#view-home .home-info-strip,
#view-home #highlightsGrid,
#view-home #teaser,
#view-home .section-header,
#view-home #albumGrid,
#view-home .load-container {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}
#view-home .section-header {
  margin-top: clamp(54px, 5vw, 86px) !important;
  margin-bottom: clamp(22px, 2.2vw, 34px) !important;
}
#view-home #albumGrid .empty-state,
#view-home #albumGrid .empty-card,
#view-home #albumGrid .empty-message,
#view-home #albumGrid > .empty-state,
#view-home #albumGrid > .empty-card,
#view-home #albumGrid > .empty-message {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
}
@media (max-width: 900px) {
  #view-home { --thf-page-width: calc(100vw - 28px) !important; }
}


/* Extracted from index1.php id="thf-final-edge-and-sidebar-direction-fix" */
/* THF final: alle Home-Elemente an denselben Innenkanten wie „Weitere Galerien“ */
#view-home {
  --thf-page-gutter: clamp(32px, 2.6vw, 48px) !important;
  --thf-page-width: calc(100vw - var(--thf-page-gutter) - var(--thf-page-gutter)) !important;
}
#view-home .scroll-content {
  width: 100% !important;
}
#view-home .scroll-content > .content-wrapper,
#view-home .scroll-content > .content-wrapper.home-featured-only {
  width: var(--thf-page-width) !important;
  max-width: var(--thf-page-width) !important;
  margin-left: var(--thf-page-gutter) !important;
  margin-right: var(--thf-page-gutter) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}
#view-home .home-featured-only {
  padding-top: clamp(24px, 2.6vw, 42px) !important;
}
#view-home #homeFeatured.home-featured-grid,
#view-home .home-info-strip,
#view-home #highlightsGrid,
#view-home #teaser,
#view-home .section-header,
#view-home #albumGrid,
#view-home .load-container {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}
/* Aktiver Zustand der linken Sidebar: Akzent zeigt nach rechts ins Layout, nicht zum Bildschirmrand */
#view-home .home-topic-btn.active,
#view-home .home-topic-btn.is-active {
  color: #fff !important;
  background: rgba(255,255,255,.14) !important;
  box-shadow: inset -3px 0 0 rgba(76,141,255,.95) !important;
}
#view-home .home-topic-btn:focus,
#view-home .home-topic-btn:focus-visible {
  outline: none !important;
  box-shadow: inset -3px 0 0 rgba(76,141,255,.95), 0 0 0 1px rgba(76,141,255,.18) !important;
}
@media (max-width: 900px) {
  #view-home {
    --thf-page-gutter: 14px !important;
    --thf-page-width: calc(100vw - 28px) !important;
  }
}


/* Extracted from index1.php id="thf-ultimate-content-edges-fix" */
/* Finale ruhige Seitenkanten: alle Home-Elemente nutzen dieselbe zentrierte Medienportal-Breite. */
#view-home {
  --thf-content-width: min(1450px, calc(100vw - clamp(80px, 7vw, 140px))) !important;
}
#view-home .scroll-content {
  width: 100% !important;
}
#view-home .scroll-content > .content-wrapper,
#view-home .scroll-content > .content-wrapper.home-featured-only {
  width: var(--thf-content-width) !important;
  max-width: var(--thf-content-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}
#view-home #homeFeatured.home-featured-grid,
#view-home .home-info-strip,
#view-home #highlightsGrid,
#view-home #teaser,
#view-home .section-header,
#view-home #albumGrid,
#view-home .load-container {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}
#view-home .section-header {
  margin-top: clamp(60px, 5vw, 92px) !important;
}
#view-home #albumGrid .empty-state,
#view-home #albumGrid .empty-card,
#view-home #albumGrid .empty-message {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
}
/* Sidebar: der blaue aktive Akzent sitzt innen/rechts am Icon, nicht außen am Bildschirmrand. */
#view-home .home-topic-btn.active,
#view-home .home-topic-btn.is-active {
  box-shadow: inset -3px 0 0 rgba(76,141,255,.95) !important;
}
#view-home .home-topic-btn:focus,
#view-home .home-topic-btn:focus-visible {
  outline: none !important;
  box-shadow: inset -3px 0 0 rgba(76,141,255,.95), 0 0 0 1px rgba(76,141,255,.16) !important;
}
@media (max-width: 900px) {
  #view-home { --thf-content-width: calc(100vw - 28px) !important; }
}


/* Extracted from index1.php id="thf-final-professional-width-fix-v2" */
/* THF: Alle Home-Bereiche bekommen bewusst Luft links/rechts – nicht volle Bildschirmbreite. */
@media (min-width: 901px) {
  #view-home {
    --thf-final-side-space: clamp(78px, 6.6vw, 124px) !important;
    --thf-final-content-width: calc(100vw - (var(--thf-final-side-space) * 2)) !important;
  }
  #view-home .scroll-content > .content-wrapper,
  #view-home .scroll-content > .content-wrapper.home-vnext-shell,
  #view-home .scroll-content > .content-wrapper.home-featured-only,
  #view-home .scroll-content > .content-wrapper.home-gallery-wrapper {
    width: var(--thf-final-content-width) !important;
    max-width: 1450px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  #view-home #homeFeatured.home-featured-grid,
  #view-home .home-info-strip,
  #view-home #highlightsGrid,
  #view-home #teaser,
  #view-home .section-header,
  #view-home #albumGrid,
  #view-home .load-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 900px) {
  #view-home .scroll-content > .content-wrapper,
  #view-home .scroll-content > .content-wrapper.home-vnext-shell,
  #view-home .scroll-content > .content-wrapper.home-featured-only,
  #view-home .scroll-content > .content-wrapper.home-gallery-wrapper {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


/* Extracted from index1.php id="thf-final-uniform-professional-layout-v3" */
/* THF FINAL: alle Startseitenbereiche bekommen dieselbe ruhige Medienportal-Breite. */
@media (min-width: 901px) {
  #view-home {
    --thf-media-content-width: min(1500px, calc(100vw - clamp(96px, 9vw, 180px))) !important;
  }
  #view-home .scroll-content > .content-wrapper,
  #view-home .scroll-content > .content-wrapper.home-vnext-shell,
  #view-home .scroll-content > .content-wrapper.home-featured-only,
  #view-home .scroll-content > .content-wrapper.home-gallery-wrapper {
    width: var(--thf-media-content-width) !important;
    max-width: var(--thf-media-content-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  #view-home #homeFeatured.home-featured-grid,
  #view-home .home-info-strip,
  #view-home #highlightsGrid,
  #view-home #teaser,
  #view-home .section-header,
  #view-home #albumGrid,
  #view-home .load-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Linke Rubrik-Navigation: aktiver Akzent zeigt nach innen/rechts. */
#view-home .home-topic-btn.active,
#view-home .home-topic-btn.is-active {
  box-shadow: inset -3px 0 0 rgba(76,141,255,.96) !important;
}
#view-home .home-topic-btn:focus,
#view-home .home-topic-btn:focus-visible {
  outline: none !important;
  box-shadow: inset -3px 0 0 rgba(76,141,255,.96), 0 0 0 1px rgba(76,141,255,.16) !important;
}

/* Rubrik-Teaser entschlacken: rechter Bereich wird ruhiger und nicht mehr überladen. */
#view-home #teaser.thf-topic-teaser-clean {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr) !important;
  align-items: stretch !important;
  overflow: hidden !important;
}
#view-home #teaser.thf-topic-teaser-clean .teaser-action-block {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 22px !important;
  padding-left: clamp(24px, 2.6vw, 42px) !important;
  padding-right: clamp(22px, 2.4vw, 36px) !important;
  min-width: 0 !important;
}
#view-home #teaser.thf-topic-teaser-clean .teaser-action-copy {
  min-width: 0 !important;
  max-width: 420px !important;
}
#view-home #teaser.thf-topic-teaser-clean .teaser-action-title {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: clamp(.92rem, 1.05vw, 1.08rem) !important;
  line-height: 1.28 !important;
}
#view-home #teaser.thf-topic-teaser-clean .teaser-action-buttons {
  flex: 0 0 auto !important;
  display: flex !important;
  justify-content: flex-end !important;
}
#view-home #teaser.thf-topic-teaser-clean .teaser-action-btn.primary {
  min-width: 0 !important;
  white-space: nowrap !important;
  padding-left: 22px !important;
  padding-right: 22px !important;
}
@media (max-width: 1100px) {
  #view-home #teaser.thf-topic-teaser-clean {
    grid-template-columns: 1fr !important;
  }
  #view-home #teaser.thf-topic-teaser-clean .teaser-action-block {
    border-left: 0 !important;
    border-top: 1px solid rgba(255,255,255,.10) !important;
  }
}


/* Extracted from index1.php id="thf-hotfix-edges-teaser-20260508" */
/* Ein einheitlicher, ruhiger Medienportal-Rand für ALLE Home-Bereiche */
#view-home{--thf-content-width:min(1420px, calc(100vw - clamp(86px, 8vw, 150px))) !important;}
#view-home .scroll-content{width:100% !important;}
#view-home .scroll-content > .content-wrapper,
#view-home .scroll-content > .content-wrapper.home-featured-only{
  width:var(--thf-content-width) !important;
  max-width:var(--thf-content-width) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
  box-sizing:border-box !important;
}
#view-home #homeFeatured.home-featured-grid,
#view-home .home-info-strip,
#view-home #highlightsGrid,
#view-home #teaser,
#view-home .section-header,
#view-home #albumGrid,
#view-home .load-container{
  width:100% !important;
  max-width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
}
#view-home #albumGrid .thf-empty-state,
#view-home #albumGrid .empty-state,
#view-home #albumGrid .empty-card,
#view-home #albumGrid .empty-message{grid-column:1 / -1 !important; width:100% !important;}
/* Sidebar-Aktivkante zeigt nach innen/rechts */
#view-home .home-topic-btn.active,
#view-home .home-topic-btn.is-active{box-shadow:inset -3px 0 0 rgba(76,141,255,.96) !important;}
#view-home .home-topic-btn:focus,
#view-home .home-topic-btn:focus-visible{outline:none !important; box-shadow:inset -3px 0 0 rgba(76,141,255,.96),0 0 0 1px rgba(76,141,255,.14) !important;}
/* Teaser weniger überladen */
#view-home #teaser.thf-topic-teaser-clean{display:grid !important; grid-template-columns:1.15fr .85fr !important; min-height:86px !important; overflow:hidden !important;}
#view-home #teaser.thf-topic-teaser-clean .teaser-event-block{min-width:0 !important;}
#view-home #teaser.thf-topic-teaser-clean .teaser-date{font-size:clamp(.9rem,1vw,1rem) !important; line-height:1.25 !important;}
#view-home #teaser.thf-topic-teaser-clean .teaser-action-block{display:flex !important; align-items:center !important; justify-content:space-between !important; gap:18px !important; padding:18px clamp(22px,2.4vw,34px) !important; min-width:0 !important;}
#view-home #teaser.thf-topic-teaser-clean .teaser-action-copy{min-width:0 !important; max-width:320px !important;}
#view-home #teaser.thf-topic-teaser-clean .teaser-action-title{font-size:clamp(.88rem,.95vw,1rem) !important; line-height:1.22 !important; white-space:normal !important; overflow:hidden !important; display:-webkit-box !important; -webkit-line-clamp:2 !important; -webkit-box-orient:vertical !important;}
#view-home #teaser.thf-topic-teaser-clean .teaser-action-btn.primary{font-size:.78rem !important; padding:13px 20px !important; min-width:auto !important; white-space:nowrap !important;}
@media(max-width:1100px){#view-home #teaser.thf-topic-teaser-clean{grid-template-columns:1fr !important;}}
@media(max-width:900px){#view-home{--thf-content-width:calc(100vw - 28px) !important;}}


/* Extracted from index1.php id="thf-final-width-and-teaser-fix" */
/* THF FINAL: eine ruhige Content-Breite für alle Home-Elemente */
#view-home .scroll-content > .content-wrapper.home-vnext-shell,
#view-home .scroll-content > .content-wrapper.home-gallery-wrapper {
  width: min(100% - 96px, 1680px) !important;
  max-width: 1680px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}
#view-home .home-featured-grid,
#view-home .home-info-strip,
#view-home #highlightsGrid,
#view-home #teaser,
#view-home .section-header,
#view-home #albumGrid,
#view-home .load-container {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}
#view-home .home-gallery-wrapper {
  margin-top: 70px !important;
}
#view-home #teaser.thf-topic-teaser-clean {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr) !important;
  gap: 0 !important;
  overflow: hidden !important;
}
#view-home #teaser.thf-topic-teaser-clean .teaser-action-block {
  min-width: 0 !important;
}
#view-home #teaser.thf-topic-teaser-clean .teaser-action-copy {
  min-width: 0 !important;
  overflow: hidden !important;
}
#view-home #teaser.thf-topic-teaser-clean .teaser-action-title {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  font-size: clamp(15px, 1.1vw, 20px) !important;
}
#view-home #teaser.thf-topic-teaser-clean .teaser-action-buttons {
  flex: 0 0 auto !important;
}
#view-home #teaser.thf-topic-teaser-clean .teaser-action-btn {
  padding: 13px 22px !important;
  font-size: 12px !important;
  letter-spacing: .08em !important;
  white-space: nowrap !important;
}
#view-home .home-topic-sidebar .home-topic-btn.active::before,
#view-home .home-topic-sidebar .home-topic-btn.is-active::before {
  left: auto !important;
  right: -1px !important;
}
@media (max-width: 900px) {
  #view-home .scroll-content > .content-wrapper.home-vnext-shell,
  #view-home .scroll-content > .content-wrapper.home-gallery-wrapper {
    width: min(100% - 32px, 1680px) !important;
  }
}


/* Extracted from index1.php id="thf-ultimate-layout-20260508" */
/* Finale Kante: alle Home-Elemente verwenden dieselbe ruhige Content-Breite. */
#view-home{--thf-ultimate-width:min(1420px, calc(100vw - clamp(88px, 8vw, 160px))) !important;}
#view-home .scroll-content > .content-wrapper,
#view-home .scroll-content > .content-wrapper.home-vnext-shell,
#view-home .scroll-content > .content-wrapper.home-featured-only,
#view-home .scroll-content > .content-wrapper.home-gallery-wrapper{
  width:var(--thf-ultimate-width) !important;
  max-width:var(--thf-ultimate-width) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
  box-sizing:border-box !important;
}
#view-home #homeFeatured.home-featured-grid,
#view-home .home-info-strip,
#view-home #highlightsGrid,
#view-home #teaser,
#view-home .section-header,
#view-home #albumGrid,
#view-home .load-container{
  width:100% !important;
  max-width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
}
#view-home .home-gallery-wrapper{margin-top:70px !important;}
#view-home #albumGrid .thf-empty-state,
#view-home #albumGrid .empty-state,
#view-home #albumGrid .empty-card,
#view-home #albumGrid .empty-message{grid-column:1 / -1 !important; width:100% !important;}
#view-home .home-topic-sidebar .home-topic-btn.active::before,
#view-home .home-topic-sidebar .home-topic-btn.is-active::before{left:auto !important;right:-1px !important;}
#view-home .home-topic-btn.active,
#view-home .home-topic-btn.is-active{box-shadow:inset -3px 0 0 rgba(76,141,255,.96) !important;}
#view-home .home-topic-btn:focus,
#view-home .home-topic-btn:focus-visible{outline:none !important; box-shadow:inset -3px 0 0 rgba(76,141,255,.96),0 0 0 1px rgba(76,141,255,.12) !important;}
#view-home #teaser.thf-topic-teaser-clean{grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr) !important; min-height:84px !important; overflow:hidden !important;}
#view-home #teaser.thf-topic-teaser-clean .teaser-action-block{gap:18px !important; padding:18px clamp(20px,2.1vw,32px) !important;}
#view-home #teaser.thf-topic-teaser-clean .teaser-action-copy{max-width:330px !important; overflow:hidden !important;}
#view-home #teaser.thf-topic-teaser-clean .teaser-action-title{font-size:clamp(14px,.95vw,17px) !important; line-height:1.25 !important; white-space:normal !important; display:-webkit-box !important; -webkit-line-clamp:2 !important; -webkit-box-orient:vertical !important; overflow:hidden !important;}
#view-home #teaser.thf-topic-teaser-clean .teaser-action-btn{font-size:11px !important; padding:12px 19px !important; letter-spacing:.08em !important; white-space:nowrap !important;}
@media(max-width:1100px){#view-home #teaser.thf-topic-teaser-clean{grid-template-columns:1fr !important;}}
@media(max-width:900px){#view-home{--thf-ultimate-width:calc(100vw - 28px) !important;} #view-home .home-topic-sidebar{display:none !important;}}

/* THF Feinschliff: Rubrik-Badge und schnelle Rubrik-Umschaltung */
#view-home .card-figure .topic-badge,
#view-home .home-featured-content .topic-badge,
#view-home .home-small-content .topic-badge {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:22px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(12,18,28,.72);
  border:1px solid rgba(255,255,255,.14);
  color:rgba(255,255,255,.86);
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  backdrop-filter:blur(10px);
}
#view-home .card-figure .topic-badge {
  position:absolute;
  left:12px;
  top:12px;
  z-index:3;
}
#view-home .card-figure .date-badge + .topic-badge {
  left:auto;
  right:12px;
}
#view-home .home-featured-content .topic-badge,
#view-home .home-small-content .topic-badge {
  width:max-content;
  margin-bottom:8px;
}
#view-home.is-topic-loading .home-topic-btn.active,
#view-home.is-topic-loading .home-topic-btn.is-active {
  cursor:progress;
}

/* THF final: Zwischen Termin-Teaser und "Weitere Galerien" nur eine Leerzeile */
#view-home .scroll-content > .content-wrapper.home-featured-only {
  padding-bottom: 16px !important;
}

#view-home .home-featured-only #teaser.teaser-bar {
  margin-bottom: 0 !important;
}

#view-home .scroll-content > .content-wrapper.home-gallery-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#view-home .home-gallery-wrapper .section-header {
  margin-top: 0 !important;
}

@media (max-width: 900px) {
  #view-home .scroll-content > .content-wrapper.home-featured-only {
    padding-bottom: 14px !important;
  }
}

/* THF restore: Header-Suche mit Ladekreis und Reset im Suchfeld */
.global-search-busy {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 0 8px !important;
  border-radius: 999px !important;
  border: 2px solid rgba(255,255,255,.22) !important;
  border-top-color: #4c8dff !important;
  animation: thfSearchSpin .75s linear infinite !important;
}

.search-inline-reset {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-right: 6px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.74);
  font-family: 'Montserrat', sans-serif;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.search-inline-reset:hover,
.search-inline-reset:focus-visible {
  color: #fff;
  border-color: rgba(76,141,255,.46);
  background: rgba(76,141,255,.16);
  outline: none;
}

@keyframes thfSearchSpin { to { transform: rotate(360deg); } }

/* THF restore: "NEU" an frischen Alben und Rubrik-Buttons, max. 2 Tage per JS */
.thf-new-album-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(94,160,255,.55);
  background: rgba(44,112,255,.92);
  color: #fff;
  box-shadow: 0 10px 24px rgba(44,112,255,.24);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  pointer-events: none;
}

#view-home .home-featured-card,
#view-home .home-small-card,
#view-home .card-figure {
  position: relative;
}

#view-home .home-topic-btn.has-new,
.mobile-topic-link.has-new {
  position: relative;
}

#view-home .home-topic-btn.has-new::after {
  content: '';
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  min-width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: #4c8dff;
  box-shadow: 0 0 0 3px rgba(76,141,255,.18), 0 0 16px rgba(76,141,255,.65);
}

#view-home .home-topic-btn.has-new .home-topic-label::after {
  content: none !important;
  display: none !important;
}

.mobile-topic-link.has-new::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #4c8dff;
  box-shadow: 0 0 0 3px rgba(76,141,255,.18);
}

.mobile-topic-link.has-new::after {
  content: none !important;
  display: none !important;
}

/* THF final: Hauptalbum in allen Rubriken gleich groß wie Sport */
@media (min-width: 901px) {
  #view-home #homeFeatured.home-featured-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(360px, .72fr) !important;
    align-items: stretch !important;
  }
  #view-home .home-featured-card {
    height: 100% !important;
    min-height: clamp(340px, 38vw, 560px) !important;
  }
  #view-home .home-side-panel {
    display: grid !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    align-content: stretch !important;
  }
}

@media (max-width: 900px) {
  #view-home .home-featured-card {
    min-height: 330px !important;
  }
}

/* THF final: Mobile Teaser für Sport, News und Events klarer und hochwertiger */
@media (max-width: 900px) {
  #view-home #teaser.teaser-bar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-left: 4px solid #3b82f6 !important;
    background: linear-gradient(135deg, rgba(17,24,39,.86), rgba(13,13,15,.98)) !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }
  #view-home #teaser .teaser-event-block {
    padding: 14px 15px !important;
    gap: 10px !important;
    border: 0 !important;
  }
  #view-home #teaser .teaser-top {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  #view-home #teaser .teaser-icon {
    width: 22px !important;
    height: 22px !important;
    display: inline-grid !important;
    place-items: center !important;
    color: rgba(255,255,255,.58) !important;
  }
  #view-home #teaser .tag-pill {
    border-radius: 8px !important;
    padding: 6px 9px !important;
    font-size: .64rem !important;
    letter-spacing: .08em !important;
    line-height: 1 !important;
  }
  #view-home #teaser .teaser-content-flex {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    flex-wrap: wrap !important;
    color: rgba(255,255,255,.82) !important;
    white-space: normal !important;
  }
  #view-home #teaser .teaser-date {
    margin: 0 !important;
    color: #fff !important;
    font-size: .98rem !important;
    font-weight: 850 !important;
    line-height: 1.3 !important;
    white-space: normal !important;
  }
  #view-home #teaser .teaser-desc {
    min-width: 0 !important;
    color: rgba(255,255,255,.62) !important;
    font-size: .92rem !important;
    line-height: 1.3 !important;
    white-space: normal !important;
  }
  #view-home #teaser .teaser-action-block {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 0 15px 15px !important;
    border-left: 0 !important;
    background: transparent !important;
  }
  #view-home #teaser .teaser-action-copy {
    display: none !important;
  }
  #view-home #teaser .teaser-action-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }
  #view-home #teaser .teaser-action-btn,
  #view-home #teaser .teaser-action-btn:visited {
    min-height: 38px !important;
    width: 100% !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    font-size: .61rem !important;
    letter-spacing: .055em !important;
    text-decoration: none !important;
  }
  #view-home #teaser.thf-topic-teaser-clean .teaser-event-block {
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
  }
  #view-home #teaser.thf-topic-teaser-clean .teaser-date {
    font-size: .98rem !important;
    font-weight: 780 !important;
    line-height: 1.36 !important;
  }
  #view-home #teaser.thf-topic-teaser-clean .teaser-action-copy {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    max-width: none !important;
  }
  #view-home #teaser.thf-topic-teaser-clean .teaser-action-kicker {
    font-size: .58rem !important;
    letter-spacing: .14em !important;
    color: rgba(255,255,255,.44) !important;
  }
  #view-home #teaser.thf-topic-teaser-clean .teaser-action-title {
    display: block !important;
    color: rgba(255,255,255,.86) !important;
    font-size: .86rem !important;
    font-weight: 720 !important;
    line-height: 1.32 !important;
    white-space: normal !important;
    overflow: visible !important;
  }
  #view-home #teaser.thf-topic-teaser-clean .teaser-action-buttons {
    grid-template-columns: 1fr !important;
  }
  #view-home #teaser.thf-topic-teaser-clean .teaser-action-btn {
    justify-self: start !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 16px !important;
    font-size: .64rem !important;
  }
}

/* THF final: Mobile Abstand zum Footer maximal eine Leerzeile */
@media (max-width: 900px) {
  #view-home .scroll-content {
    padding-bottom: 10px !important;
  }
  #view-home .scroll-content > .content-wrapper.home-gallery-wrapper {
    padding-bottom: 0 !important;
  }
  #view-home #albumGrid {
    margin-bottom: 0 !important;
  }
  #view-home #loadBar.load-container {
    margin-top: 14px !important;
    margin-bottom: 8px !important;
  }
  .app-footer {
    margin-top: 0 !important;
    padding-top: 20px !important;
  }
}

/* THF final: mobile Rubrik-Teaser-Aktion wirklich als Buttonzeile darstellen */
@media (max-width: 900px) {
  #view-home #teaser.thf-topic-teaser-clean .teaser-action-block {
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 13px 15px 15px !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    border-left: 0 !important;
    background: rgba(255,255,255,.025) !important;
  }

  #view-home #teaser.thf-topic-teaser-clean .teaser-action-copy {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    min-width: 0 !important;
    max-width: none !important;
    overflow: hidden !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  #view-home #teaser.thf-topic-teaser-clean .teaser-action-kicker,
  #view-home #teaser.thf-topic-teaser-clean .teaser-action-title {
    font-family: 'Montserrat', sans-serif !important;
    text-decoration: none !important;
  }

  #view-home #teaser.thf-topic-teaser-clean .teaser-action-kicker {
    display: block !important;
    color: rgba(255,255,255,.46) !important;
    font-size: .56rem !important;
    font-weight: 780 !important;
    letter-spacing: .13em !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  #view-home #teaser.thf-topic-teaser-clean .teaser-action-title {
    display: block !important;
    color: rgba(255,255,255,.86) !important;
    font-size: .80rem !important;
    font-weight: 720 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }

  #view-home #teaser.thf-topic-teaser-clean .teaser-action-buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
    min-width: 0 !important;
    width: auto !important;
  }

  #view-home #teaser .teaser-action-btn,
  #view-home #teaser .teaser-action-btn:visited,
  #view-home #teaser.thf-topic-teaser-clean .teaser-action-btn,
  #view-home #teaser.thf-topic-teaser-clean .teaser-action-btn:visited {
    box-sizing: border-box !important;
    min-height: 36px !important;
    width: auto !important;
    max-width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    background: rgba(255,255,255,.055) !important;
    color: rgba(255,255,255,.88) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: .60rem !important;
    font-weight: 820 !important;
    letter-spacing: .055em !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    box-shadow: none !important;
  }

  #view-home #teaser .teaser-action-btn.primary,
  #view-home #teaser .teaser-action-btn.primary:visited,
  #view-home #teaser.thf-topic-teaser-clean .teaser-action-btn.primary,
  #view-home #teaser.thf-topic-teaser-clean .teaser-action-btn.primary:visited {
    border-color: rgba(76,141,255,.55) !important;
    background: linear-gradient(135deg, #3b82f6, #4f46e5) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(59,130,246,.20) !important;
  }
}

@media (max-width: 390px) {
  #view-home #teaser.thf-topic-teaser-clean .teaser-action-block {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  #view-home #teaser.thf-topic-teaser-clean .teaser-action-buttons {
    justify-content: flex-start !important;
  }
}

/* THF: Desktop-Startseite minimal hoeher, mobile Rubrik-CTA ruhiger und mehrzeilig */
@media (min-width: 901px) {
  #view-home .scroll-content > .content-wrapper.home-vnext-shell.home-featured-only {
    padding-top: 16px !important;
  }
}

@media (max-width: 520px) {
  #view-home #teaser.teaser-bar:not(.thf-topic-teaser-clean) .teaser-action-block {
    display: none !important;
  }

  #view-home #teaser.thf-topic-teaser-clean .teaser-action-block {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 12px 15px 14px !important;
  }

  #view-home #teaser.thf-topic-teaser-clean .teaser-action-copy {
    gap: 2px !important;
  }

  #view-home #teaser.thf-topic-teaser-clean .teaser-action-title {
    max-width: 100% !important;
    font-size: .82rem !important;
    line-height: 1.22 !important;
  }

  #view-home #teaser.thf-topic-teaser-clean .teaser-action-buttons {
    justify-content: flex-start !important;
  }

  #view-home #teaser.thf-topic-teaser-clean .teaser-action-btn,
  #view-home #teaser.thf-topic-teaser-clean .teaser-action-btn:visited {
    min-height: 30px !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 12px !important;
    font-size: .55rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-align: center !important;
    border-color: rgba(76,141,255,.36) !important;
    background: rgba(76,141,255,.11) !important;
    box-shadow: none !important;
  }

  #view-home #teaser.thf-topic-teaser-clean .teaser-action-btn.primary,
  #view-home #teaser.thf-topic-teaser-clean .teaser-action-btn.primary:visited {
    background: rgba(76,141,255,.13) !important;
    border-color: rgba(76,141,255,.44) !important;
  }

  #view-home #teaser.thf-topic-teaser-clean .teaser-action-label {
    display: block !important;
    text-align: center !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
}

/* THF: finaler Feinschliff nach Userfeedback */
#view-home .home-featured-title {
  font-size: clamp(1.28rem, 2.05vw, 2.12rem) !important;
  line-height: 1.08 !important;
}

@media (max-width: 900px) {
  #view-home #teaser.teaser-bar:not(.thf-topic-teaser-clean) .teaser-action-block {
    display: none !important;
  }

  #view-home .home-featured-title {
    font-size: clamp(1.28rem, 6.4vw, 1.82rem) !important;
  }
}

/* THF: Tablet-Rubrikleiste als einklappbare Lasche */
#view-home .home-topic-toggle {
  display: none;
}

@media (min-width: 901px) and (max-width: 1180px) {
  #view-home .home-topic-sidebar {
    transform: translate(-100%, -50%) !important;
    transition: transform .22s ease !important;
  }

  #view-home .home-topic-sidebar.is-open,
  #view-home .home-topic-sidebar:focus-within {
    transform: translate(0, -50%) !important;
  }

  #view-home .home-topic-toggle {
    position: absolute;
    right: -34px;
    top: 50%;
    transform: translateY(-50%);
    display: grid !important;
    place-items: center;
    width: 34px;
    height: 78px;
    border: 1px solid rgba(255,255,255,.10);
    border-left: 0;
    border-radius: 0 16px 16px 0;
    background: rgba(13,13,15,.86);
    color: rgba(255,255,255,.84);
    box-shadow: 14px 0 34px rgba(0,0,0,.30);
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  #view-home .home-topic-toggle span {
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .18s ease;
  }

  #view-home .home-topic-sidebar.is-open .home-topic-toggle span {
    transform: rotate(225deg);
  }
}

/* THF: Tablet Portrait - Nebenalben bleiben rechts, aber lesbar gestapelt */
@media (min-width: 761px) and (max-width: 1180px) and (orientation: portrait) {
  #view-home #homeFeatured.home-featured-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, .8fr) !important;
    gap: 14px !important;
    align-items: stretch !important;
  }

  #view-home .home-featured-card {
    min-height: clamp(300px, 42vw, 390px) !important;
    height: 100% !important;
  }

  #view-home .home-side-panel {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    height: 100% !important;
    min-width: 0 !important;
  }

  #view-home .home-small-card,
  #view-home .home-side-panel .home-small-card {
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 8px !important;
    border-radius: 15px !important;
  }

  #view-home .home-small-card img,
  #view-home .home-side-panel .home-small-card img {
    width: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
    height: 100% !important;
    min-height: 82px !important;
    max-height: 104px !important;
    border-radius: 11px !important;
    object-fit: cover !important;
  }

  #view-home .home-small-content {
    min-width: 0 !important;
    padding: 0 2px 0 0 !important;
    justify-content: center !important;
  }

  #view-home .home-small-title {
    font-size: .82rem !important;
    line-height: 1.2 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  #view-home .home-small-meta {
    margin-top: 5px !important;
    font-size: .66rem !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

/* THF: Kategorie-Featured auf Sport-Referenz fixieren */
@media (min-width: 1181px), (min-width: 901px) and (orientation: landscape) {
  #view-home #homeFeatured.home-featured-grid {
    --thf-featured-gap: 20px;
    --thf-featured-side-row: clamp(178px, 11.8vw, 230px);
    grid-template-columns: minmax(0, 1.5fr) minmax(420px, .78fr) !important;
    gap: var(--thf-featured-gap) !important;
    align-items: stretch !important;
    grid-auto-rows: auto !important;
  }

  #view-home .home-featured-card {
    position: relative !important;
    aspect-ratio: auto !important;
    height: calc((var(--thf-featured-side-row) * 3) + (var(--thf-featured-gap) * 2)) !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    overflow: hidden !important;
  }

  #view-home .home-featured-card > img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  #view-home .home-side-panel {
    height: 100% !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(3, var(--thf-featured-side-row)) !important;
    gap: var(--thf-featured-gap) !important;
    align-content: stretch !important;
  }

  #view-home .home-side-panel .home-small-card {
    grid-template-columns: minmax(220px, 50%) minmax(0, 1fr) !important;
    gap: clamp(14px, 1.2vw, 20px) !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  #view-home .home-side-panel .home-small-card img {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  #view-home .home-small-card.is-missing-thumb::before {
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
  }
}
