@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-optical-sizing: auto;
}

:where(a, button, summary):focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--navy);
  border-radius: 6px;
}

html:not(.js) .reveal { opacity: 1; transform: none; }

.reviews-showcase { max-width: 1060px; margin: 0 auto; }
.review-feature {
  position: relative;
  overflow: hidden;
  padding: 40px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--navy), #24457f);
  color: #fff;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 42px;
  align-items: center;
}
.review-feature::after { content: "“"; position: absolute; right: 26px; top: -18px; color: rgba(255,255,255,.12); font-family: Georgia, serif; font-size: 14rem; line-height: 1; pointer-events: none; }
.review-feature > * { position: relative; z-index: 1; }
.review-summary { display: grid; text-align: center; padding-right: 40px; border-right: 1px solid rgba(255,255,255,.2); }
.review-summary strong { font-size: 4.2rem; line-height: 1; letter-spacing: -.06em; }
.review-summary span { color: #f6c85f; font-size: 1.18rem; letter-spacing: .08em; margin: 10px 0 4px; }
.review-stars { display: flex; justify-content: center; gap: 2px; }
.review-stars i { display: inline-block; font-style: normal; opacity: 1; transform: none; transition: opacity .4s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.reviews-showcase:not(.stars-visible) .review-stars i { opacity: 0; transform: translateY(6px) scale(.5); }
.review-stars i:nth-child(2) { transition-delay: .12s; }
.review-stars i:nth-child(3) { transition-delay: .24s; }
.review-stars i:nth-child(4) { transition-delay: .36s; }
.review-stars i:nth-child(5) { transition-delay: .48s; }
.review-summary small { color: #d7e1f4; font-size: .76rem; }
.review-feature blockquote { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.review-feature blockquote p { min-height: 0; margin-bottom: 20px; font-size: clamp(1.55rem, 2.6vw, 2.3rem); line-height: 1.28; letter-spacing: -.035em; }
.review-feature blockquote footer strong { color: #fff; }
.review-feature blockquote footer span { color: #bdcbe3; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.review-grid blockquote { display: flex; flex-direction: column; min-height: 275px; }
.review-grid blockquote p { min-height: 0; margin-bottom: 24px; }
.review-grid blockquote footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-grid blockquote footer strong { color: var(--navy); }
.review-card { position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.review-card:hover { transform: translateY(-5px); border-color: #cbd8f4; box-shadow: 0 20px 45px rgba(22,40,78,.1); }
.review-business { background: linear-gradient(145deg, #fff, #edf3ff); }
.review-patient { background: linear-gradient(145deg, #fff, #fff7e8); }
.review-online { background: linear-gradient(145deg, #fff, #f3efff); }
.review-kicker { display: inline-flex; align-self: flex-start; margin-bottom: 20px; padding: 7px 10px; border-radius: 999px; color: var(--blue); background: rgba(21,87,255,.08); font-size: .69rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.review-patient .review-kicker { color: #966200; background: rgba(246,173,27,.13); }
.review-online .review-kicker { color: #6650b8; background: rgba(102,80,184,.1); }
.review-avatar { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--navy); font-size: .72rem; font-weight: 850; letter-spacing: .04em; }
.review-author { display: grid; line-height: 1.35; }
.review-author > span { color: var(--muted); font-size: .82rem; }
.reviews-action { display: flex; justify-content: center; margin-top: 22px; }
.cta-location { font-size: .82rem; margin-top: 22px !important; margin-bottom: 0 !important; }
.brand-logo { display: block; height: auto; }
.brand-logo-full { width: 170px; }
.brand-logo-compact { display: none; width: 112px; }
.brand-footer .brand-logo-full { width: 185px; }
.hero, .section, .about, .cta { scroll-margin-top: 96px; }

/* Leichte Navigation: transparent am Seitenanfang, ruhig hinterlegt beim Scrollen. */
.site-header.scrolled {
  background: rgba(255, 255, 255, .86);
  border-bottom: 0;
  box-shadow: none;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.main-nav a {
  color: var(--navy);
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
}

.nav-cta {
  box-shadow: 0 8px 20px rgba(21, 87, 255, .2);
}

.trust-strip {
  --trust-line: #d7deea;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 12px;
}
.trust-strip > div,
.trust-strip > a.trust-item {
  padding: 14px 18px;
  border-right: 1px solid var(--trust-line);
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  min-height: 72px;
  min-width: 0;
  margin: 0;
}
.trust-strip > *:last-child { border-right: 0; }
.trust-strip > div:nth-child(3) { border-right: 1px solid var(--trust-line); }
.trust-strip > .trust-item {
  color: inherit;
  transition: color .2s;
}
.trust-strip > .trust-item:hover,
.trust-strip > .trust-item:focus-visible { color: var(--blue); }
.trust-strip > .trust-item:focus-visible {
  outline-color: #fff;
}

.solution > span {
  width: auto;
  min-width: 64px;
  padding: 0 12px;
  letter-spacing: .04em;
}

.solution-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.solution-private > span { background: #eef3ff; color: #4265d6; }
.solution-software > span { background: #edf0f8; color: #314f83; }
.solution-business > span { background: #e9eef7; color: var(--navy); }
.solution-learning > span { background: #f0ecff; color: #604fb4; }
.solution-accessibility > span { background: #e8f6f3; color: #176d62; }
.solution-data > span { background: #e9f4ff; color: #1d5f9c; }

.apps-feature {
  margin-top: 20px;
  padding: 38px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #24457f);
  box-shadow: 0 18px 50px rgba(28, 46, 82, .12);
}

.apps-feature .eyebrow { color: #afc5ff; margin-bottom: 10px; }
.apps-feature h3 { margin-bottom: 12px; font-size: clamp(1.7rem, 2.5vw, 2.35rem); line-height: 1.1; letter-spacing: -.035em; }
.apps-feature .apps-copy > p:last-child { margin: 0; color: #dbe4f5; }
.app-tags { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.app-tags li { padding: 9px 13px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .82rem; font-weight: 750; }

.trademark-notice {
  grid-column: 1 / -1;
  max-width: 920px;
  margin: 8px 0 0;
  color: #8fa0c0;
  font-size: .75rem;
  line-height: 1.55;
}

@media (min-width: 781px) {
  .about { min-height: 760px; height: auto; }
  .about-media { min-height: 760px; height: auto; }
}
.contact-card-primary { background: #fff; color: var(--navy); border-color: #fff; }
.contact-card-primary:hover { background: #f3f6ff; }
.contact-card-primary span, .contact-card-primary small { color: #53617d; opacity: 1; }
.contact-card:not(.contact-card-primary) span,
.contact-card:not(.contact-card-primary) small { color: #fff; opacity: 1; }
.contact-card span { font-size: .8rem; }

/* Desktop-Hero: Foto und Text oben, Vertrauensleiste vollständig darunter. */
@media (min-width: 901px) {
  .hero {
    min-height: auto;
    grid-template-rows: auto auto;
    align-items: center;
    padding-bottom: 46px;
  }

  .hero-copy { padding-bottom: 34px; }
  .hero-media { align-self: center; border-radius: 34px; }

  .trust-strip {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0;
  }
}

.legal-page { min-height: 100vh; background: linear-gradient(180deg, #f6f8fc, #fff 420px); }
.legal-header { position: static; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); }
.legal-shell { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 110px; }
.legal-shell h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
.legal-shell h2 { font-size: 1.35rem; letter-spacing: -.02em; margin: 42px 0 12px; }
.legal-shell p, .legal-shell li { color: #4d5970; }
.legal-shell a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-note { padding: 18px 20px; border-radius: 14px; background: var(--blue-soft); border: 1px solid #dbe6ff; }
.error-shell { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; }
.error-shell h1 { max-width: 760px; }
.error-shell > p:not(.eyebrow) { max-width: 650px; font-size: 1.08rem; }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

@media (max-width: 1050px) {
  .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero {
    display: block;
    min-height: auto;
    padding: 100px 24px 34px;
  }

  .hero-copy { padding: 30px 0 35px; }
  .hero-media { height: 520px; border-radius: 26px; }

  .trust-strip {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    margin-top: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 10px;
  }

  .trust-strip > div,
  .trust-strip > a.trust-item {
    position: relative;
    z-index: 2;
    min-height: 86px;
    margin: 0;
    padding: 16px 12px;
    border-right: 0;
    border-bottom: 0;
  }

  .trust-strip > div:nth-child(3) {
    border-right: 0;
    border-bottom: 0;
  }

  .trust-strip::before,
  .trust-strip::after {
    content: "";
    position: absolute;
    z-index: 1;
    background: var(--trust-line);
    pointer-events: none;
  }

  .trust-strip::before {
    top: 10px;
    bottom: 10px;
    left: 50%;
    width: 1px;
    transform: translateX(-.5px);
  }

  .trust-strip::after {
    left: 10px;
    right: 10px;
    top: 50%;
    height: 1px;
    transform: translateY(-.5px);
  }

  .about {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .about-media {
    order: -1;
    height: 500px;
    min-height: 0;
  }

  .about-copy { padding: 72px 36px; }

  .apps-feature { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 780px) {
  .trust-strip > .trust-item { border-right: 0; border-bottom: 0; padding: 16px 12px; }
  .audience-grid { gap: 16px; }
  .audience-card .card-visual {
    min-height: 120px;
    padding: 22px 24px;
  }
  .brand-logo-full { display: none; }
  .brand-logo-compact { display: block; }
  .brand-footer .brand-logo-full { display: block; width: 170px; }
  .brand-footer .brand-logo-compact { display: none; }
  .review-feature { grid-template-columns: 1fr; padding: 30px 26px; gap: 28px; }
  .review-summary { padding: 0 0 26px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .review-grid { grid-template-columns: 1fr; }
  .review-grid blockquote { min-height: 0; }
  .legal-shell { padding-top: 48px; }
  .about-media { min-height: 0; height: 440px; }
  .about-copy { padding-top: 64px; padding-bottom: 64px; }
  .apps-feature { padding: 30px 26px; }
  .solution-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .solution { padding: 22px; }
  .solution > span { margin-bottom: 18px; }
}

@media (min-width: 1051px) {
  .card-kicker {
    min-height: 2.7em;
    display: flex;
    align-items: flex-end;
    line-height: 1.35;
  }
}

/* CI-Farbtest: ruhiges Blauviolett als Hauptfarbe. */
:root {
  --blue: #5652b9;
  --blue-dark: #413d96;
  --blue-soft: #f0efff;
}

.button { box-shadow: 0 12px 25px rgba(86, 82, 185, .23); }
.button:hover { box-shadow: 0 16px 30px rgba(86, 82, 185, .27); }
.nav-cta { box-shadow: 0 8px 20px rgba(86, 82, 185, .2); }
.hero {
  background:
    radial-gradient(circle at 10% 25%, rgba(86, 82, 185, .09), transparent 32%),
    linear-gradient(135deg, #fff 0%, #fff 48%, #f7f6fc 100%);
}
.visual-private { background: linear-gradient(135deg, #405992, #91a3d8); }
.visual-business { background: linear-gradient(135deg, #0b1b3a, #315788); }
.visual-learning { background: linear-gradient(135deg, #60417f, #b08cbc); }
.solution:hover { border-color: #ccc8ef; }
.review-kicker { background: rgba(86, 82, 185, .09); }
.menu-toggle { min-width: 44px; min-height: 44px; }

@media (prefers-reduced-motion: reduce) {
  .reviews-showcase .review-stars i { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}
.cta {
  background: linear-gradient(135deg, #4b47a6, #6752a1);
  box-shadow: 0 25px 60px rgba(70, 61, 151, .24);
}
.cta .eyebrow { color: #e1dfff; }
.cta-copy p:last-child { color: #e9e7ff; }
