:root {
  --bg: #f2f3f5;
  --surface: #ffffff;
  --surface-muted: #f7f7f8;
  --surface-dark: #1f2329;
  --surface-dark-2: #252b33;
  --text: #171a1f;
  --text-soft: #4c5561;
  --text-on-dark: #f2f4f7;
  --text-on-dark-soft: #c7ced8;
  --line: rgba(23, 26, 31, 0.1);
  --line-dark: rgba(255, 255, 255, 0.1);
  --accent: #d7dbe1;
  --highlight: #ffd166;
  --shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 18px 46px rgba(0, 0, 0, 0.10);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1180px;
}

.dark-mode {
  --bg: #121417;
  --surface: #1a1e24;
  --surface-muted: #20252c;
  --surface-dark: #14181d;
  --surface-dark-2: #1b2027;
  --text: #edf1f5;
  --text-soft: #c2cad4;
  --text-on-dark: #f4f6f8;
  --text-on-dark-soft: #c7d0db;
  --line: rgba(255, 255, 255, 0.09);
  --line-dark: rgba(255, 255, 255, 0.10);
  --accent: rgba(255,255,255,0.08);
  --shadow-soft: 0 16px 44px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 22px 58px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  transition: background-color .25s ease, color .25s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(23,26,31,0.06);
}
body.dark-mode header {
  background: rgba(18,20,23,0.82);
  border-bottom-color: rgba(255,255,255,0.06);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { height: 58px; }
body.dark-mode .logo img { content: url(img/logo_w.png); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  padding: 6px;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0);
  transition: opacity .2s ease, transform .2s ease;
}
nav a:hover::after { opacity: .7; transform: scaleX(1); }

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  flex: 0 0 auto;
}
.theme-toggle .sun { display: none; }
body.dark-mode .theme-toggle .sun { display: inline; }
body.dark-mode .theme-toggle .moon { display: none; }

.hero {
  padding: 96px 0 84px;
  background: linear-gradient(rgba(15,16,20,.52), rgba(15,16,20,.58)), url(img/header.png) center center / cover no-repeat;
  color: #fff;
  text-align: center;
}
body.dark-mode .hero {
  background: linear-gradient(rgba(5,6,9,.62), rgba(5,6,9,.74)), url(img/header_dark.png) center center / cover no-repeat;
}.hero-slogan {
  margin: 0 auto 18px;
  max-width: 1100px;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-transform: none;
  color: rgba(255,255,255,.98);
  font-weight: 800;
  text-wrap: balance;
}
.hero-subheadline {
  max-width: 830px;
  margin: 0 auto 18px;
  color: rgba(255,255,255,.93);
  font-size: clamp(1.18rem, 2.05vw, 1.52rem);
  line-height: 1.48;
  font-weight: 500;
  text-wrap: balance;
}.hero-proof {
  max-width: 920px;
  margin: 18px auto 0;
  color: rgba(255,255,255,.76);
  font-size: .96rem;
}
.hero .hero-subline {
  max-width: 720px;
  margin: 0 auto 24px;
  font-weight: 600;
  letter-spacing: .01em;
  font-size: 1rem;
  color: rgba(255,255,255,.95);
}
.hero .hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}.hero-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.88);
  font-size: .92rem;
  font-weight: 600;
}
button,
.button-link {
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background-color .25s ease, color .25s ease;
}
button:hover,
.button-link:hover { transform: translateY(-1px); }
.hero .primary-btn,
form button {
  background: #fff;
  color: #101317;
}
.hero .secondary-btn {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
}

.section {
  padding: 84px 0;
}
.section-light {
  background: var(--bg);
  color: var(--text);
}
.section-dark {
  background:
    linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,0) 22%, rgba(255,255,255,.04) 50%, rgba(255,255,255,0) 78%, rgba(255,255,255,.03)),
    var(--surface-dark);
  color: var(--text-on-dark);
}
body.dark-mode .section-dark {
  background:
    linear-gradient(90deg, rgba(255,255,255,.03), rgba(255,255,255,0) 20%, rgba(255,255,255,.03) 50%, rgba(255,255,255,0) 80%, rgba(255,255,255,.02)),
    var(--surface-dark);
}
.section-shell {
  background: transparent;
  border-radius: var(--radius-xl);
}
.section-head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}
.section-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--text-on-dark-soft);
}
body:not(.dark-mode) .section-light .section-kicker {
  border-color: var(--line);
  color: var(--text-soft);
}
.section h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}
.section .lead-right,
.section .lead-copy {
  margin: 0;
  font-size: 1.06rem;
  color: var(--text-on-dark-soft);
}
.section-light .lead-right,
.section-light .lead-copy { color: var(--text-soft); }

.section-head-compact {
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 34px;
  max-width: 760px;
  padding-top: 4px;
}
.section-head-compact h2 {
  max-width: 9ch;
  font-size: clamp(2.35rem, 4.4vw, 3.55rem);
}

.competency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 34px;
}
.competency-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: rgba(255,255,255,.04);
  min-height: 228px;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}
.competency-card:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  cursor: pointer;
}
.competency-card .header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.competency-card .icon,
.competency-card .icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.competency-card h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.16;
  color: var(--text-on-dark);
}
.competency-card .content {
  color: var(--text-on-dark-soft);
  font-size: 1.02rem;
}
#competencies .section-shell {
  position: relative;
}

#competencies .section-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--radius-xl);
}

.content-split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 30px;
  align-items: start;
}
.reverse { grid-template-columns: 1.08fr .92fr; }
.reverse .visual-side { order: 2; }
.reverse .copy-side { order: 1; }
.visual-side {
  border-radius: var(--radius-xl);
  padding: 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-dark);
}
.visual-side img {
  border-radius: 16px;
  width: 100%;
  object-fit: cover;
}
.copy-side p,
.copy-side ul,
.copy-side li { color: var(--text-on-dark-soft); }
.copy-side h2,
.copy-side h3,
.copy-side strong,
.copy-side b { color: var(--text-on-dark); }
.copy-side ul {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  display: grid;
  gap: 14px;
}
.copy-side li {
  padding: 18px 20px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.03);
}
.copy-side .summary-box {
  margin-top: 24px;
  padding: 24px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(255,255,255,.02);
}

.section-light .content-split .visual-side,
.section-light .copy-side li,
.section-light .summary-box {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}
.section-light .copy-side p,
.section-light .copy-side ul,
.section-light .copy-side li { color: var(--text-soft); }
.section-light .copy-side h2,
.section-light .copy-side h3,
.section-light .copy-side strong,
.section-light .copy-side b { color: var(--text); }
.section-light .summary-box { border-top-color: var(--line); border-bottom-color: var(--line); }

.about-wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: start;
}
.about-text {
  font-size: 1.06rem;
}
.about-text p { margin: 0 0 18px; }
.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.about-image img { width: 100%; }

.testimonial-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.carousel-controls {
  display: flex;
  gap: 10px;
}
.carousel-controls button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  padding: 0;
  background: var(--surface-dark-2);
  color: var(--text-on-dark);
  border: 1px solid var(--line-dark);
}
.testimonial-carousel-wrap { overflow: hidden; }
.testimonial-track {
  display: flex;
  gap: 18px;
  transition: transform .35s ease;
}
.testimonial-card {
  min-width: calc(33.333% - 12px);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 22px;
  color: var(--text-on-dark);
  display: flex;
  flex-direction: column;
}
.testimonial-card .header {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}
.testimonial-card .icon {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  padding: 8px;
  flex: 0 0 auto;
}
.testimonial-card .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.testimonial-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.32;
}
.testimonial-card p,
.testimonial-card small { color: var(--text-on-dark-soft); }
.rating { margin-top: auto; padding-top: 14px; }
.rating .stars {
  color: var(--highlight);
  font-size: 1.45rem;
  letter-spacing: 3px;
  font-weight: 900;
}
.rating .score {
  margin-left: 8px;
  font-weight: 700;
}

.contact-panel {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 34px;
}
.contact-panel h2,
.contact-panel p,
.contact-panel a { color: var(--text); }
.contact-quick-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 10px;
}
.contact-cta-primary {
  background: var(--surface-dark);
  color: var(--text-on-dark);
}
.contact-cta-secondary {
  background: var(--surface-muted);
  color: var(--text);
  border: 1px solid var(--line);
}
.contact-note {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: .96rem;
}
form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}
input, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 1rem;
  background: var(--surface-muted);
  color: var(--text);
}
body.dark-mode input,
body.dark-mode textarea {
  background: var(--surface-muted);
  border-color: var(--line);
  color: var(--text);
}
input:focus, textarea:focus { outline: none; border-color: rgba(120,130,145,.55); }

.footer {
  background: #0f1216;
  color: #d4dbe4;
  padding: 28px 0 34px;
  text-align: center;
  font-size: .92rem;
}
.footer a { color: #d4dbe4; }
body.dark-mode .footer { background: #0a0d10; }

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 10, 10, 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 24px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity .24s ease;
}
.modal.is-open {
  opacity: 1;
}
.modal-content {
  position: relative;
  width: min(980px, 96vw);
  margin: 2vh auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.985), rgba(247,247,248,0.985));
  color: #171a1f;
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.28), 0 8px 24px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
  transform: translateY(20px) scale(0.985);
  opacity: 0;
  transition: transform .26s cubic-bezier(.22,.61,.36,1), opacity .22s ease, box-shadow .22s ease;
}
.modal.is-open .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.modal-topbar {
  height: 6px;
  background: linear-gradient(90deg, var(--highlight) 0%, #f4c95d 45%, #d6a73d 100%);
}
.modal-inner { padding: 2rem; }
.modal-meta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: .85rem;
}
.modal-meta::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--highlight);
}
#modal-title { margin: 0; font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.18; font-weight: 800; max-width: 90%; }
.modal-divider { margin: 1.15rem 0 1.2rem; height: 1px; background: linear-gradient(90deg, rgba(0,0,0,0.14), rgba(0,0,0,0.04)); }
#modal-body { overflow: auto; max-height: calc(100vh - 180px); padding-right: 6px; font-size: 1.02rem; line-height: 1.72; }
#modal-body ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .75rem; }
#modal-body li {
  padding: .95rem 1rem;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
}
.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(23, 26, 31, 0.10);
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(23, 26, 31, 0.78);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, opacity .18s ease;
}
.close-btn span {
  display: block;
  transform: translateY(-1px);
}
.close-btn:hover {
  background: rgba(255,255,255,0.88);
  border-color: rgba(23, 26, 31, 0.14);
  color: #171a1f;
  transform: scale(1.04);
}
.close-btn:focus-visible {
  outline: 2px solid rgba(214, 167, 61, 0.55);
  outline-offset: 2px;
}
body.dark-mode .modal-content {
  background: linear-gradient(180deg, rgba(30,30,30,0.98), rgba(20,20,20,0.98));
  border: 1px solid rgba(255,255,255,0.08);
  color: #edf1f5;
}
body.dark-mode .modal-meta,
body.dark-mode #modal-body small { color: #b1b8c2; }
body.dark-mode .modal-divider { background: linear-gradient(90deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04)); }
body.dark-mode #modal-body li { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.08); }
body.dark-mode .close-btn { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.10); color: rgba(255,255,255,0.88); }
body.dark-mode .close-btn:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.16); color: #fff; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 360ms cubic-bezier(.2,.6,.2,1), transform 360ms cubic-bezier(.2,.6,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-reveal="1"] { transition-delay: 70ms; }
.reveal[data-reveal="2"] { transition-delay: 140ms; }
.reveal[data-reveal="3"] { transition-delay: 210ms; }
.reveal[data-reveal="4"] { transition-delay: 280ms; }
.hover-lift { transition: transform 220ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.hover-lift:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.16); }
.competency-card,
.testimonial-card,
.copy-side li,
.offer-cta-link,
.button-link,
.contact-panel,
.offer-visual img {
  transition: transform 220ms ease, box-shadow 220ms ease, opacity 220ms ease, border-color 220ms ease;
}
.offer-visual:hover img {
  transform: translateY(-4px);
}

/* === Kernkompetenzen statement block === */
.competency-message {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-top: 46px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 94px 0 88px;
  border-radius: 0;
  border: 0;
  background:
    linear-gradient(rgba(15,16,20,.78), rgba(15,16,20,.84)),
    url(img/bridge.png) center center / cover no-repeat;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), inset 0 -1px 0 rgba(255,255,255,.04);
}

body.dark-mode .competency-message {
  background:
    linear-gradient(rgba(5,6,9,.82), rgba(5,6,9,.88)),
    url(img/bridge.png) center center / cover no-repeat;
}

.competency-message::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 22%, rgba(255,209,102,.10), transparent 26%),
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.07), transparent 28%),
    linear-gradient(90deg, rgba(255,255,255,.025), rgba(255,255,255,0) 22%, rgba(255,255,255,.045) 50%, rgba(255,255,255,0) 78%, rgba(255,255,255,.02));
  pointer-events: none;
}

.competency-message::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,16,20,.30) 0%, rgba(15,16,20,.08) 18%, rgba(15,16,20,.08) 82%, rgba(15,16,20,.30) 100%);
  pointer-events: none;
}

.competency-message-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max-width), calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
}

.competency-mini-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.04);
}

.competency-message h3 {
  margin: 0 0 18px;
  max-width: 12ch;
  font-size: clamp(2.2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  color: var(--text-on-dark);
  text-shadow: 0 10px 30px rgba(0,0,0,.16);
}

.competency-message .lead {
  margin: 0 0 28px;
  max-width: 72ch;
  font-size: 1.14rem;
  line-height: 1.6;
  font-weight: 600;
  color: rgba(255,255,255,.96);
}

.competency-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 32px;
  max-width: 980px;
}

.kpi-card {
  padding: 22px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.kpi-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
}

.kpi-value {
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  line-height: 1.05;
  font-weight: 800;
  color: var(--text-on-dark);
  letter-spacing: -.03em;
}

.kpi-label {
  font-size: .95rem;
  line-height: 1.5;
  color: rgba(255,255,255,.82);
}

.competency-message-text {
  margin: 0;
  max-width: 78ch;
  font-size: 1.03rem;
  line-height: 1.75;
  color: rgba(255,255,255,.82);
}

.competency-guide-callout {
  margin-top: 34px;
  padding-top: 26px;
  max-width: 980px;
  border-top: 1px solid rgba(255,255,255,.14);
  text-align: center;
}

.competency-guide-label {
  margin: 0 0 8px;
  font-size: clamp(1.22rem, 2.1vw, 1.6rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-on-dark);
}

.competency-guide-sub {
  margin: 0 0 16px;
  font-size: 1rem;
  color: rgba(255,255,255,.82);
}

.competency-guide-link {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--highlight);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 209, 102, 0.42);
  padding-bottom: 4px;
  transition: transform .16s ease, border-color .16s ease, text-shadow .16s ease;
}

.competency-guide-link:hover {
  transform: translateY(-1px);
  border-color: var(--highlight);
  text-shadow: 0 0 18px rgba(255, 209, 102, .18);
}

@media (max-width: 1080px) {
  .section-head,
  .offer-split,
  .content-split,
  .reverse,
  .about-wrap {
    grid-template-columns: 1fr;
  }
  .reverse .visual-side,
  .reverse .copy-side { order: initial; }
  .competency-grid { grid-template-columns: 1fr; }
  .competency-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial-card { min-width: calc(50% - 9px); }
}

@media (max-width: 860px) {
  .container { width: min(var(--max-width), calc(100% - 28px)); }
  .header-inner { min-height: 72px; }
  .menu-toggle { display: block; }
  nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface-dark);
    padding: 18px 20px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    border-bottom: 1px solid var(--line-dark);
  }
  nav.open { display: flex; }
  nav a { color: var(--text-on-dark); }
  nav a::after { bottom: -4px; }
  .theme-toggle { background: rgba(255,255,255,.06); color: var(--text-on-dark); border-color: var(--line-dark); box-shadow: none; }
  .hero { padding: 86px 0 70px; }
  .hero-slogan {
    max-width: 100%;
    font-size: clamp(2.2rem, 10vw, 3.4rem);
    letter-spacing: 0.08em;
    line-height: 1.02;
  }
  .hero-subheadline { font-size: 1.08rem; }
  .section { padding: 70px 0; }
  .competency-message { padding: 34px 22px; }
  .competency-guide-callout { margin-top: 24px; padding-top: 20px; }
  .competency-message h3 { max-width: 100%; }
  .competency-message .lead { font-size: 1.03rem; }
  .competency-kpis { grid-template-columns: 1fr; }
  .offer-visual { min-height: 420px; padding: 24px; align-items: flex-start; }
  .offer-visual img { max-width: 78%; max-height: none; }
  .contact-quick-actions { flex-direction: column; align-items: stretch; }
  .contact-quick-actions .button-link { text-align: center; }
  .testimonial-card { min-width: 100%; }
  .modal { padding: 12px; }
  .modal-inner { padding: 1.2rem 1rem 1rem; }
}

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

/* Clickable modal triggers */
.open-modal,
.open-modal:hover,
.open-modal:focus-visible {
  cursor: pointer;
}

.open-modal:focus-visible {
  outline: 2px solid rgba(255, 209, 102, 0.6);
  outline-offset: 2px;
}

.competency-card.open-modal:hover,
.testimonial-card.open-modal:hover,
#PM li.open-modal:hover,
#BD li.open-modal:hover,
.footer .open-modal:hover {
  cursor: pointer;
}

.section-head-compact {
  margin-bottom: 42px;
  max-width: 920px;
  padding-top: 18px;
}
.section-head-compact h2 {
  max-width: 12ch;
}
.competency-grid {
  margin-bottom: 46px;
}
.offer-split {
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: start;
}
.offer-split-refined {
  padding-top: 38px;
}
.offer-visual {
  min-height: 500px;
  align-items: flex-start;
  justify-content: center;
  padding: 22px 30px 20px;
}
.offer-visual img {
  max-width: 82%;
  max-height: 430px;
  width: auto;
  margin-top: 0;
  object-position: center top;
}
.offer-copy {
  padding-top: 0;
}
.offer-copy h3 {
  max-width: 12ch;
  margin-bottom: 20px;
}
.offer-copy .principles {
  gap: 14px;
}
.testimonial-carousel-wrap {
  overflow: hidden;
  touch-action: pan-y;
}
.testimonial-track {
  will-change: transform;
}@media (max-width: 860px) {
  .section-head-compact {
    padding-top: 8px;
    margin-bottom: 30px;
  }
  .offer-visual {
    min-height: 360px;
    padding: 18px 20px;
  }
  .offer-visual img {
    max-width: 78%;
    max-height: 300px;
  }
}

.value-props {
  margin: 0 0 42px;
}
.value-props-head {
  max-width: 860px;
  margin-bottom: 24px;
}
.value-props-head h3 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  color: var(--text-on-dark);
}
.value-props-head p {
  margin: 0;
  font-size: 1.04rem;
  color: var(--text-on-dark-soft);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.value-card {
  padding: 22px 20px;
  border-radius: 18px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,.04);
}
.value-card h4 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--text-on-dark);
}
.value-card p {
  margin: 0;
  font-size: .97rem;
  line-height: 1.62;
  color: var(--text-on-dark-soft);
}
.value-proof {
  margin-top: 20px;
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 209, 102, 0.20);
  background: linear-gradient(180deg, rgba(255,209,102,.08), rgba(255,255,255,.04));
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
  align-items: center;
}
.value-proof-label {
  margin: 0 0 8px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.70);
}
.value-proof h4 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.35;
  color: var(--text-on-dark);
}
.value-proof p:last-child {
  margin: 0;
  color: rgba(255,255,255,.84);
}

.service-flow {
  display: grid;
  gap: 22px;
}
.service-intro-card,
.offer-card-modern,
.service-cta-band {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.service-intro-card {
  padding: 26px 28px;
  border-radius: 22px;
}
.service-intro-kicker,
.contact-eyebrow {
  margin: 0 0 10px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.service-intro-card h3,
.service-cta-band h3 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}
.service-intro-card p:last-child {
  margin: 0;
  color: var(--text-soft);
}
.offer-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.offer-card-modern {
  padding: 24px;
  border-radius: 22px;
}
.offer-card-featured {
  background: linear-gradient(180deg, rgba(255,209,102,.12), rgba(255,255,255,.96));
  border-color: rgba(215, 171, 70, 0.28);
}
body.dark-mode .offer-card-featured {
  background: linear-gradient(180deg, rgba(255,209,102,.10), rgba(26,30,36,.96));
}
.offer-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.offer-card-modern h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  line-height: 1.28;
  color: var(--text);
}
.offer-card-modern p,
.offer-card-modern li,
.service-cta-band p {
  color: var(--text-soft);
}
.offer-card-modern ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.offer-card-modern li {
  position: relative;
  padding-left: 18px;
  line-height: 1.55;
}
.offer-card-modern li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--text);
}
.offer-small-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .92rem;
}
.service-cta-band {
  padding: 24px 26px;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.service-cta-label {
  margin: 0 0 8px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.service-cta-band h3 {
  margin-bottom: 0;
}
.service-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 1080px) {
  .value-grid,
  .offer-grid-modern,
  .value-proof,
  .service-cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .value-props {
    margin-bottom: 34px;
  }
  .value-grid,
  .offer-grid-modern {
    grid-template-columns: 1fr;
  }
  .service-intro-card,
  .offer-card-modern,
  .service-cta-band {
    padding: 22px 20px;
  }
  .service-cta-actions {
    justify-content: stretch;
    flex-direction: column;
  }
  .service-cta-actions .button-link {
    text-align: center;
  }
}

.value-card h4 {
  font-size: 1.04rem;
}
.competency-message h3 {
  max-width: 16ch;
}
.service-intro-card {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,247,248,.98));
}

.service-cta-band {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,246,248,.98));
}

body.dark-mode .service-intro-card {
  background: linear-gradient(180deg, rgba(26,30,36,.98), rgba(32,37,44,.98));
}

body.dark-mode .service-cta-band {
  background: linear-gradient(180deg, rgba(26,30,36,.98), rgba(32,37,44,.98));
}

.offer-card-featured .offer-badge {
  background: rgba(255,209,102,.18);
  border-color: rgba(215,171,70,.28);
  color: #6f5416;
}
body.dark-mode .offer-card-featured .offer-badge {
  color: #f4df9b;
}
@media (max-width: 860px) {
  #offer {
    padding-top: 82px;
  }
}

.tertiary-btn {
  background: transparent;
  color: #fff;
  border: 1px dashed rgba(255,255,255,0.35);
  opacity: 0.85;
}
.tertiary-btn:hover {
  opacity: 1;
  border-color: rgba(255,255,255,0.6);
}
.section-head-after-benefit {
  margin-top: 54px;
}.offer-proof {
  margin: 28px auto 0;
  max-width: 860px;
  font-size: 0.95rem;
  text-align: center;
  color: var(--text-soft);
}
.offer-proof a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 26, 31, 0.2);
}
.contact-proof {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.value-props-head,
.section-head-compact.section-head-after-benefit,
.competency-message-inner,
.service-intro-card,
.service-cta-band {
  max-width: none;
}

.value-props-head h3 {
  max-width: none;
  width: 100%;
  font-size: clamp(2.6rem, 4.9vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.section-head-compact.section-head-after-benefit {
  max-width: 100%;
}

.section-head-compact.section-head-after-benefit h2 {
  max-width: none;
  width: 100%;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.competency-message h3 {
  max-width: none;
  width: 100%;
  font-size: clamp(2.5rem, 4.5vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.service-intro-card h3 {
  max-width: none;
  width: 100%;
  font-size: clamp(2.45rem, 4.4vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.service-cta-band h3 {
  max-width: none;
  width: 100%;
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

@media (max-width: 1280px) {
  .value-props-head h3,
  .section-head-compact.section-head-after-benefit h2 {
    font-size: clamp(2.45rem, 4.6vw, 4.3rem);
  }

  .competency-message h3 {
    font-size: clamp(2.3rem, 4.1vw, 4rem);
  }

  .service-intro-card h3 {
    font-size: clamp(2.2rem, 4vw, 3.7rem);
  }
}

@media (max-width: 860px) {
  .value-props-head h3,
  .section-head-compact.section-head-after-benefit h2,
  .competency-message h3,
  .service-intro-card h3,
  .service-cta-band h3 {
    text-wrap: pretty;
    max-width: 100%;
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.06;
  }
}

.content-split > .summary-box.section-span {
  grid-column: 1 / -1;
  margin-top: 26px;
}

.section-dark .content-split > .summary-box.section-span {
  background: rgba(255,255,255,.02);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  box-shadow: none;
}

.content-split > .summary-box.section-span p {
  max-width: 78ch;
}

@media (max-width: 1080px) {
  .content-split > .summary-box.section-span {
    grid-column: auto;
    margin-top: 22px;
  }
}

.content-split > .summary-box.section-span {
  order: 3;
}

/* Final konsolidierte Regeln */
#offer {
  position: relative;
  margin-top: 28px;
  padding-top: 92px;
}

#offer::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 48px));
  height: 1px;
  background: linear-gradient(90deg, rgba(23,26,31,0), rgba(23,26,31,.11), rgba(23,26,31,0));
}

body.dark-mode #offer::before {
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.12), rgba(255,255,255,0));
}

.content-split > .summary-box.section-span {
  grid-column: 1 / -1;
  order: 3;
  margin-top: 26px;
  padding: 24px 0;
  background: rgba(255,255,255,.02);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  box-shadow: none;
}

.content-split > .summary-box.section-span p {
  max-width: 78ch;
}

@media (max-width: 860px) {
  #offer {
    padding-top: 82px;
  }

  #offer::before {
    width: min(1180px, calc(100% - 28px));
  }
}

@media (max-width: 1080px) {
  .content-split > .summary-box.section-span {
    grid-column: auto;
    margin-top: 22px;
    padding: 22px 0;
  }
}

/* === Textlich optimierte Nutzen-Kacheln === */
.value-props-head {
  max-width: 980px;
}
.value-props-head h3 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}
.value-card {
  padding: 20px 20px 18px;
}
.value-card h4 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.32;
}
.value-card p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.55;
}
.value-card p + p {
  margin-top: 10px;
}
.value-solution {
  color: var(--text-on-dark);
  font-weight: 700;
}

/* === Integrierte Arbeitsweise + Leistungsübersicht === */
.competency-message-integrated {
  margin-top: 56px;
}
.competency-message-integrated .competency-message-inner {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}
.competency-message-integrated .lead {
  max-width: 980px;
  margin-bottom: 28px;
}
.competency-message-bridge {
  margin: 0 0 18px;
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,.92);
}

.competency-message-integrated .competency-kpis {
  grid-template-columns: repeat(4, 220px);
  justify-content: center;
  margin: 0 auto 34px;
  max-width: none;
}

.competency-message-integrated .competency-message-bridge {
  max-width: 980px;
}

.services-highlight {
  max-width: 1180px;
  margin: 0 auto;
}

.services-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.services-highlight-item {
  padding: 22px 24px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  text-align: left;
  min-height: 100%;
}

.services-highlight-item h4 {
  margin: 0 0 12px;
  font-size: 1.08rem;
  line-height: 1.3;
  color: var(--text-on-dark);
}

.services-highlight-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.services-highlight-item li {
  position: relative;
  padding-left: 18px;
  font-size: .97rem;
  line-height: 1.6;
  color: rgba(255,255,255,.86);
}

.services-highlight-item li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--text-on-dark);
}

.services-highlight-item-accent {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, rgba(255,209,102,.10), rgba(255,255,255,.045));
  border-color: rgba(255,209,102,.24);
}

.competency-guide-callout {
  margin-top: 28px;
  padding-top: 26px;
  max-width: 980px;
  border-top: 1px solid rgba(255,255,255,.14);
  text-align: center;
}

.competency-guide-link {
  display: inline-block;
}

@media (max-width: 1080px) {
  .competency-message-integrated .competency-kpis {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    max-width: 720px;
  }

  .services-highlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .competency-message-integrated .competency-message-inner {
    width: min(var(--max-width), calc(100% - 28px));
  }

  .value-card {
    padding: 18px;
  }

  .competency-message-bridge {
    margin-bottom: 16px;
  }

  .competency-message-integrated .competency-kpis {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .services-highlight-item {
    padding: 20px 18px 18px;
  }

  .services-highlight-item-accent {
    grid-column: auto;
  }
}

/* === Angebot textlich geschärft === */
.offer-card-modern h3 {
  max-width: 24ch;
}

.offer-card-modern p {
  margin: 0;
}

.offer-card-modern > p + ul {
  margin-top: 16px;
}

.offer-small-note {
  color: var(--text-soft);
  line-height: 1.5;
}

@media (max-width: 1080px) {
  .offer-card-modern h3 {
    max-width: none;
  }
}

/* === Testimonials nach oben verschoben: heller Abschnitt === */
#testimonials.section-light {
  background: var(--bg);
  color: var(--text);
}

#testimonials.section-light .section-kicker {
  border-color: var(--line);
  color: var(--text-soft);
}

#testimonials.section-light .testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

#testimonials.section-light .testimonial-card h3,
#testimonials.section-light .testimonial-card p,
#testimonials.section-light .testimonial-card small {
  color: var(--text);
}

#testimonials.section-light .testimonial-card p,
#testimonials.section-light .testimonial-card small {
  color: var(--text-soft);
}

#testimonials.section-light .carousel-controls button {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

#testimonials.section-light .testimonial-card .icon {
  background: var(--surface-muted);
  border: 1px solid var(--line);
}

/* === Kontakt unten dunkel === */
.contact-section-dark {
  background:
    linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,0) 22%, rgba(255,255,255,.04) 50%, rgba(255,255,255,0) 78%, rgba(255,255,255,.03)),
    var(--surface-dark);
  color: var(--text-on-dark);
}

.contact-section-dark .contact-panel {
  background: var(--surface);
  color: var(--text);
}

.contact-section-dark .contact-panel h2,
.contact-section-dark .contact-panel p,
.contact-section-dark .contact-panel a,
.contact-section-dark .contact-note {
  color: var(--text);
}

.contact-section-dark .contact-proof,
.contact-section-dark .contact-note,
.contact-section-dark .contact-eyebrow {
  color: var(--text-soft);
}

/* === Fix: Angebot-Boxen im Dark Mode === */
body.dark-mode .service-intro-card,
body.dark-mode .service-cta-band {
  background: linear-gradient(180deg, rgba(26,30,36,.98), rgba(32,37,44,.98));
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

body.dark-mode .service-intro-kicker,
body.dark-mode .service-cta-label {
  color: var(--text-soft);
}

body.dark-mode .service-intro-card h3,
body.dark-mode .service-cta-band h3 {
  color: var(--text);
}

body.dark-mode .service-intro-card p,
body.dark-mode .service-cta-band p {
  color: var(--text-soft);
}

/* === Fix: Kontaktformular-Button im Light und Dark Mode === */
form button {
  background: var(--surface-dark);
  color: var(--text-on-dark);
  border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
}

form button:hover {
  background: var(--surface-dark-2);
}

body.dark-mode form button {
  background: var(--highlight);
  color: #171a1f;
}

body.dark-mode form button:hover {
  filter: brightness(0.96);
}


/* Konsolidierte Menüregeln */

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: .93rem;
  position: relative;
  white-space: nowrap;
}
@media (max-width: 1180px) {
  nav {
    gap: 14px;
  }

  nav a {
    font-size: .89rem;
  }
}

@media (max-width: 860px) {
  .deep-dive-head {
    margin-bottom: 24px;
  }

  #deep-dive {
    padding-top: 64px;
  }

  .section-dark-sub {
    padding-top: 8px;
  }
}


.services-highlight-item-accent h4,
.services-highlight-item-accent ul {
  max-width: 760px;
}


/* === Kompaktere Hauptseite mit Leistungs-Modals === */
.services-modal-trigger {
  cursor: pointer;
}

.services-modal-link {
  display: inline-block;
  margin-top: 14px;
  font-size: .95rem;
  font-weight: 800;
  color: var(--highlight);
  border-bottom: 1px solid rgba(255, 209, 102, 0.35);
  padding-bottom: 3px;
}

.services-modal-trigger:hover .services-modal-link {
  border-color: var(--highlight);
}

.service-modal-hero {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
  align-items: start;
  margin-bottom: 18px;
}

.service-modal-visual {
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  max-height: 260px;
}

.service-modal-visual img {
  width: 100%;
  max-height: 260px;
  height: auto;
  object-fit: contain;
  display: block;
}

.service-modal-copy h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.2;
}

.service-modal-copy p {
  margin: 0;
}

.competency-guide-callout {
  margin-top: 28px;
  padding-top: 26px;
  max-width: 980px;
  border-top: 1px solid rgba(255,255,255,.14);
  text-align: center;
}

@media (max-width: 1080px) {
  .services-highlight-item-accent {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .service-modal-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-modal-visual {
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  max-height: 260px;
}
}


/* === Sichere finale Korrekturen === */
.section-challenges-light {
  background: var(--bg);
  color: var(--text);
}

.section-challenges-light .section-kicker {
  border-color: var(--line);
  color: var(--text-soft);
}

.section-challenges-light .value-props-head h3,
.section-challenges-light .value-card h4,
.section-challenges-light .value-proof h4,
.section-challenges-light .value-solution {
  color: var(--text);
}

.section-challenges-light .value-props-head p,
.section-challenges-light .value-card p,
.section-challenges-light .value-proof-label,
.section-challenges-light .value-proof p:last-child {
  color: var(--text-soft);
}

.section-challenges-light .value-card {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.section-challenges-light .value-proof {
  background: linear-gradient(180deg, rgba(255,209,102,.10), rgba(255,255,255,.98));
  border-color: rgba(215,171,70,.24);
  box-shadow: var(--shadow-soft);
}

.competency-guide-callout {
  margin: 40px auto 0;
  padding-top: 32px;
  max-width: 760px;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
}

.competency-guide-label {
  display: block;
  margin-bottom: 6px;
}

.competency-guide-sub {
  margin-bottom: 16px;
}

.competency-guide-link {
  display: inline-block;
}

body.dark-mode .section-challenges-light {
  background: var(--bg);
  color: var(--text);
}

body.dark-mode .section-challenges-light .section-kicker {
  border-color: var(--line);
  color: var(--text-soft);
}

body.dark-mode .section-challenges-light .value-props-head h3,
body.dark-mode .section-challenges-light .value-card h4,
body.dark-mode .section-challenges-light .value-proof h4,
body.dark-mode .section-challenges-light .value-solution {
  color: var(--text);
}

body.dark-mode .section-challenges-light .value-props-head p,
body.dark-mode .section-challenges-light .value-card p,
body.dark-mode .section-challenges-light .value-proof-label,
body.dark-mode .section-challenges-light .value-proof p:last-child {
  color: var(--text-soft);
}

body.dark-mode .section-challenges-light .value-card {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
  box-shadow: none;
}

body.dark-mode .section-challenges-light .value-proof {
  background: linear-gradient(180deg, rgba(255,209,102,.10), rgba(26,30,36,.98));
  border-color: rgba(255,209,102,.24);
  box-shadow: none;
}


/* === Finale Kontrast- und Abschlusskorrekturen === */
.section-dark .offer-proof {
  color: var(--text-on-dark-soft);
}

.section-dark .offer-proof a {
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(255,255,255,0.30);
}

.section-dark .offer-proof a:hover {
  color: var(--highlight);
  border-color: var(--highlight);
}

#contact.section-light {
  background: var(--surface-muted);
}



/* === Fix: About Section Dark + Link Kontrast === */
#about.section-dark .offer-proof {
  color: var(--text-on-dark-soft);
}

#about.section-dark .offer-proof a {
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

#about.section-dark .offer-proof a:hover {
  color: var(--highlight);
  border-color: var(--highlight);
}


/* === Modal-Bilder: oberer Bildbereich sichtbar halten === */
.service-modal-visual img {
  width: 100%;
  max-height: 260px;
  height: auto;
  object-fit: contain;
  display: block;
}



/* === About Section Bild optimiert (neu) === */
.about-wrap {
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.about-image {
  max-width: 380px;
  margin-left: auto;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}



@media (max-width: 860px) {
  header {
    position: sticky;
  }

  .header-inner {
    position: relative;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1002;
  }

  nav#site-nav,
  #site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface-dark);
    padding: 18px 20px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    border-bottom: 1px solid var(--line-dark);
    z-index: 1001;
  }

  nav#site-nav.open,
  #site-nav.open {
    display: flex;
  }

  #site-nav .theme-toggle {
    background: rgba(255,255,255,.06);
    color: var(--text-on-dark);
    border-color: var(--line-dark);
    box-shadow: none;
  }

  #site-nav a {
    color: var(--text-on-dark);
  }
}
