/* ============================================================
   ERFURT — Objekt-Landingpage · Design System
   Modern dark theme, abgeleitet von der Captiva-Farb-DNA
   (Navy #181a25 + Teal), zeitgemäß umgesetzt.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Hintergründe — geschichtet für Tiefe */
  --bg:            #0f111a;   /* Seiten-Basis (tiefer als Original für Premium-Look) */
  --bg-1:          #151824;   /* Sektionen */
  --bg-2:          #1a1e2c;   /* Karten */
  --bg-3:          #212636;   /* erhöhte Elemente / Hover */
  --bg-nav:        rgba(15, 17, 26, 0.72);

  /* Akzent — Teal (Captiva-DNA, aufgefrischt) */
  --teal:          #2dd4bf;
  --teal-bright:   #5eead4;
  --teal-deep:     #14b8a6;
  --teal-glow:     rgba(45, 212, 191, 0.25);
  --teal-soft:     rgba(45, 212, 191, 0.08);

  /* Text */
  --text:          #f7f9fc;   /* Überschriften / stark */
  --text-body:     #c6ccd9;   /* Fließtext (kühles Grau) */
  --text-muted:    #9aa3b7;   /* sekundär / Labels */

  /* Linien & Ränder — sehr subtil statt harter 1px-Kästen */
  --line:          rgba(255, 255, 255, 0.07);
  --line-strong:   rgba(255, 255, 255, 0.12);

  /* Typografie */
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radien */
  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-full: 999px;

  /* Schatten — weich, geschichtet */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.25);
  --shadow-md:  0 12px 32px rgba(0,0,0,0.35);
  --shadow-lg:  0 24px 64px rgba(0,0,0,0.45);
  --shadow-teal: 0 16px 40px rgba(45,212,191,0.18);

  /* Layout */
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Sanfter Farbverlauf-Glow als Hintergrundtextur */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60% 50% at 80% -5%, rgba(45,212,191,0.10), transparent 70%),
    radial-gradient(50% 40% at 0% 15%, rgba(45,212,191,0.05), transparent 70%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* ── Typografie ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  color: var(--text);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--teal);
  display: inline-block;
}

/* ── Layout-Helfer ─────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.section { padding: 120px 0; position: relative; z-index: 1; }
.section-head { max-width: 620px; margin-bottom: 64px; }
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}
.section-lead {
  font-size: 19px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--teal);
  color: #06231f;
  box-shadow: var(--shadow-teal);
}
.btn-primary:hover {
  background: var(--teal-bright);
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(45,212,191,0.30);
}

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--teal);
  color: var(--teal-bright);
  transform: translateY(-2px);
}

/* ── Scroll-Animationen ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
