@font-face {
  font-family: 'Geist';
  src: url('/fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('/fonts/GeistMono-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --indigo: #1E1A4D;
  --navy: #020618;
  --violet: #2F0D68;
  --orange: #FE9A00;
  --orange-dunkel: #E17100;
  --weiss: #FFFFFF;
  --weiss-78: rgba(255, 255, 255, 0.78);
  --weiss-60: rgba(255, 255, 255, 0.6);
  --flaeche: rgba(255, 255, 255, 0.06);
  --linie: rgba(255, 255, 255, 0.14);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Geist', ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--weiss);
  background: var(--navy) linear-gradient(135deg, #020618 0%, #1E1A4D 55%, #2F0D68 100%) fixed;
}

a { color: var(--weiss-78); }
a:hover { color: var(--orange); }

.kopf, main, .fuss {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.kopf { padding-top: 28px; }

.marke {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--weiss);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.monogramm { width: 44px; height: auto; }

main { flex: 1; padding-top: 56px; padding-bottom: 56px; }

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

h1 {
  margin: 0;
  font-size: clamp(30px, 6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

h2 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }

.merkmale {
  list-style: none;
  margin: 18px 0 32px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: 14px;
  color: var(--weiss-78);
}

.merkmale li::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--orange);
}

.karte {
  padding: 28px;
  border: 1px solid var(--linie);
  border-radius: 16px;
  background: var(--flaeche);
  backdrop-filter: blur(6px);
}

.zustand > :first-child { margin-top: 0; }
.zustand > :last-child { margin-bottom: 0; }

.leise { color: var(--weiss-60); font-size: 14px; }

.hinweis {
  padding: 12px 16px;
  border-left: 3px solid var(--orange);
  border-radius: 4px;
  background: rgba(254, 154, 0, 0.08);
  font-size: 14px;
}

.leiste { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 14px; }

button { font: inherit; cursor: pointer; }

.knopf {
  padding: 8px 16px;
  border: 1px solid var(--linie);
  border-radius: 10px;
  background: transparent;
  color: var(--weiss);
}

.knopf:hover { border-color: var(--orange); }

.cta {
  margin-top: 8px;
  padding: 12px 22px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dunkel) 100%);
  color: var(--navy);
  font-weight: 600;
}

.cta:hover { filter: brightness(1.08); }
.cta:disabled, .knopf:disabled { opacity: 0.6; cursor: progress; }

.text {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--linie);
  border-radius: 12px;
  background: rgba(2, 6, 24, 0.55);
  font-family: 'Geist Mono', ui-monospace, Menlo, monospace;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

#anhaenge { margin-top: 24px; }

.anhaenge { list-style: none; margin: 0 0 8px; padding: 0; }

.anhaenge li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--linie);
}

.anhaenge li:last-child { border-bottom: 0; }

.anhang-name { overflow-wrap: anywhere; }
.anhang-groesse { color: var(--weiss-60); font-size: 13px; font-family: 'Geist Mono', ui-monospace, monospace; }

.fuss {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 40px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--linie);
  font-size: 13px;
  color: var(--weiss-60);
}

.fuss > span:first-child { color: var(--weiss); font-weight: 600; }

@media (max-width: 640px) {
  main { padding-top: 32px; }
  .karte { padding: 20px; }
  .fuss { grid-template-columns: 1fr; }
}

[hidden] { display: none !important; }
