/* ============================================================
   Orthologik — Website-Stylesheet
   Basis: tokens.css (muss davor geladen werden)
   ============================================================ */

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

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

body {
  margin: 0;
  background: var(--o-white);
  font-family: var(--o-font-sans);
  font-size: var(--o-text-base);
  line-height: var(--o-leading-base);
  color: var(--o-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }

a { color: var(--o-blue-600); }
a:hover { color: var(--o-blue-800); }

:where(a, button, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--o-focus-ring);
  border-radius: var(--o-radius-sm);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--o-navy-900);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--o-radius-sm) 0;
  text-decoration: none;
  font-weight: var(--o-weight-semibold);
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout ---------- */

.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 32px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding-inline: 32px; }

@media (max-width: 560px) {
  .wrap, .wrap-narrow { padding-inline: 20px; }
}

.section { padding-block: 72px; }
.section--tint { background: var(--o-blue-50); }
.section--dark { background: var(--o-navy-900); }
.section--light { background: var(--o-white); }

.eyebrow {
  font-size: var(--o-text-xs);
  font-weight: var(--o-weight-semibold);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--o-teal-700);
  margin: 0;
}
.section--dark .eyebrow { color: var(--o-teal-400); }

h1, h2, h3 { letter-spacing: -.015em; line-height: var(--o-leading-tight); }

.h-section {
  margin: 10px 0 0;
  font-size: clamp(1.625rem, 3.2vw, var(--o-text-2xl));
  color: var(--o-navy-900);
  max-width: 20ch;
}
.section--dark .h-section { color: var(--o-white); max-width: 24ch; }

.lede {
  margin: 14px 0 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--o-slate-500);
  max-width: 62ch;
  text-wrap: pretty;
}
.section--dark .lede { color: var(--o-blue-200); }

/* ---------- Komponenten: Button ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--o-touch-comfortable);
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: var(--o-radius-pill);
  font: inherit;
  font-size: var(--o-text-sm);
  font-weight: var(--o-weight-semibold);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--o-blue-600); color: #fff; }
.btn--primary:hover { background: var(--o-blue-700); color: #fff; }

.btn--accent { background: var(--o-teal-700); color: #fff; }
.btn--accent:hover { background: #08655A; color: #fff; }

.btn--secondary {
  background: transparent;
  color: var(--o-blue-700);
  border-color: var(--o-blue-600);
}
.btn--secondary:hover { background: var(--o-blue-100); color: var(--o-blue-800); }

.btn--onDark {
  background: transparent;
  color: var(--o-white);
  border-color: rgba(255,255,255,.5);
}
.btn--onDark:hover { background: rgba(255,255,255,.12); color: var(--o-white); }

.btn--cta { width: 100%; min-height: var(--o-touch-cta); font-size: var(--o-text-base); }

/* ---------- Komponenten: Badge ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 12px;
  border-radius: var(--o-radius-pill);
  font-size: var(--o-text-xs);
  font-weight: var(--o-weight-semibold);
  line-height: 1;
  white-space: nowrap;
}
.badge--trust   { background: var(--o-blue-100);  color: var(--o-blue-800); }
.badge--success { background: var(--o-teal-100);  color: var(--o-teal-700); }
.badge--neutral { background: var(--o-slate-100); color: var(--o-slate-700); }
.badge--sm      { min-height: 24px; padding: 0 9px; font-size: .78rem; }

/* ---------- Komponenten: Card ---------- */

.card {
  background: var(--o-white);
  border: 1px solid var(--o-slate-200);
  border-radius: var(--o-radius-lg);
  padding: 22px 24px;
  box-shadow: var(--o-shadow-sm);
}
.card__title {
  margin: 0;
  font-size: var(--o-text-lg);
  font-weight: var(--o-weight-bold);
  color: var(--o-navy-900);
  letter-spacing: -.01em;
}
.card__body {
  margin: 8px 0 0;
  font-size: var(--o-text-sm);
  line-height: 1.5;
  color: var(--o-slate-500);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--o-slate-200);
}
.nav__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
@media (max-width: 560px) { .nav__inner { padding-inline: 20px; } }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.logo__mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--o-blue-600);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--o-weight-bold);
  font-size: var(--o-text-sm);
  flex: none;
}
.logo__word {
  font-weight: var(--o-weight-bold);
  font-size: 1.0625rem;
  color: var(--o-navy-900);
  letter-spacing: -.01em;
}
.logo--onDark .logo__word { color: #fff; }

.nav__links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: var(--o-text-sm);
}
.nav__links a:not(.btn) {
  text-decoration: none;
  color: var(--o-slate-700);
  padding: 6px 2px;
}
.nav__links a:not(.btn):hover { color: var(--o-blue-700); }
.nav__links .btn { min-height: 44px; padding-inline: 20px; }
.nav__links a[aria-current="page"] { color: var(--o-blue-700); font-weight: var(--o-weight-semibold); }

.nav__cta { margin-left: 4px; }

.nav__toggle {
  margin-left: auto;
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--o-touch-min);
  height: var(--o-touch-min);
  background: transparent;
  border: 1px solid var(--o-slate-200);
  border-radius: var(--o-radius-sm);
  color: var(--o-navy-900);
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 20px 18px;
    background: var(--o-white);
    border-bottom: 1px solid var(--o-slate-200);
    box-shadow: var(--o-shadow-md);
  }
  .nav__links[data-open="true"] { display: flex; }
  .nav__links a:not(.btn) {
    padding: 14px 4px;
    border-bottom: 1px solid var(--o-slate-100);
    font-size: var(--o-text-base);
  }
  .nav__cta { margin: 14px 0 0; }
  .nav__cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */

.hero { background: var(--o-blue-50); }
.hero__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
  padding-block: 64px 72px;
}
.hero__copy {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.hero__brand { display: flex; align-items: center; gap: 10px; }
.hero__brand .logo__mark { width: 34px; height: 34px; border-radius: 10px; font-size: 1.125rem; }
.hero__brand .logo__word { font-size: var(--o-text-lg); }

.hero h1 {
  margin: 0;
  font-size: clamp(2.125rem, 4.6vw, var(--o-text-display));
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: var(--o-weight-bold);
  color: var(--o-navy-900);
}
.hero__sub {
  margin: 0;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--o-slate-700);
  max-width: 34ch;
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__note { margin: 4px 0 0; font-size: var(--o-text-xs); color: var(--o-slate-500); }
.hero__device { flex: 0 0 auto; margin: 0 auto; }

/* ---------- Kennzahlen ---------- */

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 44px;
}
.stat { flex: 1 1 220px; min-width: 200px; }
.stat__value {
  font-size: 2.375rem;
  font-weight: var(--o-weight-bold);
  letter-spacing: -.02em;
  color: var(--o-teal-400);
  line-height: 1;
}
.stat__label {
  margin-top: 8px;
  font-size: var(--o-text-sm);
  line-height: 1.5;
  color: var(--o-blue-200);
}
.footnote { margin: 36px 0 0; font-size: .8rem; color: var(--o-blue-300); }

/* ---------- Feature-Zeilen ---------- */

.feature {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
  margin-top: 80px;
}
.feature--reverse { flex-wrap: wrap-reverse; }
.feature__copy { flex: 1 1 380px; min-width: 280px; }
.feature__device { flex: 0 0 auto; margin: 0 auto; }

.feature__step {
  font-size: .8rem;
  font-weight: var(--o-weight-semibold);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--o-teal-700);
}
.feature__copy h3 {
  margin: 8px 0 0;
  font-size: var(--o-text-lg);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--o-navy-900);
}
.feature__copy p {
  margin: 12px 0 0;
  font-size: 1.03rem;
  line-height: 1.6;
  color: var(--o-slate-700);
  text-wrap: pretty;
}

.checklist {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--o-text-sm);
  line-height: 1.5;
  color: var(--o-ink);
}
.checklist svg { flex: none; margin-top: 2px; color: var(--o-teal-700); }

/* ---------- Roadmap-Timeline ---------- */

.timeline {
  margin-top: 40px;
  max-width: 640px;
  display: flex;
  flex-direction: column;
}
.timeline__item { display: flex; gap: 18px; }
.timeline__rail { display: flex; flex-direction: column; align-items: center; }
.timeline__dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--o-white);
  border: 2px solid var(--o-slate-300);
  flex: none;
  margin-top: 4px;
}
.timeline__item--current .timeline__dot {
  background: var(--o-blue-600);
  border-color: var(--o-blue-600);
  box-shadow: 0 0 0 5px var(--o-blue-100);
}
.timeline__line { width: 2px; flex: 1; background: var(--o-slate-200); margin-top: 6px; }
.timeline__body { padding-bottom: 30px; }
.timeline__item:last-child .timeline__body { padding-bottom: 0; }
.timeline__title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: var(--o-text-base);
  font-weight: var(--o-weight-bold);
  color: var(--o-navy-900);
}
.timeline__body p {
  margin: 6px 0 0;
  font-size: .97rem;
  line-height: 1.55;
  color: var(--o-slate-500);
}

/* ---------- Über mich ---------- */

.about { display: flex; flex-wrap: wrap; gap: 44px; align-items: center; }
.about__portrait {
  width: 190px; height: 190px;
  flex: none;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background: var(--o-blue-100);
  border: 1px solid var(--o-slate-200);
}
.about__portrait--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: var(--o-text-xs);
  color: var(--o-slate-500);
  line-height: 1.4;
}
.about__copy { flex: 1 1 380px; min-width: 280px; }
.about__copy h2 { margin: 10px 0 0; font-size: clamp(1.5rem, 3vw, 1.875rem); color: var(--o-navy-900); }
.about__role { margin: 6px 0 0; font-size: .97rem; color: var(--o-slate-500); }
.about__copy p:not(.about__role) {
  margin: 16px 0 0;
  font-size: 1.03rem;
  line-height: 1.65;
  color: var(--o-slate-700);
  text-wrap: pretty;
}

.callout {
  margin-top: 44px;
  background: var(--o-blue-100);
  border-radius: var(--o-radius-lg);
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.callout__title {
  font-size: 1.25rem;
  font-weight: var(--o-weight-bold);
  color: var(--o-navy-900);
  letter-spacing: -.01em;
}
.callout p { margin: 6px 0 0; font-size: .97rem; line-height: 1.55; color: var(--o-slate-700); }
.callout__text { flex: 1 1 320px; min-width: 260px; }

/* ---------- Kontakt ---------- */

/* Bewusst kein Formular: Anfragen laufen direkt per E-Mail, damit kein
   externer Formulardienst als Auftragsverarbeiter nötig ist. */
.contact-card {
  margin-top: 32px;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px;
  background: var(--o-white);
  border: 1px solid var(--o-slate-200);
  border-radius: var(--o-radius-md);
}
.contact-card .btn { gap: 10px; }
.contact-card__hint {
  font-size: var(--o-text-sm);
  line-height: 1.6;
  color: var(--o-slate-500);
  margin: 0;
}

/* ---------- Footer ---------- */

.footer { background: var(--o-navy-900); color: var(--o-blue-200); }
.footer__inner { padding: 44px 32px 36px; max-width: 1080px; margin: 0 auto; }
@media (max-width: 560px) { .footer__inner { padding-inline: 20px; } }
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  font-size: var(--o-text-sm);
}
.footer__links a { color: var(--o-blue-200); text-decoration: none; }
.footer__links a:hover { color: #fff; text-decoration: underline; }
.footer__meta {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: var(--o-text-xs);
  line-height: 1.5;
  color: var(--o-blue-300);
}

/* ---------- Rechtstext-Seiten ---------- */

.legal { padding-block: 56px 72px; }
.legal h1 { font-size: clamp(1.75rem, 3.4vw, var(--o-text-2xl)); color: var(--o-navy-900); margin: 0 0 8px; }
.legal h2 { font-size: var(--o-text-lg); color: var(--o-navy-900); margin: 36px 0 8px; }
.legal p, .legal li { font-size: var(--o-text-sm); line-height: 1.65; color: var(--o-slate-700); }
.legal ul { padding-left: 20px; }
