:root {
  --ink: #090b0d;
  --ink-soft: #505861;
  --paper: #f6f8fa;
  --paper-deep: #e7edf2;
  --green: #1285c8;
  --green-bright: #75c5f2;
  --coral: #1285c8;
  --line: rgba(9, 11, 13, 0.15);
  --white: #ffffff;
  --max-width: 1240px;
  --display: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --body: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

.site-header {
  width: min(calc(100% - 64px), var(--max-width));
  height: 98px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--green);
  border-radius: 50% 50% 50% 12%;
  font-size: 15px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav > a:not(.nav-cta) {
  padding: 8px 0;
  position: relative;
}

.site-nav > a:not(.nav-cta)::after {
  content: "";
  height: 1px;
  position: absolute;
  inset: auto 100% 4px 0;
  background: var(--ink);
  transition: inset 180ms ease;
}

.site-nav > a:hover::after,
.site-nav > a.active::after {
  inset-right: 0;
}

.nav-cta {
  padding: 12px 20px;
  color: var(--white);
  background: var(--green);
  border-radius: 3px;
  transition: transform 180ms ease, background 180ms ease;
}

.nav-cta:hover {
  background: #0873b3;
  transform: translateY(-2px);
}

.menu-button {
  display: none;
}

.hero {
  width: min(calc(100% - 64px), var(--max-width));
  min-height: 690px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 6vw;
  padding: 70px 0 92px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

h1 {
  max-width: 780px;
  font-size: clamp(56px, 6.6vw, 92px);
}

h1 em,
h2 em {
  color: var(--coral);
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero-intro {
  max-width: 590px;
  margin: 30px 0 36px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.button {
  min-height: 52px;
  padding: 14px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--green);
}

.button-primary:hover {
  background: #0873b3;
}

.text-link {
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
}

.hero-visual {
  min-height: 520px;
  position: relative;
}

.orb {
  position: absolute;
  border-radius: 50%;
}

.orb-large {
  width: min(35vw, 430px);
  height: min(35vw, 430px);
  right: 0;
  top: 30px;
  background:
    radial-gradient(circle at 37% 30%, #d9f1ff 0 4%, transparent 5%),
    linear-gradient(145deg, #62bcef 0%, #0876b8 100%);
  box-shadow: inset -38px -38px 70px rgba(2, 69, 111, 0.25);
}

.orb-small {
  width: 84px;
  height: 84px;
  right: 4%;
  bottom: 8px;
  background: var(--ink);
}

.visual-card {
  width: 230px;
  height: 262px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  bottom: 26px;
  z-index: 2;
  color: var(--white);
  background: rgba(9, 11, 13, 0.94);
  box-shadow: 0 25px 60px rgba(9, 11, 13, 0.2);
}

.visual-card-label,
.visual-card-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.visual-card strong {
  margin: auto 0;
  font-family: var(--display);
  font-size: 27px;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.visual-card-number {
  opacity: 0.65;
}

.visual-line {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  stroke: rgba(255, 255, 255, 0.78);
  stroke-width: 1.5;
}

.trust-strip {
  padding: 28px max(32px, calc((100vw - var(--max-width)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--paper);
  background: var(--green);
}

.trust-strip > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-items {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  font-size: 14px;
  font-weight: 600;
}

.trust-items span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.trust-items i {
  width: 5px;
  height: 5px;
  background: var(--green-bright);
  border-radius: 50%;
}

.section {
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
  padding: 130px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 8vw;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2,
.about h2 {
  font-size: clamp(44px, 5vw, 66px);
}

.section-heading > p:last-child {
  max-width: 460px;
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.service-grid {
  margin-top: 78px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card {
  min-height: 380px;
  padding: 32px 36px 38px;
  position: relative;
  border-right: 1px solid var(--line);
}

.service-card:first-child {
  padding-left: 0;
}

.service-card:last-child {
  padding-right: 0;
  border-right: 0;
}

.service-number {
  color: #7b858e;
  font-size: 11px;
  font-weight: 700;
}

.service-icon {
  width: 50px;
  height: 50px;
  margin: 50px 0 32px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #d9effc;
  border-radius: 50%;
  font-size: 22px;
}

.service-card:nth-child(2) .service-icon {
  color: #075f94;
  background: #cbe9fa;
}

.service-card:nth-child(3) .service-icon {
  color: #323a42;
  background: #e1e6ea;
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: 24px;
}

.service-card p {
  max-width: 320px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10vw;
  border-top: 1px solid var(--line);
}

.about-copy {
  padding-top: 42px;
}

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

.about-copy .text-link {
  display: inline-block;
  margin-top: 18px;
}

.cta-section {
  min-height: 440px;
  padding: 90px max(32px, calc((100vw - var(--max-width)) / 2));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--green);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-section .eyebrow {
  color: var(--green-bright);
}

.cta-section h2 {
  margin-bottom: 36px;
  font-size: clamp(48px, 6vw, 74px);
}

.button-light {
  color: var(--ink);
  background: var(--paper);
}

.button-light:hover {
  background: var(--white);
}

.cta-orbit {
  width: 500px;
  height: 500px;
  position: absolute;
  right: 5vw;
  top: -110px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.cta-orbit::before,
.cta-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.cta-orbit::before {
  width: 300px;
  height: 300px;
  inset: 100px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-orbit::after {
  width: 76px;
  height: 76px;
  left: 8px;
  top: 192px;
  background: var(--ink);
}

.site-footer {
  width: min(calc(100% - 64px), var(--max-width));
  min-height: 200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  align-items: center;
  gap: 30px;
  position: relative;
  color: var(--ink-soft);
  font-size: 13px;
}

.brand-footer {
  color: var(--ink);
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 25px;
  color: var(--ink);
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright {
  position: absolute;
  right: 0;
  bottom: 12px;
  font-size: 11px;
}

/* Contact */
.contact-main {
  width: min(calc(100% - 64px), var(--max-width));
  min-height: 740px;
  margin: 0 auto;
  padding: 92px 0 120px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 9vw;
}

.contact-intro h1 {
  font-size: clamp(52px, 5.5vw, 76px);
}

.contact-intro > p:not(.eyebrow) {
  max-width: 460px;
  margin: 30px 0;
  color: var(--ink-soft);
}

.contact-direct {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  font-size: 14px;
}

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

.contact-direct a {
  border-bottom: 1px solid var(--ink);
  font-weight: 700;
}

.contact-form-wrap {
  padding: 45px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(9, 11, 13, 0.09);
}

.contact-form {
  display: grid;
  gap: 26px;
}

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

.contact-form label {
  display: grid;
  gap: 9px;
}

.contact-form label > span {
  font-size: 13px;
  font-weight: 700;
}

.contact-form small {
  color: #7c858d;
  font-weight: 400;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #b9c2c9;
  border-radius: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  transition: border-color 180ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
}

.contact-form textarea {
  resize: vertical;
}

.form-submit {
  width: fit-content;
  margin-top: 4px;
}

.form-note {
  margin: -14px 0 0;
  color: #737d85;
  font-size: 11px;
}

/* Impressum */
.legal-main {
  width: min(calc(100% - 64px), 1040px);
  margin: 0 auto;
  padding: 90px 0 130px;
}

.legal-heading {
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.legal-heading h1 {
  font-size: clamp(54px, 7vw, 86px);
}

.legal-heading > p:last-child {
  margin: 24px 0 0;
  color: var(--ink-soft);
}

.legal-layout {
  padding-top: 64px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 8vw;
  align-items: start;
}

.legal-notice {
  padding: 22px;
  position: sticky;
  top: 28px;
  color: #064e79;
  background: #d9effc;
  border-left: 3px solid var(--coral);
  font-size: 13px;
}

.legal-notice strong {
  display: block;
  margin-bottom: 8px;
}

.legal-notice-complete {
  color: var(--paper);
  background: var(--green);
  border-left-color: var(--green-bright);
}

.legal-notice p {
  margin: 0;
}

.legal-content {
  max-width: 620px;
}

.legal-content section {
  padding: 0 0 38px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.legal-content section:last-child {
  margin-bottom: 0;
}

.legal-content h2 {
  margin-bottom: 15px;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.legal-content p,
.legal-content address {
  margin: 0;
  color: var(--ink-soft);
  font-style: normal;
}

.legal-content a {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
}

.legal-content mark {
  padding: 1px 4px;
  color: #064e79;
  background: #d9effc;
}

.legal-content .legal-hint {
  margin-top: 12px;
  color: #737d85;
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-delay {
  animation-delay: 120ms;
}

.reveal-delay-2 {
  animation-delay: 240ms;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

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

@media (max-width: 850px) {
  .site-header,
  .hero,
  .section,
  .contact-main,
  .legal-main,
  .site-footer {
    width: min(calc(100% - 40px), var(--max-width));
  }

  .menu-button {
    width: 42px;
    height: 42px;
    padding: 11px 9px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    border: 0;
    background: transparent;
  }

  .menu-button span {
    width: 100%;
    height: 1px;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    padding: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    position: absolute;
    left: 0;
    right: 0;
    top: 80px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(9, 11, 13, 0.13);
  }

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

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 0;
  }

  .hero-visual {
    width: min(100%, 520px);
    min-height: 470px;
    margin: 0 auto;
  }

  .orb-large {
    width: min(80vw, 400px);
    height: min(80vw, 400px);
  }

  .trust-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-items {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .section {
    padding: 90px 0;
  }

  .section-heading,
  .about {
    grid-template-columns: 1fr;
  }

  .section-heading > p:last-child {
    margin-top: 28px;
  }

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

  .service-card,
  .service-card:first-child,
  .service-card:last-child {
    min-height: 0;
    padding: 30px 0 35px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .service-icon {
    margin: 30px 0 20px;
  }

  .about {
    gap: 10px;
  }

  .contact-main {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 70px 0 90px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .legal-notice {
    position: static;
  }

  .contact-direct {
    margin-top: 35px;
  }

  .site-footer {
    padding: 55px 0;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 16px;
  }

  .site-header {
    height: 80px;
  }

  h1 {
    font-size: 48px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .orb-small {
    width: 60px;
    height: 60px;
  }

  .visual-card {
    width: 195px;
    height: 215px;
  }

  .visual-card strong {
    font-size: 23px;
  }

  .trust-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .section-heading h2,
  .about h2 {
    font-size: 42px;
  }

  .cta-section {
    min-height: 390px;
  }

  .cta-orbit {
    right: -310px;
  }

  .contact-form-wrap {
    margin: 0 -10px;
    padding: 30px 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}
