/* ============================================================
   akyol.de — Site Stylesheet
   Vanilla CSS · Keine Frameworks · Kein Build-Step
   ============================================================

   INHALT
   01 · Fonts (@font-face, lokal, DSGVO-konform)
   02 · Design-Tokens (CSS Custom Properties)
   03 · Reset + Base
   04 · Atoms (Skip-Link, Eyebrow, Buttons, CTA-Arrow)
   05 · Layout (Container, Section-Base)
   06 · Navigation (Desktop)
   07 · Mobile Menü (Overlay)
   08 · Hero (#hero) + Eingangsanimationen
   09 · Leistung (#leistung)
   10 · Auslöser (#ausloeser)
   11 · Fälle (#faelle)
   12 · Branchen (#branchen)
   13 · Profil (#profil)
   14 · Empfehlungen (#empfehlungen)
   15 · Kontakt + Footer (#kontakt)
   16 · Subpage-Header + Subpage-Layout
   17 · Cookie-Banner (consent.js)
   18 · Calendly-Widget (consent-gated)
   19 · Scrollbars
   20 · Mobile Section Navigator
   21 · Touch/Hover-Reset
   ============================================================ */


/* ============================================================
   01 · Fonts — lokal, kein Google Fonts CDN (DSGVO)
   ============================================================ */

@font-face {
  font-family: 'Inter';
  src: url('../font/inter-v20-latin-ext-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../font/inter-v20-latin-ext-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../font/inter-v20-latin-ext-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../font/inter-v20-latin-ext-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../font/inter-v20-latin-ext-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../font/manrope-v20-latin-ext-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../font/manrope-v20-latin-ext-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../font/manrope-v20-latin-ext-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../font/manrope-v20-latin-ext-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}


/* ============================================================
   02 · Design-Tokens
   ============================================================ */

:root {
  /* Hintergrund */
  --bg:            #0F172A;
  --bg-alt:        #212A37;

  /* Linien / Borders */
  --line:          #1f2a3a;
  --line-strong:   #2c3a4d;

  /* Text */
  --text:          #C0D8E2;
  --text-dim:      #7c92a3;
  --white:         #FFFFFF;

  /* Marken-Farben */
  --mid:           #5A7B96;
  --deep:          #384F62;
  --grey:          #54595F;
  --text-grey:     #A7A7A7;

  /* Akzent */
  --accent:        #CF6C3F;
  --accent-hover:  #B85D33;
  --accent-soft:   rgba(207, 108, 63, 0.08);
  --line-accent:   rgba(207, 108, 63, 0.28);

  /* Spacing */
  --page-pad:      clamp(24px, 5vw, 64px);
  --section-pad-v: clamp(48px, 7vw, 96px);
  --container-max: 1280px;

  /* Navigation */
  --nav-h:         68px;

  /* Easing */
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  /* Z-Index-Skala */
  --z-menu:   101;
  --z-nav:    100;
  --z-banner: 200;
}


/* ============================================================
   03 · Reset + Base
   ============================================================ */

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:  0.001ms !important;
    animation-delay:     0ms     !important;
    transition-duration: 0.001ms !important;
  }
}

html { overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--white);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; }

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

ul, ol { margin: 0; padding: 0; list-style: none; }


/* ============================================================
   04 · Atoms
   ============================================================ */

/* --- Skip-Link (Keyboard-Navigation / Accessibility) --- */

.skip-link {
  position: absolute;
  top: -100%;
  left: 24px;
  z-index: calc(var(--z-banner) + 10);
  background: var(--accent);
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 0;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 16px; }

/* --- Eyebrow --- */

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 0;
}

/* --- Buttons — border-radius: 0, keine abgerundeten Ecken --- */

.btn--accent,
.btn--outline,
.btn--ghost {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  transition:
    background   0.25s var(--ease-out),
    color        0.25s var(--ease-out),
    border-color 0.25s var(--ease-out);
}

.btn--accent {
  background: var(--accent);
  color: var(--bg);
  border: 0;
  padding: 18px 26px;
}
.btn--accent:hover { background: var(--accent-hover); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--text);
  padding: 17px 25px;
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border: 0;
  border-bottom: 1px solid var(--accent);
  padding: 0 0 2px;
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 400;
  gap: 8px;
}
.btn--ghost:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

/* CTA-Pfeil */
.cta-arrow {
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
  flex-shrink: 0;
}
.cta-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

/* Focus-Ring (Keyboard-Navigation) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Placeholder-Text (Impressum, offene Felder) */
.ph {
  color: var(--text-dim);
  font-style: italic;
  opacity: 0.85;
}

/* Akzent-Schlusspunkt — nur Hero H1 + Kontakt H2 */
.accent-dot { color: var(--accent); }

/* Hero-Meta-Bar Ausrichtung */
.hero__meta-col--center { text-align: center; }
.hero__meta-col--right  { text-align: right; }

/* Footer-Listenhilfsklassen */
.foot__col-name   { color: var(--white); }


/* ============================================================
   05 · Layout
   ============================================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.section {
  padding: var(--section-pad-v) var(--page-pad);
  scroll-margin-top: 60px;
  position: relative;
}

.section + .section,
.hero + .section {
  border-top: 1px solid var(--line-strong);
}


/* ============================================================
   06 · Navigation (Desktop)
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-pad);
  height: var(--nav-h);
  background: rgba(15, 23, 42, 0);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  transition:
    background      0.35s var(--ease-out),
    border-color    0.35s var(--ease-out),
    backdrop-filter 0.35s var(--ease-out);
}
.nav.scrolled {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

/* Logo */
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__brand img {
  height: 32px;
  width: auto;
  display: block;
  transform-origin: center;
  transition: transform 0.22s var(--ease-out);
}
.nav__brand:hover img { transform: scale(1.08); }
.nav__brand-wm {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--white);
}

/* Anker-Links */
.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.nav__menu a {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  transition: color 0.2s;
}
.nav__menu a:hover          { color: var(--white); }
.nav__menu a.is-active      { color: var(--white); }
.nav__menu a.is-active .nav__num { color: var(--accent); }
.nav__num {
  color: var(--mid);
  font-weight: 400;
  font-feature-settings: 'tnum';
  transition: color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.nav__menu a:hover .nav__num {
  color: var(--accent);
  transform: scale(1.45);
}

/* Kontakt-Button */
.nav__contact {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 10px 20px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.nav__contact:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* Hamburger */
.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition:
    transform 0.25s var(--ease-out),
    opacity   0.15s var(--ease-out),
    width     0.25s var(--ease-out);
}
.nav.menu-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav__burger span:nth-child(2) { opacity: 0; width: 0; }
.nav.menu-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1280px) {
  .nav__brand-wm { display: none; }
}
@media (max-width: 960px) {
  .nav__menu,
  .nav__contact { display: none; }
  .nav__burger   { display: flex; }
}


/* ============================================================
   07 · Mobile Menü (Overlay)
   ============================================================ */

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(68vw, 300px);
  z-index: var(--z-menu);
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 0 var(--page-pad) var(--page-pad);
  overflow: hidden;
  /* Kein will-change — kollidiert mit backdrop-filter (WebKit-Bug) */
  /* Kein visibility — nimmt Element aus Render-Tree, verursacht Pop-in */
  /* inert-Attribut (JS) übernimmt das Blockieren von Interaktionen */
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease-out);
}
.mobile-menu.is-open {
  transform: translateX(0);
}

/* Cookie-Banner-Backdrop */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
body.cookie-is-open::before {
  opacity: 1;
}

/* Menü-Backdrop — immer im DOM, opacity animiert wie bei einer Lightbox */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
body.menu-is-open::after {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

/* Reduced-Motion: sofort ein/aus, kein Slide */
@media (prefers-reduced-motion: reduce) {
  .mobile-menu { transition: none; }
}


.mobile-menu__list {
  display: flex;
  flex-direction: column;
  margin: 34px 0 0;
}
.mobile-menu__list a {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 4.5vw, 20px);
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 16px;
  transition: color 0.2s;
}
.mobile-menu__list a:hover    { color: var(--accent); }
.mobile-menu__list a.is-active      { color: var(--white); }
.mobile-menu__list a.is-active .num { color: var(--accent); }
.mobile-menu__list li:last-child a { border-bottom: 0; }
.mobile-menu__list .num {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--mid);
  font-weight: 500;
}

.mobile-menu__logo-link {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  align-self: flex-start;
  flex-shrink: 0;
}

.mobile-menu__logo {
  display: block;
  height: 32px;
  width: auto;
  opacity: 0.85;
  transition: transform 0.22s var(--ease-out);
}
.mobile-menu__logo-link:hover .mobile-menu__logo { transform: scale(1.08); }

.mobile-menu__contact {
  margin-top: 34px;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-menu__kontakt {
  width: 100%;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 12px;
  padding: 10px 20px;
}
.mobile-menu__icons {
  display: flex;
  flex-direction: row;
  gap: 28px;
  justify-content: center;
}
.mobile-menu__icons svg { width: 38px; height: 38px; }
.mobile-menu__icons a {
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}
.mobile-menu__icons a:hover {
  opacity: 1;
  color: var(--white);
}


/* ============================================================
   08 · Hero (#hero) + Eingangsanimationen
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--page-pad);
  padding-top: calc(var(--nav-h) + 80px);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 0;
}

/* Unterer Fade-Out — unter dem Content (z-index 4), über Portrait (z-index 1) */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 340px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
  z-index: 3;
  pointer-events: none;
}

/* Hintergrund-Schichten */
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg-a {
  position: absolute; inset: 0;
  background: linear-gradient(to right, #142036 0%, #0F172A 50%, #0F172A 100%);
}
.hero__bg-b {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 12% 18%, rgba(90, 123, 150, 0.18) 0%, transparent 60%),
    radial-gradient(40% 35% at 92% 88%, rgba(0, 0, 0, 0.5)        0%, transparent 70%);
}

/* Porträt */
.hero__portrait {
  position: absolute;
  right: 0; bottom: 0;
  width: clamp(420px, 48vw, 720px);
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero__portrait img {
  position: absolute;
  bottom: 0; right: 4%;
  height: 92%;
  will-change: transform;
  width: auto;
  filter: grayscale(8%) brightness(0.95) contrast(1.02);
  mask-image: linear-gradient(180deg, #000 0%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 92%, transparent 100%);
}

/* Textinhalt — über dem Fade-Gradient (z-index 3) */
.hero__content {
  position: relative;
  z-index: 4;
  max-width: 900px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 120px;
}
.hero__eyebrow {
  margin-bottom: 36px;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.eyebrow__role {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
}
.eyebrow__role::before { content: " \B7  "; letter-spacing: 0.1em; }

@media (max-width: 480px) {
  .hero__eyebrow { flex-direction: column; align-items: flex-start; gap: 5px; }
  .eyebrow__role { padding-left: 19px; }
  .eyebrow__role::before { content: none; }
}

.hero__headline {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.024em;
  color: var(--white);
  max-width: 900px;
}
/* Zwei-Farben-Pattern für alle großen Headlines */
h1 .lead, h2 .lead { color: var(--white); }
h1 .sub,  h2 .sub  { display: block; color: var(--text); }

.hero__headline .lead {
  display: block;
  white-space: nowrap;
}
.hero__headline .sub {
  display: block;
  color: var(--text);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: -0.022em;
}
.hero__headline .accent-dot { color: var(--accent); }

.hero__subline {
  margin-top: 28px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--text);
  max-width: 48ch;
}

.hero__cta-row {
  margin-top: 52px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}
.hero__cta-meta {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
}

/* Meta-Bar unten */
.hero__meta-bar {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-top: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero__meta-col { display: flex; flex-direction: column; gap: 6px; }
.hero__meta-col b { color: var(--text); font-weight: 500; }

/* --------------------------------------------------
   Eingangsanimationen
   - html.has-js: Elemente starten unsichtbar
   - chrome.js fügt *--in-Klassen mit setTimeout-Delays hinzu
   - html.has-js.nav-no-anim: Nav sofort sichtbar (Cross-Page)
   -------------------------------------------------- */

html.has-js .hero__headline .lead,
html.has-js .hero__headline .sub {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
html.has-js .hero__subline {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
html.has-js .hero__cta-row {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
html.has-js .nav__menu a {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

/* Aktiv-Zustände: JS fügt diese Klassen hinzu */
html.has-js .hero__headline .lead.hero__line--in,
html.has-js .hero__headline .sub.hero__line--in  { opacity: 1; transform: translateY(0); }
html.has-js .hero__subline.hero__sub--in          { opacity: 1; transform: translateY(0); }
html.has-js .hero__cta-row.hero__cta--in          { opacity: 1; transform: translateY(0); }
html.has-js .nav__menu a.nav__links--in           { opacity: 1; transform: translateY(0); }
@keyframes nav-num-pulse {
  0%   { color: var(--mid);    transform: scale(1); }
  35%  { color: var(--accent); transform: scale(1.45); }
  100% { color: var(--mid);    transform: scale(1); }
}
html.has-js .nav__num--pulse {
  animation: nav-num-pulse 0.35s var(--ease-out);
}

@keyframes nav-link-flash {
  0%   { color: var(--text); }
  35%  { color: var(--white); }
  100% { color: var(--text); }
}
html.has-js .nav__menu a.nav__link--flash {
  animation: nav-link-flash 0.45s var(--ease-out);
}

/* Nav sofort sichtbar wenn von Subpage kommend (Cross-Page-Navigation) */
html.has-js.nav-no-anim .nav__menu a {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Hero Mobile */
@media (max-width: 960px) {
  .hero { padding-top: calc(var(--nav-h) + 32px); }
  .hero__portrait {
    width: 85vw; right: 0; top: 80px; height: 55%; opacity: 0.5;
  }
  .hero__portrait img {
    height: 100%; right: 0;
    mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
  }
  .hero__content { padding-bottom: 32px; }
  .hero__headline { font-size: clamp(28px, 7.5vw, 40px); }
  .hero__headline .lead { white-space: normal; }
  .hero__cta-row {
    margin-top: auto;
    padding-top: 80px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .hero__meta-bar { display: none; }
}


/* ============================================================
   09 · Leistung (#leistung)
   ============================================================ */

.leistung__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0;
  margin-bottom: clamp(64px, 11vw, 140px);
}
.leistung__head > div:first-child {
  padding-right: clamp(24px, 4vw, 56px);
}
.leistung__head .right {
  align-self: end;
  padding-left: clamp(24px, 4vw, 56px);
  padding-bottom: 8px;
  border-left: 1px solid var(--line-strong);
}
.leistung__head h2 {
  font-size: clamp(30px, 4.8vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.024em;
  margin-top: 36px;
  max-width: 14ch;
}
.leistung__head p {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.65;
  color: var(--text);
  max-width: 46ch;
  margin: 0;
}
.leistung__head p + p { margin-top: 18px; }

.leistung__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.leistung__cell {
  padding: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 48px) clamp(40px, 6vw, 72px);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.leistung__cell .row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 48px;
}
.leistung__cell .num {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 500;
  color: var(--deep);
  letter-spacing: -0.02em;
  line-height: 1;
}
.leistung__cell .tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.leistung__cell h3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.18;
  letter-spacing: -0.018em;
  margin-bottom: 24px;
}
.leistung__cell .body {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.65;
  color: var(--text);
  max-width: 44ch;
}
.leistung__cell .out {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line-accent);
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
}
.leistung__cell .out::before { content: "→  "; color: var(--accent); }

@media (max-width: 960px) {
  .leistung__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 56px; }
  .leistung__head .right {
    padding-left: 0; border-left: 0;
    padding-top: 20px;
  }
  .leistung__head h2 { margin-top: 20px; }
  .leistung__grid    { grid-template-columns: 1fr; border-left: 0; }
  .leistung__cell    { border-right: 0; }
  .leistung__cell:last-child { border-bottom: 0; }
}


/* ============================================================
   10 · Auslöser (#ausloeser)
   ============================================================ */

.trig__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0;
  margin-bottom: clamp(64px, 12vw, 144px);
}
.trig__head > div:first-child {
  padding-right: clamp(24px, 4vw, 56px);
}
.trig__head h2 {
  font-size: clamp(30px, 5.5vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.026em;
  margin-top: 36px;
  max-width: 16ch;
}
.trig__head .lede {
  align-self: end;
  padding-left: clamp(24px, 4vw, 56px);
  border-left: 1px solid var(--line-strong);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.65;
  color: var(--text);
  max-width: 42ch;
  margin: 0;
}

.trig__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(48px, 6.7vw, 96px);
  border-top: 1px solid var(--line-strong);
}
.trig__card {
  padding: clamp(40px, 5vw, 64px) 0 clamp(40px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  position: relative;
}
.trig__card + .trig__card::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(24px, 3.35vw, 48px));
  top: 0; bottom: 0; width: 1px;
  background: var(--line);
}

.trig__num {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: clamp(40px, 6vw, 64px);
  display: flex; align-items: center; gap: 12px;
}
.trig__num .num { color: var(--accent); }
.trig__num::before { content: ""; width: 28px; height: 1px; background: var(--accent); }

.trig__sym {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 20px;
}
.trig__card h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin-bottom: 32px;
}
.trig__body {
  font-size: clamp(14px, 1.2vw, 15.5px);
  line-height: 1.7;
  color: var(--text);
  max-width: 38ch;
  margin-bottom: 12px;
}
.trig__footer {
  margin-top: auto;
  background: var(--bg-alt);
  padding: 24px 20px 20px;
}
.trig__signals {
  margin-bottom: 20px;
}
.trig__signals h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 500;
  margin: 0 0 16px;
}
.trig__signals ul  { display: grid; gap: 12px; }
.trig__signals li  {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  position: relative;
  padding-left: 22px;
}
.trig__signals li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 10px; height: 1px;
  background: var(--mid);
}
.trig__out {
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
}
.trig__out-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
}
.trig__out-val {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  letter-spacing: -0.005em;
  font-weight: 500;
}
.trig__out-val::before { content: "→  "; color: var(--accent); }
.trig__out-sub {
  display: block;
  margin-top: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: var(--mid);
  font-style: italic;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .trig__head  { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .trig__head h2 { margin-top: 20px; }
  .trig__head .lede { padding-left: 0; border-left: 0; }
  .trig__grid  { grid-template-columns: 1fr; }
  .trig__card + .trig__card::before { display: none; }
  .trig__card  {
    border-bottom: 1px solid var(--line);
    padding: 32px 0 36px !important;
  }
  .trig__card:last-child { border-bottom: 0; }
  .trig__num   { margin-bottom: 24px; }
  .trig__card h3 { margin-bottom: 16px; font-size: 18px; }
}


/* ============================================================
   11 · Fälle (#faelle)
   ============================================================ */

.cases__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0;
  margin-bottom: clamp(64px, 11vw, 128px);
}
.cases__head > div:first-child {
  padding-right: clamp(24px, 4vw, 56px);
}
.cases__head h2 {
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.024em;
  margin-top: 36px;
  max-width: 14ch;
}
.cases__head .right {
  align-self: end;
  padding-left: clamp(24px, 4vw, 56px);
  border-left: 1px solid var(--line-strong);
}
.cases__head .right p {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.65;
  color: var(--text);
  max-width: 50ch;
  margin: 0;
}
.cases__head .right p + p { margin-top: 16px; }

.case-group {
  padding-top: 56px;
}
.case-group + .case-group { margin-top: clamp(64px, 8vw, 96px); }

.case-group__head {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: clamp(32px, 4vw, 64px);
  align-items: baseline;
  margin-bottom: 64px;
}
.case-group__marker {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  display: flex; align-items: center; gap: 14px;
}
.case-group__marker::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.case-group__marker .num { color: var(--accent); }
.case-group__head h3 {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--white);
  font-weight: 600;
  text-align: center;
}
.case-group__count {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.case {
  padding: clamp(32px, 4vw, 48px) clamp(0px, 3vw, 48px) clamp(36px, 5vw, 56px) 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.case + .case    { padding-left: clamp(24px, 3vw, 48px); }
.case:last-child { border-right: 0; }

.case__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
  gap: 16px;
}
.case__id {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.case__id b { color: var(--white); font-weight: 500; }
.case__branche {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  text-align: right;
  max-width: 28ch;
  line-height: 1.45;
}

.case__metric {
  font-family: 'Inter', sans-serif;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.026em;
  line-height: 1.06;
  color: var(--white);
  font-feature-settings: 'tnum';
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  max-width: 18ch;
}
.case__metric.text { display: block; font-size: clamp(20px, 2.5vw, 28px); }
.case__metric .sym  { color: var(--accent); font-weight: 500; }
.case__metric .unit { font-size: clamp(18px, 2vw, 28px); font-weight: 500; color: var(--text); }

.case__metric-frame {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.case__block {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  max-width: 38ch;
}
.case__block-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
  font-weight: 500;
}
.case__foot {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line-accent);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.case__foot b { color: var(--white); font-weight: 500; letter-spacing: 0.02em; }

@media (max-width: 960px) {
  .cases__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .cases__head h2 { margin-top: 20px; }
  .cases__head .right { padding-left: 0; border-left: 0; }
  .case-group__head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px; }
  .case-group__head h3 { text-align: left; }
  .case-grid { grid-template-columns: 1fr; }
  .case {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 32px 0 36px !important;
    min-height: 0;
  }
  .case:last-child { border-bottom: 0; }
  .case__metric    { max-width: 100%; }
  .case__top       { flex-direction: column; gap: 6px; }
  .case__branche   { text-align: left; max-width: 100%; font-size: 11px; }
  .case__details   { margin-top: 16px; }
}

.case__toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  list-style: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 12px 0;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.case__toggle::-webkit-details-marker { display: none; }
.case__toggle::after {
  content: '';
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease-out);
  flex-shrink: 0;
}
.case__details[open] > .case__toggle::after {
  transform: rotate(-135deg);
}
.case__details .case__block { margin-top: 16px; }



/* ============================================================
   12 · Branchen (#branchen)
   ============================================================ */

.sectors__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0;
  margin-bottom: clamp(64px, 11vw, 128px);
}
.sectors__head > div:first-child {
  padding-right: clamp(24px, 4vw, 56px);
}
.sectors__head h2 {
  font-size: clamp(30px, 4.8vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.024em;
  margin-top: 36px;
  max-width: 16ch;
}
.sectors__head .right {
  align-self: end;
  padding-left: clamp(24px, 4vw, 56px);
  border-left: 1px solid var(--line-strong);
}
.sectors__head p {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.65;
  color: var(--text);
  max-width: 50ch;
  margin: 0;
}
.sectors__head p + p { margin-top: 16px; }

.sectors__list { }
.sector {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  padding: clamp(36px, 5vw, 56px) 0 clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.sector:last-child { border-bottom: 0; }
.sector__left { display: flex; flex-direction: column; gap: 24px; }
.sector__marker { display: flex; align-items: center; gap: 16px; }
.sector__marker .num {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 500;
}
.sector__marker .line { width: 56px; height: 1px; background: var(--accent); opacity: 0.6; }
.sector h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.14;
  letter-spacing: -0.022em;
  color: var(--white);
  font-weight: 600;
  margin: 0 0 14px;
  max-width: 18ch;
}
.sector__note {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mid);
  max-width: 34ch;
  margin: 0;
  font-weight: 500;
}
.sector__projects         { display: grid; gap: 0; padding-top: 6px; width: fit-content; }
.sector__projects li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-accent);
}
.sector__projects li:last-child { border-bottom: 0; padding-bottom: 0; }
.sector__projects .pn {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--mid);
  font-feature-settings: 'tnum';
}
.sector__projects .pt {
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  letter-spacing: -0.008em;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}

@media (min-width: 961px) {
  .sector__toggle  { display: none; }
}

@media (max-width: 960px) {
  .sectors__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .sectors__head h2 { margin-top: 20px; }
  .sectors__head .right { padding-left: 0; border-left: 0; }
  .sector { grid-template-columns: 1fr; gap: 0; }
  .sector__details { margin-top: 20px; }
  .sector__toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    list-style: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 14px 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .sector__toggle::-webkit-details-marker { display: none; }
  .sector__toggle::after {
    content: '';
    width: 7px; height: 7px;
    border-right: 1.5px solid var(--accent);
    border-bottom: 1.5px solid var(--accent);
    transform: rotate(45deg);
    transition: transform 0.25s var(--ease-out);
    flex-shrink: 0;
    margin-right: 2px;
  }
  .sector__details[open] > .sector__toggle::after {
    transform: rotate(-135deg);
  }
  .sector__details .sector__projects { padding-top: 4px; }
}


/* ============================================================
   13 · Profil (#profil)
   ============================================================ */

.profile__head { margin-bottom: clamp(16px, 2.5vw, 32px); max-width: 920px; }
@media (min-width: 961px) {
  .profile__head { margin-bottom: 100px; }
  .profile__portrait { margin-top: -60px; }
}
.profile__head h2 {
  font-size: clamp(30px, 4.8vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.024em;
  margin-top: 36px;
  max-width: 22ch;
}

.profile__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
}
/* padding-right schafft Luft zwischen Bild und Text, ohne die 50%-Ausrichtung zu verschieben */
.profile__portrait {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  padding-right: clamp(32px, 4vw, 56px);
  grid-row: 1 / span 2;
  grid-column: 1;
}
/* Qualifikationen + Kompetenzen in der linken Spalte (aside) */
.profile__portrait .profile__block {
  margin-top: clamp(32px, 4vw, 48px);
}
.profile__portrait .profile__block + .profile__block {
  margin-top: clamp(32px, 4vw, 48px);
}
.profile__portrait .profile__strengths {
  grid-template-columns: 1fr;
}
.profile__portrait .profile__strength {
  padding: 16px 0;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}
.profile__portrait .profile__strength:not(:first-child) {
  padding-left: 0;
}
.profile__portrait .profile__strength:last-child {
  border-bottom: 0;
}

.profile__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg); /* füllt den Leerbereich oben wenn Bild nach unten wandert */
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 92%);
  mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 92%);
}
.profile__frame img {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  height: 130%; width: auto;
  will-change: transform;
  filter: grayscale(8%) brightness(0.95) contrast(1.02);
}
.profile__caption {
  margin-top: 20px;
}
.profile__caption .name {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 16px; font-weight: 600;
  color: var(--white);
}
.profile__caption .role {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 6px;
}

.profile__intro {
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--text);
  margin: 28px 0 0;
  max-width: 48ch;
}
.profile__block + .profile__block { margin-top: clamp(48px, 6vw, 72px); }
.profile__content { margin-top: clamp(40px, 5vw, 64px); }
.profile__content .profile__block { margin-top: clamp(40px, 5vw, 56px); }
.profile__block h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 500;
  margin: 0 0 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}

.profile__career-wrap {
  position: relative;
  max-height: 230px;
  overflow: hidden;
}
.profile__career-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 110px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
  pointer-events: none;
}

.profile__career li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 32px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.profile__career li:last-child { border-bottom: 0; }
.profile__career .t {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  font-feature-settings: 'tnum';
  padding-top: 2px;
}
.profile__career li.current .t { color: var(--accent); }
.profile__career .r {
  font-family: 'Manrope', sans-serif;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
}
.profile__career-detail {
  display: block;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-dim);
  margin-top: 4px;
  line-height: 1.55;
}

.profile__quals li {
  font-family: 'Manrope', sans-serif;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px;
}
.profile__quals li:last-child { border-bottom: 0; }
.profile__quals li::before {
  content: "";
  flex: 0 0 18px;
  height: 1px;
  background: var(--mid);
}

.profile__strengths { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.profile__strength {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 24px 28px 0;
  border-right: 1px solid var(--line);
}
.profile__strength:last-child { border-right: 0; }
@media (min-width: 961px) {
  .profile__strength:not(:first-child) { padding-left: 20px; }
}
.profile__strength .num {
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--accent); font-weight: 500;
}
.profile__strength .t {
  font-family: 'Inter', sans-serif;
  font-size: 17px; line-height: 1.2;
  letter-spacing: -0.014em;
  color: var(--white); font-weight: 600;
}
.profile__strength .d {
  font-family: 'Manrope', sans-serif;
  font-size: 13.5px; line-height: 1.5;
  color: var(--text-dim);
}

/* Link zur Profil-Subpage — direkt unter dem Werdegang-Gradient */
.profile__more {
  grid-column: 1 / -1;
  margin-top: clamp(40px, 5vw, 64px);
  display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
}

/* Profil-Hub: Brücke zu Subpages */
.profile__hub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
}
.profile__hub-card {
  display: block;
  padding: 32px;
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.profile__hub-card:hover,
.profile__hub-card:focus-visible {
  border-color: var(--accent);
  background: rgba(207, 108, 63, 0.04);
  outline: none;
}
.profile__hub-eyebrow {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 16px;
}
.profile__hub-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.25;
  color: var(--white);
  margin: 0 0 16px 0;
  letter-spacing: -0.01em;
}
.profile__hub-card p {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 20px 0;
}
.profile__hub-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.cta-arrow {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}
.profile__hub-card:hover .cta-arrow,
.profile__hub-card:focus-visible .cta-arrow {
  transform: translateX(4px) rotate(-45deg);
}

@media (max-width: 960px) {
  .profile__body {
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
  }
  /* Portrait volle Breite, resettet desktop grid-row: 1 / span 2 */
  .profile__portrait {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    top: 0;
    max-width: none;
    padding-right: 0;
  }
  /* Stärken: absolut in rechter Hälfte, vertikal mittig über dem Portrait-Frame */
  .profile__block--staerken {
    position: absolute;
    right: -5%;
    width: 60%;
    top: calc((100vw - 2 * var(--page-pad)) * 2 / 3);
    transform: translateY(-50%);
    padding: 16px 20px 16px 12px;
    z-index: 2;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .profile__frame {
    opacity: 0.55;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
  }
  .profile__content {
    grid-column: 1;
    grid-row: 2;
    margin-top: 40px;
  }
  .profile__career-wrap { max-height: 280px; }
  .profile__career li { grid-template-columns: 92px 1fr; gap: 14px; }
  .profile__strengths { grid-template-columns: 1fr; }
  .profile__strength {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 0.5px solid rgba(207, 108, 63, 0.5);
  }
  .profile__strength:last-child { border-bottom: 0; }
  .profile__block h4 { margin: 0 0 16px; padding-bottom: 10px; }
  .profile__block--staerken { padding: 40px 0; }
  .profile__block--staerken h4 { font-size: 10px; }
  .profile__strength .t { font-size: 14px; line-height: 1.25; }
  .profile__strength .d { font-size: 12px; }
  .profile__strength { gap: 8px; }
  .profile__hub {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 48px;
  }
  .profile__hub-card { padding: 24px; }
}


/* ============================================================
   14 · Empfehlungen (#empfehlungen)
   ============================================================ */

.testimonials {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  scroll-margin-top: 60px;
}
.testimonials__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0;
  margin-bottom: clamp(64px, 11vw, 128px);
  align-items: end;
}
.testimonials__head > div:first-child {
  padding-right: clamp(24px, 4vw, 56px);
}
.testimonials__head h2 {
  font-size: clamp(30px, 4.8vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.024em;
  margin-top: 36px;
  max-width: 14ch;
}
.testimonials__head .lede {
  padding-left: clamp(24px, 4vw, 56px);
  border-left: 1px solid var(--line-strong);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.65;
  color: var(--text);
  max-width: 46ch;
  margin: 0;
  padding-bottom: 6px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 56px);
  padding-top: 56px;
}
.testimonial { display: flex; flex-direction: column; }
.testimonial__head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 44px;
}
.testimonial__head .num {
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: 0.22em;
  color: var(--accent); font-weight: 500;
}
.testimonial__head .line { flex: 1; height: 1px; background: var(--line-strong); }
.testimonial__quote-wrap {
  position: relative;
  flex: 1;
  margin-bottom: 36px;
  padding-top: 24px;
}
.testimonial__mark {
  position: absolute;
  top: -12px; left: 0;
  font-family: 'Inter', sans-serif;
  font-size: 56px; font-weight: 500;
  line-height: 1;
  color: var(--accent);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}
.testimonial__quote {
  font-family: 'Inter', sans-serif;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.36;
  letter-spacing: -0.012em;
  font-weight: 500;
  color: var(--white);
  margin: 0;
  text-wrap: pretty;
}
.testimonial__attrib {
  padding-top: 24px;
  margin-left: 40px;
  margin-right: 40px;
  border-top: 1px solid var(--line-accent);
  text-align: right;
}
.testimonial__attrib .name {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 600;
  color: var(--white);
}
.testimonial__attrib .role {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 6px;
}

@media (max-width: 960px) {
  .testimonials__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .testimonials__head h2 { margin-top: 20px; }
  .testimonials__head .lede { padding-left: 0; border-left: 0; }
  .testimonials__grid { grid-template-columns: 1fr; gap: 72px; padding-top: 32px; }
}


/* ============================================================
   15 · Kontakt + Footer (#kontakt)
   ============================================================ */

.kontakt {
  background: var(--bg-alt);
  padding: clamp(40px, 6vw, 72px) var(--page-pad) 0;
  scroll-margin-top: 60px;
  border-top: 1px solid var(--line-strong);
  position: relative;
  overflow: hidden;
}
.kontakt::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: clamp(60px, 10vw, 120px);
  background: linear-gradient(to bottom, var(--bg-alt) 0%, transparent 100%);
  pointer-events: none;
  z-index: 5;
  opacity: 1;
  transition: opacity 0.4s var(--ease-out);
}
.kontakt.is-anchored::before { opacity: 0; }

.kontakt__hero {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  column-gap: 0;
  overflow: hidden;
  align-items: start;
}
.kontakt__left {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: clamp(40px, 6vw, 64px);
  padding-top: clamp(8px, 2vw, 16px);
  position: relative;
  z-index: 2;
}
.kontakt__hint {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--accent);
  max-width: 28ch;
}
.kontakt__hero h2 {
  font-size: clamp(30px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.kontakt__right {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-self: start;
  min-height: clamp(260px, 38vw, 500px);
}
.kontakt__right::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: clamp(60px, 10vw, 120px);
  background: linear-gradient(to bottom, var(--bg-alt) 0%, transparent 100%);
  pointer-events: none;
  z-index: 4;
  opacity: 1;
  transition: opacity 0.4s var(--ease-out);
}
.kontakt.is-anchored .kontakt__right::before {
  opacity: 0;
}
.kontakt__overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  text-align: right;
  padding-right: 20px;
  padding-bottom: clamp(40px, 6vw, 64px); /* bündig mit kontakt__left padding-bottom */
}
.kontakt__overlay .cicon {
  display: flex;
  align-items: center;
  outline-offset: -2px;
  justify-content: center;
  width: 44px;
  height: 44px;
  text-decoration: none;
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.kontakt__overlay .cicon svg { width: 36px; height: 36px; display: block; }
.kontakt__overlay .cicon:hover { opacity: 0.65; transform: scale(1.12); }
.kontakt__overlay .mail    { color: var(--white); }
.kontakt__overlay .phone   { color: var(--text); }
.kontakt__overlay .linkedin { color: var(--accent); }
.kontakt__portrait {
  position: absolute;
  top: -60px;
  right: 0;
  height: clamp(340px, 52vw, 640px);
  width: auto;
  max-width: none;
  display: block;
  will-change: transform;
  mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 80%);
}

/* Calendly als dritte Spalte im kontakt__hero-Grid */
.kontakt__calendly {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  padding-top: clamp(8px, 2vw, 16px);
  padding-bottom: clamp(10px, 1.5vw, 16px);
  scroll-margin-top: 80px;
}
.kontakt__calendly::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-alt) 100%);
  pointer-events: none;
  z-index: 10;
}
.kontakt__calendly:empty {
  display: none;
}

/* Footer: Padding + Hintergrund (nach Extraktion aus .kontakt) */
.foot {
  padding: 0 var(--page-pad);
  background: var(--bg-alt);
}

/* Footer-Raster */
.foot__grid {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr 2fr;
  gap: clamp(32px, 4vw, 64px);
  padding: 16px 0;
}
.foot__col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid); font-weight: 500;
  margin: 0 0 24px;
}
.foot__col ul { display: grid; gap: 12px; }
.foot__col li  { font-size: 14.5px; color: var(--text); line-height: 1.5; }
.foot__col a {
  color: var(--text);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.2s;
}
.foot__col a:hover { color: var(--white); }

.foot__col .foot__sublist {
  margin-top: 8px;
  margin-bottom: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--line-strong);
  list-style: none;
  display: grid;
  gap: 4px;
}
.foot__col .foot__sublist a {
  font-size: 13px;
  color: var(--text-dim);
}
.foot__col .foot__sublist a:hover,
.foot__col .foot__sublist a:focus-visible {
  color: var(--accent);
}

.foot__brand { display: flex; flex-direction: column; gap: 20px; border-right: 1px solid var(--line-strong); padding-right: clamp(20px, 3vw, 48px); }
.foot__brand .ddim-logo-wrap { margin-left: 12px; }
.foot__id { display: flex; align-items: center; gap: 14px; }
.foot__id img { height: 44px; width: auto; }
.foot__id .name {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 16px; font-weight: 600;
  color: var(--white);
}
.foot__id .role {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
}
.foot__brand > p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 36ch;
}

/* DDIM-Mitgliedslogo */
.ddim-logo-wrap { display: inline-block; text-decoration: none; line-height: 0; }
.ddim-logo { height: 144px; width: auto; filter: brightness(1.2); transition: filter 0.25s; }
.ddim-logo-wrap:hover .ddim-logo { filter: brightness(0) invert(1) opacity(0.75); }
.ddim-logo-wrap--bottom { display: none; }

/* Bodenzeile */
.foot__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
  border-top: 1px solid var(--line);
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: 0.06em;
  color: var(--text-dim);
}
.foot__bottom .links { display: flex; gap: 32px; }
.foot__bottom a { color: inherit; text-decoration: none; transition: color 0.2s; }
.foot__bottom a:hover { color: var(--text); }

@media (max-width: 960px) {
  /* Kontakt: 2-Spalten auf Tablet/Mobile, Calendly darunter volle Breite */
  .kontakt__hero    { grid-template-columns: 1fr 1fr; min-height: 0; }
  .kontakt__calendly { grid-column: 1 / -1; border-left: none; padding-left: 0; }
  .kontakt__right   { height: auto; }
  .kontakt__portrait {
    height: clamp(260px, 72vw, 400px);
    width: auto;
    max-width: none;
    top: auto;
    bottom: 70px;
    opacity: 0.55;
    mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
  }
  .kontakt__overlay { align-items: flex-end; text-align: right; }
  .kontakt__hero h2 { font-size: clamp(20px, 5.5vw, 32px); }
  .kontakt__left { gap: 16px; }
  .kontakt__hint { margin-top: 0; }

  .foot__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand      brand"
      "nav        kontakt"
      "nav        verfuegbar";
    gap: 32px;
  }
  .foot__brand                          { grid-area: brand; }
  .foot__grid > .foot__col:nth-child(2) { grid-area: nav; }
  .foot__grid > .foot__col:nth-child(3) { grid-area: kontakt; }
  .foot__grid > .foot__col:nth-child(4) { grid-area: verfuegbar; }
  .foot__col ul { gap: 9px; }
  .foot__col li { line-height: 1.4; }
  .foot__brand { border-right: none; padding-right: 0; }
  .foot__brand .ddim-logo-wrap { display: none; }
  .foot__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    column-gap: 32px;
    row-gap: 4px;
    border-top-color: var(--line-strong);
    line-height: 1.4;
  }
  .foot__bottom .links {
    flex-direction: column;
    gap: 4px;
    margin-top: 0;
  }
  .foot__bottom .ddim-logo-wrap--bottom {
    display: flex;
    grid-column: 2;
    grid-row: 1 / 3;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .foot__bottom .ddim-logo-wrap--bottom .ddim-logo {
    width: 85%;
    height: auto;
    filter: brightness(1.2);
    transition: filter 0.25s;
  }
  .foot__bottom .ddim-logo-wrap--bottom:hover .ddim-logo { filter: brightness(0) invert(1) opacity(0.75); }
}


/* ============================================================
   16 · Subpage-Header + Subpage-Layout
   ============================================================ */

/* Schmales Page-Header-Band (profil.html, hintergrund.html etc.) */
.page-header {
  padding: calc(var(--nav-h) + 64px) 0 clamp(48px, 8vw, 80px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-header__back {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s;
}
.page-header__back::before { content: "←"; font-size: 14px; line-height: 1; }
.page-header__back:hover { color: var(--text); }
.page-header h1 {
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.026em;
  max-width: 22ch;
  margin-top: 24px;
}
.page-header__sub {
  margin-top: 20px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--text);
  max-width: 54ch;
}

/* Subpage-Inhalt */
.subpage-body { padding: clamp(64px, 10vw, 120px) 0; }
.subpage-section { max-width: 100%; }
.subpage-section + .subpage-section {
  margin-top: clamp(64px, 10vw, 96px);
  padding-top: clamp(64px, 10vw, 96px);
  border-top: 1px solid var(--line);
}

.subpage-section h2 {
  font-size: clamp(24px, 3.5vw, 40px);
  letter-spacing: -0.022em;
  margin-bottom: clamp(32px, 5vw, 48px);
}
.subpage-section h3 {
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: -0.018em;
  margin-bottom: 20px;
}

/* Werdegang-Wrap: auf Subpages vollständig zeigen (kein Gradient-Cutoff) */
.subpage-body .profile__career-wrap {
  max-height: none;
  overflow: visible;
}
.subpage-body .profile__career-wrap::after { display: none; }

/* h3 innerhalb Subpage-Sektionen */
.subpage-prose h3 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  margin: clamp(32px, 4vw, 48px) 0 12px;
}

/* Fließtext in Subpages */
.subpage-prose p {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.75;
  color: var(--text);
  max-width: 64ch;
  margin-bottom: 20px;
}
.subpage-prose p:last-child { margin-bottom: 0; }

/* Profil-Bilder in Subpages (Clifton, Insights) */
.profile-image {
  margin: 32px 0;
}
.profile-image img {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  background: #fff;
  padding: 24px;
  border: 1px solid var(--line);
}
@media (max-width: 960px) {
  .profile-image { margin: 24px 0; }
  .profile-image img { padding: 16px; }
}

/* Video-Figur (Subpages) */
.video-figure {
  margin: 32px 0;
}
.video-figure video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}
.video-figure figcaption {
  margin-top: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--mid);
  font-style: italic;
}
@media (min-width: 961px) {
  .video-figure video {
    max-height: 480px;
    width: auto;
  }
}
@media (max-width: 960px) {
  .video-figure { margin: 24px 0; }
  .video-figure figcaption { font-size: 13px; }
}

/* Cross-Links zwischen Subpages */
.subpage-links {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 40px;
}

/* Mini-Navigation zwischen Unterseiten */
.subpage-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 40px 0 0;
  flex-wrap: wrap;
}
.subpage-nav--bottom {
  margin: 48px 0 0;
}
.subpage-nav__back {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  padding-right: 16px;
  border-right: 1px solid var(--line-strong);
}
.subpage-nav__back::before { content: "←"; font-size: 14px; }
.subpage-nav__back:hover { color: var(--text); }
.subpage-nav__pages {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.subpage-nav__btn {
  display: block;
  padding: 10px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  text-decoration: none;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: border-color 0.25s, background 0.25s, color 0.2s;
}
.subpage-nav__btn:hover,
.subpage-nav__btn:focus-visible {
  border-color: var(--accent);
  background: rgba(207, 108, 63, 0.04);
  color: var(--white);
  outline: none;
}
.subpage-nav__btn.is-active {
  border-color: var(--accent);
  background: rgba(207, 108, 63, 0.08);
  color: var(--white);
  pointer-events: none;
}
@media (max-width: 640px) {
  .subpage-nav { gap: 16px; }
  .subpage-nav__back { border-right: none; padding-right: 0; }
  .subpage-nav__pages { width: 100%; }
  .subpage-nav__btn { flex: 1; padding: 9px 8px; font-size: 12px; text-align: center; }
}

/* Publikationsliste */
.publications {
  list-style: none;
  padding: 0;
  margin: 0;
}
.publications li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}
.publications li:last-child { border-bottom: 0; }
.publications li em {
  color: var(--white);
  font-style: italic;
}
.publications li strong {
  font-weight: 600;
  color: var(--white);
}
.publications li a {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
}
.publications li a:hover,
.publications li a:focus-visible {
  text-decoration: underline;
}
@media (max-width: 960px) {
  .publications li { padding: 14px 0; font-size: 14px; }
}


/* ============================================================
   17 · Cookie-Banner (consent.js)
   ============================================================ */

.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: var(--z-banner);
  background: rgba(33, 42, 55, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  border-top: 1px solid var(--line-strong);
  padding: 24px var(--page-pad);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}
.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  font-family: 'Manrope', sans-serif;
  font-size: 14px; line-height: 1.6;
  color: var(--text);
  max-width: 64ch;
  flex: 1;
  min-width: 220px;
}
.cookie-banner__text a { color: var(--text); text-decoration: underline; transition: color 0.2s; }
.cookie-banner__text a:hover { color: var(--white); }

.cookie-banner__btns { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-banner__btns .btn--accent  { font-size: 13px; padding: 14px 22px; }
.cookie-banner__btns .btn--outline { font-size: 13px; padding: 13px 21px; }

@media (max-width: 680px) {
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
  .cookie-banner__btns  { width: 100%; }
  .cookie-banner__btns .btn--accent,
  .cookie-banner__btns .btn--outline { flex: 1; justify-content: center; }
}


/* ============================================================
   18 · Calendly-Widget (consent-gated)
   ============================================================ */

.calendly-widget-container { min-height: 300px; position: relative; }

/* Vor Zustimmung */
.consent-notice {
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 20px;
  padding: 32px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.18);
  max-width: 500px;
}
.consent-notice p {
  font-family: 'Manrope', sans-serif;
  font-size: 14px; line-height: 1.65;
  color: var(--text); margin: 0;
}

/* Lade-Skeleton */
.calendly-skeleton {
  width: 100%; min-height: 280px;
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  position: relative; overflow: hidden;
}
.calendly-skeleton::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.04) 50%, transparent 100%);
  animation: calendly-shimmer 1.6s infinite;
}
@keyframes calendly-shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Fallback nach 8 Sekunden */
.calendly-fallback {
  font-family: 'Manrope', sans-serif;
  font-size: 14px; color: var(--text-dim);
  padding: 20px 0;
}
.calendly-fallback a { color: var(--accent); text-decoration: underline; }


/* scroll-margin-top: 60px auf allen Sektionen — Sektions-Border sitzt unter Nav */


/* ============================================================
   19 · Textauswahl
   ============================================================ */

::selection {
  background: rgba(207, 108, 63, 0.28);
  color: inherit;
}

button,
.btn--accent,
.btn--outline,
.btn--ghost,
.nav__brand,
.nav__menu a,
.nav__contact,
.nav__burger,
.mobile-menu__list a,
.mobile-menu__icons a,
.subpage-nav__btn,
.subpage-nav__back,
.foot__col a,
.ddim-logo-wrap,
img {
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}


/* ============================================================
   20 · Scrollbars
   ============================================================ */

::-webkit-scrollbar            { width: 6px; height: 6px; }
::-webkit-scrollbar-track      { background: transparent; }
::-webkit-scrollbar-thumb      { background: var(--mid); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--text); }

.leistung__cell::-webkit-scrollbar-thumb,
.case::-webkit-scrollbar-thumb { background: var(--accent); }

* { scrollbar-width: thin; scrollbar-color: var(--mid) transparent; }


/* ============================================================
   20 · Mobile Section Navigator (nur ≤960px)
   ============================================================ */

.section-nav { display: none; }

@media (max-width: 960px) {
  .section-nav {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-out);
  }
  .section-nav.is-visible {
    opacity: 1;
    pointer-events: auto;
  }
  .section-nav__btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--accent);
    width: 16px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.15s var(--ease-out);
    flex-shrink: 0;
  }
  .section-nav__btn:not(:disabled):active {
    opacity: 1;
  }
  .section-nav__btn:disabled {
    opacity: 0.2;
    cursor: default;
  }
  .section-nav__label {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    white-space: nowrap;
  }
}


/* ============================================================
   21 · Touch/Hover-Reset
   Verhindert "stuck"-Hover-States auf Touch-Geräten.
   ============================================================ */

@media (hover: none), (pointer: coarse) {
  .btn--accent:hover              { background: var(--accent); }
  .btn--outline:hover             { border-color: var(--text); background: transparent; }
  .btn--ghost:hover               { color: var(--accent); border-bottom-color: var(--accent); }
  .nav__menu a:hover              { color: var(--text); }
  .nav__contact:hover             { border-color: var(--line-strong); background: transparent; }
  .mobile-menu__list a:hover      { color: var(--white); }
  .foot__col a:hover              { color: var(--text); }
  .foot__bottom a:hover           { color: var(--text-dim); }
  .kontakt__cta .mail:hover                  { color: var(--white); }
  .kontakt__cta .linkedin:hover              { color: var(--text-dim); }
  .mobile-menu__icons a:hover                { opacity: 0.7; color: var(--text); }
  .ddim-logo-wrap:hover .ddim-logo { filter: brightness(1.2); }
  .page-header__back:hover        { color: var(--mid); }
  .cookie-banner__text a:hover    { color: var(--text); }
}

/* Nav: beim offenen Menü unsichtbar — Panel liegt darüber (z-index 101 > 100) */
.nav.menu-open {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out);
}
