/* ist-das-ki.de – coming-soon page. Tokens from docs/DESIGN.md; square corners everywhere. */

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('fonts/source-sans-3-latin-wght-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url('fonts/source-sans-3-latin-wght-italic.woff2') format('woff2');
}

:root {
  --primary: #004B76;
  --primary-hover: #00324F;
  --primary-light: #E6EEF3;
  --text: #1B1F24;
  --text-secondary: #4A5058;
  --text-body-secondary: #333A42;
  --border-light: #DADCDF;
  --surface: #F2F3F4;
  --footer: #2B3036;
  --footer-text: #D5D8DC;
  --ai: #B45309;
  --ai-bg: #FCEAD6;
  --amber: #F2C38A;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: #FFFFFF; color: var(--text); font-family: 'Source Sans 3', Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.5; }
a { color: var(--primary); text-underline-offset: 2px; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.site-header { border-bottom: 3px solid var(--primary); }
.header-inner { display: flex; align-items: center; min-height: 74px; }
.logo { display: flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none; }
.logo img { display: block; }
.logo-text { display: flex; flex-direction: column; gap: 3px; line-height: 1.2; }
.logo-name { font-size: 22px; font-weight: 700; }
.logo-ki, .wm-ki { padding: 0 1px; background: var(--ai-bg); box-shadow: inset 0 -3px var(--ai); }
/* On dark or blue backgrounds: only the light-orange underline. */
.site-footer .wm-ki { padding: 0; background: none; box-shadow: inset 0 -3px var(--amber); }
.logo-tld { font-weight: 400; color: var(--text-secondary); }
.logo-sub { font-size: 15px; color: var(--text-secondary); }

/* teaser */
main { flex: 1 0 auto; }
.teaser { background: var(--surface); border-bottom: 1px solid var(--border-light); padding: 64px 0 72px; }
.teaser-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.teaser-text { display: flex; flex-direction: column; gap: 20px; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; background: var(--primary); color: #FFFFFF; font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.badge::before { content: ''; width: 8px; height: 8px; background: var(--amber); }
h1 { font-size: 64px; font-style: italic; font-weight: 800; line-height: 1.05; }
.legal h1 { font-style: normal; font-weight: 700; }
.lead { font-size: 21px; color: var(--text-body-secondary); max-width: 560px; }
.features { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.features li { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--primary); }
.feature-icon svg { display: block; }
.features strong { display: block; }
.features span { color: var(--text-body-secondary); }
.note { font-size: 16px; color: var(--text-secondary); }

/* the picture: a sheet of text with marked passages */
.teaser-sheet { margin: 0; padding: 40px 36px 28px; background: #FFFFFF; border: 1px solid var(--border-light); display: flex; flex-direction: column; gap: 28px; }
.teaser-image { display: block; width: 100%; height: auto; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; color: var(--text-secondary); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.key { display: inline-block; width: 16px; height: 6px; }
.key-ai { background: var(--amber); }
.key-assisted { border: 1.5px solid #E3A857; }
.key-human { background: #CBD5DD; }

/* legal pages */
.legal { padding: 48px 0 64px; }
.legal .wrap { max-width: 820px; display: flex; flex-direction: column; gap: 18px; }
.legal h1 { font-size: 40px; }
.legal h2 { margin-top: 18px; font-size: 24px; }
.legal p, .legal li { color: var(--text-body-secondary); }
.legal ul { margin: 0; padding-left: 22px; }
.back { align-self: flex-start; font-weight: 600; }

/* footer */
.site-footer { background: var(--footer); color: #FFFFFF; font-size: 16px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-top: 32px; padding-bottom: 32px; }
.footer-about { display: flex; flex-direction: column; gap: 8px; max-width: 460px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.footer-about span:last-child { color: var(--footer-text); }
.site-footer nav { display: flex; gap: 8px 24px; flex-wrap: wrap; align-items: flex-start; }
.site-footer a, .site-footer a:hover { color: #FFFFFF; }
.site-footer :focus-visible { outline-color: #FFFFFF; }

@media (max-width: 860px) {
  .teaser { padding: 36px 0 44px; }
  .teaser-grid { grid-template-columns: 1fr; gap: 36px; }
  h1 { font-size: 48px; }
  .lead { font-size: 19px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .logo-sub { display: none; }
  h1 { font-size: 42px; }
  .teaser-sheet { margin: 0 -16px; padding: 28px 16px 20px; border-left: 0; border-right: 0; }
  .legal h1 { font-size: 30px; }
}
