/* =========================================================
   RSLT GmbH – Modern Design Layer (auf Basis von UIkit 3.25.28)
   ========================================================= */

:root {
  --rslt-navy: #183862;
  --rslt-navy-dark: #0d2444;
  --rslt-navy-darker: #091a33;
  --rslt-blue: #2f6db5;
  --rslt-ink: #1b2531;
  --rslt-muted: #5c6b7d;
  --rslt-bg: #f6f8fb;
  --rslt-border: #e2e8f1;
  --rslt-radius: 18px;
  --rslt-shadow: 0 14px 34px rgba(13, 36, 68, 0.10);
  --rslt-shadow-hover: 0 22px 48px rgba(13, 36, 68, 0.16);
  --rslt-nav-h: 72px;
  --rslt-topbar-h: 40px;
  --rslt-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--rslt-nav-h) + var(--rslt-topbar-h) + 14px);
}
body {
  font-family: var(--rslt-font);
  color: var(--rslt-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--rslt-ink);
}
a { color: var(--rslt-blue); }
a:hover { color: var(--rslt-navy); }

/* ---------- Navigation ---------- */
.rslt-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.rslt-nav {
  min-height: var(--rslt-nav-h);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(27, 37, 49, 0.07);
  border-radius: 0;
  box-shadow: 0 6px 24px rgba(13, 36, 68, 0.06);
}
.rslt-nav-links > li > a {
  color: var(--rslt-ink);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}
.rslt-nav-links > li > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--rslt-blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}
.rslt-nav-links > li > a:hover::after,
.rslt-nav-links > li > a.rslt-active::after { transform: scaleX(1); }
.rslt-nav-links > li > a.rslt-active { color: var(--rslt-navy); }

/* ---------- Mobiles Offcanvas-Menü ---------- */
.rslt-offcanvas-bar {
  background: linear-gradient(160deg, #0b1e3a 0%, #14345c 100%);
  width: 300px;
  padding: 44px 30px;
}
.rslt-offcanvas-bar .uk-offcanvas-close { color: #fff; }
.rslt-offcanvas-nav { margin-top: 12px; }
.rslt-offcanvas-nav > li > a {
  color: #dfe9f5;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 11px 0;
}
.rslt-offcanvas-nav > li > a:hover,
.rslt-offcanvas-nav .uk-active > a { color: #fff; }

/* ---------- Hero ---------- */
.rslt-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: calc(var(--rslt-nav-h) + var(--rslt-topbar-h) + 58px) 0 140px;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(96, 144, 205, 0.38), transparent 60%),
    radial-gradient(720px 440px at -12% 112%, rgba(96, 144, 205, 0.25), transparent 55%),
    linear-gradient(155deg, #0b1e3a 0%, var(--rslt-navy) 55%, #27507f 100%);
}
.rslt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.6px);
  background-size: 26px 26px;
  opacity: 0.28;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 75%, transparent);
}
.rslt-hero-mark {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: min(360px, 45vw);
  height: auto;
  pointer-events: none;
}
.rslt-hero-inner { position: relative; }
.rslt-hero-logo {
  display: block;
  height: 64px;
  width: auto;
  margin: 0 auto 34px;
  filter: brightness(0) invert(1);
}
@media (max-width: 639px) {
  .rslt-hero-logo { height: 48px; margin: 0 auto 26px; }
}
.rslt-pill {
  display: inline-flex;
  align-items: center;
  margin-bottom: 30px;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #d7e5f4;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rslt-hero h1 {
  margin: 0 0 22px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(2.7rem, 6.2vw, 4.3rem);
  line-height: 1.08;
}
.rslt-accent {
  background: linear-gradient(90deg, #a9c9f0, #5f92d6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rslt-hero-sub {
  margin: 0 auto;
  max-width: 640px;
  color: #c9d9ec;
  font-size: 1.15rem;
  line-height: 1.65;
}
.rslt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

/* ---------- Buttons ---------- */
.rslt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
}
.rslt-btn svg { width: 18px; height: 18px; }
.rslt-btn:hover {
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}
.rslt-btn:active { transform: translateY(0); }
.rslt-btn:focus-visible {
  outline: 3px solid rgba(95, 146, 214, 0.55);
  outline-offset: 2px;
}
.rslt-btn--light {
  background: #fff;
  color: var(--rslt-navy);
  box-shadow: 0 10px 26px rgba(5, 18, 38, 0.28);
}
.rslt-btn--light:hover { box-shadow: 0 16px 34px rgba(5, 18, 38, 0.34); }
.rslt-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}
.rslt-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
}
.rslt-btn--solid {
  background: var(--rslt-navy);
  color: #fff;
}
.rslt-btn--solid:hover { background: #1e4680; }

/* =========================================================
   P3: Header (Topbar/Nav), Kontakt & Formular
   ========================================================= */

/* ---------- Topbar ---------- */
.rslt-topbar {
  background: var(--rslt-navy-darker);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  max-height: 44px;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
.rslt-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--rslt-topbar-h);
}
.rslt-topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s ease;
}
.rslt-topbar a:hover { color: #fff; }
.rslt-topbar .uk-icon { font-size: 0.95rem; }
.rslt-topbar-sep { opacity: 0.35; margin: 0 10px; }
.rslt-topbar-logo {
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ---------- Mobile: Hamburger in der Topbar, Navbar einklappen ---------- */
.rslt-burger {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.rslt-burger:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.rslt-burger:focus-visible { outline: 2px solid rgba(95, 146, 214, 0.6); outline-offset: 2px; }
.rslt-burger svg { display: block; width: 22px; height: 22px; }

@media (max-width: 959px) {
  html { scroll-padding-top: calc(var(--rslt-topbar-h) + 14px); }
  .rslt-topbar-left { gap: 8px; }
  .rslt-nav { display: none; }
  .rslt-header.is-scrolled .rslt-topbar { max-height: 44px; opacity: 1; }
  .rslt-hero { padding-top: calc(var(--rslt-topbar-h) + 44px); }
  .rslt-legalpage-hero { padding-top: calc(var(--rslt-topbar-h) + 40px); }
}

/* ---------- Nav: CTA & Scroll-Zustand ---------- */
.rslt-nav { transition: min-height 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; }
.rslt-header.is-scrolled .rslt-topbar { max-height: 0; opacity: 0; }
.rslt-header.is-scrolled .rslt-nav {
  min-height: 60px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(13, 36, 68, 0.14);
}

/* ---------- Kontakt ---------- */
.rslt-kontakt {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 110px 0 120px;
  background:
    radial-gradient(800px 460px at -10% -20%, rgba(96, 144, 205, 0.30), transparent 60%),
    radial-gradient(720px 420px at 110% 115%, rgba(96, 144, 205, 0.26), transparent 55%),
    linear-gradient(160deg, #0b1e3a 0%, var(--rslt-navy) 55%, #27507f 100%);
}
.rslt-kontakt-inner { max-width: 600px; }
.rslt-kontakt .rslt-eyebrow { color: #8fb8e8; }
.rslt-kontakt h2 { color: #fff; }
.rslt-kontakt-lead { color: #c9d9ec; font-size: 1.05rem; line-height: 1.65; max-width: 480px; }
.rslt-kontakt-list { list-style: none; margin: 30px 0 0; padding: 0; }
.rslt-kontakt-list > li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.rslt-kontakt-list > li:first-child { padding-top: 4px; }
.rslt-kontakt-list > li:last-child { border-bottom: none; }
.rslt-kontakt-ico {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  font-size: 1.05rem;
  color: #bcd6f5;
}
.rslt-kontakt-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2px;
}
.rslt-kontakt-value { font-size: 1.02rem; font-weight: 600; color: #fff; }
.rslt-kontakt-list a { text-decoration: none; }
.rslt-kontakt-list a:hover { color: #bcd6f5; }
/* rslt-css-part-a */

/* rslt-css-part-b */

/* ---------- P2: Sektionen, Karten, Animation ---------- */
.rslt-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.rslt-reveal.rslt-inview { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rslt-reveal { opacity: 1; transform: none; transition: none; }
}
.rslt-section { padding: 110px 0; background: var(--rslt-bg); }
.rslt-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rslt-blue);
  margin-bottom: 14px;
}
.rslt-section-lead { color: var(--rslt-muted); font-size: 1.05rem; line-height: 1.65; margin: 0; }
.rslt-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 241, 0.8);
  border-radius: var(--rslt-radius);
  padding: 34px 30px;
  height: 100%;
  box-shadow: var(--rslt-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rslt-card:hover { transform: translateY(-5px); box-shadow: var(--rslt-shadow-hover); }
.rslt-card h3 { margin: 18px 0 10px; font-size: 1.35rem; color: var(--rslt-navy); }
.rslt-card p { color: var(--rslt-muted); line-height: 1.65; margin: 0; }
.rslt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(47, 109, 181, 0.14), rgba(24, 56, 98, 0.10));
  color: var(--rslt-navy);
}
.rslt-icon svg { width: 26px; height: 26px; stroke: currentColor; }
.rslt-icon--soft { background: rgba(24, 56, 98, 0.07); }

/* ---------- Standorte ---------- */
.rslt-office-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.rslt-office-head h3 { margin: 0 0 4px; font-size: 1.3rem; color: var(--rslt-navy); }
.rslt-office-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--rslt-navy);
  background: rgba(47, 109, 181, 0.12);
  border-radius: 999px;
  padding: 3px 12px;
}
.rslt-office-list > li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--rslt-muted);
  line-height: 1.55;
}
.rslt-office-list > li a { color: var(--rslt-muted); font-weight: 600; text-decoration: none; }
.rslt-office-list > li a:hover { color: var(--rslt-blue); }
.rslt-ico { flex: 0 0 auto; color: var(--rslt-blue); margin-top: 3px; }

/* ---------- Rechtliches (Standorte-Karte) ---------- */
.rslt-legal-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rslt-navy);
  margin: 0 0 10px;
}
.rslt-ecg { max-width: 110px; }

/* ---------- Footer ---------- */
.rslt-footer {
  background: var(--rslt-navy-darker);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  padding-top: 64px;
}
.rslt-footer h5 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.rslt-footer-logo { height: 34px; width: auto; margin-bottom: 16px; }
.rslt-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.rslt-footer-top p { max-width: 320px; line-height: 1.6; margin: 0; }
.rslt-footer-list { list-style: none; margin: 0; padding: 0; }
.rslt-footer-list > li > a {
  display: inline-block;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}
.rslt-footer-list > li > a:hover { color: #fff; }
.rslt-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 959px) {
  .rslt-footer-top { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Rechtscheine Seiten (Impressum / Datenschutz) ---------- */
.rslt-legalpage-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: calc(var(--rslt-nav-h) + var(--rslt-topbar-h) + 52px) 0 64px;
  background:
    radial-gradient(800px 460px at -10% -30%, rgba(96, 144, 205, 0.30), transparent 60%),
    linear-gradient(160deg, #0b1e3a 0%, var(--rslt-navy) 55%, #27507f 100%);
}
.rslt-legalpage-hero h1 {
  color: #fff;
  margin: 20px 0 0;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.rslt-legalpage-body { padding: 84px 0 100px; background: var(--rslt-bg); }
.rslt-legalcard {
  background: #fff;
  border: 1px solid rgba(226, 232, 241, 0.8);
  border-radius: 20px;
  padding: 44px 48px;
  box-shadow: var(--rslt-shadow);
}
.rslt-legalcard h2 { font-size: 1.08rem; color: var(--rslt-navy); margin: 30px 0 10px; }
.rslt-legalcard h2:first-child { margin-top: 0; }
.rslt-legalcard p { color: var(--rslt-muted); line-height: 1.7; }
.rslt-legalcard a { font-weight: 600; }
@media (max-width: 639px) {
  .rslt-legalcard { padding: 30px 24px; }
}

/* ---------- Ergänzungen ---------- */
.rslt-topbar-left { display: flex; align-items: center; }
.rslt-section-alt { background: #fff; }
.rslt-legal-col { line-height: 1.6; }
.rslt-ecg-link { display: inline-block; max-width: 140px; }

