:root {
  color-scheme: dark;
  --bg: #13111f;
  --panel: #201b2f;
  --surface: #29233a;
  --line: #4d435d;
  --ink: #faf6ff;
  --sub: #d4cadf;
  --accent: #83e5cf;
  --violet: #dbc1f0;
  --radius: 1rem;
  font: 100%/1.6 system-ui, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(ellipse 55rem 40rem at 85% 0%, #30243f, transparent), var(--bg);
}
a { color: inherit; text-underline-offset: .23em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.shell { width: min(100% - clamp(1.75rem, 7vw, 5rem), 70rem); margin-inline: auto; }
.skip {
  position: absolute;
  z-index: 2;
  top: .6rem;
  left: .6rem;
  padding: .75rem;
  background: var(--bg);
  transform: translateY(calc(-100% - 1rem));
}
.skip:focus { transform: none; }
.top, .foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem 1.5rem;
  padding-block: .85rem;
}
.top { border-bottom: 1px solid var(--line); }
.top nav, .foot div { display: flex; flex-wrap: wrap; gap: .25rem .6rem; }
.top nav a, .foot a, .brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
.top nav a {
  justify-content: center;
  padding: .35rem .7rem;
  border-radius: .55rem;
  color: var(--sub);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}
.top nav a:hover, .top nav a:focus-visible { color: var(--ink); background: var(--surface); }
.brand {
  gap: .55rem;
  font-size: 1.125rem;
  font-weight: 680;
  letter-spacing: -.04em;
  text-decoration: none;
}
.brand img { flex: none; }
h1 span { color: var(--accent); }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 1.6rem;
  align-items: center;
  padding-block: clamp(2.15rem, 7vw, 6.25rem);
}
.eyebrow {
  margin-bottom: .6rem;
  color: var(--accent);
  font-size: .77rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { overflow-wrap: anywhere; }
h1 {
  margin-bottom: .75rem;
  font-size: clamp(2.25rem, 6.8vw + .8rem, 6.1rem);
  letter-spacing: -.067em;
  line-height: 1;
}
h2 {
  max-width: 23ch;
  margin-bottom: .9rem;
  font-size: clamp(1.8rem, 3.5vw + .65rem, 3.55rem);
  letter-spacing: -.048em;
  line-height: 1.08;
  text-wrap: balance;
}
h3 { font-size: clamp(1.08rem, 1rem + .5vw, 1.35rem); line-height: 1.28; }
.role { margin-bottom: .65rem; color: var(--violet); font-size: 1.08rem; font-weight: 650; }
.fullstack { position: relative; width: fit-content; max-width: 100%; }
.fullstack summary {
  display: flex;
  align-items: center;
  gap: .45rem;
  list-style: none;
  cursor: pointer;
}
.fullstack summary::-webkit-details-marker { display: none; }
.fullstack summary:hover, .fullstack[open] summary { color: var(--accent); }
.fullstack-icon {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--accent);
  color: #131d1c;
  font-size: 1.15rem;
  font-weight: 750;
  line-height: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .fullstack:not([open]) .fullstack-icon {
    animation: fullstack-pulse 1.5s ease-in-out 3;
  }
  @keyframes fullstack-pulse {
    0%, 100% { box-shadow: 0 0 0 0 #83e5cf00; }
    45% { box-shadow: 0 0 0 .22rem #83e5cf50; }
  }
}
.fullstack-explanation {
  position: absolute;
  z-index: 1;
  inset: 100% auto auto 0;
  width: min(24rem, 100vw - 5rem);
  margin: 0;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--panel);
  box-shadow: 0 .6rem 1.8rem #09071190;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 450;
}
.pitch { max-width: 42ch; margin-bottom: 1.35rem; color: var(--sub); font-size: clamp(1rem, .92rem + .55vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.primary, .secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .65rem;
  min-height: 3rem;
  padding: .65rem 1rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.primary { color: #131d1c; background: var(--accent); border-color: var(--accent); }
.primary:hover { color: #131d1c; background: #adf6e6; }
.secondary { background: var(--panel); }
.secondary:hover { color: var(--ink); background: var(--surface); }
.portrait {
  width: min(100%, 25rem);
  margin: 0;
  padding: .5rem;
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: var(--panel);
  box-shadow: 0 1rem 2.5rem #09071145;
}
.portrait-image { position: relative; }
.portrait-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 40%;
  border-radius: .9rem;
}
.cert-seal {
  position: absolute;
  right: .55rem;
  bottom: .4rem;
  width: clamp(3.65rem, 11vw, 5.75rem);
  height: auto;
  filter: drop-shadow(0 .18rem .28rem #1b101bbb);
}
.portrait figcaption {
  padding: .55rem .25rem .2rem;
  color: var(--sub);
  font-size: .96rem;
  font-weight: 650;
  line-height: 1.4;
  text-wrap: balance;
}
.hero .intro { min-width: 0; }
.hero-specialty {
  max-width: 39ch;
  margin-bottom: 1.25rem;
  color: var(--violet);
  font-weight: 650;
}
.hero-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0 calc((100% - 100vw) / 2);
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 83% 35%, #82518d8c, transparent 66%),
    radial-gradient(ellipse at 57% 83%, #5e2e7285, transparent 63%);
}
.hero-backdrop::before, .hero-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
}
.hero-backdrop::before {
  background: url("hero-erp-motiv.svg") 66% 51% / min(68rem, 80vw) auto no-repeat;
  opacity: .34;
}
.hero-backdrop::after {
  background: linear-gradient(90deg, #13111f 0%, #13111fcf 22%, transparent 64%),
    linear-gradient(0deg, #13111f 0%, transparent 17% 88%, #1b142740 100%);
}
.oddy-hero {
  position: absolute;
  top: clamp(-5rem, -5.5vw, -3.5rem);
  left: 52.5%;
  width: clamp(24rem, 43vw, 45rem);
  height: auto;
  opacity: .42;
  transform: translateX(-50%);
  filter: grayscale(1) sepia(.65) hue-rotate(226deg) saturate(1.55) brightness(.69);
  mask-image: radial-gradient(ellipse at 58% 33%, #000 32%, transparent 76%);
}
.top nav .language-link { color: var(--accent); border: 1px solid var(--line); }
@media (max-width: 47.99rem) {
  .hero { padding-top: clamp(6.1rem, 25vw, 9.5rem); }
  .hero-backdrop {
    background: radial-gradient(ellipse at 93% 19%, #82518d82, transparent 58%);
  }
  .hero-backdrop::before { background-position: 72% 12%; background-size: max(28rem, 90vw); }
  .hero-backdrop::after {
    background: linear-gradient(90deg, #13111fee 0%, #13111f99 40%, transparent 94%),
      linear-gradient(0deg, #13111f 0%, transparent 55%);
  }
  .oddy-hero { display: none; }
  .hero .portrait {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: clamp(11.5rem, 52vw, 21rem);
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    pointer-events: none;
  }
  .hero .portrait-photo {
    aspect-ratio: 1;
    border-radius: 0;
    filter: saturate(.8) brightness(.91);
    mask-image: radial-gradient(ellipse at 56% 30%, #000 26%, #000d 44%, transparent 72%),
      linear-gradient(90deg, #000 87%, transparent);
    mask-composite: intersect;
  }
  .hero .cert-seal {
    top: clamp(2.4rem, 10vw, 4.5rem);
    right: -.3rem;
    bottom: auto;
    width: clamp(3.9rem, 15vw, 5.6rem);
  }
  .hero .portrait figcaption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .oddy-hero {
      animation: oddy-parallax linear both;
      animation-timeline: scroll(root block);
      animation-range: 0px 40rem;
    }
    @keyframes oddy-parallax { from { translate: 0 0; } to { translate: 0 3rem; } }
  }
}
.section {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.2rem, 7vw, 5.25rem);
  scroll-margin-top: .75rem;
}
.section-intro { max-width: 65ch; margin-bottom: clamp(1.3rem, 4vw, 2.3rem); }
.cards { display: grid; gap: .8rem; }
.cards article, form {
  min-width: 0;
  padding: clamp(1rem, 3vw, 1.65rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.cards span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  color: var(--accent);
  background: var(--bg);
  font-size: .8rem;
  font-weight: 750;
}
.cards h3 { margin: .75rem 0 .4rem; }
.cards p, .contact p, .section-intro, .steps p, .projects article p, .architecture p { color: var(--sub); }
.cards p, .steps p, .projects article p:last-child, .architecture p:last-child { margin-bottom: 0; }
.service-cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
}
.service-cards h3 { margin-top: 0; }
.service-cards h3 a { text-decoration-color: var(--accent); }
.service-page {
  max-width: 54rem;
  padding-block: clamp(2.2rem, 7vw, 5.25rem);
}
.service-intro h1 {
  font-size: clamp(2.2rem, 5vw + .45rem, 4.7rem);
  letter-spacing: -.05em;
}
.service-intro .section-intro { font-size: clamp(1.05rem, 1rem + .45vw, 1.3rem); }
.service-copy { display: grid; gap: 1.6rem; }
.service-copy h2, .service-related h2 {
  max-width: none;
  margin-bottom: .5rem;
  font-size: clamp(1.35rem, 1.05rem + 1.25vw, 2rem);
  letter-spacing: -.025em;
  text-wrap: wrap;
}
.service-copy p { max-width: 68ch; margin-bottom: 0; color: var(--sub); }
.service-contact {
  margin-top: 2rem;
  padding: clamp(1rem, 3vw, 1.65rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.service-contact p { margin-bottom: .9rem; }
.service-related ul { margin: 0; padding-inline-start: 1.2rem; }
.service-related li + li { margin-top: .4rem; }
.process-map { position: relative; }
.steps {
  --node-size: clamp(3.55rem, 13vw, 4.4rem);
  --route-y: calc(var(--node-size) / 2);
  --path-color: #7391b6;
  position: relative;
  margin: 0;
  padding: clamp(1rem, 3.6vw, 2.55rem);
  border: 1px solid #d0daee;
  border-radius: 1.25rem;
  color: #1c3456;
  background: radial-gradient(ellipse at 92% 12%, #dcecfb, transparent 55%),
    radial-gradient(ellipse at 10% 94%, #e7def6, transparent 55%), #f4f7fe;
  list-style: none;
}
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: var(--node-size) minmax(0, 1fr);
  align-items: center;
  gap: .45rem .6rem;
  padding: 0 0 1.65rem 1.05rem;
}
.steps li:last-child { padding-bottom: 0; }
.steps .step-point {
  position: absolute;
  z-index: 1;
  top: calc(var(--route-y) - .2rem);
  left: 0;
  width: .4rem;
  height: .4rem;
  border: 1px solid var(--path-color);
  border-radius: 50%;
  background: #f4f7fe;
}
.steps li:not(:last-child)::after {
  position: absolute;
  top: var(--route-y);
  left: .2rem;
  height: 100%;
  border-left: 1px solid var(--path-color);
  content: "";
}
.step-node {
  display: block;
  width: var(--node-size);
  height: var(--node-size);
  object-fit: contain;
  border-radius: 18%;
}
.step-heading { min-width: 0; }
.steps .step-heading h3 { margin-bottom: 0; }
.steps .step-copy {
  grid-column: 1 / -1;
  color: #364d69;
}
.steps .step-label {
  margin-bottom: .25rem;
  color: #365a85;
  font-size: .73rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}
@media (min-width: 52rem) {
  .steps {
    --node-size: clamp(5rem, 9vw, 7rem);
    --route-y: .55rem;
    --column-gap: clamp(2rem, 6vw, 5rem);
    --row-gap: 1.6rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--row-gap) var(--column-gap);
  }
  .steps li, .steps li:last-child {
    align-content: start;
    align-items: start;
    grid-template-rows: auto 1fr;
    padding: 1.6rem .5rem 0 .25rem;
  }
  .steps .step-point { left: calc(50% - .2rem); }
  .steps li:nth-child(3) { grid-area: 2 / 2; }
  .steps li:nth-child(4) { grid-area: 2 / 1; }
  .steps li:nth-child(5) { grid-area: 3 / 1; }
  .step-node { grid-row: span 2; }
  .step-heading { padding-top: .2rem; }
  .steps .step-copy { grid-column: 2; }
  .steps li:not(:last-child)::after {
    left: 50%;
    width: calc(100% + var(--column-gap));
    height: 0;
    border: 0;
    border-top: 1px solid var(--path-color);
  }
  .steps li:nth-child(3)::after { left: auto; right: 50%; }
  .steps li:nth-child(even)::after {
    box-sizing: border-box;
    width: calc(50% + .7rem);
    height: calc(100% + var(--row-gap) + 1px);
    border: 1px solid var(--path-color);
    border-left: 0;
    border-radius: 0 1.4rem 1.4rem 0;
  }
  .steps li:nth-child(4)::after {
    left: auto;
    right: 50%;
    border-right: 0;
    border-left: 1px solid var(--path-color);
    border-radius: 1.4rem 0 0 1.4rem;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .process-map[data-draw] .steps li::after { visibility: hidden; }
  .process-map[data-draw] .step-point {
    transition: background-color .18s ease, border-color .18s ease;
  }
  .process-map[data-draw] .step-point[data-reached] {
    background: #456891;
    border-color: #456891;
  }
  .process-route {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  .process-route path {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .process-route-guide { stroke: #7391b6; opacity: .37; }
  .process-route-progress { stroke: #456891; stroke-width: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .process-route { display: none; }
}
.steps h3, .projects h3, .architecture h3 { margin-bottom: .45rem; }
.steps p, .projects p, .architecture p { max-width: 70ch; }
.architecture {
  margin-top: 1.65rem;
  padding: clamp(1rem, 3vw, 1.65rem);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--panel);
}
.architecture p { margin-bottom: .75rem; }
.projects {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.projects article {
  display: grid;
  gap: .4rem 1.4rem;
  padding: clamp(1rem, 3.2vw, 1.7rem);
}
.projects article + article { border-top: 1px solid var(--line); }
.projects article:first-child { background: var(--surface); }
.projects article p { margin-bottom: .7rem; }
.projects article .project-date {
  margin: 0;
  color: var(--violet);
  font-size: .84rem;
  font-weight: 700;
}
.projects article[class^="project-"] {
  position: relative;
  isolation: isolate;
}
.projects article[class^="project-"]::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: min(47%, 26rem);
  background: var(--project-motif) right center / contain no-repeat;
  opacity: .22;
  mask-image: linear-gradient(to right, transparent, #000 48%);
  pointer-events: none;
  content: "";
}
.project-detalex { --project-motif: url("projekt-netzwerk.svg"); }
.project-ionos { --project-motif: url("projekt-analyse.svg"); }
.project-rieber { --project-motif: url("projekt-leiterbahnen.svg"); }
.project-toyota { --project-motif: url("projekt-vernetzung.svg"); }
.project-basf { --project-motif: url("projekt-planung.svg"); }
.project-friadent { --project-motif: url("projekt-medizin.svg"); }
.technology-cards h3 { margin-top: 0; }
.stack-list { margin: 0 0 1rem; }
.stack-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .15rem .85rem;
  padding-block: .55rem;
  border-bottom: 1px solid var(--line);
}
.stack-list dt { color: var(--violet); font-weight: 700; }
.stack-list dd { margin: 0; color: var(--sub); }
@media (max-width: 35.99rem) {
  .projects article[class^="project-"]::before {
    bottom: auto;
    width: min(58%, 12rem);
    height: 8rem;
    opacity: .18;
    mask-image: linear-gradient(135deg, transparent 12%, #000 65%);
  }
}
@media (min-width: 36rem) {
  .stack-list div { grid-template-columns: 8rem minmax(0, 1fr); }
}
.technology-cards article {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.technology-cards article::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto auto;
  width: min(52%, 10rem);
  height: 8rem;
  background: url("projekt-netzwerk.svg") top right / contain no-repeat;
  opacity: .16;
  mask-image: linear-gradient(135deg, transparent 15%, #000 75%);
  pointer-events: none;
  content: "";
}
.technology-cards article:nth-child(2n)::before {
  background-image: url("projekt-leiterbahnen.svg");
}
.technology-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: .4rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.technology-icons li {
  display: flex;
  align-items: center;
  gap: .4rem;
  min-height: 2rem;
  max-width: 100%;
  padding: .25rem .5rem .25rem .28rem;
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: var(--bg);
  color: var(--ink);
  font-size: .79rem;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.technology-icons img {
  flex: none;
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  padding: .17rem;
  border-radius: .25rem;
  background: #f5f0fb;
  object-fit: contain;
}
@media (min-width: 42rem) {
  .cards.technology-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.technology-icon {
  display: block;
  width: 3rem;
  height: 2.15rem;
  padding: .3rem;
  border-radius: .4rem;
  background: #eaeaea;
  object-fit: contain;
}
.stack-list dt .technology-icon { margin-bottom: .25rem; }
.public-work ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: .3rem .85rem;
  margin: .5rem 0 0;
  padding: 0;
  list-style: none;
}
.public-work a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--accent);
  overflow-wrap: anywhere;
}
.contact { display: grid; align-items: start; gap: 1.35rem; }
.contact-links { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--accent);
  overflow-wrap: anywhere;
}
form { display: grid; gap: .85rem; }
label { display: grid; min-width: 0; gap: .3rem; font-weight: 650; }
.optional, .privacy, .foot { color: var(--sub); font-size: .86rem; font-weight: 400; }
:is(input, textarea) {
  width: 100%;
  min-height: 3rem;
  padding: .65rem .75rem;
  border: 1px solid #827590;
  border-radius: .55rem;
  color: var(--ink);
  background: var(--bg);
  font: inherit;
  font-size: 1rem;
}
textarea { resize: vertical; }
.privacy { margin: 0; overflow-wrap: anywhere; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.foot { flex-wrap: wrap; border-top: 1px solid var(--line); }

@media (max-width: 35.99rem) {
  .top { display: grid; gap: .35rem; }
  .brand { justify-self: start; }
  .top nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .25rem;
    padding: .25rem;
    border: 1px solid var(--line);
    border-radius: .8rem;
    background: var(--panel);
  }
  .top nav a { padding-inline: .1rem; font-size: .82rem; overflow-wrap: anywhere; }
  .actions { display: grid; grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 36rem) {
  form button { justify-self: start; }
  .projects article { grid-template-columns: 8rem minmax(0, 1fr); }
}
@media (min-width: 48rem) {
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 5rem); }
  .portrait {
    width: calc(100% + clamp(1.5rem, 5.3vw, 4.25rem));
    margin-inline-end: clamp(-2.25rem, -2.75vw, -1rem);
    justify-self: end;
  }
  .portrait-photo { aspect-ratio: 1; }
  .technology-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .projects article { grid-template-columns: 10rem minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); }
}
