:root {
  /* +Pluswerk Brand-Farben (Brand Guidelines v1, 2024-06-12) */
  --pw-blue: #0015ff;        /* Vibrant Blue – Primary */
  --pw-cyan: #00ebff;        /* Radiant Cyan – Primary */
  --pw-pink: #e50080;        /* Luminous Magenta – Highlight (sparsam!) */
  --pw-navy: #00146a;        /* Dark Blue – Auxiliary */
  --pw-deep: #00146a;        /* Alias */
  --pw-grey: #e6e6e6;        /* Toned Grey – Auxiliary */
  --pw-black: #000000;
  --pw-white: #ffffff;

  /* Funktionale Tokens */
  --pw-text: #00146a;        /* Body läuft auf Dark Blue, nicht Schwarz – wirkt markenkonform */
  --pw-text-strong: #000000;
  --pw-muted: #51607b;
  --pw-line: rgba(0, 21, 255, 0.12);
  --pw-surface: #f4f7ff;
  --pw-surface-strong: #eaf0ff;
  --pw-shadow: 0 24px 70px rgba(0, 20, 106, 0.12);
  --pw-radius: 28px;
  --pw-radius-small: 18px;
  --pw-max: 1200px;

  /* Marken-Gradient (Cover Brand Guidelines): Pink oben → Lila → Blau unten */
  --pw-gradient-brand: linear-gradient(180deg, #e50080 0%, #6e1fbb 45%, #1c2eb7 78%, #0015ff 100%);
  --pw-gradient-brand-145: linear-gradient(145deg, #e50080 0%, #6e1fbb 38%, #1c2eb7 70%, #0015ff 100%);

  /* Schrift-Stack: Brand-Original (selbst gehostet aus pluswerk.digital) */
  --pw-font-display: "Obviously", "Helvetica Neue", sans-serif;
  --pw-font-body: "Gerbera", "Helvetica Neue", "Segoe UI", sans-serif;
}

/* A11y: Skip-Link – nur sichtbar bei Fokus, springt zu #top */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  padding: 12px 18px;
  background: var(--pw-blue);
  color: var(--pw-white);
  font-weight: 700;
  z-index: 100;
  transform: translateY(-120%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--pw-cyan);
  outline-offset: 2px;
}

/* A11y: Inhalt nur für Screenreader (siehe Task 7) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* A11y: Globaler Fokus-Indikator – markenkonform mit pw-blue, cyan auf dunkel */
*:focus-visible {
  outline: 3px solid var(--pw-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.section-dark *:focus-visible,
.cta-section *:focus-visible,
.site-footer *:focus-visible {
  outline-color: var(--pw-cyan);
}

/* Obviously – Display-Font für Logo + Headlines (Brand: NIE Headlines in CAPS) */
@font-face {
  font-family: "Obviously";
  src: url("assets/fonts/Obviously-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Obviously";
  src: url("assets/fonts/Obviously-Bold.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

/* Gerbera – Body-Font für Copytext + Subheadlines */
@font-face {
  font-family: "Gerbera";
  src: url("assets/fonts/Gerbera-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gerbera";
  src: url("assets/fonts/Gerbera-Light-italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Gerbera";
  src: url("assets/fonts/Gerbera-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gerbera";
  src: url("assets/fonts/Gerbera-Regular-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Gerbera";
  src: url("assets/fonts/Gerbera-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gerbera";
  src: url("assets/fonts/Gerbera-Medium-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Gerbera";
  src: url("assets/fonts/Gerbera-Bold.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gerbera";
  src: url("assets/fonts/Gerbera-Bold-Italic.woff2") format("woff2");
  font-weight: 600 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Gerbera";
  src: url("assets/fonts/Gerbera-Black.woff2") format("woff2");
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gerbera";
  src: url("assets/fonts/Gerbera-Black-italic.woff2") format("woff2");
  font-weight: 800 900;
  font-style: italic;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--pw-font-body);
  color: var(--pw-text);
  background:
    radial-gradient(circle at top left, rgba(0, 235, 255, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(229, 0, 128, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 48%, #eef3ff 100%);
}

img {
  max-width: 100%;
}

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

/* Container: Bootstrap-5-Breakpoints. Bootstrap-Gutter ist 12px je Seite;
   wir nutzen 16px je Seite, damit Touch-Elemente (Burger-Toggle) auf
   schmalen Viewports nicht direkt am Bildschirmrand kleben. */
.container {
  width: 100%;
  padding-right: 16px;
  padding-left: 16px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

@media (min-width: 576px) {
  .container { max-width: 540px; }
}
@media (min-width: 768px) {
  .container { max-width: 720px; }
}
@media (min-width: 992px) {
  .container { max-width: 960px; }
}
@media (min-width: 1200px) {
  .container { max-width: 1140px; }
}
@media (min-width: 1400px) {
  .container { max-width: 1320px; }
}

.section {
  padding: 96px 0;
}

.section-light {
  background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(234,240,255,0.62) 100%);
}

.section-dark {
  background-image:
    linear-gradient(145deg, rgba(4, 17, 80, 0.92) 0%, rgba(0, 21, 255, 0.86) 60%, rgba(26, 44, 255, 0.84) 100%),
    image-set(
      url("assets/pattern-blue-darkblue-landscape.webp") type("image/webp"),
      url("assets/pattern-blue-darkblue-landscape.jpg") type("image/jpeg")
    );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--pw-white);
  position: relative;
  overflow: hidden;
}

.section-dark::before,
.cta-section::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 235, 255, 0.35) 0%, transparent 65%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--pw-blue);
}

.inverted .eyebrow,
.cta-section .eyebrow {
  color: var(--pw-cyan);
}

h1,
h2,
h3 {
  font-family: var(--pw-font-display);
  font-weight: 700; /* Obviously Bold für Headlines (Brand-Manual S.21) */
  letter-spacing: 0;
  color: var(--pw-blue);
  text-transform: none; /* Brand: NIE Headlines in CAPS */
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.cta-section h1,
.cta-section h2,
.cta-section h3,
.inverted h1,
.inverted h2,
.inverted h3,
.highlight-card h1,
.highlight-card h2,
.highlight-card h3,
.featured h1,
.featured h2,
.featured h3,
.featured-price h1,
.featured-price h2,
.featured-price h3 {
  color: var(--pw-white);
}

strong {
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(1.85rem, 6vw, 4.4rem);
  line-height: 1.05;
  max-width: none;
  color: var(--pw-blue);
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}

@media (min-width: 760px) {
  h1 {
    line-height: 1.02;
    max-width: 18ch;
  }
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.05;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.22rem;
  letter-spacing: 0;
}

p,
li,
summary,
span {
  line-height: 1.7;
}

.section-head {
  margin-bottom: 42px;
}

.split-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: end;
}

.section-intro,
.hero-lead,
.pricing-note,
.footer-note {
  color: var(--pw-muted);
}

.inverted .section-intro,
.section-dark p,
.section-dark li,
.cta-section p,
.cta-section li {
  color: rgba(255,255,255,0.84);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(0, 21, 255, 0.08);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--pw-blue);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pw-blue), var(--pw-cyan));
  color: white;
  box-shadow: 0 12px 28px rgba(0, 21, 255, 0.24);
}

.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--pw-text);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta,
.button-primary {
  background: linear-gradient(135deg, var(--pw-blue), #2340ff 60%, var(--pw-cyan) 130%);
  color: var(--pw-white);
  box-shadow: 0 14px 32px rgba(0, 21, 255, 0.24);
}

.button-secondary {
  border: 1px solid rgba(0, 21, 255, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--pw-blue);
}

.button-text {
  color: var(--pw-blue);
  padding-inline: 0;
  min-height: auto;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--pw-blue);
  letter-spacing: 0.01em;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 21, 255, 0.18);
  background: rgba(255, 255, 255, 0.6);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.nav-phone:hover {
  background: var(--pw-blue);
  color: var(--pw-white);
  border-color: var(--pw-blue);
  transform: translateY(-1px);
}

.nav-phone-icon {
  flex-shrink: 0;
  display: block;
}

@media (max-width: 1200px) {
  .nav-phone-text {
    display: none;
  }
  .nav-phone {
    /* Icon-only, 44 px Touch-Target */
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
  }
}

.hero {
  padding-top: 54px;
  padding-bottom: 66px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.hero-copy { min-width: 0; }
.hero-copy h1 {
  max-width: 100%;
  font-size: clamp(1.85rem, 4.2vw, 3.4rem);
  letter-spacing: -0.02em;
  hyphens: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 24px;
}

.hero-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-meta li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  color: var(--pw-navy);
  line-height: 1.5;
}

.hero-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--pw-blue);
  border-bottom: 2px solid var(--pw-blue);
  transform: rotate(-45deg);
  transform-origin: left center;
}

.hero-panel {
  position: relative;
  min-height: 560px;
  display: grid;
  align-content: center;
  gap: 22px;
}

.hero-panel-chatmock {
  align-content: stretch;
  min-height: 540px;
}

.chatmock {
  position: relative;
  width: 100%;
  padding: 26px 28px 22px;
  border-radius: var(--pw-radius);
  background: var(--pw-white);
  border: 1px solid rgba(0, 21, 255, 0.08);
  box-shadow: 0 30px 60px rgba(0, 21, 255, 0.16);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-self: center;
  font-family: var(--pw-font-body);
  color: var(--pw-text);
  overflow: hidden;
  isolation: isolate;
}

.chatmock::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 100%;
  background: radial-gradient(closest-side, rgba(0, 235, 255, 0.28), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.chatmock::after {
  content: "[+]";
  position: absolute;
  right: 18px;
  bottom: 12px;
  font-family: var(--pw-font-display);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(0, 21, 255, 0.32);
  z-index: 0;
}

.chatmock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pw-text);
}

.chatmock-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pw-blue);
  font-weight: 600;
}

.chatmock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00EBFF;
  box-shadow: 0 0 0 0 rgba(0, 235, 255, 0.6);
  animation: chatmockPulse 1.8s ease-out infinite;
}

@keyframes chatmockPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 235, 255, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(0, 235, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 235, 255, 0); }
}

.chatmock-meta {
  font-weight: 500;
  color: rgba(0, 20, 106, 0.7);
  letter-spacing: 0.04em;
}

/* Diagnose-Mock: KI-Readiness-Check als Spiegel auf die eigene Website */

.diagnose-domain {
  padding: 12px 14px;
  background: rgba(0, 21, 255, 0.04);
  border-left: 3px solid var(--pw-blue);
  border-radius: 0 8px 8px 0;
}

.diagnose-domain-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pw-blue);
  margin-bottom: 4px;
  font-weight: 600;
}

.diagnose-domain-url {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.94rem;
  color: var(--pw-navy);
  word-break: break-all;
}

.diagnose-domain-protocol {
  color: rgba(0, 20, 106, 0.65);
}

.diagnose-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.diagnose-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 21, 255, 0.025);
  border: 1px solid rgba(0, 21, 255, 0.05);
}

.diagnose-check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pw-font-display);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 1px;
}

.diagnose-check.is-fail .diagnose-check-icon {
  background: rgba(192, 57, 43, 0.12);
  color: #c0392b;
}

.diagnose-check.is-ok .diagnose-check-icon {
  background: rgba(31, 122, 53, 0.14);
  color: #1f7a35;
}

.diagnose-check-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.diagnose-check-body strong {
  font-family: var(--pw-font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--pw-navy);
  line-height: 1.3;
}

.diagnose-check-body span {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--pw-text);
}

.diagnose-check.is-fail .diagnose-check-body span { color: rgba(192, 57, 43, 0.95); }
.diagnose-check.is-ok .diagnose-check-body span { color: rgba(31, 122, 53, 0.9); }

.diagnose-score {
  position: relative;
  margin-top: 4px;
  padding: 14px 16px 12px;
  background: var(--pw-white);
  border-left: 8px solid #c0392b;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 6px 16px rgba(0, 20, 106, 0.06);
}

.diagnose-score-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  gap: 10px;
}

.diagnose-score-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pw-blue);
  font-weight: 600;
}

.diagnose-score-label strong {
  font-family: var(--pw-font-display);
  font-size: 1.85rem;
  color: #c0392b;
  line-height: 1;
  font-weight: 700;
}

.diagnose-score-label strong span {
  font-size: 0.9rem;
  color: rgba(0, 20, 106, 0.7);
  margin-left: 2px;
  font-weight: 500;
}

.diagnose-score-bar {
  height: 8px;
  background: rgba(0, 21, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.diagnose-score-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #c0392b 0%, #c89200 100%);
  border-radius: 999px;
}

.diagnose-score-status {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c0392b;
  letter-spacing: 0.02em;
}

.chatmock-foot {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: rgba(0, 20, 106, 0.6);
  text-align: center;
  font-style: italic;
  padding-top: 4px;
}

@media (max-width: 760px) {
  .hero-panel-chatmock { min-height: 0; }
  .chatmock { padding: 22px 22px 18px; gap: 14px; }
  .chatmock-list li { padding: 10px 12px 10px 36px; font-size: 0.86rem; }
  .chatmock-question p { font-size: 0.92rem; }
}

.panel-card {
  position: relative;
  border-radius: var(--pw-radius);
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(0, 21, 255, 0.1);
  box-shadow: var(--pw-shadow);
}

.panel-card-main {
  padding: 36px;
  transform: rotate(-3deg);
}

.panel-card-main::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(0, 21, 255, 0.08);
}

.panel-badge,
.case-tag,
.price-ribbon,
.widget-kicker,
.magnet-kicker,
.signal-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-badge,
.case-tag,
.signal-label {
  color: var(--pw-blue);
}

.panel-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.panel-card-small {
  padding: 24px;
}

.panel-card-small strong {
  display: block;
  font-size: 2.4rem;
  color: var(--pw-blue);
}

.panel-card-small.accent {
  background: linear-gradient(145deg, rgba(229,0,128,0.12), rgba(0,235,255,0.18));
}

.signal-bar {
  padding: 16px 0;
  border-top: 1px solid rgba(0,21,255,0.06);
  border-bottom: 1px solid rgba(0,21,255,0.06);
  background: rgba(255,255,255,0.68);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.reason-grid,
.case-grid,
.pricing-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.reason-card,
.case-card,
.price-card,
.team-card,
.symptom-card,
.timeline-card,
.magnet-card,
.widget-placeholder,
.faq-item {
  border-radius: var(--pw-radius);
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,21,255,0.1);
  box-shadow: var(--pw-shadow);
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 100px;
}

.reason-card,
.case-card,
.price-card,
.team-card,
.symptom-card,
.timeline-card,
.magnet-card,
.widget-placeholder {
  padding: 28px;
}

.highlight-card,
.featured,
.featured-price {
  background: linear-gradient(145deg, rgba(0, 21, 255, 0.92), rgba(0, 20, 106, 0.96));
  color: white;
}

.highlight-card a,
.featured a,
.featured-price,
.featured li {
  color: white;
}

.funnel-shell {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 36px;
  align-items: stretch;
}

.funnel-stage {
  position: relative;
  padding: 24px 22px;
  border-radius: var(--pw-radius-small);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,21,255,0.1);
  box-shadow: 0 8px 22px rgba(0, 21, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* A11y/Layout: Pfeile als Pseudo-Elemente vor jeder Stage außer der ersten */
.funnel-stage + .funnel-stage::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -32px;
  width: 24px;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(0, 21, 255, 0.18), rgba(0, 21, 255, 0.55));
  pointer-events: none;
}

.funnel-stage + .funnel-stage::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid rgba(0, 21, 255, 0.55);
  transform: translateY(-50%);
  pointer-events: none;
}

/* Bruchpunkt-Pfeil: vor break-stage (Stage 3) */
.funnel-stage.break-stage::before {
  background: repeating-linear-gradient(
    90deg,
    var(--pw-pink) 0 6px,
    transparent 6px 12px
  );
  height: 3px;
}

.funnel-stage.break-stage::after {
  border-left-color: var(--pw-pink);
}

/* After-Break-Pfeil: vor faded-stage (Stage 4) – muss spezifischer sein als das break-stage-Pattern */
.funnel-stage.funnel-stage-faded::before {
  background: repeating-linear-gradient(
    90deg,
    rgba(0, 21, 255, 0.25) 0 4px,
    transparent 4px 10px
  );
  height: 2px;
}

.funnel-stage.funnel-stage-faded::after {
  border-left-color: rgba(0, 21, 255, 0.35);
}

.funnel-stage strong {
  font-size: 1.08rem;
  color: var(--pw-blue);
}

.funnel-stage p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.funnel-num {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pw-blue);
  color: #ffffff !important;
  font-family: var(--pw-font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 4px;
}

.funnel-stage-faded {
  background: rgba(255,255,255,0.55);
  border-style: dashed;
}

.funnel-stage-faded strong,
.funnel-stage-faded .funnel-num {
  opacity: 0.65;
}

.break-stage {
  background: linear-gradient(145deg, rgba(229,0,128,0.14), rgba(0,235,255,0.1));
  border-color: rgba(229, 0, 128, 0.4);
  box-shadow: 0 12px 32px rgba(229, 0, 128, 0.18);
}

.break-stage strong {
  color: var(--pw-pink);
}

.break-stage-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--pw-pink);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(229, 0, 128, 0.35);
}

/* Mobile: Funnel als vertikale Liste, Pfeile rotiert */
@media (max-width: 1080px) {
  .funnel-shell {
    grid-template-columns: 1fr;
    gap: 36px 0;
  }

  .funnel-stage + .funnel-stage::before {
    top: -22px;
    left: 50%;
    width: 2px;
    height: 14px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(0, 21, 255, 0.18), rgba(0, 21, 255, 0.55));
  }

  .funnel-stage + .funnel-stage::after {
    top: -6px;
    left: 50%;
    border-top: 9px solid rgba(0, 21, 255, 0.55);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: none;
    transform: translateX(-50%);
  }

  .funnel-stage.break-stage::before {
    background: repeating-linear-gradient(
      180deg,
      var(--pw-pink) 0 4px,
      transparent 4px 8px
    );
    width: 3px;
  }

  .funnel-stage.break-stage::after {
    border-top-color: var(--pw-pink);
  }

  .funnel-stage.funnel-stage-faded::before {
    background: repeating-linear-gradient(
      180deg,
      rgba(0, 21, 255, 0.25) 0 4px,
      transparent 4px 10px
    );
  }

  .funnel-stage.funnel-stage-faded::after {
    border-top-color: rgba(0, 21, 255, 0.35);
  }
}

.symptom-grid,
.workshop-grid,
.magnet-grid,
.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.symptom-quote {
  padding: 32px;
  margin: 0;
  border-radius: var(--pw-radius);
  background: linear-gradient(145deg, rgba(0,235,255,0.15), rgba(229,0,128,0.12));
  font-size: 1.1rem;
  font-weight: 600;
}

.symptom-quote cite {
  display: block;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 500;
  font-style: normal;
  color: var(--pw-navy);
  opacity: 0.85;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pillar-card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
}

.pillar-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pw-cyan);
  color: var(--pw-deep) !important;
  font-family: var(--pw-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(0, 235, 255, 0.35);
}

.timeline-card {
  background: rgba(255,255,255,0.94);
  color: var(--pw-text);
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 14px;
  position: relative;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
}

.timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 38px;
  bottom: -14px;
  width: 2px;
  background: linear-gradient(180deg, var(--pw-blue), rgba(0, 21, 255, 0.12));
}

.timeline-step {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pw-blue);
  color: #ffffff !important;
  font-family: var(--pw-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(0, 21, 255, 0.25);
}

.timeline-body {
  display: grid;
  gap: 4px;
  padding-top: 6px;
}

.timeline-body strong {
  color: var(--pw-blue);
  font-size: 1.02rem;
}

.timeline-body span {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--pw-text);
}

.block-button {
  width: 100%;
}

.price-card {
  position: relative;
  min-height: 250px;
}

.price,
.price-amount {
  margin: 10px 0 16px;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--pw-blue);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.price-suffix {
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pw-text-muted, #5b5f7d);
  letter-spacing: 0.01em;
}

.featured-price .price,
.featured-price .price-amount,
.featured-price h3,
.featured-price p {
  color: white;
}

.featured-price .price-suffix {
  color: rgba(255, 255, 255, 0.78);
}

.price-ribbon {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  color: white;
}

.checklist-points,
.widget-placeholder ul,
.case-card ul,
.symptom-card ul {
  padding-left: 20px;
  margin: 0;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 18px;
  color: var(--pw-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(0, 21, 255, 0.35);
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.case-link:hover,
.case-link:focus-visible {
  text-decoration-color: var(--pw-blue);
}

/* Hochschul-Portfolio: Trust-Bar mit Logo-Tiles (3×3-Grid bei Desktop) */
.logo-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--pw-line);
  border-radius: var(--pw-radius-small);
  box-shadow: 0 8px 22px rgba(0, 21, 255, 0.05);
  text-align: center;
}

.logo-tile-img {
  max-width: 100%;
  max-height: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 760px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .logo-tile {
    min-height: 140px;
    padding: 18px;
  }
  .logo-tile-img {
    max-height: 90px;
  }
}

/* Mainz-Spotlight: Pull-Quote über dem Grid */
.mainz-quote {
  margin: 0 0 48px;
  padding: 36px 44px;
  background: rgba(255, 255, 255, 0.78);
  border-left: 4px solid var(--pw-blue);
  border-radius: 0 var(--pw-radius) var(--pw-radius) 0;
  box-shadow: 0 12px 32px rgba(0, 21, 255, 0.06);
}

.mainz-quote p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--pw-navy);
  font-style: italic;
}

.mainz-quote cite {
  display: block;
  margin-top: 20px;
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 700;
  color: var(--pw-blue);
}

@media (max-width: 760px) {
  .mainz-quote {
    padding: 28px 24px;
  }

  .mainz-quote p {
    font-size: 1.08rem;
  }
}

/* Mainz-Spotlight: zweispaltiges Layout mit Story links und Fact-Box rechts */
.mainz-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}

.mainz-story h3 {
  margin: 28px 0 6px;
  font-size: 1.2rem;
}

.mainz-story h3:first-child {
  margin-top: 0;
}

.mainz-story p {
  margin: 0;
  line-height: 1.65;
}

.mainz-facts {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--pw-line);
  border-radius: var(--pw-radius);
  padding: 32px;
  box-shadow: var(--pw-shadow);
  position: sticky;
  top: 100px;
}

.mainz-facts h3 {
  margin: 0 0 20px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pw-blue);
}

.mainz-facts dl {
  margin: 0 0 28px;
  display: grid;
  gap: 14px;
}

.mainz-facts dl > div {
  display: grid;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--pw-line);
}

.mainz-facts dl > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.mainz-facts dt {
  font-size: 0.84rem;
  color: rgba(0, 20, 106, 0.7);
  margin: 0;
}

.mainz-facts dd {
  margin: 0;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--pw-navy);
}

.mainz-facts .button {
  width: 100%;
}

@media (max-width: 980px) {
  .mainz-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mainz-facts {
    position: static;
  }
}

.score-preview {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

/* Score-Boxen: Ampel-Farben sind funktionale Ausnahme der Pluswerk-Brand-
   Palette (siehe docs/brand-konformitaet.md). Visuell zurückhaltend gehalten:
   weißer Hintergrund, Brand-blaue Typo, Ampel-Farbe nur als 8px-Akzent-Streifen
   links – also Funktionssignal, nicht Branding-Element. */
.score-preview div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  background: #ffffff;
  border-left: 8px solid transparent;
  box-shadow: 0 1px 2px rgba(0, 21, 255, 0.04);
}

.score-preview div strong,
.score-preview div span {
  color: var(--pw-blue);
}

.score-preview div span {
  color: var(--pw-text);
  font-weight: 400;
}

.score-preview .score-red {
  border-left-color: #c0392b;
}

.score-preview .score-yellow {
  border-left-color: #c89200;
}

.score-preview .score-green {
  border-left-color: #1f7a35;
}

.magnet-note {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--pw-text-muted, #5b5f7d);
  font-style: italic;
}

.team-cta {
  margin-top: 18px;
}

.avatar {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--pw-blue), var(--pw-cyan));
  color: white;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.accent-avatar {
  background: linear-gradient(145deg, var(--pw-navy), var(--pw-pink));
}

.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
  background: var(--pw-surface);
  box-shadow: 0 8px 24px rgba(0, 21, 255, 0.12);
}

.role {
  color: var(--pw-blue);
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 56px 22px 26px;
  font-weight: 600;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 20px;
  color: var(--pw-blue);
  font-size: 1.3rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 26px 24px;
}

.cta-section {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(135deg, rgba(0, 20, 106, 0.78) 0%, rgba(0, 21, 255, 0.62) 55%, rgba(229, 0, 128, 0.42) 100%),
    image-set(
      url("assets/pattern-gradient-landscape.webp") type("image/webp"),
      url("assets/pattern-gradient-landscape.jpg") type("image/jpeg")
    );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  color: white;
}

.widget-placeholder {
  background: rgba(255,255,255,0.12);
  color: white;
  border-color: rgba(255,255,255,0.18);
}

.widget-placeholder ul {
  color: rgba(255,255,255,0.88);
}

.booking-widget {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking-switch {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  align-self: flex-start;
  max-width: 100%;
  flex-wrap: wrap;
}

.booking-switch-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.booking-switch-option img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.booking-switch-option:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.booking-switch-option.is-active {
  background: #ffffff;
  color: var(--pw-blue, #0015FF);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.booking-switch-option:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.booking-embed {
  background: #ffffff;
  border-radius: var(--pw-radius);
  box-shadow: var(--pw-shadow);
  overflow: hidden;
  min-height: 720px;
  display: flex;
}

.booking-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 720px;
  border: 0;
  display: block;
}

@media (max-width: 760px) {
  .booking-embed,
  .booking-embed iframe {
    min-height: 820px;
  }
}

.widget-kicker,
.magnet-kicker {
  margin-bottom: 10px;
  color: var(--pw-cyan);
}

.site-footer {
  padding: 36px 0 48px;
  background: #08112f;
  color: rgba(255,255,255,0.84);
}

.footer-grid a.footer-legal-link {
  margin-top: 18px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.footer-grid a.footer-legal-link + a.footer-legal-link {
  margin-top: 0;
}

.footer-grid a.footer-legal-link:hover,
.footer-grid a.footer-legal-link:focus-visible {
  color: var(--pw-white);
  text-decoration-color: var(--pw-cyan);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 22px;
}

.footer-grid a,
.footer-brand {
  display: block;
  margin-bottom: 8px;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-head,
  .symptom-grid,
  .workshop-grid,
  .magnet-grid,
  .cta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .reason-grid,
  .case-grid,
  .pricing-grid,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 74px 0;
  }

  .reason-grid,
  .case-grid,
  .pricing-grid,
  .team-grid,
  .funnel-shell,
  .panel-stack,
  .pillars,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .nav-shell {
    min-height: 72px;
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    max-width: none;
  }

  .hero-panel {
    min-height: auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .button-text {
    width: auto;
  }
}

.brand {
  min-width: 180px;
}

.brand-logo {
  display: block;
  width: clamp(150px, 15vw, 205px);
  height: auto;
}

.footer-logo {
  display: block;
  width: min(210px, 100%);
  height: auto;
  margin-bottom: 12px;
}

/* Responsive refinements after QS */
.nav-shell {
  flex-wrap: wrap;
}

.main-nav {
  flex-wrap: wrap;
}

@media (max-width: 1080px) {
  .main-nav {
    display: flex;
    order: 3;
    width: 100%;
    gap: 10px;
    padding-bottom: 4px;
  }

  .main-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(0, 21, 255, 0.06);
    border: 1px solid rgba(0, 21, 255, 0.08);
    white-space: nowrap;
  }

  .nav-cta {
    width: auto;
    min-height: 44px;
    padding: 0 18px;
  }

  .hero-panel {
    min-height: auto;
  }

  .panel-card-main {
    transform: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
  }

  .nav-shell {
    align-items: center;
    row-gap: 14px;
    padding-top: 12px;
    padding-bottom: 14px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-logo {
    width: 150px;
  }

  .main-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    font-size: 0.9rem;
  }

  .nav-cta {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }

  .hero-copy,
  .hero-panel {
    width: 100%;
  }

  .hero-lead {
    font-size: 1.02rem;
  }

  .price-card,
  .reason-card,
  .case-card,
  .team-card,
  .symptom-card,
  .timeline-card,
  .magnet-card,
  .widget-placeholder {
    padding: 22px;
  }

  .section-head {
    margin-bottom: 30px;
  }

  h2 {
    line-height: 1.05;
  }

  .funnel-stage,
  .pillar-card {
    padding: 20px;
  }
}

/* Final mobile QS overrides */
.hero-grid,
.hero-copy {
  min-width: 0;
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .nav-shell {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
    min-height: auto;
    padding-top: 12px;
    padding-bottom: 14px;
  }

  .brand {
    min-width: 0;
    width: 100%;
  }

  .brand-logo {
    width: 146px;
  }

  .nav-cta {
    justify-self: start;
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.92rem;
  }

  .main-nav {
    width: 100%;
    gap: 8px;
    padding-bottom: 0;
  }

  .main-nav a {
    font-size: 0.88rem;
    padding: 9px 13px;
  }

  h1 {
    font-size: clamp(2rem, 7.5vw, 3.55rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    max-width: none;
    hyphens: none;
    overflow-wrap: normal;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .hero-actions {
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .button-text {
    width: auto;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .main-nav,
  .hero-actions,
  .hero-meta,
  .hero-copy,
  .hero-panel {
    min-width: 0;
    max-width: 100%;
  }

  .hero-actions .button {
    width: 100%;
    padding: 14px 20px;
    text-align: center;
    white-space: normal;
    line-height: 1.25;
  }

  .nav-cta {
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(1.7rem, 8vw, 2.6rem);
    line-height: 1.08;
    max-width: none;
    hyphens: none;
    overflow-wrap: normal;
  }

  .hero-actions .button {
    display: block;
    width: 100%;
    padding: 14px 18px;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 760px) {
  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
  }

  .main-nav a {
    white-space: normal;
    text-align: center;
  }
}

/* ========================================================================
   Hamburger / Mobile-Nav (überschreibt alle vorherigen 760-Mobile-Overrides)
   ======================================================================== */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: 0;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  transition: opacity 180ms ease;
}

.nav-toggle:hover {
  opacity: 0.7;
}

.nav-toggle-bar {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--pw-blue);
  border-radius: 0;
  transition: transform 180ms ease, opacity 120ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .nav-shell {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    min-height: 64px !important;
  }

  .brand {
    order: 1;
    flex: 0 1 auto;
    min-width: 0;
  }

  .brand-logo {
    width: 130px;
  }

  .nav-cta {
    order: 2;
    width: auto !important;
    flex: 0 0 auto;
    padding: 0 14px !important;
    min-height: 40px !important;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  /* Mobile-Menü als ausklappbares Panel unter dem Header */
  .main-nav {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 21, 255, 0.08);
    box-shadow: 0 16px 32px rgba(0, 21, 255, 0.08);
    padding: 16px 20px 20px !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 4px !important;
    align-items: stretch !important;
    overflow: visible !important;
  }

  .main-nav.is-open {
    display: flex !important;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 14px !important;
    border-radius: 10px;
    background: transparent !important;
    border: none !important;
    text-align: left !important;
    font-size: 1rem;
    font-weight: 600;
  }

  .main-nav a:hover,
  .main-nav a:focus {
    background: rgba(0, 21, 255, 0.06) !important;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
  }

  .nav-shell {
    position: relative;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .hero .container,
  .hero-grid {
    overflow-x: clip;
  }
}

/* Timeline card contrast fix */
.timeline-card h3,
.timeline-card .timeline li,
.timeline-card .timeline li strong,
.timeline-card .timeline li span {
  color: var(--pw-text);
}

.timeline-card .timeline li span {
  color: var(--pw-muted);
}

.timeline-card .timeline li {
  border-left: 0;
}

/* Defensive contrast overrides for light cards inside dark sections */
.section-dark .timeline-card,
.section-dark .timeline-card h3,
.section-dark .timeline-card li,
.section-dark .timeline-card strong,
.section-dark .timeline-card span,
.section-dark .timeline-card p {
  color: var(--pw-text);
}

.section-dark .timeline-card li span {
  color: var(--pw-muted);
}

.section-dark .timeline-card li {
  border-left-color: rgba(0, 21, 255, 0.18);
}

/* Strong mobile containment pass */
@media (max-width: 760px) {
  .site-header,
  .nav-shell,
  .hero-grid,
  .hero-copy,
  .hero-panel,
  .panel-card,
  .panel-card-main,
  .panel-card-small,
  .panel-stack,
  .main-nav,
  .main-nav a,
  .hero-actions,
  .hero-actions .button,
  .hero-meta,
  .hero-meta li {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .panel-stack {
    grid-template-columns: 1fr;
  }

  .panel-card-main,
  .panel-card-small {
    padding-inline: 20px;
  }

  .panel-card-main::after {
    inset: 12px;
  }
}

/* Hero card typography and signal bar cleanup */
.panel-card-small strong {
  font-size: 1.5rem;
  line-height: 1.08;
  margin-bottom: 10px;
}

.panel-card-small span {
  display: block;
  color: var(--pw-text);
}

.signal-grid strong {
  display: block;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .signal-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .signal-bar {
    padding: 14px 0;
  }

  .panel-card-small strong {
    font-size: 1.28rem;
  }
}

/* Mobile signal bar redesign */
@media (max-width: 760px) {
  .signal-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .signal-grid > div {
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 21, 255, 0.08);
  }

  .signal-grid strong {
    font-size: 0.96rem;
  }
}

/* Safe mobile navigation fit */
@media (max-width: 760px) {
  .main-nav {
    grid-template-columns: 1fr;
  }
}

/* Mobile: backdrop-filter auf Sticky-Header und CTA-Glow deaktivieren – verursachen Repaint-Jitter beim Scrollen auf iOS/Android über Gradient-Sektionen. */
@media (max-width: 860px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.96);
  }

  .cta-section::before,
  .section-dark::before {
    display: none;
  }
}

/* ===========================================================
   Self-Assessment Widget – clientseitig, brand-konform
   =========================================================== */

.assessment {
  margin-top: 56px;
  padding: 40px;
  border-radius: var(--pw-radius);
  background: var(--pw-white);
  border: 1px solid rgba(0, 21, 255, 0.08);
  box-shadow: 0 30px 60px rgba(0, 21, 255, 0.10);
  scroll-margin-top: 100px;
  position: relative;
  overflow: hidden;
}

.assessment::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(0, 235, 255, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.assessment > * {
  position: relative;
  z-index: 1;
}

/* Intro-Screen */
.assessment-intro { text-align: center; max-width: 64ch; margin: 0 auto; padding: 16px 0; }
.assessment-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pw-blue);
  font-weight: 600;
  margin-bottom: 14px;
}
.assessment-intro h3 {
  font-family: var(--pw-font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--pw-blue);
  margin: 0 0 16px;
  line-height: 1.2;
}
.assessment-intro p {
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--pw-text);
}
.assessment-intro-actions {
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
}
.assessment-meta {
  font-size: 0.84rem;
  color: rgba(0, 20, 106, 0.7);
  font-style: italic;
  margin: 0;
}

/* Quiz-Screen */
.assessment-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}
.assessment-progress-bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 21, 255, 0.08);
  overflow: hidden;
}
.assessment-progress-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--pw-blue), #00EBFF);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.assessment-progress-text {
  font-size: 0.86rem;
  color: var(--pw-navy);
  flex-shrink: 0;
  font-weight: 500;
}
.assessment-progress-text strong {
  font-family: var(--pw-font-display);
  color: var(--pw-blue);
}

.assessment-cluster {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 21, 255, 0.08);
  color: var(--pw-blue);
  font-weight: 600;
  margin-bottom: 14px;
}

.assessment-question-text {
  font-family: var(--pw-font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  margin: 0 0 12px;
  color: var(--pw-blue);
  line-height: 1.25;
}
.assessment-question-context {
  color: var(--pw-text);
  margin: 0 0 26px;
  line-height: 1.6;
  font-size: 0.96rem;
}

.assessment-answers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.assessment-answer {
  padding: 16px 18px;
  border: 2px solid rgba(0, 21, 255, 0.15);
  border-radius: 12px;
  background: var(--pw-white);
  cursor: pointer;
  font-family: var(--pw-font-body);
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.assessment-answer strong {
  font-family: var(--pw-font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--pw-blue);
}
.assessment-answer span {
  font-size: 0.84rem;
  color: var(--pw-text);
}
.assessment-answer:hover {
  border-color: var(--pw-blue);
  background: rgba(0, 21, 255, 0.04);
  transform: translateY(-1px);
}
.assessment-answer:focus-visible {
  outline: 3px solid rgba(0, 21, 255, 0.35);
  outline-offset: 2px;
}
.assessment-answer.is-selected {
  border-color: var(--pw-blue);
  background: rgba(0, 21, 255, 0.06);
}

.assessment-source {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 21, 255, 0.08);
  font-size: 0.86rem;
}
.assessment-source summary {
  cursor: pointer;
  user-select: none;
  color: var(--pw-blue);
  font-weight: 600;
  list-style: none;
}
.assessment-source summary::-webkit-details-marker { display: none; }
.assessment-source summary::before {
  content: "▸ ";
  display: inline-block;
  margin-right: 4px;
  transition: transform 0.2s ease;
}
.assessment-source[open] summary::before { content: "▾ "; }

.assessment-source-body {
  margin-top: 12px;
  padding: 16px 18px;
  background: rgba(0, 21, 255, 0.03);
  border-left: 3px solid rgba(0, 21, 255, 0.18);
  border-radius: 0 8px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.assessment-source-block strong {
  display: block;
  font-family: var(--pw-font-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pw-blue);
  font-weight: 700;
  margin-bottom: 4px;
}

.assessment-source-block p {
  margin: 0;
  color: var(--pw-text);
  line-height: 1.55;
  font-size: 0.92rem;
}

.assessment-source-block code {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  background: rgba(0, 21, 255, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--pw-blue);
  word-break: break-word;
}

.assessment-source-block a {
  color: var(--pw-blue);
  text-decoration: underline;
  text-decoration-color: rgba(0, 21, 255, 0.4);
  text-underline-offset: 2px;
}
.assessment-source-block a:hover {
  text-decoration-color: var(--pw-blue);
}

.assessment-source-ref {
  font-style: italic;
  color: rgba(0, 20, 106, 0.7) !important;
  font-size: 0.86rem !important;
}

.assessment-nav {
  margin-top: 16px;
}
.assessment-nav .button-text {
  background: none;
  border: none;
  padding: 4px 0;
  cursor: pointer;
  color: var(--pw-blue);
  font-family: var(--pw-font-body);
  font-size: 0.92rem;
  font-weight: 500;
}
.assessment-nav button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Result-Screen */
.assessment-result {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.assessment-score {
  text-align: center;
  padding: 28px 24px;
  border-radius: var(--pw-radius-small);
  position: relative;
  border-left: 8px solid #c89200;
  background: var(--pw-white);
  box-shadow: 0 8px 22px rgba(0, 20, 106, 0.06);
}
.assessment-score[data-status="red"] { border-left-color: #c0392b; }
.assessment-score[data-status="yellow"] { border-left-color: #c89200; }
.assessment-score[data-status="green"] { border-left-color: #1f7a35; }

.assessment-score-eyebrow {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pw-blue);
  font-weight: 600;
  margin-bottom: 6px;
}

.assessment-score-status {
  display: block;
  font-family: var(--pw-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.assessment-score[data-status="red"] .assessment-score-status { color: #c0392b; }
.assessment-score[data-status="yellow"] .assessment-score-status { color: #c89200; }
.assessment-score[data-status="green"] .assessment-score-status { color: #1f7a35; }

.assessment-score-value {
  font-family: var(--pw-font-display);
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 14px;
}
.assessment-score-value strong {
  font-size: 3.2rem;
  color: var(--pw-blue);
  line-height: 1;
  font-weight: 700;
}
.assessment-score-value span {
  font-size: 1rem;
  color: rgba(0, 20, 106, 0.7);
  font-weight: 500;
}

.assessment-score-bar {
  height: 8px;
  background: rgba(0, 21, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  max-width: 320px;
  margin: 0 auto;
}
.assessment-score-bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #c0392b 0%, #c89200 50%, #1f7a35 100%);
  transition: width 0.6s ease;
}

.assessment-section h4,
.assessment-recommendations h4 {
  font-family: var(--pw-font-display);
  color: var(--pw-blue);
  font-size: 1.15rem;
  margin: 0 0 16px;
}

.assessment-clusters {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.assessment-cluster-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--pw-text);
}
.assessment-cluster-bar-head strong {
  font-family: var(--pw-font-display);
  color: var(--pw-blue);
  font-size: 1rem;
  font-weight: 700;
}
.assessment-cluster-bar-head strong span {
  font-weight: 500;
  color: rgba(0, 20, 106, 0.7);
  font-size: 0.86rem;
}
.assessment-cluster-bar-track {
  height: 8px;
  background: rgba(0, 21, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.assessment-cluster-bar-track > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s ease;
}
.assessment-cluster-bar[data-status="red"] .assessment-cluster-bar-track > span { background: #c0392b; }
.assessment-cluster-bar[data-status="yellow"] .assessment-cluster-bar-track > span { background: #c89200; }
.assessment-cluster-bar[data-status="green"] .assessment-cluster-bar-track > span { background: #1f7a35; }

.assessment-recommendations {
  padding: 26px;
  background: rgba(0, 21, 255, 0.03);
  border-radius: 12px;
}
.assessment-recommendations ol {
  padding-left: 24px;
  margin: 0 0 16px;
}
.assessment-recommendations li {
  margin-bottom: 18px;
}
.assessment-recommendations li:last-child {
  margin-bottom: 0;
}
.assessment-recommendations li strong {
  display: block;
  color: var(--pw-blue);
  font-family: var(--pw-font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.assessment-recommendations li span {
  display: block;
  color: var(--pw-text);
  line-height: 1.6;
  font-size: 0.95rem;
}
.assessment-recommendations-note {
  margin: 8px 0 0;
  font-size: 0.84rem;
  color: rgba(0, 20, 106, 0.7);
  font-style: italic;
}

.assessment-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.assessment-cta .button-text {
  background: none;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--pw-blue);
  font-family: var(--pw-font-body);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .assessment { padding: 24px 22px; margin-top: 36px; }
  .assessment-answers { grid-template-columns: 1fr; }
  .assessment-question-text { font-size: 1.25rem; }
  .assessment-progress { gap: 12px; }
  .assessment-progress-text { font-size: 0.78rem; }
  .assessment-score-value strong { font-size: 2.5rem; }
}

/* ===========================================================
   Self-Assessment Modal
   =========================================================== */

.magnet-shell {
  text-align: center;
  max-width: 56ch;
  margin: 0 auto;
}
.magnet-shell .eyebrow { display: block; margin-bottom: 12px; }
.magnet-shell h2 { color: var(--pw-blue); margin-bottom: 18px; }
.magnet-lead { font-size: 1.05rem; line-height: 1.65; color: var(--pw-text); margin-bottom: 28px; }
.magnet-shell .hero-actions { justify-content: center; margin: 0; }

/* Modal Shell */
.assessment-modal {
  border: none;
  padding: 0;
  background: transparent;
  width: min(760px, 92vw);
  max-width: 92vw;
  max-height: 90vh;
  border-radius: var(--pw-radius);
  overflow: visible;
  box-shadow: 0 60px 120px rgba(0, 21, 255, 0.30), 0 20px 40px rgba(0, 20, 106, 0.20);
}

.assessment-modal::backdrop {
  background: rgba(0, 20, 106, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.assessment-modal:not([open]) { display: none; }

.assessment-modal-shell {
  position: relative;
  background: var(--pw-white);
  border-radius: var(--pw-radius);
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.assessment-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 21, 255, 0.12);
  background: var(--pw-white);
  color: var(--pw-blue);
  cursor: pointer;
  z-index: 50;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  box-shadow: 0 4px 12px rgba(0, 20, 106, 0.08);
}

/* Versteckte Screens müssen wirklich versteckt bleiben – class-Spezifität schlägt sonst [hidden] */
.assessment [data-screen][hidden] { display: none !important; }
.assessment-modal-close:hover {
  background: var(--pw-blue);
  color: var(--pw-white);
  transform: scale(1.05);
}
.assessment-modal-close:focus-visible {
  outline: 3px solid rgba(0, 21, 255, 0.35);
  outline-offset: 2px;
}

/* Wenn das Assessment im Modal lebt: kein eigener Card-Look, kein Margin */
.assessment-modal .assessment {
  margin-top: 0;
  padding: 28px 36px 36px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  scroll-margin-top: 0;
}

/* Header-Padding-Right damit Close-Button (absolute oben rechts) nicht ueberlappt */
.assessment-modal .assessment-progress,
.assessment-modal .assessment-intro,
.assessment-modal .assessment-result > .assessment-score,
.assessment-modal .assessment-result > .assessment-section:first-of-type {
  padding-right: 56px;
}

.assessment-modal .assessment::before { display: none; }

body.has-assessment-modal {
  overflow: hidden;
}

/* Mobile: Modal als Vollbild-Sheet */
@media (max-width: 760px) {
  .assessment-modal {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    margin: 0;
  }
  .assessment-modal-shell {
    border-radius: 0;
    max-height: 100dvh;
    height: 100dvh;
  }
  .assessment-modal .assessment {
    padding: 8px 20px 32px;
  }
  .assessment-modal-close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
  }
  .assessment-modal .assessment-progress,
  .assessment-modal .assessment-intro,
  .assessment-modal .assessment-result > .assessment-score {
    padding-right: 50px;
  }
}

/* A11y: WCAG 2.3.3 – Animationen bei reduzierten Bewegungs-Präferenzen abschalten */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .button:hover,
  .nav-cta:hover,
  .nav-phone:hover {
    transform: none;
  }
}
