/* retro trade – Stylesheet (Variante 2: minimalistisch)
   Farben nach Erhalt des Logos in :root anpassen. */

@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans.woff") format("woff");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --weiss: #FFFFFF;
  --flaeche: #F3F3F5;      /* Grau: ruhige Hintergrundflächen */
  --hellviolett: #EEEAF8;  /* Hellviolett: Flächen und Akzente */
  --linie: #E2E1E8;        /* feine Rahmen */
  --tinte: #111114;        /* Schwarz: Text, Fußzeile */
  --grau: #64636E;         /* Nebentext */
  --akzent: #5B3FA6;       /* Violett: Shop-Buttons, Links */
  --akzent-dunkel: #452F82;

  --schrift: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rand: clamp(1.25rem, 5vw, 3rem);
  --breite: 70rem;
  --luft: clamp(5rem, 12vw, 9rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--tinte);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; border-radius: 4px; }

.innen { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }

h1, h2, h3 { font-weight: 700; margin: 0; letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; max-width: 36rem; }
.leise { color: var(--grau); }

/* ---------- Buttons ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 1rem/1 var(--schrift);
  text-decoration: none; border-radius: 999px;
  padding: 1rem 1.7rem; border: 1.5px solid transparent;
  transition: background-color .15s, border-color .15s;
}
.knopf-shop { background: var(--akzent); color: #fff; }
.knopf-shop:hover { background: var(--akzent-dunkel); }
.knopf-rahmen { border-color: var(--linie); color: var(--tinte); background: var(--weiss); }
.knopf-rahmen:hover { border-color: var(--tinte); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf .innen { display: flex; align-items: center; gap: 2rem; height: 4.25rem; }
.marke { font-weight: 700; font-size: 1.2rem; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.marke { display: flex; align-items: center; }
.marke img { height: 2.6rem; width: auto; display: block; }
@media (max-width: 30rem) { .marke img { height: 1.9rem; } .kopf .innen { gap: .75rem; } .kopf .knopf { white-space: nowrap; padding: .6rem .9rem; font-size: .85rem; } }
.menue { display: flex; gap: 1.75rem; margin-left: auto; font-size: .97rem; }
.menue { gap: .35rem; }
.menue a { text-decoration: none; color: var(--grau); padding: .45rem .9rem; border-radius: 999px; transition: background-color .2s, color .2s; }
.menue a:hover { color: var(--tinte); background: var(--hellviolett); }
.menue a.aktiv { background: var(--akzent); color: #FFFFFF; }
.kopf .knopf { padding: .65rem 1.15rem; font-size: .92rem; }
@media (max-width: 52rem) { .menue { display: none; } .kopf .knopf { margin-left: auto; } }

/* ---------- Startbereich ---------- */
.start { padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 9vw, 6.5rem); text-align: center; }
.start h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); max-width: 20ch; margin: 0 auto 1.5rem; }
.start-bild { display: block; width: clamp(13rem, 28vw, 18rem); height: auto; margin: 0 auto 2rem; }
.start .einleitung { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--grau); max-width: 34rem; margin: 0 auto 2.5rem; }
.start .knopfreihe { justify-content: center; }

.zahlen {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 56rem; margin: clamp(4rem, 8vw, 5.5rem) auto 0; padding: 2rem 0 0;
  list-style: none; border-top: 1px solid var(--linie);
}
.zahlen li + li { border-left: 1px solid var(--linie); }
.zahlen strong { display: block; color: var(--akzent); font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.03em; }
.zahlen span { font-size: .92rem; color: var(--grau); }
@media (max-width: 44rem) { .zahlen { grid-template-columns: 1fr 1fr; gap: 1.5rem 0; } .zahlen li:nth-child(3) { border-left: 0; } }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: var(--luft) 0; }
.abschnitt.grau { background: var(--flaeche); }
.abschnitt.violett { background: var(--hellviolett); }
.kopfzeile { max-width: 38rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.kopfzeile p { color: var(--grau); }

/* ---------- Konsolen ---------- */
.regal {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  gap: 1rem; list-style: none; margin: 0; padding: 0;
}
.modul {
  --gehaeuse: #A3A3A8;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 1rem;
  padding: 1.5rem 1.4rem 1.1rem;
  transition: border-color .15s;
}
.modul:hover { border-color: #C9CCD3; }
.modul h3 { display: flex; align-items: center; gap: .65rem; }
.modul h3::before {              /* kleines Modul in Konsolenfarbe */
  content: ""; width: .95rem; height: 1.1rem; flex: none;
  background: var(--gehaeuse);
  border-radius: 2px 2px 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 82% 100%, 18% 100%, 0 78%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.modul .kuerzel { font-size: .88rem; color: var(--grau); margin: .3rem 0 1rem; }
.modul ul { list-style: none; margin: 0; padding: 0; }
.modul ul a {
  display: flex; justify-content: space-between; align-items: center;
  padding: .45rem 0; text-decoration: none; font-size: .97rem;
  border-top: 1px solid var(--linie);
}
.modul ul a::after { content: "›"; color: var(--grau); font-size: 1.2rem; line-height: 1; }
.modul ul a:hover { color: var(--akzent); }
.modul ul a:hover::after { color: var(--akzent); }

.nes { --gehaeuse: #A3A3A8; } .snes { --gehaeuse: #B7B2D3; } .n64 { --gehaeuse: #45464C; }
.cube { --gehaeuse: #5A5199; } .gameboy { --gehaeuse: #C9C7BC; } .wii { --gehaeuse: #ECEEF1; }
.wiiu { --gehaeuse: #2E2F34; } .ds { --gehaeuse: #BCC2CC; } .ds3 { --gehaeuse: #2F6FB0; } .switch { --gehaeuse: #D23A42; }

.weitere { margin-top: 2.5rem; color: var(--grau); max-width: none; }
.weitere a { color: var(--tinte); }
.weitere a:hover { color: var(--akzent); }
.regal + .weitere + .knopfreihe { margin-top: 2rem; }

@media (max-width: 34rem) {
  .regal { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .modul { padding: 1.1rem .9rem .7rem; border-radius: .8rem; }
  .modul h3 { font-size: 1rem; gap: .5rem; }
  .modul .kuerzel { font-size: .8rem; margin-bottom: .6rem; }
  .modul ul a { font-size: .88rem; }
}

/* ---------- Vorteile ---------- */
.versprechen { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2.5rem 4rem; }
.versprechen h3 { margin-bottom: .6rem; }
.versprechen p { color: var(--grau); }

/* ---------- Zweispaltig ---------- */
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
@media (max-width: 52rem) { .zweispaltig { grid-template-columns: 1fr; } }

.schritte { list-style: none; margin: 0 0 2.25rem; padding: 0; counter-reset: schritt; display: grid; gap: 1.75rem; }
.schritte li { counter-increment: schritt; display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; }
.schritte li::before {
  content: counter(schritt);
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700;
  background: var(--akzent); color: #fff;
}
.schritte b { display: block; }
.schritte span { color: var(--grau); }

.zitat { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; max-width: 22ch; margin: 0 0 1rem; }

/* ---------- Amazon ---------- */
.hinweisband {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem;
  background: var(--hellviolett); border-radius: 1.25rem;
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.5rem, 5vw, 3.5rem);
}
.hinweisband h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .5rem; }
.hinweisband p { color: var(--grau); margin: 0; }

/* ---------- Kontakt ---------- */
.kontaktliste { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2rem; margin: 0; }
.kontaktliste dt { font-size: .9rem; color: var(--grau); margin-bottom: .35rem; }
.kontaktliste dd { margin: 0; font-size: 1.1rem; font-weight: 600; }
.kontaktliste a { text-decoration: none; }
.kontaktliste a:hover { color: var(--akzent); }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--tinte); padding: 2rem 0; font-size: .92rem; color: #A9A8B3; }
.fuss .innen { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.fuss nav { display: flex; gap: 1.5rem; margin-left: auto; }
.fuss a { text-decoration: none; }
.fuss-logo { height: 2.1rem; width: auto; display: block; margin-right: 1rem; }
.fuss a { color: #FFFFFF; }
.fuss a:hover { text-decoration: underline; }

/* ---------- Rechtstexte ---------- */
.rechtstext { padding: clamp(3.5rem, 8vw, 6rem) 0 var(--luft); }
.rechtstext .innen { max-width: 44rem; }
.rechtstext h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 2.25rem; }
.rechtstext h2 { font-size: 1.2rem; letter-spacing: -0.01em; margin: 2.5rem 0 .6rem; }
.rechtstext p, .rechtstext li { max-width: none; }
.rechtstext ul { padding-left: 1.2rem; }
.zurueck { display: inline-block; margin-bottom: 2rem; color: var(--grau); text-decoration: none; }
.zurueck:hover { color: var(--tinte); }

/* Variante Blau */
:root {
  --akzent: #1E4FB0; --akzent-dunkel: #163C88;
  --hellviolett: #E8EEFA;
}


/* Konsolen-Grafik als Knopf: Klick spielt die Animation mit Ton ab */
.start-bild-knopf { display: block; margin: 0 auto 2rem; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: var(--grau); }
.start-bild-knopf .start-bild { margin-bottom: .4rem; }
.ton-hinweis { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; opacity: .7; transition: opacity .2s, color .2s; }
.start-bild-knopf:hover .ton-hinweis, .start-bild-knopf:focus-visible .ton-hinweis { opacity: 1; color: var(--akzent); }
