@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-main: 'Manrope', sans-serif;

  --fs-h1: 4.2rem;
  --fs-h2: 2.8rem;
  --fs-h3: 1.8rem;
  --fs-body: 1.1rem;
  --fs-ui: 0.85rem;

  --w-reg: 400;
  --w-med: 500;
  --w-semi: 600;

  --bg: #080808;
  --text: #E0E0E0;
  --accent: #FFFFFF;
  --petrol: #134E5E;

  --space-y: clamp(7rem, 14vw, 13rem);
  --container: min(1200px, calc(100% - 5rem));
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: var(--fs-body);
  font-weight: var(--w-reg);
  line-height: 1.45;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--accent);
  font-weight: var(--w-semi);
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-wrap: pretty;
}

h1 {
  font-size: clamp(2.6rem, 6vw, var(--fs-h1));
  max-width: 14ch;
}

h2 {
  font-size: clamp(2rem, 4.5vw, var(--fs-h2));
  max-width: 26ch;
}

h3 {
  font-size: clamp(1.5rem, 3vw, var(--fs-h3));
  max-width: 24ch;
}

p {
  margin: 0;
  max-width: 65ch;
  color: var(--text);
}

p + p {
  margin-top: 1.1rem;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.1rem 0;
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}

.brand-title {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.brand-sub {
  margin-top: 0.12rem;
  font-size: var(--fs-ui);
  letter-spacing: 0.04em;
  color: #b0b0b0;
}

.site-header-cta {
  margin-top: 0;
}

.section {
  padding: var(--space-y) 0;
}

.section h2,
.section h3 {
  margin-bottom: 1.35rem;
}

.eyebrow {
  margin-bottom: 1.2rem;
  font-size: var(--fs-ui);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: var(--w-med);
  color: #b9b9b9;
}

.copy > h1,
.copy > h2,
.copy > h3 {
  margin-bottom: 1.6rem;
}

.lead {
  margin-bottom: 2rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(17, 19, 21, 0) 45%,
    rgba(17, 19, 21, 0.95) 80%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.78fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}

.hero .copy {
  position: relative;
  z-index: 5;
  max-width: 62ch;
}

.hero .copy h1 {
  max-width: min(100%, 13.4ch);
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-image-wrap {
  justify-self: end;
  margin: 0;
  position: relative;
  right: -8%;
  z-index: 1;
}

.hero-image-wrap img {
  width: min(44vw, 680px);
  max-height: 85vh;
  object-fit: cover;
  object-position: right center;
  filter: grayscale(1) contrast(1.05) brightness(0.9);
}

.text-only {
  max-width: 65ch;
}

.diagnosis .container,
.cta .container {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: clamp(3.6rem, 7.5vw, 5.8rem);
}

.plain-list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
}

.plain-list li {
  max-width: 65ch;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.plain-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.system {
  position: relative;
  isolation: isolate;
}

.system::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/dasgegenueber/kompass.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 38%;
  opacity: 0.12;
  filter: grayscale(1) brightness(0.6);
  z-index: -2;
}

.system::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.42);
  z-index: -1;
  pointer-events: none;
}

.offerings h2 {
  margin-bottom: 2rem;
}

.offer-intro {
  max-width: 58ch;
  margin-bottom: 2.2rem;
  color: #c9c9c9;
}

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

.offer-col {
  padding: 0 1.8rem 0 0;
}

.offer-col + .offer-col {
  padding-left: 1.8rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.offer-col h3 {
  margin-bottom: 1rem;
  max-width: 100%;
}

.offer-col p + p {
  margin-top: 0.95rem;
}

.offer-price {
  margin-top: 1.3rem;
  color: #bbbbbb;
}

.persona-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.persona-image-wrap {
  margin: 0;
}

.persona-image-wrap img {
  max-width: 600px;
  width: 100%;
  filter: grayscale(1) contrast(1.02) brightness(0.82);
  opacity: 0.86;
}

.fit-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 7rem);
}

.fit h3 {
  margin-bottom: 1.2rem;
}

.contact-form-el {
  margin-top: 2.4rem;
  max-width: 65ch;
}

.contact-form-el label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: var(--fs-ui);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b9b9b9;
}

.contact-form-el input,
.contact-form-el select,
.contact-form-el textarea {
  width: 100%;
  margin-bottom: 1.4rem;
  padding: 0.9rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  background: transparent;
  color: var(--text);
  font: inherit;
}

.contact-form-el input:focus,
.contact-form-el select:focus,
.contact-form-el textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.contact-form-el select {
  appearance: none;
  border-radius: 0;
}

.contact-form-el textarea {
  resize: vertical;
  min-height: 7rem;
}

.other-issue-wrap {
  margin-top: -0.4rem;
}

.other-issue-wrap.is-hidden {
  display: none;
}

.contact-status {
  margin-top: 0.8rem;
  font-size: var(--fs-ui);
  letter-spacing: 0.02em;
  color: #b9b9b9;
}

.contact-status.is-success {
  color: #d6d6d6;
}

.contact-status.is-error {
  color: #d79090;
}

.form-note {
  margin-top: 1.2rem;
  font-size: var(--fs-ui);
  color: #aaaaaa;
}

.form-note a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  border: 1px solid var(--accent);
  padding: 1rem 2.2rem;
  font-size: var(--fs-ui);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  transition: color 220ms ease, border-color 220ms ease;
}

.btn:hover {
  border-color: var(--petrol);
  color: var(--petrol);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem 0 3rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: baseline;
  font-size: var(--fs-ui);
  color: #a8a8a8;
}

.footer-inner a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-inner a:hover {
  border-color: currentColor;
}

.legal-content h1 {
  margin-bottom: 2.2rem;
}

.legal-content h2,
.legal-content h3 {
  max-width: 65ch;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 2rem;
  margin-bottom: 0.9rem;
}

.legal-content h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.legal-content h3 {
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
}

.legal-content ul {
  margin: 0 0 1.1rem 1.3rem;
  padding: 0;
}

.legal-content li {
  margin-bottom: 0.45rem;
  max-width: 65ch;
}

@media (max-width: 980px) {
  :root {
    --container: min(1200px, calc(100% - 2.5rem));
  }

  .hero {
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  .hero-layout,
  .persona-layout,
  .fit-layout {
    grid-template-columns: 1fr;
  }

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

  .offer-col {
    padding: 0 0 1.8rem;
  }

  .offer-col + .offer-col {
    padding-left: 0;
    padding-top: 1.8rem;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-image-wrap {
    width: 100%;
    justify-self: stretch;
    right: 0;
  }

  .hero-image-wrap img {
    width: 100%;
    max-height: 62vh;
    object-position: center 20%;
  }

  .persona-image-wrap img {
    max-width: 100%;
  }

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

  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
