:root {
  color-scheme: light;
  --ink: #172334;
  --muted: #4a5a6a;
  --deep: #21486d;
  --leaf: #c7e4ff;
  --paper: #f6faff;
  --white: #fff;
  --soft: #e8f3ff;
  --line: #dbe6f2;
  --radius: 1.25rem;
  --wrap: 74rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.1; }
h1 { font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -.081em; font-weight: 730; }
h2 { font-size: clamp(2rem, 3.6vw, 3.75rem); letter-spacing: -.066em; font-weight: 720; }
h3 { font-size: 1.3rem; letter-spacing: -.033em; }
:focus-visible { outline: 3px solid #356594; outline-offset: 4px; }
:target { scroll-margin-top: 1rem; }
::selection { color: var(--ink); background: var(--leaf); }

.wrap { width: min(calc(100% - 5rem), var(--wrap)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 2; top: .5rem; left: .5rem; padding: .75rem 1rem;
  background: var(--white); transform: translateY(-175%);
}
.skip-link:focus { transform: translateY(0); }

.header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row {
  min-height: 5.4rem;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.4rem; align-items: center;
}
.header-row > .button { justify-self: end; }
.brand {
  width: fit-content; display: inline-flex; align-items: center; gap: .62rem;
  font-weight: 760; font-size: 1.55rem; letter-spacing: -.075em; text-decoration: none;
}
.brand-accent { color: #3a6590; }
.brand-mark {
  display: inline-grid; place-content: center; grid-auto-flow: column; gap: .13rem;
  width: 2.1rem; height: 2.1rem; border-radius: .58rem; background: var(--leaf);
}
.brand-mark i { width: .4rem; height: .83rem; border-radius: .075rem .42rem .075rem .42rem; background: var(--ink); transform: rotate(-30deg); }
.brand-mark i + i { transform: translateY(-.15rem) rotate(29deg); }
.main-nav, .footer nav { display: flex; flex-wrap: wrap; column-gap: 1.75rem; row-gap: .6rem; }
.main-nav a, .footer nav a, .footer-bottom a { text-decoration: none; font-size: .94rem; font-weight: 600; }
.main-nav a:hover, .footer a:hover, .info-aside a:hover { text-decoration: underline; text-underline-offset: .22em; }
.button {
  display: inline-flex; min-height: 3.1rem; align-items: center; justify-content: center;
  padding: .65rem 1.15rem; border: 1px solid transparent; border-radius: .58rem;
  text-decoration: none; font-weight: 690; font-size: .94rem; color: var(--white); background: var(--ink);
}
.button:hover { background: #2d4b6d; }
.button-outline { color: var(--ink); background: transparent; border-color: #c3d4e6; }
.button-outline:hover { background: var(--soft); }
.button-small { min-height: 2.65rem; padding-inline: 1rem; }

.hero { padding-block: clamp(2.8rem, 6vw, 5rem); background: radial-gradient(ellipse at 95% 20%, #edf6ff, transparent 68%); }
.hero-grid { display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 4.4rem); }
.hero h1 em { color: var(--deep); font-style: normal; }
.eyebrow {
  display: flex; align-items: center; gap: .5rem; color: var(--deep); font-size: .875rem;
  font-weight: 650; letter-spacing: .008em;
}
.eyebrow span { width: .56rem; height: .56rem; flex: 0 0 auto; border-radius: 50%; background: #709bc6; }
.hero h1, .section-heading h2, .contact-band h2 { margin-top: .8rem; }
.lede { color: var(--muted); font-size: clamp(1.06rem, 2vw, 1.25rem); line-height: 1.6; max-width: 40ch; margin-top: 1.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.75rem; }
.hero-media { border: 1px solid #cddded; border-radius: var(--radius); overflow: hidden; background: #e0edf9; }
.hero-media img { aspect-ratio: 4 / 3; object-fit: cover; }

.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
#leistungen { padding-top: clamp(2.1rem, 4vw, 3.8rem); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.9rem; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.2rem, 2.5vw, 2rem);
}
.service-icon {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .75rem;
  margin-bottom: 1.4rem; background: var(--soft); color: var(--deep);
}
.service-icon svg { width: 1.35rem; height: 1.35rem; }
.service h3 { hyphens: auto; overflow-wrap: anywhere; }
.service p, .steps p, .questions p { color: var(--muted); margin-top: .6rem; }

.process { border-block: 1px solid var(--line); background: var(--soft); }
.editorial { display: grid; grid-template-columns: 1fr 1.16fr; gap: clamp(1.5rem, 5vw, 5rem); }
.steps { padding: 0; margin: 0; list-style: none; counter-reset: project-step; }
.steps li { position: relative; counter-increment: project-step; padding: 1.1rem 0 1.1rem 3.3rem; border-bottom: 1px solid #c7d9eb; }
.steps li:first-child { padding-top: .35rem; }
.steps li::before {
  content: counter(project-step); display: grid; position: absolute; left: 0; width: 2.2rem;
  height: 2.2rem; place-items: center; background: var(--leaf); border-radius: 50%; font-weight: 690;
}
.questions details { border-bottom: 1px solid var(--line); }
.questions summary {
  padding-block: .95rem; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; cursor: pointer; list-style: none; font-weight: 650;
}
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+" / ""; font-size: 1.4rem; line-height: 1; color: var(--deep); }
.questions details[open] summary::after { content: "−" / ""; }
.questions p { margin: 0 1.3rem 1rem 0; }

.contact-band {
  padding: clamp(1.6rem, 4vw, 3.5rem); display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; border-radius: var(--radius); background: var(--leaf); margin-bottom: clamp(3rem, 6vw, 5.5rem);
}
.contact-band .button { flex-shrink: 0; }
.contact-band .eyebrow span { background: #345f89; }

.info-page { padding-block: clamp(2.3rem, 5vw, 5rem); }
.info-heading { margin-bottom: clamp(1.8rem, 5vw, 3rem); }
.info-heading h1 { font-size: clamp(2.2rem, 6.4vw, 5rem); hyphens: auto; overflow-wrap: anywhere; margin-top: .8rem; }
.info-heading .lede { max-width: 63ch; }
.text-link, .prose a { color: var(--deep); font-weight: 620; text-underline-offset: .18em; }
.info-grid { display: grid; grid-template-columns: 1fr minmax(12rem, .35fr); gap: clamp(1.3rem, 5vw, 4.75rem); align-items: start; }
.prose { display: grid; gap: 1.7rem; }
.prose section { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: clamp(1.15rem, 3vw, 2rem); }
.prose h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); letter-spacing: -.045em; margin-bottom: .75rem; }
.prose p + p { margin-top: .75rem; }
.prose ul { padding-left: 1.3rem; margin: 0; }
.prose li + li { margin-top: .35rem; }
.prose dl { margin: .9rem 0 0; }
.prose dt { font-weight: 680; }
.prose dd { margin: 0 0 .6rem; }
.notice { padding: .8rem 1rem; border-radius: .65rem; background: var(--soft); }
.info-aside nav { display: grid; gap: .3rem; border-radius: var(--radius); background: var(--soft); padding: 1.2rem; }
.info-aside nav p { font-weight: 700; margin-bottom: .25rem; }
.info-aside a { border-radius: .5rem; padding: .4rem .5rem; text-decoration: none; }
.info-aside [aria-current="page"] { background: var(--white); font-weight: 680; }

.footer { border-top: 1px solid var(--line); background: #eef5fd; padding-block: 2rem 1.25rem; }
.footer-top, .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 1rem; }
.footer-top p { color: var(--muted); margin-top: .5rem; }
.footer-top nav { column-gap: 1.1rem; padding-top: .5rem; }
.footer-bottom { border-top: 1px solid var(--line); color: var(--muted); margin-top: 1.55rem; padding-top: 1.05rem; font-size: .9rem; }

@media (max-width: 64rem) {
  .wrap { width: calc(100% - 3rem); }
}
@media (max-width: 48rem) {
  .hero-grid, .editorial, .info-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 2rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-icon { margin-bottom: 1rem; }
  .header-row { min-height: auto; padding-block: .8rem .65rem; grid-template-columns: 1fr auto; gap: .4rem 1rem; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; column-gap: 1.2rem; }
  .main-nav a { display: inline-flex; align-items: center; min-height: 2.45rem; }
  .contact-band { align-items: start; flex-direction: column; }
}
@media (max-width: 28rem) {
  .wrap { width: calc(100% - 2rem); }
  .actions { align-items: start; flex-direction: column; }
}

.work { background: var(--white); border-top: 1px solid var(--line); }
.examples { display: grid; gap: .75rem; }
.examples article { padding: 1rem 1.2rem; border-left: 3px solid #98bfe4; background: var(--paper); }
.examples p { color: var(--muted); margin-top: .35rem; }

/* Privacy dialog */
html:has(.cookie-modal[open]) { overflow: hidden; }
.cookie-modal {
  width: min(calc(100% - 3rem), 28.75rem);
  max-height: calc(100dvh - 3rem);
  padding: 1.75rem 1.625rem 1.5rem;
  border: 1px solid #c3d4e6;
  border-radius: 1rem;
  margin: auto;
  color: var(--ink);
  background: linear-gradient(105deg, #648fbe, var(--leaf), #d9ebfd) top / 100% 3px no-repeat, var(--white);
  box-shadow: 0 1.25rem 3.75rem #17233440;
  overflow: auto;
}
.cookie-modal::backdrop { background: #17233474; backdrop-filter: blur(8px); }
.cookie-head { display: flex; align-items: center; gap: .875rem; margin-bottom: .75rem; }
.cookie-icon {
  flex: 0 0 auto;
  width: 3.125rem; height: 3.125rem; border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px #deedfc;
}
.cookie-head h2 {
  min-width: 0;
  font-size: 1.25rem; line-height: 1.3; letter-spacing: -.02em;
  hyphens: auto; overflow-wrap: anywhere;
}
.cookie-head h2:focus { outline: none; }
.cookie-modal p { color: var(--muted); font-size: .94rem; line-height: 1.65; }
.cookie-modal p a { color: var(--deep); font-weight: 650; text-underline-offset: .18em; }
.cookie-actions { display: flex; gap: .75rem; margin-top: 1.375rem; }
.cookie-actions .button {
  flex: 1; min-height: 3rem; padding-inline: .75rem; border-radius: 3rem;
  font-family: inherit; cursor: pointer;
}
.cookie-actions .button:not(.button-outline) { color: var(--ink); background: var(--leaf); }
.cookie-actions .button:not(.button-outline):hover { background: #a9d4ff; }
@media (max-width: 30rem) {
  .cookie-modal { width: calc(100% - 2rem); padding: 1.375rem 1.125rem 1.25rem; }
  .cookie-head { gap: .625rem; }
  .cookie-icon { width: 2.75rem; height: 2.75rem; }
  .cookie-head h2 { font-size: 1.125rem; }
}
@media (max-width: 21.25rem) {
  .cookie-actions { flex-direction: column; }
}

.cookie-modal .cookie-demo-message {
  margin-top: .75rem; padding: .55rem .75rem; border-radius: .55rem; background: var(--soft);
}
.cookie-demo-message:not([hidden]) + .cookie-actions { flex-wrap: wrap; }
.cookie-demo-message:not([hidden]) + .cookie-actions .button { flex-basis: 8rem; }
.cookie-actions .button:disabled { opacity: .65; cursor: progress; }

.panel-header { grid-template-columns: 1fr auto; }
