/* ============================================================
   XR Enthusiast — Design System
   Dunkel, tief, mit Cyan→Violett-Glow. XR-Feeling durch
   Aurora-Blobs, Perspektiv-Grid und Glassmorphism.
   ============================================================ */

/* Zwei Schriften, beide variabel und selbst gehostet: Space Grotesk
   fuer Ueberschriften (technisch, mit eigenwilligen Details), Figtree
   fuer Fliesstext (ruhig, gut lesbar).

   ⚠️ Vorher stand hier "Inter" — ohne dass die Schrift je geladen
   wurde. Die Seite lief also auf der Systemschrift des Besuchers und
   sah auf jedem Geraet anders aus.

   ⚠️ Beide Dateien sind das latin-Subset (230 bzw. 222 Zeichen,
   nachgemessen). Das latin-ext-Subset traegt nur 116 Zeichen und
   enthaelt kein kleines a — damit faellt der Browser mitten im Wort
   auf eine andere Schrift zurueck.

   ⚠️ `font-weight: 300 700` statt eines festen Werts: Bei variablen
   Schriften rendert der Browser sonst immer dieselbe Staerke. */
@font-face {
  font-family: "Space Grotesk";
  src: url("../schriften/SpaceGrotesk.87c506d88b9f.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../schriften/Figtree.202cfb54d4e6.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --bg: #070a0f;
  --bg-2: #0b0f16;
  --panel: rgba(22, 27, 34, 0.55);
  --panel-solid: #12161d;
  --border: rgba(120, 140, 170, 0.14);
  --border-strong: rgba(120, 140, 170, 0.28);
  --text: #eaf1f8;
  --muted: #93a1b4;
  --faint: #64748b;
  --accent: #5eead4;      /* teal */
  --accent-cyan: #38bdf8; /* cyan */
  --accent-2: #a78bfa;    /* violet */
  --accent-pink: #f472b6;
  --ok: #34d399;
  --danger: #fb7185;

  --grad: linear-gradient(120deg, var(--accent-cyan), var(--accent-2) 55%, var(--accent-pink));
  --grad-text: linear-gradient(120deg, #7dd3fc, #a78bfa 55%, #f0abfc);
  --glow: 0 0 0 1px rgba(94, 234, 212, 0.12), 0 18px 50px -12px rgba(56, 189, 248, 0.28);
  --radius: 16px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

h1, h2, h3, h4, .brand, .btn, .kicker {
  font-family: "Space Grotesk", "Figtree", system-ui, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---- Animated backdrop ---------------------------------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(56, 189, 248, 0.10), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(167, 139, 250, 0.10), transparent 55%),
    var(--bg);
}
.bg-fx::before {
  /* feines Grid */
  content: "";
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(120, 160, 200, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 200, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 40%, transparent 80%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
  will-change: transform;
}
/* ⚠️ Hier stand `filter: blur(80px)`. Ein radialer Verlauf ist bereits
   weich — der Filter hat dieselbe Weichzeichnung ein zweites Mal
   gerechnet, und zwar in jedem Bild, weil die Flecken sich bewegen.
   Gemessen am 19.11.2026: ohne ihn lief die Seite dreimal so flüssig
   (7 → 22 Bilder je Sekunde im Test ohne Grafikbeschleunigung). */
.blob.b1 { width: 460px; height: 460px; top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(34,211,238,.85), rgba(34,211,238,.22) 38%, transparent 72%); animation: drift1 22s ease-in-out infinite; }
.blob.b2 { width: 520px; height: 520px; top: 200px; left: -160px;
  background: radial-gradient(circle, rgba(167,139,250,.85), rgba(167,139,250,.22) 38%, transparent 72%); animation: drift2 28s ease-in-out infinite; }
.blob.b3 { width: 380px; height: 380px; bottom: -140px; right: 10%;
  background: radial-gradient(circle, rgba(244,114,182,.8), rgba(244,114,182,.2) 38%, transparent 72%); opacity: 0.35; animation: drift1 34s ease-in-out infinite reverse; }

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 40px) scale(1.08); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -30px) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none !important; }
  html { scroll-behavior: auto; }
}

a { color: var(--accent-cyan); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: #7dd3fc; }

/* ---- Header --------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 10, 15, 0.6);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  font-weight: 800;
  gap: 10px;
  letter-spacing: -0.02em;
  color: var(--text);
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
/* Die Marke ist dasselbe Gebilde wie im Kopf der Startseite: links
   noch Messpunkte, rechts der geschlossene Koerper. */
.brand img { width: 38px; height: 38px; display: block; margin: -2px 0 -2px -5px; }
.brand:hover { color: var(--text); }
.site-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  padding: 7px 12px;
  border-radius: 9px;
  transition: color 0.15s ease, background 0.15s ease;
}
.site-nav a:hover { color: var(--text); background: rgba(120, 140, 170, 0.1); }
.site-nav a.nav-cta {
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: rgba(94, 234, 212, 0.06);
}
.site-nav a.nav-cta:hover { border-color: var(--accent); color: var(--accent); background: rgba(94,234,212,0.1); }

/* ---- Auth ------------------------------------------------ */
.auth-wrap { display: grid; place-items: center; min-height: 60vh; }
.auth-card { max-width: 460px; width: 100%; }
.auth-card h1 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.02em; margin: 12px 0 10px; }
.auth-form { margin-top: 24px; }
.checkline { display: flex !important; flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500 !important; font-size: 14px; color: var(--muted); }
.checkline input { width: auto !important; margin-top: 3px; accent-color: var(--accent); }
.auth-fineprint { font-size: 12.5px; margin-top: 18px; }

/* ---- Main ------------------------------------------------ */
.site-main { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.messages { margin: 24px 0; }
.flash {
  padding: 13px 18px; border-radius: 12px; margin-bottom: 10px;
  border: 1px solid var(--border-strong); background: var(--panel);
  backdrop-filter: blur(8px);
}
.flash.success { border-color: rgba(52, 211, 153, 0.5); color: var(--ok); }

/* ---- Kicker (kleines Label) ----------------------------- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.kicker::before {
  content: ""; width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

/* ---- Hero ------------------------------------------------ */
.hero {
  position: relative;
  padding: 84px 0 56px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(120, 140, 170, 0.08);
  color: var(--muted); font-size: 13.5px; font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

.hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 20px;
  max-width: 14ch;
}
.hero h1 .accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* ---- Der Raum ------------------------------------------- */
/* Die Startseite behauptet nicht, dass Tiefe im Browser geht, sie
   zeigt es: ein perspektivischer Raum, in dem die fuenf Werkzeuge
   in verschiedenen Tiefen stehen und auf Mausbewegung reagieren.
   Reines CSS-3D, kein WebGL — das laedt sofort und laeuft auch dort,
   wo die Grafikbeschleunigung aus ist. */
.hero-raum {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
  padding: 72px 0 40px;
}
.hero-raum .hero-text { max-width: 560px; }
.hero-raum h1 { max-width: 11ch; }

.raum {
  position: relative;
  height: clamp(340px, 42vw, 460px);
  /* Die Tafeln stehen alle vor der Ebene der Buehne (positives Z) --
     hinter ihr sind sie nicht anklickbar. Die Perspektive ist um
     denselben Betrag groesser, damit die Staffelung gleich aussieht. */
  perspective: 2600px;
  perspective-origin: 50% 45%;
}
.raum-buehne {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  /* Die Werte setzt das Skript bei Mausbewegung; ohne Skript bleibt
     die Grundstellung stehen und der Raum ist trotzdem raeumlich. */
  transform: rotateX(var(--kippX, 6deg)) rotateY(var(--kippY, -14deg));
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
.raum.zeigt-maus .raum-buehne { transition: transform .12s linear; }

/* Bodengitter: die Ebene, auf der alles steht. Ohne sie schweben die
   Tafeln im Nichts und die Tiefe liest sich nicht. */
.raum-boden {
  position: absolute;
  left: -30%; right: -30%; top: 58%;
  height: 560px;
  transform: rotateX(74deg) translateZ(-30px);
  transform-origin: 50% 0;
  background-image:
    linear-gradient(rgba(94, 234, 212, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 234, 212, 0.34) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(62% 72% at 50% 4%, #000 22%, transparent 78%);
  -webkit-mask-image: radial-gradient(62% 72% at 50% 4%, #000 22%, transparent 78%);
  pointer-events: none;
}

.tafel {
  position: absolute;
  /* ⚠️ Die Tafeln standen alle auf derselben Position (left/top 50%)
     und wurden nur per translate3d auseinandergeschoben. Sichtbar
     stimmte das, aber die Trefferflaechen lagen weiter uebereinander:
     Klickbar war nur die vorderste, die anderen Links waren tot.
     Jetzt traegt left/top den Versatz, die Verschiebung nur noch die
     Tiefe. */
  left: calc(50% + var(--x));
  top: calc(50% + var(--y));
  width: 168px;
  margin: 0;
  padding: 14px 16px 16px;
  border-radius: 14px;
  border: 1px solid rgba(130, 155, 185, 0.26);
  background:
    linear-gradient(158deg, rgba(32, 42, 56, 0.96), rgba(14, 19, 26, 0.94));
  backdrop-filter: blur(8px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 26px 64px -28px rgba(0, 0, 0, 0.95);
  color: var(--text);
  text-decoration: none;
  /* --eng schrumpft die ganze Szene auf kleinen Schirmen, ohne dass
     die Anordnung neu gerechnet werden muss. */
  transform: translate(-50%, -50%) translateZ(var(--z));
  transition: border-color .2s, box-shadow .2s, opacity .2s, filter .2s;
}
.tafel:hover,
.tafel:focus-visible {
  border-color: rgba(94, 234, 212, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(94, 234, 212, 0.25),
    0 26px 60px -24px rgba(56, 189, 248, 0.55);
}
.tafel svg { display: block; width: 26px; height: 26px; margin-bottom: 10px; }
.tafel b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.tafel span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
/* Tiefenschaerfe: Was weiter hinten steht, ist blasser und eine Spur
   weicher. Das liest das Auge als Entfernung, auch im Standbild. */
.tafel.fern { opacity: .78; filter: blur(.4px); }
.tafel.fern:hover, .tafel.fern:focus-visible { opacity: 1; filter: none; }

@media (max-width: 920px) {
  .hero-raum { grid-template-columns: 1fr; gap: 8px; padding-top: 48px; }
  .hero-raum .hero-text { max-width: none; }
  .hero-raum h1 { max-width: 14ch; }
  /* Mobil wird aus der Szene eine geordnete Auslage.
     Die gestreuten Tiefen bleiben auf 390 Pixeln nicht lesbar: Die
     Tafeln behalten ihre Groesse, ruecken aber zusammen und verdecken
     sich gegenseitig. Zwei Spalten mit leichter Neigung behalten das
     Raeumliche und bleiben trotzdem eindeutig. */
  .raum {
    height: auto;
    perspective: 900px;
    margin-top: 22px;
  }
  .raum-buehne {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    transform: rotateX(7deg) rotateY(-5deg);
  }
  .raum-boden { display: none; }
  .tafel {
    position: static;
    width: auto;
    margin: 0;
    padding: 13px 14px 14px;
    transform: translateZ(var(--tiefe, 0));
  }
  /* Zeile fuer Zeile eine Spur weiter nach hinten — das haelt die
     Tiefe auch in der Auslage.
     ⚠️ Alle Werte positiv: Hinter der Ebene der Buehne (negatives Z)
     nimmt die Tafel keine Klicks mehr an. Genau daran hingen hier drei
     tote Links. */
  /* Sechs Werkzeuge = drei saubere Zeilen zu zweit. Das erste Kind der
     Buehne ist der Boden, deshalb beginnen die Tafeln bei 2.
     ⚠️ Auch die Null ist zu wenig: Eine Tafel genau auf der Ebene der
     gedrehten Buehne nimmt keine Klicks an, genau wie eine dahinter. */
  .tafel:nth-child(2), .tafel:nth-child(3) { --tiefe: 60px; }
  .tafel:nth-child(4), .tafel:nth-child(5) { --tiefe: 34px; }
  .tafel:nth-child(6), .tafel:nth-child(7) { --tiefe: 12px; }
  .tafel.fern { opacity: 1; filter: none; }
  .tafel svg { width: 22px; height: 22px; margin-bottom: 8px; }
  .tafel b { font-size: 14px; }
  .tafel span { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .raum-buehne { transition: none; }
}

/* ---- Was die Seite verspricht --------------------------- */
.versprechen {
  padding: 18px 0 44px;
  max-width: 68ch;
}
.versprechen p {
  margin: 0;
  font-size: clamp(16px, 2vw, 18.5px);
  line-height: 1.7;
  color: var(--muted);
  border-left: 2px solid rgba(94, 234, 212, 0.4);
  padding-left: 20px;
}

/* ---- Buttons -------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 0; border-radius: 12px; padding: 13px 24px;
  font-weight: 700; font-size: 15px; font-family: inherit;
  color: #04191f;
  background: var(--grad);
  background-size: 160% 160%;
  box-shadow: 0 10px 30px -10px rgba(56, 189, 248, 0.6);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-position 0.4s ease;
}
.btn:hover {
  color: #04191f;
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 16px 40px -10px rgba(167, 139, 250, 0.6);
}
.btn-ghost {
  background: rgba(120, 140, 170, 0.06); color: var(--text);
  border: 1px solid var(--border-strong); box-shadow: none;
}
.btn-ghost:hover {
  color: var(--text); border-color: var(--accent);
  background: rgba(94, 234, 212, 0.08); box-shadow: 0 0 0 1px rgba(94,234,212,0.2);
}

/* Fuer Schritte, die nichts zurueckholt. Nicht knallrot gefuellt: Der
   Knopf soll warnen, nicht anziehen - gefuellte Flaechen in Signalfarbe
   wirken wie die Hauptaktion. */
.btn-warnung {
  background: rgba(248, 113, 113, 0.1); color: #fca5a5;
  border: 1px solid rgba(248, 113, 113, 0.45); box-shadow: none;
}
.btn-warnung:hover {
  color: #0b0f14; background: #f87171;
  border-color: #f87171; box-shadow: 0 10px 30px -12px rgba(248, 113, 113, 0.7);
}

/* ---- Sections ------------------------------------------- */
.section { padding: 52px 0; }
.section > h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; margin: 12px 0 14px; }
.section h2 { font-size: clamp(22px, 3vw, 28px); letter-spacing: -0.02em; margin: 10px 0 24px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; }
.muted { color: var(--muted); }

/* ---- Cards ---------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card {
  position: relative;
  background: var(--panel);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.card::after {
  /* Glow-Rand beim Hover */
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.25s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card:hover::after { opacity: 0.7; }
.card h3 { margin: 0 0 12px; font-size: 19px; letter-spacing: -0.01em; }
.card p { color: var(--muted); margin: 0 0 4px; }
.card.feature {
  background:
    radial-gradient(600px 200px at 100% 0%, rgba(167, 139, 250, 0.12), transparent 60%),
    var(--panel);
  border-color: var(--border-strong);
}
.card.feature::after { opacity: 0.35; }
.card.card-soon { border-style: dashed; background: rgba(120,140,170,0.03); }
.card-actions { margin-top: 20px; }
.mini-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.mini-list a { font-weight: 600; }

/* Icon-Badge auf Karten */
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid var(--border-strong);
  margin-bottom: 16px;
}
/* Gezeichnete Symbole statt Emoji: Die sahen auf jedem System anders
   aus und neben den Symbolen der Startseite wie Platzhalter. */
.card-icon svg { width: 24px; height: 24px; display: block; }

/* Featured Tool als breite Karte */
.feature-wide {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 0;
  align-items: stretch; padding: 0; overflow: hidden;
}
.feature-wide .fw-body { padding: 34px; }
.feature-wide .fw-body h3 { font-size: 24px; }
.feature-wide .fw-visual {
  position: relative;
  background:
    radial-gradient(400px 260px at 60% 40%, rgba(56,189,248,0.25), transparent 70%),
    linear-gradient(135deg, rgba(167,139,250,0.18), rgba(56,189,248,0.06));
  border-left: 1px solid var(--border);
  min-height: 220px;
  display: grid; place-items: center;
}
/* CSS-Radar (font-unabhängig) */
.radar { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.radar .ring {
  position: absolute; inset: 0; margin: auto;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(94, 234, 212, 0.6);
  animation: ping 3s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.radar .ring:nth-child(2) { animation-delay: 1s; }
.radar .ring:nth-child(3) { animation-delay: 2s; }
.radar .pin {
  position: relative; width: 18px; height: 18px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--grad);
  box-shadow: 0 0 22px rgba(94, 234, 212, 0.7);
}
.radar .pin::after {
  content: ""; position: absolute; inset: 5px; margin: auto;
  width: 6px; height: 6px; border-radius: 50%; background: #05141a; transform: rotate(45deg);
}
@keyframes ping {
  0%   { width: 30px; height: 30px; opacity: 0.9; }
  100% { width: 150px; height: 150px; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .radar .ring { animation: none; opacity: 0.4; } }
@media (max-width: 720px) {
  .feature-wide { grid-template-columns: 1fr; }
  .feature-wide .fw-visual { border-left: 0; border-top: 1px solid var(--border); min-height: 150px; order: -1; }
}

/* ---- Blog ------------------------------------------------ */
.post-list { display: grid; gap: 20px; }
.post-list .card h2 { margin: 0 0 8px; font-size: 21px; }
.post .post-cover { width: 100%; border-radius: var(--radius); margin: 22px 0; }
.post-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.post-body { margin-top: 24px; }
.post-body :is(h2,h3) { letter-spacing: -0.01em; }
.post-meta { color: var(--faint); font-size: 14px; font-weight: 600; }

/* Gerenderter Markdown-Inhalt */
.post-body.prose { max-width: 760px; }
.post-body.prose img { max-width: 100%; height: auto; border-radius: 12px; margin: 18px 0; }
.post-body.prose h2 { font-size: clamp(22px, 3vw, 28px); margin: 32px 0 12px; }
.post-body.prose h3 { font-size: 20px; margin: 26px 0 10px; }
.post-body.prose p { margin: 0 0 16px; color: var(--text); }
.post-body.prose a { color: var(--accent-cyan); }
.post-body.prose ul, .post-body.prose ol { margin: 0 0 16px; padding-left: 22px; color: var(--text); }
.post-body.prose li { margin: 4px 0; }
.post-body.prose blockquote {
  margin: 18px 0; padding: 4px 18px; border-left: 3px solid var(--accent);
  color: var(--muted); background: rgba(120,140,170,0.05); border-radius: 0 10px 10px 0;
}
.post-body.prose code {
  background: rgba(5,8,13,0.7); border: 1px solid var(--border);
  border-radius: 6px; padding: 1px 6px; font-size: 0.9em;
}
.post-body.prose pre {
  background: #05080d; border: 1px solid var(--border); border-radius: 12px;
  padding: 16px; overflow-x: auto; margin: 18px 0;
}
.post-body.prose pre code { background: none; border: 0; padding: 0; }
.post-body.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; display: block; overflow-x: auto; }
.post-body.prose th, .post-body.prose td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.post-body.prose th { background: rgba(120,140,170,0.08); }

/* ---- Prose (about, legal, contact) ---------------------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 20px; margin: 32px 0 10px; letter-spacing: -0.01em; }
.prose p { margin: 0 0 15px; color: var(--muted); }
.prose strong, .prose b { color: var(--text); }
.notice {
  background: rgba(251, 113, 133, 0.08);
  border: 1px solid rgba(251, 113, 133, 0.4);
  color: #fda4af;
  padding: 13px 18px; border-radius: 12px;
}

/* ---- Contact form --------------------------------------- */
.contact-form { display: grid; gap: 18px; max-width: 540px; margin-top: 28px; }
.contact-form label { display: grid; gap: 7px; font-weight: 600; font-size: 14px; }
.contact-form input, .contact-form textarea {
  padding: 13px 15px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: rgba(11,15,22,0.6); color: var(--text);
  font: inherit; width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.15);
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.field-error { color: var(--danger); font-weight: 500; font-size: 13px; }
.hp { position: absolute; left: -9999px; }

/* ---- Barcode-Marker-Generator --------------------------- */
.bc-grid { display: grid; grid-template-columns: 340px 1fr; gap: 30px; margin-top: 28px; align-items: start; }
.bc-controls { display: grid; gap: 18px; }
.bc-controls label { display: grid; gap: 7px; font-weight: 600; font-size: 14px; }
.bc-controls select, .bc-controls input {
  padding: 13px 15px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: rgba(11,15,22,0.6); color: var(--text);
  font: inherit; width: 100%;
}
.bc-controls select:focus, .bc-controls input:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(94,234,212,0.15);
}
.bc-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.bc-usage { margin-top: 8px; }
.bc-usage summary { cursor: pointer; font-weight: 600; }
.bc-snippet {
  background: #05080d; border: 1px solid var(--border); border-radius: 12px;
  padding: 16px; overflow-x: auto; font-size: 13px; color: var(--accent); white-space: pre-wrap;
}
.bc-preview {
  background: #fff; border-radius: var(--radius); padding: 24px;
  display: flex; align-items: center; justify-content: center;
}
.bc-preview canvas { width: 100%; max-width: 420px; height: auto; image-rendering: pixelated; }
@media (max-width: 720px) { .bc-grid { grid-template-columns: 1fr; } }

@media print {
  .site-header, .site-footer, .bc-controls, .bc-tool h1, .bc-tool .lead,
  .bc-tool > .muted, .messages, .bg-fx { display: none !important; }
  .bc-preview { padding: 0; }
  body { background: #fff; }
}

/* ---- Footer ---------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 64px; background: rgba(5, 8, 13, 0.6); }
.site-footer-inner {
  max-width: 1080px; margin: 0 auto; padding: 28px 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: 14px; align-items: center;
}
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--text); }

/* ---- Podcast -------------------------------------------- */
/* Die Folgen sind kein Kachelraster: Eine Folge ist gross und hoerbar,
   die aelteren stehen als ruhige Liste darunter. */
.folge-gross {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  /* Ohne Episodenbild bliebe sonst eine leere Spalte stehen und der
     Text quetschte sich in den Rest. */
  gap: 26px;
  align-items: start;
  margin-top: 34px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(8px);
}
.folge-gross.ohne-bild { grid-template-columns: minmax(0, 1fr); }
.folge-bild {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
}
.folge-text h2 { margin: 6px 0 16px; font-size: clamp(21px, 3vw, 27px); letter-spacing: -0.02em; }
.folge-text h2 a { color: var(--text); text-decoration: none; }
.folge-text h2 a:hover { color: var(--accent); }
.folge-meta { margin: 0; color: var(--faint); font-size: 13.5px; }

.abspieler { width: 100%; margin: 4px 0 18px; }
/* Der Browser faerbt seine Bedienleiste selbst; dunkel passt sie sich an. */
.abspieler { color-scheme: dark; }

.folge-beschreibung { color: var(--muted); }
.folge-beschreibung p { margin: 0 0 12px; }
.folge-beschreibung a { color: var(--accent); }

.weitere-titel { margin-top: 48px; font-size: 20px; }
.folgen-liste { display: grid; gap: 2px; }
.folge-zeile {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--text);
  text-decoration: none;
}
.folge-zeile:hover { border-color: var(--border-strong); background: rgba(120, 140, 170, 0.07); }
.fz-nummer {
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px; font-weight: 300;
  color: var(--accent); text-align: right;
}
.fz-mitte b { display: block; font-weight: 600; letter-spacing: -0.01em; }
.fz-mitte small { color: var(--faint); font-size: 12.5px; }

.folge-leer { margin-top: 30px; }
.feed-zeile { margin-top: 34px; font-size: 14px; }
.feed-zeile a { color: var(--muted); }
.feed-zeile a:hover { color: var(--accent); }

.folge-einzeln { max-width: 72ch; }
.folge-einzeln h1 { font-size: clamp(27px, 4.4vw, 40px); letter-spacing: -0.03em; margin: 10px 0 10px; }
.folge-einzeln .abspieler { margin-top: 22px; }

.transkript {
  margin-top: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(120, 140, 170, 0.05);
}
.transkript summary {
  padding: 15px 20px;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  color: var(--accent);
}
.transkript[open] summary { border-bottom: 1px solid var(--border); }
.transkript-text { padding: 18px 22px 24px; color: var(--muted); line-height: 1.8; }

@media (max-width: 760px) {
  .folge-gross { grid-template-columns: 1fr; padding: 18px; }
  .folge-bild { max-width: 220px; }
}

/* ---- Tunnel im Podcast-Kopf ----------------------------- */
/* Gegenstueck zum Archivring der Schwesterseite: Dort liegen die
   Folgen auf einem Kreis, hier stehen sie hintereinander im Raum.
   Reines CSS-3D; die Rahmen sind Deko und fuer Screenreader
   ausgeblendet. */
.tunnel {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 620px;
  perspective: 900px;
  perspective-origin: 50% 38%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  mask-image: linear-gradient(#000 45%, transparent 92%);
  -webkit-mask-image: linear-gradient(#000 45%, transparent 92%);
}
/* Licht im Fluchtpunkt — erst dadurch wird aus gestapelten Rahmen
   ein Tunnel, in den man hineinsieht. */
.tunnel::before {
  content: "";
  position: absolute;
  left: 50%; top: 38%;
  width: 420px; height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(94, 234, 212, 0.16), rgba(56, 189, 248, 0.07) 42%, transparent 70%);
  filter: blur(14px);
}
.tunnel-flucht {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--tkippX, 2deg)) rotateY(var(--tkippY, -6deg));
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.tunnel-rahmen {
  position: absolute;
  left: 50%; top: 46%;
  width: 620px; height: 420px;
  margin: -210px 0 0 -310px;
  border: 1.5px solid rgba(94, 234, 212, 0.45);
  border-radius: 34px;
  display: grid;
  place-items: center;
  /* Jeder Rahmen steht eine feste Strecke weiter hinten. Die vordersten
     sind kraeftig, die hinteren verlieren sich. */
  transform: translateZ(calc(var(--tz) * -230px)) scale(calc(1 - var(--tz) * .012));
  opacity: calc(.7 - var(--tz) * .075);
  box-shadow: 0 0 24px -8px rgba(94, 234, 212, 0.35);
}
.tunnel-rahmen b {
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: rgba(94, 234, 212, 0.8);
  transform: translateY(186px);
}
.tunnel-rahmen.leer { border-color: rgba(120, 140, 170, 0.22); box-shadow: none; }

/* Ein Lichtring zieht in den Tunnel hinein. Eine einzelne, langsame
   Bewegung reicht — mehrere gleichzeitig machen den Kopf unruhig. */
.tunnel-puls {
  position: absolute;
  left: 50%; top: 46%;
  width: 620px; height: 420px;
  margin: -210px 0 0 -310px;
  border: 1.5px solid rgba(125, 211, 252, 0.85);
  border-radius: 34px;
  box-shadow: 0 0 40px -6px rgba(56, 189, 248, 0.55);
  animation: tunnelzug 11s linear infinite;
}
@keyframes tunnelzug {
  0%   { transform: translateZ(120px) scale(1.02); opacity: 0; }
  12%  { opacity: .85; }
  78%  { opacity: .12; }
  100% { transform: translateZ(-1500px) scale(.82); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tunnel-puls { display: none; }
}
.tunnel-rahmen.leer b { display: none; }

/* Der Kopf der Podcast-Seite steht im Tunnel, nicht daneben. */
.podcast-kopf { position: relative; padding-top: 64px; }
.podcast-kopf h1 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -0.03em; margin: 12px 0 14px; }

@media (max-width: 760px) {
  /* Mobil laeuft der Text mitten durch den Tunnel — die Maske nimmt
     die Rahmen dort zurueck, wo die Ueberschrift steht. */
  .tunnel {
    height: 420px; perspective: 560px; perspective-origin: 50% 34%;
    mask-image: linear-gradient(#000 30%, rgba(0,0,0,.35) 52%, transparent 78%);
    -webkit-mask-image: linear-gradient(#000 30%, rgba(0,0,0,.35) 52%, transparent 78%);
  }
  .tunnel-rahmen { width: 330px; height: 250px; margin: -125px 0 0 -165px; border-radius: 22px; }
  .tunnel-rahmen b { transform: translateY(100px); }
  .podcast-kopf { padding-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .tunnel-flucht { transition: none; }
}

/* Die beiden Reihen auseinanderhalten: News laufen regelmaessig,
   Deep Dives kommen, wenn eines ansteht. */
.art {
  display: inline-block;
  margin-right: 10px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.art-news { background: rgba(94, 234, 212, 0.14); color: var(--accent); }
.art-deep_dive { background: rgba(167, 139, 250, 0.16); color: var(--accent-2); }

/* ---- Startseite: Podcast oben --------------------------- */
.hero-start {
  position: relative;
  padding: 92px 0 74px;
  min-height: 460px;
}
/* Der Text haelt sich links; rechts bleibt das Motiv frei. Eine zweite
   Spalte mit Karte hat genau dort gelegen, wo das Bild steht, und es
   zugedeckt. */
.hero-start .hero-text { max-width: 54%; }
.hero-start .hero-actions .btn svg { margin-right: 9px; }
.hero-start .hero-badge { font-weight: 600; }
.nurgross { display: inline; }
/* Die Punktwolke liegt hinter beiden Spalten und reicht ueber den
   Seitenrand hinaus — der Raum hoert nicht am Inhalt auf. */
.punktwolke {
  position: absolute;
  left: 50%; top: -40px;
  width: 100vw; height: calc(100% + 80px);
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  mask-image: radial-gradient(72% 76% at 50% 46%, #000 42%, transparent 82%);
  -webkit-mask-image: radial-gradient(72% 76% at 50% 46%, #000 42%, transparent 82%);
}
.hero-start h1 { font-size: clamp(32px, 4.8vw, 54px); max-width: 15ch; line-height: 1.06; }
.hero-start .lead { margin-top: 18px; }

.folge-start {
  padding: 26px 28px 24px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: linear-gradient(158deg, rgba(24, 31, 42, .88), rgba(12, 16, 22, .9));
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.folge-start h2 {
  margin: 10px 0 18px;
  font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.22;
}
.folge-start h2 a { color: var(--text); }
.folge-start h2 a:hover { color: var(--accent); }
.folge-start .abspieler { margin: 0 0 16px; }
.folge-mehr { font-weight: 600; font-size: 14.5px; }
.folge-start.leer { color: var(--muted); }

.werkzeuge-start { padding-top: 26px; }
.werkzeuge-start .raum { margin-top: 6px; }
/* .versprechen-zeile ist entfallen: Der zweite Kasten auf der Tool-Seite
   wurde zum Nebensatz im ersten. */

/* Die Kopfzeile bricht auf schmalen Schirmen sonst so um, dass der
   Login-Knopf allein in einer zweiten Zeile haengt. Kleinere Schrift
   und engere Abstaende halten die fuenf Eintraege in einer Reihe. */
@media (max-width: 620px) {
  .site-header-inner { padding: 12px 18px; gap: 10px; }
  .brand { font-size: 18px; }
  .brand::before { width: 11px; height: 11px; }
  .site-nav { gap: 2px; width: 100%; justify-content: space-between; flex-wrap: nowrap; }
  .site-nav a { font-size: 13.5px; padding: 6px 7px; white-space: nowrap; }
  .site-nav a.nav-cta { padding: 6px 11px; }
}
@media (max-width: 380px) {
  .site-nav a { font-size: 12.5px; padding: 5px 5px; }
}

@media (max-width: 920px) {
  .hero-start { padding: 26px 0 34px; min-height: 0; }
  .hero-start .hero-text { max-width: none; }
  .hero-start h1 { max-width: none; }
  .nurgross { display: none; }
  .punktwolke { top: -20px; height: calc(100% + 40px); }
  .werkzeuge-start { padding-top: 8px; }
}

/* ---- Das Motiv im Kopf ---------------------------------- */
/* Ein Koerper, der links noch aus Messpunkten besteht und sich nach
   rechts zur festen Form schliesst — erzeugt auf dem eigenen Rechner.
   Er atmet sehr langsam, damit der Kopf nie ganz stillsteht. */
.motiv {
  position: absolute;
  left: 50%; top: 50%;
  width: min(1480px, 112vw); height: 118%;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.motiv-bild {
  position: absolute;
  inset: 0;
  /* Das Motiv hat einen schwarzen Grund. `screen` laesst Schwarz
     verschwinden — ohne das zeichnet sich das Rechteck des Bildes als
     heller Kasten gegen den Seitengrund ab, besonders auf dem Telefon. */
  mix-blend-mode: screen;
  background-position: right 1% center;
  background-size: auto 96%;
  background-repeat: no-repeat;
  animation: motiv-atmen 44s ease-in-out infinite alternate;
  transform-origin: 74% 50%;
  mask-image: radial-gradient(44% 58% at 75% 50%, #000 46%, transparent 88%);
  -webkit-mask-image: radial-gradient(44% 58% at 75% 50%, #000 46%, transparent 88%);
}
/* Zwei Verlaeufe: Der erste haelt die Textseite dunkel genug zum Lesen,
   der zweite laesst Ober- und Unterkante im Grund verschwinden. */
.motiv-schleier {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, #070a0f 14%, rgba(7,10,15,.88) 36%,
                    rgba(7,10,15,.42) 60%, rgba(7,10,15,.04) 88%),
    linear-gradient(180deg, rgba(7,10,15,0) 62%, rgba(7,10,15,.5) 86%, #070a0f 100%);
}
@keyframes motiv-atmen {
  0%   { transform: scale(1); }
  100% { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .motiv-bild { animation: none; }
}
@media (max-width: 920px) {
  /* Mobil bekommt das Motiv eine eigene Flaeche ueber dem Text.
     Hinter der Schrift war es nur ein grauer Schleier — man erkannte
     den Koerper nicht, und die Ueberschrift verlor an Kontrast. */
  .motiv {
    position: relative;
    left: auto; top: auto;
    transform: none;
    width: 100%;
    height: clamp(190px, 46vw, 260px);
    margin: 0 0 6px;
    z-index: 0;
  }
  .motiv-bild {
    background-position: center center;
    background-size: contain;
    mask-image: radial-gradient(62% 68% at 50% 48%, #000 52%, transparent 90%);
    -webkit-mask-image: radial-gradient(62% 68% at 50% 48%, #000 52%, transparent 90%);
  }
  /* Mobil steht das Motiv ueber dem Text statt dahinter — dann braucht
     es keinen Schleier mehr, und dessen Kante faellt sonst als
     Rechteck auf. */
  .motiv-schleier { display: none; }
}

/* Pfeile als Form statt als Zeichen: Space Grotesk und Figtree tragen
   kein U+2190/2192, der Browser holte sie aus einer Ersatzschrift und
   setzte sie anders auf die Grundlinie. */
.pfeil-zurueck { vertical-align: -1px; margin-right: 2px; }

/* ---- Wo der Podcast sonst laeuft ------------------------ */
.plattformen {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 26px 0 4px;
  flex-wrap: wrap;
}
.plattformen .label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--faint);
}
.plattformen a {
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: color .15s ease, transform .15s ease;
}
.plattformen a:hover { color: var(--accent); transform: translateY(-2px); }
.plattformen svg { display: block; }

@media (max-width: 620px) {
  .plattformen { gap: 14px; margin-top: 20px; }
}

/* Hinweis, waehrend der Browser die USDZ-Fassung fuer Apples Quick Look
   rechnet. Steht nur auf Apple-Geraeten und nur solange es dauert. */
.mv-usdz {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* Was zum Weitergeben gehört: der Code zur Karte und das Markerquadrat.
   Nebeneinander, solange Platz ist. */
.teilen-reihe {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 26px 0 6px;
}
.teilen-stueck {
  flex: 1 1 230px;
  padding: 18px 20px;
  border: 1px solid var(--border, rgba(120, 140, 170, 0.14));
  border-radius: 16px;
  background: rgba(22, 27, 34, 0.45);
}
.teilen-stueck h3 { margin: 0 0 14px; font-size: 15px; letter-spacing: -0.01em; }
.teilen-stueck p { margin: 12px 0 0; }
.teilen-stueck small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.qr-flaeche {
  display: inline-block;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  line-height: 0;
}
.qr-flaeche img, .qr-flaeche canvas { display: block; }
.marker-vorschau {
  display: block;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
}

/* Eine Profilzeile der Visitenkarte: Plattform, Adresse, und ein Weg wieder
   heraus. Auf dem Handy untereinander, sonst nebeneinander. */
.profilzeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.profilzeile select { flex: 0 0 auto; min-width: 150px; }
.profilzeile input[type="text"],
.profilzeile input[type="url"] { flex: 1 1 220px; min-width: 0; }
.profilzeile .profil-entfernen,
.profilzeile .profil-weg {
  flex: 0 0 auto;
  padding: 9px 15px;
  font-size: 13.5px;
}
.profilzeile .profil-weg {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}

/* Ein Link zum Weitergeben. Auf dem Handy steht der Knopf unter dem Feld:
   Nebeneinander bliebe für den Pfad kaum Platz. */
.kopierfeld { margin: 18px 0 6px; }
.kopierfeld label { display: block; margin-bottom: 7px; font-weight: 700; font-size: 14px; }
.kopierfeld-reihe { display: flex; flex-wrap: wrap; gap: 10px; }
.kopierfeld input {
  flex: 1 1 260px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--border-strong, rgba(120, 140, 170, 0.28));
  border-radius: 11px;
  background: rgba(11, 15, 22, 0.6);
  color: var(--text);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13.5px;
  text-overflow: ellipsis;
}
.kopierfeld button { flex: 0 0 auto; padding: 12px 20px; }
.kopierfeld button.kopiert { border-color: var(--accent); color: var(--accent); }

/* Hinweis über dem Werkzeugkasten: Die Sachen sind zum Vorführen da, nicht
   für den Betrieb. Ruhig gehalten — eine Warnfarbe wäre zu laut für eine
   Einordnung, die niemanden abhalten soll. */
.hinweis-entwicklung {
  margin: 22px 0 0;
  padding: 15px 18px;
  max-width: 68ch;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: rgba(94, 234, 212, 0.06);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.hinweis-entwicklung strong { color: var(--text); }

/* Django rendert Formularfelder ohne Klassen. Ohne die folgenden Regeln
   stehen weiße Browserfelder mitten im dunklen Layout. */
.formular label { font-size: 14px; }
.formular input[type="text"],
.formular input[type="email"],
.formular input[type="url"],
.formular input[type="number"],
.formular select,
.formular textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong, rgba(120, 140, 170, 0.28));
  border-radius: 11px;
  background: rgba(11, 15, 22, 0.6);
  color: var(--text);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.formular input:focus,
.formular select:focus,
.formular textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.15);
}
.formular input[type="file"] {
  width: 100%;
  margin-top: 7px;
  padding: 11px 14px;
  border: 1px dashed var(--border-strong, rgba(120, 140, 170, 0.28));
  border-radius: 11px;
  background: rgba(11, 15, 22, 0.45);
  color: var(--muted);
  font: inherit;
  font-size: 14px;
}
.formular input[type="color"] {
  width: 68px;
  height: 44px;
  margin-top: 7px;
  padding: 4px;
  border: 1px solid var(--border-strong, rgba(120, 140, 170, 0.28));
  border-radius: 11px;
  background: rgba(11, 15, 22, 0.6);
  cursor: pointer;
}
.formular input[type="checkbox"] { accent-color: var(--accent); width: 17px; height: 17px; }
.formular input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 7px 14px;
  border: 0;
  border-radius: 8px;
  background: rgba(94, 234, 212, 0.14);
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.formular .feldfehler { color: var(--danger, #fb7185); }

/* Steht da, wenn das Modell nicht in Metern gespeichert ist – ohne Korrektur
   stellt AR es in der gespeicherten Größe in den Raum. */
.mv-mass {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 14px 0 0;
  padding: 12px 15px;
  border: 1px solid rgba(244, 191, 95, 0.32);
  border-radius: 12px;
  background: rgba(244, 191, 95, 0.08);
  font-size: 13.5px;
  color: var(--text);
}
.mv-mass button {
  padding: 7px 14px;
  font-size: 13px;
  border-radius: 9px;
  flex-shrink: 0;
}

/* ---- A-Frames eigene Dialoge ---------------------------- */
/* A-Frame blendet bei Kamera-, Sensor- oder VR-Anfragen ein eigenes
   Fenster ein und setzt darin **keine Textfarbe**. Der Text erbt damit
   das helle Grau der Seite — auf dem weissen Grund des Dialogs war er
   praktisch unsichtbar. Christian hat es auf dem iPhone gesehen.
   Also eigene Farben, gleich im Stil der Seite. */
.a-dialog {
  background: var(--panel-solid) !important;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9);
  color: var(--text);
  font-family: "Figtree", system-ui, sans-serif;
  height: auto !important;
  min-height: 170px;
  padding-bottom: 6px;
}
.a-dialog-text,
.a-dialog-text-container { color: var(--text) !important; }
.a-dialog-text { line-height: 1.5; font-size: 15px !important; }
.a-dialog-button {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid var(--border-strong) !important;
  background: rgba(120, 140, 170, .12) !important;
  color: var(--text) !important;
}
.a-dialog-allow-button,
.a-dialog-ok-button {
  background: linear-gradient(120deg, var(--accent-cyan), var(--accent-2)) !important;
  border-color: transparent !important;
  color: #05121c !important;
}
.a-modal { background: rgba(4, 7, 12, .72) !important; }

/* ⚠ AR.js schreibt die Videomaße in die Inline-Stile des <body> und lässt
   seinen Resize-Horcher danach weiterlaufen: Ein Zurücksetzen beim Schließen
   wird Sekundenbruchteile später wieder überschrieben, und die Seite stand in
   Kamerabreite da („Alles ist dann Ultra breit"). Statt hinterherzuräumen
   wird die Vorgabe hier dauerhaft überstimmt — das Kamerabild braucht sie
   nicht, es liegt ohnehin fest positioniert über der Seite. */
body {
  width: auto !important;
  height: auto !important;
  margin-left: 0 !important;
  margin-top: 0 !important;
}

/* Rückmeldung unter einem Dateifeld, wenn der Browser das Bild vor dem
   Hochladen verkleinert hat. */
.upload-hinweis {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Mehrere Knöpfe nebeneinander. Vorher standen sie als Inline-Elemente in
   einem Absatz: Auf schmalen Schirmen brachen sie um und klebten dann
   aneinander, weil zwischen den Zeilen nichts stand. Christian: „Die Buttons
   kleben zusammen." */
.knopfreihe {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

/* Der Weg zurück ins Konto steckt in der Zeile, die ohnehin „Mein Konto"
   sagt — ein eigener Knopf dafür war einer zu viel. */
a.kicker-zurueck {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  transition: color .15s ease, gap .15s ease;
}
a.kicker-zurueck::before {
  content: "";
  width: 7px;
  height: 7px;
  /* ⚠ Den Verlauf der normalen Kicker-Linie ausdrücklich abräumen, sonst
     bleibt das Kästchen gefüllt und der Haken sieht aus wie eine Raute. */
  background: none;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
a.kicker-zurueck:hover { color: var(--text); gap: 10px; }

/* Eigener Vollbildmodus — siehe js/vollbild.js. `dvh` statt `vh`, sonst
   schiebt die ein- und ausfahrende Adressleiste des Handys das Bild an. */
.vollbild {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2000 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  max-height: none !important;
  aspect-ratio: auto !important;
}
body.vollbild-aktiv { overflow: hidden; }

/* Der Knopf schwebt über der Bühne, damit er auch im Vollbild erreichbar
   bleibt. */
.vollbild-knopf {
  position: absolute;
  /* ⚠ Nicht nach rechts unten: Dort setzt A-Frame seinen eigenen VR-Knopf
     hin und fängt die Klicks ab (im Test nachgewiesen — der Klick landete
     41-mal auf `.a-enter-vr-button`). */
  right: 14px;
  top: 14px;
  z-index: 8;
  padding: 9px 15px;
  font-size: 14px;
  border-radius: 10px;
  background: rgba(7, 10, 15, 0.7);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.vollbild-knopf:hover { border-color: var(--accent); color: var(--accent); }

/* ⚠ Knöpfe auf den hellen Kartenflächen. `.btn-ghost` trägt die helle
   Textfarbe der dunklen Seite — auf Weiß ist davon fast nichts zu sehen.
   Christian hat es zweimal angemerkt, bevor ich hinsah: „der Button in ar
   Ansehen kaum zu lesen". */
.vk-card .btn-ghost,
.vkg-karte .btn-ghost {
  color: #10131a;
  background: rgba(16, 19, 26, 0.05);
  border-color: rgba(16, 19, 26, 0.22);
}
.vk-card .btn-ghost:hover,
.vkg-karte .btn-ghost:hover {
  color: #10131a;
  background: rgba(16, 19, 26, 0.1);
  border-color: rgba(16, 19, 26, 0.4);
  box-shadow: none;
}

/* Geteilte Ansichten (siehe base_geteilt.html): Inhalt steht allein, nur
   Impressum und Datenschutz bleiben darunter. */
body.geteilt .site-main { padding-top: 36px; }
.geteilt-fuss {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 30px 24px 36px;
  font-size: 13px;
}
.geteilt-fuss a { color: var(--faint); }
.geteilt-fuss a:hover { color: var(--muted); }

/* Das fertige Markerquadrat zeigt sich größer als eine Vorschau: Man will
   vor dem Drucken sehen, ob Name und Code stimmen. */
.marker-gross { width: 100%; max-width: 260px; height: auto; }

/* Branding in einer Bühne, die weitergegeben wird: Zeichen und Wortmarke
   oben rechts, zurückhaltend genug, um das Bild nicht zu stören. */
.rg-marke {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 9px;
  border-radius: 999px;
  background: rgba(7, 10, 15, 0.56);
  border: 1px solid rgba(120, 140, 170, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  font-family: "Space Grotesk", "Figtree", system-ui, sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  transition: border-color .15s ease, background .15s ease;
}
.rg-marke img { display: block; flex: 0 0 auto; }
.rg-marke:hover { color: var(--text); border-color: var(--accent); background: rgba(7, 10, 15, 0.72); }

/* Der Vollbild-Knopf weicht dem Branding. Unten rechts ist belegt: Dort
   setzt A-Frame seinen VR-Knopf hin und fängt die Klicks ab. */
.vollbild-knopf.vollbild-links { right: auto; top: auto; left: 14px; bottom: 14px; }

@media (max-width: 520px) {
  /* Auf schmalen Schirmen nur das Zeichen – der Schriftzug nähme die halbe
     Breite und legte sich über das Panorama. */
  .rg-marke span { display: none; }
  .rg-marke { padding: 7px; }
}

/* Der Weg vom Werkzeug zur Auftragsarbeit. Zurückhaltend gehalten: Die
   Werkzeuge sollen nicht wie ein Lockangebot wirken, sondern wie das, was
   sie sind — eine Demonstration, neben der es mehr gibt. */
.individuell {
  margin: 48px 0 8px;
  padding: 26px 28px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-2);
  border-radius: 0 16px 16px 0;
  background: linear-gradient(100deg, rgba(167, 139, 250, 0.07), rgba(22, 27, 34, 0.35) 60%);
  max-width: 68ch;
}
.individuell h2 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.individuell p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.individuell-wege { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px !important; }
.individuell-wege .btn { padding: 10px 18px; font-size: 14px; }

@media (max-width: 720px) {
  .individuell { padding: 22px 20px; margin-top: 36px; }
}

/* Der knappe Nachsatz im Hinweiskasten der Startseite: eigener Absatz,
   ohne dass daraus ein zweiter Kasten wird. */
.hinweis-entwicklung .nebensatz { display: block; margin-top: 7px; }

/* Die neueste Folge zwischen Kopf und Werkzeugen: eine Zeile, kein Block.
   Vorher übernahm sie den ganzen Hero — bei einem langen Titel wurden daraus
   sechs Zeilen, und die Einordnung der Seite verschwand. */
.aktuelle-folge-abschnitt { padding: 0 0 8px; }
.aktuelle-folge {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
  backdrop-filter: blur(10px);
  color: var(--text);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.aktuelle-folge:hover {
  color: var(--text);
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 20px 50px -28px rgba(0, 0, 0, .8);
}
.af-spielen {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #04191f;
  padding-left: 3px;
}
.af-text { flex: 1 1 auto; min-width: 0; display: grid; gap: 3px; }
.af-text small { color: var(--muted); font-size: 12.5px; letter-spacing: .02em; }
.af-text b {
  font-family: "Space Grotesk", "Figtree", system-ui, sans-serif;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.35;
  /* Lange Titel brechen nach zwei Zeilen ab, statt die Zeile zu sprengen. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.af-weiter {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}
.af-mehr { margin: 12px 0 0; font-size: 14px; }

@media (max-width: 640px) {
  .aktuelle-folge { gap: 14px; padding: 16px; }
  .af-weiter { display: none; }   /* die ganze Zeile ist ohnehin anklickbar */
}

/* Der Feed-Verweis unten auf der Podcastseite: Zeichen und Text in einer
   Zeile, zurückhaltend — er ist kein Verzeichnis, sondern ein Werkzeug. */
.feed-zeile a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.feed-zeile a:hover { color: var(--accent); }

/* Unter der Folge: wo man sie sonst noch hört, und der Weg zu allen Folgen.
   Beides gehört thematisch zum Podcast — im Kopf stand es vorher fehl am
   Platz, und „Alle Folgen" war als nackter Textlink kaum zu sehen. */
.af-fuss {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}
.af-fuss .plattformen { margin: 0; }
.af-fuss .btn { padding: 10px 18px; font-size: 14px; }

/* Luft zwischen Podcast und Tools: Beides sind eigene Themen, standen aber
   direkt aufeinander. */
.aktuelle-folge-abschnitt { padding-bottom: 46px; }
.werkzeuge-start { padding-top: 10px; }
