/* ============================================================
   Reset / Base
   ============================================================ */
* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-1);
  background: var(--bg-tint);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--brand-bright); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-deep); }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink-1);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 600; }
h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 600; }
h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }

p { margin: 0 0 1em; text-wrap: pretty; }

/* Layout primitives */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.container-wide { max-width: 1320px; }

.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-tinted { background: var(--bg-section); }
.section-brand { background: var(--brand-deep); color: #fff; }
.section-brand h1, .section-brand h2, .section-brand h3 { color: #fff; }

/* Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--ink-3); }
.text-success { color: var(--success); }
.text-brand { color: var(--brand-deep); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 40px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.flex-wrap { flex-wrap: wrap; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-bright);
  font-weight: 700;
  margin-bottom: 12px;
}
.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-2);
  line-height: 1.6;
  text-wrap: pretty;
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* Skip-link für a11y */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand-deep); color: #fff;
  padding: 12px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
