/* Landingpage (Gate) – ProComp-Stil der SPA (immer dunkles Band).
   Font + Circuitry-Overlay kommen aus dem SPA-Build (/app/). */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/static/fonts/inter-latin.woff2') format('woff2');
}

:root {
  --font-sans:
    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    sans-serif;
  --band-bg: #0a0908;
  --band-text: #ffffff;
  --band-muted: rgba(255, 255, 255, 0.65);
  --band-border: rgba(255, 255, 255, 0.14);
  --band-accent: #ff5c5c;
  --color-accent: #d70929;
  --radius-md: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  height: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  background-color: var(--band-bg);
  color: var(--band-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Wie der Hero der SPA: fast-schwarzes Band, Circuitry unten, roter Glow. */
.gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  background-image:
    url('/static/circuitry.svg'),
    radial-gradient(
      120% 90% at 50% 100%,
      rgba(215, 9, 41, 0.5) 0%,
      rgba(162, 10, 23, 0.22) 45%,
      rgba(10, 9, 8, 0) 75%
    );
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  background-position: bottom, bottom;
}

.gate__inner {
  width: 100%;
  max-width: 26rem;
}

/* Wie .section__title der SPA: '// '-Präfix in Accent-Rot + Trennlinie. */
.gate__title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--band-border);
}

.gate__title::before {
  content: '// ';
  color: var(--color-accent);
}

/* Wie .hero__name der SPA: roter Gradient-Text, 900. */
.gate__name {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin-bottom: 0.75rem;
  background-image: linear-gradient(
    -90deg,
    rgb(178, 42, 72),
    rgb(196, 36, 64),
    rgb(240, 2, 4),
    rgb(196, 36, 64)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gate__text {
  color: var(--band-muted);
  margin-bottom: 1.5rem;
}

.gate__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

/* Wie .hero__fact-label der SPA. */
.gate__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

.gate__input {
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--band-border);
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--band-text);
  font-family: inherit;
  font-size: 1rem;
}

.gate__input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

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

/* Wie .button--primary der SPA: rot, Hover invertiert (ProComp-Signatur). */
.gate__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  background-color: var(--color-accent);
  color: #ffffff;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.gate__button:hover {
  background-color: #ffffff;
  color: #000000;
}

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

/* #ff5c5c auf dem Band bleibt über 4.5:1 (WCAG 1.4.3). */
.gate__error {
  color: var(--band-accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.gate__footnote {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}
