/* smk2026.visualista.ch — Design-Tokens aus dem Handoff */

:root {
  --grund: #16181A;
  --flaeche: #1E2124;
  --linie: #34383D;
  --gold: #C99A22;
  --gold-hell: #E6B441;
  --text: #F1EEE8;
  --gedaempft: #969696;
  --platzhalter: #6E6E6E;

  --titel: Oswald, "Helvetica Neue", sans-serif;
  --fliess: Inter, system-ui, -apple-system, sans-serif;

  --breite: 640px;
  --rand: 22px;
  --lese: 34em;
}

/* Grundlagen */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 56px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--fliess);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hell); }

p { margin: 0; text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--gold-hell); outline-offset: 2px; }

/* Nur für Screenreader */
.vh {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Sprungleiste */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(22, 24, 26, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie);
}

.nav-inner {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 var(--rand);
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }

.nav a {
  flex: 0 0 auto;
  padding: 14px 10px;
  font-family: var(--titel);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  color: var(--gedaempft);
}
.nav a:hover { color: var(--gold-hell); }

/* Seitengerüst */

.page {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 40px var(--rand) 48px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.sektion {
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-top: 1px solid var(--gold);
  padding-top: 28px;
}

.sektion-kopf {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: var(--lese);
}

/* Typografie */

h1 {
  margin: 0;
  font-family: var(--titel);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(40px, 10vw, 64px);
  line-height: 1;
  text-wrap: pretty;
}

h2 {
  margin: 0;
  font-family: var(--titel);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1.1;
  text-wrap: pretty;
}

.h2-klein {
  font-size: 22px;
  letter-spacing: .08em;
}

.h3-klein {
  margin: 0;
  font-family: var(--titel);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 14px;
  color: var(--gold);
}

.vorzeile {
  font-family: var(--titel);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  color: var(--gold);
  line-height: 1.5;
}

.lead { font-size: 18px; color: var(--gedaempft); max-width: 32em; }
.gedaempft { color: var(--gedaempft); }
.klein { font-size: 14px; }
.kleingedruckt { font-size: 13px; color: var(--gedaempft); }
.mass { max-width: var(--lese); }

.goldlinie {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--gold);
  opacity: .5;
}

/* Kopf */

.kopf {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.kopf-logo {
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
}
.kopf-logo img { height: 48px; width: auto; display: block; }

/* Knöpfe */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  background: var(--gold);
  border: 0;
  color: var(--grund);
  cursor: pointer;
  font-family: var(--titel);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 15px;
}
.knopf:hover { background: var(--gold-hell); color: var(--grund); }

.knopf-rand {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0 24px;
}
.knopf-rand:hover { background: transparent; border-color: var(--gold-hell); color: var(--gold-hell); }

/* Playbook: Kapitel */

.kapitel { display: flex; flex-direction: column; }

.kapitel details { border-top: 1px solid var(--linie); }
.kapitel details.letztes { border-bottom: 1px solid var(--linie); }

.kapitel summary {
  display: grid;
  grid-template-columns: 36px 1fr 20px;
  gap: 12px;
  align-items: baseline;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}
.kapitel summary::-webkit-details-marker { display: none; }

.kapitel summary .nr {
  font-family: var(--titel);
  font-weight: 600;
  font-size: 20px;
  color: var(--gold);
}

.kapitel summary .titel {
  font-family: var(--titel);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 19px;
  line-height: 1.15;
}

.kapitel summary .chev {
  color: var(--gedaempft);
  font-size: 12px;
  justify-self: end;
  transition: transform .2s;
}
.kapitel details[open] summary .chev { transform: rotate(180deg); }

.inhalt {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 0 28px;
}
.inhalt.eingerueckt {
  gap: 14px;
  padding-left: 48px;
  max-width: var(--lese);
}

/* Konto-Tabelle */

.konten { margin: 0; display: flex; flex-direction: column; }

.konto {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 6px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--linie);
}
.konto dt {
  font-family: var(--titel);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 15px;
  color: var(--gold);
}
.konto dd { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.konto .preis { font-weight: 600; font-size: 15px; }
.konto .wer { color: var(--gedaempft); font-size: 15px; text-wrap: pretty; }

/* Nummerierte Schritte */

.schritte {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: schritt;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: var(--lese);
}

.schritte > li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  text-wrap: pretty;
  counter-increment: schritt;
}
.schritte > li::before {
  content: counter(schritt);
  font-family: var(--titel);
  font-weight: 600;
  color: var(--gold);
  font-size: 17px;
}

.schritte-eng { font-size: 15px; }
.schritte-eng > li { grid-template-columns: 28px 1fr; gap: 10px; }

/* Glossar */

.glossar { margin: 0; display: flex; flex-direction: column; }

.glossar > div {
  display: grid;
  grid-template-columns: minmax(96px, 120px) 1fr;
  gap: 6px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--linie);
}
.glossar dt {
  font-family: var(--titel);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 14px;
  color: var(--gold);
  line-height: 1.5;
}
.glossar dd { margin: 0; font-size: 15px; text-wrap: pretty; }

/* Drei erste Tests */

.tests { gap: 32px; }
.test { display: flex; flex-direction: column; gap: 16px; }

.test h3 {
  margin: 0;
  font-family: var(--titel);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 16px;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gold);
}

.aufgabe { display: flex; flex-direction: column; gap: 8px; }
.aufgabe-titel { font-weight: 600; font-size: 15px; }
.aufgabe-text { font-size: 15px; color: var(--gedaempft); }
.tipp { font-size: 14px; color: var(--gedaempft); }

/* Prompt-Kasten */

.prompt {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--flaeche);
  border-left: 2px solid var(--gold);
  padding: 14px 16px;
}
.prompt p { font-size: 15px; color: var(--text); }

.kopieren {
  min-height: 32px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--linie);
  color: var(--gedaempft);
  cursor: pointer;
  font-family: var(--titel);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 11px;
}
.kopieren:hover { border-color: var(--gold); color: var(--gold-hell); }

/* Regeln und Grenze */

.grenze {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 48px;
  max-width: var(--lese);
}
.grenze h4 {
  margin: 0;
  font-family: var(--titel);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 14px;
  color: var(--gold);
}

/* Linkliste Weiterlernen */

.linkliste { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.linkliste a {
  display: flex;
  gap: 12px;
  align-items: baseline;
  min-height: 44px;
  color: var(--text);
}
.linkliste a:hover { color: var(--gold-hell); }
.pfeil { color: var(--gold); }

/* Formulare */

.formular { display: flex; flex-direction: column; gap: 14px; }

.formular input,
.formular select,
.formular textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
}
.formular textarea { resize: vertical; min-height: 96px; }
.formular input::placeholder,
.formular textarea::placeholder { color: var(--platzhalter); }
.formular input:focus,
.formular select:focus,
.formular textarea:focus { outline: none; border-color: var(--gold); }

/* Formulare, die auf einer helleren Fläche stehen */
.formular.auf-flaeche input,
.formular.auf-flaeche select,
.formular.auf-flaeche textarea { background: var(--grund); }

.ankreuz {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  cursor: pointer;
  font-size: 15px;
}
.ankreuz input {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--gold);
  flex: 0 0 auto;
}

.meldung {
  margin: 0;
  padding: 20px;
  background: var(--flaeche);
  border-left: 2px solid var(--gold);
}
.auf-flaeche-meldung { background: var(--grund); }

.fehler { color: var(--gold-hell); font-size: 14px; }

/* Leistungsliste */

.leistungen { display: flex; flex-direction: column; gap: 16px; }
.leistungsliste { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.leistungsliste a {
  display: grid;
  grid-template-columns: 9px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 48px;
  padding: 6px 0;
  border-bottom: 1px solid var(--linie);
  color: var(--text);
  font-size: 15px;
}
.leistungsliste a:hover { color: var(--gold-hell); }
.punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }

/* Hands-on-Tag */

.ablauf-block { display: flex; flex-direction: column; gap: 18px; }

.ablauf {
  margin: 0 0 0 6px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--linie);
}
.ablauf li {
  position: relative;
  padding: 0 0 20px 22px;
  font-size: 15px;
  max-width: var(--lese);
  text-wrap: pretty;
}
.ablauf li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.kasten {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--flaeche);
  padding: 28px 24px;
}
.kasten h3 {
  margin: 0;
  font-family: var(--titel);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 19px;
  line-height: 1.15;
}

.rahmen-notizen { display: flex; flex-direction: column; gap: 10px; max-width: var(--lese); }

.schlusssatz {
  font-family: var(--titel);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: clamp(18px, 4.5vw, 22px);
  line-height: 1.25;
  color: var(--gold);
  max-width: 30em;
}

/* Ideen-Block */

.ideen {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--flaeche);
  border: 1px solid var(--gold);
  padding: 32px 24px;
}
.ideen h2 { font-size: clamp(24px, 5.5vw, 30px); line-height: 1.15; }

/* Fuss */

.fuss {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--linie);
  padding-top: 28px;
  font-size: 14px;
  color: var(--gedaempft);
  line-height: 1.7;
}
.fuss img { height: 24px; width: auto; display: block; align-self: flex-start; }
.fuss a[href^="tel:"] { color: var(--gedaempft); }
.fuss a[href^="tel:"]:hover { color: var(--gold-hell); }

/* Sehr schmale Geräte */

@media (max-width: 380px) {
  .inhalt.eingerueckt, .grenze { padding-left: 24px; }
  .glossar > div { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kapitel summary .chev { transition: none; }
}

@media print {
  .nav { display: none; }
  .kapitel details { }
}
