/* Bereich „Kurz erklärt": Erklärvideos im Hochformat.
   Wird nur von den Seiten unter /kurz-erklaert/ geladen, nach design.css. */

/* ---------- Übersicht: Kacheln im Hochformat ---------- */
.ke-grid {
  max-width: var(--max); margin-inline: auto;
  padding: clamp(1rem, 4vw, 2.5rem) clamp(1.2rem, 5vw, 3rem) clamp(3rem, 7vw, 5rem);
  display: grid; gap: clamp(1.4rem, 3vw, 2.2rem);
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  list-style: none; margin-top: 0; margin-bottom: 0;
}
.ke-card a {
  display: grid; gap: .9rem; text-decoration: none; color: var(--ink);
}
.ke-card-cover {
  position: relative; overflow: hidden; aspect-ratio: 9 / 16;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5); background: #f3eee2;
}
.ke-card-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s var(--ease);
}
.ke-card a:hover .ke-card-cover img,
.ke-card a:focus-visible .ke-card-cover img { transform: scale(1.04); }
.ke-card-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(11, 12, 15, .72); border: 1px solid rgba(247, 243, 234, .35);
  display: grid; place-items: center; opacity: .9;
  transition: background .3s ease, transform .3s var(--ease);
}
.ke-card-play svg { width: 22px; height: 22px; fill: var(--ink); margin-left: 4px; }
.ke-card a:hover .ke-card-play { background: rgba(93, 228, 208, .85); transform: scale(1.08); }
.ke-card a:hover .ke-card-play svg { fill: #0b0c0f; }
.ke-card-time {
  position: absolute; right: .7rem; bottom: .7rem; padding: .2rem .55rem;
  border-radius: 999px; background: rgba(11, 12, 15, .78); color: var(--ink);
  font-size: .78rem; letter-spacing: .04em;
}
.ke-card-text { display: grid; gap: .3rem; }
.ke-card-text small {
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan);
}
.ke-card-text strong { font-family: var(--display); font-size: 1.25rem; line-height: 1.25; }
.ke-card-text span { color: var(--muted); font-size: .92rem; }

/* ---------- Einzelseite ---------- */
.ke-back {
  max-width: var(--max); margin-inline: auto;
  padding: clamp(7rem, 12vw, 9rem) clamp(1.2rem, 5vw, 3rem) 0;
}
.ke-back a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.ke-back a:hover { color: var(--cyan); }
body .ke-episode { padding-top: clamp(1.2rem, 3vw, 2rem); }
@media (min-width: 940px) {
  body .ke-episode { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
}
body .ke-episode .video-player-shell { max-width: 420px; width: 100%; margin-inline: auto; }
body .ke-episode h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); line-height: 1.05; }

.ke-takeaways {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(23,25,30,.92), rgba(16,18,24,.66));
  padding: 1.4rem 1.6rem;
}
body .video-feature-copy .ke-takeaways h2 {
  font-size: .78rem !important; line-height: 1.4; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cyan); margin: 0 0 .9rem; font-family: var(--text); max-width: none;
}
.ke-takeaways ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .6rem; }
.ke-takeaways li { color: var(--ink); }
.ke-takeaways li::marker { color: var(--gold); font-weight: 700; }

.ke-more {
  max-width: var(--max); margin-inline: auto;
  padding: 0 clamp(1.2rem, 5vw, 3rem) clamp(3rem, 7vw, 5rem);
  display: grid; gap: 1rem;
}
@media (min-width: 760px) { .ke-more { grid-template-columns: 1fr 1fr; } }
.ke-more a {
  display: grid; gap: .3rem; padding: 1.2rem 1.4rem; border: 1px solid var(--line);
  border-radius: var(--radius-sm); text-decoration: none; color: var(--ink);
  transition: border-color .3s ease;
}
.ke-more a:hover { border-color: rgba(93, 228, 208, .4); }
.ke-more small { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); }
.ke-more span { color: var(--muted); font-size: .9rem; }

/* Kenndaten ohne graue Fläche dahinter */
body .ke-episode .video-meta { background: transparent; }

/* Handy: zwei Kacheln nebeneinander wie im Instagram-Raster */
@media (max-width: 560px) {
  .ke-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem .9rem; }
  .ke-card-text strong { font-size: 1.02rem; }
  .ke-card-text span { font-size: .84rem; }
  .ke-card-play { width: 48px; height: 48px; }
}
