@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo.woff2') format('woff2-variations');
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --lp-display: 'Archivo', var(--sf);
  --lp-mono: 'JetBrains Mono', var(--sf-mono);
  --lp-max: 1120px;
}

/* Kopfleiste */

.lp-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--hairline);
}
.lp-bar-inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  height: 68px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--lp-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.025em;
}
.lp-brand img { border-radius: 9px; }
.lp-bar-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.lp-bar-nav a { font-size: 14px; color: var(--text-2); transition: color 0.16s var(--ease); }
.lp-bar-nav a:hover { color: var(--text); }
.lp-bar-cta {
  padding: 7px 16px;
  border-radius: 99px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: var(--text) !important;
}
.lp-bar-cta:hover { background: var(--surface-3); }

/* Grundraster */

.landing-v2.lp {
  max-width: var(--lp-max);
  padding: clamp(56px, 9vw, 104px) clamp(20px, 4vw, 40px) 72px;
  gap: clamp(76px, 10vw, 124px);
  align-content: start;
  min-height: 0;
}

.lp-hero { display: block; }
.lp-hero-copy { text-align: center; }

.lp-wordmark {
  font-family: var(--lp-display);
  font-weight: 800;
  font-size: clamp(58px, 12vw, 142px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
}
.lp-lead {
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 52ch;
  margin: 0 auto 38px;
}
.lp-lead-accent {
  color: var(--text);
  font-weight: 600;
  background: linear-gradient(96deg, var(--accent-2), #a970ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp .login-form { margin: 0 auto; max-width: 540px; }

/* Hinweise unter dem Eingabefeld */

.lp-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
  text-align: left;
}
.lp-note {
  display: grid;
  gap: 4px;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}
.lp-note-label {
  font-family: var(--lp-mono);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-3);
}
.lp-note-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-2);
}
.lp-note-text strong { color: var(--text); font-weight: 600; }

/* Funktionen */

.lp-section-title {
  font-family: var(--lp-display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.03em;
  margin: 0 0 30px;
  text-align: center;
}
.lp-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.lp-card {
  grid-column: span 2;
  padding: 24px 22px 26px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--surface);
}
.lp-card-wide { grid-column: span 3; }
.lp-card h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--lp-display);
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.lp-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
  color: var(--text-2);
}
.lp-card code {
  font-family: var(--lp-mono);
  font-size: 12.5px;
  padding: 1px 4px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}
.lp-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 15px;
  border-radius: 11px;
  color: var(--accent-2);
  background: var(--accent-tint);
}
.lp-card-icon[data-tone="orange"] { color: var(--orange); background: rgba(255, 159, 10, 0.14); }
.lp-card-icon[data-tone="green"]  { color: var(--green);  background: rgba(48, 209, 88, 0.14); }
.lp-card-icon[data-tone="purple"] { color: var(--purple); background: rgba(191, 90, 242, 0.14); }
.lp-card-icon[data-tone="pink"]   { color: var(--pink);   background: rgba(255, 55, 95, 0.14); }
.lp-card-icon[data-tone="yellow"] { color: var(--yellow); background: rgba(255, 214, 10, 0.14); }

.lp-soon {
  display: inline-flex;
  align-items: center;
  font-family: var(--lp-mono);
  font-size: 9.5px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 99px;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.lp-card-icon[data-tone="next"] { color: var(--accent-2); background: var(--accent-tint); }
.lp-card-next {
  border-color: rgba(76, 168, 255, 0.22);
  background: linear-gradient(135deg, rgba(76, 168, 255, 0.09), rgba(169, 112, 255, 0.07));
}
.lp-card-next p strong { color: var(--text); font-weight: 650; }
.lp-soon-next {
  color: var(--accent-2);
  background: rgba(76, 168, 255, 0.13);
  border-color: rgba(76, 168, 255, 0.28);
}

/* Fusszeile */

.lp-footer {
  border-top: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.015);
}
.lp-footer-inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 44px clamp(20px, 4vw, 40px) 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr);
  gap: 40px;
}
.lp-footer-brand { display: flex; align-items: flex-start; gap: 12px; }
.lp-footer-brand img { border-radius: 8px; flex: none; }
.lp-footer-name {
  font-family: var(--lp-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}
.lp-footer-tag {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-3);
  max-width: 30ch;
}
.lp-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lp-footer-cols > div { display: grid; gap: 9px; align-content: start; }
.lp-footer-cols h4 {
  font-family: var(--lp-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-4);
  margin: 0 0 2px;
}
.lp-footer-cols a {
  font-size: 13.5px;
  color: var(--text-2);
  transition: color 0.16s var(--ease);
}
.lp-footer-cols a:hover { color: var(--text); }

.lp-footer-base {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 16px clamp(20px, 4vw, 40px) 32px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-4);
}
.lp-footer-base .lp-footer-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lp-footer-base code, .lp-footer-base .lp-footer-ver {
  font-family: var(--lp-mono);
  font-size: 11.5px;
}

/* Rechtstexte */

.lp-legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 40px) 80px;
}
.lp-legal-head { margin-bottom: 40px; }
.lp-legal h1 {
  font-family: var(--lp-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 12px;
}
.lp-legal-sub { font-size: 15px; color: var(--text-3); margin: 0; }
.lp-legal section {
  padding: 24px 0;
  border-top: 1px solid var(--hairline);
}
.lp-legal section:first-of-type { border-top: none; padding-top: 0; }
.lp-legal h2 {
  font-family: var(--lp-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.lp-legal h3 {
  font-size: 14.5px;
  font-weight: 650;
  margin: 20px 0 8px;
  color: var(--text);
}
.lp-legal p, .lp-legal li {
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--text-2);
}
.lp-legal p { margin: 0 0 12px; }
.lp-legal p:last-child { margin-bottom: 0; }
.lp-legal ul { margin: 0 0 12px; padding-left: 20px; }
.lp-legal li { margin-bottom: 6px; }
.lp-legal a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.lp-legal a:hover { color: var(--text); }
.lp-legal strong { color: var(--text); font-weight: 600; }
.lp-legal address {
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--text-2);
}
.lp-legal-card {
  padding: 18px 20px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}
.lp-legal-updated {
  margin-top: 32px;
  font-family: var(--lp-mono);
  font-size: 11.5px;
  color: var(--text-4);
}

@media (max-width: 860px) {
  .lp-footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .lp-grid { grid-template-columns: repeat(4, 1fr); }
  .lp-card, .lp-card-wide { grid-column: span 2; }
  .lp-notes { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .lp-grid { grid-template-columns: 1fr; }
  .lp-card, .lp-card-wide { grid-column: span 1; }
}
