/* VARIABLEN */
:root {
  --teal: #5B9EA0;
  --dark: #0D1117;
  --card: #192130;
  --dark2: #141B24;
  --border: rgba(91, 158, 160, 0.15);
  --text: #E8EFF7;
  --muted: #7A9AB5;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

/* Emoji-Klasse für konsistentes Rendering auf Windows/Mac/Linux */
.emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
    "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
}

/* Mini-Flag als SVG-Icon - DSGVO-konform, auf allen OS gleich */
.flag-svg {
  display: inline-block;
  width: 1.6rem;
  height: 1.1rem;
  border-radius: 2px;
  vertical-align: middle;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* TYPO */
h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

h2 em {
  font-style: italic;
  color: var(--teal);
}

.tag {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.tag::before {
  content: '';
  width: 1.8rem;
  height: 1px;
  background: var(--teal);
}

.sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

section {
  padding: 5rem 8%;
}

.bg2 {
  background: var(--dark2);
}

/* SCROLL ANIMATION */
.fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade.on {
  opacity: 1;
  transform: none;
}