/* ═══════════════════════════════════════════════════
   NEUROLYTICS GMBH — main.css
   Globale Styles, CSS Variables, Reset
   ═══════════════════════════════════════════════════ */

:root {
  /* Farben */
  --teal:        #0F6E56;
  --teal-light:  #1D9E75;
  --teal-mid:    #5DCAA5;
  --teal-pale:   #E1F5EE;
  --teal-dark:   #085041;
  --ink:         #1a1a1a;
  --ink-muted:   #4a4a4a;
  --ink-faint:   #8a8a8a;
  --bg:          #f8f7f4;
  --bg-section:  #F2F0EB;
  --bg-white:    #ffffff;
  --coral:       #D85A30;
  --amber:       #BA7517;
  --amber-pale:  #FAEEDA;
  --purple:      #7F77DD;
  --purple-pale: #EEEDFE;
  --border:      rgba(0,0,0,0.08);
  --border-med:  rgba(0,0,0,0.12);
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md:   0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06);

  /* Typografie */
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-width:  1200px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  20px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── Typografie ── */
h1, h2, h3 { font-family: var(--font-serif); line-height: 1.15; letter-spacing: -0.5px; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.5vw, 42px); }
h3 { font-size: clamp(18px, 2vw, 24px); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--teal); }
p { color: var(--ink-muted); }

/* ── Layout Utilities ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 5%; }
section { padding: 80px 0; }
.section-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 5%; }

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-sub {
  font-size: 17px;
  color: var(--ink-muted);
  font-weight: 300;
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 48px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, transform .1s;
}
.btn-primary:hover { background: var(--teal-light); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  border: 0.5px solid var(--border-med);
  background: var(--bg-white);
  transition: border-color .2s, color .2s;
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }

.btn-white {
  display: inline-flex;
  align-items: center;
  background: white;
  color: var(--teal);
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity .2s;
}
.btn-white:hover { opacity: 0.9; }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-outline-white:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); }

/* ── Badges / Pills ── */
.pill {
  display: inline-block;
  background: var(--teal-pale);
  color: var(--teal);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 500;
}
.pill-gray { background: var(--bg-section); color: var(--ink-muted); }
.pill-amber { background: var(--amber-pale); color: var(--amber); }
.pill-purple { background: var(--purple-pale); color: var(--purple); }

/* ── Page Divider ── */
.divider { border: none; border-top: 0.5px solid var(--border); margin: 0 5%; }

/* ── Code ── */
code {
  background: var(--bg-section);
  border: 0.5px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 12px;
  font-family: 'Courier New', monospace;
  color: var(--teal);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .section-sub { font-size: 15px; }
}
