/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════════════ */
:root {
  /* Palette */
  --navy:         #1B3A6E;
  --navy-mid:     #2A4E8A;
  --navy-light:   #3E65AE;
  --bg:           #FFFFFF;
  --bg-tint:      #F0F4FA;
  --accent:       #F5A800;
  --accent-dk:    #D48F00;
  --ink:          #1B3A6E;
  --muted:        #4A5E78;
  --rule:         #D0D8E8;

  /* On dark surfaces */
  --on-dark:      #FFFFFF;
  --on-dark-dim:  #8EA8C3;

  /* Type */
  --ff-display: 'Inter', system-ui, -apple-system, sans-serif;
  --ff-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-w:    1280px;
  --pad-x:    clamp(1.5rem, 5vw, 5rem);
  --sec-pad:  clamp(5rem, 10vw, 8rem);
}

/* ═══════════════════════════════════════════════════════════════
   RESET
═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-weight: 300;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a   { color: inherit; text-decoration: none; }
ul,
ol  { list-style: none; }
img,
svg { display: block; max-width: 100%; }
blockquote { quotes: none; }

/* ═══════════════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ═══════════════════════════════════════════════════════════════
   ENTRANCE ANIMATIONS
═══════════════════════════════════════════════════════════════ */
[data-animate] {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity   0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate].visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   SECTION SKELETON
═══════════════════════════════════════════════════════════════ */
.sec {
  padding-block: var(--sec-pad);
}

.sec-light   { background: var(--bg); }
.sec-tinted  { background: var(--bg-tint); }
.sec-dark    { background: var(--navy); color: var(--on-dark); }

/* Top rule for light-on-light transitions */
.sec-divided {
  border-top: 1px solid var(--rule);
}

/* Accent cap on the dark section */
.sec-dark {
  border-top: 2px solid var(--accent);
}

/* ═══════════════════════════════════════════════════════════════
   SECTION HEADER  (chapter number + h2)
═══════════════════════════════════════════════════════════════ */
.sec-hdr {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.sec-dark .sec-hdr {
  border-bottom-color: var(--navy-mid);
}

.sec-title {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 1.5rem + 1.5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}

.sec-dark .sec-title {
  color: var(--on-dark);
}

/* Chapter & card numbers */
.chap-n,
.card-n,
.dim-n {
  font-family: var(--ff-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
}

.chap-n { display: none; }
.card-n { display: none; }
.dim-n  { font-size: 0.6875rem; display: block; margin-bottom: 0.875rem; }

/* ═══════════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-mid);
}

.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0;
  flex-wrap: wrap;
}

.hdr-brand {
  display: flex;
  align-items: center;
}

.hdr-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hdr-nav { display: flex; }
}

.hdr-nav-link {
  font-family: var(--ff-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
  transition: color 0.2s;
}

.hdr-nav-link:hover { color: var(--on-dark); }

.hdr-nav-link--cta {
  color: var(--accent);
}

.hdr-nav-link--cta:hover { color: var(--accent-dk); }

/* ── Nav dropdown ── */
.hdr-dropdown {
  position: relative;
}

.hdr-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
}

.hdr-dropdown-arrow {
  transition: transform 0.2s ease;
}

.hdr-dropdown.is-open .hdr-dropdown-arrow {
  transform: rotate(180deg);
}

.hdr-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  min-width: 180px;
  padding: 0.5rem 0;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.hdr-dropdown.is-open .hdr-dropdown-menu {
  display: block;
}

.hdr-dropdown-item {
  display: block;
  padding: 0.75rem 1.375rem;
  font-family: var(--ff-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.hdr-dropdown-item:hover {
  color: var(--on-dark);
  background: rgba(255,255,255,0.05);
}

.hdr-logo-link {
  display: flex;
  align-items: center;
}

.hdr-logo-img {
  height: 8rem;
  width: auto;
  display: block;
}

.hdr-wordmark {
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--on-dark);
  transition: color 0.2s;
}

.hdr-wordmark:hover { color: var(--accent); }

.hdr-label {
  font-family: var(--ff-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
}

/* ═══════════════════════════════════════════════════════════════
   01  HERO
═══════════════════════════════════════════════════════════════ */
.sec-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(4.5rem, 14vh, 9rem);
  padding-bottom: clamp(4rem, 10vh, 7rem);
}

/* Dark overlay so text is always legible against the video */
.sec-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 20, 50, 0.68) 0%,
    rgba(10, 20, 50, 0.48) 100%
  );
  z-index: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.55;
}

.sec-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-body {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 860px;
  width: 100%;
}

.hero-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.hero-h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.75rem, 2rem + 4.5vw, 6.5rem);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 0.25rem;
  max-width: 22ch;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.45);
}

.hero-h1-sub {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 1.2rem + 2.5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 3.5rem;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.45);
}

.hero-subheader {
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.9rem);
  font-weight: 300;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36ch;
  margin-bottom: 2.25rem;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45);
}

.hero-tagline {
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.1875rem);
  line-height: 1.72;
  color: rgba(255, 255, 255, 1);
  max-width: 600px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

/* Scroll cue */
.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  margin-top: 4rem;
  animation: bob 2.6s ease-in-out infinite;
}

.scroll-cue-label {
  font-family: var(--ff-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* ═══════════════════════════════════════════════════════════════
   02  POSITIONIERUNG
═══════════════════════════════════════════════════════════════ */
.pos-body {
  max-width: 720px;
  padding-left: 2rem;
  border-left: 2px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
}

.pos-lead {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.125rem, 1rem + 0.75vw, 1.4375rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink);
}

.pos-text {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--muted);
}

.pos-quote {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.25rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink);
}

.pos-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.pos-umfelder {
  margin-top: 2.5rem;
}

.pos-umfelder-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.875rem;
}

.umfelder-ticker {
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-block: 0.9rem;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.umfelder-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: umfelder-scroll 26s linear infinite;
}

.umfelder-track:hover {
  animation-play-state: paused;
}

.umfelder-item {
  white-space: nowrap;
  padding-inline: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.umfelder-sep {
  color: var(--accent);
  font-size: 0.4rem;
  flex-shrink: 0;
  line-height: 1;
}

@keyframes umfelder-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .umfelder-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
  .umfelder-sep { display: none; }
  .umfelder-item { padding: 0.25rem 0.5rem; }
}

.pos-tags li {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--accent);
  padding: 0.3125rem 0.875rem;
  border: 1px solid var(--accent);
  line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════════════
   03  LEISTUNGSSPEKTRUM
═══════════════════════════════════════════════════════════════ */
.leistung-schwerpunkt {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  text-align: left;
  margin-bottom: 2.5rem;
}

.leistung-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

@media (min-width: 640px) {
  .leistung-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .leistung-grid { grid-template-columns: repeat(4, 1fr); }
}

.leistung-card {
  background: var(--bg);
  padding: 2.25rem 2rem 2.25rem 2rem;
}

.card-title {
  font-family: var(--ff-display);
  font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.25rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.875rem;
}

.card-body {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--muted);
}

/* ── Finance Lakehouse subsection (inside section 03) ── */
.lh-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.lh-sub-inner {
  background: var(--navy);
  color: var(--on-dark);
  padding-block: var(--sec-pad);
  border-top: 2px solid var(--accent);
}

.lh-sub-hdr {
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--navy-mid);
}

.lh-sub-title {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 1.25rem + 1.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--on-dark);
}

/* ═══════════════════════════════════════════════════════════════
   03 / 05  FINANCE LAKEHOUSE  (shared by lh-sub and legacy)
═══════════════════════════════════════════════════════════════ */
.lh-intro {
  max-width: 660px;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.72;
  color: var(--on-dark-dim);
  margin-bottom: 3.5rem;
}

/* Architecture diagram */
.arch {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .arch {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
}

.arch-col {
  flex: 1;
  min-width: 0;
}

.arch-center {
  flex: 1.4;
}

.arch-label {
  font-family: var(--ff-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.arch-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.arch-list li {
  font-size: 0.9rem;
  color: var(--on-dark);
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--navy-mid);
  border-left: 2px solid var(--navy-light);
  line-height: 1.4;
}

/* Arrow connector */
.arch-arrow {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--on-dark-dim);
  padding: 0 1.25rem;
}

.arr-line {
  flex: 1;
  height: 1px;
  background: var(--navy-mid);
  min-width: 1rem;
}

@media (max-width: 767px) {
  .arch-arrow {
    flex-direction: column;
    padding: 0.25rem 0;
    align-self: flex-start;
    margin-left: 1.5rem;
  }

  .arr-line {
    width: 1px;
    height: 1.5rem;
    min-width: unset;
    flex: none;
  }

  .arch-arrow svg {
    transform: rotate(90deg);
  }
}

/* Lakehouse layers */
.lh-layers {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.lh-layer {
  padding: 0.625rem 1rem;
  border: 1px solid var(--navy-mid);
  font-size: 0.9rem;
  color: var(--on-dark);
  background: rgba(255,255,255,0.04);
  text-align: center;
  line-height: 1.35;
}

.lh-layer--accent {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(245, 168, 0, 0.08);
}

/* Benefits strip */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--navy-mid);
  border: 1px solid var(--navy-mid);
}

@media (min-width: 768px) {
  .benefits { grid-template-columns: repeat(5, 1fr); }
}

.benefit {
  padding: 1.375rem 1.25rem;
  background: var(--navy);
}

.benefit-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.benefit-sub {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--on-dark-dim);
}

@media (max-width: 767px) {
  .benefit:last-child { grid-column: span 2; }
}

/* Small subtitle text inside arch-list items */
.arch-list li small {
  color: var(--on-dark-dim);
  font-size: 0.8rem;
  display: block;
  margin-top: 0.125rem;
  font-style: normal;
}

/* Layer title inside lh-layer */
.lh-layer strong {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 0.35rem;
}

.lh-layer--accent strong {
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════
   ACCORDION  (sections 04 + 05)
═══════════════════════════════════════════════════════════════ */
.accordion {
  border-top: 1px solid var(--rule);
}

.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 1.25rem 0;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  gap: 1.5rem;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  transition: color 0.2s;
}

.acc-trigger:hover { color: var(--accent); }

/* Phase number wrap (sections 04 phases) */
.acc-phase-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}

.acc-phase-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: background 0.2s;
}

.acc-trigger:hover .acc-phase-n { background: var(--accent-dk); }

/* Service dimension wrap (section 05) */
.acc-dim-wrap {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}

.acc-dim-n {
  font-family: var(--ff-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  flex-shrink: 0;
  min-width: 2rem;
}

/* Label (title text inside trigger) */
.acc-trigger .acc-label {
  font-family: var(--ff-display);
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.25rem);
  font-weight: 400;
  line-height: 1.25;
  color: inherit;
}

/* Direct child label (erfahrungen — no phase/dim wrapper) */
.acc-trigger > .acc-label {
  flex: 1;
  min-width: 0;
}

/* Toggle icon */
.acc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 300;
  font-family: var(--ff-body);
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.acc-icon::before { content: '+'; }

.acc-item.is-open .acc-icon {
  transform: rotate(45deg);
}

/* Collapsible panel */
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.acc-item.is-open .acc-panel {
  max-height: 1200px;
}

.acc-panel-inner {
  padding-top: 1.25rem;
  padding-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   04  VORGEHEN  — phase content (used inside accordion panels)
═══════════════════════════════════════════════════════════════ */
.phase-q {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
}

.phase-acts {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.phase-acts li {
  position: relative;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  padding-left: 1.125rem;
}

.phase-acts li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75em;
  top: 0.15em;
}

/* ── "Was Sie erwarten können" subsection ── */
.erfahrungen-sec {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--rule);
}

.erfahrungen-title {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.375rem;
}

.erfahrungen-sub {
  font-size: 0.875rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════════════════════════
   05  SERVICEMODELL
═══════════════════════════════════════════════════════════════ */
.svc-anchor {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.25rem, 1rem + 1.5vw, 2.125rem);
  font-weight: 300;
  color: var(--ink);
  padding-bottom: 2rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
}

.svc-accordion {
  margin-bottom: 3rem;
}

.dim-body {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--muted);
}

/* ── Zielbild für Kunden ── */
.zielbild-sec {
  margin-bottom: 4rem;
  padding: 2.25rem 2rem;
  background: var(--bg-tint);
  border: 1px solid var(--rule);
}

.zielbild-title {
  font-family: var(--ff-display);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.zielbild-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.zielbild-list li {
  position: relative;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink);
  padding-left: 1.25rem;
}

.zielbild-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75em;
  top: 0.18em;
}

/* Pull quotes */
.pull-quotes {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--rule);
}

@media (min-width: 640px) {
  .pull-quotes {
    flex-direction: row;
    gap: 4rem;
    align-items: baseline;
  }
}

.pull-q {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.375rem, 1.1rem + 1.5vw, 2.25rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════
   06  PARTNER
═══════════════════════════════════════════════════════════════ */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

@media (min-width: 900px) {
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
}

.partner-card {
  background: var(--bg);
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.pc-img {
  display: block;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 10%;
  margin-bottom: 0.25rem;
}

.pc-top { display: flex; flex-direction: column; gap: 0.375rem; }

.pc-name {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.625rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}

.pc-role {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}

.pc-quote {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
}

.pc-block { display: flex; flex-direction: column; }

.partner-card .pc-block:last-child { margin-top: auto; }

.pc-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-bottom: 0.625rem;
}

/* Kerngebiete */
.pc-areas {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.pc-areas li {
  position: relative;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink);
  padding-left: 1rem;
}

.pc-areas li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75em;
  top: 0.15em;
}

/* Stationen */
.pc-stations {
  display: flex;
  flex-direction: column;
}

.pc-stations li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding-block: 0.4rem;
  border-bottom: 1px solid var(--rule);
}

.pc-stations li:last-child { border-bottom: none; }

.stn-role {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
  flex: 1;
}

.stn-yr {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   07  KONTAKT
═══════════════════════════════════════════════════════════════ */
.sec-dark .kontakt-email {
  color: var(--on-dark);
  border-color: var(--navy-mid);
}

.sec-dark .kontakt-email:hover,
.sec-dark .kontakt-email:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

.sec-dark .kontakt-note {
  color: var(--on-dark-dim);
}
.kontakt-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.kontakt-email {
  display: inline-block;
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 1.5rem + 2.5vw, 3.75rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.1em;
  transition: color 0.25s ease, border-color 0.25s ease;
  line-height: 1.15;
}

.kontakt-email:hover,
.kontakt-email:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

.kontakt-note {
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--navy-mid);
  padding-block: 2rem;
}

.ftr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.ftr-nav {
  display: flex;
  gap: 2rem;
}

.ftr-nav a {
  font-size: 0.8125rem;
  color: var(--on-dark-dim);
  transition: color 0.2s;
}

.ftr-nav a:hover,
.ftr-nav a:focus-visible { color: var(--on-dark); }

.ftr-copy {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--on-dark-dim);
}

/* ═══════════════════════════════════════════════════════════════
   FOCUS RING  (WCAG AA)
═══════════════════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   TABBED SECTIONS  (03 + 04)
═══════════════════════════════════════════════════════════════ */
.tabbed-wrap { border-top: 1px solid var(--rule); }

.tabs-bar {
  background: var(--navy);
  border-bottom: 2px solid var(--navy-mid);
}

.tabs-nav {
  display: flex;
  justify-content: center;
}

.svc-section {
  margin-bottom: 3rem;
}

.tabs-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-family: var(--ff-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
  transition: color 0.2s, border-bottom-color 0.2s;
}

.tabs-btn:hover { color: var(--on-dark); }

.tabs-btn.is-active {
  color: var(--on-dark);
  border-bottom-color: var(--accent);
}

.tabs-n {
  display: none;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.tabs-panel[hidden] { display: none; }

/* ═══════════════════════════════════════════════════════════════
   INTERACTIVE ENHANCEMENTS
═══════════════════════════════════════════════════════════════ */

/* ── Nav: sliding underline ── */
.hdr-nav-link { position: relative; }
.hdr-nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}
.hdr-nav-link:hover::after { width: 100%; }

/* ── Leistung cards: lift + accent top bar ── */
.leistung-card {
  position: relative;
  z-index: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.leistung-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 1;
}
.leistung-card:hover {
  z-index: 1;
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(27, 58, 110, 0.13);
}
.leistung-card:hover::before { transform: scaleX(1); }

/* ── Expandable card (KI & Datenplattformen) ── */
.leistung-card--expandable { cursor: pointer; }

.card-expand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  margin-top: 1.25rem;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-expand-icon::before { content: '+'; }

.leistung-card--expandable.is-expanded .card-expand-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}
.leistung-card--expandable.is-expanded::before { transform: scaleX(1); }

/* ── pos-tags: fill on hover ── */
.pos-tags li {
  transition: background 0.2s, color 0.2s;
  cursor: default;
}
.pos-tags li:hover {
  background: var(--accent);
  color: #fff;
}

/* ── Accordion trigger: subtle highlight ── */
.acc-trigger {
  position: relative;
  overflow: hidden;
}
.acc-trigger::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.acc-trigger:hover::after { opacity: 0.05; }
.acc-item.is-open > .acc-trigger::after { opacity: 0.07; }

/* ── acc-icon stays above the highlight overlay ── */
.acc-icon,
.acc-phase-n,
.acc-label,
.acc-phase-wrap,
.acc-dim-wrap { position: relative; z-index: 1; }

/* ── Partner cards: lift + photo zoom ── */
.partner-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}
.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(27, 58, 110, 0.15);
  z-index: 1;
}
.pc-img { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.partner-card:hover .pc-img { transform: scale(1.08); }

/* ── Pull quotes: hover ── */
.pull-q {
  transition: color 0.3s ease;
  cursor: default;
}
.pull-q:hover { color: var(--navy); }

/* ═══════════════════════════════════════════════════════════════
   MOBILE NAVIGATION
═══════════════════════════════════════════════════════════════ */
.hdr-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin: -0.5rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .hdr-menu-btn { display: none; }
}

.hdr-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--on-dark);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity   0.2s ease;
  transform-origin: center;
}

.hdr-menu-btn.is-open .hdr-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hdr-menu-btn.is-open .hdr-bar:nth-child(2) { opacity: 0; }
.hdr-menu-btn.is-open .hdr-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: var(--pad-x);
  padding-block: 6rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .mobile-nav { display: none; }
}

.mobile-nav-link {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 300;
  color: var(--on-dark);
  padding-block: 0.875rem;
  border-bottom: 1px solid var(--navy-mid);
  display: block;
  transition: color 0.2s, padding-left 0.25s ease;
}

.mobile-nav-link:first-child { border-top: 1px solid var(--navy-mid); }
.mobile-nav-link:hover,
.mobile-nav-link:focus-visible { color: var(--accent); padding-left: 0.75rem; }

.mobile-nav-link--cta { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════
   MOBILE LAYOUT TWEAKS
═══════════════════════════════════════════════════════════════ */

/* Tab bar: equal-width buttons on small screens */
@media (max-width: 600px) {
  .tabs-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tabs-btn  { flex-shrink: 0; white-space: nowrap; padding: 0.875rem 1rem; }
}

/* Cards: tighter padding on mobile */
@media (max-width: 640px) {
  .leistung-card  { padding: 1.5rem 1.25rem; }
  .partner-card   { padding: 1.75rem 1.5rem; }
  .zielbild-sec   { padding: 1.5rem 1.25rem; }
  .lh-sub-hdr     { margin-bottom: 1.75rem; }
  .arch           { gap: 1rem; }
  .acc-panel-inner { padding-bottom: 1.25rem; }
  .pull-quotes    { padding-top: 2rem; gap: 1.25rem; }
  .sec-hdr        { margin-bottom: 2.25rem; }
}

/* Kontakt email: prevent overflow on small screens */
.kontakt-email {
  overflow-wrap: break-word;
  word-break: break-all;
}

/* Hero: use small-viewport height unit on mobile browsers */
@media (max-width: 640px) {
  .sec-hero { min-height: 100svh; }
  .hero-body { padding-inline: 0.25rem; }
  .hero-h1 {
    font-size: clamp(1.5rem, 5vw + 0.25rem, 2.5rem);
    overflow-wrap: break-word;
  }
}

/* ── Safe-area insets (notch / punch-hole / rounded corners) ── */
.site-header {
  padding-top: env(safe-area-inset-top, 0px);
}

.sec-hero {
  padding-top: max(clamp(4.5rem, 14vh, 9rem), env(safe-area-inset-top, 0px) + 2rem);
}

.site-footer {
  padding-bottom: max(2rem, calc(env(safe-area-inset-bottom, 0px) + 1rem));
}

.mobile-nav {
  padding-top: max(6rem, calc(env(safe-area-inset-top, 0px) + 5rem));
  padding-bottom: max(4rem, calc(env(safe-area-inset-bottom, 0px) + 2rem));
  padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
}
