/* KapitoWorks – kurze Firmenvorstellung
   Keine externen Fonts/CDNs (DSGVO): System-Font-Stack. */

:root {
  --bg: #0b1220;
  --surface: #111b30;
  --border: #1f2b44;
  --text: #e6ebf5;
  --muted: #9aa8c1;
  --link: #8fb0ff;
  --accent-from: #8fb0ff;
  --accent-to: #5eead4;
  --container: 960px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: radial-gradient(900px 500px at 85% -10%, #1e3a8a55 0%, transparent 60%), var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand strong { font-weight: 700; color: var(--link); }
.lang-switch {
  color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px;
}
.lang-switch:hover { color: #fff; border-color: var(--muted); text-decoration: none; }

/* Startseite */
.intro-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 72px; padding-bottom: 72px; }
.eyebrow {
  align-self: flex-start; margin-bottom: 20px; font-size: .85rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  background: linear-gradient(90deg, var(--accent-from), var(--accent-to)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.intro h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 750; }
.accent { background: linear-gradient(90deg, var(--accent-from), var(--accent-to)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--muted); max-width: 620px; }

.focus { list-style: none; padding: 0; margin: 48px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .focus { grid-template-columns: 1fr; } }
.focus li { padding: 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.focus h2 { font-size: 1.1rem; }
.focus h2::before {
  content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; margin-bottom: 16px;
  background: linear-gradient(90deg, var(--accent-from), var(--accent-to));
}
.focus p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); color: var(--muted); padding: 24px 0; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 24px; }
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: #fff; }

/* Rechtstexte */
.legal { flex: 1; padding: 56px 0 88px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.4rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.2rem; margin-top: 36px; }
.legal p, .legal li { color: var(--muted); }
.legal .todo { background: #fff3c4; color: #5c4400; padding: 2px 6px; border-radius: 4px; }
.back-link { display: inline-block; margin-bottom: 24px; font-weight: 500; }
