/* Hager Event-Plattform – statische Live-Seite (social4business) */
@font-face {
  font-family: "HagerScale-Regular";
  src: url("HagerScale-Regular.woff") format("woff");
  font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "HagerScale-Bold";
  src: url("HagerScale-Bold.woff") format("woff");
  font-weight: normal; font-style: normal; font-display: swap;
}

:root {
  --hager-blue: #0078C3;
  --hager-navy: #04356B;
  --text: #4A4A4A;
  --text-strong: #1e293b;
  --line: #e2e8f0;
  --bg-soft: #eeeeee;
  --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "HagerScale-Regular", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}
a { color: var(--hager-navy); }

/* ---------- Login ---------- */
body.login {
  min-height: 100vh;
  background: var(--hager-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8vh 16px 40px;
}
.login-logo {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 80px;
}
.login-box {
  width: 100%;
  max-width: 360px;
  background: var(--white);
  border: 1px solid #c3c4c7;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  padding: 26px 24px 24px;
}
.login-box label {
  display: block;
  font-size: 15px;
  color: #1d2327;
  margin-bottom: 6px;
}
.pw-wrap { position: relative; }
.pw-wrap input {
  width: 100%;
  font: inherit;
  font-size: 20px;
  line-height: 1.33;
  padding: 6px 44px 6px 10px;
  border: 1px solid #8c8f94;
  border-radius: 4px;
  min-height: 44px;
  color: #1d2327;
}
.pw-wrap input:focus {
  outline: 2px solid var(--hager-blue);
  outline-offset: 0;
  border-color: var(--hager-blue);
}
.pw-toggle {
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border: 0; background: transparent;
  cursor: pointer;
  color: var(--hager-blue);
  display: grid; place-items: center;
  border-radius: 4px;
}
.pw-toggle svg { width: 20px; height: 20px; }
.login-actions { display: flex; justify-content: flex-end; margin-top: 18px; }
.btn {
  font: inherit;
  font-size: 15px;
  background: var(--hager-navy);
  color: var(--white);
  border: 0;
  border-radius: 3px;
  padding: 10px 18px;
  min-height: 44px;
  cursor: pointer;
}
.btn:hover { background: #062a52; }
.btn:focus-visible { outline: 2px solid var(--hager-blue); outline-offset: 2px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.login-error {
  display: none;
  margin: 0 0 16px;
  padding: 10px 12px;
  border-left: 4px solid #d63638;
  background: #fcf0f1;
  color: #1d2327;
  font-size: 14px;
}
.login-error.show { display: block; }
.noscript {
  max-width: 360px; margin-top: 16px; color: var(--white); text-align: center; font-size: 14px;
}

/* ---------- Live ---------- */
.site-header {
  background: var(--hager-blue);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  height: 85px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 16px;
}
.site-header img { width: 130px; height: auto; display: block; }

.container { max-width: 1300px; margin: 0 auto; padding: 0 16px; }

main.container { padding-top: 40px; }

/* Countdown */
.countdown {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  justify-content: center;
  color: var(--hager-blue);
}
.countdown li {
  position: relative;
  text-align: center;
  padding: 0 28px;
  min-width: 120px;
}
.countdown li + li::before {
  content: "";
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  border-left: 1px solid var(--hager-blue);
  opacity: .5;
}
.countdown .num {
  display: block;
  font-family: "HagerScale-Bold", Helvetica, Arial, sans-serif;
  font-size: 60px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.countdown .lbl {
  display: block;
  font-size: 16px;
  letter-spacing: .02em;
}
.countdown-done {
  display: none;
  text-align: center;
  font-family: "HagerScale-Bold", Helvetica, Arial, sans-serif;
  color: var(--hager-blue);
  font-size: 28px;
  margin: 0 0 30px;
}
.started .countdown { display: none; }
.started .countdown-done { display: block; }

h1.event-title {
  margin: 0 0 15px;
  padding-left: 15px;
  font-family: "HagerScale-Regular", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 50px;
  line-height: 1.2;
  color: var(--hager-blue);
}

.player {
  position: relative;
  padding-top: 56.25%;
  margin: 25px 0;
  box-shadow: 0 0 10px 0 rgba(0,0,0,.5);
  background: #000;
}
.player iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.hint {
  margin: 0 0 25px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* Footer */
.site-footer { margin-top: 40px; }
.footer-menu {
  background: var(--bg-soft);
  min-height: 30px;
  padding: 10px 16px;
}
.footer-menu ul {
  list-style: none; margin: 0 auto; padding: 0;
  max-width: 1300px;
  display: flex; flex-wrap: wrap; gap: 4px 24px;
  justify-content: center;
}
.footer-menu a { color: var(--text-strong); text-decoration: none; font-size: 15px; }
.footer-menu a:hover { text-decoration: underline; }
.copyright {
  text-align: center;
  font-size: 14px;
  color: #334155;
  padding: 14px 16px 20px;
  border-top: 1px solid var(--line);
}

.copyright a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.copyright a:hover { color: var(--hager-blue); }

@media (max-width: 767px) {
  main.container { padding-top: 28px; }
  .site-header .inner { height: 83px; }
  .site-header img { width: 78px; }
  .countdown li { padding: 0 10px; min-width: 0; flex: 1; }
  .countdown .num { font-size: 37px; }
  .countdown .lbl { font-size: 13px; }
  h1.event-title { font-size: 39px; padding-left: 0; }
  .footer-menu ul { justify-content: flex-start; }
}
