/* ---------------------------------------------------------
   VBFA e. V. – Lernplattform Weiterleitungsseite
   Lokal eingebundene Schriftarten (kein Aufruf externer Server)
   Lizenz: SIL Open Font License 1.1, siehe fonts/OFL-*.txt
--------------------------------------------------------- */
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------
   Tokens
--------------------------------------------------------- */
:root {
  --color-bg: #F4F5F3;
  --color-surface: #FFFFFF;
  --color-ink: #1A2230;
  --color-ink-soft: #4E5B6B;
  --color-primary: #1E3A5F;
  --color-primary-dark: #142A45;
  --color-accent: #A98B4E;
  --color-border: #E1E4E1;
  --color-focus: #2F7166;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 30, 45, 0.04), 0 12px 32px -16px rgba(20, 30, 45, 0.18);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--color-bg);
  background-image:
    radial-gradient(1200px 600px at 12% -10%, rgba(30, 58, 95, 0.05), transparent 60%),
    radial-gradient(900px 500px at 100% 110%, rgba(169, 139, 78, 0.06), transparent 55%);
  color: var(--color-ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

/* ---------------------------------------------------------
   Gate / Card
--------------------------------------------------------- */
.gate {
  width: 100%;
  max-width: 480px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 48px 40px 40px;
  text-align: center;
  animation: rise 0.6s ease-out both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gate__logo {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  object-fit: contain;
}

.gate__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 1.05rem + 1.2vw, 1.75rem);
  line-height: 1.35;
  color: var(--color-primary-dark);
  letter-spacing: -0.01em;
}

.gate__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 18px;
}

.gate__divider span {
  height: 1px;
  width: 40px;
  background: var(--color-border);
}

.gate__divider i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  display: inline-block;
  font-style: normal;
}

.gate__lead {
  margin: 0 0 28px;
  color: var(--color-ink-soft);
  font-size: 0.95rem;
}

/* ---------------------------------------------------------
   Actions
--------------------------------------------------------- */
.gate__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 20px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn__arrow {
  transition: transform 0.15s ease;
}

.btn:hover .btn__arrow,
.btn:focus-visible .btn__arrow {
  transform: translateX(3px);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--color-primary);
  color: #FFFFFF;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary-dark);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-primary);
  background: rgba(30, 58, 95, 0.04);
}

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */
.footer {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--color-ink-soft);
  font-size: 0.82rem;
}

.footer__copy {
  margin: 0;
}

.footer__nav a {
  color: var(--color-ink-soft);
  text-decoration: none;
}

.footer__nav a:hover,
.footer__nav a:focus-visible {
  color: var(--color-primary);
  text-decoration: underline;
}

.footer__sep {
  margin: 0 6px;
  color: var(--color-border);
}

/* ---------------------------------------------------------
   Reduced motion
--------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .gate {
    animation: none;
  }
  .btn {
    transition: none;
  }
}

/* ---------------------------------------------------------
   Small screens
--------------------------------------------------------- */
@media (max-width: 420px) {
  .gate {
    padding: 36px 24px 32px;
  }
}
