:root {
  --navy: #0a1c3b;
  --navy-2: #102951;
  --ink: #13213a;
  --paper: #f4f1e8;
  --white: #fffef9;
  --lime: #99b318;
  --lime-light: #dfe9a8;
  --sky: #dbe9ed;
  --line: rgba(10, 28, 59, 0.18);
  --muted: #647082;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --shell: min(1240px, calc(100vw - 48px));
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 14px; background: white; color: var(--navy); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 241, 232, 0.94); backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px rgba(10,28,59,.07); }
.utility-bar { background: var(--navy); color: rgba(255,255,255,.72); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.utility-inner { min-height: 30px; display: flex; align-items: center; justify-content: space-between; }
.language-switch { display: flex; align-items: center; gap: 7px; }
.language-switch button { padding: 0; border: 0; background: none; color: rgba(255,255,255,.5); cursor: pointer; font-size: inherit; font-weight: inherit; letter-spacing: inherit; }
.language-switch button[aria-pressed="true"] { color: var(--lime-light); }
.nav-row { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.wordmark { display: flex; align-items: baseline; gap: 9px; color: var(--navy); }
.wordmark strong { font-size: 27px; letter-spacing: -.045em; }
.wordmark span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 28px); }
.site-nav a { position: relative; font-size: 13px; font-weight: 600; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--lime); transition: right .2s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.login-link { display: flex; align-items: center; gap: 15px; padding: 12px 16px; border: 1px solid var(--navy); font-size: 12px; font-weight: 700; transition: background .2s, color .2s; }
.login-link:hover { background: var(--navy); color: white; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 4px 0; background: var(--navy); }

.hero { min-height: calc(100vh - 108px); display: flex; flex-direction: column; justify-content: center; padding: clamp(64px, 9vw, 120px) 0 42px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, 1.1fr); align-items: center; gap: clamp(44px, 6vw, 84px); }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: var(--lime); font-size: 11px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow-line { width: 44px; height: 1px; background: currentColor; }
.hero h1, .section-heading h2, .detail-copy h2, .partner-copy h2, .history-intro h2, .contact-copy h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.hero h1 { max-width: 760px; color: var(--navy); font-size: clamp(58px, 7.3vw, 108px); }
html[lang="de"] .hero h1 { max-width: 820px; font-size: clamp(52px, 5.4vw, 84px); line-height: 1.02; hyphens: manual; }
.hero-lead { max-width: 650px; margin: 30px 0 0; color: #526075; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.55; }
.button-row { display: flex; align-items: center; gap: 18px; margin-top: 38px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 28px; padding: 0 22px; font-size: 13px; font-weight: 700; }
.button-primary { background: var(--navy); color: white; }
.button-primary:hover { background: var(--navy-2); }
.button-quiet { border-bottom: 1px solid var(--navy); padding-inline: 2px; }
.hero-media { min-height: 470px; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; z-index: -1; width: 82%; height: 82%; top: -24px; right: -34px; background: var(--lime-light); border-radius: 50% 50% 10px 10px; opacity: .9; }
.hero-image { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; border-radius: 190px 190px 10px 10px; filter: saturate(.86) contrast(1.02); }
.hero-logo { position: relative; top: calc(clamp(64px, 9vw, 120px) / -2); align-self: center; margin: auto 0; width: min(82%, 500px); aspect-ratio: 200 / 122; overflow: hidden; background: var(--paper); }
.hero-logo img { position: absolute; width: 150%; max-width: none; height: auto; top: -20%; left: -25%; mix-blend-mode: multiply; }
.hero-stat { position: absolute; right: -26px; bottom: 12px; width: 190px; padding: 24px; background: var(--navy); color: white; }
.hero-stat strong { display: block; color: var(--lime-light); font-family: var(--serif); font-size: 42px; font-weight: 400; line-height: 1; }
.hero-stat span { display: block; margin-top: 7px; font-size: 12px; line-height: 1.45; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(54px, 8vw, 95px); border-block: 1px solid var(--line); }
.trust-strip > div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 15px; padding: 23px 28px; border-right: 1px solid var(--line); }
.trust-strip > div:last-child { border: 0; }
.trust-strip strong { color: var(--navy); font-family: var(--serif); font-size: 26px; font-weight: 500; }
.trust-strip span { color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.35; text-transform: uppercase; letter-spacing: .06em; }

.section { padding: clamp(90px, 12vw, 170px) 0; }
.section-services { background: var(--white); }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; align-items: end; gap: 40px; margin-bottom: 60px; }
.section-heading .eyebrow { margin: 0; }
.section-heading h2, .detail-copy h2, .partner-copy h2, .history-intro h2, .contact-copy h2 { font-size: clamp(48px, 6vw, 82px); }
.section-heading > div > p { max-width: 520px; margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.section-heading .services-overview { font-size: 13px; }
.services-overview strong { color: var(--navy); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.service-card { position: relative; min-height: 350px; padding: clamp(30px, 4vw, 52px); border: 1px solid var(--line); background: var(--white); transition: transform .25s, background .25s; }
.service-card:nth-child(2), .service-card:nth-child(4) { border-left: 0; }
.service-card:nth-child(n+3) { border-top: 0; }
a.service-card:hover { z-index: 1; transform: translateY(-7px); background: #f8f8f2; box-shadow: 0 20px 50px rgba(10,28,59,.09); }
.service-card-featured { background: var(--sky); }
.service-card-dark { background: var(--navy); color: white; }
.card-index { display: block; margin-bottom: 64px; color: var(--lime); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.service-card h3 { max-width: 480px; margin: 0; font-family: var(--serif); font-size: clamp(31px, 3vw, 46px); font-weight: 400; line-height: 1.08; }
.service-card p { max-width: 560px; margin: 18px 0 0; color: var(--muted); }
.service-card-dark p { color: rgba(255,255,255,.67); }
.card-arrow { position: absolute; top: 34px; right: 38px; color: var(--navy); font-size: 28px; }
.compact-list { columns: 2; gap: 26px; margin: 26px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.75); font-size: 12px; }
.compact-list li { break-inside: avoid; margin-bottom: 10px; padding-left: 13px; border-left: 2px solid var(--lime); }
.integrations-block { display: grid; grid-template-columns: 1.15fr 1fr 1fr; margin-top: 64px; border: 1px solid var(--line); background: var(--paper); }
.integrations-heading, .integration-card { padding: clamp(28px, 3vw, 42px); }
.integrations-heading { background: var(--navy); color: white; }
.integrations-heading .eyebrow { margin-bottom: 34px; color: var(--lime-light); }
.integrations-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(32px, 3.4vw, 48px); font-weight: 400; line-height: 1.05; }
.integrations-heading > p:last-child { margin: 18px 0 0; color: rgba(255,255,255,.68); font-size: 14px; }
.integration-card { border-left: 1px solid var(--line); }
.integration-label { display: inline-block; margin-bottom: 48px; padding: 6px 9px; background: var(--lime-light); color: var(--navy); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.integration-card h3 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(26px, 2.4vw, 35px); font-weight: 400; line-height: 1.12; }
.integration-card p { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

.detail-section { padding: clamp(90px, 12vw, 170px) 0; background: var(--paper); }
.detail-section-alt { background: var(--sky); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr); align-items: center; gap: clamp(55px, 9vw, 130px); }
.detail-grid-reverse .detail-media { order: 2; }
.detail-media { position: relative; }
.detail-media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--navy); }
.detail-media img { position: relative; width: 100%; height: clamp(460px, 57vw, 720px); object-fit: cover; filter: saturate(.75); }
.image-label { position: absolute; right: -24px; bottom: -24px; padding: 13px 18px; background: var(--navy); color: white; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.detail-copy h2 { color: var(--navy); }
.detail-lead { margin: 24px 0 42px; color: #516074; font-size: 20px; }
.detail-copy h3, .tag-panel h3 { margin: 0 0 16px; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
.feature-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feature-list li { position: relative; padding: 17px 0 17px 32px; border-bottom: 1px solid var(--line); color: #435168; }
.feature-list li::before { content: "↗"; position: absolute; left: 0; color: var(--lime); font-weight: 700; }
.tag-panel { margin-top: 34px; padding: 24px; background: var(--white); border-left: 4px solid var(--lime); }
.tag-panel ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tag-panel li { padding: 7px 10px; background: var(--paper); font-size: 11px; font-weight: 700; }

.partner-section { padding: clamp(95px, 13vw, 180px) 0; background: var(--lime-light); }
.partner-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(60px, 9vw, 130px); align-items: center; }
.partner-mark { min-height: 410px; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; background: var(--white); transform: rotate(-2deg); box-shadow: 20px 24px 0 rgba(10,28,59,.12); }
.partner-mark span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.partner-logo { width: 82%; aspect-ratio: 1956 / 508; display: flex; align-items: center; justify-content: center; margin: auto; }
.partner-mark img { width: 100%; height: 100%; max-height: 132px; object-fit: contain; flex: 0 0 auto; }
.partner-copy .eyebrow { color: var(--navy); }
.partner-copy p { max-width: 740px; color: #38465a; }
.partner-copy .partner-lead { margin-top: 30px; font-size: 19px; color: var(--navy); }
.text-link { display: inline-flex; gap: 30px; margin-top: 18px; padding-bottom: 4px; border-bottom: 1px solid var(--navy); font-size: 13px; font-weight: 700; }

.history-section { padding: clamp(100px, 14vw, 190px) 0; background: var(--white); }
.history-intro { max-width: 820px; }
.history-intro > p:last-child { max-width: 680px; color: var(--muted); font-size: 18px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; border-top: 1px solid var(--line); }
.timeline > h3 { position: absolute; margin-top: -32px; color: var(--muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.timeline > div { position: relative; padding: 34px 32px 0 0; }
.timeline > div::before { content: ""; position: absolute; width: 9px; height: 9px; top: -5px; left: 0; border-radius: 50%; background: var(--lime); }
.timeline span { color: var(--navy); font-family: var(--serif); font-size: 25px; }
.timeline p { max-width: 230px; color: var(--muted); font-size: 14px; }

.contact-section { padding: clamp(90px, 12vw, 160px) 0; background: var(--navy); color: white; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(60px, 10vw, 150px); }
.eyebrow-light { color: var(--lime-light); }
.contact-copy h2 { color: white; }
.contact-copy > p:not(.eyebrow) { max-width: 620px; color: rgba(255,255,255,.67); font-size: 20px; }
.contact-label { display: block; margin-top: 44px; color: var(--lime-light); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-email { display: inline-flex; gap: 25px; margin-top: 8px; padding-bottom: 5px; border-bottom: 1px solid var(--lime-light); color: var(--lime-light); font-size: clamp(20px, 2.4vw, 31px); }
.contact-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.contact-details > div:first-child { grid-column: 1 / -1; }
.contact-details > div { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.24); }
.contact-details h3 { margin: 0 0 13px; color: var(--lime-light); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.contact-details p, .contact-details ul { margin: 0 0 15px; padding: 0; list-style: none; color: rgba(255,255,255,.72); font-size: 13px; }
.contact-details a:hover { color: white; }

.legal-section { padding: 30px 0 80px; background: var(--navy); color: white; }
.legal-grid { border-top: 1px solid rgba(255,255,255,.2); }
.legal-grid details { border-bottom: 1px solid rgba(255,255,255,.2); }
.legal-grid summary { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 27px; }
.legal-grid summary::-webkit-details-marker { display: none; }
.legal-grid details[open] summary span:last-child { transform: rotate(45deg); }
.legal-content { columns: 2; gap: 70px; padding: 5px 0 36px; color: rgba(255,255,255,.68); font-size: 13px; }
.legal-content h3 { break-after: avoid; color: var(--lime-light); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.legal-content p, .legal-content ul { break-inside: avoid; }

.site-footer { padding: 28px 0; background: #07152d; color: rgba(255,255,255,.58); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.footer-brand { display: flex; align-items: baseline; gap: 8px; color: white; }
.footer-brand strong { font-size: 16px; }
.footer-brand span { font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid p { font-size: 11px; }
.footer-links { display: flex; justify-content: flex-end; gap: 20px; font-size: 11px; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .nav-row { grid-template-columns: auto auto 1fr; }
  .menu-toggle { display: block; justify-self: end; }
  .site-nav { position: fixed; inset: 108px 0 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; padding: 36px 24px; background: var(--paper); transform: translateX(100%); transition: transform .3s; }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 28px; }
  .login-link { justify-self: end; }
  .hero-grid { grid-template-columns: 1fr 390px; gap: 45px; }
  .hero-media { min-height: 330px; }
  .trust-strip > div { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
}

@media (max-width: 780px) {
  :root { --shell: min(100% - 32px, 1240px); }
  html { scroll-padding-top: 94px; }
  .nav-row { min-height: 64px; grid-template-columns: 1fr auto; }
  .wordmark span { display: none; }
  .login-link { display: none; }
  .site-nav { inset: 94px 0 0; }
  .hero { min-height: auto; padding-top: 70px; }
  .hero-grid, .detail-grid, .partner-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(52px, 14vw, 78px); }
  html[lang="de"] .hero h1 { font-size: clamp(40px, 11vw, 60px); }
  .hero-media { min-height: 0; margin-top: 42px; }
  .hero-logo { top: 0; width: min(72%, 360px); }
  .hero-stat { right: 0; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip > div { grid-template-columns: 100px 1fr; border-right: 0; border-bottom: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(n) { border: 1px solid var(--line); border-bottom: 0; }
  .service-card:last-child { border-bottom: 1px solid var(--line); }
  .integrations-block { grid-template-columns: 1fr; }
  .integration-card { border-left: 0; border-top: 1px solid var(--line); }
  .detail-grid-reverse .detail-media { order: 0; }
  .detail-media { margin-right: 20px; }
  .detail-media img { height: 470px; }
  .partner-mark { min-height: 320px; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .contact-details { margin-top: 20px; }
  .legal-content { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-media { min-height: 0; }
  .hero-image { height: auto; border-radius: 150px 150px 8px 8px; }
  .hero-logo { width: 78%; }
  .hero-stat { width: 160px; padding: 18px; }
  .button-row { align-items: flex-start; flex-direction: column; }
  .service-card { min-height: 310px; }
  .compact-list { columns: 1; }
  .detail-media img { height: 360px; }
  .timeline { grid-template-columns: 1fr; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-details > div:first-child { grid-column: auto; }
  .contact-email { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
