/* STR8HUNTER, Coming-Soon-Landingpage
   Statisch, keine Fremdabhaengigkeiten, keine externen Aufrufe.
   Farben, Raster und Bausteine folgen der Plattform-Vorschau
   unter Str8/hunter-vorschau/stil.css. */

@font-face {
  font-family: "League Gothic";
  src: url("fonts/leaguegothic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0b0d;
  --surface: #141417;
  --line: #26262b;
  /* Eigene Linie fuer Bedienelemente. #26262b traegt auf dem Grund nur 1,2 zu 1
     und ist als Rand eines Eingabefeldes zu schwach. #5f5f67 traegt 3,1 zu 1. */
  --line-strong: #5f5f67;
  --text: #f2f0ea;
  --muted: #9a9a9f;
  --accent: #0a7fcc;
  --err: #e05c5c;

  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 40px;
  --s6: 56px;
  --s7: 80px;

  --r-s: 6px;
  --r-m: 10px;
  --r-l: 14px;

  --pad: var(--s3);

  --f-display: "League Gothic", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --f-text: Inter, -apple-system, "SF Pro Text", system-ui, sans-serif;
}

/* --- Grundlage ---------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
  border-radius: var(--r-s);
}

main { flex: 1; }

.wrap {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --- Typografie --------------------------------------------------------- */

.display {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.625rem, 10vw, 5.25rem);
  line-height: 0.94;
  letter-spacing: 0.004em;
}

.h2 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1;
}

.h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.small {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.tiny {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.mt-1 { margin-top: var(--s1); }
.mt-2 { margin-top: var(--s2); }
.mt-3 { margin-top: var(--s3); }
.mt-4 { margin-top: var(--s4); }

/* --- Kopf --------------------------------------------------------------- */

.masthead {
  padding-block: var(--s4);
  border-bottom: 1px solid var(--line);
}

.masthead img {
  height: 32px;
  width: auto;
}

.masthead a { display: inline-block; }

/* --- Knoepfe ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-m);
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

/* Dunkle Schrift auf dem Akzent, weil Weiss auf #0a7fcc nur 4,27 zu 1 traegt
   und damit unter dem Grenzwert liegt. Dunkel traegt 4,61 zu 1. */
.btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b0b0d;
}

.btn--line {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn-row {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

@media (min-width: 480px) {
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .btn-row .btn { flex: 1 1 auto; min-width: 200px; }
}

/* --- Ikonen ------------------------------------------------------------- */

.i {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.i--xs { width: 14px; height: 14px; stroke-width: 1.6; }

.tick { color: var(--accent); }

/* --- Hero --------------------------------------------------------------- */

.hero { padding-block: var(--s6) var(--s5); }

.hero__lede { max-width: 34em; }

.hero .btn-row { margin-top: var(--s4); }

.hero__art { margin-top: var(--s5); }

@media (min-width: 900px) {
  .hero { padding-block: var(--s7) var(--s6); }

  .hero__in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: var(--s6);
    align-items: center;
  }

  /* In zwei Spalten hat die Ueberschrift weniger Platz und braucht eine
     eigene, engere Kurve, sonst laeuft sie in die Kachel. */
  .hero .display { font-size: clamp(3.25rem, 6.2vw, 5.25rem); }

  .hero__art { margin-top: 0; }
}

/* --- Signaturelement, verschlossene Kachel ------------------------------ */

.tile {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-m);
  overflow: hidden;
  background: #101014;
}

.tile__ph {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(118deg, rgba(242, 240, 234, 0.032) 0 2px, transparent 2px 10px),
    linear-gradient(158deg, #26262e 0%, #15151a 52%, #0d0d10 100%);
}

.veil {
  position: absolute;
  left: 0;
  right: 0;
  background: rgba(11, 11, 13, 0.56);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.veil--top { top: 0; height: 44%; }
.veil--bottom { top: 57%; bottom: 0; }

.slit {
  position: absolute;
  left: 0;
  right: 0;
  top: 44%;
  height: 13%;
  pointer-events: none;
  border-top: 1px solid rgba(242, 240, 234, 0.26);
  border-bottom: 1px solid rgba(242, 240, 234, 0.26);
  background: linear-gradient(180deg, rgba(242, 240, 234, 0.06), rgba(242, 240, 234, 0) 70%);
}

.frame {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  color: var(--muted);
}

.frame i {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 0 solid currentColor;
}

.frame i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.frame i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.frame i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.frame i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.tile-note { margin: 12px 0 0; }

@media (min-width: 900px) {
  .tile { aspect-ratio: 4 / 5; }
}

/* --- Abschnitte --------------------------------------------------------- */

.band {
  padding-block: var(--s6);
  border-top: 1px solid var(--line);
}

@media (min-width: 900px) {
  .band { padding-block: var(--s7); }
}

.band__head { max-width: 42em; }

/* --- Die drei Punkte ---------------------------------------------------- */

.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-block: var(--s2);
  border-top: 1px solid var(--line);
  font-size: 16px;
}

.points li:first-child { border-top: 0; padding-top: 0; }

.points .tick { margin-top: 4px; }

@media (min-width: 720px) {
  .points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s4);
  }

  .points li {
    display: block;
    padding-block: var(--s2) 0;
    border-top: 1px solid var(--line);
  }

  .points li:first-child {
    padding-top: var(--s2);
    border-top: 1px solid var(--line);
  }

  .points .tick { display: block; margin: 0 0 12px; }
}

.note {
  margin-top: var(--s4);
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--r-s);
  background: var(--surface);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

/* --- Formulare ---------------------------------------------------------- */

.card {
  margin-top: var(--s5);
  padding: var(--s3);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
  scroll-margin-top: var(--s3);
}

@media (min-width: 720px) {
  .card {
    padding: var(--s5);
    max-width: 42em;
  }
}

.field { display: block; margin-top: var(--s3); }

.field > .lbl {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.field > .hint {
  display: block;
  margin: -2px 0 8px;
  font-size: 13px;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-m);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }

.field input:focus,
.field textarea:focus { border-color: var(--accent); }

.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--err); }

.checks { margin-top: var(--s3); }

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-block: 10px;
}

.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  flex: none;
  margin: 1px 0 0;
  display: grid;
  place-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-s);
  background: var(--bg);
  cursor: pointer;
}

.check input::after {
  content: "";
  width: 10px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.12s ease;
}

.check input:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.check input:checked::after { transform: rotate(-45deg) scale(1); }

.check label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

.check a { color: var(--accent); }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

form .btn { margin-top: var(--s3); }

/* --- Fuss --------------------------------------------------------------- */

.foot {
  border-top: 1px solid var(--line);
  padding-block: var(--s4);
  font-size: 13px;
  color: var(--muted);
}

.foot__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2) var(--s4);
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s3);
}

.foot a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}

.foot a:hover {
  color: var(--text);
  text-decoration-color: var(--accent);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

/* --- Dankseite ---------------------------------------------------------- */

.thanks { padding-block: var(--s7) var(--s6); }

.thanks p { max-width: 34em; }

/* --- Rechtsseiten ------------------------------------------------------- */

.doc { padding-block: var(--s6) var(--s7); }

.doc__in { max-width: 68ch; }

.doc h1 {
  margin: 0 0 var(--s5);
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 9vw, 4rem);
  line-height: 0.96;
}

.doc h2 {
  margin: var(--s6) 0 var(--s2);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.doc h3 {
  margin: var(--s4) 0 var(--s1);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.doc p,
.doc ul {
  margin: 0 0 var(--s2);
  color: var(--muted);
}

.doc ul { padding-left: 1.15em; }

.doc li { margin-bottom: 6px; }

.doc address {
  font-style: normal;
  color: var(--text);
}

.doc a { color: var(--accent); }

.doc .lede { color: var(--text); }

.back {
  display: inline-block;
  margin-bottom: var(--s4);
  font-size: 14px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.back:hover { color: var(--text); }

/* --- Breitere Schirme --------------------------------------------------- */

@media (min-width: 720px) {
  :root { --pad: var(--s5); }
  .masthead img { height: 40px; }
}

@media (min-width: 1140px) {
  :root { --pad: var(--s6); }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.001s !important;
    animation-duration: 0.001s !important;
  }
}
