/* Ruhige Hörlinien: Nachtblau vermittelt Ruhe und Kompetenz; Burgunder führt zur Handlung; Gold bleibt ein kleiner Funktionsmarker für Schall- und Sprachfokus. */
:root {
  --hb-media-ink: #102546;
  --hb-media-wine: #a1012c;
  --hb-media-gold: #d5a72d;
  --hb-media-paper: #f8f6f1;
  --hb-media-mist: #e9f0f5;
}

.hb-media-module {
  box-sizing: border-box;
  max-width: 1180px;
  margin: 58px auto;
  padding: 0 24px;
  color: var(--hb-media-ink);
  font-family: "Source Sans 3", Arial, sans-serif;
}

.hb-media-module *, .hb-media-module *::before, .hb-media-module *::after { box-sizing: border-box; }
.hb-media-kicker { margin: 0 0 10px; color: var(--hb-media-wine); font-size: .81rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hb-media-module h2 { max-width: 680px; margin: 0; color: var(--hb-media-ink); font-family: "DM Serif Display", Georgia, serif; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; }
.hb-media-module h3 { margin: 0; color: var(--hb-media-ink); font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.15; }
.hb-media-lead { max-width: 720px; margin: 18px 0 0; color: #44556a; font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.65; }

.hb-media-panel {
  position: relative;
  overflow: hidden;
  margin-top: 30px;
  padding: clamp(26px, 4vw, 54px);
  border-radius: 4px 32px 4px 32px;
  background: linear-gradient(128deg, #102546 0%, #17375f 52%, #54203d 100%);
  box-shadow: 0 20px 50px rgba(16, 37, 70, .18);
}
.hb-media-panel::before { content: ""; position: absolute; inset: auto -8% -70px; height: 190px; pointer-events: none; background: repeating-radial-gradient(ellipse at 15% 100%, transparent 0 19px, rgba(213, 167, 45, .48) 20px 22px, transparent 23px 42px); opacity: .7; transform: skewY(-5deg); }
.hb-media-panel > * { position: relative; z-index: 1; }
.hb-media-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hb-media-panel .hb-media-kicker { color: #f4d77b; }
.hb-media-panel h2, .hb-media-panel h3 { color: #fff; }
.hb-media-panel .hb-media-lead { color: rgba(255, 255, 255, .86); }

.hb-media-wave-card { margin-top: 26px; padding: 18px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.09); backdrop-filter: blur(8px); }
.hb-media-wave-legend { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-bottom: 13px; color: #fff; font-size: .95rem; font-weight: 700; }
.hb-media-wave-legend span { display: inline-flex; align-items: center; gap: 8px; }
.hb-media-dot { width: 10px; height: 10px; border-radius: 50%; background: #a6b8ca; }
.hb-media-dot--gold { background: var(--hb-media-gold); box-shadow: 0 0 0 4px rgba(213,167,45,.18); }
.hb-media-wave { width: 100%; height: 74px; display: block; overflow: visible; }
.hb-media-wave .hb-wave-noise { fill: none; stroke: #a6b8ca; stroke-width: 2.8; opacity: .75; }
.hb-media-wave .hb-wave-focus { fill: none; stroke: #f4d77b; stroke-width: 4.5; stroke-linecap: round; }
.hb-media-wave-note { margin: 12px 0 0; color: rgba(255,255,255,.84); font-size: 1rem; line-height: 1.5; }

.hb-media-video-shell { position: relative; overflow: hidden; border: 7px solid rgba(255,255,255,.92); background: #0d203d; box-shadow: 0 22px 48px rgba(0,0,0,.28); }
.hb-media-video-shell video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #0d203d; object-fit: cover; }
.hb-media-duration { position: absolute; top: 14px; right: 14px; padding: 5px 10px; border-radius: 999px; background: rgba(16,37,70,.86); color: #fff; font-size: .86rem; font-weight: 800; }
.hb-media-caption-note { margin: 12px 0 0; color: rgba(255,255,255,.84); font-size: .94rem; line-height: 1.45; }
.hb-media-caption-note strong { color: #fff; }

.hb-media-steps { display: grid; gap: 0; margin-top: 28px; border-left: 2px solid var(--hb-media-gold); }
.hb-media-step { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; padding: 0 0 24px 24px; }
.hb-media-step::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--hb-media-gold); box-shadow: 0 0 0 5px #fff; }
.hb-media-step-number { color: var(--hb-media-wine); font-weight: 800; font-size: .9rem; letter-spacing: .08em; }
.hb-media-step p { margin: 6px 0 0; color: #536479; font-size: 1.04rem; line-height: 1.55; }

.hb-media-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 24px; padding: 12px 20px; border-radius: 2px; background: var(--hb-media-wine); color: #fff !important; font-size: 1.05rem; font-weight: 800; text-decoration: none; transition: transform 160ms cubic-bezier(.23,1,.32,1), background 160ms cubic-bezier(.23,1,.32,1); }
.hb-media-cta:hover { background: #820023; color: #fff; transform: translateY(-2px); }
.hb-media-cta:active { transform: scale(.97); }
.hb-media-ai { display: inline-flex; align-items: center; gap: 7px; margin-top: 13px; color: #67778a; font-size: .84rem; line-height: 1.35; }
.hb-media-ai::before { content: "i"; display: grid; width: 16px; height: 16px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: Georgia, serif; font-size: .72rem; font-weight: 700; }
.hb-media-panel .hb-media-ai { color: rgba(255,255,255,.72); }

.hb-media-bridge { display: grid; grid-template-columns: minmax(0, .9fr) minmax(260px, 1.1fr); gap: 30px; align-items: center; margin-top: 30px; padding: clamp(24px,4vw,42px); border-top: 3px solid var(--hb-media-gold); background: var(--hb-media-paper); box-shadow: 0 14px 36px rgba(16,37,70,.08); }
.hb-media-bridge-visual { position: relative; overflow: hidden; min-height: 260px; background: var(--hb-media-ink); }
.hb-media-bridge-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .93; }
.hb-media-bridge-visual::after { content: ""; position: absolute; inset: auto -12% -48px; height: 120px; background: repeating-radial-gradient(ellipse at 25% 100%, transparent 0 17px, rgba(213,167,45,.86) 18px 20px, transparent 21px 38px); }
.hb-media-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hb-media-text-link { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 14px; border: 1px solid #c8d2db; color: var(--hb-media-ink) !important; font-weight: 800; text-decoration: none; }
.hb-media-text-link:hover { border-color: var(--hb-media-wine); color: var(--hb-media-wine) !important; }

@media (max-width: 760px) {
  .hb-media-module { margin: 42px auto; padding: 0 18px; }
  .hb-media-panel { padding: 28px 22px 36px; border-radius: 3px 22px 3px 22px; }
  .hb-media-grid, .hb-media-bridge { grid-template-columns: 1fr; }
  .hb-media-video-shell { order: -1; border-width: 4px; }
  .hb-media-bridge-visual { min-height: 200px; }
  .hb-media-step { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding-left: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .hb-media-cta { transition: none; }
}


/* Stage 2: Der Videoeinstieg ist selbst eine verständliche, sichtbare Handlung. */
.hb-media-bridge-video {
  border: 1px solid rgba(16, 37, 70, .14);
  box-shadow: 0 14px 32px rgba(16, 37, 70, .16);
  display: block;
  isolation: isolate;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hb-media-bridge-video:hover {
  box-shadow: 0 20px 42px rgba(16, 37, 70, .22);
  transform: translateY(-3px);
}

.hb-media-bridge-video::before {
  background: linear-gradient(180deg, rgba(8, 23, 46, .04) 20%, rgba(8, 23, 46, .52) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hb-media-play {
  align-items: center;
  background: var(--hb-media-wine);
  border: 3px solid rgba(255,255,255,.88);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0,0,0,.26);
  color: #fff;
  display: flex;
  font-size: 1.1rem;
  height: 68px;
  justify-content: center;
  left: 50%;
  padding-left: 3px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  z-index: 2;
}

.hb-media-video-label {
  bottom: 16px;
  color: #fff;
  font-size: .92rem;
  font-weight: 800;
  left: 16px;
  letter-spacing: .02em;
  position: absolute;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
  z-index: 2;
}

.hb-media-text-link--primary {
  background: var(--hb-media-wine);
  border-color: var(--hb-media-wine);
  color: #fff !important;
}

.hb-media-text-link--primary:hover {
  background: #820023;
  border-color: #820023;
  color: #fff !important;
}

@media (max-width: 760px) {
  .hb-media-bridge-video { min-height: 220px; }
  .hb-media-play { height: 62px; width: 62px; }
  .hb-media-video-label { bottom: 13px; left: 13px; }
}
