/* NXTspark – Stylesheet
   Look angelehnt an die Peptide Masterclass: tiefes Navy, Cyan-Akzente, Glas-Panels.
   Alle Schriften liegen lokal unter /assets/fonts. Keine externen Ressourcen. */

@font-face {
  font-family: "Adventor";
  src: url("../fonts/adventor-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter Display";
  src: url("../fonts/interdisplay-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-semibold.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --abyss: #020a1a;        /* Grundfläche */
  --deep: #051327;         /* zweite Ebene */
  --panel: #081a31;        /* Panels */
  --panel-2: #0b2140;
  --border: #0f3552;       /* Panelrand, cyanstichig */
  --border-soft: rgba(34, 227, 242, 0.12);
  --cyan: #22e3f2;
  --cyan-dim: #13a9bb;
  --spark: #ffcf3d;        /* Funkengelb aus dem Logo */
  --violet: #6c63ff;       /* nur für Lichtschein */
  --text: #f2f6fa;
  --muted: #9fb2c6;
  --error: #ff8a7a;
  --ok: #5ef0a6;

  --font-logo: "Adventor", "Avenir Next", "Century Gothic", system-ui, sans-serif;
  --font-head: "Inter Display", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: 0.889rem;
  --step-0: 1.0625rem;
  --step-1: 1.33rem;
  --step-2: 1.66rem;
  --step-3: 2.08rem;
  --step-4: clamp(2.1rem, 4.6vw, 3rem);
  --step-hero: clamp(2.6rem, 5.6vw, 4.1rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 74rem;
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 26px;

  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16.2v32.3L28 64.7 0 48.5V16.2zM28 64.7v32.3' fill='none' stroke='%2322e3f2' stroke-opacity='.16' stroke-width='1'/%3E%3C/svg%3E");
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--abyss);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--cyan);
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--spark);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--cyan);
  color: var(--abyss);
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
}

p {
  margin: 0 0 1em;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--spark);
  color: var(--abyss);
  padding: 0.6rem 1rem;
  z-index: 50;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nowrap {
  white-space: nowrap;
}

/* ---------- Kopfzeile ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 10, 26, 0.7);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--border-soft);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-logo);
  font-size: var(--step-1);
  letter-spacing: -0.01em;
  line-height: 1;
}
.logo:hover {
  color: var(--text);
}
.logo svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  filter: drop-shadow(0 0 6px rgba(255, 207, 61, 0.6));
}
.logo .light {
  color: var(--cyan);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 3vw, 2rem);
  font-size: var(--step--1);
  font-weight: 500;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
}
.nav a:hover {
  color: var(--text);
}
.nav .nav-cta {
  color: var(--abyss);
  background: var(--cyan);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}
.nav .nav-cta:hover {
  color: var(--abyss);
  background: #7ff1f9;
}
.nav .hide-s {
  display: none;
}
@media (min-width: 46rem) {
  .nav .hide-s {
    display: inline;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.75rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 var(--step-0) / 1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease;
}
.btn svg {
  width: 1.1em;
  height: 1.1em;
}
.btn-primary {
  background: linear-gradient(135deg, #5ff0fa, var(--cyan) 45%, #11b8d4);
  color: var(--abyss);
  box-shadow: 0 10px 30px -10px rgba(34, 227, 242, 0.6);
}
.btn-primary:hover {
  color: var(--abyss);
  box-shadow: 0 12px 40px -8px rgba(34, 227, 242, 0.8);
}
.btn-ghost {
  border-color: var(--border);
  background: rgba(8, 26, 49, 0.6);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--cyan-dim);
  color: var(--text);
  background: rgba(34, 227, 242, 0.08);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

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

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--border-soft);
}
.hero::before {
  /* Wabenraster wie bei der Masterclass */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--hex);
  background-size: 56px 97px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000 10%, transparent 70%);
}
.hero::after {
  /* Lichtschein */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(40% 50% at 78% 35%, rgba(34, 227, 242, 0.22), transparent 70%),
    radial-gradient(35% 45% at 95% 90%, rgba(108, 99, 255, 0.22), transparent 70%),
    radial-gradient(45% 60% at 0% 100%, rgba(19, 169, 187, 0.12), transparent 70%);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
  align-items: center;
}
@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 3rem;
  }
}

.hero h1 {
  font-size: var(--step-hero);
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero h1 .line {
  display: block;
}
.hero h1.glow {
  color: transparent;
  background: linear-gradient(180deg, #ffffff 35%, #a6f5fb 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  margin-top: 1.5rem;
  max-width: 33rem;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.facts {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  font-size: var(--step--1);
  color: var(--muted);
}
.facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.facts svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--cyan);
}

/* ---------- Schaufenster im Hero (rein dekorativ) ---------- */

.showcase {
  position: relative;
  height: clamp(370px, 44vw, 540px);
  width: 100%;
  max-width: 34rem;
  justify-self: center;
}

.sc-book {
  position: absolute;
  left: 2%;
  top: 6%;
  width: 56%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  padding: 7% 7.5%;
  display: flex;
  flex-direction: column;
  background:
    var(--hex) right -20px top -30px / 48px 83px no-repeat,
    linear-gradient(160deg, #0f3459 0%, #082039 55%, #051428 100%);
  border: 1px solid rgba(34, 227, 242, 0.35);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.8),
    0 0 60px -20px rgba(34, 227, 242, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotate(-7deg);
}
.sc-book::before {
  /* Buchrücken */
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7%;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent);
}
.book-brand {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-logo);
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  color: var(--muted);
}
.book-brand svg {
  width: 0.95em;
  height: 0.95em;
}
.book-kicker {
  margin-top: auto;
  font-size: clamp(0.65rem, 1.1vw, 0.8rem);
  font-weight: 600;
  color: var(--cyan);
}
.book-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.1vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-top: 0.35rem;
}
.book-lines {
  display: grid;
  gap: 6px;
  margin-top: 9%;
}
.book-lines span {
  height: 5px;
  border-radius: 3px;
  background: rgba(159, 178, 198, 0.28);
}
.book-lines span:nth-child(2) {
  width: 80%;
}
.book-lines span:nth-child(3) {
  width: 55%;
}
.book-tag {
  align-self: flex-start;
  margin-top: 9%;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--abyss);
  background: var(--spark);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}

.sc-phone {
  position: absolute;
  right: 2%;
  top: 14%;
  width: 41%;
  aspect-ratio: 9 / 18.5;
  border-radius: 30px;
  padding: 3.2%;
  background: linear-gradient(160deg, #1a2a44, #0a1324);
  border: 1px solid #253a5a;
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.85),
    0 0 70px -25px rgba(108, 99, 255, 0.6);
  transform: rotate(6deg);
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(80% 40% at 50% 0%, rgba(34, 227, 242, 0.18), transparent 70%),
    #061428;
  padding: 18% 9% 9%;
  font-size: clamp(0.58rem, 1vw, 0.74rem);
  line-height: 1.35;
}
.phone-screen::before {
  /* Kamera-Aussparung */
  content: "";
  position: absolute;
  top: 3.5%;
  left: 50%;
  width: 30%;
  height: 3.2%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #02060f;
}
.phone-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.4rem;
}
.phone-head strong {
  font-family: var(--font-head);
  font-size: 1.35em;
  letter-spacing: -0.02em;
}
.phone-head span {
  color: var(--muted);
}
.phone-progress {
  height: 6px;
  margin: 9% 0 3%;
  border-radius: 99px;
  background: rgba(159, 178, 198, 0.18);
  overflow: hidden;
}
.phone-progress span {
  display: block;
  width: 60%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), #7ff1f9);
  box-shadow: 0 0 12px rgba(34, 227, 242, 0.8);
}
.phone-meta {
  color: var(--muted);
}
.phone-list {
  list-style: none;
  margin: 10% 0 0;
  padding: 0;
  display: grid;
  gap: 0.55em;
}
.phone-list li {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.65em 0.7em;
  border-radius: 10px;
  background: rgba(11, 33, 64, 0.85);
  border: 1px solid rgba(34, 227, 242, 0.1);
}
.phone-list .box {
  flex: none;
  width: 1.25em;
  height: 1.25em;
  border-radius: 5px;
  border: 1.5px solid var(--cyan-dim);
  display: grid;
  place-items: center;
}
.phone-list .done .box {
  background: var(--cyan);
  border-color: var(--cyan);
}
.phone-list .done .box::after {
  content: "";
  width: 0.55em;
  height: 0.3em;
  border-left: 2px solid var(--abyss);
  border-bottom: 2px solid var(--abyss);
  transform: rotate(-45deg) translate(1px, -1px);
}
.phone-list .done span:last-child {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(159, 178, 198, 0.5);
}

.sc-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.9rem 0.6rem 0.6rem;
  border-radius: 14px;
  font-size: var(--step--1);
  font-weight: 600;
  white-space: nowrap;
  background: rgba(8, 26, 49, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 227, 242, 0.25);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}
.sc-chip .ico {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9px;
  background: rgba(34, 227, 242, 0.14);
  color: var(--cyan);
}
.sc-chip .ico svg {
  width: 1.1rem;
  height: 1.1rem;
}
.sc-chip small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.78rem;
}
.chip-download {
  left: 0;
  bottom: 6%;
}
.chip-step {
  right: 6%;
  top: 0;
}
.chip-step .ico {
  background: rgba(255, 207, 61, 0.16);
  color: var(--spark);
}

/* Einmalige Einblende-Sequenz beim Laden */
@media (prefers-reduced-motion: no-preference) {
  .sc-book,
  .sc-phone,
  .sc-chip {
    opacity: 0;
    animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  }
  .sc-book {
    --r: -7deg;
    animation-delay: 0.1s;
  }
  .sc-phone {
    --r: 6deg;
    animation-delay: 0.25s;
  }
  .chip-step {
    --r: 0deg;
    animation-delay: 0.55s;
  }
  .chip-download {
    --r: 0deg;
    animation-delay: 0.7s;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px) rotate(var(--r, 0deg));
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(var(--r, 0deg));
  }
}

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

.section {
  padding-top: clamp(4.5rem, 9vw, 7.5rem);
  padding-bottom: clamp(4.5rem, 9vw, 7.5rem);
}
.section + .section {
  border-top: 1px solid var(--border-soft);
}
.section-alt {
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(34, 227, 242, 0.06), transparent 70%),
    var(--deep);
}

.section-head {
  display: grid;
  gap: 1rem 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 56rem) {
  .section-head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}
.section h2 {
  font-size: var(--step-4);
  max-width: 18ch;
}
.section-intro {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: var(--step-1);
  line-height: 1.5;
}

/* Angebot: Karten mit Symbol */
.offer {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 40rem) {
  .offer {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 66rem) {
  .offer {
    grid-template-columns: repeat(4, 1fr);
  }
}
.offer li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem 1.4rem;
  border-radius: var(--r-m);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
}
.offer li:hover {
  border-color: var(--cyan-dim);
}
.tile {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.4rem;
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(34, 227, 242, 0.1);
  border: 1px solid rgba(34, 227, 242, 0.25);
  box-shadow: 0 0 24px -6px rgba(34, 227, 242, 0.5);
}
.tile svg {
  width: 1.45rem;
  height: 1.45rem;
}
.offer h3 {
  font-size: var(--step-1);
  margin-bottom: 0.6rem;
}
.offer p {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.format {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 227, 242, 0.3);
  background: rgba(34, 227, 242, 0.06);
}
.format.soon {
  color: var(--spark);
  border-color: rgba(255, 207, 61, 0.35);
  background: rgba(255, 207, 61, 0.07);
}

/* Ablauf: echte Reihenfolge, daher nummeriert */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
  counter-reset: step;
  position: relative;
}
@media (min-width: 52rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .steps::before {
    /* Verbindungslinie zwischen den Schritten */
    content: "";
    position: absolute;
    top: 2.85rem;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan-dim), transparent);
    z-index: 0;
  }
}
.steps li {
  counter-increment: step;
  position: relative;
  z-index: 1;
  padding: 1.6rem 1.5rem;
  border-radius: var(--r-m);
  background: var(--panel);
  border: 1px solid var(--border);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.2rem;
  border-radius: 12px;
  font-family: var(--font-head);
  font-size: var(--step-0);
  color: var(--abyss);
  background: linear-gradient(135deg, #7ff1f9, var(--cyan));
  box-shadow: 0 0 22px rgba(34, 227, 242, 0.45);
}
.steps h3 {
  font-size: var(--step-1);
  margin-bottom: 0.5rem;
}
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* TikTok-Hinweis */
.launch {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-l);
  border: 1px solid rgba(34, 227, 242, 0.3);
  padding: clamp(2rem, 6vw, 4rem);
  display: grid;
  gap: 2rem;
  align-items: center;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(34, 227, 242, 0.22), transparent 60%),
    radial-gradient(50% 100% at 0% 100%, rgba(108, 99, 255, 0.25), transparent 60%),
    var(--panel);
}
.launch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--hex);
  background-size: 56px 97px;
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000);
  mask-image: linear-gradient(90deg, transparent 40%, #000);
  opacity: 0.8;
}
@media (min-width: 52rem) {
  .launch {
    grid-template-columns: 1.5fr 1fr;
  }
}
.launch h2 {
  font-size: var(--step-4);
  max-width: 15ch;
}
.launch p {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 32rem;
}
.launch .actions {
  margin-top: 0;
}
@media (min-width: 52rem) {
  .launch .actions {
    justify-content: flex-end;
  }
}
.handle {
  font-weight: 600;
  color: var(--text);
}

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 56rem) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}
.contact-grid h2 {
  font-size: var(--step-4);
}
.contact-grid .section-intro {
  margin-top: 1rem;
}
.contact-alt {
  margin-top: 1.5rem;
  color: var(--muted);
}
.contact-alt a {
  font-weight: 600;
}

.form {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 40px 90px -50px rgba(34, 227, 242, 0.55);
}
.field {
  margin-bottom: 1.2rem;
}
.field label {
  display: block;
  font-weight: 500;
  font-size: var(--step--1);
  margin-bottom: 0.4rem;
}
.field input,
.field textarea {
  width: 100%;
  font: 400 var(--step-0) / 1.5 var(--font-body);
  color: var(--text);
  background: rgba(2, 10, 26, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--r-s);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea {
  min-height: 9.5rem;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 227, 242, 0.2);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
}
.hint {
  font-size: var(--step--1);
  color: var(--muted);
  margin: 0.25rem 0 1.5rem;
}
.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.status {
  margin: 1.2rem 0 0;
  font-weight: 600;
  min-height: 1.6em;
}
.status.is-ok {
  color: var(--ok);
}
.status.is-error {
  color: var(--error);
}

/* ---------- Unterseiten ---------- */

.pagehead {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--border-soft);
}
.pagehead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--hex);
  background-size: 56px 97px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
  mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.pagehead::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(40% 90% at 90% 0%, rgba(34, 227, 242, 0.16), transparent 70%);
}
.pagehead .title {
  padding-top: clamp(2.5rem, 7vw, 5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.pagehead h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.2rem);
}
.pagehead p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 36rem;
}

.prose,
.page-narrow {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}
.prose > *,
.page-narrow > * {
  max-width: 46rem;
}
.prose {
  color: #d5deea;
  line-height: 1.7;
}
.prose h2 {
  font-size: var(--step-2);
  color: var(--text);
  margin: 2.75rem 0 0.75rem;
}
.prose h3 {
  font-size: var(--step-1);
  color: var(--text);
  margin: 1.75rem 0 0.5rem;
}
.prose ul {
  padding-left: 1.2rem;
  margin: 0 0 1em;
}
.prose li {
  margin-bottom: 0.35rem;
}
.prose li::marker {
  color: var(--cyan);
}
.prose address {
  font-style: normal;
  margin-bottom: 1em;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--cyan);
  background: var(--panel);
  border-radius: 0 var(--r-s) var(--r-s) 0;
}
.prose .meta {
  color: var(--muted);
  font-size: var(--step--1);
}

/* ---------- Fußzeile ---------- */

.footer {
  border-top: 1px solid var(--border-soft);
  padding-top: 2rem;
  padding-bottom: 2.5rem;
  font-size: var(--step--1);
  color: var(--muted);
}
.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer nav {
  display: flex;
  gap: 1.5rem;
}
.footer a {
  color: var(--muted);
}
.footer a:hover {
  color: var(--text);
}
