:root {
  --blue: #123ad5;
  --green: #d9eacc;
  --paper: #fdfdfd;
  --desktop-scale: 1;
  --cursor-dot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='7' fill='%23123ad5'/%3E%3C/svg%3E") 20 20, auto;
  --cursor-dot-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='9' fill='%23123ad5'/%3E%3C/svg%3E") 20 20, pointer;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  overflow-x: hidden;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--blue);
  font-family: "IBM Plex Sans", Arial, Helvetica, sans-serif;
  font-size: 19px;
  line-height: 1.42;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

@media (hover: hover) and (pointer: fine) {
  html,
  body {
    cursor: var(--cursor-dot);
  }

  a,
  button,
  [data-draggable-mark] {
    cursor: var(--cursor-dot-hover);
  }
}

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

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

.viewport-frame {
  position: relative;
  max-width: 1024px;
  margin: 0 auto;
}

.site-frame {
  position: relative;
  max-width: 1024px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 118px;
  background: var(--paper);
}

.brand {
  position: absolute;
  left: 19px;
  top: 29px;
  width: 167px;
  height: 62.5px;
}

.desktop-nav {
  position: absolute;
  inset: 0;
}

.pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border: 4px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  background: var(--paper);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.pill:focus-visible {
  background: var(--green);
  color: var(--blue);
  outline: none;
}

@media (min-width: 901px) {
  .desktop-nav .pill[aria-current="page"] {
    background: var(--blue);
    color: var(--paper);
  }
}

@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  .desktop-nav .pill:hover {
    background: var(--green);
    color: var(--blue);
  }
}

.nav-home {
  top: 22px;
  right: 340px;
  width: 84px;
}

.nav-services {
  top: 22px;
  right: 196px;
  width: 134px;
}

.nav-qualifications {
  top: 22px;
  right: 20px;
  width: 166px;
}

.nav-linkedin {
  top: 68px;
  right: 357px;
  width: 110px;
}

.nav-phone {
  top: 68px;
  right: 251px;
  width: 94px;
}

.nav-mail {
  top: 68px;
  right: 165px;
  width: 75px;
}

.nav-legal {
  top: 68px;
  right: 19px;
  width: 134px;
}

.menu-toggle {
  display: none;
}

.mobile-menu {
  display: none;
}

.home-page {
  min-height: 672px;
}

.playbook {
  position: relative;
  height: 330px;
}

.mark {
  position: absolute;
  touch-action: none;
  user-select: none;
  will-change: transform;
}

.mark-x-1 {
  left: 43.26%;
  top: 3.03%;
  width: 12.11%;
  height: auto;
}

.mark-o-1 {
  left: 15.63%;
  top: 12.12%;
  width: 13.09%;
  height: auto;
}

.mark-o-2 {
  left: 73.93%;
  top: 12.12%;
  width: 13.09%;
  height: auto;
}

.mark-arrow {
  left: 30.47%;
  top: 49.09%;
  width: 38.96%;
  height: auto;
}

.mark-x-2 {
  left: 3.52%;
  top: 59.39%;
  width: 12.11%;
  height: auto;
}

.mark-x-3 {
  left: 84.28%;
  top: 67.27%;
  width: 12.11%;
  height: auto;
}

.home-intro {
  width: calc(100% - 40px);
  margin: 32px 20px 40px;
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
  animation: home-intro-fade 650ms ease-in-out both;
}

@keyframes home-intro-fade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-intro {
    animation: none;
  }
}

.home-actions {
  display: none;
}

.content-page {
  min-height: 777px;
  padding: 67px 19px 70px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 453px) minmax(280px, 1fr);
  column-gap: 50px;
}

.lead {
  max-width: 453px;
  margin: 6px 0 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
}

.copy {
  margin: 0;
  font-size: 19px;
  font-weight: 450;
  line-height: 27px;
}

.copy + .copy {
  margin-top: 27px;
}

.portrait-block {
  width: 173px;
  margin: 29px 0 0;
}

.portrait-block .portrait {
  width: 171px;
  height: 257px;
  object-fit: cover;
}

.association {
  width: 173px;
  height: auto;
  margin-top: 16px;
}

.qualifications-sidebar .copy {
  max-width: 438px;
}

.services-page {
  min-height: 1001px;
}

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

.service-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: 18px;
  align-items: start;
  min-height: 51px;
}

.service-list li::before {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  content: "";
  border: 6px solid var(--green);
  border-radius: 999px;
}

.service-list span {
  max-width: 445px;
  font-size: 19px;
  font-weight: 450;
  line-height: 27px;
}

.legal-page {
  min-height: 5319px;
  padding-top: 68px;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(360px, 453px) minmax(360px, 444px);
  column-gap: 49px;
}

.legal-copy {
  margin: 0;
  font-size: 18px;
  font-weight: 450;
  line-height: 26px;
  overflow-wrap: anywhere;
}

.legal-copy * {
  max-width: 100%;
}

.legal-copy h1,
.legal-copy h2,
.legal-copy h3,
.legal-copy p,
.legal-copy ul {
  margin: 0 0 26px;
}

.legal-copy h1,
.legal-copy h2,
.legal-copy h3,
.legal-copy strong {
  font-size: inherit;
  font-weight: 700;
}

.legal-copy ul {
  padding: 0;
  list-style: none;
}

.legal-copy li {
  margin: 0 0 10px;
}

.legal-copy li::before {
  content: "- ";
}

.legal-copy a {
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

@media (min-width: 901px) {
  .viewport-frame {
    width: 100vw;
    max-width: none;
    margin: 0;
  }

  .site-frame {
    width: 1024px;
    max-width: none;
    margin: 0;
    zoom: var(--desktop-scale);
  }

  .site-header {
    position: fixed;
    width: 1024px;
  }

  .site-frame > main {
    padding-top: 118px;
  }

  .site-frame > main.content-page {
    padding-top: 185px;
  }

  .site-frame > main.legal-page {
    padding-top: 186px;
  }
}

@media (max-width: 900px) {
  body {
    overflow-x: hidden;
  }

  .viewport-frame {
    width: 100%;
    max-width: none;
  }

  .site-frame {
    width: 100%;
    max-width: none;
    min-height: 100vh;
  }

  .site-header {
    position: relative;
    height: clamp(150px, 44vw, 192px);
  }

  .brand {
    left: clamp(20px, 6.5vw, 30px);
    top: clamp(36px, 10vw, 46px);
    z-index: 25;
    width: clamp(192px, 60vw, 276px);
    height: auto;
    transition: opacity 180ms ease;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    position: fixed;
    top: clamp(42px, 12vw, 58px);
    right: clamp(22px, 7vw, 32px);
    z-index: 60;
    display: grid;
    width: clamp(54px, 13vw, 62px);
    height: clamp(54px, 13vw, 62px);
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--blue);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    box-shadow: none;
  }

  .menu-toggle:focus,
  .menu-toggle:focus-visible {
    outline: none;
  }

  .menu-toggle span,
  .menu-toggle span::after {
    position: absolute;
    width: clamp(27px, 7vw, 34px);
    height: clamp(3px, 0.8vw, 4px);
    content: "";
    background: var(--paper);
    border-radius: 999px;
    transition: transform 180ms ease;
  }

  .menu-toggle span::after {
    left: 0;
    transform: rotate(90deg);
  }

  .menu-toggle[aria-expanded="true"] span {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span::after {
    transform: rotate(90deg);
  }

  .mobile-menu {
    position: fixed;
    top: clamp(150px, 37vw, 170px);
    left: 0;
    z-index: 50;
    display: none;
    width: 100%;
    padding: 0 20px;
    background: transparent;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: clamp(12px, 3vw, 16px) clamp(18px, 5vw, 28px);
  }

  .mobile-menu.is-open {
    display: grid;
  }

  .mobile-menu .pill {
    position: static;
    width: auto;
    min-height: clamp(50px, 12vw, 58px);
    padding: 2px clamp(20px, 5vw, 28px) 7px;
    border-width: clamp(4px, 1.15vw, 6px);
    border-radius: 999px;
    font-size: clamp(28px, 8vw, 36px);
    font-weight: 500;
    line-height: 1;
    background: var(--paper);
  }

  .mobile-menu .pill[aria-current="page"] {
    background: var(--blue);
    color: var(--paper);
  }

  .mobile-menu .pill:hover,
  .mobile-menu .pill:active,
  .mobile-menu .pill:focus-visible {
    background: var(--green);
    color: var(--blue);
  }

  .mobile-menu .pill[href="/"] {
    order: 1;
    grid-column: 1 / -1;
    justify-self: center;
  }

  .mobile-menu .pill[href="/leistungen/"] {
    order: 2;
    grid-column: 1 / -1;
    justify-self: center;
  }

  .mobile-menu .pill[href="/qualifikationen/"] {
    order: 3;
    grid-column: 1 / -1;
    justify-self: center;
  }

  .mobile-menu .pill[href^="mailto:"] {
    order: 4;
    justify-self: end;
  }

  .mobile-menu .pill[href^="tel:"] {
    order: 5;
    justify-self: start;
  }

  .mobile-menu .pill[href^="https://www.linkedin.com"] {
    order: 6;
    grid-column: 1 / -1;
    justify-self: center;
  }

  .mobile-menu .pill[href="/impressum/"] {
    order: 7;
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: clamp(58px, 15vw, 82px);
  }

  body.mobile-menu-open .brand,
  body.mobile-menu-open .site-frame > main {
    opacity: 0.12;
  }

  .site-frame > main {
    transition: opacity 180ms ease;
  }

  .home-page {
    min-height: 100vh;
  }

  .playbook {
    display: none;
  }

  .home-intro {
    width: auto;
    margin: 0 clamp(20px, 6.5vw, 30px) 0;
    font-size: clamp(30px, 8.2vw, 38px);
    font-weight: 500;
    line-height: 1.22;
  }

  .home-actions {
    display: flex;
    gap: clamp(18px, 6vw, 28px);
    margin: clamp(42px, 10vw, 54px) clamp(20px, 6.5vw, 30px) 72px;
  }

  .home-action {
    display: inline-flex;
    flex: 1 1 0;
    min-width: 0;
    min-height: clamp(50px, 12vw, 58px);
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--blue);
    color: var(--paper);
    font-size: clamp(22px, 6.2vw, 29px);
    font-weight: 500;
    line-height: 1;
  }

  .content-page {
    min-height: auto;
    padding: 14px clamp(20px, 6.5vw, 30px) 60px;
  }

  .two-column,
  .legal-grid {
    display: block;
  }

  .lead {
    width: 100%;
    max-width: none;
    margin: 0 0 clamp(28px, 7vw, 40px);
    font-size: clamp(24px, 6.2vw, 30px);
    font-weight: 600;
    line-height: 1.25;
  }

  .copy {
    width: 100%;
    max-width: none;
    font-size: clamp(20px, 5.1vw, 25px);
    font-weight: 500;
    line-height: 1.35;
  }

  .copy + .copy {
    margin-top: clamp(27px, 7vw, 38px);
  }

  .qualifications-sidebar {
    margin-top: clamp(31px, 8vw, 46px);
  }

  .portrait-block {
    width: 173px;
    margin: clamp(27px, 7vw, 40px) 0 0;
  }

  .service-list {
    gap: clamp(21px, 5.8vw, 34px);
    width: 100%;
    max-width: none;
    margin-top: clamp(18px, 5vw, 28px);
  }

  .service-list li {
    grid-template-columns: clamp(11px, 3.2vw, 16px) 1fr;
    column-gap: clamp(13px, 4vw, 22px);
    min-height: auto;
  }

  .service-list li::before {
    width: clamp(11px, 3.2vw, 16px);
    height: clamp(11px, 3.2vw, 16px);
    margin-top: 4px;
    border-width: clamp(3.5px, 1.05vw, 5px);
  }

  .service-list span {
    max-width: none;
    font-size: clamp(16px, 4.2vw, 21px);
    font-weight: 500;
    line-height: 1.25;
  }

  .legal-page {
    min-height: auto;
    padding-top: 14px;
  }

  .legal-copy {
    width: 100%;
    max-width: none;
    font-size: clamp(20px, 5vw, 24px);
    font-weight: 450;
    line-height: 1.35;
  }

  .legal-copy + .legal-copy {
    margin-top: clamp(54px, 13vw, 76px);
  }

  .legal-copy h1,
  .legal-copy h2,
  .legal-copy h3,
  .legal-copy p,
  .legal-copy ul {
    margin-bottom: clamp(27px, 7vw, 38px);
  }
}

.consent-banner {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(16px, 3vw, 30px);
  left: clamp(16px, 3vw, 30px);
  z-index: 100;
  display: grid;
  gap: 14px;
  max-width: 720px;
  padding: 16px;
  border: 4px solid var(--blue);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(18, 58, 213, 0.12);
  color: var(--blue);
}

.consent-banner p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.consent-button,
.consent-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  background: var(--paper);
}

.consent-button {
  padding: 0 16px 2px;
}

.consent-link {
  padding: 0 14px 2px;
}

.consent-button-primary {
  background: var(--blue);
  color: var(--paper);
}

.consent-button:hover,
.consent-button:focus-visible,
.consent-link:hover,
.consent-link:focus-visible {
  background: var(--green);
  color: var(--blue);
  outline: none;
}

@media (max-width: 900px) {
  .consent-banner {
    right: clamp(14px, 4vw, 22px);
    bottom: clamp(14px, 4vw, 22px);
    left: clamp(14px, 4vw, 22px);
    max-width: none;
    padding: 14px;
  }

  .consent-banner p {
    font-size: 14px;
  }

  .consent-actions {
    align-items: stretch;
  }

  .consent-button,
  .consent-link {
    flex: 1 1 132px;
    min-width: 0;
    font-size: 14px;
  }

}
