/* ShotoSystems / shoto.dev – gemeinsames Stylesheet
   Dunkel, minimalistisch, Akzent #836fff. Keine Animationen außer sanften Hover-Übergängen. */

:root {
  --bg: #05060a;
  --surface: rgba(15, 23, 42, 0.72);
  --surface-strong: #0d1222;
  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(148, 163, 184, 0.32);

  --accent: #836fff;
  --accent-hover: #9b8bff;
  --accent-soft: rgba(131, 111, 255, 0.14);
  --accent-line: rgba(131, 111, 255, 0.38);

  --text: #f3f4f6;
  --muted: #9ca3af;
  --faint: #6b7280;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  --max: 1040px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  line-height: 1.65;
  color: var(--text);
  background: radial-gradient(ellipse at top, #111827 0, #020617 55%, #000 100%) fixed var(--bg);
}

main { flex: 1; }
img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6rem; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1rem; }

/* ---------- Sprachen: Inhalte stehen doppelt (lang="de" / lang="en"), sichtbar ist nur die gewählte ---------- */
html.l-de body [lang="en"], html.l-en body [lang="de"] { display: none !important; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(3, 7, 18, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem 1.5rem;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem;
  color: var(--text);
}
.brand img { width: 30px; height: 30px; }
.brand:hover { color: var(--text); }

.nav { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.nav a {
  color: var(--muted); font-size: .9rem;
  padding: .35rem .75rem; border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--accent-soft); color: var(--text); }
.nav .ext::after { content: " ↗"; font-size: .8em; opacity: .7; }

.lang-switch {
  margin-left: .4rem;
  font: inherit; font-size: .8rem; font-weight: 600; letter-spacing: .05em;
  color: var(--muted); background: transparent;
  border: 1px solid var(--border-strong); border-radius: 999px;
  padding: .3rem .7rem; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.lang-switch:hover { color: var(--text); border-color: var(--accent); }

/* ---------- Abschnitte ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 4.5rem 1.5rem; }
.section + .section { border-top: 1px solid rgba(148, 163, 184, .08); }
.section-head { max-width: 640px; margin-bottom: 2.2rem; }
.section-head p { color: var(--muted); }
.eyebrow {
  display: inline-block; margin-bottom: .6rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 620px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* ---------- Startbereich ---------- */
.hero { padding-top: 5rem; padding-bottom: 4rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero-art { justify-self: center; width: 100%; max-width: 380px; }
.hero-logo { width: 100%; max-width: 360px; filter: drop-shadow(0 18px 40px rgba(131, 111, 255, .18)); }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .65rem 1.35rem; border-radius: 999px;
  font-weight: 500; font-size: .95rem;
  background: linear-gradient(135deg, #5b4bd6, #6f5ee8); color: #fff;   /* gedeckter, damit die weiße Schrift gut lesbar bleibt */
  box-shadow: 0 10px 22px rgba(131, 111, 255, .16);
  transition: box-shadow .2s, background .2s;
}
.btn:hover { color: #fff; background: linear-gradient(135deg, #6553e0, #7a6af0); box-shadow: 0 12px 28px rgba(131, 111, 255, .22); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); box-shadow: none; }
.btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent-line); color: var(--text); box-shadow: none; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; padding: 0; list-style: none; }
.chips li {
  font-size: .8rem; padding: .25rem .65rem; border-radius: 999px;
  background: rgba(131, 111, 255, .1); border: 1px solid var(--accent-line);
}

/* ---------- Karten ---------- */
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.3rem;
  transition: border-color .2s, box-shadow .25s;
}
.card:hover { border-color: var(--accent-line); box-shadow: 0 18px 40px rgba(131, 111, 255, .14); }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.card .icon { width: 42px; height: 42px; margin-bottom: 1rem; color: var(--accent); }
.card p.motto { margin: -.3rem 0 .5rem; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.card .more { display: inline-block; margin-top: .9rem; font-size: .9rem; }
a.card { color: inherit; display: block; }
a.card:hover { color: inherit; }

.status {
  position: absolute; top: 1.1rem; right: 1.1rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: .15rem .55rem; border-radius: 999px; border: 1px solid;
}
.status.ok   { color: #86efac; border-color: rgba(134, 239, 172, .35); background: rgba(34, 197, 94, .08); }
.status.dev  { color: #c4b5fd; border-color: var(--accent-line); background: var(--accent-soft); }
.status.plan { color: var(--muted); border-color: var(--border-strong); }

/* ---------- Zeitleiste ---------- */
.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 2.2rem; }
.timeline::before {
  content: ""; position: absolute; left: .55rem; top: .4rem; bottom: .4rem; width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(131, 111, 255, .05));
}
.timeline li { position: relative; padding-bottom: 1.8rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -2.02rem; top: .35rem;
  width: .85rem; height: .85rem; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft);
}
.timeline .when { font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--accent); text-transform: uppercase; }
.timeline h3 { margin: .15rem 0 .25rem; }
.timeline p { color: var(--muted); margin: 0; max-width: 620px; }

/* ---------- Zweispaltige Erklärung (Projekt) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.qa h3 { color: var(--text); }
.qa p { color: var(--muted); }

.person {
  display: flex; gap: 1.1rem; align-items: center;
  padding: 1.1rem 1.2rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.person img { width: 56px; height: 56px; border-radius: 50%; background: var(--surface-strong); object-fit: cover; }
.person strong { display: block; }

/* ---------- Hinweis-/Aufruf-Box ---------- */
.callout {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 2rem; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(131, 111, 255, .14), rgba(15, 23, 42, .6));
  border: 1px solid var(--accent-line);
}
.callout h2 { margin-bottom: .3rem; }
.callout p { color: var(--muted); margin: 0; max-width: 560px; }

/* ---------- Textseiten (Rechtliches, Danksagungen) ---------- */
.prose { max-width: 760px; margin: 0 auto; padding: 3.5rem 1.5rem 4.5rem; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.prose h2 { font-size: 1.25rem; margin: 2.4rem 0 .6rem; }
.prose h3 { font-size: 1.02rem; margin: 1.5rem 0 .4rem; }
.prose p, .prose li { color: #d1d5db; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose address { font-style: normal; color: #d1d5db; margin-bottom: 1rem; }
.prose .stand { color: var(--faint); font-size: .85rem; }
.note {
  padding: .9rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  color: var(--text); font-size: .92rem; margin: 1.2rem 0;
}
.toc { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.toc a { display: inline-block; font-size: .85rem; padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--muted); }
.toc a:hover { color: var(--text); border-color: var(--accent); }

/* ---------- Fußzeile ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 2rem; }
.site-footer .inner {
  max-width: var(--max); margin: 0 auto; padding: 2.2rem 1.5rem 1.6rem;
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem;
  font-size: .9rem;
}
.site-footer h4 { margin: 0 0 .6rem; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.site-footer .about p { color: var(--muted); margin: .5rem 0 0; max-width: 300px; }
.footer-bottom {
  max-width: var(--max); margin: 0 auto; padding: 1rem 1.5rem 1.8rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  font-size: .8rem; color: var(--faint);
}
.footer-bottom a { color: var(--faint); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Fehlerseite ---------- */
.center-page { max-width: 560px; margin: 0 auto; padding: 7rem 1.5rem; text-align: center; }
.center-page .code { font-size: 4rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 1rem; }

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 240px; }
  .site-footer .inner { grid-template-columns: 1fr 1fr; }
  .site-footer .about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-header .inner { padding: .6rem 1rem; }
  .nav .opt { display: none; }          /* Abschnittslinks auf dem Handy ausblenden */
  .nav { flex-wrap: nowrap; gap: .1rem; }
  .nav a { padding: .3rem .5rem; font-size: .85rem; }
  .lang-switch { margin-left: .2rem; padding: .25rem .55rem; }
  .section { padding: 3.2rem 1rem; }
  .hero { padding-top: 3rem; }
  .prose { padding-inline: 1rem; }
  .callout { padding: 1.5rem; }
}

code {   /* z. B. Serveradresse – gleiche Größe wie der Text, gut lesbar hervorgehoben */
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace;
  font-size: .95em; font-weight: 500;
  padding: .12rem .45rem; border-radius: 6px;
  color: #e4dfff; background: var(--accent-soft); border: 1px solid var(--accent-line);
  white-space: nowrap;
}
