/* Marktradar shared stylesheet. Linked by the thank-you template, every
   per-session HTML, and the Mediathek so a single edit updates all surfaces.

   Rules that only apply on certain pages (state-section hero variants,
   replay card grid, Mediathek video grid) all live here; the unused
   selectors on each page are inert. The trade-off vs three smaller
   stylesheets is one extra ~6 KB stylesheet vs guaranteed visual parity
   when the brand evolves.

   Conventions:
     - Variable definitions only in :root.
     - WhatsApp viewport-split rule at the end so it stays easy to find.
*/

:root {
  --navy: #0E1B2A;
  --slate: #1d2b3a;
  --green: #2DBE8B;
  --green-d: #1f9d6b;
  --wa: #25D366;
  --wa-d: #1da851;
  --ink: #1a1a1a;
  --muted: #5b6b7a;
  --line: #e2e8ef;
  --bg: #f4f7f9;
  --card: #ffffff;
  --amber: #f59e0b;
  --amber-d: #d97706;
  --slategrey: #475569;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}
a {
  color: inherit;
}

/* Top bar. Thank-you uses <div class="topbar">, Mediathek uses
   <header class="topbar"> with an anchor inside. Both styles apply. */
.topbar {
  background: var(--navy);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar .brand {
  color: #fff;
  font-weight: 700;
  letter-spacing: .5px;
  font-size: 15px;
  text-decoration: none;
}
.topbar .brand:hover {
  text-decoration: underline;
}
.topbar .brand span {
  color: var(--green);
}
.accent {
  height: 3px;
  background: var(--green);
}

/* Mediathek hero. Inert on thank-you pages. */
.head {
  background: linear-gradient(180deg, var(--navy), #13263a);
  color: #fff;
  padding: 40px 20px 46px;
  text-align: center;
}
.head h1 {
  margin: 0 0 8px;
  font-size: 30px;
}
.head p {
  margin: 0 auto;
  max-width: 560px;
  color: #b8c7d6;
  font-size: 16px;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 34px 20px 60px;
}
/* Mediathek widens the wrap for the card grid. */
.wrap--wide {
  max-width: 1060px;
  margin-top: -26px;
  padding-bottom: 50px;
}

/* State hero, three variants (thank-you only). */
.hero {
  text-align: center;
  padding: 18px 0 6px;
}
.check {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(45, 190, 139, .35);
}
.check svg {
  width: 38px;
  height: 38px;
}
.livedot {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--amber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(245, 158, 11, .35);
  animation: pulse 2s ease-in-out infinite;
}
.pastdot {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--slategrey);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(71, 85, 105, .35);
}
.livedot svg,
.pastdot svg {
  width: 38px;
  height: 38px;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
h1 {
  font-size: 28px;
  margin: 6px 0 6px;
}
.sub {
  color: var(--muted);
  font-size: 16px;
  margin: 0 auto;
  max-width: 520px;
}

/* Card primitives. */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  margin-top: 26px;
  box-shadow: 0 1px 3px rgba(16, 27, 42, .05);
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--green-d);
  margin: 0 0 8px;
}
.eyebrow.amber {
  color: var(--amber-d);
}
.eyebrow.slate {
  color: var(--slategrey);
}
.wtitle {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 4px;
}
.meta div {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
}
.meta .ico {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--green-d);
}

.steps {
  counter-reset: s;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.steps li {
  position: relative;
  padding: 14px 0 14px 48px;
  border-bottom: 1px solid var(--line);
}
.steps li:last-child {
  border-bottom: 0;
}
.steps li::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  left: 0;
  top: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.steps b {
  display: block;
  font-size: 15px;
}
.steps span {
  color: var(--muted);
  font-size: 14px;
}

/* Buttons. */
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.btn {
  flex: 1 1 200px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 15px;
  transition: .15s;
}
.btn-primary {
  background: var(--green);
  color: #062018;
}
.btn-primary:hover {
  background: var(--green-d);
  color: #fff;
}
.btn-ghost {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--green);
}
.btn-amber {
  background: var(--amber);
  color: #1a1a1a;
}
.btn-amber:hover {
  background: var(--amber-d);
  color: #fff;
}

/* WhatsApp contact card. */
.wacard {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, #fff, #f3faf6);
  border: 1px solid #cdeede;
}
/* Mediathek uses an isolated .waband with its own padding. */
.waband {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, #fff, #f3faf6);
  border: 1px solid #cdeede;
  border-radius: 16px;
  padding: 26px 28px;
  margin-top: 34px;
}
.wa-l {
  flex: 1 1 320px;
}
.wa-l .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--green-d);
  margin: 0 0 6px;
}
.wa-l h3 {
  margin: 2px 0 8px;
  font-size: 19px;
}
.wa-l p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14.5px;
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--wa);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 20px;
  border-radius: 10px;
  transition: .15s;
}
.btn-wa:hover {
  background: var(--wa-d);
}
.btn-wa svg {
  width: 20px;
  height: 20px;
}
.wa-r {
  flex: 0 0 auto;
  text-align: center;
}
.wa-r img {
  width: 128px;
  height: 128px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 6px;
}
.wa-r span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

/* Replay cards on the thank-you page. */
.rsec {
  margin-top: 34px;
}
.rsec .eyebrow {
  text-align: left;
}
.rgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.rc {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: .15s;
}
.rc:hover {
  box-shadow: 0 6px 18px rgba(16, 27, 42, .12);
  transform: translateY(-2px);
}
.rc .rt {
  background: linear-gradient(135deg, #13263a, #0E1B2A);
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.rc .pl {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(45, 190, 139, .95);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rc .pl svg {
  width: 16px;
  height: 16px;
  margin-left: 2px;
}
.rc .d {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 14px;
}
.rc .rb {
  padding: 11px 13px;
}
.rc .rb h4 {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.35;
}
.rmore {
  display: inline-block;
  margin-top: 14px;
  color: var(--green-d);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

/* Mediathek video cards. */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.vid {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(16, 27, 42, .06);
  transition: .15s;
}
.vid:hover {
  box-shadow: 0 8px 24px rgba(16, 27, 42, .12);
  transform: translateY(-2px);
}
.thumb {
  position: relative;
  background: linear-gradient(135deg, #13263a, #0E1B2A);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb .play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(45, 190, 139, .95);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb .play svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
}
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
  padding: 4px 9px;
  border-radius: 20px;
}
.badge.soon {
  background: var(--green);
  color: #062018;
}
.dur {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}
.body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.body h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.35;
}
.body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13.5px;
  flex: 1;
}
.watch {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: #062018;
  background: var(--green);
  text-align: center;
  padding: 11px;
  border-radius: 9px;
  transition: .15s;
}
.watch:hover {
  background: var(--green-d);
  color: #fff;
}
.watch.soon {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.watch.soon:hover {
  border-color: var(--green);
}

/* Regulatory footer. */
footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
footer.wide {
  max-width: 1060px;
  padding-top: 30px;
}
.risk {
  font-size: 11px;
  color: #8794a2;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  line-height: 1.5;
}
.reg {
  font-size: 11px;
  color: #8794a2;
  margin-top: 8px;
}

/* WhatsApp viewport split (R7 design delta from source). Mobile sees the
   link button; desktop sees the QR. Single CSS rule, no JS detection. */
@media (max-width: 520px) {
  h1 { font-size: 24px; }
  .btn { flex: 1 1 100%; }
  .wa-r { display: none; }
}
@media (min-width: 521px) {
  .btn-wa { display: none; }
}
