/* ============================================================
   Freyva Landingpage — base.css
   Reset, Design-Tokens, Typografie, Buttons
   ------------------------------------------------------------
   Palette „Nebel & Spur":
     Nebel-Nacht  #0B2E33  dunkler Grund (Hero, Privatsphäre, Footer)
     Tannengrün   #123E44  erhöhte Flächen auf dunklem Grund
     Morgenluft   #EEF3F1  heller Seitengrund
     Salbei       #2F7D68  Akzent auf hellem Grund (textfähig)
     Leuchtspur   #7EFFD4  Route/Akzent auf dunklem Grund
     Heritage-Gold #C9A227  ausschließlich Städte-Sektion
   ============================================================ */

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

:root {
  /* Dunkler Grund */
  --ink:            #0b2e33;
  --ink-2:          #123e44;
  --ink-line:       rgba(126, 255, 212, 0.14);
  --on-ink:         #eef5f1;
  --on-ink-soft:    rgba(238, 245, 241, 0.72);

  /* Heller Grund */
  --bg:             #eef3f1;
  --surface:        #ffffff;
  --tint:           #dfeae4;
  --line:           rgba(11, 46, 51, 0.12);
  --text-secondary: #5a6b65;
  --mid:            #3e6b63;

  /* Akzente */
  --accent:         #2f7d68;
  --accent-bright:  #7effd4;
  --accent-tint:    #d9efe6;

  /* Heritage-Edition — nur Städte-Sektion */
  --gold:           #c9a227;
  --gold-bright:    #e4c65a;
  --anthracite:     #3b3937;
  --anthracite-deep:#2c2a28;
  --anthracite-card:#34322f;
  --paper:          #f3efe8;

  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 10px 40px rgba(11, 46, 51, 0.10);
  --shadow-lift: 0 18px 50px rgba(11, 46, 51, 0.16);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;

  --section-pad: clamp(4.5rem, 9vw, 8rem);
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.0625rem;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

.on-dark :focus-visible,
.site-header :focus-visible {
  outline-color: var(--accent-bright);
}

/* ── Typografie ──────────────────────────────────────────── */

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 500;
}

h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
}

h3 {
  font-size: 1.22rem;
  line-height: 1.3;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--mid);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.on-dark .eyebrow {
  color: var(--accent-bright);
}

.on-dark .eyebrow::before {
  background: var(--accent-bright);
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--text-secondary);
  max-width: 40rem;
}

.on-dark .lead {
  color: var(--on-ink-soft);
}

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
              background 0.25s ease, color 0.25s ease,
              border-color 0.25s ease;
}

.btn-primary {
  background: var(--accent-bright);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(126, 255, 212, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(126, 255, 212, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--on-ink);
  border-color: rgba(238, 245, 241, 0.3);
}

.btn-ghost:hover {
  border-color: var(--accent-bright);
  color: var(--accent-bright);
  transform: translateY(-2px);
}

.btn-ink {
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: 0 8px 24px rgba(11, 46, 51, 0.25);
}

.btn-ink:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(11, 46, 51, 0.32);
}

.btn-gold {
  background: var(--gold);
  color: #201f1d;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
}

/* ── Utility ─────────────────────────────────────────────── */

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-pad);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  display: grid;
  gap: 1rem;
}

.on-dark {
  background: var(--ink);
  color: var(--on-ink);
}

::selection {
  background: var(--accent-bright);
  color: var(--ink);
}

.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;
}
