/* Basis für alle Seiten von marlonai.de (außer der Startseite mit der Animation) */
:root {
  --bg: #070a08;
  --bg-2: #0a0f0c;
  --panel: #0e1511;
  --panel-2: #121b16;
  --line: #1e2b23;
  --line-2: #2a3b30;
  --text: #e6ede8;
  --muted: #b0beb4;
  --hell: #f3f8f4;
  --gruen: #4dff7a;
  --gruen-tief: #19ff5a;
  --gruen-matt: rgba(77,255,122,.1);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 12px;
  --breite: 1140px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: radial-gradient(ellipse 80% 520px at 50% -120px, rgba(25,255,90,.09), transparent 70%);
  background-repeat: no-repeat;
}

.wrap { max-width: 800px; margin: 0 auto; padding: 0 24px 96px; }
.wrap.breit { max-width: var(--breite); }

.marke {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: .2em;
  font-size: 15px;
  color: var(--gruen);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(25,255,90,.4);
  white-space: nowrap;
}
.marke:hover { color: #d8ffd8; }

h1, h2, h3 { color: var(--hell); font-family: var(--sans); font-weight: 700; overflow-wrap: break-word; hyphens: auto; }

h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 64px 0 14px;
}

.stand {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 40px;
}

h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.25;
  letter-spacing: -.015em;
  margin: 52px 0 14px;
}

h3 { font-size: 18px; line-height: 1.35; margin: 30px 0 8px; }

p { margin: 0 0 18px; }
ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 8px; }

a { color: var(--gruen); text-underline-offset: 3px; }
a:hover { color: #d8ffd8; }
strong { color: var(--hell); font-weight: 600; }

.karte {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 22px 0;
}
.karte p:last-child { margin-bottom: 0; }
.daten { font-size: 16px; line-height: 1.8; }

/* ---------- Kopfnavigation ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,10,8,.82);
  -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.kopf-in {
  max-width: var(--breite); margin: 0 auto; padding: 0 24px; min-height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.hauptnav { display: flex; align-items: center; gap: 4px; }
.hauptnav a {
  font-size: 15.5px; font-weight: 500; color: #dbe3dd; text-decoration: none;
  padding: 8px 12px; border-radius: 8px; white-space: nowrap;
  transition: color .15s, background .15s;
}
.hauptnav a:hover, .hauptnav a:focus-visible { color: var(--hell); background: rgba(255,255,255,.05); outline: none; }
.hauptnav a[aria-current] { color: var(--gruen); background: var(--gruen-matt); }
.hauptnav a.nav-cta {
  color: #04150a; background: var(--gruen); font-weight: 600;
  padding: 9px 18px; margin-left: 10px;
  transition: box-shadow .2s, background .2s;
}
.hauptnav a.nav-cta:hover, .hauptnav a.nav-cta:focus-visible { background: #7dffa0; box-shadow: 0 0 22px rgba(25,255,90,.45); }
.menue-knopf {
  display: none;
  font: 600 15px var(--sans);
  color: var(--hell); background: var(--panel); border: 1px solid var(--line-2);
  border-radius: 8px; padding: 8px 14px; cursor: pointer;
}
.menue-knopf:focus-visible { outline: 2px solid var(--gruen); outline-offset: 2px; }
.menue-knopf[aria-expanded="true"] { border-color: var(--gruen); color: var(--gruen); }

@media (max-width: 960px) {
  .kopf-in { flex-wrap: wrap; padding: 12px 18px; min-height: 0; }
  .menue-knopf { display: block; }
  .hauptnav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 0 6px; }
  .hauptnav.offen { display: flex; }
  .hauptnav a { padding: 12px 12px; font-size: 16px; }
  .hauptnav a.nav-cta { margin: 10px 0 4px; text-align: center; padding: 13px 16px; }
}

/* ---------- Fußbereich ---------- */
.fuss { border-top: 1px solid var(--line); background: var(--bg-2); }
.fuss-in {
  max-width: var(--breite); margin: 0 auto; padding: 56px 24px 20px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px;
  font-size: 16px; color: var(--muted);
}
.fuss-in b { display: block; font-size: 14px; font-weight: 600; color: var(--hell); margin-bottom: 14px; }
.fuss-in a:not(.marke) { display: block; color: var(--muted); text-decoration: none; margin-bottom: 9px; }
.fuss-in a:not(.marke):hover, .fuss-in a:not(.marke):focus-visible { color: var(--gruen); }
.fuss-marke p { margin: 14px 0 0; max-width: 34ch; line-height: 1.6; }
.fuss-zeile {
  max-width: var(--breite); margin: 0 auto; padding: 22px 24px 34px;
  font-size: 14px; color: #8d9d92; border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 18px 72px; }
  h1 { margin-top: 44px; }
  .fuss-in { grid-template-columns: 1fr 1fr; padding: 40px 18px 12px; }
  .fuss-marke { grid-column: 1 / -1; }
  .fuss-zeile { padding: 18px 18px 28px; }
}

h1, h2 { text-wrap: balance; }

/* Logo MarlonAI (Bildmarke statt Schriftzug) */
.marke { display: inline-flex; align-items: center; text-shadow: none; line-height: 0; }
.marke img { display: block; height: 30px; width: auto; }
.fuss .marke img { height: 28px; }
.marke:hover img, .marke:focus-visible img { filter: drop-shadow(0 0 10px rgba(77,255,122,.35)); }
.marke:focus-visible { outline: 2px solid var(--gruen); outline-offset: 4px; border-radius: 4px; }
@media (max-width: 760px) { .marke img { height: 26px; } }

/* Zwischen Mobil- und Desktopmenü wird es mit acht Punkten eng: Abstände etwas verringern */
@media (min-width: 961px) and (max-width: 1100px) {
  .hauptnav a { padding-left: 9px; padding-right: 9px; }
  .hauptnav a.nav-cta { margin-left: 6px; padding-left: 14px; padding-right: 14px; }
}
