@charset "UTF-8";
/* ==========================================================================
   KontaktBrücke v2 — Base Styles & Tokens
   Mobile-First (360px Base, min-width Breakpoints: 640, 768, 900, 1024, 1280)
   ========================================================================== */

:root {
  /* Color Palette gem. Briefing § 5 */
  --bg: #f6f7fb;
  --surface: #ffffff;
  --ink: #101828;
  --ink-2: #344054;
  --muted: #667085;
  --faint: #98a2b3;
  --line: #e6e9f0;
  --line-strong: #d0d5dd;

  --brand: #2e5bff;
  --brand-ink: #1d3fd8;
  --brand-soft: #edf2ff;
  --brand-line: #c7d7ff;

  --ok: #0e9f6e;
  --ok-soft: #e7f7f0;
  --ok-line: #b8e6d2;

  --warn: #b45309;
  --warn-soft: #fffaeb;
  --warn-line: #fde9c0;

  --danger: #d92d20;
  --danger-soft: #fef3f2;

  /* Hero-Dunkel */
  --hero-a: #0b1437;
  --hero-b: #16255f;
  --hero-glow: rgba(88, 128, 255, 0.28);

  /* Radien & Schatten */
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(16, 24, 40, 0.08), 0 1px 2px -1px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 4px 8px -2px rgba(16, 24, 40, 0.08), 0 2px 4px -2px rgba(16, 24, 40, 0.04);
  --shadow-lg: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.03);

  /* Typografie */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Layout */
  --container-max: 1200px;
  --header-height: 70px;
}

/* CSS Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg);
  color: var(--ink);
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 150ms ease;
}

a:hover {
  color: var(--brand-ink);
}

/* Skip-Link A11y */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 200ms ease;
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid #fff;
}

/* Focus Visible */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Typografie-Scale mit clamp() */
h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.15rem;
}

p {
  color: var(--ink-2);
  line-height: 1.6;
}

p + p {
  margin-top: 1rem;
}

/* Container & Sections */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 640px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.section {
  padding-top: 48px;
  padding-bottom: 48px;
}

@media (min-width: 768px) {
  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

.section-alt {
  background-color: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

@media (min-width: 768px) {
  .section-head {
    margin-bottom: 54px;
  }
}

.section-head p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 10px;
}

/* Kicker / Eyebrow */
.kicker {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  padding: 12px 20px;
  min-height: 44px; /* Touch Target */
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 180ms ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-ink);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46, 91, 255, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--muted);
}

.btn-ok {
  background: var(--ok);
  color: #fff;
}
.btn-ok:hover {
  background: #087f58;
  color: #fff;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.875rem;
  min-height: 38px;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1.05rem;
  min-height: 48px;
}

.btn-block {
  width: 100%;
}

/* Chips & Badges */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--brand-soft);
  color: var(--brand-ink);
}

/* Responsive Grid Utilities (Mobile-First) */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2-sm { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
