/* ==========================================================================
   KMG – Ingenieurbüro für Arbeitssicherheit
   ========================================================================== */

@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy-950: #071427;
  --navy-900: #0b1f3a;
  --navy-800: #10294b;
  --brand: #005596;
  --brand-600: #0a63ad;
  --brand-2: #4771aa;
  --brand-3: #7a93c1;
  --brand-50: #eef4fb;
  --brand-100: #dbe7f5;
  --accent: #f4b000;
  --accent-600: #d99a00;
  --accent-50: #fff7e0;

  --ams-dark: #0f2e29;
  --ams-darker: #0a201d;
  --ams: #1ba06a;
  --ams-light: #3fd18f;

  --ink: #0e1b2e;
  --ink-2: #26364d;
  --muted: #5a6a82;
  --line: #e2e8f1;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 1px 3px rgba(11, 31, 58, .06);
  --shadow: 0 10px 30px -12px rgba(11, 31, 58, .18), 0 4px 10px -6px rgba(11, 31, 58, .08);
  --shadow-lg: 0 30px 60px -20px rgba(11, 31, 58, .28), 0 12px 24px -12px rgba(11, 31, 58, .12);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 750; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); letter-spacing: -.03em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
::selection { background: var(--accent); color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 28px; height: 28px; }

/* --------------------------------------------------------------------------
   Typo helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow--light { color: #9fc0e8; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--muted); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.text-gradient { background: linear-gradient(100deg, var(--brand) 10%, var(--brand-2) 60%, var(--brand-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl { position: relative; white-space: nowrap; isolation: isolate; }
.hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .28em; background: var(--accent); opacity: .55; z-index: -1; border-radius: 4px; transform: skewX(-8deg); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --b-bg: var(--brand); --b-fg: #fff; --b-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: inherit; font-size: .98rem; font-weight: 700; letter-spacing: -.005em;
  color: var(--b-fg); background: var(--b-bg); border: 1.5px solid var(--b-bd);
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { color: var(--b-fg); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0, 85, 150, .55); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--accent { --b-bg: var(--accent); --b-fg: var(--navy-900); }
.btn--accent:hover { box-shadow: 0 12px 24px -10px rgba(244, 176, 0, .7); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line); }
.btn--ghost:hover { --b-bd: var(--brand); --b-fg: var(--brand); box-shadow: none; }
.btn--light { --b-bg: #fff; --b-fg: var(--navy-900); }
.btn--outline-light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255,255,255,.35); }
.btn--outline-light:hover { --b-bd: #fff; box-shadow: none; }
.btn--ams { --b-bg: var(--ams); --b-fg: #fff; }
.btn--ams:hover { box-shadow: 0 12px 28px -10px rgba(27, 160, 106, .7); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 31, 58, .4); background: rgba(255,255,255,.92); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.brand img { width: 74px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; border-left: 1px solid var(--line); padding-left: 14px; }
.brand-text small { font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.brand-text strong { font-size: .98rem; font-weight: 750; color: var(--brand); letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; font-size: .95rem; font-weight: 600; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav__link:hover { background: var(--brand-50); color: var(--brand); }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav__badge { font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; color: #fff; background: var(--ams); line-height: 1.3; }
.nav__cta { margin-left: 10px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--ink); padding: 0 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 1080px) { .nav__phone { display: none; } }
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gutter) 28px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(11, 31, 58, .35);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { padding: 14px 8px; border-radius: 10px; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__cta { margin: 20px 0 0; }
  .nav__cta .btn { width: 100%; }
  .nav__phone { display: inline-flex; justify-content: center; padding: 16px 0 0; }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open .nav-toggle .icon-open { display: none; }
  body.nav-open .nav-toggle .icon-close { display: block; }
}
@media (max-width: 480px) {
  .brand img { width: 60px; }
  .brand-text small { font-size: .66rem; }
  .brand-text strong { font-size: .88rem; }
}

/* --------------------------------------------------------------------------
   Hero (Home)
   -------------------------------------------------------------------------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(71, 113, 170, .16), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(244, 176, 0, .10), transparent 60%),
    linear-gradient(180deg, #f7faff 0%, #fff 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: linear-gradient(rgba(0, 85, 150, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 85, 150, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 580px; margin-bottom: 34px; }
.hero__roles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-size: .82rem; font-weight: 650; color: var(--brand); background: #fff; border: 1px solid var(--brand-100);
  box-shadow: var(--shadow-sm);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__meta-item { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--muted); line-height: 1.35; }
.hero__meta-item strong { display: block; color: var(--ink); font-size: .98rem; }
.hero__meta-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }

.hero__visual { position: relative; justify-self: center; width: 100%; max-width: 460px; }
.portrait {
  position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg); background: var(--brand-50);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 20, 39, .55)); }
.portrait__caption { position: absolute; left: 24px; bottom: 22px; z-index: 1; color: #fff; line-height: 1.3; }
.portrait__caption strong { display: block; font-size: 1.15rem; }
.portrait__caption span { font-size: .88rem; opacity: .85; }
.hero__ring { position: absolute; inset: -28px -28px auto auto; width: 180px; height: 180px; border-radius: 50%; border: 2px dashed rgba(0, 85, 150, .25); z-index: -1; animation: spin 40s linear infinite; }
.hero__square { position: absolute; left: -26px; bottom: 60px; width: 110px; height: 110px; border-radius: 24px; background: var(--accent); opacity: .9; z-index: -1; transform: rotate(-8deg); }
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow); border: 1px solid rgba(226, 232, 241, .8); font-size: .84rem; line-height: 1.3; color: var(--muted);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--ink); font-size: .92rem; }
.float-card__icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--brand); color: #fff; flex: none; }
.float-card__icon--accent { background: var(--accent); color: var(--navy-900); }
.float-card__icon--ams { background: var(--ams); }
.float-card--1 { top: 34px; left: -48px; }
.float-card--2 { top: 46%; right: -40px; animation-delay: -2s; }
.float-card--3 { bottom: 92px; left: -36px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; margin-top: 16px; }
  .float-card--1 { left: -12px; }
  .float-card--2 { right: -12px; }
  .float-card--3 { left: -12px; }
}
@media (max-width: 520px) {
  .float-card { font-size: .76rem; padding: 9px 12px 9px 9px; }
  .float-card strong { font-size: .82rem; }
  .float-card__icon { width: 34px; height: 34px; }
  .float-card--1 { left: -8px; top: 18px; }
  .float-card--2 { right: -8px; }
  .float-card--3 { display: none; }
  .hero__ring { display: none; }
  .hero__square { left: -14px; width: 80px; height: 80px; }
}

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust .container { display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; justify-content: space-between; }
.trust__label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trust__items { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; }
.trust__items li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.trust__items .icon { color: var(--brand); width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); color: var(--ink-2); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity .35s;
  background: radial-gradient(400px 200px at 0% 0%, var(--brand-50), transparent 70%);
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-100); color: var(--ink-2); }
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--brand-50); color: var(--brand); transition: background .35s, color .35s, transform .35s var(--ease);
}
.service-card:hover .service-card__icon { background: var(--brand); color: #fff; transform: rotate(-6deg); }
.service-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.service-card p { font-size: .93rem; color: var(--muted); line-height: 1.55; margin-bottom: 20px; }
.service-card .link-arrow { margin-top: auto; font-size: .9rem; }
.service-card__num { position: absolute; top: 22px; right: 24px; font-size: .8rem; font-weight: 800; color: var(--brand-100); letter-spacing: .05em; }
@media (max-width: 1080px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Split / values
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.media-stack { position: relative; }
.media-stack__main { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); max-width: 460px; }
.media-stack__main img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__quote {
  position: absolute; right: 0; bottom: 40px; max-width: 300px; padding: 24px; border-radius: var(--radius-lg);
  background: var(--navy-900); color: #dce6f5; box-shadow: var(--shadow-lg); font-size: .98rem; line-height: 1.5;
}
.media-stack__quote::before { content: "“"; display: block; font-size: 3.4rem; line-height: .6; color: var(--accent); font-weight: 800; margin-bottom: 8px; }
.media-stack__quote cite { display: block; margin-top: 12px; font-style: normal; font-size: .82rem; color: #8fa7c7; font-weight: 600; }
@media (max-width: 900px) { .media-stack__main { margin: 0 auto; } .media-stack__quote { position: relative; right: auto; bottom: auto; margin: -60px auto 0; } }

.values { display: grid; gap: 14px; margin-top: 32px; }
.value { display: flex; gap: 18px; padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.value:hover { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.value__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent-600); flex: none; }
.value h3 { font-size: 1.05rem; margin-bottom: 4px; }
.value p { font-size: .94rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--brand-100) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__num {
  position: relative; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--brand); border: 2px solid var(--brand-100); font-weight: 800; font-size: 1.2rem; box-shadow: 0 0 0 8px var(--bg-soft);
}
.step:hover .step__num { background: var(--brand); color: #fff; border-color: var(--brand); }
.step__num { transition: background .3s, color .3s, border-color .3s; }
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: .93rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; text-align: left; padding: 0; }
  .step__num { margin: 0; grid-row: span 2; }
}

/* --------------------------------------------------------------------------
   AMS Go teaser (dark green band)
   -------------------------------------------------------------------------- */
.ams-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl);
  background: radial-gradient(800px 400px at 100% 0%, rgba(63, 209, 143, .22), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(27, 160, 106, .18), transparent 60%), var(--ams-dark);
  color: #cfe6dc; padding: clamp(36px, 6vw, 72px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center;
}
.ams-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.ams-band h2 { color: #fff; }
.ams-band p { color: #b8d4c8; }
.ams-band__logo { width: 170px; margin-bottom: 26px; }
.ams-band .eyebrow { color: var(--ams-light); }
.ams-band .eyebrow::before { background: var(--ams-light); }
.ams-list { list-style: none; display: grid; gap: 12px; margin: 26px 0 34px; }
.ams-list li { display: flex; gap: 12px; align-items: flex-start; color: #e3f2eb; font-weight: 550; }
.ams-list .icon { color: var(--ams-light); width: 22px; height: 22px; margin-top: 2px; }
@media (max-width: 900px) { .ams-band { grid-template-columns: 1fr; } }

/* App mockup – echte Screenshots aus AMS Go */
.mock { position: relative; padding: 0 28px 48px 0; }
.mock__window {
  position: relative; border-radius: 16px; background: #fff; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1);
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transform-origin: left center; transition: transform .6s var(--ease);
}
.mock:hover .mock__window { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f3f6f5; border-bottom: 1px solid #e3ece8; }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; }
.mock__bar i:nth-child(1) { background: #ff6b5f; } .mock__bar i:nth-child(2) { background: #ffc130; } .mock__bar i:nth-child(3) { background: #2ac84a; }
.mock__url { margin-left: 10px; flex: 1; max-width: 240px; height: 20px; border-radius: 6px; background: #fff; border: 1px solid #e3ece8; font-size: 10px; color: #6c8178; display: flex; align-items: center; gap: 5px; padding: 0 8px; font-weight: 600; }
.mock__url svg { width: 10px; height: 10px; stroke-width: 2.4; color: var(--ams); }
.mock__slides { position: relative; aspect-ratio: 1920 / 1059; background: #f6faf8; }
.mock__slide { position: absolute; inset: 0; margin: 0; opacity: 0; animation: mockFade4 20s infinite; }
.mock__slide:first-child { opacity: 1; }
.mock__slide:nth-child(1) { animation-delay: -1s; }
.mock__slide:nth-child(2) { animation-delay: 4s; }
.mock__slide:nth-child(3) { animation-delay: 9s; }
.mock__slide:nth-child(4) { animation-delay: 14s; }
.mock__slide img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.mock__slide figcaption {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(15, 46, 41, .92); color: #fff;
  font-size: 11.5px; font-weight: 700; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5);
}
.mock__slide figcaption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ams-light); box-shadow: 0 0 0 3px rgba(63,209,143,.25); }
.mock__phone {
  position: absolute; right: 0; bottom: 0; width: 34%; max-width: 172px; border-radius: 28px; padding: 7px; background: #0b1a17;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.12); animation: float 7s ease-in-out infinite;
}
.mock__screen { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 804 / 1748; background: #f6faf8; }
.mock__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: mockFade2 12s infinite; }
.mock__screen img:first-child { opacity: 1; }
.mock__screen img:nth-child(1) { animation-delay: -1s; }
.mock__screen img:nth-child(2) { animation-delay: 5s; }
/* Neues Bild blendet über dem alten ein – das alte bleibt deckend, bis das neue vollständig sichtbar ist */
@keyframes mockFade4 { 0% { opacity: 0; } 4% { opacity: 1; } 29% { opacity: 1; } 33% { opacity: 0; } 100% { opacity: 0; } }
@keyframes mockFade2 { 0% { opacity: 0; } 6% { opacity: 1; } 56% { opacity: 1; } 62% { opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 560px) {
  .mock { padding-right: 16px; }
  .mock__window { transform: none; }
  .mock__slide figcaption { font-size: 10px; left: 8px; bottom: 8px; }
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl);
  background: linear-gradient(120deg, var(--brand) 0%, var(--navy-800) 100%); color: #d6e4f5;
  padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.05); z-index: -1; }
.cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--accent), transparent 60%); z-index: -1; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { margin: 0; color: #c2d5ee; font-size: 1.08rem; }
.cta__actions { display: grid; gap: 12px; justify-items: start; }
.cta__contact { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; font-size: .95rem; }
.cta__contact a { color: #fff; font-weight: 650; display: inline-flex; gap: 10px; align-items: center; }
.cta__contact a:hover { color: var(--accent); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Page hero (sub pages)
   -------------------------------------------------------------------------- */
.page-hero { position: relative; isolation: isolate; padding: clamp(48px, 7vw, 88px) 0 clamp(48px, 6vw, 72px); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 360px at 90% 0%, rgba(71, 113, 170, .16), transparent 60%), linear-gradient(180deg, #f5f9ff, #fff);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(0, 85, 150, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 85, 150, .06) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 0%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 80% 0%, #000 20%, transparent 70%);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 860px; }
.page-hero .lead { max-width: 720px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; font-size: .86rem; font-weight: 600; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--brand-3); }
.page-hero__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--brand); color: #fff; margin-bottom: 22px; box-shadow: 0 14px 30px -12px rgba(0,85,150,.6); }

/* Service detail */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.detail__content > p:first-child { font-size: 1.12rem; color: var(--ink-2); }
.detail__content h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 1.6em; }
.detail__figure { border-radius: var(--radius-lg); overflow: hidden; margin: 0 0 32px; aspect-ratio: 16/8; box-shadow: var(--shadow); }
.detail__figure img { width: 100%; height: 100%; object-fit: cover; }
.quote-box { border-left: 4px solid var(--accent); background: var(--accent-50); padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 28px; font-size: 1.05rem; color: var(--ink); font-style: italic; }
.quote-box cite { display: block; font-style: normal; font-weight: 700; font-size: .86rem; color: var(--accent-600); margin-top: 8px; }
.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 24px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); font-size: .96rem; line-height: 1.5; color: var(--ink-2); }
.checklist .icon { color: #fff; background: var(--brand); border-radius: 50%; padding: 4px; width: 24px; height: 24px; stroke-width: 2.6; margin-top: 1px; }
@media (max-width: 640px) { .checklist { grid-template-columns: 1fr; } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag { padding: 6px 12px; border-radius: 8px; background: var(--brand-50); color: var(--brand); font-weight: 700; font-size: .82rem; }
.note-ams {
  display: flex; gap: 18px; align-items: center; margin-top: 36px; padding: 22px 24px; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #eefaf4, #f6fbf9); border: 1px solid #cdeedd;
}
.note-ams__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--ams); color: #fff; flex: none; }
.note-ams p { margin: 0; font-size: .95rem; color: #2c4a40; }
.note-ams strong { color: var(--ams-dark); }
.note-ams a { color: #137a50; font-weight: 700; white-space: nowrap; }

.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-card { border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; padding: 22px; }
.side-card h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; }
.side-nav { list-style: none; display: grid; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.side-nav a .icon { width: 20px; height: 20px; color: var(--brand-3); }
.side-nav a:hover { background: var(--bg-soft); color: var(--brand); }
.side-nav a[aria-current="page"] { background: var(--brand); color: #fff; }
.side-nav a[aria-current="page"] .icon { color: #fff; }
.side-card--dark { background: var(--navy-900); border-color: var(--navy-900); color: #c4d3e8; }
.side-card--dark h3 { color: #8fa7c7; }
.side-card--dark p { font-size: .95rem; }
.side-card--dark strong { color: #fff; font-size: 1.15rem; display: block; margin-bottom: 6px; letter-spacing: -.01em; }
.side-card--dark .btn { width: 100%; margin-top: 6px; }
.side-card--dark a.phone { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; margin-top: 14px; justify-content: center; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } .sidebar { position: static; } }

/* Leistungen overview list */
.service-rows { display: grid; gap: 20px; }
.service-row {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 32px; align-items: center; padding: 18px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); color: var(--ink-2); transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .3s;
}
.service-row:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--brand-100); color: var(--ink-2); }
.service-row__img { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; }
.service-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-row:hover .service-row__img img { transform: scale(1.06); }
.service-row h2 { font-size: 1.4rem; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.service-row h2 .icon { color: var(--brand); }
.service-row p { margin: 0; color: var(--muted); font-size: .97rem; }
.service-row__go { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--brand); margin-right: 12px; transition: background .3s, color .3s, border-color .3s; }
.service-row:hover .service-row__go { background: var(--brand); color: #fff; border-color: var(--brand); }
@media (max-width: 760px) {
  .service-row { grid-template-columns: 1fr; gap: 18px; }
  .service-row__img { aspect-ratio: 16/8; }
  .service-row__go { display: none; }
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.fact { padding: 18px 20px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.fact small { display: block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.fact strong { color: var(--ink); font-size: 1rem; line-height: 1.35; display: block; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }
.prose { max-width: 760px; }
.prose p { font-size: 1.05rem; }
.timeline { list-style: none; position: relative; display: grid; gap: 22px; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--brand-100); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.timeline li.is-ams::before { border-color: var(--ams); }
.timeline strong { display: block; color: var(--ink); }
.timeline span { color: var(--muted); font-size: .95rem; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 400px 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { display: grid; gap: 4px; padding: 28px; border-radius: var(--radius-lg); background: var(--navy-900); color: #c4d3e8; position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 36px solid rgba(255,255,255,.04); }
.contact-card__person { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-card__person img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 3px solid rgba(255,255,255,.15); }
.contact-card__person strong { display: block; color: #fff; font-size: 1.08rem; }
.contact-card__person span { font-size: .88rem; }
.contact-line { display: flex; gap: 14px; align-items: center; padding: 10px 0; color: #e6eef9; font-weight: 600; position: relative; z-index: 1; }
.contact-line:hover { color: var(--accent); }
.contact-line__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: var(--accent); flex: none; }
.contact-line small { display: block; font-size: .76rem; font-weight: 600; color: #8fa7c7; text-transform: uppercase; letter-spacing: .08em; }
.contact-card .btn-row { margin-top: 18px; position: relative; z-index: 1; }

.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field label span { color: var(--muted); font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-soft);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 16px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(0, 85, 150, .12); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { display: none; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; margin-bottom: 22px; font-weight: 600; font-size: .95rem; }
.alert.is-visible { display: flex; }
.alert--ok { background: #e6f7ee; color: #146b45; border: 1px solid #bde6cf; }
.alert--err { background: #fdecec; color: #9b1c1c; border: 1px solid #f5c2c2; }

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */
.legal > * { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.12rem; margin-top: 1.8em; }
.legal h4 { font-size: 1rem; margin-top: 1.4em; }
.legal p, .legal li { font-size: .98rem; overflow-wrap: anywhere; }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal-card { padding: 24px 28px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 18px; }
.legal-card h2 { border: 0; margin: 0 0 10px; padding: 0; font-size: 1.1rem; }
.legal-card p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   AMS Go page
   -------------------------------------------------------------------------- */
.page--ams .site-header { background: rgba(10, 32, 29, .7); }
.page--ams .site-header.is-scrolled { background: rgba(10, 32, 29, .92); border-color: rgba(255,255,255,.08); }
.page--ams .brand-text { border-color: rgba(255,255,255,.15); }
.page--ams .brand-text small { color: #9fbfb2; }
.page--ams .brand-text strong { color: #fff; }
.page--ams .brand img { filter: brightness(0) invert(1); }
.page--ams .nav__link { color: #d5e8df; }
.page--ams .nav__link:hover { background: rgba(255,255,255,.08); color: #fff; }
.page--ams .nav__link[aria-current="page"] { color: #fff; }
.page--ams .nav__link[aria-current="page"]::after { background: var(--ams-light); }
.page--ams .nav__phone { color: #fff; }
.page--ams .nav-toggle { background: transparent; color: #fff; border-color: rgba(255,255,255,.2); }
@media (max-width: 920px) {
  .page--ams .nav { background: var(--ams-darker); border-color: rgba(255,255,255,.08); }
  .page--ams .nav__link { border-color: rgba(255,255,255,.08); }
}
.page--ams .site-header { margin-bottom: calc(var(--header-h) * -1); }

.ams-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #cfe6dc;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(80px, 10vw, 140px);
  background: radial-gradient(900px 520px at 80% 20%, rgba(63, 209, 143, .22), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(27, 160, 106, .2), transparent 60%), var(--ams-darker);
}
.ams-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 20%, transparent 75%);
}
.ams-hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (max-width: 980px) { .ams-hero__grid { grid-template-columns: 1fr; } }
.ams-hero__logo { width: 210px; margin-bottom: 30px; }
.ams-hero h1 { color: #fff; }
.ams-hero h1 em { font-style: normal; color: var(--ams-light); }
.ams-hero .lead { color: #b6d3c6; margin-bottom: 34px; max-width: 560px; }
.ams-hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; list-style: none; }
.ams-hero__badges li { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 650; color: #d9ede4; }
.ams-hero__badges .icon { color: var(--ams-light); width: 18px; height: 18px; }
.ams-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: .84rem; font-weight: 650; color: #d9ede4; margin-bottom: 26px; }
.ams-kicker b { background: var(--ams); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }

.ams-section-head .eyebrow { color: var(--ams); }
.ams-section-head .eyebrow::before { background: var(--ams); }
.ams-text-gradient { background: linear-gradient(100deg, var(--ams-dark), var(--ams)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.feature-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: calc(clamp(80px, 10vw, 140px) * -1 + 24px); position: relative; z-index: 2; }
.feature { padding: 28px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid #e3ece8; }
.feature__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: #e5f6ee; color: var(--ams); margin-bottom: 18px; }
.feature h3 { font-size: 1.12rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .feature-trio { grid-template-columns: 1fr; } }

.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }
.story__card { position: relative; border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 44px); background: var(--ams-dark); color: #cfe6dc; overflow: hidden; }
.story__card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(63,209,143,.35), transparent 70%); }
.story__card blockquote { margin: 0; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; color: #fff; font-weight: 600; letter-spacing: -.01em; position: relative; z-index: 1; }
.story__card blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--ams-light); margin-bottom: 14px; }
.story__person { display: flex; align-items: center; gap: 14px; margin-top: 28px; position: relative; z-index: 1; }
.story__person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 2px solid var(--ams); }
.story__person strong { display: block; color: #fff; }
.story__person span { font-size: .88rem; color: #9fc2b4; }

.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.module {
  display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid #e3ece8; color: var(--ink-2);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.module:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(15, 46, 41, .35); border-color: #bfe6d3; color: var(--ink-2); }
.module__head { display: flex; align-items: center; justify-content: space-between; }
.module__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #e5f6ee; color: var(--ams); transition: background .3s, color .3s; }
.module:hover .module__icon { background: var(--ams); color: #fff; }
.module__ext { color: #b4c7bf; width: 18px; height: 18px; transition: color .3s, transform .3s var(--ease); }
.module:hover .module__ext { color: var(--ams); transform: translate(2px, -2px); }
.module h3 { font-size: 1.02rem; margin: 6px 0 0; }
.module p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 1080px) { .modules { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .modules { grid-template-columns: 1fr; } }

.compare { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid #dfe9e4; background: #fff; box-shadow: var(--shadow); }
.compare__row { display: grid; grid-template-columns: 180px 1fr 1fr; }
.compare__row > div { padding: 18px 22px; border-top: 1px solid #edf3f0; display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.compare__row:first-child > div { border-top: 0; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: #f7faf9; }
.compare__row:first-child > div:last-child { color: #fff; background: var(--ams); }
.compare__row > div:first-child { font-weight: 750; color: var(--ink); }
.compare__row > div:nth-child(2) { color: var(--muted); }
.compare__row > div:nth-child(3) { background: #f2fbf6; color: #1d3b33; font-weight: 600; }
.compare .icon { width: 20px; height: 20px; margin-top: 2px; }
.compare .icon-x { color: #c46a6a; }
.compare .icon-ok { color: var(--ams); }
@media (max-width: 700px) {
  .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__row > div:first-child { grid-column: 1 / -1; background: #f7faf9; padding-bottom: 8px; padding-top: 14px; }
  .compare__row:first-child > div:first-child { display: none; }
  .compare__row > div:nth-child(2), .compare__row > div:nth-child(3) { border-top: 0; font-size: .9rem; }
}

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo__card { padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.duo__card--ams { background: var(--ams-dark); border-color: var(--ams-dark); color: #cfe6dc; }
.duo__card--ams h3 { color: #fff; }
.duo__card h3 { font-size: 1.35rem; display: flex; gap: 12px; align-items: center; }
.duo__card ul { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.duo__card li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.duo__card li .icon { width: 20px; height: 20px; color: var(--brand); margin-top: 3px; }
.duo__card--ams li .icon { color: var(--ams-light); }
.duo__plus { display: none; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

.app-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.app-badge { display: inline-block; line-height: 0; border-radius: 10px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.app-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0,0,0,.6); }
.app-badge img { height: 48px; width: auto; }

.ams-final {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; border-radius: var(--radius-xl);
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 64px); color: #cfe6dc;
  background: radial-gradient(600px 300px at 50% 0%, rgba(63, 209, 143, .3), transparent 70%), var(--ams-dark);
}
.ams-final h2 { color: #fff; max-width: 760px; margin-left: auto; margin-right: auto; }
.ams-final p { max-width: 620px; margin: 0 auto 32px; color: #b6d3c6; font-size: 1.1rem; }
.ams-final .btn-row { justify-content: center; }
.ams-final__url { display: inline-block; margin-top: 22px; font-weight: 700; color: var(--ams-light); letter-spacing: .02em; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: #9db0c9; padding: clamp(56px, 7vw, 88px) 0 28px; margin-top: clamp(72px, 10vw, 128px); font-size: .95rem; }
.site-footer--flush { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 96px; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.site-footer h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #c9d6e8; }
.site-footer a:hover { color: var(--accent); }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--accent); width: 20px; height: 20px; margin-top: 3px; }
.footer-ams {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; padding: 10px 16px 10px 10px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(27, 160, 106, .2), rgba(27, 160, 106, .04));
  border: 1px solid rgba(63, 209, 143, .28); color: #fff;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s var(--ease);
}
.footer-ams:hover { color: #fff; border-color: rgba(63, 209, 143, .6); transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(27, 160, 106, .8); }
.footer-ams__logo { display: grid; place-items: center; padding: 11px 12px; border-radius: 12px; background: var(--ams-dark); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.footer-ams__logo img { width: 74px; height: auto; display: block; }
.footer-ams__text { display: flex; flex-direction: column; line-height: 1.25; }
.footer-ams__text small { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ams-light); }
.footer-ams__text strong { font-size: .95rem; font-weight: 700; color: #fff; }
.footer-ams .icon { width: 18px; height: 18px; color: var(--ams-light); margin-left: 4px; transition: transform .3s var(--ease); }
.footer-ams:hover .icon { transform: translateX(3px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: .86rem; }
.footer-bottom ul { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound__code { font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; margin-bottom: 8px; }
.notfound .btn-row { justify-content: center; }

@media print {
  .site-header, .site-footer, .cta, .sidebar, .nav-toggle { display: none !important; }
  body { font-size: 12pt; }
}

/* Feinschliff */
.breadcrumb { padding: 0; margin-top: 0; }
.detail__figure { aspect-ratio: 16 / 9; }
.detail__figure img { object-position: 50% 38%; }
.page--ams .nav__cta .btn { --b-bg: var(--ams); }
.page--ams .nav__cta .btn:hover { box-shadow: 0 12px 24px -10px rgba(27, 160, 106, .7); }

/* Hero-Karten: Gesicht freihalten */
.hero__visual { padding-top: 34px; }
.float-card--1 { top: 0; left: auto; right: -44px; }
.float-card--2 { top: auto; bottom: 210px; right: -44px; }
.float-card--3 { bottom: 104px; left: -40px; }
@media (max-width: 980px) {
  .float-card--1 { right: -12px; left: auto; }
  .float-card--2 { right: -12px; }
  .float-card--3 { left: -12px; }
}
@media (max-width: 520px) {
  .hero__visual { padding-top: 28px; }
  .float-card--1 { top: 0; right: -8px; left: auto; }
  .float-card--2 { bottom: 96px; right: -8px; }
}

/* AMS Go ganz rechts in der Navigation */
.nav__ams {
  display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 16px; margin-left: 10px;
  border-radius: 999px; background: var(--ams-dark); box-shadow: inset 0 0 0 1px rgba(63, 209, 143, .35);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.nav__ams img { width: 64px; height: auto; display: block; }
.nav__ams:hover { background: #134038; transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(63, 209, 143, .7), 0 12px 24px -10px rgba(27, 160, 106, .6); }
.nav__ams[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--ams-light); }
.page--ams .nav__ams { background: rgba(255, 255, 255, .06); }
@media (max-width: 920px) {
  .nav__ams { margin: 12px 0 0; height: 52px; }
  .nav__ams img { width: 80px; }
}
.footer-ams__text strong { white-space: nowrap; }
.footer-ams { align-items: stretch; }
.footer-ams__logo { display: flex; align-items: center; justify-content: center; padding: 0 14px; min-height: 46px; }
.footer-ams__text { justify-content: center; }
.footer-ams .icon { align-self: center; }
.footer-ams { max-width: 100%; }
.footer-ams__logo { flex: none; }
.footer-ams__logo img { width: 74px; min-width: 74px; }
.footer-ams__text { min-width: 0; }
.footer-ams__text strong { white-space: normal; }
.footer-ams__text strong { white-space: nowrap; }
.footer-brand .footer-ams__logo img { margin: 0; filter: none; opacity: 1; }
