/* ============================================================
   GEPRO V3 - Base / Reset / Typografie (Premium-Stil, Google Sans)
   ============================================================ */
@font-face { font-family: "Google Sans Fallback"; src: local("Arial"); size-adjust: 99%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

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

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
ul[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: var(--lh-snug); letter-spacing: var(--tr-tight); color: var(--text); text-wrap: balance; }
h1 { font-size: var(--fs-hero); line-height: var(--lh-tight); letter-spacing: var(--tr-tighter); }
h2 { font-size: var(--fs-h2); letter-spacing: var(--tr-tighter); }
h3 { font-size: var(--fs-h3); }
strong, b { font-weight: 700; }

::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--section-pad); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }

/* ---------- Bausteine ---------- */
.eyebrow { font-size: var(--fs-eyebrow); font-weight: 500; color: var(--text-2); letter-spacing: -.01em; }
.eyebrow--light { color: var(--on-dark-2); }
.eyebrow--accent { color: var(--blue); }
.lead { font-size: var(--fs-lg); line-height: 1.45; color: var(--text-2); font-weight: 400; max-width: 60ch; letter-spacing: -.01em; }
.lead--light { color: var(--on-dark-2); }
.muted { color: var(--text-2); }
.center { text-align: center; }
.measure { max-width: 22ch; }

/* Display-Helfer */
.display { font-weight: 700; line-height: var(--lh-tight); letter-spacing: var(--tr-tighter); }
.thin { font-weight: 300; }
.medium { font-weight: 500; }

/* Gezielte Gradient-Headings */
.grad-text { background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text--silver { background: var(--grad-silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text--blue { background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Accessibility ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 50%; transform: translateX(-50%) translateY(-130%); top: .6rem; z-index: var(--z-modal); background: var(--blue); color: #fff; padding: .7rem 1.2rem; border-radius: var(--r-pill); font-weight: 600; font-size: .9rem; transition: transform var(--dur) var(--ease); }
.skip-link:focus { transform: translateX(-50%) translateY(0); }

/* ---------- Reveal (sanft) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Sektions-Hintergruende (global, fuer alle Seiten) ---------- */
.bg-soft { background: var(--bg-soft); }
.bg-grad { background: var(--grad-page); }
.bg-dark { background: var(--ink-900); color: var(--on-dark); background-image: var(--grad-tile-dark); }
.bg-dark .eyebrow { color: var(--on-dark-2); }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark .lead, .bg-dark p { color: var(--on-dark-2); }
