/* =========================================================
   VORTEE PICKS – ARTIKEL-LAYOUT  (v2)
   ---------------------------------------------------------
   Ergänzt /style.css. Header, Footer, Farben, Buttons
   (.button-primary), Breadcrumb und Beitragskarten
   (.post-card / .post-grid) kommen unverändert von dort.
   Hier stehen nur die Artikel-Bausteine.
   ========================================================= */


/* =========================================================
   GRUNDGERÜST
   ========================================================= */

.picks-article {
  width: calc(100% - var(--page-gutter));
  max-width: var(--page-width);

  margin: 0 auto;
}

.picks-article figure {
  margin: 0;
}

.picks-article figcaption {
  margin-top: 12px;

  color: var(--grey-dark);

  font-size: 13px;
  line-height: 1.5;
}


/* ENTWURFS-HINWEIS – erscheint nur bei "status": "draft" */

.picks-draft-banner {
  margin: 24px 0 0;
  padding: 16px 20px;

  border: 1px dashed var(--grey-dark);
  border-radius: 6px;

  color: var(--grey);

  font-size: 13px;
  line-height: 1.55;
}

.picks-draft-banner strong {
  color: var(--white);
}

.picks-draft-banner ul {
  margin: 8px 0 0;
  padding-left: 18px;
}


/* =========================================================
   BILD-PLATZHALTER
   Sichtbar, solange Datei oder Bildrechte fehlen
   ========================================================= */

.pick-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 24px;

  border: 1px dashed var(--grey-dark);
  border-radius: 6px;

  background: var(--surface);
  color: var(--grey-dark);

  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.pick-placeholder strong {
  color: var(--grey);
  font-size: 14px;
}


/* =========================================================
   HERO – Bild als Bühne, Text unten links darüber
   ========================================================= */

.picks-hero {
  position: relative;

  margin-top: 32px;

  display: grid;
  min-height: 640px;

  border-radius: 6px;
  overflow: hidden;
}

.picks-hero-media {
  position: absolute;
  inset: 0;
}

.picks-hero-media img,
.picks-hero-media .pick-placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;

  object-fit: cover;

  border-radius: 0;
}

/* Platzhalter-Text im Hero nach oben rechts, damit er die Headline nicht stört */

.picks-hero-media .pick-placeholder {
  align-items: flex-end;
  justify-content: flex-start;

  padding: 28px 32px;

  border: 1px dashed var(--grey-dark);
  border-radius: 6px;

  text-align: right;
}

.picks-hero-media figcaption {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 2;

  margin: 0;

  font-size: 12px;
}

/* Verlauf für lesbaren Text über dem Bild */

.picks-hero::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(9, 9, 9, 0.94) 0%,
      rgba(9, 9, 9, 0.82) 38%,
      rgba(9, 9, 9, 0.2) 68%,
      rgba(9, 9, 9, 0) 85%
    ),
    linear-gradient(
      0deg,
      var(--black) 0%,
      rgba(9, 9, 9, 0.5) 35%,
      rgba(9, 9, 9, 0) 70%
    );
}

.picks-hero-text {
  position: relative;
  z-index: 1;

  align-self: end;

  max-width: 760px;
  padding: 120px 48px 48px;
}

.picks-hero .breadcrumb {
  margin-bottom: 22px;
}

.picks-eyebrow {
  margin: 0 0 16px;

  color: var(--accent);

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.picks-accent {
  color: var(--accent);
}

.picks-hero h1 {
  margin: 0;

  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.picks-subtitle {
  margin: 20px 0 0;

  color: var(--white);

  font-size: 20px;
  line-height: 1.45;
}

.picks-lead {
  max-width: 620px;
  margin: 16px 0 0;

  color: var(--grey);

  font-size: 16px;
  line-height: 1.65;
}


/* AFFILIATE-HINWEIS – steht vor dem ersten Affiliate-Link */

.picks-disclosure {
  max-width: 620px;
  margin: 26px 0 0;
  padding-left: 14px;

  border-left: 2px solid var(--accent);

  color: var(--grey);

  font-size: 13px;
  line-height: 1.55;
}

.picks-disclosure a {
  color: var(--white);
  text-decoration: underline;
}


/* =========================================================
   FLIESSTEXT – EINLEITUNG UND FAZIT
   ========================================================= */

.picks-prose {
  max-width: 720px;
  padding: 88px 0;
}

.picks-prose h2 {
  margin: 0 0 28px;

  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.picks-prose p {
  margin: 0 0 18px;

  color: var(--grey);

  font-size: 18px;
  line-height: 1.75;
}

.picks-prose p:last-child {
  margin-bottom: 0;
}


/* FAZIT – ruhiger, mit Schlusssatz als Ausklang */

.picks-conclusion {
  padding-top: 80px;
}

.picks-conclusion p:last-child {
  margin-top: 32px;

  color: var(--white);

  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.45;
}


/* =========================================================
   KOMPAKTE PRODUKTNAVIGATION (nach der Einleitung)
   Die Liste selbst lebt in .picks-setup-list weiter unten.
   ========================================================= */


/* =========================================================
   PRODUKTABSCHNITTE
   Redaktioneller Text + Produktkarte. Mit freigegebenem Bild:
   Bild | Text+Karte. Ohne Bild: Text | Karte. Die Seite wechselt
   bei jedem zweiten Produkt. Bilder ohne Freigabe entfallen ersatzlos.
   ========================================================= */

.picks-list {
  border-top: 1px solid var(--line);
}

.pick {
  padding: 72px 0;

  display: grid;
  column-gap: 56px;
  row-gap: 28px;

  align-items: start;

  border-bottom: 1px solid var(--line);
}

.pick.has-media {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "media info";
}

.pick.has-media.pick-even {
  grid-template-areas: "info media";
}

.pick.no-media {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "info";
  max-width: 720px;
  margin: 0 auto;
}

.pick.has-wide.has-media {
  grid-template-areas:
    "wide wide"
    "media info";
}

.pick.has-wide.has-media.pick-even {
  grid-template-areas:
    "wide wide"
    "info media";
}

.pick.has-wide.no-media {
  grid-template-areas:
    "wide wide"
    "info";
}

.pick-wide  { grid-area: wide; }
.pick-media { grid-area: media; min-width: 0; align-self: start; }
.pick-info  { grid-area: info; min-width: 0; max-width: 620px; display: flex; flex-direction: column; gap: 24px; }
.pick-body  { min-width: 0; }
.pick-card  { min-width: 0; }


/* BILDER (nur mit Freigabe vorhanden) */

.pick-wide img {
  width: 100%;
  aspect-ratio: 21 / 9;

  object-fit: cover;

  border-radius: 6px;
}

.pick-media img {
  width: 100%;
  aspect-ratio: 4 / 3;

  object-fit: cover;

  border-radius: 6px;
}

.pick-media:has(.pick-detail) {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 12px;

  align-items: end;
}


/* REDAKTIONELLER TEXT */

.pick-number {
  margin: 0 0 10px;

  color: var(--accent);

  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pick-category {
  margin: 0 0 10px;

  color: var(--grey);

  font-size: 14px;
}

.pick h2 {
  margin: 0;

  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.pick-headline {
  margin: 10px 0 24px;

  color: var(--white);

  font-size: 18px;
  line-height: 1.4;
}

.pick-description {
  margin: 0 0 14px;

  color: var(--grey);

  font-size: 16px;
  line-height: 1.7;
}

.pick-subhead {
  margin: 28px 0 8px;

  color: var(--white);

  font-size: 14px;
  font-weight: 700;
}

.pick-list {
  margin: 0;
  padding: 0;

  list-style: none;
}

.pick-list li {
  position: relative;

  padding: 3px 0 3px 18px;

  color: var(--grey);

  font-size: 15px;
  line-height: 1.5;
}

.pick-list li::before {
  content: "";

  position: absolute;
  left: 0;
  top: 13px;

  width: 7px;
  height: 1px;

  background: var(--accent);
}

.pick-list-limits li::before {
  background: var(--grey);
}


/* =========================================================
   PRODUKTKARTE
   Einheitlich für alle Produkte, vollständig auch ohne Bild.
   ========================================================= */

.pick-card {
  align-self: start;

  padding: 28px;

  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: 6px;
}

.pick.no-media .pick-card {
  position: sticky;
  top: 104px;
}

.pick-card-ad {
  display: inline-block;

  margin: 0 0 18px;
  padding: 3px 9px;

  border: 1px solid var(--line);
  border-radius: 999px;

  color: var(--grey);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pick-card-maker {
  margin: 0 0 4px;

  color: var(--accent);

  font-size: 13px;
  font-weight: 700;
}

.pick-card-variant {
  margin: 0;

  color: var(--grey);

  font-size: 13px;
}

.pick-card .pick-list {
  margin: 20px 0 24px;
  padding-top: 20px;

  border-top: 1px solid var(--line);
}

.pick-card .pick-list li {
  font-size: 14px;
}

.pick-button {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  text-align: center;
}

.pick-button.is-pending {
  display: inline-flex;
  align-items: center;

  padding: 13px 22px;

  border: 1px dashed var(--grey-dark);
  border-radius: 999px;

  color: var(--grey);

  font-size: 14px;
  font-weight: 700;

  cursor: not-allowed;
}

.pick-card-note {
  margin: 12px 0 0;

  color: var(--grey);

  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}


/* =========================================================
   DAS KOMPLETTE SETUP
   ========================================================= */

.picks-setup {
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--line);
}

.picks-setup h2 {
  max-width: 760px;
  margin: 0 0 36px;

  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.picks-setup-media img {
  width: 100%;
  aspect-ratio: 21 / 9;

  object-fit: cover;

  border-radius: 6px;
}

.picks-setup-list {
  margin: 36px 0 0;
  padding: 0;

  list-style: none;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 40px;

  border-top: 1px solid var(--line);
}

.picks-setup-list li {
  border-bottom: 1px solid var(--line);
}

.picks-setup-list a {
  display: flex;
  gap: 14px;

  padding: 14px 0;

  color: var(--grey);

  font-size: 15px;
}

.picks-setup-list a span {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.picks-setup-list a:hover {
  color: var(--white);
}


.post-card.is-upcoming {
  padding-top: 24px;
}

.post-card.is-upcoming h3 {
  color: #cfceca;
}

.post-card .post-status {
  margin: auto 0 0;
  padding: 16px 24px 0;

  color: var(--grey-dark);

  font-size: 13px;
}


/* =========================================================
   WENIGER BEWEGUNG
   ========================================================= */

/* prefers-reduced-motion wird zentral in motion.css behandelt. */


/* =========================================================
   TABLET (BIS 1000 PX)
   ========================================================= */

@media (max-width: 1000px) {

  .picks-hero {
    min-height: 560px;
  }

  .picks-hero-text {
    padding: 100px 36px 36px;
  }

  .pick {
    column-gap: 40px;
  }

  .pick.has-media,
  .pick.has-media.pick-even,
  .pick.no-media,
  .pick.no-media.pick-even,
  .pick.has-wide.has-media,
  .pick.has-wide.has-media.pick-even,
  .pick.has-wide.no-media,
  .pick.has-wide.no-media.pick-even {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "wide" "media" "info";
  }

  .pick-info {
    max-width: none;
  }

  .pick.no-media .pick-card {
    position: static;
  }

  .picks-setup-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* =========================================================
   SMARTPHONE (BIS 760 PX)
   Bild oben, Text darunter, kein Text über dem Bild
   ========================================================= */

@media (max-width: 760px) {

  .picks-hero {
    min-height: 0;
    margin-top: 20px;

    border-radius: 0;
    overflow: visible;
  }

  .picks-hero::after {
    display: none;
  }

  .picks-hero-media {
    position: relative;
  }

  .picks-hero-media img,
  .picks-hero-media .pick-placeholder {
    aspect-ratio: 4 / 3;
    height: auto;

    border-radius: 6px;
  }

  .picks-hero-media .pick-placeholder {
    align-items: center;
    justify-content: center;

    text-align: center;
  }

  .picks-hero-media figcaption {
    position: static;
    margin-top: 10px;
  }

  .picks-hero-text {
    padding: 28px 0 0;
  }

  .picks-subtitle {
    font-size: 18px;
  }

  .picks-lead {
    font-size: 15px;
  }

  .picks-prose {
    padding: 56px 0;
  }

  .picks-prose p {
    font-size: 16px;
  }

  .pick {
    padding: 48px 0;
    row-gap: 24px;

    /* Auf Mobil eine Spalte, Reihenfolge: großes Bild -> Text -> Karte,
       unabhängig von Variante (has-media/no-media/pick-even). */
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "wide"
      "media"
      "info" !important;
    column-gap: 0;
  }

  .pick-info {
    max-width: none;
    gap: 20px;
  }

  .pick-media img,
  .pick-wide img {
    aspect-ratio: 4 / 3;
  }

  .pick-card {
    padding: 22px 20px;
  }

  .picks-setup {
    padding: 0 0 56px;
  }

  .picks-setup-media img {
    aspect-ratio: 4 / 3;
  }

  .picks-setup-list {
    grid-template-columns: minmax(0, 1fr);
  }

}


/* =========================================================
   PRÜFEN-MARKIERUNG – nur in der Entwurfsvorschau
   Unbelegte Sachangaben. Im Release technisch ausgeschlossen.
   ========================================================= */

.pick-check {
  display: inline-block;

  margin-left: 6px;
  padding: 1px 7px;

  border: 1px dashed var(--grey-dark);
  border-radius: 999px;

  color: var(--grey);

  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  vertical-align: middle;
}


/* Homeoffice only: keep the existing tablet/mobile rules and markup intact.
   The article's inline enhancement moves each original card and list once. */
@media (min-width: 1001px) {
  .picks-homeoffice .pick.has-media.pick-desktop-layout {
    grid-template-areas: "media info";
  }

  .picks-homeoffice .pick-desktop-layout .pick-media-column {
    grid-area: media;
    min-width: 0;
  }

  .picks-homeoffice .pick-desktop-layout .pick-media img {
    display: block;
  }

  .picks-homeoffice .pick-desktop-layout .pick-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border-top-width: 1px;
  }

  .picks-homeoffice .pick-desktop-layout .pick-card-maker,
  .picks-homeoffice .pick-desktop-layout .pick-card .pick-card-variant,
  .picks-homeoffice .pick-desktop-layout .pick-card-note {
    display: none;
  }

  .picks-homeoffice .pick-desktop-layout .pick-card-ad {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .picks-homeoffice .pick-desktop-layout .pick-button {
    flex: 0 0 auto;
    width: auto;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
  }
}
