/* ==========================================================================
   Valoria JP GmbH – Variante 5 «Horizont»
   Hell, luftig, Scroll-Erzählung. Animationen: motion.js (GSAP + Lenis)
   ========================================================================== */

:root {
  --white: #ffffff;
  --mist: #f2f4f7;
  --navy: #10233f;
  --navy-2: #1d3a63;
  --navy-3: #244676;
  --muted: #5b6577;
  --line: #e3e7ed;
  --line-strong: #d3d9e2;
  --field: #8a94a5;
  --gold: #b08d57;
  --gold-ink: #8a6a3b;
  --gold-ink-2: #7f6136;
  --gold-light: #d9bd8c;
  --danger: #b42318;

  --font: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --hh: 84px;
  --hh-sm: 68px;
  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 64px);
  --space: clamp(96px, 12vw, 176px);
  --r-card: 24px;
  --r-media: 32px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-soft: 0 1px 2px rgba(16, 35, 63, .04), 0 18px 40px -22px rgba(16, 35, 63, .18);
  --shadow-lift: 0 2px 6px rgba(16, 35, 63, .05), 0 30px 64px -30px rgba(16, 35, 63, .3);

  interpolate-size: allow-keywords;
}

@media (max-width: 1024px) {
  :root { --hh: 72px; --hh-sm: 64px; }
}

/* ---------- Basis ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

p { text-wrap: pretty; }

body {
  margin: 0;
  padding-top: var(--hh);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Scroll-Sperre bei offenem Mobile-Menü auf html (Viewport), nicht auf body */
html:has(body.nav-open) { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

[hidden] { display: none !important; }

::selection { background: var(--gold-light); color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
.on-dark :focus-visible { outline-color: var(--gold-light); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 300;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
  transform: translateY(-160%);
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: none; }

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

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Typografie ---------- */

h1 {
  font-size: clamp(3rem, 7.5vw, 7rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.03em;
  text-wrap: balance;
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.015em;
}

/* Zweiteilige Überschrift: Akzentwort auf eigener Zeile */
.accent {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.14em;
  line-height: .98;
  letter-spacing: -.01em;
  color: var(--gold-ink);
}
.on-dark .accent { color: var(--gold-light); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.section--mist .kicker { color: var(--gold-ink-2); }
.on-dark .kicker { color: var(--gold-light); }

.lead {
  font-size: clamp(1.0625rem, 1.25vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 38rem;
}
.on-dark .lead { color: rgba(255, 255, 255, .74); }

/* SplitText-Masken: etwas Luft für kursive Überhänge und Unterlängen */
.sword-mask,
.sline-mask {
  padding: .06em .08em .14em;
  margin: -.06em -.08em -.14em;
}

/* ---------- Buttons & Links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn[href^="tel:"]:hover .icon { transform: none; }

.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-2); box-shadow: 0 12px 28px -14px rgba(16, 35, 63, .55); }

.btn-secondary { background: var(--white); color: var(--navy); border-color: rgba(16, 35, 63, .2); }
.btn-secondary:hover { border-color: var(--navy); }

.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--mist); box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .5); }

.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .34); }
.btn-outline-light:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--navy);
}
.link-arrow span {
  padding-bottom: 3px;
  background-image: linear-gradient(var(--navy), var(--navy)), linear-gradient(var(--line-strong), var(--line-strong));
  background-size: 0% 1px, 100% 1px;
  background-position: 0 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size .45s var(--ease);
}
.link-arrow .icon { width: 18px; height: 18px; color: var(--gold); transition: transform .35s var(--ease); }
.link-arrow:hover span { background-size: 100% 1px, 100% 1px; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--hh);
  background: var(--white);
  transition: height .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled {
  height: var(--hh-sm);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}
.logo-mark {
  width: 38px;
  height: 35px;
  color: var(--gold);
  transition: width .35s var(--ease), height .35s var(--ease);
}
.is-scrolled .logo-mark { width: 34px; height: 31px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-size: 1.125rem; font-weight: 600; letter-spacing: .2em; }
.logo-sub { margin-top: 5px; font-size: .625rem; font-weight: 500; letter-spacing: .34em; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 20px; }
.nav-list { display: flex; align-items: center; gap: 2px; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 0;
  background: none;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 5px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s var(--ease);
}
.dropdown-toggle::after { right: 34px; }
.nav-link:hover::after,
.nav-link[aria-current="page"]::after,
.has-dropdown:has([aria-current="page"]) > .dropdown-toggle::after { transform: scaleX(1); }

.chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }

.has-dropdown { position: relative; }

.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: .9375rem;
  color: var(--navy);
  transition: background-color .2s, color .2s;
}
.dropdown a:hover { background: var(--mist); }
.dropdown a[aria-current="page"] { background: var(--mist); color: var(--gold-ink); font-weight: 600; }

.nav-cta { min-height: 46px; padding: 0 22px; font-size: .9375rem; }

.nav-toggle { display: none; }

@media (min-width: 1025px) {
  .dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 230px;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-lift);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .has-dropdown::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 100%;
    height: 12px;
  }
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown,
  .has-dropdown.is-open > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
  .has-dropdown:hover .chev,
  .has-dropdown.is-open .chev { transform: rotate(180deg); }
}

@media (max-width: 1180px) and (min-width: 1025px) {
  .nav-link { padding-inline: 10px; }
  .nav-link::after { left: 10px; right: 10px; }
  .dropdown-toggle::after { right: 30px; }
  .site-nav { gap: 12px; }
}

@media (max-width: 1024px) {
  .nav-toggle {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    cursor: pointer;
  }
  .nav-toggle-bar {
    width: 18px;
    height: 1.5px;
    border-radius: 2px;
    background: var(--navy);
    transition: transform .3s var(--ease), opacity .2s;
  }
  .nav-toggle.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .site-nav {
    position: fixed;
    top: var(--hh);
    left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--pad) 40px;
    background: var(--white);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s, top .35s var(--ease);
  }
  .is-scrolled .site-nav { top: var(--hh-sm); }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 1.375rem;
    letter-spacing: -.01em;
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--gold-ink); }
  .chev { width: 20px; height: 20px; }
  .has-dropdown.is-open .chev { transform: rotate(180deg); }

  .dropdown { display: none; padding: 0 0 16px; }
  .has-dropdown.is-open > .dropdown { display: block; }
  .dropdown a { padding: 10px 0 10px 16px; font-size: 1.0625rem; color: var(--muted); border-radius: 0; }
  .dropdown a:hover { background: none; color: var(--navy); }
  .dropdown a[aria-current="page"] { background: none; color: var(--gold-ink); }

  .nav-cta { margin-top: 32px; min-height: 56px; font-size: 1rem; }

  .logo-mark { width: 34px; height: 31px; }
}

/* ---------- Abschnitte ---------- */

.section { padding-block: var(--space); }
.section--mist { background: var(--mist); }

.section-head {
  max-width: 60rem;
  margin-bottom: clamp(56px, 7vw, 104px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .lead { margin-inline: auto; }

[id] { scroll-margin-top: calc(var(--hh-sm) + 16px); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(32px, 6vh, 72px);
  padding-bottom: clamp(24px, 4vw, 48px);
  overflow: clip;
}

.hero-intro {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-intro .kicker { margin-bottom: clamp(18px, 3vh, 28px); }

.hero-title {
  max-width: 12em;
  margin-bottom: clamp(20px, 3.2vh, 32px);
  font-size: clamp(3rem, min(7.5vw, 12.5vh), 7rem);
}

.hero-lead { margin-bottom: clamp(24px, 4vh, 40px); }

.hero-intro .btn-row { justify-content: center; }

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: .9375rem;
  color: var(--muted);
}
.hero-note .icon { width: 18px; height: 18px; color: var(--gold); }

.hero-slot {
  position: relative;
  width: 70%;
  aspect-ratio: 16 / 9;
  margin: clamp(40px, 7vh, 72px) auto 0;
}

.hero-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--r-media);
  background: var(--mist);
  box-shadow: var(--shadow-soft);
}

.hero-frame { position: absolute; inset: 0; }
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 36%;
}

.hero-shade,
.hero-statement { display: none; }

/* Bühnen-Modus (nur Desktop mit Bewegung, gesetzt von motion.js) */
.hero.is-stage {
  height: calc(100vh - var(--hh-sm));
  padding-bottom: 0;
}
.hero.is-stage .hero-slot { position: static; }
.hero.is-stage .hero-card {
  top: 0; left: 0; right: 0; bottom: auto;
  z-index: 2;
  height: calc(100% + 640px);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.hero.is-stage .hero-frame {
  bottom: auto;
  height: calc(100vh - var(--hh-sm));
  overflow: hidden;
}
.hero.is-stage .hero-shade {
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 20, 38, .82) 0%, rgba(9, 20, 38, .42) 34%, rgba(9, 20, 38, 0) 62%);
  opacity: 0;
}
.hero.is-stage .hero-statement {
  display: block;
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(40px, 9vh, 96px);
  opacity: 0;
}
.hero-statement p {
  max-width: 13em;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.03em;
  color: var(--white);
}
.hero-statement em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.12em;
  letter-spacing: -.01em;
  color: var(--gold-light);
}

/* ---------- Bilder ---------- */

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-media);
  background: var(--mist);
  transform: translateZ(0);
}
.media img {
  position: absolute;
  left: 0;
  top: -10%;
  width: 100%;
  height: 120%;
  object-fit: cover;
}

/* ---------- Über Valoria ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 104px);
}
.about-body .lead { margin-bottom: 32px; }
.about-media { aspect-ratio: 2.1 / 1; }
.about-media img { object-position: 60% 40%; }

/* ---------- Für wen ---------- */

.audience { padding-top: 0; }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.audience-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 500px;
  padding: clamp(32px, 4.5vw, 64px);
  border-radius: var(--r-card);
  background: var(--mist);
  transition: box-shadow .45s var(--ease), background-color .45s var(--ease);
}
.audience-card:hover { background: #eef1f5; box-shadow: var(--shadow-soft); }

.icon-circle {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--white);
  color: var(--gold);
}
.icon-circle .icon { width: 28px; height: 28px; }

.audience-title {
  margin-top: auto;
  padding-top: 72px;
  font-size: clamp(2rem, 3vw, 2.75rem);
  letter-spacing: -.025em;
}
.audience-sub { margin-top: 8px; font-weight: 500; color: var(--gold-ink-2); }
.audience-text { margin-top: 20px; max-width: 30rem; color: var(--muted); }
.audience-card .link-arrow { margin-top: 36px; }

/* ---------- Dienstleistungen (Navy) ---------- */

.services {
  position: relative;
  padding-block: var(--space);
  background: var(--navy);
  color: var(--white);
  overflow: clip;
}

.services-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.services-head .lead { padding-bottom: 8px; }

.services-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.services-track > li { display: flex; }

.svc-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 360px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-card);
  background: var(--navy-2);
  color: var(--white);
  transition: background-color .45s var(--ease), border-color .45s var(--ease);
}
.svc-card:hover { background: var(--navy-3); border-color: rgba(217, 189, 140, .4); }

.svc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: auto;
  padding-bottom: 40px;
}
.svc-num {
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}
.svc-icon { width: 40px; height: 40px; color: var(--gold-light); }

.svc-title {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  letter-spacing: -.02em;
}
.svc-text { font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, .74); }

.svc-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: var(--white);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.svc-arrow .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.svc-card:hover .svc-arrow { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); }
.svc-card:hover .svc-arrow .icon { transform: translateX(3px); }

.services-foot { display: none; }
.services-progress {
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
}
.services-progress span {
  display: block;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
}

/* Horizontal-Modus (Desktop mit Bewegung, gesetzt von motion.js) */
.services.is-horizontal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100vh - var(--hh-sm));
  padding-block: clamp(32px, 6vh, 72px);
}
.services.is-horizontal .services-head { margin-bottom: clamp(28px, 5vh, 56px); }
.services.is-horizontal h2 { font-size: clamp(2.2rem, min(4.5vw, 6.6vh), 4.2rem); }
.services.is-horizontal .services-track {
  display: flex;
  gap: 24px;
  width: max-content;
}
.services.is-horizontal .services-track > li { width: clamp(340px, 28vw, 410px); }
.services.is-horizontal .svc-card { min-height: 0; height: clamp(290px, 43vh, 420px); }
.services.is-horizontal .services-foot { display: block; margin-top: clamp(28px, 5vh, 48px); }

/* ---------- So arbeiten wir ---------- */

.timeline {
  max-width: 1040px;
  margin-inline: auto;
}

.tl-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  column-gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.tl-step:last-child { padding-bottom: 0; }

.tl-seg {
  position: absolute;
  top: 28px;
  left: 50%;
  width: 2px;
  height: 100%;
  margin-left: -1px;
  background: var(--line);
  overflow: hidden;
}
.tl-seg-fill {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform-origin: 50% 0;
}

.tl-marker {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 1.0625rem;
  font-weight: 500;
  box-shadow: 0 0 0 8px rgba(176, 141, 87, .16);
  transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease), box-shadow .8s var(--ease);
}
.timeline.is-animated .tl-step:not(.is-active) .tl-marker {
  background: var(--white);
  border-color: var(--line-strong);
  color: var(--muted);
  box-shadow: 0 0 0 0 rgba(176, 141, 87, 0);
}

.tl-content { grid-row: 1; padding-top: 8px; }
.tl-step:nth-child(odd) .tl-content { grid-column: 1; text-align: right; }
.tl-step:nth-child(odd) .tl-content p { margin-left: auto; }
.tl-step:nth-child(even) .tl-content { grid-column: 3; }
.tl-content h3 { margin-bottom: 10px; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.02em; }
.tl-content p { max-width: 26rem; color: var(--muted); }

.process-cta {
  margin-top: clamp(64px, 8vw, 112px);
  text-align: center;
}

/* ---------- Werte ---------- */

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
}
.value {
  padding-top: 40px;
  border-top: 1px solid var(--line-strong);
}
.value-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 40px;
  border-radius: 999px;
  background: var(--white);
  color: var(--gold);
}
.value-icon svg { width: 32px; height: 32px; }
.value h3 { margin-bottom: 12px; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.02em; }
.value p { max-width: 24rem; color: var(--muted); }

/* ---------- Partner ---------- */

.partners .section-head { margin-bottom: 0; }
.partners-lead { margin-top: 28px; }

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1000px;
  margin: clamp(48px, 6vw, 80px) auto;
}
.pills li {
  padding: 12px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy);
}
.partners-link { text-align: center; }

/* ---------- Abschluss-CTA ---------- */

.cta { padding-bottom: var(--space); }

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 128px) clamp(24px, 7vw, 112px);
  border-radius: 40px;
  background: var(--navy);
  color: var(--white);
  transform-origin: 50% 60%;
}
/* Riesiges, angeschnittenes Valoria-V rechts, sehr geringer Kontrast */
.cta-v {
  position: absolute;
  top: -24%;
  right: -16%;
  width: 62%;
  height: auto;
  color: var(--navy-2);
  opacity: .62;
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; max-width: 44rem; }
.cta-panel h2 { max-width: 12em; }
.cta-text {
  max-width: 34rem;
  margin-top: 28px;
  font-size: clamp(1.0625rem, 1.25vw, 1.25rem);
  color: rgba(255, 255, 255, .76);
}
.cta-panel .btn-row { margin-top: 44px; }

/* ---------- Footer ---------- */

.site-footer {
  padding-top: clamp(72px, 9vw, 120px);
  background: var(--mist);
  color: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  padding-bottom: 72px;
}

.footer-claim { max-width: 22rem; margin-top: 24px; color: var(--muted); }

.finma {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 26rem;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--white);
  font-size: .9375rem;
  line-height: 1.5;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.finma .icon { width: 28px; height: 28px; color: var(--gold); }
.finma-text { color: var(--navy); }
.finma-nr {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.finma:hover { border-color: var(--gold); box-shadow: var(--shadow-soft); }

.footer-title {
  margin-bottom: 20px;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
}
.footer-links li + li { margin-top: 10px; }
.footer-links { color: var(--muted); font-size: .9875rem; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.footer-links a[aria-current="page"] { color: var(--navy); font-weight: 500; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 28px 36px;
  border-top: 1px solid var(--line-strong);
  font-size: .875rem;
  color: var(--muted);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-legal a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Unterseiten: Seitenkopf ---------- */

.page-head { padding-top: clamp(40px, 7vh, 96px); }
.page-head--center { text-align: center; }
.page-head--center .lead { margin-inline: auto; }
.page-head--center .btn-row { justify-content: center; }

.breadcrumb { margin-bottom: 36px; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  font-size: .9375rem;
  color: var(--muted);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumb .sep { color: var(--gold); }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current="page"] { color: var(--navy); font-weight: 500; }

.page-title { max-width: 12em; margin: 0 auto 32px; }
.page-head .lead { margin-bottom: 40px; }

.page-media {
  aspect-ratio: 2 / 1;
  margin-top: clamp(56px, 8vw, 104px);
}
.page-media img { top: 0; height: 100%; object-position: 50% 40%; }

/* ---------- Versicherungen ---------- */

.task-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.task-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: clamp(32px, 4vw, 56px);
  border-radius: var(--r-card);
  background: var(--mist);
}
.task-num {
  margin-bottom: auto;
  padding-bottom: 48px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gold-ink-2);
  font-variant-numeric: tabular-nums;
}
.task-card h3 { margin-bottom: 12px; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.02em; }
.task-card p { max-width: 28rem; color: var(--muted); }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.client-card {
  padding: clamp(32px, 4.5vw, 64px);
  border-radius: var(--r-card);
  background: var(--white);
}
.client-card .icon-circle { background: var(--mist); }
.client-title {
  margin: 40px 0 28px;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -.025em;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
}
.check-list li:last-child { border-bottom: 1px solid var(--line); }
.check-list .icon { margin-top: 3px; color: var(--gold); }

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-grid .section-head { margin-bottom: 0; }

.faq-item { border-top: 1px solid var(--line-strong); }
.faq-item:last-child { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  font-size: clamp(1.1875rem, 1.6vw, 1.4375rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.01em;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .4s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 1.5px;
  margin: -.75px 0 0 -7px;
  background: var(--navy);
  transition: transform .4s var(--ease), background-color .3s;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item summary:hover .faq-icon { border-color: var(--navy); }
.faq-item[open] .faq-icon { background: var(--navy); border-color: var(--navy); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: var(--white); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-answer { padding: 0 64px 32px 0; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .faq-item::details-content {
    height: 0;
    overflow: clip;
    transition: height .45s var(--ease), content-visibility .45s allow-discrete;
  }
  .faq-item[open]::details-content { height: auto; }
}

/* ---------- Kontakt ---------- */

.page-head--compact { padding-bottom: clamp(48px, 5vw, 72px); }
.page-head--compact .container {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: last baseline;
}
.page-head--compact h1 { font-size: clamp(3rem, 6vw, 5.5rem); }

.contact { padding-block: clamp(56px, 6vw, 96px) clamp(80px, 9vw, 136px); background: var(--mist); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.contact-cards { display: grid; gap: 12px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
}
a.contact-card:hover { border-color: transparent; box-shadow: var(--shadow-soft); }
.contact-card .icon-circle { flex: none; width: 52px; height: 52px; background: var(--mist); }
.contact-card .icon-circle .icon { width: 22px; height: 22px; }
.contact-card--top { align-items: flex-start; }
.contact-label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.contact-value {
  display: block;
  margin-top: 2px;
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--navy);
}
.contact-note {
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
}
.contact-note .icon { margin-top: 2px; color: var(--gold); }

.form-card {
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: 0 1px 2px rgba(16, 35, 63, .04), 0 40px 80px -40px rgba(16, 35, 63, .25);
}

.contact-form { display: grid; gap: 24px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--navy);
}
.field input:not([type="checkbox"]),
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid var(--field);
  border-radius: 12px;
  background: var(--white);
  font: inherit;
  font-size: 1rem;
  color: var(--navy);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310233F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  cursor: pointer;
}
.field input:not([type="checkbox"]):hover,
.field select:hover,
.field textarea:hover { border-color: var(--navy-2); }
.field input:not([type="checkbox"]):focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy), 0 0 0 5px rgba(16, 35, 63, .12);
}

.field-check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
}
.field-check input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--navy);
  cursor: pointer;
}
.field-check label { margin: 0; font-weight: 400; color: var(--muted); }
.field-check label a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.field-check .field-error { grid-column: 2; }

.field-error {
  display: none;
  margin-top: 8px;
  font-size: .875rem;
  color: var(--danger);
}
.field.has-error .field-error { display: block; }
.field.has-error input:not([type="checkbox"]),
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 1px var(--danger);
}
.field.has-error input[type="checkbox"] { outline: 2px solid var(--danger); outline-offset: 2px; }

.contact-form .btn { justify-self: start; min-height: 56px; padding-inline: 32px; }

.form-success {
  padding: 16px 20px;
  border-radius: 12px;
  background: #edf5ef;
  color: #1d5632;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .hero-slot { width: 86%; }

  .services-head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .services-rail { padding-inline: 0; max-width: none; }
  .services-track {
    display: flex;
    gap: 16px;
    padding: 4px var(--pad) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .services-track::-webkit-scrollbar { display: none; }
  .services-track > li { flex: 0 0 min(78vw, 340px); scroll-snap-align: start; }
  .svc-card { min-height: 380px; }
  .services-foot { display: block; margin-top: 28px; }

  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .about-grid,
  .page-head--compact .container { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .about-media { aspect-ratio: 4 / 3; }

  .audience-grid,
  .values,
  .task-grid,
  .clients-grid { grid-template-columns: minmax(0, 1fr); }
  .values { gap: 16px; }
  .audience-card { min-height: 0; }
  .audience-title { padding-top: 48px; }
  .value-icon { margin-bottom: 28px; }
}

@media (max-width: 768px) {
  body { font-size: 1rem; }

  .hero-intro .kicker { max-width: 20rem; text-wrap: balance; }
  .hero-intro .kicker::before { display: none; }
  .hero-slot { width: 100%; aspect-ratio: 4 / 3; }
  .hero-card { border-radius: var(--r-card); }
  .hero-title { font-size: clamp(2.75rem, 12.5vw, 4.5rem); }
  .hero-intro .btn-row { flex-direction: column; align-self: stretch; }
  .hero-intro .btn { width: 100%; }

  .media { border-radius: var(--r-card); }

  .tl-step {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 20px;
    padding-bottom: 48px;
  }
  .tl-marker { grid-column: 1; width: 44px; height: 44px; font-size: 1rem; box-shadow: 0 0 0 6px rgba(176, 141, 87, .16); }
  .tl-seg { top: 22px; left: 22px; }
  .tl-step:nth-child(odd) .tl-content,
  .tl-step:nth-child(even) .tl-content { grid-column: 2; text-align: left; padding-top: 4px; }
  .tl-step:nth-child(odd) .tl-content p { margin-left: 0; }

  .pills { gap: 8px; }
  .pills li { padding: 10px 18px; font-size: 1rem; }

  .cta-panel { border-radius: 28px; }
  .cta-panel .btn-row { flex-direction: column; align-items: stretch; }
  .cta-v { top: auto; bottom: -18%; right: -30%; width: 110%; opacity: .5; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; padding-bottom: 56px; }
  .footer-col:last-child { grid-column: 1 / -1; }

  .page-media { aspect-ratio: 4 / 3; }
  .page-head--center .btn-row .btn { width: 100%; }

  .form-row { grid-template-columns: minmax(0, 1fr); }
  .contact-form .btn { justify-self: stretch; }
  .contact-card { padding: 20px; gap: 16px; }
  .faq-answer { padding-right: 0; }
}

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