
  @font-face { font-family:'Saira Condensed'; font-style:normal; font-weight:500 800; font-display:swap; src:url('/preview/assets/fonts/saira-condensed.woff2') format('woff2'); }
  @font-face { font-family:'Saira'; font-style:normal; font-weight:300 600; font-display:swap; src:url('/preview/assets/fonts/saira.woff2') format('woff2'); }
  @font-face { font-family:'JetBrains Mono'; font-style:normal; font-weight:400 500; font-display:swap; src:url('/preview/assets/fonts/jetbrains-mono.woff2') format('woff2'); }

  :root {
    --font-display: 'Saira Condensed', 'Arial Narrow', sans-serif;
    --font-sans: 'Saira', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --accent: #FF6F09; --accent-2: #FF8C2E;
    --grad: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  }
  /* LIGHT (default) */
  :root, body[data-theme="light"] {
    --bg: #fbf6f4; --surface: #ffffff; --surface-2: #fdf3f1;
    --line: rgba(20,20,30,0.10); --line-strong: rgba(20,20,30,0.18);
    --text: #16181d; --text-2: #3a3f47; --muted: #757b84;
    --hero-img: url('/preview/assets/hero-light.webp');
  }
  body[data-theme="dark"] {
    --bg: #0a0a0d; --surface: #121318; --surface-2: #16171d;
    --line: rgba(255,255,255,0.09); --line-strong: rgba(255,255,255,0.16);
    --text: #f4f5f7; --text-2: #c4c8ce; --muted: #878d96;
    --hero-img: url('/preview/assets/hero-dark.webp');
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--font-sans); background: var(--bg); color: var(--text);
    line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
    transition: background .4s ease, color .4s ease;
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  ::selection { background: var(--accent); color: #fff; }

  .theme-light-only { display: block; }
  .theme-dark-only  { display: none; }
  body[data-theme="dark"] .theme-light-only { display: none; }
  body[data-theme="dark"] .theme-dark-only  { display: block; }

  /* angular HUD corner cut */
  .clip-both { clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px)); }

  /* ---- scene ---- */
  .hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .hero-bg { position: absolute; inset: 0; background-image: var(--hero-img); background-size: cover; background-position: 72% 26%; z-index: 0; opacity: 0; transition: opacity 1.1s ease; }
  @supports (background-image: image-set(url('/preview/assets/hero-light.avif') type("image/avif"))) {
    body[data-theme="light"] .hero-bg { background-image: image-set(url('/preview/assets/hero-light.avif') type("image/avif"), url('/preview/assets/hero-light.webp') type("image/webp")); }
    body[data-theme="dark"] .hero-bg { background-image: image-set(url('/preview/assets/hero-dark.avif') type("image/avif"), url('/preview/assets/hero-dark.webp') type("image/webp")); }
  }
  .hero-bg.loaded { opacity: 1; }
  .hero-scrim { position: absolute; inset: 0; z-index: 1; background: none; pointer-events: none; }
  .hud-scan::before { content:''; position:absolute; inset:0; z-index:2; pointer-events:none;
    background-image: repeating-linear-gradient(0deg, rgba(128,128,128,0.035) 0, rgba(128,128,128,0.035) 1px, transparent 1px, transparent 3px);
    mix-blend-mode: overlay; }
  .hud-corner { position: absolute; bottom: 92px; right: 40px; width: 56px; height: 56px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); opacity: .45; z-index: 3; }

  /* ---- top bar ---- */
  .topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 26px clamp(20px, 4vw, 56px); }
  .brand-logo { height: clamp(30px, 3.4vw, 40px); width: auto; filter: drop-shadow(0 2px 18px rgba(255,111,9,0.18)); }
  /* Sonne/Mond-Schalter wie auf der echten Seite (src/kopf.rs, static/v7-zusatz.css) */
  .kopf-theme { background: none; border: 0; cursor: pointer; transition: transform .2s; }
  .kopf-theme:hover { transform: scale(1.12); }
  .kopf-sonne { opacity: 1; transform: rotate(0) scale(1); filter: drop-shadow(0 0 5px rgba(255,111,9,0.55)); }
  .kopf-mond { opacity: 0; transform: rotate(90deg) scale(.4); filter: none; }
  body[data-theme="dark"] .kopf-sonne { opacity: 0; transform: rotate(-90deg) scale(.4); filter: none; }
  body[data-theme="dark"] .kopf-mond { opacity: 1; transform: rotate(0) scale(1); filter: drop-shadow(0 0 5px rgba(205,210,218,0.5)); }
  g[data-sunrays] { transform-box: fill-box; transform-origin: center; animation: v7SunRays 16s linear infinite; }
  @keyframes v7SunRays { 0%{transform:rotate(0) scale(1)} 25%{transform:rotate(90deg) scale(1.3)} 50%{transform:rotate(180deg) scale(1)} 75%{transform:rotate(270deg) scale(1.3)} 100%{transform:rotate(360deg) scale(1)} }
  @keyframes v7SunSpin { from{transform:rotate(0)} to{transform:rotate(360deg)} }
  @keyframes v7Twinkle { 0%,100%{opacity:.5;transform:scale(.75)} 50%{opacity:1;transform:scale(1.2)} }
  [data-moondot] { transform-box: fill-box; transform-origin: center; animation: v7Twinkle 2.6s ease-in-out infinite; }
  g[data-starorbit] { transform-box: fill-box; transform-origin: center; animation: v7SunSpin 16s linear infinite; }
  @media (prefers-reduced-motion: reduce) { g[data-sunrays], [data-moondot], g[data-starorbit] { animation: none !important; } }

  /* ---- content ---- */
  .wrap { position: relative; z-index: 4; width: 100%; max-width: 1520px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
  .block { max-width: 640px; }
  .art-hero-copy { position: relative; width: fit-content; max-width: 640px; isolation: isolate; }
  /* Werte wörtlich aus der echten Seite (v7-scrim.css): kräftige, weich auslaufende Abdunklung nur hinter dem Text */
  .art-hero-copy::before { content: ""; position: absolute; z-index: -1; inset: -40px -80px -40px -48px;
    background: color-mix(in srgb, var(--bg) 86%, transparent); filter: blur(32px); border-radius: 48px; pointer-events: none; }
  .eyebrow { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 14px; }
  .eyebrow::after { content:''; width: 44px; height: 1px; background: var(--accent); opacity: .6; }
  h1.display { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: .005em; font-size: clamp(40px, 5.6vw, 78px); margin: 20px 0 22px; }
  h1.display span { display: block; }
  h1.display .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .lead { font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 1.9vw, 24px); color: var(--text); max-width: 520px; margin-bottom: 12px; text-transform: none; }
  .sub { font-size: 16px; color: var(--text-2); line-height: 1.7; max-width: 500px; }

  .cs-badge { margin-top: 30px; display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .34em; font-size: clamp(15px, 1.5vw, 19px); color: #fff; background: var(--grad); padding: 14px 30px 14px 26px; border: 0; }
  .cs-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: ping 2.4s ease-in-out infinite; }
  @keyframes ping { 0%{box-shadow:0 0 0 0 rgba(255,255,255,.6)} 70%{box-shadow:0 0 0 10px rgba(255,255,255,0)} 100%{box-shadow:0 0 0 0 rgba(255,255,255,0)} }

  .stack-strip { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 12px; }
  /* keine runden Knöpfe mehr: abgeschrägte Ecken wie .stack-chip der echten Seite; Rand per Verlaufs-Hintergrund statt Schatten, weil die Oberfläche schattenfrei bleibt */
  .chip { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); background: var(--surface); border: 1px solid transparent; border-radius: 0; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(var(--line), var(--line)) border-box; clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px)); padding: 8px 16px; }
  .chip b { color: var(--accent); font-weight: 500; margin-right: 6px; }

  /* ---- bottom status bar ---- */
  .statusbar { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 4; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 0 32px; }
  .statusbar span.rule { flex: 1; height: 1px; background: var(--line); max-width: 360px; }
  .statusbar .label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
  .statusbar .label .live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

  /* ---- cookie bar ---- */
  #cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: center; gap: 1.5rem; padding: 1rem 2rem; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); font-size: .85rem; color: var(--text); }
  .cb-text { flex: 1; max-width: 500px; }
  .cb-btns { display: flex; gap: .6rem; flex-shrink: 0; }
  .cb-btn { padding: .55rem 1.4rem; font-family: var(--font-sans); font-weight: 600; font-size: .8rem; cursor: pointer; border: 1px solid transparent; transition: all .25s; }
  .cb-accept { background: var(--grad); color: #fff; }
  .cb-accept:hover { filter: brightness(1.06); box-shadow: 0 0 24px rgba(255,111,9,.28); }
  .cb-necessary { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
  .cb-necessary:hover { border-color: var(--accent); color: var(--accent); }

  @media (max-width: 900px) {
    .hero-bg { background-position: 67% 22%; }
    .hud-corner { display: none; }
    .block { max-width: 100%; }
    .art-hero-copy { max-width: 100%; }
    .art-hero-copy::before { inset: -24px -28px; }
    #cookie-bar { flex-direction: column; gap: .8rem; padding: 1rem; text-align: center; }
    .cb-text { max-width: 100%; }
    .statusbar span.rule { max-width: 120px; }
  }


:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
