:root {
  color-scheme: light;
  --ink: #12243a;
  --muted: #43576b;
  --blue: #1659ae;
  --blue-dark: #104781;
  --pale: #e8f1fb;
  --canvas: #f7f9fc;
  --white: #fff;
  --border: #cbd7e3;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; font-size: 16px; line-height: 1.65; }
a { color: var(--blue-dark); text-underline-offset: .2em; }
a:hover { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #edb744; outline-offset: 4px; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
p { max-width: 66ch; }
button, input, textarea { font: inherit; }
.skip-link { position: absolute; z-index: 20; left: 1rem; top: 1rem; padding: .65rem 1rem; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--white); border-bottom: 1px solid #dfe7ef; }
.header-inner, .page-shell, .footer-inner { width: min(100% - 40px, 1280px); margin-inline: auto; }
.header-inner { padding-block: 18px; }
.brand { display: inline-flex; align-items: center; width: min(250px, 100%); padding: 8px 10px; background: var(--ink); text-decoration: none; }
.brand img { display: block; width: 100%; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 14px; }
.site-nav a { color: var(--ink); font-size: .875rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; }
.site-nav .nav-contact { color: var(--blue-dark); }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 22px; border: 2px solid var(--blue); border-radius: 3px; background: var(--blue); color: var(--white); font-size: .94rem; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; transition: background .16s ease-out, border-color .16s ease-out; }
.button:hover { border-color: var(--blue-dark); background: var(--blue-dark); color: var(--white); }
.text-link { font-weight: 700; }
main { background: url("../images/wasserzeichen.svg") no-repeat right top 40px / min(70vw, 640px) auto; }
main.working-page { background: none; }
.page-shell { padding-block: 56px 80px; }
.page-kicker, .section-label, .eyebrow { margin-bottom: 16px; color: var(--blue-dark); font-size: .86rem; font-weight: 700; letter-spacing: .01em; }
.page-intro { max-width: 1000px; padding-block: 12px 58px; }
.page-intro h1, .contact-main h1 { max-width: 16ch; margin-bottom: 22px; font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 700; }
.page-intro > p:not(.page-kicker), .contact-lede { max-width: 58ch; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.page-intro .button { margin-top: 12px; }
.home-hero { position: relative; overflow: hidden; background: #dceafb; }
.hero-circuit { position: absolute; right: 0; bottom: 0; width: min(76%, 760px); height: auto; color: #155eb3; opacity: .2; pointer-events: none; }
.circuit-trace { stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.circuit-trace circle { fill: #dceafb; }
.home-hero-inner { position: relative; width: min(100% - 40px, 1280px); margin-inline: auto; padding-block: 58px 0; }
.home-copy { max-width: 760px; padding-bottom: 45px; }
.home-copy h1 { max-width: 13ch; margin-bottom: 25px; font-size: clamp(3rem, 7.1vw, 6.3rem); font-weight: 700; letter-spacing: -.055em; }
.home-copy > p:not(.page-kicker) { max-width: 53ch; color: #2e465d; font-size: clamp(1.06rem, 1.6vw, 1.3rem); }
.home-copy .button { margin-top: 12px; }
.home-person { display: flex; align-items: end; gap: 18px; max-width: 480px; margin-left: auto; }
.home-person img { display: block; width: min(52%, 256px); height: auto; border-radius: 100px 100px 0 0; }
.home-person-note { padding-bottom: 25px; color: #233e59; font-size: .88rem; line-height: 1.5; }
.home-person-note strong { display: block; color: var(--ink); font-size: 1rem; }
.home-overview { display: grid; gap: 38px; padding-block: 76px; background: url("../images/wasserzeichen.svg") no-repeat right bottom / min(70vw, 640px) auto; }
.home-overview h2, .home-method h2, .bottom-callout h2, .working-intro h2, .assurance-panel h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); }
.home-overview-intro p { color: var(--muted); font-size: 1.08rem; }
.editorial-image { overflow: hidden; max-width: 390px; background: var(--pale); }
.editorial-image img { display: block; width: 100%; height: auto; }
.home-overview-image, .working-image { margin-top: 30px; }
.home-paths { display: grid; gap: 14px; }
.path { position: relative; display: block; padding: 25px; border-radius: 5px; background: var(--white); color: var(--ink); text-decoration: none; transition: background .16s ease-out; }
.path::after { position: absolute; right: 25px; bottom: 0; left: 25px; height: 3px; background: var(--blue); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .24s ease-out; }
.path:hover, .path:focus-visible { color: var(--ink); background: var(--pale); }
.path:hover::after, .path:focus-visible::after { transform: scaleX(1); }
.path strong { display: block; margin-bottom: 8px; color: var(--blue-dark); font-size: 1.2rem; }
.path span { display: block; max-width: 42ch; color: var(--muted); }
.home-digital { background: var(--pale); }
.home-digital-inner { display: grid; gap: 20px; width: min(100% - 40px, 1280px); margin-inline: auto; padding-block: 64px; }
.home-digital h2 { max-width: 19ch; font-size: clamp(2rem, 3.5vw, 3.25rem); }
.home-digital p { color: var(--muted); }
.home-digital-links { display: grid; align-content: center; gap: 0; }
.home-digital-links a { padding-block: 16px; border-bottom: 1px solid var(--border); font-size: 1.15rem; font-weight: 700; }
.home-method { background: var(--ink); color: var(--white); }
.home-method-inner { width: min(100% - 40px, 1280px); margin-inline: auto; padding-block: 70px; display: grid; gap: 22px; }
.home-method h2 { max-width: 16ch; margin-bottom: 0; }
.home-method p { color: #dce7f1; font-size: 1.08rem; }
.home-method a { color: var(--white); }
.home-next { display: grid; gap: 24px; padding-block: 70px 80px; }
.home-next h2 { max-width: 20ch; margin-bottom: 12px; font-size: clamp(2rem, 3.6vw, 3.2rem); }
.home-next p { color: var(--muted); }
.service-detail { display: grid; gap: 10px; padding-block: 32px; border-top: 1px solid var(--border); }
.service-detail h2 { max-width: 19ch; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.service-detail p:not(.section-label) { color: var(--muted); }
.service-group-intro { max-width: 65ch; padding-block: 24px; }
.service-group-intro h2 { margin-bottom: 12px; font-size: clamp(2rem, 3.5vw, 3.25rem); }
.service-group-intro p, .digital-service p { color: var(--muted); }
.digital-intro { padding-top: 72px; }
.digital-service { display: grid; gap: 20px; align-items: start; padding-block: 32px; border-top: 1px solid var(--border); }
.digital-service h3 { max-width: 22ch; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.digital-service img { display: block; width: 100%; max-width: 480px; height: auto; aspect-ratio: 10 / 7; object-fit: cover; }
.bottom-callout { display: grid; gap: 20px; align-items: center; margin-top: 64px; padding: clamp(28px, 5vw, 58px); background: var(--pale); }
.bottom-callout h2 { max-width: 19ch; margin-bottom: 12px; }
.bottom-callout p { margin-bottom: 0; color: var(--muted); }
.bottom-callout .button { justify-self: start; }
.working-hero { display: grid; gap: 0; align-items: center; padding-bottom: 40px; }
.working-hero .page-intro { padding-bottom: 35px; }
.contact-journey { min-width: 0; max-width: 480px; width: 100%; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--border); background: var(--white); }
.journey-heading { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; align-items: center; color: var(--muted); font-size: .8rem; font-weight: 700; }
.journey-indicator { color: var(--blue-dark); }
.journey-contact { display: flex; align-items: center; gap: 14px; padding-block: 28px; border-bottom: 1px solid var(--border); }
.journey-avatar { display: grid; flex: 0 0 48px; height: 48px; place-items: center; background: var(--pale); color: var(--blue-dark); font-size: 1.2rem; font-weight: 700; }
.journey-contact strong, .journey-contact div span, .journey-event strong, .journey-event div span { display: block; }
.journey-contact div span, .journey-event div span { color: var(--muted); font-size: .88rem; }
.journey-events { position: relative; display: grid; gap: 22px; padding: 28px 0 6px; }
.journey-events::before { position: absolute; top: 37px; bottom: 20px; left: 7px; width: 2px; background: #cbdced; content: ""; }
.journey-event { position: relative; display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 16px; align-items: start; }
.journey-marker { width: 16px; height: 16px; margin-top: 5px; border: 3px solid var(--blue); border-radius: 50%; background: var(--white); }
.journey-event-three .journey-marker { background: var(--blue); }
.journey-caption { margin: 24px 0 0; color: var(--muted); font-size: .78rem; }
.working-layout { display: grid; gap: 28px; padding-block: 25px 70px; }
.working-intro p, .working-steps p, .assurance-panel p { color: var(--muted); }
.working-steps { margin: 0; padding-left: 1.5rem; }
.working-steps li { padding: 0 0 25px 12px; }
.working-steps li::marker { color: var(--blue); font-weight: 700; }
.working-steps h3, .assurance-grid h3 { font-size: 1.25rem; }
.assurance-panel { padding: clamp(28px, 5vw, 60px); background: var(--white); }
.assurance-panel h2 { max-width: 18ch; }
.assurance-grid { display: grid; gap: 20px 50px; }
.assurance-grid p { margin-bottom: 0; }
.contact-layout { display: grid; gap: 55px; }
.contact-layout > *, .estimate > *, .calculator-inputs > * { min-width: 0; }
.contact-main { padding-top: 12px; }
.contact-form { display: grid; gap: 18px; max-width: 620px; margin-top: 36px; }
.contact-form h2 { margin: 0; font-size: 1.6rem; }
.contact-form > p { margin: 0; color: var(--muted); }
.form-field { display: grid; gap: 5px; }
.form-field label { font-weight: 700; }
.form-field input, .form-field textarea { width: 100%; min-width: 0; padding: 12px; border: 1px solid #8092a3; border-radius: 3px; background: var(--white); color: var(--ink); }
.form-field textarea { resize: vertical; }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: #9c2525; }
.field-error, .form-errors { color: #962222; font-size: .9rem; }
.form-errors:empty, .form-errors.validation-summary-valid { display: none; }
.form-errors ul { margin: 0; padding-left: 1.25rem; }
.contact-form .button { justify-self: start; cursor: pointer; }
.contact-success { margin-top: 30px; padding: 20px; border-left: 4px solid var(--blue); background: var(--pale); }
.contact-success p { margin: 5px 0 0; }
.contact-alternative { margin-top: 28px; font-weight: 700; overflow-wrap: anywhere; }
.contact-privacy { max-width: 50ch; color: var(--muted); font-size: .875rem; }
.contact-person { align-self: start; display: grid; grid-template-columns: minmax(100px, 170px) 1fr; gap: 22px; align-items: start; padding: 24px; background: var(--pale); }
.contact-person img { display: block; width: 100%; height: auto; }
.contact-person h2 { margin-bottom: 10px; font-size: 1.8rem; }
.contact-person p, .contact-person address { font-size: .9rem; }
.contact-person address { margin-bottom: 14px; font-style: normal; }
.contact-person a { overflow-wrap: anywhere; }
.estimate { display: grid; gap: 36px; }
.estimate h2 { font-size: 1.8rem; }
.estimate > div:first-child > p { color: var(--muted); }
.calculator-inputs { display: grid; gap: 25px; margin-top: 32px; }
.range-field label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-weight: 700; }
.range-field output { color: var(--blue-dark); white-space: nowrap; }
.range-field input { width: 100%; min-height: 30px; accent-color: var(--blue); }
.range-field small { display: block; color: var(--muted); }
.estimate-result { padding: clamp(28px, 4vw, 48px); background: var(--ink); color: var(--white); }
.estimate-result dl { margin: 30px 0; }
.estimate-result dl div { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0; border-bottom: 1px solid #66788a; }
.estimate-result dd { margin: 0; font-weight: 700; }
.estimate-result .estimate-total { display: block; border: 0; }
.estimate-total dd { margin-top: 8px; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.1; }
.estimate-result p { color: #dce7f1; font-size: .9rem; }
.button-inverse { border-color: var(--white); background: var(--white); color: var(--ink); }
.button-inverse:hover { border-color: #dceafb; background: #dceafb; color: var(--ink); }
.notice { padding: 14px; border-left: 4px solid var(--blue); background: var(--pale); }
.legal-page, .error-page { width: min(100% - 40px, 800px); min-height: 60vh; margin-inline: auto; padding-block: 64px 90px; overflow-wrap: anywhere; }
.legal-page h1, .error-page h1 { margin-block: 16px 30px; font-size: clamp(2.6rem, 6vw, 4.5rem); }
.legal-page h2 { margin-top: 38px; font-size: 1.4rem; }
.legal-page h3 { margin-top: 24px; font-size: 1.1rem; }
.legal-page p, .legal-page address { color: var(--muted); }
.legal-page address { font-style: normal; }
.back-link { font-weight: 700; }
.error-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.site-footer { background: #e5edf5; }
.footer-inner { padding-block: 45px 24px; }
.footer-main { display: grid; gap: 25px; padding-bottom: 35px; }
.footer-main p { margin: 12px 0 0; color: var(--muted); }
.footer-contact, .footer-links { display: grid; gap: 8px; justify-items: start; }
.footer-contact a, .footer-links a { overflow-wrap: anywhere; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: .8rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
@media (min-width: 700px) {
  .header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
  .site-nav { margin-top: 0; }
  .home-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr); gap: 20px; align-items: end; padding-top: 80px; }
  .home-copy { padding-bottom: 90px; }
  .home-person { display: block; }
  .home-person img { width: min(100%, 320px); }
  .home-person-note { padding: 18px 0 24px; }
  .home-overview { grid-template-columns: .8fr 1.2fr; gap: 60px; }
  .home-digital-inner, .home-method-inner { grid-template-columns: 1fr 1fr; gap: 60px; }
  .home-next, .bottom-callout { grid-template-columns: 1fr auto; }
  .service-detail { grid-template-columns: 1fr 1fr; gap: 50px; padding-block: 45px; }
  .digital-service { grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); gap: 60px; padding-block: 45px; }
  .digital-service-text { grid-template-columns: 1fr; }
  .working-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; }
  .working-hero .page-intro { padding-bottom: 12px; }
  .contact-journey { justify-self: end; }
  .working-layout { grid-template-columns: .8fr 1.2fr; gap: 70px; }
  .assurance-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr .8fr; gap: 60px; }
  .contact-person { grid-template-columns: 1fr; }
  .contact-person img { width: 240px; }
  .estimate { grid-template-columns: 1fr .8fr; gap: 60px; }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
}
@media (min-width: 1000px) {
  .header-inner { min-height: 86px; }
  .site-nav { gap: 34px; }
  .page-shell { padding-block: 78px 110px; }
  .home-hero-inner { min-height: 590px; }
  .home-person img { width: 320px; }
  .home-overview { padding-block: 100px; }
  .home-paths { grid-template-columns: 1fr 1fr; }
  .home-paths .path:first-child { grid-column: 1 / -1; }
  .home-method-inner { padding-block: 90px; }
  .home-next { padding-block: 90px 105px; }
  .contact-person { grid-template-columns: 150px 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .editorial-image img { transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
  .editorial-image:hover img { transform: scale(1.035); }
  .home-digital-links a { transition: transform .18s ease-out, color .18s ease-out; }
  .home-digital-links a:hover, .home-digital-links a:focus-visible { transform: translateX(4px); }
  .circuit-trace { transform-box: fill-box; transform-origin: left center; animation: circuit-connect 1.5s cubic-bezier(.16, 1, .3, 1) both; }
  .circuit-trace-two { animation-delay: .18s; }
  .circuit-trace-three { animation-delay: .36s; }
  .home-copy { animation: hero-arrive .8s cubic-bezier(.16, 1, .3, 1) both; }
  .home-person { animation: portrait-arrive 1s .12s cubic-bezier(.16, 1, .3, 1) both; }
  .journey-event { animation: journey-arrive .7s cubic-bezier(.16, 1, .3, 1) both; }
  .journey-event-two { animation-delay: .35s; }
  .journey-event-three { animation-delay: .7s; }
  @keyframes journey-arrive { from { opacity: .25; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes circuit-connect { from { opacity: 0; transform: scaleX(.35); } to { opacity: 1; transform: scaleX(1); } }
  @keyframes hero-arrive { from { opacity: .7; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes portrait-arrive { from { opacity: .7; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .path::after { transition: none; }
}
