@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");

:root {
  --blue: #0054a6;
  --blue-deep: #003f7d;
  --blue-soft: #eaf4ff;
  --ink: #101820;
  --muted: #536271;
  --line: #d9e1e8;
  --paper: #ffffff;
  --wash: #f4f7fa;
  --max: 1320px;
  --header-h: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 9999;
  background: var(--ink); color: #fff; padding: 10px 14px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(16,24,32,.08);
  transition: background .28s ease, border-color .28s ease, box-shadow .28s ease;
  backdrop-filter: blur(12px);
}
.site-header.is-blue {
  background: rgba(0,84,166,.97);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 8px 24px rgba(0,35,70,.12);
}
.header-inner {
  width: min(var(--max), calc(100% - 48px));
  height: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 36px;
}
.brand { display: inline-flex; align-items: center; min-width: 160px; }
.brand img { height: 42px; width: auto; }
.brand-fallback { display: none; font-size: 24px; font-weight: 760; letter-spacing: .08em; }
.brand.logo-missing .brand-fallback { display: inline-block; }
.brand.logo-missing img { display: none; }
.site-header.is-blue .brand-fallback { color: #fff; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-size: 15px; font-weight: 620; position: relative; padding: 30px 0 28px;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 21px; height: 2px;
  background: var(--blue); transition: right .2s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.site-header.is-blue .main-nav a { color: #fff; }
.site-header.is-blue .main-nav a::after { background: #fff; }
.nav-cta {
  border: 1px solid var(--blue); padding: 11px 17px !important; margin-left: 4px;
}
.nav-cta::after { display: none; }
.site-header.is-blue .nav-cta { border-color: rgba(255,255,255,.75); }

.nav-toggle {
  display: none; width: 44px; height: 44px; background: transparent; border: 0; padding: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; margin: 6px 0; background: currentColor; }
.site-header.is-blue .nav-toggle { color: white; }

main { overflow-x: clip; }
.hero, .page-hero {
  position: relative;
  padding-top: var(--header-h);
  background: linear-gradient(180deg,#fff 0%,#f8fbfe 100%);
}
.hero {
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(0,84,166,.12) 0, rgba(0,84,166,.12) 0.3%, rgba(0,84,166,.10) 10%, rgba(0,84,166,0) 28%),
    radial-gradient(circle at 76% 28%, rgba(72,153,255,.16) 0, rgba(72,153,255,.12) 6%, rgba(72,153,255,0) 32%),
    radial-gradient(circle at 18% 84%, rgba(0,84,166,.07) 0, rgba(0,84,166,.05) 10%, rgba(0,84,166,0) 28%),
    linear-gradient(180deg,#fff 0%,#f8fbfe 100%);
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: var(--header-h) 0 0 auto; width: 35%;
  background: linear-gradient(135deg, transparent 0 42%, rgba(0,84,166,.06) 42% 100%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: calc(var(--header-h) + 24px);
  width: min(42vw, 560px);
  height: min(42vw, 560px);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255,255,255,.8) 0 6%, rgba(255,255,255,.22) 18%, rgba(0,84,166,.08) 38%, rgba(0,84,166,0) 68%),
    radial-gradient(circle at 36% 42%, rgba(155,208,255,.55) 0 4%, rgba(155,208,255,0) 24%);
  filter: blur(8px);
  opacity: .95;
  pointer-events: none;
}
.hero-inner, .page-hero-inner {
  width: min(var(--max), calc(100% - 48px)); margin: 0 auto; position: relative; z-index: 1;
}
.hero-inner { padding: 104px 0 118px; display: block; }
.hero-primary {
  min-width: 0;
  max-width: 1120px;
  position: relative;
}
.hero-primary::before {
  content: "";
  position: absolute;
  inset: auto -120px -48px auto;
  width: min(36vw, 430px);
  height: min(36vw, 430px);
  border-radius: 50%;
  border: 1px solid rgba(0,84,166,.14);
  box-shadow:
    0 0 0 26px rgba(0,84,166,.03),
    0 0 0 58px rgba(0,84,166,.02);
  pointer-events: none;
}
.hero-kicker { margin: 0 0 28px; color: var(--blue); font-size: clamp(15px, 1.35vw, 19px); font-weight: 700; letter-spacing: -.01em; }
.eyebrow { color: var(--blue); font-weight: 760; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.hero h1, .page-hero h1 {
  margin: 0; max-width: 1000px; font-weight: 690; letter-spacing: -.045em; line-height: .98;
}
.hero h1 { font-size: clamp(54px, 7.1vw, 108px); }
.page-hero h1 { font-size: clamp(48px, 6.2vw, 88px); overflow-wrap: anywhere; }
.hero-copy { align-self: end; border-left: 1px solid var(--line); padding-left: 32px; padding-bottom: 10px; }
.hero-copy p { margin: 0; font-size: clamp(18px, 2vw, 25px); max-width: 480px; color: var(--muted); }
.hero-actions { margin-top: 34px; display: flex; gap: 18px; flex-wrap: wrap; }
.hero-meta { margin: 20px 0 0; color: #677b8d; font-size: 15px; font-weight: 650; letter-spacing: .01em; }
.button-link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px;
  border: 1px solid var(--blue); background: var(--blue); color: white; font-weight: 700;
}
.button-link.secondary { background: transparent; color: var(--ink); border-color: #9fb1c1; }
.button-link:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.button-link.secondary:hover { color: #fff; }

.rotator-wrap { min-height: 310px; position: relative; }
.hero-slide { display: none; animation: fadeUp .6s ease both; }
.hero-slide.active { display: block; }
.hero-slide .slide-question { margin: 26px 0 0; font-size: clamp(24px, 2.8vw, 42px); line-height: 1.12; letter-spacing: -.025em; max-width: 950px; color: #344454; }
.hero-progress { width: 200px; height: 2px; background: #dbe6f0; margin-top: 12px; overflow: hidden; }
.hero-progress > span { display: block; height: 100%; width: 0; background: var(--blue); }
.hero-progress > span.run { animation: progress 5s linear forwards; }
@keyframes fadeUp { from {opacity:0; transform: translateY(16px);} to {opacity:1; transform:translateY(0);} }
@keyframes progress { from {width:0} to {width:100%} }

.page-hero-inner { padding: 116px 0 90px; }
.page-hero p { font-size: clamp(20px, 2.2vw, 30px); color: var(--muted); max-width: 880px; margin: 28px 0 0; }

.section { padding: 110px 0; }
.section.tight { padding: 78px 0; }
.section.blue { background: var(--blue); color: white; }
.section.wash { background: var(--wash); }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section-head { display: grid; grid-template-columns: .42fr 1fr; gap: 64px; align-items: start; margin-bottom: 66px; }
.section-label { color: var(--blue); font-size: 13px; font-weight: 780; letter-spacing: .14em; text-transform: uppercase; padding-top: 9px; }
.blue .section-label { color: #bcdcff; }
.section h2 { margin: 0; font-size: clamp(38px, 5vw, 70px); line-height: 1.03; letter-spacing: -.035em; font-weight: 660; }
.lead { font-size: clamp(20px, 2vw, 28px); color: var(--muted); max-width: 930px; }
.blue .lead { color: rgba(255,255,255,.8); }

.statement-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statement-row { display: grid; grid-template-columns: 1fr 2.4fr; gap: 50px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.statement-row:last-child { border-bottom: 0; }
.statement-row strong { font-size: 18px; color: var(--blue); }
.statement-row span { font-size: clamp(20px, 2vw, 30px); line-height: 1.25; }

.big-quote { font-size: clamp(34px, 5vw, 72px); line-height: 1.08; letter-spacing: -.04em; max-width: 1150px; margin: 0; }
.big-quote em { font-style: normal; color: #a9d3ff; }

.feature-lines { border-top: 1px solid var(--line); }
.feature-line { display: grid; grid-template-columns: minmax(220px, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line); }
.feature-line h3 { margin: 0; font-size: clamp(24px, 2.4vw, 36px); letter-spacing: -.02em; }
.feature-line p { margin: 0; color: var(--muted); font-size: 18px; max-width: 620px; }

.metric-strip { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); }
.metric { padding: 32px 26px; border-right: 1px solid rgba(255,255,255,.35); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-size: clamp(32px, 4vw, 58px); letter-spacing: -.04em; }
.metric span { display: block; margin-top: 8px; color: rgba(255,255,255,.72); }

.architecture { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.architecture pre { white-space: pre-wrap; font: inherit; margin: 0; font-size: clamp(24px,2.6vw,38px); line-height: 1.5; color: var(--blue); }
.architecture p { color: var(--muted); font-size: 18px; }

.process { border-top: 1px solid var(--line); }
.process-step { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.4fr); gap: 48px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.process-step h3 { margin: 0; font-size: 26px; }
.process-step p { margin: 0; color: var(--muted); }

.price-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.price-table th, .price-table td { text-align: left; padding: 24px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.price-table td:first-child { padding-left: 0; font-weight: 740; }
.price-table th:first-child { padding-left: 0; }
.price-table td:last-child, .price-table th:last-child { padding-right: 0; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.contact-info h2 { font-size: clamp(42px,5vw,72px); margin: 0 0 26px; letter-spacing: -.04em; line-height: 1.02; }
.contact-info p { color: var(--muted); font-size: 19px; }
.form-row { margin-bottom: 26px; }
.form-row label { display: block; font-size: 14px; font-weight: 720; margin-bottom: 8px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; border: 0; border-bottom: 1px solid #9fb0c0; padding: 13px 0; background: transparent; outline: none;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--blue); }
.form-row textarea { min-height: 130px; resize: vertical; }
.form-note { color: var(--muted); font-size: 13px; }
.form-status { margin-top: 18px; font-weight: 700; color: var(--blue); min-height: 24px; }

.legal-copy { max-width: 980px; }
.legal-copy h2 { font-size: 34px; margin: 58px 0 16px; }
.legal-copy h3 { font-size: 22px; margin: 36px 0 12px; }
.legal-copy p, .legal-copy li { color: #344454; }
.placeholder { background: #fff5d8; border-left: 3px solid #e1a900; padding: 16px 18px; margin: 24px 0; }

.cta-band { background: #0a1826; color: #fff; }
.cta-band .container { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.cta-band h2 { font-size: clamp(42px, 5vw, 76px); max-width: 900px; }
.cta-band p { color: #b7c6d4; max-width: 720px; font-size: 20px; }
.cta-band .button-link { background: #fff; color: #0a1826; border-color: #fff; }

.site-footer { background: var(--blue-deep); color: white; padding: 64px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.25); }
.footer-brand img { height: 46px; width: auto; }
.footer-brand p { color: rgba(255,255,255,.7); max-width: 460px; margin-top: 22px; }
.footer-brand .brand-fallback { color: white; }
.footer-title { color: #bcdcff; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.9); }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 26px; font-size: 13px; color: rgba(255,255,255,.62); }

.reveal { opacity: 0; transform: translateY(22px); transition: .65s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  :root { --header-h: 74px; }
  .header-inner, .hero-inner, .page-hero-inner, .container { width: min(100% - 32px, var(--max)); }
  .brand img { height: 36px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: white; padding: 14px 20px 22px; border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a { color: var(--ink) !important; padding: 14px 0; }
  .main-nav a::after { display: none; }
  .main-nav .nav-cta { margin: 10px 0 0; text-align: center; color: var(--blue) !important; }
  .hero { min-height: auto; }
  .hero-inner { padding: 58px 0 64px; }
  .hero-kicker { margin-bottom: 22px; }
  .rotator-wrap { min-height: 235px; }
  .section-head, .architecture, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .feature-line { grid-template-columns: minmax(190px, .85fr) minmax(0, 1.15fr); gap: 28px; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.35); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-band .container { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-inner { padding: 42px 0 48px; }
  .hero-kicker { margin-bottom: 16px; max-width: 310px; font-size: 14px; line-height: 1.35; }
  .hero h1 { font-size: 42px; }
  .rotator-wrap { min-height: 190px; }
  .hero-slide .slide-question { margin-top: 18px; font-size: 22px; line-height: 1.16; }
  .hero-progress { margin-top: 6px; width: 150px; }
  .hero-actions { margin-top: 22px; gap: 10px; }
  .hero-actions .button-link { min-height: 44px; padding: 0 15px; font-size: 14px; }
  .hero-meta { margin-top: 15px; font-size: 13px; line-height: 1.4; }
  .hero::after {
    right: -110px;
    top: calc(var(--header-h) + 34px);
    width: 320px;
    height: 320px;
    opacity: .8;
  }
  .hero-primary::before {
    right: -54px;
    bottom: -20px;
    width: 230px;
    height: 230px;
    box-shadow: 0 0 0 18px rgba(0,84,166,.03), 0 0 0 36px rgba(0,84,166,.02);
  }
  .section { padding: 78px 0; }
  .page-hero-inner { padding: 70px 0 56px; }
  .page-hero h1 { font-size: clamp(34px, 10.5vw, 46px); line-height: 1.02; letter-spacing: -.035em; overflow-wrap: anywhere; }
  .page-hero p { margin-top: 20px; font-size: 18px; line-height: 1.48; }
  .eyebrow { font-size: 11px; letter-spacing: .11em; }
  .statement-row, .process-step { grid-template-columns: 1fr; gap: 10px; }
  .feature-line { grid-template-columns: 1fr; gap: 10px; }
  .metric-strip { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.35); }
  .metric:last-child { border-bottom: 0; }
  .price-table { display: table; overflow: visible; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Language selector */
.language-switcher { position: relative; margin-left: auto; flex: 0 0 auto; }
.language-button {
  width: 46px; height: 38px; padding: 5px; border: 0; background: transparent;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.language-button img, .language-menu img {
  display: block; width: 32px; height: 21px; object-fit: cover; border: 1px solid rgba(16,24,32,.14);
  box-shadow: 0 1px 3px rgba(0,35,70,.12);
}
.language-button:focus-visible, .language-menu button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.site-header.is-blue .language-button:focus-visible { outline-color: #fff; }
.language-menu {
  position: absolute; top: calc(100% + 10px); right: 0; width: auto; padding: 8px; display: none;
  grid-template-columns: repeat(5, 44px); gap: 4px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(0,35,70,.16); z-index: 1200;
}
.language-switcher.open .language-menu { display: grid; }
.language-menu button {
  width: 44px; height: 38px; border: 0; background: transparent; padding: 5px; display: flex;
  align-items: center; justify-content: center; cursor: pointer;
}
.language-menu button:hover, .language-menu button[aria-current="true"] { background: var(--blue-soft); }
.language-menu button[aria-current="true"] img { border-color: var(--blue); }

/* Keep the price column readable in German and other longer translations. */
.price-table td:last-child, .price-table th:last-child { min-width: 170px; }
.price-table td:last-child { overflow-wrap: normal; word-break: normal; hyphens: none; }

@media (min-width: 981px) {
  .header-inner { gap: 24px; }
  .main-nav { margin-left: auto; }
  .language-switcher { margin-left: 0; }
}

@media (max-width: 980px) {
  .header-inner { gap: 10px; }
  .brand { order: 1; }
  .language-switcher { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; }
  .main-nav { order: 4; }
  .language-button { width: 42px; height: 36px; padding: 4px; }
  .language-menu { right: 0; grid-template-columns: repeat(5, 42px); }
  .language-menu button { width: 42px; }
}

@media (max-width: 640px) {
  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td { display: block; width: 100%; }
  .price-table { border-top: 1px solid var(--line); }
  .price-table thead { display: none; }
  .price-table tr { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .price-table td {
    min-width: 0 !important;
    padding: 5px 0;
    border: 0;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }
  .price-table td:first-child { padding: 0 0 8px; font-size: 18px; }
  .price-table td:nth-child(2) { color: var(--muted); }
  .price-table td:last-child { padding-top: 10px; color: var(--blue); font-weight: 700; }
}

@media (max-width: 420px) {
  .brand { min-width: 0; }
  .brand img { max-width: 145px; height: auto; max-height: 34px; }
  .language-button { width: 38px; padding: 3px; }
  .language-button img { width: 30px; height: 20px; }
  .language-menu { grid-template-columns: repeat(5, 39px); padding: 6px; gap: 2px; }
  .language-menu button { width: 39px; height: 36px; padding: 4px; }
  .language-menu img { width: 29px; height: 19px; }
  .nav-toggle { width: 40px; padding: 8px; }
}

