:root {
  --ink: #10263a;
  --ink-soft: #506273;
  --blue: #137dcc;
  --blue-dark: #0d5e9d;
  --teal: #149b9a;
  --green: #1faa82;
  --amber: #d99229;
  --surface: #ffffff;
  --surface-soft: #f4f8fa;
  --surface-blue: #eef6fb;
  --line: #dbe5ea;
  --danger: #b33c30;
  --shadow: 0 16px 42px rgba(15, 48, 69, 0.10);
  --content: 1180px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 229, 234, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-link img {
  width: 190px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav > a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  color: #354b5d;
  font-size: 15px;
  font-weight: 650;
}

.site-nav > a:not(.button-link)::after {
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav > a:hover::after,
.site-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav .button-link,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  color: #fff;
  background: var(--blue-dark);
  border: 1px solid var(--blue-dark);
  border-radius: 7px;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover,
.site-nav .button-link:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-1px);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.button.secondary:hover {
  color: #fff;
  background: transparent;
}

.button.ghost {
  color: var(--blue-dark);
  background: transparent;
  border-color: #b8d1df;
}

.button.ghost:hover {
  color: #fff;
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
}

.hero {
  position: relative;
  display: grid;
  min-height: 590px;
  height: 72svh;
  max-height: 690px;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: url("blog-demenz.png") center 38% / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  background: rgba(5, 31, 45, 0.64);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: 70px 0 86px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 2px;
  background: currentColor;
  content: "";
}

.hero .eyebrow {
  color: #8ee6d6;
}

.hero h1 {
  max-width: 730px;
  margin: 0;
  font-size: 58px;
  line-height: 1.05;
  font-weight: 800;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 106px;
  padding: 22px 30px;
  border-right: 1px solid var(--line);
}

.trust-item:first-child {
  padding-left: 0;
}

.trust-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.icon-box {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  background: var(--surface-blue);
  border-radius: 7px;
}

.icon-box.teal {
  color: #087879;
  background: #e8f8f6;
}

.icon-box.amber {
  color: #9a6215;
  background: #fff5e4;
}

.trust-item strong {
  display: block;
  font-size: 15px;
}

.trust-item span {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.4;
}

.section {
  padding: 92px 0;
}

.section.soft {
  background: var(--surface-soft);
}

.section.blue-soft {
  background: var(--surface-blue);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

.section-heading.narrow {
  display: block;
  max-width: 700px;
}

.section-heading h2,
.page-intro h1,
.article-header h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.15;
}

.section-heading p {
  max-width: 540px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.value-item {
  padding-top: 24px;
  border-top: 3px solid var(--blue);
}

.value-item:nth-child(2) {
  border-color: var(--teal);
}

.value-item:nth-child(3) {
  border-color: var(--amber);
}

.value-item h3 {
  margin: 18px 0 8px;
  font-size: 22px;
}

.value-item p {
  margin: 0;
  color: var(--ink-soft);
}

.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: process;
}

.process-step {
  position: relative;
  padding: 0 34px;
  counter-increment: process;
  border-left: 1px solid #c8dbe4;
}

.process-step:first-child {
  padding-left: 0;
  border-left: 0;
}

.process-step:last-child {
  padding-right: 0;
}

.step-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-weight: 800;
}

.process-step h3 {
  margin: 20px 0 8px;
  font-size: 21px;
}

.process-step p {
  margin: 0;
  color: var(--ink-soft);
}

.split-section {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 72px;
  align-items: center;
}

.split-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-copy h2 {
  margin: 0 0 18px;
  font-size: 40px;
  line-height: 1.16;
}

.split-copy p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 17px;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
}

.check-list svg {
  margin-top: 3px;
  color: var(--green);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.tag {
  display: inline-flex;
  width: fit-content;
  min-height: 27px;
  align-items: center;
  padding: 0 10px;
  color: #0d6768;
  background: #e8f8f6;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.blog-card h3 {
  margin: 16px 0 10px;
  font-size: 21px;
  line-height: 1.3;
}

.blog-card p {
  margin: 0;
  color: var(--ink-soft);
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  color: #71808d;
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--blue-dark);
  font-weight: 800;
}

.text-link:hover {
  color: var(--teal);
}

.cta-band {
  color: #fff;
  background: #0b4358;
}

.cta-inner {
  display: flex;
  min-height: 300px;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-inner h2 {
  max-width: 700px;
  margin: 0;
  font-size: 38px;
  line-height: 1.2;
}

.cta-inner p {
  max-width: 690px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
}

.page-intro {
  padding: 86px 0 64px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}

.page-intro .eyebrow {
  margin-bottom: 16px;
}

.page-intro h1 {
  max-width: 850px;
  font-size: 50px;
}

.page-intro p {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.about-lead {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.about-lead h2 {
  position: sticky;
  top: 118px;
  margin: 0;
  font-size: 35px;
  line-height: 1.2;
}

.about-prose p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 18px;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 34px;
}

.audience-item {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.audience-item h3 {
  margin: 14px 0 8px;
  font-size: 20px;
}

.audience-item p {
  margin: 0;
  font-size: 15px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 64px;
  align-items: start;
}

.contact-details h2 {
  margin: 0 0 14px;
  font-size: 34px;
}

.contact-details > p {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 17px;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
}

.contact-list strong,
.contact-list span {
  display: block;
}

.contact-list span {
  color: var(--ink-soft);
  font-size: 14px;
}

.contact-form {
  position: relative;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form button[disabled] {
  cursor: wait;
  opacity: 0.65;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 14px;
  font-weight: 750;
}

.form-field input,
.form-field textarea {
  width: 100%;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd9e0;
  border-radius: 6px;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field input {
  min-height: 50px;
  padding: 0 14px;
}

.form-field textarea {
  min-height: 150px;
  padding: 13px 14px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19, 125, 204, 0.14);
}

.form-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 20px 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
}

.form-status {
  display: none;
  margin: 16px 0 0;
  padding: 12px 14px;
  color: #78510d;
  background: #fff5e4;
  border: 1px solid #efd39f;
  border-radius: 6px;
  font-size: 14px;
}

.form-status.visible {
  display: block;
}

.form-status.success {
  color: #12624f;
  background: #eaf8f3;
  border-color: #acdcca;
}

.form-status.error {
  color: #992f2f;
  background: #fff0f0;
  border-color: #efb7b7;
}

.article-shell {
  padding: 72px 0 100px;
}

.article-header,
.article-body,
.article-back {
  width: min(800px, 100%);
  margin-inline: auto;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--blue-dark);
  font-weight: 750;
}

.article-header h1 {
  margin-top: 16px;
  font-size: 48px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  color: #6d7c89;
  font-size: 14px;
}

.article-hero {
  width: min(980px, 100%);
  margin: 42px auto 46px;
  overflow: hidden;
  border-radius: 8px;
}

.article-hero img {
  width: 100%;
  max-height: 570px;
  object-fit: cover;
}

.article-body {
  color: #344b5e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.85;
}

.article-body p {
  margin: 0 0 24px;
}

.legal-content {
  width: min(820px, 100%);
}

.legal-content h2 {
  margin: 42px 0 12px;
  font-size: 24px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.site-footer {
  color: rgba(255, 255, 255, 0.84);
  background: #092f40;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  gap: 60px;
  padding: 58px 0 42px;
}

.footer-logo {
  width: 180px;
  padding: 8px;
  background: #fff;
  border-radius: 6px;
}

.footer-brand p {
  max-width: 420px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.footer-column h2 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 77px 0 auto;
    display: none;
    max-height: calc(100svh - 77px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 20px 24px 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px rgba(15, 48, 69, 0.12);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav > a {
    min-height: 50px;
  }

  .site-nav > a::after {
    display: none;
  }

  .site-nav .button-link {
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .trust-grid,
  .value-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 0;
    border-top: 1px solid var(--line);
  }

  .split-section,
  .about-lead,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .about-lead h2 {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 32px, var(--content));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-link img {
    width: 154px;
    height: 48px;
  }

  .site-nav {
    inset: 69px 0 auto;
    max-height: calc(100svh - 69px);
    padding-inline: 16px;
  }

  .hero {
    min-height: 520px;
    height: 75svh;
    max-height: 610px;
    background-position: 63% center;
  }

  .hero::before {
    background: rgba(5, 31, 45, 0.69);
  }

  .hero-content {
    padding: 56px 0 68px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.1;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .trust-grid,
  .value-grid,
  .process,
  .blog-grid,
  .audience-grid,
  .form-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:first-child,
  .trust-item:last-child,
  .trust-item:nth-child(3) {
    grid-column: auto;
    min-height: 94px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .trust-item:first-child {
    border-top: 0;
  }

  .section {
    padding: 66px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 34px;
  }

  .section-heading h2,
  .split-copy h2,
  .cta-inner h2 {
    font-size: 31px;
  }

  .section-heading p {
    margin-top: 14px;
  }

  .process {
    gap: 28px;
  }

  .process-step,
  .process-step:first-child,
  .process-step:last-child {
    padding: 0 0 28px 62px;
    border: 0;
    border-bottom: 1px solid #c8dbe4;
  }

  .process-step:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .step-number {
    position: absolute;
    top: 0;
    left: 0;
  }

  .process-step h3 {
    margin-top: 0;
  }

  .cta-inner {
    min-height: 360px;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }

  .page-intro {
    padding: 62px 0 50px;
  }

  .page-intro h1,
  .article-header h1 {
    font-size: 36px;
  }

  .page-intro p {
    font-size: 17px;
  }

  .contact-form {
    padding: 22px;
  }

  .form-field.full {
    grid-column: auto;
  }

  .article-shell {
    padding: 50px 0 72px;
  }

  .article-hero {
    margin: 30px auto 34px;
  }

  .article-body {
    font-size: 18px;
  }

  .footer-main {
    gap: 34px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
