/* DMR Softworks – Landingpage. Kein JavaScript, keine Inline-Styles (Content-Security-Policy). */

/* Sora (SIL OFL 1.1, fonts/Sora-OFL.txt), vom eigenen Server: keine Besucheradresse geht an einen Schriftdienst */
@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/Sora.ttf") format("truetype");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --bg: #0d0f13;
  --panel: #14171c;
  --card: #1a1e25;
  --line: #2a313b;
  --text: #eef1f5;
  --muted: #a3acb9;
  --ink: #0d0f13;
  --accent: #6f9bff;
  --naturaltune: #f0b429;
  --stems: #6cc4a1;
  --games: #59c3f0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Sora", system-ui, "Segoe UI", sans-serif;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 10;
  background: var(--text); color: var(--ink); padding: 8px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Kopfzeile */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(13, 15, 19, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand img { width: 54px; height: 30px; display: block; }
.brand span { font-size: 13px; font-weight: 500; letter-spacing: .42em; color: var(--muted); }
.site-nav { display: flex; gap: 20px; align-items: center; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--text); }
.site-nav .lang { border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px; font-size: 13px; }
@media (max-width: 520px) {
  .brand span { display: none; }
  .site-nav { gap: 14px; }
}

/* Einstieg */
.hero { padding-top: 88px; padding-bottom: 40px; }
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 6.4vw, 66px);
  line-height: 1.06;
  letter-spacing: -.025em;
  font-weight: 700;
  max-width: 14em;
}
.lead { margin: 0; max-width: 40em; color: var(--muted); font-size: 19px; }
.jump { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.jump a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; min-height: 48px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel); color: var(--text); text-decoration: none; font-size: 15px;
}
.jump a:hover, .jump a:focus-visible { border-color: var(--muted); }
.jump img { width: 28px; height: 28px; border-radius: 7px; display: block; }

/* Produkte */
.products { padding-bottom: 32px; }
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 72px;
}
.product.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
.product.flip figure { order: 2; }
.product figure { margin: 0; }
.product figure img {
  display: block; width: 100%;
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
}
.product figcaption { color: var(--muted); font-size: 14px; margin-top: 12px; }

.kicker {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.kicker img { width: 36px; height: 36px; border-radius: 9px; display: block; }
.naturaltune .kicker { color: var(--naturaltune); }
.stems .kicker { color: var(--stems); }
.games .kicker { color: var(--games); }

.product h2 { margin: 0 0 6px; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.02em; }
.product h2 small { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-left: 8px; }
.tagline { margin: 0 0 16px; font-size: 20px; font-weight: 600; }
.product p { margin: 0 0 16px; }
.product .body { color: #d3d9e1; }

.facts { margin: 22px 0 26px; padding: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; min-height: 48px;
  padding: 12px 20px; border-radius: 10px;
  font-weight: 600; font-size: 16px; text-decoration: none;
}
.btn.ghost { border: 1px solid var(--line); color: var(--text); }
.btn.ghost:hover, .btn.ghost:focus-visible { border-color: var(--muted); }
.naturaltune .btn.primary { background: var(--naturaltune); color: var(--ink); }
.games .btn.primary { background: var(--games); color: var(--ink); }
.btn.primary:hover, .btn.primary:focus-visible { filter: brightness(1.1); }
.soon {
  display: inline-flex; align-items: center; min-height: 48px; padding: 12px 18px;
  border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); font-size: 15px;
}
.soon strong { color: var(--stems); font-weight: 600; margin-right: 8px; }

@media (max-width: 860px) {
  .product, .product.flip { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 48px 0; }
  .product.flip figure { order: 0; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* Kontakt */
.contact { padding: 56px 0 72px; border-top: 1px solid var(--line); }
.contact h2 { margin: 0 0 10px; font-size: 28px; }
.contact p { margin: 0; color: var(--muted); max-width: 40em; }
.contact a { font-weight: 600; }

/* Fuß */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.site-footer nav { display: flex; gap: 20px; margin-left: auto; }
.site-footer a { color: var(--muted); }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--text); }
@media (max-width: 640px) { .site-footer nav { margin-left: 0; } }

/* Rechtstexte */
.legal { padding: 56px 0 72px; max-width: 760px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); margin: 0 0 28px; letter-spacing: -.02em; }
.legal h2 { font-size: 21px; margin: 36px 0 10px; }
.legal p, .legal li { color: #d3d9e1; }
.legal address { font-style: normal; }
.legal .en { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); }
.legal .note { color: var(--muted); font-size: 15px; }

/* Fehlerseite */
.notfound { padding: 120px 0; }
.notfound h1 { font-size: 40px; margin: 0 0 12px; }
.notfound p { color: var(--muted); }

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