/* Super+ Performance · Bewerbungs-Landingpage
   Aufbau: 1. Schriften  2. Design-Tokens  3. Basis  4. Layout  5. Komponenten  6. Sektionen */

/* ---------- 1. Schriften (lokal, kein Google-Server) ---------- */
@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. Design-Tokens (aus dem Claude-Design-System) ---------- */
:root {
  /* Markenfarben */
  --spp-neon: #2DFF3A;
  --spp-navy: #0F172A;
  --neon-400: #5CFF66; --neon-500: #2DFF3A; --neon-600: #1BD92A; --neon-700: #0B7F19;
  --navy-950: #070B16; --navy-900: #0F172A; --navy-800: #1E293B; --navy-700: #334155;
  --slate-600: #475569; --slate-500: #64748B; --slate-400: #94A3B8; --slate-300: #CBD5E1;
  --slate-200: #E2E8F0; --slate-100: #EEF2F6; --slate-50: #F7F9FB;
  --coral-500: #FF4D6D; --coral-600: #E8335A; --coral-700: #C21E44;

  /* Semantisch – hell */
  --surface-page: var(--slate-100);
  --surface-sunken: var(--slate-200);
  --surface-card: #FFFFFF;
  --surface-raised: #FFFFFF;
  --surface-hover: var(--slate-100);
  --surface-inverse: var(--navy-900);
  --surface-bar: rgba(238, 242, 246, .82);
  --text-1: var(--navy-900);
  --text-2: var(--slate-600);
  --text-3: var(--slate-500);
  --text-disabled: var(--slate-400);
  --text-on-accent: var(--navy-900);
  --text-inverse: var(--slate-50);
  --text-accent: var(--neon-700);
  --text-danger: var(--coral-700);
  --border-1: rgba(15, 23, 42, .10);
  --border-2: rgba(15, 23, 42, .18);
  --border-strong: rgba(15, 23, 42, .40);
  --border-accent: var(--navy-900);
  --border-danger: var(--coral-600);
  --accent: var(--neon-500);
  --accent-hover: var(--neon-400);
  --accent-press: var(--neon-600);
  --accent-border: var(--navy-900);
  --danger-soft: rgba(255, 77, 109, .14);
  --highlight: var(--neon-500);
  --focus-ring: 0 0 0 3px rgba(45, 255, 58, .6);

  /* Schrift */
  --font-display: "Big Shoulders Display", "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Abstände & Formen */
  --radius-xs: 2px; --radius-sm: 4px; --radius-lg: 10px; --radius-xl: 16px; --radius-pill: 999px;
  --control-h-sm: 32px; --control-h-md: 44px; --control-h-lg: 56px;
  --gutter: 24px;

  /* Bewegung */
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --dur-fast: 120ms;
  --press-scale: .97;
}

[data-theme="dark"] {
  --surface-page: var(--navy-950);
  --surface-card: var(--navy-900);
  --surface-raised: var(--navy-800);
  --surface-hover: var(--navy-700);
  --surface-inverse: var(--slate-50);
  --surface-bar: rgba(7, 11, 22, .78);
  --text-1: var(--slate-50);
  --text-2: var(--slate-300);
  --text-3: var(--slate-400);
  --text-inverse: var(--navy-900);
  --text-accent: var(--neon-500);
  --text-danger: var(--coral-500);
  --border-1: rgba(226, 232, 240, .10);
  --border-2: rgba(226, 232, 240, .18);
  --border-strong: rgba(226, 232, 240, .36);
  --border-accent: var(--neon-500);
  --accent-border: transparent;
}

/* ---------- 3. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--text-1);
  text-decoration: underline;
  text-decoration-color: var(--neon-600);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover { text-decoration-thickness: 4px; }
::selection { background: var(--spp-neon); color: var(--spp-navy); }
[hidden] { display: none !important; }

/* ---------- 4. Layout ---------- */
.page {
  position: relative;
  overflow: clip;
  min-height: 100vh;
  background: var(--surface-page);
  color: var(--text-1);
}
.layer { position: relative; z-index: 1; }

.container {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 88px) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.container--rule { border-top: 1px solid var(--border-2); }

/* Hintergrund-Verläufe */
.deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.deco span {
  position: absolute;
  border-radius: 50%;
}
.deco--light .g1 { top: -360px; right: -340px; width: 1000px; height: 1000px; background: radial-gradient(closest-side, rgba(45,255,58,.14), rgba(45,255,58,.056) 55%, rgba(45,255,58,0)); }
.deco--light .g2 { top: 20%; left: -560px; width: 1100px; height: 1100px; background: radial-gradient(closest-side, rgba(15,23,42,.05), rgba(15,23,42,.020) 55%, rgba(15,23,42,0)); }
.deco--light .g3 { top: 50%; right: -560px; width: 1100px; height: 1100px; background: radial-gradient(closest-side, rgba(45,255,58,.09), rgba(45,255,58,.036) 55%, rgba(45,255,58,0)); }
.deco--light .g4 { top: 74%; left: -500px; width: 1000px; height: 1000px; background: radial-gradient(closest-side, rgba(45,255,58,.08), rgba(45,255,58,.032) 55%, rgba(45,255,58,0)); }
.deco--dark .g1 { top: -420px; right: -380px; width: 1000px; height: 1000px; background: radial-gradient(closest-side, rgba(51,65,85,.45), rgba(51,65,85,.180) 55%, rgba(51,65,85,0)); }
.deco--dark .g2 { bottom: -440px; left: -400px; width: 1000px; height: 1000px; background: radial-gradient(closest-side, rgba(30,41,59,.7), rgba(30,41,59,.280) 55%, rgba(30,41,59,0)); }

/* ---------- 5. Komponenten ---------- */

/* Kleine Überzeile, z. B. „+ Bewerbung“ */
.eyebrow {
  font: 500 12px/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-accent);
}

.h2 {
  margin: 0;
  font: 900 clamp(40px, 8vw, 64px)/.9 var(--font-display);
  text-transform: uppercase;
  text-wrap: balance;
}
.lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
  text-wrap: pretty;
}
.lead--balance { text-wrap: balance; }
.lead--strong { color: var(--text-1); text-wrap: balance; }

/* Neon-Markierung hinter Text */
.mark {
  display: inline-block;
  white-space: nowrap;
  background: var(--highlight);
  color: var(--text-on-accent);
}
.mark--inline {
  display: inline;
  white-space: normal;
  padding: 0 .2em;
  font-weight: 700;
}

.card {
  margin-top: 8px;
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  color: var(--text-1);
  padding: clamp(20px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--control-h-md);
  padding: 0 22px;
  background: var(--accent);
  color: var(--text-on-accent);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  font: 800 17px/1 var(--font-display);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { background: var(--accent-press); transform: scale(var(--press-scale)); }
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.btn:disabled {
  background: var(--surface-sunken);
  color: var(--text-disabled);
  border-color: transparent;
  cursor: not-allowed;
  transform: none;
}
.btn--lg { height: var(--control-h-lg); padding: 0 30px; gap: 10px; font-size: 21px; }
.btn--sm { height: var(--control-h-sm); padding: 0 14px; gap: 6px; font-size: 15px; }
.btn--secondary { background: transparent; color: var(--text-1); border-color: var(--border-strong); }
.btn--secondary:hover { background: var(--surface-hover); }
.btn--secondary:active { background: var(--surface-raised); }
.btn--full { display: flex; width: 100%; }
.btn svg { flex: none; }

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  background: var(--accent);
  color: var(--text-on-accent);
  border-radius: var(--radius-xs);
  font: 500 11px var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Formularfelder */
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.field__input,
.field__textarea {
  width: 100%;
  background: var(--surface-card);
  color: var(--text-1);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: all var(--dur-fast) var(--ease-out);
}
.field__input { height: var(--control-h-md); padding: 0 14px; }
.field__textarea { resize: vertical; min-height: 120px; padding: 12px 14px; line-height: 1.5; }
.field__input:focus,
.field__textarea:focus { border-color: var(--border-accent); box-shadow: var(--focus-ring); }
.field__input::placeholder,
.field__textarea::placeholder { color: var(--text-3); }
.field__error { font-size: 13px; color: var(--text-danger); }
.field.has-error .field__input,
.field.has-error .field__textarea { border-color: var(--border-danger); box-shadow: none; }

/* ---------- 6. Sektionen ---------- */

/* Kopf */
.hero {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 32px var(--gutter) clamp(48px, 8vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--surface-inverse);
  color: var(--text-inverse);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
}
.status__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 255, 58, .25);
}
.status__text {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  column-gap: .28em;
  text-wrap: balance;
}
.hero__title {
  margin: 12px 0 0;
  font: 900 clamp(34px, 9.6vw, 96px)/.85 var(--font-display);
  text-transform: uppercase;
  white-space: nowrap;
}
.hero__plus {
  display: inline-block;
  overflow: hidden;
  height: .8em;
  line-height: .8em;
  vertical-align: baseline;
  background: var(--accent);
  color: var(--text-on-accent);
  padding: 0 .08em;
  margin: 0 .03em;
}
.hero__claim {
  margin: 0;
  font: 800 clamp(20px, 3.6vw, 26px)/1.1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--text-2);
}

/* Bewerbung */
#bewerbung { scroll-margin-top: 16px; }
#bewerbung .h2 .mark { line-height: .9; padding: .06em .15em .02em; margin-top: .08em; }
.form { display: flex; flex-direction: column; gap: 24px; }
.form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
}
.form__error {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--danger-soft);
  color: var(--text-danger);
  font-size: 14px;
  line-height: 1.5;
}
/* Honeypot gegen Spam-Bots – für Menschen unsichtbar */
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.thanks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 0;
}
.thanks__title {
  margin: 0;
  font: 900 clamp(40px, 8vw, 56px)/.9 var(--font-display);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.thanks__text { margin: 0; color: var(--text-2); font-size: 17px; line-height: 1.6; }

.direct {
  border-top: 1px solid var(--border-1);
  padding-top: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.direct__label { font-size: 14px; color: var(--text-2); }
.direct__mail { font: 500 14px var(--font-mono); color: var(--text-1); }

/* Das Format (dunkel) */
.dark {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--spp-navy);
  color: var(--text-1);
}
.dark .container { padding: clamp(64px, 10vw, 104px) var(--gutter); }

/* Für wen */
.story {
  margin-top: 8px;
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  border: 1px solid var(--border-accent);
  padding: clamp(24px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.story__title {
  margin: 0;
  font: 800 clamp(26px, 4.4vw, 34px)/1 var(--font-display);
  text-transform: uppercase;
  color: var(--text-1);
}
.story__title .mark { line-height: 1; padding: .04em .12em 0; margin-top: .08em; }
.story__text { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }

/* Leistungen */
.list { margin: 8px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--border-2); }
.list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-2);
}
.list__n { font: 900 28px/1 var(--font-display); color: var(--text-accent); }
.list__t { font-size: 17px; line-height: 1.5; text-wrap: balance; }
.list__t b { font-weight: 700; }
.list__t span { color: var(--text-2); }

.discount {
  margin-top: 8px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: var(--accent);
  color: var(--text-on-accent);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.discount__value { font: 900 48px/.85 var(--font-display); }
.discount__text { font-size: 16px; line-height: 1.45; font-weight: 500; flex: 1 1 240px; text-wrap: pretty; }

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px var(--gutter) 48px;
  border-top: 1px solid var(--border-2);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  font: 500 12px var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Sticky-Button unten (nur mobil, wenn das Formular nicht sichtbar ist) */
.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: var(--surface-bar);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-1);
  display: flex;
  align-items: center;
  gap: 14px;
}
.sticky__label { display: flex; flex-direction: column; gap: 2px; flex: none; }
.sticky__small { font: 500 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.sticky__big { font: 900 22px/1 var(--font-display); text-transform: uppercase; }
.sticky__cta { flex: 1; min-width: 0; }
.sticky-spacer { height: 88px; }

/* ---------- Mobil ---------- */
@media (max-width: 720px) {
  .deco--light { opacity: .4; }
  .deco--light .g1 { opacity: .35; }
}
@media (max-width: 600px) {
  .status__text { flex-direction: column; }
}
