@import url("./_ds/monkis-design-system/styles.css");

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

/* v56 (04.08.2026): Grundregel fuer das hidden-Attribut. Komponenten mit
   eigenem display-Wert (.button, .wl-termin, Formularzeilen) stechen die
   Browser-Grundregel display:none aus, sodass ein per JavaScript gesetztes
   hidden wirkungslos bleibt. Die Regel steht bewusst vor allen Komponenten
   und arbeitet mit !important, weil sie jeden spaeteren display-Wert
   ueberstimmen muss. */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface-page);
  color: var(--ink);
  font-family: var(--font-core);
  font-size: 16px;
  line-height: 1.6;
}

body,
button,
input,
textarea {
  font-family: var(--font-core);
}

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

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

a,
button {
  transition: color 170ms ease, background-color 170ms ease, border-color 170ms ease,
    box-shadow 170ms ease, transform 170ms ease;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.shell {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--brand);
  color: var(--text-inverse);
  border-bottom: 1px solid rgba(244, 242, 236, 0.16);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
}

.brand-lockup img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.brand-ki,
.ki-accent {
  color: var(--accent);
}

.brand-s {
  font-size: 0.85em;
}

.brand-tagline {
  font-family: var(--font-narrow);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.74;
}

.nav-check,
.nav-toggle {
  display: none;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.3vw, 28px);
  font-size: 15px;
  font-weight: 700;
}

.site-nav > a {
  position: relative;
  white-space: nowrap;
}

.site-nav > a:not(.button)::after,
.footer-links a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: -4px;
  left: 0;
  height: 2px;
  background: var(--accent-on-dark);
  transition: right 170ms ease;
}

.site-nav > a:hover::after,
.site-nav > a[aria-current="page"]::after,
.footer-links a:hover::after {
  right: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--accent-on-dark);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--accent);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.button:hover {
  transform: translate(2px, 2px);
  background: var(--accent-2);
  box-shadow: 2px 2px 0 var(--accent);
}

.button-secondary {
  background: var(--brand);
  color: var(--text-inverse);
  box-shadow: 4px 4px 0 var(--accent);
}

.button-light {
  background: var(--text-inverse);
  color: var(--brand);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-family: var(--font-narrow);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow-on-dark {
  color: var(--accent-on-dark);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  color: var(--brand);
}

h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

h2 {
  margin: 0;
  font-size: clamp(29px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.lead {
  max-width: 62ch;
  margin: 20px 0 0;
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.55;
}

.section-intro {
  max-width: 64ch;
  margin: 14px 0 0;
  color: color-mix(in srgb, var(--ink) 80%, transparent);
}

.brush {
  padding: 0 0.04em 0.06em;
  background-image: var(--brush-underline);
  background-repeat: no-repeat;
  background-position: 0 96%;
  background-size: 100% 0.28em;
}

.home-hero {
  position: relative;
  min-height: 570px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--brand);
  color: var(--text-inverse);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(0, 49, 60, 0.96) 0%, rgba(0, 49, 60, 0.82) 48%, rgba(0, 49, 60, 0.35) 100%),
    url("./assets/team-foto.jpg") center 42% / cover no-repeat;
}

.home-hero .shell {
  position: relative;
  padding-block: 88px;
}

.home-hero h1 {
  max-width: 780px;
  color: var(--text-inverse);
}

.home-hero .lead {
  max-width: 58ch;
  opacity: 0.94;
}

.hero-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.free-entry {
  padding-block: clamp(56px, 8vw, 86px);
  background: var(--surface-page);
  border-bottom: 1px solid var(--border-subtle);
}

.free-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.free-card,
.white-card,
.result-card,
.step-card,
.fact-card,
.link-card,
.quote-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  background: var(--surface-card);
}

.free-card {
  padding: clamp(26px, 4vw, 42px);
  box-shadow: 10px 10px 0 var(--accent);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.fact {
  padding: 8px 13px;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-card) 78%, transparent);
  font-size: 14px;
  font-weight: 750;
}

.split-section,
.section {
  padding-block: clamp(60px, 8vw, 90px);
}

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

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 34px;
}

.path-card {
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  background: var(--surface-card);
  box-shadow: 8px 8px 0 color-mix(in srgb, var(--accent) 28%, transparent);
}

.path-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 12px 0 color-mix(in srgb, var(--accent) 40%, transparent);
}

.path-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.path-content {
  padding: clamp(24px, 4vw, 36px);
}

.path-label {
  display: inline-block;
  margin: -58px 0 22px -8px;
  padding: 12px 18px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 7px 7px 0 var(--brand);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  transform: rotate(-1.5deg);
}

.path-list,
.check-list,
.plain-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.path-list {
  margin: 22px 0 0;
}

.path-list li,
.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
}

.path-list li::before {
  content: "●";
  color: var(--accent);
  font-size: 10px;
  line-height: 2.4;
}

.check-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
}

.text-link {
  display: inline-block;
  margin-top: 22px;
  border-bottom: 3px solid var(--accent);
  color: var(--brand);
  font-weight: 800;
}

.dark-band {
  padding-block: clamp(54px, 7vw, 76px);
  background: var(--brand);
  color: var(--text-inverse);
}

.dark-band h2,
.dark-band h3 {
  color: var(--text-inverse);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.principle {
  border-top: 4px solid var(--accent-on-dark);
  padding-top: 18px;
}

.principle strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-on-dark);
  font-size: 18px;
}

.page-hero,
.product-hero {
  padding-block: clamp(66px, 9vw, 106px);
}

.page-hero {
  background: var(--brand);
  color: var(--text-inverse);
}

.page-hero h1,
.page-hero .eyebrow {
  color: var(--text-inverse);
}

.page-hero .eyebrow {
  color: var(--accent-on-dark);
}

.page-hero .lead {
  opacity: 0.94;
}

.shared-entry {
  padding-block: 42px;
  background: var(--surface-page);
  border-bottom: 1px solid var(--border-subtle);
}

.shared-entry-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
}

.shared-entry h2 {
  font-size: clamp(24px, 3vw, 30px);
}

.journey {
  position: relative;
  display: grid;
  gap: 30px;
  margin-top: 42px;
  padding-left: 72px;
}

.journey::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 24px;
  width: 4px;
  border-radius: 5px;
  background: var(--accent);
}

.step-card {
  position: relative;
  padding: clamp(26px, 4vw, 38px);
  box-shadow: 7px 7px 0 color-mix(in srgb, var(--accent) 26%, transparent);
}

.step-card-link {
  display: block;
  color: var(--ink);
  cursor: pointer;
}

.step-card-link:hover,
.step-card-link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 7px 11px 0 color-mix(in srgb, var(--accent) 40%, transparent);
}

.step-card-link:active {
  transform: translateY(-1px);
  box-shadow: 7px 8px 0 color-mix(in srgb, var(--accent) 34%, transparent);
}

.step-card-action {
  display: inline-block;
  margin-top: 22px;
  border-bottom: 3px solid var(--accent);
  color: var(--brand);
  font-family: var(--font-narrow);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.step-card::before {
  content: attr(data-step);
  position: absolute;
  top: 26px;
  left: -70px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 3px solid var(--brand);
  border-radius: 8px;
  background: var(--accent-on-dark);
  box-shadow: 5px 5px 0 var(--accent);
  color: var(--ink);
  font-weight: 900;
  transform: rotate(-2deg);
}

.step-kicker {
  margin-bottom: 8px;
  color: color-mix(in srgb, var(--brand) 70%, transparent);
  font-family: var(--font-narrow);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.step-meta {
  margin: 10px 0 0;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  font-size: 14.5px;
  font-weight: 700;
}

.bridge-grid,
.result-grid,
.content-grid,
.example-grid {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

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

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

.content-grid,
.example-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.result-card,
.link-card,
.quote-card {
  padding: 26px;
}

.result-number {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.product-hero {
  background: var(--surface-page);
}

.crumb {
  display: inline-block;
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--brand) 72%, transparent);
  font-size: 14px;
  font-weight: 800;
}

.product-hero .lead {
  max-width: 68ch;
}

.product-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.product-facts .fact:last-child {
  background: var(--accent-on-dark);
  border-color: transparent;
  color: var(--ink);
}

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

.section-marker::after {
  content: "";
  display: block;
  width: 52px;
  height: 6px;
  margin-top: 14px;
  background: var(--accent);
  box-shadow: 6px 3px 0 var(--brand);
  transform: rotate(-2deg);
}

.content-card {
  padding: 28px;
  border-left: 5px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: var(--surface-card);
}

.content-card p {
  margin: 8px 0 0;
}

.boundary {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding: clamp(30px, 5vw, 54px);
  border-radius: var(--radius-card);
  background: var(--brand);
  color: var(--text-inverse);
  box-shadow: 10px 10px 0 var(--accent);
}

.boundary h2 {
  color: var(--text-inverse);
}

.boundary p {
  margin: 0;
  font-size: 18px;
}

.plain-list {
  margin: 20px 0 0;
}

.plain-list li {
  padding-bottom: 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 12%, transparent);
}

.example-card {
  padding: 24px;
  border-radius: 14px;
  background: var(--brand);
  color: var(--text-inverse);
}

.example-card strong {
  display: block;
  margin-bottom: 7px;
  color: var(--accent-on-dark);
  font-size: 18px;
}

.cta-band {
  padding-block: clamp(60px, 8vw, 88px);
  background: var(--surface-page);
  border-top: 1px solid var(--border-subtle);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
}

.cta-inner p {
  max-width: 60ch;
  margin: 12px 0 0;
}

.site-footer {
  padding-block: 58px 28px;
  background: var(--brand);
  color: var(--text-inverse);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(140px, 0.65fr));
  gap: 36px;
}

.footer-intro p {
  max-width: 36ch;
  margin: 18px 0 0;
  opacity: 0.8;
}

.footer-heading {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-narrow);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.footer-links {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 11px;
}

.footer-links a {
  position: relative;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 242, 236, 0.18);
  font-size: 14px;
  opacity: 0.78;
}

.footer-bottom img {
  width: 54px;
}

.redirect-card {
  width: min(100% - 32px, 680px);
  margin: 12vh auto;
  padding: 36px;
  border-radius: var(--radius-card);
  background: var(--surface-card);
  box-shadow: 8px 8px 0 var(--accent);
  text-align: center;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 64px;
  }

  .brand-lockup {
    gap: 6px;
  }

  .brand-lockup img {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-tagline {
    font-size: 10.75px;
  }

  .nav-check {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    display: block;
    white-space: nowrap;
  }

  .nav-toggle {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid rgba(244, 242, 236, 0.4);
    border-radius: 7px;
    color: var(--text-inverse);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
  }

  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: var(--accent-on-dark);
  }

  .nav-toggle-icon {
    position: relative;
  }

  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-icon::before {
    top: -6px;
  }

  .nav-toggle-icon::after {
    top: 6px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 22px;
    background: var(--brand);
    box-shadow: 0 8px 0 var(--accent);
  }

  .nav-check:checked ~ .site-nav {
    display: flex;
  }

  .site-nav > a {
    padding: 10px 0;
  }

  .site-nav > .button {
    margin-top: 6px;
  }

  .free-grid,
  .split-grid,
  .principles,
  .shared-entry-inner,
  .bridge-grid,
  .result-grid,
  .content-grid,
  .example-grid,
  .boundary,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .shared-entry-inner .button,
  .cta-inner .button {
    justify-self: start;
  }

  .result-grid {
    gap: 16px;
  }

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

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

@media (max-width: 600px) {
  .shell {
    width: min(100% - 28px, 1200px);
  }

  .home-hero {
    min-height: 520px;
  }

  .home-hero::before {
    background:
      linear-gradient(100deg, rgba(0, 49, 60, 0.97) 0%, rgba(0, 49, 60, 0.86) 100%),
      url("./assets/team-foto.jpg") 58% center / cover no-repeat;
  }

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

  .hero-actions .button,
  .product-actions .button {
    width: 100%;
  }

  .journey {
    padding-left: 54px;
  }

  .journey::before {
    left: 18px;
  }

  .step-card::before {
    left: -54px;
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .path-label {
    margin-left: 0;
  }

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

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
