/* Gemeinsame Grundlage der drei Mockups: Schriften und Farben wie in der Kernflow-App (static/ui/tokens.css,
   static/ui/fonts.css), Knöpfe, Logo, Fokus. Layout und Gestaltung legt jede Seite selbst fest. */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('../app/static/fonts/outfit-variable.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('../app/static/fonts/source-sans-3-variable.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: italic; font-weight: 400; font-display: swap; src: url('../app/static/fonts/source-sans-3-italic.woff2') format('woff2'); }

:root {
  --ink: #0D0F16;
  --ink-2: #2C3140;
  --muted: #646B7E;
  --faint: #9CA2B3;
  --line: #E4E6EE;
  --line-2: #D4D7E2;
  --bg: #FAFAFC;
  --surface: #FFFFFF;
  --panel: #F3F4F8;
  --accent: #3B38F5;
  --accent-d: #2A27D6;
  --violet: #7A5CFF;
  --lavendel: #B9B0FF;
  --grad: linear-gradient(100deg, #3B38F5, #7A5CFF);
  --logo-grad: linear-gradient(100deg, #3157F6, #8A20F5);
  --display: 'Outfit', system-ui, sans-serif;
  --text: 'Source Sans 3', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 18px/1.62 var(--text); color: var(--ink-2); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; font: 600 15px var(--display); text-decoration: none; }
.skip:focus { top: 12px; }
.nur-lesbar { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* Logo: Zeichen mit Verlauf wie in der App, Wortmarke Outfit 800 mit Verlauf */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 30px; height: 27px; flex: none; }
.logo span { font: 800 23px/1 var(--display); letter-spacing: -0.5px; background: var(--logo-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 12px; border: 1px solid transparent; font: 600 16.5px/1 var(--display); letter-spacing: -0.1px; text-decoration: none; white-space: nowrap; cursor: pointer; transition: box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.15s; }
.knopf:active { transform: translateY(1px); }
.knopf-primaer { background: var(--grad); color: #fff; box-shadow: 0 1px 2px rgba(13, 15, 22, 0.12), 0 8px 22px rgba(59, 56, 245, 0.28); }
.knopf-primaer:hover { box-shadow: 0 1px 2px rgba(13, 15, 22, 0.12), 0 12px 30px rgba(59, 56, 245, 0.4); }
.knopf-sekundaer { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.knopf-sekundaer:hover { border-color: var(--accent); color: var(--accent-d); }
.knopf-klein { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: 10px; }

/* Zielgruppen-Zeile über der Überschrift (M1, M3; Vorlage Lukas 28.09.2026): Punkt in Kernflow-Blau, Outfit 17 px */
.zielgruppe { display: inline-flex; align-items: center; gap: 11px; margin: 0 0 26px; font: 400 17px var(--display); color: var(--ink); }
.zielgruppe span { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(59, 56, 245, 0.05); }

/* Fragen: aufklappbar, ohne Zusatz-JS */
.fragen details { border-bottom: 1px solid var(--line); }
.fragen summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 22px 0; font: 600 19px/1.35 var(--display); color: var(--ink); }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--muted); transition: transform 0.25s ease; }
.fragen details[open] summary svg { transform: rotate(45deg); color: var(--accent); }
.fragen details p { padding: 0 0 22px; max-width: 68ch; color: var(--ink-2); }

@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; }
}
