/* Reels „Beton einfach erklärt“ – Startseiten-Leiste, Lieferbeton-Tipps, Abspiel-Overlay.
   CI: kantig (keine Rundungen), Blau/Gelb, Barlow Condensed + Source Sans 3 */

.reels-eyebrow {
  display: block; margin-bottom: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gelb-500);
}
.reels-eyebrow-blau { color: var(--blau-800); }

/* ---------- Gemeinsame Vorschau (Hochformat 9:16) ---------- */
.reel-thumb {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16;
  padding: 0; border: 0; border-radius: 0; cursor: pointer; overflow: hidden;
  background: #002a48; box-shadow: 0 12px 28px rgba(0, 20, 40, 0.30);
}
.reel-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.reel-thumb:hover img { transform: scale(1.04); }
.reel-dauer {
  position: absolute; top: 10px; left: 10px; padding: 2px 8px;
  background: var(--blau-900); color: var(--weiss);
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
}
.reel-play {
  position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gelb-500); color: var(--blau-900); box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  transition: transform .2s ease, background .2s ease;
}
.reel-thumb:hover .reel-play, .reel-thumb:focus-visible .reel-play { transform: scale(1.08); background: var(--weiss); }
.reel-thumb:focus-visible { outline: 3px solid var(--gelb-500); outline-offset: 3px; }

/* ---------- Startseite: blaue Leiste ---------- */
.reels-band {
  background: linear-gradient(120deg, var(--blau-900) 0%, var(--blau-800) 100%);
  color: var(--weiss); border-bottom: 6px solid var(--gelb-500); overflow: hidden;
}
.reels-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; }
.reels-intro { max-width: 760px; }
.reels-intro h2 { color: var(--weiss); margin: 0 0 10px; }
.reels-intro p { margin: 0; color: #E3EEF7; font-size: 1.15rem; }
.reels-pfeile { display: flex; gap: 8px; flex: none; }
.reels-pfeil {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--weiss); border-radius: 0; background: transparent; color: var(--weiss); cursor: pointer;
}
.reels-pfeil:hover { background: var(--weiss); color: var(--blau-900); }
.reels-pfeil-gelb { border-color: var(--gelb-500); background: var(--gelb-500); color: var(--blau-900); }
.reels-pfeil-gelb:hover { background: var(--weiss); border-color: var(--weiss); }
.reels-pfeil:disabled { opacity: .35; cursor: default; }
.reels-band :focus-visible { outline: 3px solid var(--gelb-500); outline-offset: 3px; }

.reels-leiste {
  list-style: none; margin: 0; padding: 0 0 18px;
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.reels-leiste::-webkit-scrollbar { display: none; }
.reel-karte { flex: 0 0 200px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; }
.reel-titel { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; line-height: 1.15; text-transform: uppercase; }

.reel-frage {
  width: 200px; aspect-ratio: 9 / 16; box-sizing: border-box; padding: 22px; border: 0; border-radius: 0;
  background: var(--gelb-500); color: var(--blau-900); text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 10px; font-family: var(--font-body);
}
.reel-frage img { width: 96px; height: auto; align-self: flex-end; margin-bottom: auto; }
.reel-frage-titel { font-family: var(--font-head); font-weight: 700; font-size: 1.75rem; line-height: 1; text-transform: uppercase; }
.reel-frage-text { font-size: 0.95rem; font-weight: 600; line-height: 1.4; }
.reel-frage-link { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; border-top: 2px solid var(--blau-900); padding-top: 8px; }
.reel-frage:hover { background: var(--weiss); }

.reels-fuss { margin-top: 6px; }
.reels-fortschritt { display: block; height: 5px; background: rgba(255,255,255,0.25); max-width: 240px; }
.reels-fortschritt span { display: block; height: 100%; width: 20%; background: var(--gelb-500); transition: width .2s ease, margin-left .2s ease; }

/* ---------- Lieferbeton: Tipps-Raster ---------- */
.reels-tipps { background: var(--blau-100); }
.reels-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.reel-tipp {
  display: flex; background: var(--weiss); border-top: 5px solid var(--gelb-500); box-shadow: var(--shadow);
}
.reel-thumb-klein { width: 150px; flex: none; box-shadow: none; }
.reel-thumb-klein .reel-play { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
.reel-tipp-text { padding: 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.reel-tipp-text h3 { margin: 0; font-family: var(--font-head); font-size: 1.45rem; line-height: 1.1; text-transform: uppercase; color: var(--blau-900); }
.reel-tipp-text p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--grau-700); }
.reel-tipp-link {
  margin-top: auto; align-self: flex-start; padding: 6px 0; border: 0; background: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; color: var(--blau-800);
  border-bottom: 2px solid var(--gelb-500);
}
.reel-tipp-link:hover { color: var(--blau-900); }

.reels-hinweis {
  margin-top: 40px; display: flex; align-items: center; gap: 22px;
  background: var(--blau-900); color: var(--weiss); padding: 16px 26px;
}
.reels-hinweis img { width: 54px; height: auto; margin: -34px 0 -16px; }
.reels-hinweis p { margin: 0; flex: 1; font-size: 1.1rem; color: var(--weiss); }
.reels-hinweis strong { color: var(--gelb-500); }

/* ---------- Abspiel-Overlay ---------- */
.reel-overlay {
  position: fixed; inset: 0; z-index: 2147483600; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(0, 20, 36, 0.88);
}
.reel-overlay.offen { display: flex; }
.reel-overlay-box { position: relative; display: flex; flex-direction: column; gap: 12px; width: min(400px, 100%); }
.reel-overlay video {
  display: block; width: 100%; max-height: calc(100vh - 140px); aspect-ratio: 9 / 16;
  background: #000; object-fit: contain; border-bottom: 5px solid var(--gelb-500);
}
.reel-overlay-titel { margin: 0; color: var(--weiss); font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; }
.reel-overlay-zu {
  position: absolute; top: -10px; right: -66px; width: 52px; height: 52px; border: 0; border-radius: 0;
  background: var(--gelb-500); color: var(--blau-900); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.reel-overlay-nav {
  position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -46px; border: 2px solid var(--weiss); border-radius: 0;
  background: rgba(0, 58, 98, 0.6); color: var(--weiss); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.reel-overlay-nav:hover, .reel-overlay-zu:hover { background: var(--weiss); color: var(--blau-900); }
.reel-overlay-zurueck { left: -76px; }
.reel-overlay-weiter { right: -76px; }
.reel-overlay :focus-visible { outline: 3px solid var(--gelb-500); outline-offset: 3px; }
body.reel-offen { overflow: hidden; }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 960px) {
  .reels-raster { grid-template-columns: minmax(0, 1fr); }
  .reel-thumb-klein { width: 130px; }
}
@media (max-width: 720px) {
  .reels-kopf { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
  .reels-pfeile { display: none; }
  .reels-leiste { gap: 14px; margin-right: -24px; padding-right: 24px; }
  .reel-karte { flex-basis: 70vw; max-width: 260px; }
  .reel-frage { width: 100%; }
  .reels-hinweis { flex-wrap: wrap; }
  .reels-hinweis img { display: none; }
  .reel-overlay { padding: 12px; }
  .reel-overlay-zu { top: 8px; right: 8px; z-index: 2; }
  .reel-overlay-nav { display: none; }
  .reel-overlay video { max-height: calc(100vh - 90px); }
}
@media (prefers-reduced-motion: reduce) {
  .reels-leiste { scroll-behavior: auto; }
  .reel-thumb img, .reel-play { transition: none; }
}
@media print { .reels-band, .reels-tipps, .reel-overlay { display: none !important; } }
