:root {
  --ink: #0b1020;
  --ink-2: #151b30;
  --text: #3b4356;
  --muted: #667085;
  --bg: #ffffff;
  --soft: #f5f7fa;
  --line: #e6e9f0;
  --accent: #ff6600;
  --accent-ink: #c2500a;
  --radius: 20px;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 76px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  display: flex; flex-direction: column; min-height: 100vh;   /* footer stays at the bottom on short pages */
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i--lg { width: 30px; height: 30px; stroke-width: 1.5; }

/* Type */
.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.eyebrow--light { color: #ff9a5c; }
.h2 { font-size: clamp(1.75rem, 1.15rem + 2vw, 2.75rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; color: var(--ink); text-wrap: balance; }
.h2--light { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .9375rem; }
.btn--accent { background: var(--accent); color: var(--ink); box-shadow: 0 8px 24px -8px rgba(255, 102, 0, .6); }
.btn--accent:hover { background: #ff7a26; transform: translateY(-1px); }
.btn--outline { color: var(--ink); background: #fff; border-color: #cfd5e2; }
.btn--outline:hover { border-color: var(--ink); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .1); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 190px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; gap: 28px; }
.nav__list a { position: relative; font-size: .9375rem; font-weight: 500; color: var(--ink); padding-block: 6px; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.nav__list a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 10px; }

/* Remote support (AnyDesk download) */
.remote { position: relative; }
.remote summary { list-style: none; user-select: none; }
.remote summary::-webkit-details-marker { display: none; }
.remote__chev { width: 16px; height: 16px; transition: transform .2s ease; }
.remote[open] .remote__chev { transform: rotate(180deg); }
.remote[open] summary { border-color: var(--ink); }
.remote__panel {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 60; width: min(340px, calc(100vw - 2 * var(--gutter)));
  padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -24px rgba(11, 16, 32, .35);
}
.remote__title { font-weight: 650; color: var(--ink); letter-spacing: -.01em; }
.remote__hint { margin: 4px 0 14px; font-size: .875rem; color: var(--muted); line-height: 1.5; }
.remote__dl {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft);
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.remote__dl + .remote__dl { margin-top: 10px; }
.remote__dl:hover { border-color: var(--accent); background: #fff; transform: translateY(-1px); }
.remote__os { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--accent); flex: none; }
.remote__txt { display: grid; min-width: 0; line-height: 1.3; }
.remote__txt strong { color: var(--ink); font-size: .9375rem; font-weight: 650; }
.remote__txt small { color: var(--muted); font-size: .8125rem; }
.remote__get { margin-left: auto; color: var(--accent-ink); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle__bars { top: 20px; }
.nav-toggle__bars::before { left: 0; right: 0; top: -6px; }
.nav-toggle__bars::after { left: 0; right: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; background-color: var(--ink); color: #fff; overflow: clip;
  padding-top: clamp(56px, 8vw, 104px);
  background-image:
    radial-gradient(60% 70% at 88% -10%, rgba(255, 102, 0, .30), transparent 62%),
    radial-gradient(45% 55% at 0% 100%, rgba(80, 110, 255, .14), transparent 65%),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}
.hero .wrap { position: relative; }
.hero__title { margin-top: 18px; max-width: 22ch; font-size: min(7.2vw, clamp(2.5rem, 1.3rem + 4.6vw, 4.75rem)); line-height: 1.03; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.hl { background: linear-gradient(100deg, #ff6600, #ffa45c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 24px; max-width: 58ch; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; color: #b8c0d4; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__media {
  position: relative; margin-top: clamp(44px, 6vw, 72px); margin-bottom: calc(-1 * clamp(40px, 6vw, 72px));
  border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 8px rgba(255, 255, 255, .03);
}
.hero__media img { width: 100%; aspect-ratio: 1500 / 400; min-height: 180px; object-fit: cover; object-position: 76% center; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 75%, rgba(11, 16, 32, .22)); pointer-events: none; }
.hero__chip {
  position: absolute; left: clamp(14px, 2.5vw, 28px); bottom: clamp(14px, 2.5vw, 28px); z-index: 1;
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px;
  font-size: .875rem; font-weight: 500; color: #fff; background: rgba(11, 16, 32, .55); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .22); }

/* Facts */
.facts { padding-top: clamp(72px, 9vw, 116px); }
.facts__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.facts__list li { display: flex; flex-direction: column; gap: 6px; padding: 8px clamp(16px, 3vw, 40px); border-left: 1px solid var(--line); }
.facts__list li:first-child { border-left: 0; padding-left: 0; }
.facts__list strong { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; color: var(--ink); }
.facts__list span { color: var(--muted); font-size: .9375rem; max-width: 30ch; }

/* Sections */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--soft { background: var(--soft); border-block: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); display: grid; gap: 14px; }
.section__head--center { margin-inline: auto; text-align: center; }

.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 88px); align-items: start; }
.about .h2 { margin-top: 14px; }
.about__text { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.7; color: var(--text); }

.principles { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principles li { padding: 32px clamp(16px, 3vw, 40px) 0; border-left: 1px solid var(--line); }
.principles li:first-child { border-left: 0; padding-left: 0; }
.principles .i { color: var(--accent-ink); margin-bottom: 18px; }
.principles h3 { font-size: 1.1875rem; font-weight: 650; letter-spacing: -.01em; color: var(--ink); margin-bottom: 10px; }
.principles p { color: var(--muted); font-size: .96875rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service:hover { transform: translateY(-4px); border-color: #ffc9a3; box-shadow: 0 24px 48px -24px rgba(11, 16, 32, .22); }
.service__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--accent); margin-bottom: 26px; }
.service__icon .i { width: 26px; height: 26px; }
.service h3 { font-size: 1.375rem; font-weight: 650; letter-spacing: -.015em; color: var(--ink); margin-bottom: 12px; }
.service p { color: var(--text); }
.service__tag { margin-top: auto; padding-top: 24px; font-weight: 600; font-size: .9375rem; color: var(--ink); }
.service__tag::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: 20px; }

/* Partners */
.section__lead { color: var(--muted); font-size: 1.0625rem; max-width: 56ch; margin-inline: auto; }
.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.partner {
  display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%;
  padding: 32px 24px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.partner:hover { transform: translateY(-4px); border-color: #ffc9a3; box-shadow: 0 24px 48px -24px rgba(11, 16, 32, .22); }
.partner__logo { display: grid; place-items: center; width: 100%; height: 64px; margin-bottom: 24px; }
.partner__logo img { width: 100%; max-width: 180px; height: 100%; object-fit: contain; }
.partner__logo--mark img { max-width: 64px; }
.partner__name { width: 100%; padding-top: 20px; border-top: 1px solid var(--line); font-size: 1.0625rem; font-weight: 650; letter-spacing: -.01em; color: var(--ink); }
.partner__role { margin-top: 4px; font-size: .9375rem; color: var(--muted); }

/* References */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.logos a {
  display: grid; place-items: center; aspect-ratio: 1.25; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.logos img { width: min(150px, 100%); filter: grayscale(1); opacity: .72; mix-blend-mode: multiply; transition: filter .25s ease, opacity .25s ease; }
.logos img[src$=".svg"] { width: min(116px, 100%); }
.logos a:hover { border-color: #ffc9a3; box-shadow: 0 16px 32px -20px rgba(11, 16, 32, .3); transform: translateY(-2px); }
.logos a:hover img, .logos a:focus-visible img { filter: none; opacity: 1; }

/* Contact */
.contact {
  color: #fff; background-color: var(--ink); padding-block: clamp(64px, 8vw, 108px); overflow: clip;
  background-image: radial-gradient(50% 90% at 100% 100%, rgba(255, 102, 0, .28), transparent 65%), linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
}
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.contact .h2 { margin-top: 14px; }
.contact__lead { margin-top: 18px; max-width: 46ch; color: #b8c0d4; font-size: 1.125rem; }
.contact__links { display: grid; gap: 14px; }
.contact__card {
  display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 18px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.contact__card:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 153, 92, .7); transform: translateY(-2px); }
.contact__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--accent); color: var(--ink); flex: none; }
.contact__text { display: grid; gap: 2px; min-width: 0; }
.contact__text small { font-size: .8125rem; color: #aab3c8; }
.contact__text strong { font-size: clamp(1.0625rem, .9rem + .8vw, 1.375rem); font-weight: 650; letter-spacing: -.01em; overflow-wrap: anywhere; }
.contact__arrow { margin-left: auto; color: #ff9a5c; transition: transform .2s ease; }
.contact__card:hover .contact__arrow { transform: translateX(4px); }

/* Legal pages (Impressum, Datenschutz) */
.page-hero {
  color: #fff; background-color: var(--ink); padding-block: clamp(44px, 6vw, 80px); overflow: clip;
  background-image: radial-gradient(50% 120% at 100% 0%, rgba(255, 102, 0, .26), transparent 62%), linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
}
.page-hero p.eyebrow { margin-top: 0; font-size: .8125rem; color: #ff9a5c; }
main:has(> .page-hero--tall) { display: flex; flex-direction: column; }
.page-hero--tall { flex: 1; min-height: min(62vh, 560px); display: grid; align-content: center; }
.page-hero--tall .hero__actions { margin-top: 28px; }
.crumbs { display: flex; gap: 8px; font-size: .875rem; color: #98a2b8; }
.crumbs a { color: #ff9a5c; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-hero h1 { margin-top: 14px; font-size: clamp(2.125rem, 1.4rem + 3vw, 3.5rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; }
.page-hero p { margin-top: 14px; max-width: 60ch; color: #b8c0d4; font-size: 1.0625rem; }

.legal { padding-block: clamp(40px, 6vw, 80px); }
.legal__grid { display: grid; grid-template-columns: minmax(0, 780px) minmax(0, 320px); justify-content: space-between; gap: 56px; align-items: start; }
.legal__body { grid-column: 1; grid-row: 1; min-width: 0; }
.legal__aside { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 24px); }
.legal__aside .legal__card, .legal__aside .toc { margin: 0; }
.legal__aside .toc ol { columns: 1; }
.legal__aside .legal__card p:last-child { margin-bottom: 0; }
@media (max-width: 1100px) {
  .legal__grid { display: block; }
  .legal__aside { position: static; margin: 0 0 40px; }
  .legal__grid > .legal__aside:last-child { margin: 48px 0 0; }
  .legal__aside .toc ol { columns: 2; }
}
@media (max-width: 720px) { .legal__aside .toc ol { columns: 1; } }
.legal h2 { margin: 52px 0 14px; font-size: 1.4375rem; line-height: 1.25; letter-spacing: -.015em; font-weight: 700; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 16px); }
.legal__body > h2:first-child { margin-top: 0; }
.legal h3 { margin: 26px 0 8px; font-size: 1.0625rem; font-weight: 650; color: var(--ink); }
.legal p, .legal ul, .legal address { margin: 0 0 14px; }
.legal address { font-style: normal; }
.legal ul.list { list-style: disc; padding-left: 1.3em; }
.legal ul.list li { margin-bottom: 8px; padding-left: 4px; }
.legal a:not(.btn) { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal a:not(.btn):hover { color: var(--ink); }
.legal__card { margin: 0 0 14px; padding: 22px 26px; background: var(--soft); border: 1px solid var(--line); border-radius: 16px; }
.legal__card address { margin: 0; }
.legal__meta { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }
.toc { margin: 0 0 8px; padding: 22px 26px; background: var(--soft); border: 1px solid var(--line); border-radius: 16px; }
.toc__title { margin: 0 0 10px; font-weight: 650; color: var(--ink); }
.toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__list a[aria-current="page"] { color: #fff; }

/* Footer */
.site-footer { background: #070b17; color: #98a2b8; font-size: .875rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-block: 36px; }
.footer__logo { width: 150px; filter: brightness(0) invert(1); opacity: .92; }
.footer__list { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__list a:hover { color: #fff; }

/* Tablet */
@media (max-width: 1024px) {
  .logos { grid-template-columns: repeat(3, 1fr); }
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .brand img { width: 160px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(11, 16, 32, .3); display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding-block: 14px; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .nav__list a::after { display: none; }
  .nav .btn { min-height: 50px; }
  .nav__actions { flex-direction: column; align-items: stretch; }
  .remote summary { width: 100%; }
  .remote__panel { position: static; width: 100%; margin-top: 10px; box-shadow: none; background: var(--soft); }
  .remote__dl { background: #fff; }
}
@media (max-width: 860px) {
  .about, .contact__inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .toc ol { columns: 1; }
  .facts__list, .principles { grid-template-columns: 1fr; }
  .facts__list li, .principles li { border-left: 0; padding-inline: 0; }
  .facts__list li { padding-block: 18px; border-top: 1px solid var(--line); }
  .facts__list li:first-child { border-top: 0; padding-top: 0; }
  .principles li { padding-block: 24px; border-top: 1px solid var(--line); }
  .principles li:first-child { border-top: 0; }
  .principles { border-top: 1px solid var(--line); }
  .logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partners { gap: 12px; }
  .partner { padding: 24px 12px 22px; }
  .partner__logo { margin-bottom: 18px; }
  .partner__name { padding-top: 16px; }
  .partner__role { font-size: .875rem; overflow-wrap: anywhere; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__chip { font-size: .8125rem; padding: 7px 12px; }
}
