:root {
  --bg: #ffffff;
  --tint: #f4f6f9;
  --card: #ffffff;
  --ink: #0f1b2d;
  --text: #3d4a5c;
  --muted: #6b778a;
  --line: #e3e8ef;
  --accent: #0b7d6f;
  --accent-soft: #e2f3f0;
  --navy: #0b1f3a;
  --on-navy: #ffffff;
  --on-navy-muted: #b4c0d3;
  --on-navy-line: rgba(255, 255, 255, .12);
  --teal: #2dd4b8;
  --neg: #b4473a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1526;
    --tint: #0f1c31;
    --card: #13223b;
    --ink: #eef2f7;
    --text: #c2cbd8;
    --muted: #8e9aad;
    --line: #22324e;
    --accent: #3fd9be;
    --accent-soft: rgba(45, 212, 184, .12);
    --navy: #071020;
    --neg: #f08a7a;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
svg { flex: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; min-height: 68px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--navy); color: var(--teal); display: grid; place-items: center; font-size: 17px; box-shadow: inset 0 0 0 1px var(--on-navy-line); }
.logo small { color: var(--muted); font-weight: 500; font-size: 20px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 15px; font-weight: 500; }
.main-nav a { color: var(--text); text-decoration: none; }
.main-nav a:hover { color: var(--ink); }

/* Einstieg */
.hero { background: linear-gradient(160deg, var(--navy) 55%, #12305a); color: var(--on-navy); padding: 96px 0 88px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--teal); font-weight: 600; font-size: 15px; margin-bottom: 20px; }
.kicker::before { content: ""; width: 24px; height: 2px; background: var(--teal); border-radius: 2px; }
.hero h1 { color: var(--on-navy); font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.12; font-weight: 700; }
.hero h1 span { display: block; }
.hero h1 .hl { color: var(--teal); }
.hero .lead { margin-top: 24px; max-width: 58ch; font-size: 19px; color: var(--on-navy-muted); text-wrap: balance; }
.equation { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 56px; }
.eq-card { display: flex; align-items: flex-start; gap: 14px; height: 100%; padding: 22px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--on-navy-line); }
.eq-card strong { display: block; color: var(--on-navy); font-size: 17px; line-height: 1.3; margin-bottom: 4px; }
.eq-card span { display: block; color: var(--on-navy-muted); font-size: 14.5px; line-height: 1.5; }
.eq-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(45, 212, 184, .14); color: var(--teal); flex: none; }
.eq-icon svg { width: 22px; height: 22px; }
.eq-op { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--teal); color: var(--teal); font-size: 20px; font-weight: 600; line-height: 1; }
.eq-result { background: var(--teal); border-color: var(--teal); }
.eq-result strong { color: var(--navy); }
.eq-result span { color: rgba(11, 31, 58, .75); }
.eq-result .eq-icon { background: rgba(11, 31, 58, .12); color: var(--navy); }

/* Abschnitte */
.section { padding: 96px 0; }
.section.tint { background: var(--tint); }
.section-head { max-width: 660px; margin-bottom: 48px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.2; }
.section-head p { margin-top: 14px; font-size: 18px; }

.icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.icon svg { width: 22px; height: 22px; }

.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pillar { background: var(--tint); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.pillar-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pillar h3 { font-size: 24px; line-height: 1.25; }
.pillar > p { margin-bottom: 20px; }
.services { list-style: none; margin: 0; padding: 0; }
.services li { padding: 13px 0 13px 26px; border-top: 1px solid var(--line); position: relative; }
.services li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 5px; height: 10px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.services strong { display: block; color: var(--ink); font-weight: 600; }
.services span { display: block; font-size: 15px; color: var(--muted); }
.pillar.wide { grid-column: 1 / -1; background: var(--navy); border-color: var(--navy); color: var(--on-navy-muted); }
.pillar.wide h3, .pillar.wide strong { color: var(--on-navy); }
.pillar.wide span { color: var(--on-navy-muted); }
.pillar.wide .icon { background: rgba(45, 212, 184, .14); color: var(--teal); }
.pillar.wide .services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.pillar.wide .services li { border-top-color: var(--on-navy-line); }
.pillar.wide .services li::before { border-color: var(--teal); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.split p + p { margin-top: 16px; }
.split h2 { margin-bottom: 20px; }
.quote { margin: 0; background: var(--navy); color: var(--on-navy); border-radius: 16px; padding: 40px; border-top: 4px solid var(--teal); }
.quote p { font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.4; font-weight: 600; letter-spacing: -.01em; }
.quote footer { margin-top: 20px; color: var(--teal); font-size: 14px; font-weight: 600; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.steps li { position: relative; padding-top: 60px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--teal); display: grid; place-items: center; font-weight: 700; box-shadow: inset 0 0 0 1px var(--on-navy-line); }
.steps li::after { content: ""; position: absolute; top: 21px; left: 58px; right: -16px; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }

.compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 64px; }
.compare > div { background: var(--tint); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.compare h3 { font-size: 20px; margin-bottom: 14px; }
.compare li { color: var(--ink); }
.services.no li::before { content: "×"; border: 0; transform: none; width: auto; height: auto; top: 17px; left: 3px; color: var(--neg); font-weight: 700; font-size: 18px; line-height: 1; }

.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; color: inherit; text-decoration: none; transition: border-color .2s; }
.app:hover { border-color: var(--accent); }
.app img { width: 52px; height: 52px; border-radius: 12px; flex: none; }
.app strong { display: block; color: var(--ink); font-size: 17px; }
.app span { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; }
.more { display: inline-block; margin-top: 28px; font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }

.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; background: var(--tint); border: 1px solid var(--line); border-radius: 20px; padding: 48px; }
.contact h2 { margin-bottom: 14px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }
.contact-list a, .contact-list b { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--accent); }

/* Fußzeile */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding: 56px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer .logo { color: var(--on-navy); margin-bottom: 12px; }
.site-footer h3 { color: var(--on-navy); font-size: 14px; letter-spacing: 0; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--on-navy-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-navy); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--on-navy-line); font-size: 14px; }

/* Textseiten (Datenschutz) */
.page-hero { background: var(--navy); padding: 64px 0 56px; }
.page-hero h1 { color: var(--on-navy); font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p { margin-top: 14px; max-width: 64ch; color: var(--on-navy-muted); }
.prose { max-width: 780px; padding-top: 24px; padding-bottom: 88px; }
.prose section { padding: 32px 0; border-bottom: 1px solid var(--line); }
.prose h2 { font-size: 21px; margin-bottom: 12px; letter-spacing: -.01em; }
.prose h3 { font-size: 16px; margin: 22px 0 4px; letter-spacing: 0; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 12px; }
.prose ul { margin: 0; padding-left: 1.2rem; }
.prose li + li { margin-top: 4px; }
.prose strong { color: var(--ink); }
.prose .note { border-left: 3px solid var(--accent); padding-left: 14px; }
.prose .meta { font-size: 14px; color: var(--muted); }

@media (max-width: 900px) {
  .split, .contact { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .apps { grid-template-columns: 1fr; }
  .equation { grid-template-columns: 1fr; gap: 10px; }
  .eq-op { justify-self: center; }
  .pillars, .compare { grid-template-columns: 1fr; }
  .pillar.wide .services { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header { position: static; }
  .site-header .container { padding-top: 14px; padding-bottom: 14px; }
  .main-nav { gap: 6px 18px; font-size: 14px; }
  .hero { padding: 56px 0 64px; }
  .hero .lead { font-size: 17px; }
  .section { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; }
  .pillar, .compare > div { padding: 24px; }
  .quote, .contact { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
