/* ==========================================================================
   Tilou — Data Consulting
   Design System & Stylesheet
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --ink:        #05080F;
  --navy:       #0A1020;
  --navy-700:   #111A2E;
  --navy-600:   #18243C;
  --line-dark:  rgba(255,255,255,.10);

  --teal:       #2DD4BF;
  --teal-600:   #14B8A6;
  --teal-300:   #5EEAD4;
  --sky:        #38BDF8;
  --violet:     #818CF8;

  --paper:      #FFFFFF;
  --paper-alt:  #F4F7FA;
  --paper-warm: #EEF3F8;
  --line:       #E2E8F0;

  --text:       #0B1220;
  --text-soft:  #4A5568;
  --text-mute:  #6B7A90;
  --text-inv:   #FFFFFF;
  --text-inv-s: rgba(255,255,255,.72);

  /* Type */
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-hero:  clamp(2.6rem, 6.2vw, 4.75rem);
  --fs-h1:    clamp(2.2rem, 5vw, 3.6rem);
  --fs-h2:    clamp(1.85rem, 3.6vw, 2.75rem);
  --fs-h3:    clamp(1.25rem, 2vw, 1.55rem);
  --fs-lead:  clamp(1.05rem, 1.5vw, 1.25rem);

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --sec-y:  clamp(4.5rem, 9vw, 8rem);
  --max:    1240px;
  --max-narrow: 820px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(11,18,32,.06);
  --shadow-md: 0 14px 40px -12px rgba(11,18,32,.16);
  --shadow-lg: 0 40px 80px -30px rgba(11,18,32,.34);
  --shadow-glow: 0 24px 70px -28px rgba(45,212,191,.55);

  --ease: cubic-bezier(.22,.68,.36,1);
  --header-h: 76px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -.02em;
  /* Lange deutsche Komposita sollen umbrechen statt über den Rand zu laufen */
  overflow-wrap: break-word; hyphens: auto;
}
p, li, td, th, label, figcaption { overflow-wrap: break-word; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--max-narrow); }
.section { padding-block: var(--sec-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--dark { background: var(--navy); color: var(--text-inv); }
.section--ink { background: var(--ink); color: var(--text-inv); }
.section--alt { background: var(--paper-alt); }
.section--dark h1, .section--dark h2, .section--dark h3,
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--teal); color: var(--ink); padding: .75rem 1.25rem; font-weight: 600; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- 4. Typography blocks ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .section--ink .eyebrow { color: var(--teal); }

.lead { font-size: var(--fs-lead); color: var(--text-soft); line-height: 1.62; }
.section--dark .lead, .section--ink .lead { color: var(--text-inv-s); }

.section-head { max-width: 680px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-h2); margin-bottom: 1.1rem; }
.section-head p { font-size: var(--fs-lead); color: var(--text-soft); }
.section--dark .section-head p, .section--ink .section-head p { color: var(--text-inv-s); }

.text-gradient {
  background: linear-gradient(100deg, var(--teal) 0%, var(--sky) 55%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--teal); --btn-fg: #04231F;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem; letter-spacing: -.01em;
  padding: .95rem 1.7rem; border-radius: 100px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--dark { --btn-bg: var(--navy); --btn-fg: #fff; }
.btn--dark:hover { box-shadow: var(--shadow-md); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); box-shadow: none; background: var(--paper-alt); }
.section--dark .btn--ghost, .section--ink .btn--ghost, .hero .btn--ghost,
.cta-band .btn--ghost, .page-hero .btn--ghost, .card--dark .btn--ghost, .quote .btn--ghost {
  --btn-fg: #fff; border-color: rgba(255,255,255,.28);
}
.section--dark .btn--ghost:hover, .section--ink .btn--ghost:hover, .hero .btn--ghost:hover,
.cta-band .btn--ghost:hover, .page-hero .btn--ghost:hover, .card--dark .btn--ghost:hover, .quote .btn--ghost:hover {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5);
}
.btn--sm { padding: .68rem 1.25rem; font-size: .88rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--teal-600); transition: gap .25s var(--ease);
  white-space: nowrap;
}
.link-arrow:hover { gap: .85rem; }
.link-arrow svg { width: 18px; height: 18px; flex-shrink: 0; }
.section--dark .link-arrow, .section--ink .link-arrow { color: var(--teal); }

/* ---------- 6. Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; width: 100%; }
.site-header.is-solid {
  background: rgba(255,255,255,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line); box-shadow: 0 1px 24px rgba(11,18,32,.06);
}
body.nav-open .site-header { background: var(--navy); border-bottom-color: transparent; }

.brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; }
.brand__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.42rem;
  letter-spacing: -.035em; color: #fff; transition: color .3s var(--ease);
}
.site-header.is-solid .brand__name { color: var(--navy); }
.brand__dot { color: var(--teal); }

.nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .85rem; border-radius: var(--r-sm);
  font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.86);
  transition: color .22s var(--ease), background .22s var(--ease);
}
.site-header.is-solid .nav__link { color: var(--text-soft); }
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--teal); background: rgba(45,212,191,.10); }
.site-header.is-solid .nav__link:hover, .site-header.is-solid .nav__link[aria-expanded="true"] { color: var(--teal-600); }
.nav__link.is-active { color: #fff; font-weight: 600; }
.site-header.is-solid .nav__link.is-active { color: var(--navy); }
.nav__link.is-active::after {
  content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .15rem;
  height: 2px; border-radius: 2px; background: var(--teal);
}
.nav__caret { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav__link[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }

.header-cta { margin-left: .75rem; }
.nav__mobile-cta { display: none; }

/* Dropdown */
.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0;
  width: min(640px, 88vw); padding: 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: .35rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
  transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
}
.has-drop.is-open .drop { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.drop__item { display: flex; gap: .85rem; padding: .8rem; border-radius: var(--r-md); transition: background .2s var(--ease); }
.drop__item:hover { background: var(--paper-alt); }
.drop__icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; background: rgba(45,212,191,.14); color: var(--teal-600);
}
.drop__icon svg { width: 19px; height: 19px; }
.drop__t { font-family: var(--font-display); font-weight: 600; font-size: .96rem; color: var(--navy); margin-bottom: .1rem; }
.drop__d { font-size: .83rem; line-height: 1.5; color: var(--text-mute); }

/* Burger */
.burger {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; position: relative; border-radius: var(--r-sm);
}
.burger span {
  position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .3s var(--ease), opacity .2s var(--ease), background .3s var(--ease);
}
.site-header.is-solid .burger span { background: var(--navy); }
body.nav-open .burger span { background: #fff; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
body.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .burger { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
    background: var(--navy); flex-direction: column; align-items: stretch; gap: 0;
    padding: 1.5rem var(--gutter) 3rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__link { display: flex; width: 100%; color: #fff; font-size: 1.15rem; padding: 1rem .25rem; border-bottom: 1px solid var(--line-dark); border-radius: 0; justify-content: space-between; }
  .nav__link.is-active::after { display: none; }
  .drop {
    position: static; width: 100%; translate: none; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; background: transparent; grid-template-columns: 1fr;
    padding: .25rem 0 .75rem; display: none; pointer-events: auto;
  }
  .has-drop.is-open .drop { display: grid; }
  .drop__item:hover { background: rgba(255,255,255,.06); }
  .drop__t { color: #fff; }
  .drop__d { display: none; }
  .nav__mobile-cta { display: block; margin-top: 1.75rem; }
  .nav__mobile-cta .btn { width: 100%; padding-block: .95rem; }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; background: var(--ink); color: #fff;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 6.5rem));
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 78% 12%, rgba(45,212,191,.28), transparent 62%),
    radial-gradient(700px 500px at 8% 85%, rgba(56,189,248,.18), transparent 60%),
    linear-gradient(180deg, rgba(5,8,15,.86) 0%, rgba(5,8,15,.72) 45%, rgba(5,8,15,.97) 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: var(--fs-hero); margin-bottom: 1.5rem; }
.hero .lead { max-width: 48ch; margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.5rem; }
.hero__note { display: flex; flex-wrap: wrap; gap: 1.25rem 1.75rem; font-size: .88rem; color: var(--text-inv-s); }
.hero__note li { display: flex; align-items: center; gap: .5rem; }
.hero__note svg { width: 17px; height: 17px; color: var(--teal); flex-shrink: 0; }

.hero__panel {
  background: rgba(255,255,255,.055); border: 1px solid var(--line-dark);
  border-radius: var(--r-xl); padding: clamp(1.5rem, 3vw, 2.25rem);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}
.hero__panel h2 { font-size: 1.1rem; margin-bottom: 1.5rem; color: #fff; }
.metric { padding: 1.05rem 0; border-bottom: 1px solid var(--line-dark); }
.metric:last-child { border-bottom: 0; padding-bottom: 0; }
.metric__val { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--teal); }
.metric__lbl { font-size: .87rem; color: var(--text-inv-s); margin-top: .4rem; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { order: 2; }
}

/* Page hero (sub pages) */
.page-hero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(3rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.page-hero h1 { font-size: var(--fs-h1); margin-bottom: 1.25rem; max-width: 18ch; }
.page-hero .lead { max-width: 58ch; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .84rem; color: var(--text-inv-s); margin-bottom: 1.5rem; }
.crumbs a:hover { color: var(--teal); }
.crumbs span[aria-hidden] { opacity: .45; }

/* ---------- 8. Marquee / logos ---------- */
.stat-bar { border-bottom: 1px solid var(--line); background: var(--paper); }
.stat-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.stat-bar__item {
  background: var(--paper); text-align: center;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1rem, 2.5vw, 2rem);
  /* Beschriftungen auf gleicher Höhe halten, auch wenn oben ein
     mehrzeiliger Platzhalter statt einer kurzen Zahl steht */
  display: flex; flex-direction: column; justify-content: space-between; gap: .55rem;
}
.stat-bar__val { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; color: var(--navy); }
.stat-bar__val .u { color: var(--teal-600); }
.stat-bar__lbl { font-size: .85rem; color: var(--text-mute); line-height: 1.45; }
@media (max-width: 760px) { .stat-bar__grid { grid-template-columns: repeat(2, 1fr); } }

.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee__item {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em;
  color: var(--text-inv-s); white-space: nowrap; display: flex; align-items: center; gap: .65rem; padding-block: .35rem;
}
.marquee__item::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); opacity: .75; }

/* ---------- 9. Cards ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(45,212,191,.5); }
.card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--navy-700); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,8,15,.55)); }
.card__body { padding: clamp(1.4rem, 2.5vw, 1.9rem); display: flex; flex-direction: column; flex: 1; gap: .75rem; }
.card__body h3 { font-size: var(--fs-h3); }
.card__body p { color: var(--text-soft); font-size: .96rem; }
.card__list { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .5rem; }
.card__foot { margin-top: auto; padding-top: 1rem; }
.card__num {
  position: absolute; top: 1rem; right: 1.15rem; z-index: 1;
  font-family: var(--font-display); font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  color: #fff; opacity: .7;
}
.card--dark { background: var(--navy-700); border-color: var(--line-dark); color: #fff; }
.card--dark p { color: var(--text-inv-s); }
.card--plain .card__body { padding-inline: 0; }

.tag {
  display: inline-flex; align-items: center; font-size: .76rem; font-weight: 500; letter-spacing: .01em;
  padding: .3rem .7rem; border-radius: 100px; background: var(--paper-alt); color: var(--text-soft); border: 1px solid var(--line);
}
.section--dark .tag, .section--ink .tag, .card--dark .tag { background: rgba(255,255,255,.07); border-color: var(--line-dark); color: var(--text-inv-s); }
.tag--teal { background: rgba(45,212,191,.12); color: var(--teal-600); border-color: rgba(45,212,191,.28); }

.icon-box {
  width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(45,212,191,.16), rgba(56,189,248,.1));
  color: var(--teal-600); border: 1px solid rgba(45,212,191,.22); margin-bottom: .35rem;
}
.icon-box svg { width: 24px; height: 24px; }
.section--dark .icon-box, .section--ink .icon-box, .card--dark .icon-box { color: var(--teal); }

/* ---------- 10. Split / feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split--wide-right { grid-template-columns: .85fr 1.15fr; }
.split + .split { margin-top: clamp(3.5rem, 7vw, 6rem); }
@media (max-width: 900px) {
  .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; }
  .split__media--flip { order: -1; }
}
.split h2 { font-size: var(--fs-h2); margin-bottom: 1.15rem; }
.split h3 { font-size: var(--fs-h3); margin-bottom: .85rem; }
.split p + p { margin-top: 1rem; }
.split__media { position: relative; }
.split__media img { border-radius: var(--r-lg); width: 100%; box-shadow: var(--shadow-md); }
.split__media--framed::before {
  content: ''; position: absolute; inset: auto -18px -18px auto; width: 62%; height: 62%;
  border: 1px solid rgba(45,212,191,.45); border-radius: var(--r-lg); z-index: -1;
}

.checklist { display: grid; gap: .85rem; margin-top: 1.75rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; font-size: .98rem; color: var(--text-soft); }
.section--dark .checklist li, .section--ink .checklist li { color: var(--text-inv-s); }
.checklist svg { flex-shrink: 0; width: 21px; height: 21px; color: var(--teal-600); margin-top: .18rem; }
.section--dark .checklist svg, .section--ink .checklist svg { color: var(--teal); }
.checklist strong { color: var(--text); font-weight: 600; }
.section--dark .checklist strong, .section--ink .checklist strong { color: #fff; }

/* ---------- 11. Steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 2.75rem; }
.step::before {
  counter-increment: step; content: '0' counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: .06em;
  color: var(--teal); 
}
.step::after {
  content: ''; position: absolute; top: .65rem; left: 2.6rem; right: -1rem; height: 1px;
  background: linear-gradient(90deg, rgba(45,212,191,.5), rgba(45,212,191,0));
}
.step:last-child::after { display: none; }
@media (max-width: 980px) { .step::after { display: none; } }
.step h3 { font-size: 1.18rem; margin-bottom: .6rem; }
.step p { font-size: .94rem; color: var(--text-soft); }
.section--dark .step p, .section--ink .step p { color: var(--text-inv-s); }
.step__meta { margin-top: .9rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--text-mute); }
.section--dark .step__meta, .section--ink .step__meta { color: rgba(255,255,255,.5); }

/* ---------- 12. Case cards ---------- */
.case {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.case:hover { box-shadow: var(--shadow-md); border-color: rgba(45,212,191,.45); }
.case + .case { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.case--flip .case__media { order: 2; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } .case--flip .case__media { order: 0; } }
.case__media { position: relative; min-height: 260px; background: var(--navy-700); overflow: hidden; }
.case__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case:hover .case__media img { transform: scale(1.04); }
.case__body { padding: clamp(1.75rem, 3.5vw, 2.75rem); display: flex; flex-direction: column; gap: 1rem; }
.case__body h3 { font-size: var(--fs-h3); }
.case__body > p { color: var(--text-soft); font-size: .97rem; }
.case__kpis {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 1rem .9rem; padding-top: 1.1rem; border-top: 1px solid var(--line); margin-top: auto;
}
.card .case__kpis { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: .9rem .8rem; }
.card .case__kpi-v { font-size: 1.3rem; }
.case__kpi-v { font-family: var(--font-display); font-size: 1.5rem; overflow-wrap: anywhere; font-weight: 700; letter-spacing: -.03em; color: var(--teal-600); line-height: 1.1; }
.case__kpi-l {
  font-size: .78rem; color: var(--text-mute); margin-top: .2rem; line-height: 1.4;
  overflow-wrap: break-word; hyphens: auto;
}
.section--dark .case__kpi-l, .section--ink .case__kpi-l, .card--dark .case__kpi-l { color: rgba(255,255,255,.55); }
/* Dunkle Flächen: Trennlinie über den Kennzahlen sichtbar halten */
.section--dark .case__kpis, .section--ink .case__kpis, .card--dark .case__kpis { border-color: var(--line-dark); }

/* ---------- 13. Quote ---------- */
.quote {
  background: var(--navy-700); color: #fff; border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden; isolation: isolate;
}
.quote::before {
  content: '“'; position: absolute; top: -2.5rem; right: 1.5rem; z-index: -1;
  font-family: var(--font-display); font-size: 16rem; line-height: 1; color: rgba(45,212,191,.13);
}
.quote blockquote { font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.42; letter-spacing: -.02em; margin-bottom: 1.75rem; }
.quote figcaption { display: flex; align-items: center; gap: .9rem; font-size: .9rem; color: var(--text-inv-s); }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--teal), var(--sky)); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
}
.quote figcaption strong { display: block; color: #fff; font-weight: 600; }

/* ---------- 14. Accordion / FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.section--dark .faq, .section--ink .faq { border-color: var(--line-dark); }
.faq__item { border-bottom: 1px solid var(--line); }
.section--dark .faq__item, .section--ink .faq__item { border-color: var(--line-dark); }
.faq__btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  letter-spacing: -.015em; color: var(--text); transition: color .2s var(--ease);
}
.section--dark .faq__btn, .section--ink .faq__btn { color: #fff; }
.faq__btn:hover { color: var(--teal-600); }
.section--dark .faq__btn:hover, .section--ink .faq__btn:hover { color: var(--teal); }
.faq__sign { flex-shrink: 0; position: relative; width: 22px; height: 22px; margin-top: .25rem; }
.faq__sign::before, .faq__sign::after {
  content: ''; position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  background: var(--teal-600); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.section--dark .faq__sign::before, .section--dark .faq__sign::after,
.section--ink .faq__sign::before, .section--ink .faq__sign::after { background: var(--teal); }
.faq__sign::before { width: 16px; height: 2px; }
.faq__sign::after { width: 2px; height: 16px; }
.faq__btn[aria-expanded="true"] .faq__sign::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq__panel[data-open="true"] { grid-template-rows: 1fr; }
.faq__panel > div { overflow: hidden; }
.faq__panel p { padding-bottom: 1.6rem; max-width: 72ch; color: var(--text-soft); font-size: .98rem; }
.section--dark .faq__panel p, .section--ink .faq__panel p { color: var(--text-inv-s); }

/* ---------- 15. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #fff; }
.cta-band__inner { text-align: center; max-width: 760px; margin-inline: auto; }
.cta-band h2 { font-size: var(--fs-h2); margin-bottom: 1.1rem; }
.cta-band .lead { margin-bottom: 2.25rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }

/* ---------- 16. Forms ---------- */
.form-shell {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.75rem, 3.5vw, 2.75rem); box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--text); }
.field label .req { color: var(--teal-600); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--paper); font-size: .97rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(45,212,191,.16);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #E11D48; }
.field__err { font-size: .82rem; color: #E11D48; min-height: 0; display: none; }
.field__err.is-shown { display: block; }
.field__hint { font-size: .82rem; color: var(--text-mute); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .87rem; color: var(--text-soft); margin-bottom: 1.5rem; }
.check input { width: 18px; height: 18px; margin-top: .18rem; flex-shrink: 0; accent-color: var(--teal-600); }
.check a { color: var(--teal-600); text-decoration: underline; text-underline-offset: 2px; }
.form-status { margin-top: 1.1rem; padding: .9rem 1.1rem; border-radius: var(--r-md); font-size: .9rem; display: none; }
.form-status.is-shown { display: block; }
.form-status--ok { background: rgba(45,212,191,.12); color: #0F766E; border: 1px solid rgba(45,212,191,.32); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- 17. Contact / info tiles ---------- */
.info-tile { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line-dark); }
.info-tile:last-child { border-bottom: 0; }
.info-tile__icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(45,212,191,.13); color: var(--teal); }
.info-tile__icon svg { width: 20px; height: 20px; }
.info-tile h3 { font-size: 1rem; margin-bottom: .2rem; }
.info-tile p, .info-tile a { font-size: .93rem; color: var(--text-inv-s); }
.info-tile a:hover { color: var(--teal); }

/* ---------- 18. Job list ---------- */
.job {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
  padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.job + .job { margin-top: .9rem; }
.job:hover { border-color: rgba(45,212,191,.5); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.job__main { flex: 1 1 260px; }
.job__main h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.job__meta { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- 19. Value / number list ---------- */
.value-list { display: grid; gap: 1.5rem; }
.value-list__item { display: flex; gap: 1.25rem; }
.value-list__n {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(45,212,191,.12); border: 1px solid rgba(45,212,191,.28);
  font-family: var(--font-display); font-weight: 700; color: var(--teal-600); font-size: .95rem;
}
.section--dark .value-list__n, .section--ink .value-list__n { color: var(--teal); }
.value-list__item h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.value-list__item p { font-size: .95rem; color: var(--text-soft); }
.section--dark .value-list__item p, .section--ink .value-list__item p { color: var(--text-inv-s); }

/* ---------- 20. Prose (legal pages) ---------- */
.prose { max-width: 76ch; }
.prose h2 { font-size: 1.55rem; margin-top: 2.75rem; margin-bottom: .9rem; }
.prose h3 { font-size: 1.12rem; margin-top: 1.9rem; margin-bottom: .55rem; }
.prose p, .prose li { color: var(--text-soft); font-size: .98rem; }
.prose p + p { margin-top: .9rem; }
.prose ul { margin: .9rem 0 0; display: grid; gap: .5rem; }
.prose ul li { position: relative; padding-left: 1.35rem; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .65rem; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.prose a { color: var(--teal-600); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--text); }

/* ---------- 21. Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-inv-s); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.site-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__top { grid-template-columns: 1fr; } }
.site-footer .brand__name { color: #fff; }
.site-footer__intro { max-width: 34ch; font-size: .93rem; margin-top: 1.1rem; }
.site-footer .footer-head {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; margin-bottom: 1.1rem;
}
.site-footer ul { display: grid; gap: .65rem; }
.site-footer a { font-size: .93rem; transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--teal); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; justify-content: space-between;
  padding-block: 1.75rem; border-top: 1px solid var(--line-dark); font-size: .85rem;
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.social { display: flex; gap: .6rem; }
.social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-dark); transition: all .25s var(--ease);
}
.social a:hover { background: var(--teal); border-color: var(--teal); color: var(--ink); transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; }

/* ---------- 22. Cookie banner ---------- */
.cookie {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); z-index: 120;
  max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 1.5rem;
  transform: translateY(140%); transition: transform .45s var(--ease); 
}
.cookie.is-shown { transform: translateY(0); }
.cookie h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.cookie p { font-size: .88rem; color: var(--text-soft); margin-bottom: 1.1rem; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------- 23. Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .09s; }
[data-reveal][data-delay="2"] { transition-delay: .18s; }
[data-reveal][data-delay="3"] { transition-delay: .27s; }
[data-reveal][data-delay="4"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ---------- 24. Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }
.mt-4 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.divider { height: 1px; background: var(--line); border: 0; }
.section--dark .divider, .section--ink .divider { background: var(--line-dark); }
.note {
  font-size: .82rem; color: var(--text-mute); border-left: 2px solid var(--line);
  padding-left: .9rem; line-height: 1.5;
}
.section--dark .note, .section--ink .note { color: rgba(255,255,255,.5); border-color: var(--line-dark); }

/* ==========================================================================
   25. Gezeichnete Hintergründe (ersetzen die früheren Stockfotos)
   ========================================================================== */
.deco { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.deco__grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 78%);
}
.deco__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.deco__glow--a {
  width: 52vw; height: 52vw; max-width: 720px; max-height: 720px; top: -22%; right: -12%;
  background: radial-gradient(circle, rgba(45,212,191,.5), transparent 68%);
  animation: floatA 19s var(--ease) infinite alternate;
}
.deco__glow--b {
  width: 44vw; height: 44vw; max-width: 600px; max-height: 600px; bottom: -28%; left: -10%;
  background: radial-gradient(circle, rgba(56,189,248,.36), transparent 68%);
  animation: floatB 23s var(--ease) infinite alternate;
}
@keyframes floatA { to { transform: translate3d(-5%, 7%, 0) scale(1.12); } }
@keyframes floatB { to { transform: translate3d(7%, -6%, 0) scale(1.08); } }
.deco__lines { position: absolute; inset: auto 0 0 0; width: 100%; height: 62%; opacity: .5; }
.deco__lines path { fill: none; stroke: rgba(45,212,191,.32); stroke-width: 1; }
.deco__lines path:nth-child(2) { stroke: rgba(56,189,248,.24); }
.deco__lines path:nth-child(3) { stroke: rgba(129,140,248,.2); }
@media (prefers-reduced-motion: reduce) { .deco__glow { animation: none; } }

.page-hero--tall { min-height: 74vh; display: flex; align-items: center; }

/* ==========================================================================
   26. Diagramm-Bausteine (Serienfarben gegen die dunkle Fläche geprüft)
   ========================================================================== */
.viz {
  --series-plan: #C98500;
  --series-ist:  #11A392;
  --viz-surface: #111A2E;
  margin: 0; background: var(--viz-surface); border: 1px solid var(--line-dark);
  border-radius: var(--r-xl); padding: clamp(1.25rem, 2.6vw, 1.85rem);
  box-shadow: var(--shadow-lg); color: #fff;
}
.viz__head { display: flex; flex-direction: column; gap: .15rem; margin-bottom: 1.25rem; }
.viz__title { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.viz__sub { font-size: .8rem; color: rgba(255,255,255,.55); }

.viz-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin-bottom: 1.35rem; }
.viz-tile { background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: .8rem .85rem; }
.viz-tile__l { font-size: .72rem; color: rgba(255,255,255,.6); line-height: 1.3; }
.viz-tile__v { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; margin-top: .25rem; }
.viz-tile__d { font-size: .74rem; margin-top: .1rem; color: rgba(255,255,255,.55); }
.viz-tile__d--up { color: var(--teal-300); }
@media (max-width: 460px) { .viz-tiles { grid-template-columns: 1fr; } }

.viz__plot { position: relative; }
.viz__grid { stroke: rgba(255,255,255,.08); stroke-width: 1; }
.viz__axis { stroke: rgba(255,255,255,.22); stroke-width: 1; }
.viz__tick { fill: rgba(255,255,255,.55); font-size: 9px; font-family: var(--font-body); }
.viz__value { fill: #fff; font-size: 11px; font-weight: 600; font-family: var(--font-display); }
.viz__bar { transition: opacity .2s var(--ease), filter .2s var(--ease); cursor: pointer; }
.viz__bar--plan { fill: var(--series-plan); }
.viz__bar--ist  { fill: var(--series-ist); }
.viz__plot:hover .viz__bar { opacity: .45; }
.viz__bar:hover, .viz__bar:focus-visible { opacity: 1; filter: brightness(1.18); outline: none; }
.viz__bar:focus-visible { stroke: #fff; stroke-width: 2; }
/* Einlaufanimation: Balken wachsen aus der Grundlinie */
.viz__plot svg { transform-origin: 50% 100%; }
[data-reveal] .viz__bar { transform: scaleY(0); transform-origin: 50% 100%; transform-box: fill-box; }
[data-reveal].is-visible .viz__bar { transform: scaleY(1); transition: transform .85s var(--ease), opacity .2s var(--ease); }
[data-reveal].is-visible .viz__bar:nth-of-type(even) { transition-delay: .06s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] .viz__bar { transform: none; } }

.viz__tip {
  position: absolute; z-index: 3; pointer-events: none; opacity: 0;
  transform: translate(-50%, -125%); transition: opacity .15s var(--ease);
  background: #fff; color: var(--navy); font-size: .78rem; font-weight: 500;
  padding: .4rem .65rem; border-radius: var(--r-sm); box-shadow: var(--shadow-md); white-space: nowrap;
}
.viz__tip.is-shown { opacity: 1; }

.viz__legend { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.1rem; margin-top: 1rem; }
.viz__key { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; color: rgba(255,255,255,.72); }
.viz__swatch { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.viz__swatch--plan { background: var(--series-plan); }
.viz__swatch--ist { background: var(--series-ist); }
.viz__toggle {
  margin-left: auto; background: none; border: 0; cursor: pointer; padding: .25rem 0;
  font-size: .78rem; color: var(--teal); text-decoration: underline; text-underline-offset: 3px;
}
.viz__table-wrap { margin-top: 1rem; overflow-x: auto; }
.viz__table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.viz__table th, .viz__table td { padding: .45rem .6rem; text-align: right; border-bottom: 1px solid var(--line-dark); }
.viz__table th[scope="row"] { text-align: left; font-weight: 500; color: rgba(255,255,255,.75); }
.viz__table thead th { color: rgba(255,255,255,.6); font-weight: 600; }

/* ==========================================================================
   27. Pipeline-Diagramm
   ========================================================================== */
.pipe {
  margin: 0; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-md);
}
.section--dark .pipe, .section--ink .pipe { background: var(--navy-700); border-color: var(--line-dark); }
.pipe__cap { font-size: .8rem; color: var(--text-mute); margin-bottom: 1rem; }
.section--dark .pipe__cap, .section--ink .pipe__cap { color: rgba(255,255,255,.55); }
.pipe__svg { width: 100%; height: auto; overflow: visible; }
.pipe__rail { stroke: var(--line); stroke-width: 2; }
.section--dark .pipe__rail, .section--ink .pipe__rail { stroke: rgba(255,255,255,.14); }
.pipe__rail--live {
  stroke: var(--teal); stroke-width: 2; stroke-dasharray: 5 9; stroke-linecap: round;
  animation: railflow 2.4s linear infinite; opacity: .75;
}
@keyframes railflow { to { stroke-dashoffset: -28; } }
.pipe__pulse { fill: var(--teal); animation: pulseRun 4.6s var(--ease) infinite; }
.pipe__pulse--2 { animation-delay: 2.3s; }
@keyframes pulseRun {
  0%   { transform: translateX(0);     opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateX(608px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pipe__rail--live, .pipe__pulse { animation: none; }
  .pipe__pulse { opacity: 0; }
}
.pipe__node { cursor: pointer; }
.pipe__halo { fill: rgba(45,212,191,.14); opacity: 0; transition: opacity .25s var(--ease); }
.pipe__node.is-active .pipe__halo, .pipe__node:hover .pipe__halo, .pipe__node:focus-visible .pipe__halo { opacity: 1; }
.pipe__node:focus-visible { outline: none; }
.pipe__node:focus-visible .pipe__dot { stroke: var(--teal); stroke-width: 3; }
.pipe__dot {
  fill: var(--paper-alt); stroke: var(--line); stroke-width: 2;
  transition: fill .25s var(--ease), stroke .25s var(--ease);
}
.section--dark .pipe__dot, .section--ink .pipe__dot { fill: var(--navy-600); stroke: rgba(255,255,255,.18); }
.pipe__node.is-active .pipe__dot, .pipe__node:hover .pipe__dot { fill: var(--teal); stroke: var(--teal); }
.pipe__num { font-family: var(--font-display); font-size: 12px; font-weight: 700; fill: var(--text-mute); transition: fill .25s var(--ease); }
.section--dark .pipe__num, .section--ink .pipe__num { fill: rgba(255,255,255,.6); }
.pipe__node.is-active .pipe__num, .pipe__node:hover .pipe__num { fill: #04231F; }
.pipe__label { font-family: var(--font-display); font-size: 12px; font-weight: 600; fill: var(--text-soft); }
.section--dark .pipe__label, .section--ink .pipe__label { fill: rgba(255,255,255,.72); }
.pipe__desc { margin-top: 1.1rem; min-height: 6.5rem; }
.pipe__text { display: none; font-size: .94rem; color: var(--text-soft); line-height: 1.6; }
.pipe__text[data-active] { display: block; animation: fadeUp .35s var(--ease); }
.section--dark .pipe__text, .section--ink .pipe__text { color: var(--text-inv-s); }
.pipe__text strong { color: var(--text); }
.section--dark .pipe__text strong, .section--ink .pipe__text strong { color: #fff; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .pipe__desc { min-height: 9rem; } }

/* ==========================================================================
   28. Leistungs-Explorer (Registerkarten)
   ========================================================================== */
.xplor { border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: var(--paper); }
.xplor__tabs { display: grid; grid-template-columns: repeat(6, 1fr); background: var(--paper-alt); border-bottom: 1px solid var(--line); }
.xplor__tab {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  padding: 1.15rem .6rem 1rem; background: none; border: 0; cursor: pointer;
  border-bottom: 3px solid transparent; transition: background .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
  color: var(--text-soft);
}
.xplor__tab:hover { background: rgba(45,212,191,.07); color: var(--teal-600); }
.xplor__tab[aria-selected="true"] { background: var(--paper); border-bottom-color: var(--teal); color: var(--navy); }
.xplor__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(45,212,191,.12); color: var(--teal-600); transition: transform .22s var(--ease); }
.xplor__ico svg { width: 19px; height: 19px; }
.xplor__tab[aria-selected="true"] .xplor__ico { background: var(--teal); color: #04231F; transform: translateY(-2px); }
.xplor__tabtext { display: flex; flex-direction: column; align-items: center; gap: .1rem; }
.xplor__tabname { font-family: var(--font-display); font-weight: 600; font-size: .88rem; letter-spacing: -.01em; }
.xplor__tabnum { font-size: .68rem; letter-spacing: .1em; opacity: .55; }
@media (max-width: 860px) {
  .xplor__tabs { grid-template-columns: repeat(3, 1fr); }
  .xplor__tab { padding: .9rem .4rem .8rem; }
  .xplor__tabnum { display: none; }
}
@media (max-width: 420px) { .xplor__tabs { grid-template-columns: repeat(2, 1fr); } }

.xplor__panel { padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.xplor__panel:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.xplor__grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; }
@media (max-width: 860px) { .xplor__grid { grid-template-columns: 1fr; } }
.xplor__grid h3 { font-size: var(--fs-h3); margin-bottom: .85rem; }
.xplor__side { background: var(--paper-alt); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.35rem; display: grid; gap: 1.1rem; }
.xplor__meta { display: grid; gap: .4rem; }
.xplor__metal { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--text-mute); }
.xplor__metav { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--navy); }
.xplor__detail { font-size: .88rem; color: var(--text-soft); line-height: 1.6; padding-top: .9rem; border-top: 1px solid var(--line); }
.xplor__panel[hidden] { display: none; }

/* ==========================================================================
   29. Prozess-Stepper
   ========================================================================== */
.stepper { display: grid; gap: clamp(1.75rem, 3.5vw, 2.5rem); }
.stepper__track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.stepper__rail { position: absolute; top: 21px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line); border-radius: 2px; }
.section--dark .stepper__rail, .section--ink .stepper__rail { background: rgba(255,255,255,.14); }
.stepper__fill { display: block; height: 100%; width: 0%; background: var(--teal); border-radius: 2px; transition: width .5s var(--ease); }
.stepper__btn {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  background: none; border: 0; cursor: pointer; padding: 0 .35rem; text-align: center; color: var(--text-soft);
}
.stepper__dot {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 2px solid var(--line);
  transition: background .28s var(--ease), border-color .28s var(--ease), transform .28s var(--ease), box-shadow .28s var(--ease);
}
.section--dark .stepper__dot, .section--ink .stepper__dot { background: var(--navy-700); border-color: rgba(255,255,255,.18); }
.stepper__n { font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--text-mute); transition: color .28s var(--ease); }
.section--dark .stepper__n, .section--ink .stepper__n { color: rgba(255,255,255,.6); }
.stepper__btn:hover .stepper__dot { border-color: var(--teal); }
.stepper__btn[aria-selected="true"] .stepper__dot { background: var(--teal); border-color: var(--teal); transform: scale(1.08); box-shadow: 0 0 0 6px rgba(45,212,191,.14); }
.stepper__btn[aria-selected="true"] .stepper__n { color: #04231F; }
.stepper__btn.is-done .stepper__dot { border-color: var(--teal); }
.stepper__name { font-family: var(--font-display); font-weight: 600; font-size: .98rem; color: var(--text); }
.section--dark .stepper__name, .section--ink .stepper__name { color: #fff; }
.stepper__btn[aria-selected="true"] .stepper__name { color: var(--teal-600); }
.section--dark .stepper__btn[aria-selected="true"] .stepper__name, .section--ink .stepper__btn[aria-selected="true"] .stepper__name { color: var(--teal); }
.stepper__dur { font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-mute); }
.section--dark .stepper__dur, .section--ink .stepper__dur { color: rgba(255,255,255,.5); }
.stepper__btn:focus-visible { outline: none; }
.stepper__btn:focus-visible .stepper__dot { outline: 3px solid var(--teal); outline-offset: 3px; }
.stepper__panel {
  background: var(--paper-alt); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem); animation: fadeUp .35s var(--ease);
}
.section--dark .stepper__panel, .section--ink .stepper__panel { background: var(--navy-700); border-color: var(--line-dark); }
.stepper__panel[hidden] { display: none; }
.stepper__panel:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
@media (max-width: 720px) {
  .stepper__track { grid-template-columns: repeat(2, 1fr); gap: 1.25rem .5rem; }
  .stepper__rail { display: none; }
}

/* ==========================================================================
   30. Reifegrad-Check
   ========================================================================== */
.quiz { display: grid; gap: 1.75rem; }
.quiz__head { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: end; }
.quiz__head h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }
@media (max-width: 720px) { .quiz__head { grid-template-columns: 1fr; align-items: start; } }
.quiz__progress { display: grid; gap: .5rem; min-width: 170px; }
.quiz__pnum { font-size: .8rem; color: var(--text-inv-s); font-variant-numeric: tabular-nums; }
.quiz__pbar { display: block; height: 5px; background: rgba(255,255,255,.14); border-radius: 3px; overflow: hidden; }
.quiz__pfill { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--sky)); border-radius: 3px; transition: width .4s var(--ease); }

.quiz__form {
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark);
  border-radius: var(--r-xl); padding: clamp(1.5rem, 3.5vw, 2.25rem);
}
.quiz__step { border: 0; padding: 0; margin: 0; animation: fadeUp .35s var(--ease); }
.quiz__step[hidden] { display: none; }
.quiz__legend { display: grid; gap: .45rem; margin-bottom: 1.35rem; }
.quiz__dim { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--teal); }
.quiz__q { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.4rem); letter-spacing: -.02em; color: #fff; }
.quiz__opts { display: grid; gap: .6rem; }
.quiz__opt {
  display: flex; align-items: flex-start; gap: .85rem; cursor: pointer;
  padding: .95rem 1.1rem; border: 1px solid var(--line-dark); border-radius: var(--r-md);
  font-size: .95rem; color: var(--text-inv-s);
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.quiz__opt:hover { border-color: rgba(45,212,191,.55); background: rgba(45,212,191,.07); color: #fff; }
.quiz__opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.quiz__box {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; margin-top: .1rem;
  border: 2px solid rgba(255,255,255,.3); position: relative; transition: border-color .2s var(--ease);
}
.quiz__box::after {
  content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--teal);
  transform: scale(0); transition: transform .2s var(--ease);
}
.quiz__opt:has(input:checked) { border-color: var(--teal); background: rgba(45,212,191,.12); color: #fff; }
.quiz__opt:has(input:checked) .quiz__box { border-color: var(--teal); }
.quiz__opt:has(input:checked) .quiz__box::after { transform: scale(1); }
.quiz__opt:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.quiz__hint { margin-top: 1rem; font-size: .85rem; color: #FCA5A5; }
.quiz__nav { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.75rem; }

.quiz__result { animation: fadeUp .4s var(--ease); }
.quiz__result[hidden] { display: none; }
.quiz__result:focus-visible { outline: none; }
.score { background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); border-radius: var(--r-xl); padding: clamp(1.5rem, 3.5vw, 2.25rem); }
.score__headline { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; margin-bottom: 1rem; }
.score__level { font-family: var(--font-display); font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 700; letter-spacing: -.03em; color: var(--teal); }
.score__points { font-size: .9rem; color: var(--text-inv-s); font-variant-numeric: tabular-nums; }
.score__text { color: var(--text-inv-s); font-size: 1rem; line-height: 1.65; margin-bottom: 1.75rem; }
.score__bars { display: grid; gap: .85rem; padding-block: 1.25rem; border-block: 1px solid var(--line-dark); }
.score__row { display: grid; grid-template-columns: 9.5rem 1fr 2.5rem; gap: .85rem; align-items: center; }
@media (max-width: 560px) { .score__row { grid-template-columns: 6.5rem 1fr 2.2rem; } }
.score__dim { font-size: .85rem; color: var(--text-inv-s); }
.score__track { height: 9px; background: rgba(255,255,255,.1); border-radius: 5px; overflow: hidden; }
/* Eine Kennzahl über vier Dimensionen: eine Farbe, kein Legendenbedarf */
.score__bar { display: block; height: 100%; width: 0%; background: var(--teal-600); border-radius: 5px; transition: width .7s var(--ease); }
.score__val { font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
.score__rec { margin-top: 1.25rem; font-size: .95rem; color: var(--text-inv-s); }
.score__rec strong { color: var(--teal); }
.score__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }

/* ==========================================================================
   31. Umfangsrechner
   ========================================================================== */
.calc { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc__inputs { background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); border-radius: var(--r-xl); padding: clamp(1.5rem, 3vw, 2.25rem); }
.calc__inputs h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.calc__intro { font-size: .92rem; color: var(--text-inv-s); margin-bottom: 1.75rem; }
.calc__field { margin-bottom: 1.6rem; }
.calc__field label, .calc__label { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .92rem; font-weight: 500; color: #fff; margin-bottom: .7rem; }
.calc__out { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--teal); font-variant-numeric: tabular-nums; }
.calc__field input[type="range"] { width: 100%; height: 6px; -webkit-appearance: none; appearance: none; background: rgba(255,255,255,.14); border-radius: 4px; outline: none; }
.calc__field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal); border: 3px solid var(--navy); cursor: pointer;
  box-shadow: 0 2px 10px rgba(45,212,191,.5); transition: transform .18s var(--ease);
}
.calc__field input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.14); }
.calc__field input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: var(--teal);
  border: 3px solid var(--navy); cursor: pointer;
}
.calc__field input[type="range"]:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.calc__scale { display: flex; justify-content: space-between; font-size: .74rem; color: rgba(255,255,255,.45); margin-top: .45rem; }
.calc__choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.calc__chip { cursor: pointer; }
.calc__chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.calc__chip span {
  display: inline-block; padding: .55rem 1rem; border-radius: 100px; font-size: .86rem;
  border: 1px solid var(--line-dark); color: var(--text-inv-s);
  transition: all .2s var(--ease);
}
.calc__chip:hover span { border-color: rgba(45,212,191,.55); color: #fff; }
.calc__chip input:checked + span { background: var(--teal); border-color: var(--teal); color: #04231F; font-weight: 600; }
.calc__chip input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.calc__toggle { display: flex !important; justify-content: flex-start !important; align-items: center; gap: .85rem; cursor: pointer; margin-bottom: 0 !important; }
.calc__toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.calc__switch { flex-shrink: 0; position: relative; width: 46px; height: 26px; border-radius: 100px; background: rgba(255,255,255,.18); transition: background .25s var(--ease); }
.calc__switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.calc__toggle input:checked + .calc__switch { background: var(--teal); }
.calc__toggle input:checked + .calc__switch::after { transform: translateX(20px); }
.calc__toggle input:focus-visible + .calc__switch { outline: 3px solid var(--teal); outline-offset: 3px; }

.calc__result { background: var(--navy-700); border: 1px solid rgba(45,212,191,.32); border-radius: var(--r-xl); padding: clamp(1.5rem, 3vw, 2.25rem); position: sticky; top: 100px; }
@media (max-width: 900px) { .calc__result { position: static; } }
.calc__rl { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.55); }
.calc__amount { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 700; letter-spacing: -.035em; color: var(--teal); margin-top: .4rem; font-variant-numeric: tabular-nums; }
.calc__meterwrap { margin: 1.1rem 0 1.5rem; }
.calc__meter { display: block; height: 7px; background: rgba(255,255,255,.1); border-radius: 4px; overflow: hidden; }
.calc__meterfill { display: block; height: 100%; width: 30%; background: linear-gradient(90deg, var(--teal), var(--sky)); border-radius: 4px; transition: width .45s var(--ease); }
.calc__split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-block: 1.25rem; border-block: 1px solid var(--line-dark); }
.calc__mini {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: #fff;
  margin-top: .3rem; font-variant-numeric: tabular-nums; text-wrap: balance;
}
@media (max-width: 440px) {
  .calc__split { grid-template-columns: 1fr; gap: 1.1rem; }
  .calc__mini { font-size: 1.1rem; }
}
.calc__breakdown { display: grid; gap: .5rem; padding-block: 1.25rem; }
.calc__breakdown li { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; color: var(--text-inv-s); }
.calc__breakdown li span:last-child { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__disc { font-size: .76rem; color: rgba(255,255,255,.5); line-height: 1.5; margin-top: 1rem; }

/* ==========================================================================
   32. Branchen-, Fall- und Übersichtskacheln (bildlos)
   ========================================================================== */
.ind {
  position: relative; display: flex; flex-direction: column; gap: .7rem;
  padding: 1.6rem 1.4rem; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.ind::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--sky));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.ind:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(45,212,191,.45); }
.ind:hover::before { transform: scaleX(1); }
.ind__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(45,212,191,.12); color: var(--teal-600); }
.ind__icon svg { width: 22px; height: 22px; }
.ind h3 { font-size: 1.1rem; }
.ind p { font-size: .9rem; color: var(--text-soft); }
.ind__stat { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.ind__statv { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; letter-spacing: -.03em; color: var(--teal-600); }
.ind__statl { font-size: .76rem; color: var(--text-mute); line-height: 1.4; }
.ind__link { position: absolute; inset: 0; display: grid; place-items: end start; padding: 1.4rem; opacity: 0; }
.ind__link svg { width: 20px; height: 20px; }
.ind__link:focus-visible { opacity: 1; outline: 3px solid var(--teal); outline-offset: -3px; }

.mini {
  display: flex; flex-direction: column; gap: .8rem; padding: 1.6rem 1.4rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.mini:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(45,212,191,.45); }
.mini__top { display: flex; align-items: center; gap: .75rem; }
.mini__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(45,212,191,.12); color: var(--teal-600); flex-shrink: 0; }
.mini__icon svg { width: 20px; height: 20px; }
.mini h3 { font-size: 1.1rem; }
.mini p { font-size: .91rem; color: var(--text-soft); }

.ovw__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .ovw__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ovw__grid { grid-template-columns: 1fr; } }
.ovw {
  position: relative; display: grid; gap: .45rem; padding: 1.4rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.ovw:hover { transform: translateY(-4px); border-color: rgba(45,212,191,.5); box-shadow: var(--shadow-sm); }
.ovw__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(45,212,191,.12); color: var(--teal-600); }
.ovw__icon svg { width: 20px; height: 20px; }
.ovw__t { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--navy); }
.ovw__d { font-size: .86rem; color: var(--text-soft); line-height: 1.5; }
.ovw__go { position: absolute; top: 1.4rem; right: 1.4rem; color: var(--teal-600); opacity: 0; transform: translateX(-4px); transition: all .28s var(--ease); }
.ovw__go svg { width: 18px; height: 18px; }
.ovw:hover .ovw__go { opacity: 1; transform: none; }

/* Leistungs- und Branchenblöcke auf den Unterseiten */
.svc { display: grid; grid-template-columns: 210px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.svc + .svc { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; gap: 1.5rem; } }
.svc__aside { display: grid; gap: 1rem; justify-items: start; position: sticky; top: 110px; }
@media (max-width: 760px) { .svc__aside { position: static; grid-auto-flow: column; justify-content: start; align-items: center; gap: 1.25rem; } }
.svc__num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; letter-spacing: -.05em; color: var(--line); line-height: 1; }
.svc__meta { display: grid; gap: .25rem; }
.svc__metal { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--text-mute); }
.svc__metav { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--navy); }
.svc__metav--big { font-size: 1.8rem; letter-spacing: -.03em; color: var(--teal-600); }
.svc__metad { font-size: .76rem; color: var(--text-mute); line-height: 1.4; max-width: 18ch; }
.svc__body h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }

/* Fallstudien ohne Bild */
.case { display: grid; grid-template-columns: auto 1fr 210px; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem); transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.case:hover { box-shadow: var(--shadow-md); border-color: rgba(45,212,191,.45); }
.case + .case { margin-top: clamp(1.25rem, 2.5vw, 1.75rem); }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } }
.case__head { display: grid; gap: .75rem; justify-items: start; }
.case__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(45,212,191,.12); color: var(--teal-600); }
.case__icon svg { width: 23px; height: 23px; }
.case__body { display: grid; gap: .85rem; }
.case__body h3 { font-size: var(--fs-h3); }
.case__body p { font-size: .96rem; color: var(--text-soft); }
.case__side { display: grid; gap: 1rem; align-content: start; padding-left: clamp(0rem, 2vw, 1.5rem); border-left: 1px solid var(--line); }
@media (max-width: 900px) { .case__side { grid-template-columns: repeat(3, 1fr); border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1.25rem; } }
@media (max-width: 480px) { .case__side { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   33. Platzhalter für noch fehlende Angaben
   ========================================================================== */
.ph {
  display: inline-block; padding: .1em .5em; border-radius: 5px;
  border: 1px dashed currentColor; background: rgba(234,179,8,.1);
  color: #92610A; font-style: normal; font-weight: 500;
  font-size: .88em; line-height: 1.35; letter-spacing: .005em;
  vertical-align: baseline; text-wrap: balance;
}
.section--dark .ph, .section--ink .ph, .hero .ph, .page-hero .ph,
.cta-band .ph, .quote .ph, .card--dark .ph, .site-footer .ph, .viz .ph {
  color: #FCD34D; background: rgba(252,211,77,.12);
}
/* In großen Zahlenfeldern nicht die Anzeigegröße der echten Zahl erben */
.stat-bar__val .ph, .score__level .ph, .calc__amount .ph,
.pkmini__price .ph, .svc__metav .ph { font-size: .5em; font-weight: 500; }
.hero__note .ph, .checklist .ph { font-size: .95em; }

.ph-note {
  margin-top: 1.5rem; padding: .95rem 1.15rem;
  border: 1px dashed rgba(234,179,8,.5); border-radius: var(--r-md);
  background: rgba(234,179,8,.07);
  font-size: .86rem; line-height: 1.6; color: var(--text-soft);
}
.ph-note strong { color: #92610A; }
.ph-note code {
  font-size: .92em; padding: .08em .35em; border-radius: 4px;
  background: rgba(11,18,32,.07); font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.section--dark .ph-note, .section--ink .ph-note, .cta-band .ph-note {
  color: var(--text-inv-s); border-color: rgba(252,211,77,.4); background: rgba(252,211,77,.08);
}
.section--dark .ph-note strong, .section--ink .ph-note strong { color: #FCD34D; }
.section--dark .ph-note code, .section--ink .ph-note code { background: rgba(255,255,255,.1); }

/* Leere Gerüste zurückhaltender zeichnen, damit sie nicht wie Inhalt wirken */
.case--empty, .mini--empty, .job--empty, .quote--empty { border-style: dashed; }
.case--empty:hover, .mini--empty:hover, .job--empty:hover { transform: none; box-shadow: none; }
.quote--empty { background: var(--navy-700); border: 1px dashed rgba(252,211,77,.35); }
.quote--empty blockquote { font-size: 1.1rem; }
.quote__avatar--empty { background: rgba(252,211,77,.2); color: #FCD34D; }

.site-footer__hint { margin-top: .6rem; font-size: .76rem; color: rgba(255,255,255,.4); }

/* Branchen-Stichpunkte auf der Startseite (ersetzen die früheren Kennzahlen) */
.ind__points { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); display: grid; gap: .4rem; }
.ind__points li { position: relative; padding-left: 1.05rem; font-size: .84rem; color: var(--text-mute); }
.ind__points li::before { content: ''; position: absolute; left: 0; top: .55rem; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }

/* Statistikleiste: Platzhalter brauchen mehr Raum als eine Zahl */
.stat-bar__val { display: flex; align-items: center; justify-content: center; flex: 1; }

/* Rechner: Hinweis, solange keine Kostensätze hinterlegt sind */
.calc__pending {
  padding: 1rem 1.15rem; margin-bottom: 1.5rem;
  border: 1px dashed rgba(252,211,77,.45); border-radius: var(--r-md);
  background: rgba(252,211,77,.09); font-size: .87rem; line-height: 1.6; color: var(--text-inv-s);
}
.calc__pending strong { display: block; color: #FCD34D; margin-bottom: .2rem; }
.calc__pending code {
  font-size: .92em; padding: .08em .35em; border-radius: 4px;
  background: rgba(255,255,255,.1); font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.calc__summary { padding-bottom: 1.25rem; border-bottom: 1px solid var(--line-dark); margin-bottom: 1.25rem; }
