/* Öffentliche Startseite, Schema „Chrom“ wie Leos Server und die Visitenkarte: immer dunkel. */
@font-face { font-family: "Orbitron"; src: url("/schrift-orbitron.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Exo 2"; src: url("/schrift-exo2.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --grund: #0a0c0f; --flaeche: #14181e; --flaeche2: #1b2028; --linie: #262c36;
  --text: #e8e6e1; --text2: #c9cbd2; --leise: #8e94a3;
  --gut: #4ade80; --aus: #6b7280; --akzent: #7aa2ff;
  --breite: 1200px; --rand: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--grund); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--grund); color: var(--text);
  font: 16px/1.5 "Exo 2", system-ui, -apple-system, "Segoe UI", sans-serif;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
a { color: inherit; }
button { font: inherit; color: inherit; }

/* Kopf */
.kopf, main, .fuss { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 6px; }
.ich { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; border-radius: 14px; }
.ich:focus-visible { outline: 2px solid var(--akzent); outline-offset: 4px; }
.foto { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; background: var(--flaeche); flex: none; border: 1px solid var(--linie); }
.ich-text { display: flex; flex-direction: column; min-width: 0; }
.name {
  font-family: "Orbitron", "Exo 2", sans-serif; font-weight: 700; font-size: 1.25rem; letter-spacing: .04em;
  background: linear-gradient(100deg, #8d939c 0%, #f4f6f8 35%, #a9b0ba 55%, #ffffff 70%, #8d939c 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: schimmer 9s ease-in-out infinite;
}
@keyframes schimmer { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@media (prefers-reduced-motion: reduce) { .name { animation: none; } }
.satz { color: var(--leise); font-size: .95rem; }
.sprache {
  flex: none; min-width: 48px; min-height: 44px; padding: 0 12px; border-radius: 12px; cursor: pointer;
  background: var(--flaeche); border: 1px solid var(--linie); font-weight: 600; letter-spacing: .06em;
}
.sprache:hover { border-color: #3a4250; }

/* Überschrift */
.ueber { display: flex; align-items: center; gap: 10px; margin: 26px 0 14px; }
h1 { margin: 0; font: 700 1.05rem/1.2 "Orbitron", "Exo 2", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--text2); }
.i {
  position: relative; width: 30px; height: 30px; border-radius: 50%; flex: none; cursor: pointer;
  background: var(--flaeche); border: 1px solid var(--linie); color: var(--leise); font: italic 600 .95rem/1 Georgia, serif;
}
.i::before { content: ""; position: absolute; inset: -8px; }
.i:hover { color: var(--text); }

/* Karten */
.raster { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .raster { grid-template-columns: 1fr 1fr; gap: 20px; } }
.karte {
  position: relative; display: flex; flex-direction: column; background: var(--flaeche);
  border: 1px solid var(--linie); border-radius: 14px; overflow: hidden;
}
.karte::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--farbe, var(--akzent)); z-index: 2; }
/* Visitenkarte am Desktop quer über beide Spalten: Bild links, Text rechts (sonst stünde die fünfte Karte allein) */
@media (min-width: 760px) {
  .karte.breit { grid-column: 1 / -1; flex-direction: row; }
  .karte.breit .bild { width: calc(50% - 10px); flex: none; }
  .karte.breit .text { padding: 22px 24px; justify-content: center; }
  .karte.breit .knoepfe { margin-top: 6px; }
}
.bild { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0d1015; }
.bild .hinten { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(18px) brightness(.55); }
.bild .vorn { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.karte:hover .bild .vorn { transform: scale(1.02); }
.bild .marke {
  position: absolute; left: 12px; top: 14px; z-index: 1; padding: 3px 9px; border-radius: 99px; font-size: .78rem; font-weight: 600;
  background: rgba(10, 12, 15, .78); border: 1px solid rgba(255, 255, 255, .14); color: var(--text2); backdrop-filter: blur(6px);
}
/* Musik: drei Cover nebeneinander vor dem unscharfen ersten */
.cover { position: relative; display: flex; align-items: center; justify-content: center; gap: 4%; height: 100%; padding: 0 6%; }
.cover img { width: 28%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .55); transition: transform .35s ease; }
.cover img:nth-child(2) { width: 32%; }
.karte:hover .cover img { transform: translateY(-3px); }

.text { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.zeile1 { display: flex; align-items: center; gap: 10px; }
.titel { margin: 0; font: 700 1.05rem/1.2 "Orbitron", "Exo 2", sans-serif; letter-spacing: .04em; }
.punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--aus); flex: none; }
.punkt.an { background: var(--gut); box-shadow: 0 0 8px rgba(74, 222, 128, .6); }
.zeile1 .i { margin-left: auto; }
.kurz { margin: 0; color: var(--text2); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 12px;
  text-decoration: none; font-weight: 600; background: var(--flaeche2); border: 1px solid var(--linie);
}
.knopf.erster { background: var(--farbe, var(--akzent)); border-color: transparent; color: #0a0c0f; }
.knopf:hover { filter: brightness(1.1); }
.knopf:focus-visible, .bild:focus-visible { outline: 2px solid var(--farbe, var(--akzent)); outline-offset: 2px; }
.aus-hinweis { color: var(--leise); font-size: .85rem; }

.ohne-js { line-height: 2.2; }

/* Fuß */
.fuss { padding-top: 28px; padding-bottom: 32px; color: var(--leise); font-size: .88rem; }
.fuss a { color: var(--leise); }

/* Fenster */
dialog {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border-radius: 16px;
  background: var(--flaeche); color: var(--text); border: 1px solid var(--linie); box-shadow: 0 24px 80px rgba(0, 0, 0, .6);
}
dialog::backdrop { background: rgba(4, 6, 8, .72); backdrop-filter: blur(3px); }
.f-kopf { position: sticky; top: 0; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.f-kopf b { font: 700 1rem/1.2 "Orbitron", "Exo 2", sans-serif; letter-spacing: .04em; }
.zu { margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--linie); background: var(--flaeche2); cursor: pointer; font-size: 1rem; }
.f-inhalt { padding: 4px 18px 18px; color: var(--text2); }
.f-inhalt p { margin: 12px 0 0; }
