/* ===== Hero / ATF — "Der Testsieger" ===== */
.wrapper .hero { position: relative; overflow: hidden; padding: 52px 0 60px; background: radial-gradient(120% 140% at 80% 0%, #1a4f97 0%, #103a73 42%, #0a1f40 100%); }
.wrapper .hero .hero-glow { position: absolute; top: -160px; right: -120px; width: 620px; height: 620px; pointer-events: none; background: radial-gradient(circle, rgba(232, 160, 9, 0.28) 0%, rgba(232, 160, 9, 0) 62%); }
.wrapper .hero .hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 0%, transparent 75%); mask-image: radial-gradient(120% 90% at 70% 10%, #000 0%, transparent 75%); }
.wrapper .hero .hero-inner { position: relative; max-width: 1160px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr; gap: 40px; }

/* ----- Copy column ----- */
.wrapper .hero .hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #ffd98a; background: rgba(232, 160, 9, 0.12); border: 1px solid rgba(232, 160, 9, 0.4); padding: 7px 14px; border-radius: 999px; animation: hero-rise 0.7s ease both; }
.wrapper .hero .hero-eyebrow .eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: #f4b62c; box-shadow: 0 0 0 0 rgba(244, 182, 44, 0.7); animation: pulse-dot 2.2s ease-out infinite; }
.wrapper .hero .hero-heading { color: #ffffff; font-size: 38px; line-height: 1.08; font-weight: 800; letter-spacing: -0.8px; margin-top: 20px; animation: hero-rise 0.7s ease 0.08s both; }
.wrapper .hero .hero-heading .heading-accent { display: block; color: #f4b62c; }
.wrapper .hero .hero-subline { color: #c8dcf7; font-size: 17px; line-height: 1.62; max-width: 540px; margin-top: 18px; animation: hero-rise 0.7s ease 0.16s both; }
.wrapper .hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; animation: hero-rise 0.7s ease 0.24s both; }
.wrapper .hero .hero-button { display: inline-flex; align-items: center; gap: 9px; padding: 14px 26px; border-radius: 999px; font-size: 15px; font-weight: 700; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease; }
.wrapper .hero .button-primary { background: linear-gradient(135deg, #f4b62c, #e8a009); color: #2a1c00; box-shadow: 0 14px 30px rgba(232, 160, 9, 0.4); }
.wrapper .hero .button-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(232, 160, 9, 0.52); }
.wrapper .hero .button-primary .button-arrow { width: 18px; height: 18px; transition: transform 0.2s ease; }
.wrapper .hero .button-primary:hover .button-arrow { transform: translateX(4px); }
.wrapper .hero .button-ghost { background: rgba(255, 255, 255, 0.06); color: #ffffff; border: 1.5px solid rgba(255, 255, 255, 0.4); }
.wrapper .hero .button-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.7); }
.wrapper .hero .hero-stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.12); animation: hero-rise 0.7s ease 0.32s both; }
.wrapper .hero .hero-stat { display: flex; flex-direction: column; }
.wrapper .hero .stat-num { font-size: 30px; font-weight: 800; color: #ffffff; letter-spacing: -0.5px; line-height: 1; }
.wrapper .hero .stat-label { font-size: 13px; color: #a9c4e8; margin-top: 6px; max-width: 130px; }

/* ----- Winner column ----- */
.wrapper .hero .hero-winner { animation: hero-rise 0.8s ease 0.3s both; }
.wrapper .hero .winner-card { display: block; position: relative; background: #ffffff; border-radius: 20px; padding: 30px 24px 24px; box-shadow: 0 36px 70px rgba(5, 18, 42, 0.45); border-top: 4px solid #e8a009; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.wrapper .hero .winner-card:hover { transform: translateY(-4px); box-shadow: 0 44px 84px rgba(5, 18, 42, 0.55); }
.wrapper .hero .winner-ribbon { position: absolute; top: 26px; right: -56px; width: 200px; transform: rotate(45deg); background: linear-gradient(135deg, #f4b62c, #e8a009); text-align: center; padding: 7px 0; box-shadow: 0 6px 14px rgba(232, 160, 9, 0.4); overflow: hidden; }
.wrapper .hero .winner-ribbon .ribbon-text { position: relative; font-size: 11px; font-weight: 800; letter-spacing: 0.3px; text-transform: uppercase; color: #2a1c00; white-space: nowrap; }
.wrapper .hero .winner-ribbon::after { content: ""; position: absolute; top: 0; left: -60%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.7), transparent); transform: skewX(-18deg); animation: ribbon-shine 4.5s ease-in-out 1.6s infinite; }
.wrapper .hero .winner-head { padding-right: 90px; }
.wrapper .hero .winner-name { display: block; font-size: 26px; font-weight: 800; color: #14233a; letter-spacing: -0.4px; }
.wrapper .hero .winner-tag { display: block; font-size: 13px; font-weight: 600; color: #5e7088; margin-top: 4px; }
.wrapper .hero .winner-score { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.wrapper .hero .score-stars { position: relative; width: 120px; height: 22px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.2 6.6.8-4.9 4.6 1.3 6.6L12 17l-5.9 3.2 1.3-6.6L2.5 9l6.6-.8z' fill='%23ccd6e6'/%3E%3C/svg%3E"); background-size: 24px 24px; background-repeat: repeat-x; }
.wrapper .hero .score-stars-fill { position: absolute; top: 0; left: 0; height: 100%; width: 92%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.2 6.6.8-4.9 4.6 1.3 6.6L12 17l-5.9 3.2 1.3-6.6L2.5 9l6.6-.8z' fill='%23e8a009'/%3E%3C/svg%3E"); background-size: 24px 24px; background-repeat: repeat-x; animation: star-fill 1.1s ease 0.5s both; }
.wrapper .hero .score-value { display: inline-flex; align-items: baseline; gap: 4px; }
.wrapper .hero .score-num { font-size: 28px; font-weight: 800; color: #15539e; letter-spacing: -0.5px; }
.wrapper .hero .score-max { font-size: 14px; font-weight: 600; color: #8a99ad; }
.wrapper .hero .winner-usps { margin-top: 20px; display: flex; flex-direction: column; gap: 11px; }
.wrapper .hero .winner-usp { display: flex; align-items: flex-start; gap: 10px; }
.wrapper .hero .winner-usp .usp-check { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; }
.wrapper .hero .winner-usp .usp-label { font-size: 14.5px; font-weight: 600; color: #2c3b51; line-height: 1.4; }
.wrapper .hero .winner-cta { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; padding: 14px 20px; border-radius: 12px; background: #15539e; color: #ffffff; font-size: 15px; font-weight: 700; transition: background 0.2s ease; }
.wrapper .hero .winner-cta::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 20px; }
.wrapper .hero .winner-card:hover .winner-cta { background: #0f447f; }
.wrapper .hero .winner-cta .cta-arrow { width: 18px; height: 18px; transition: transform 0.2s ease; }
.wrapper .hero .winner-card:hover .winner-cta .cta-arrow { transform: translateX(4px); }

/* ----- Runner-ups ----- */
.wrapper .hero .runner-ups { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.wrapper .hero .runner-up .runner-link { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); transition: background 0.2s ease, transform 0.2s ease; }
.wrapper .hero .runner-up .runner-link:hover { background: rgba(255, 255, 255, 0.13); transform: translateX(3px); }
.wrapper .hero .runner-up .ru-rank { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: #14233a; background: #c2cfe0; }
.wrapper .hero .runner-up .ru-name { flex: 1 1 auto; font-size: 15px; font-weight: 700; color: #ffffff; }
.wrapper .hero .runner-up .ru-meta { font-size: 12.5px; color: #a9c4e8; }
.wrapper .hero .runner-up .ru-score { flex: 0 0 auto; font-size: 14px; font-weight: 800; color: #14233a; background: #f4b62c; padding: 3px 10px; border-radius: 8px; }

/* ----- Keyframes ----- */
@keyframes hero-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(244, 182, 44, 0.7); } 70% { box-shadow: 0 0 0 9px rgba(244, 182, 44, 0); } 100% { box-shadow: 0 0 0 0 rgba(244, 182, 44, 0); } }
@keyframes star-fill { from { width: 0; } to { width: 92%; } }
@keyframes ribbon-shine { 0% { left: -60%; } 28% { left: 130%; } 100% { left: 130%; } }

/* ----- Responsive ----- */
@media (min-width: 768px) {
  .wrapper .hero { padding: 70px 0 80px; }
  .wrapper .hero .hero-heading { font-size: 50px; }
  .wrapper .hero .hero-subline { font-size: 18px; }
}
@media (min-width: 1024px) {
  .wrapper .hero { padding: 86px 0 96px; }
  .wrapper .hero .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
  .wrapper .hero .hero-heading { font-size: 56px; }
  .wrapper .hero .winner-card { padding: 34px 30px 28px; }
  .wrapper .hero .winner-name { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .wrapper .hero .hero-eyebrow, .wrapper .hero .hero-heading, .wrapper .hero .hero-subline, .wrapper .hero .hero-actions, .wrapper .hero .hero-stats, .wrapper .hero .hero-winner { animation: none; }
  .wrapper .hero .hero-eyebrow .eyebrow-dot { animation: none; }
  .wrapper .hero .score-stars-fill { animation: none; }
  .wrapper .hero .winner-ribbon::after { animation: none; display: none; }
}
