/* Gipfelkönig — Base: Reset, Variablen, Typografie (Editorial Redesign) */

/* Design Tokens */
:root {
  /* Farb-Palette */
  --stone:          #1a1814;
  --granite:        #2d2a26;
  --slate:          #3d3a35;
  --fog:            #a89e90;
  --snow:           #f0ece4;
  --summit:         #d4a24c;
  --summit-light:   #e8bf7a;
  --danger:         #c0392b;
  --safe:           #2ecc71;
  --accent:         #7eb8c4;

  /* Alias-Variablen (Kompatibilität mit bestehendem JS/CSS) */
  --color-bg:        var(--stone);
  --color-bg-card:   var(--granite);
  --color-bg-hover:  var(--slate);
  --color-bg-input:  #252220;
  --color-text:      var(--snow);
  --color-muted:     var(--fog);
  --color-gold:      var(--summit);
  --color-gold-light:var(--summit-light);
  --color-danger:    var(--danger);
  --color-safe:      var(--safe);
  --color-accent:    var(--accent);
  --color-border:    var(--granite);

  /* Typografie */
  --font-display:    'Playfair Display', serif;
  --font-body:       'DM Sans', sans-serif;
  --font-mono:       'DM Mono', monospace;

  /* Radien — editorial: scharf */
  --radius:          2px;
  --radius-lg:       2px;

  /* Schatten — editorial: keine */
  --shadow:          none;
  --shadow-sm:       none;

  --transition:      0.2s ease;
  --header-height:   56px;
  --nav-height:      52px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

a:hover {
  color: var(--color-gold-light);
}

ul, ol {
  list-style: none;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Typografie */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-text);
}

h1 {
  font-size: 4rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 1.75rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1rem;
}

p {
  margin-bottom: 0.75rem;
}

/* Text-Hilfsklassen */
.text-gold {
  color: var(--color-gold);
}

.text-muted {
  color: var(--color-muted);
}

.text-safe {
  color: var(--color-safe);
}

.text-danger {
  color: var(--color-danger);
}

.text-center {
  text-align: center;
}

.font-display {
  font-family: var(--font-display);
}

.font-mono {
  font-family: var(--font-mono);
}

/* Editorial-Klassen aus Konzept */

/* Section Label — DM Mono, 10px, Grossbuchstaben, Gold, Linie danach */
.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--granite);
}

/* Meta-Pill — DM Mono, 11px, Grossbuchstaben, 1px Rahmen */
.meta-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fog);
  border: 1px solid var(--slate);
  padding: 6px 14px;
  border-radius: 2px;
  display: inline-block;
  white-space: nowrap;
}

/* Mono-Klasse */
.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Divider — editorial Trennlinie */
.divider {
  height: 1px;
  background: var(--granite);
  margin: 24px 0;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.hidden {
  display: none !important;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-bg-hover);
  border-radius: 2px;
}
