/* =====================================================
   MP7 — Startseite
   ===================================================== */

/* ---------- Hero: cineastisches Video ---------- */

.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero-video-section {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 176px 0 120px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,10,17,0.78) 0%, rgba(6,10,17,0.28) 30%, rgba(6,10,17,0.42) 62%, rgba(6,10,17,0.96) 100%),
    linear-gradient(90deg, rgba(6,10,17,0.55) 0%, rgba(6,10,17,0) 45%);
}

.hero-content { position: relative; z-index: 2; }

.hero .wrap { position: relative; z-index: 2; }

.hero h1 { color: var(--white); max-width: 17ch; margin-top: 26px; }
.hero h1 em { font-style: normal; color: #aab6ff; }

.hero-lede { margin-top: 26px; max-width: 50ch; font-size: clamp(17px, 1.5vw, 19px); color: rgba(255,255,255,0.66); }

.hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 13.5px; color: rgba(255,255,255,0.42); }

/* Sound toggle */
.sound-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px 11px 14px;
  border-radius: 999px;
  background: rgba(11,19,32,0.45);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease);
}
.sound-toggle:hover { border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }
.sound-toggle svg { width: 18px; height: 18px; flex: none; }
.sound-toggle .icon-unmuted { display: none; }
.sound-toggle[aria-pressed="true"] .icon-muted { display: none; }
.sound-toggle[aria-pressed="true"] .icon-unmuted { display: block; }
.sound-toggle[aria-pressed="true"] { border-color: rgba(170,182,255,0.6); color: #cdd6ff; }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 3;
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 999px;
}
.scroll-cue span {
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  animation: scroll-cue-move 1.8s ease-in-out infinite;
}
@keyframes scroll-cue-move {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue span { animation: none; }
}
@media (max-width: 760px) {
  .scroll-cue { display: none; }
}

/* ---------- Trust Bar ---------- */

.trust-bar {
  background: var(--navy);
  border-top: 1px solid var(--line-dark);
  padding: 44px 0;
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 1px solid var(--line-dark);
}
.trust-item:first-child { border-left: none; padding-left: 0; }
.trust-num {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}
.trust-label {
  font-size: 13.5px;
  line-height: 1.4;
  color: rgba(255,255,255,0.55);
  max-width: 26ch;
}
@media (max-width: 980px) {
  .trust-bar-grid { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .trust-item:nth-child(2n+1) { border-left: none; padding-left: 0; }
  .trust-item:nth-child(-n+2) { padding-bottom: 4px; }
}
@media (max-width: 560px) {
  .trust-bar-grid { grid-template-columns: 1fr; gap: 24px 0; }
  .trust-item { border-left: none !important; padding-left: 0 !important; }
}

/* ---------- Signature: Netzwerk-Diagramm ---------- */

.network-section {
  background: var(--navy);
  padding: 40px 0 90px;
}

.network-signature {
  padding-bottom: 0;
}

.network-signature .wrap { display: block; }

.ns-labels {
  display: flex;
  justify-content: space-between;
  max-width: 920px;
  margin: 0 auto 18px;
  padding: 0 10px;
}
.ns-labels span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.ns-labels span.right { color: rgba(170,182,255,0.75); }

.ns-svg-wrap { max-width: 980px; margin: 0 auto; }

.network-signature text {
  font-family: var(--ff);
  fill: rgba(255,255,255,0.55);
  font-size: 12.5px;
  font-weight: 500;
}
.network-signature .node-label.hub { fill: var(--white); font-weight: 700; font-size: 13px; }

.network-signature .node-dot {
  fill: rgba(255,255,255,0.5);
  transition: fill 0.6s ease;
}

.network-signature .jitter circle {
  animation: jitter 3.4s ease-in-out infinite;
}
.network-signature.resolved .jitter circle { animation: none; }

@keyframes jitter {
  0%, 100% { transform: translate(0,0); opacity: .6; }
  25% { transform: translate(3px,-4px); opacity: .9; }
  50% { transform: translate(-2px,3px); opacity: .5; }
  75% { transform: translate(2px,2px); opacity: .85; }
}

.network-signature .link {
  stroke: var(--accent);
  stroke-width: 1.4;
  fill: none;
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  opacity: 0;
  transition: stroke-dashoffset 1s var(--ease), opacity 0.4s ease;
}
.network-signature.resolved .link { stroke-dashoffset: 0; opacity: 0.75; }
.network-signature.resolved .link:nth-of-type(1) { transition-delay: 0.05s; }
.network-signature.resolved .link:nth-of-type(2) { transition-delay: 0.18s; }
.network-signature.resolved .link:nth-of-type(3) { transition-delay: 0.31s; }
.network-signature.resolved .link:nth-of-type(4) { transition-delay: 0.44s; }
.network-signature.resolved .link:nth-of-type(5) { transition-delay: 0.57s; }
.network-signature.resolved .link:nth-of-type(6) { transition-delay: 0.70s; }

.network-signature .hub-ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  opacity: 0;
  transition: opacity 0.6s ease 1s, transform 0.9s var(--ease) 1s;
  transform: scale(0.7);
  transform-origin: center;
}
.network-signature.resolved .hub-ring { opacity: 0.4; transform: scale(1); }
.network-signature .hub-ring-outer { opacity: 0; transition-delay: 1.15s; }
.network-signature.resolved .hub-ring-outer { opacity: 0.18; }

.network-signature .hub-backdrop {
  fill: var(--accent);
  opacity: 0;
  transform: scale(0.4);
  transform-origin: 770px 140px;
  transition: opacity 0.5s var(--ease) 0.85s, transform 0.6s var(--ease) 0.85s;
  filter: drop-shadow(0 0 18px var(--accent-glow));
}
.network-signature.resolved .hub-backdrop { opacity: 1; transform: scale(1); }

.network-signature .hub-logo {
  opacity: 0;
  transform: scale(0.3);
  transform-origin: 770px 140px;
  transition: opacity 0.5s var(--ease) 1.05s, transform 0.6s var(--ease) 1.05s;
}
.network-signature.resolved .hub-logo { opacity: 1; transform: scale(1); }

/* ---------- Großes Zitat ---------- */

.quote-feature {
  padding: 100px 0 110px;
  background: var(--navy-soft);
  border-top: 1px solid var(--line-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-feature-mark {
  font-family: Georgia, serif;
  font-size: 160px;
  line-height: 1;
  color: rgba(133,151,255,0.16);
  font-weight: 700;
  display: block;
  margin-top: 28px;
  margin-bottom: -40px;
}
.quote-feature-text {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 17ch;
  margin: 0 auto;
  color: var(--white);
  position: relative;
  z-index: 1;
}
.quote-rotator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 330px; /* fixed to fit the longest rotating quote, so the layout never shifts when the text changes */
}
@media (max-width: 900px) {
  .quote-rotator { min-height: 270px; }
}

#quote-text,
#quote-attr {
  transition: opacity 0.5s ease;
}
.quote-feature-attr {
  display: block;
  margin-top: 20px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.5);
}
.quote-feature-small {
  font-size: clamp(20px, 2.6vw, 28px);
  max-width: 14ch;
  color: var(--white);
}

/* ---------- Storytelling: Problem -> Verständnis -> Lösung ---------- */

.story { padding: var(--section) 0; background: var(--navy); border-top: 1px solid var(--line-dark); }

/* ---------- Story: editorialer Fließtext statt Karten ---------- */

.story-editorial {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: start;
}
.story-marks {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding-top: 12px;
}
.story-marks span {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: rgba(255,255,255,0.07);
}
.story-copy { max-width: 68ch; }
.story-copy h2 { margin-top: 18px; max-width: 16ch; }
.story-p {
  margin-top: 34px;
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.55;
  color: rgba(255,255,255,0.62);
  max-width: 46ch;
}
.story-copy .story-p:first-of-type { margin-top: 40px; }
.story-punch {
  margin-top: 34px;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  max-width: 40ch;
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}

@media (max-width: 900px) {
  .story-editorial { grid-template-columns: 1fr; }
  .story-marks { position: static; flex-direction: row; gap: 28px; padding-top: 0; }
  .story-marks span { font-size: 32px; }
}

/* ---------- Beweis / Vorher-Nachher ---------- */

.proof { padding: var(--section) 0; background: var(--navy-soft); border-top: 1px solid var(--line-dark); }
.proof .lede { color: rgba(255,255,255,0.62); }

.proof-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  margin-top: 64px;
  border: 1px solid var(--line-dark);
  box-shadow: 0 32px 72px -28px rgba(0,0,0,0.5);
}
.proof-col { padding: 56px 48px; }
.proof-col.before { background: linear-gradient(155deg, #2a2f3b, #181c24); color: rgba(255,255,255,0.88); }
.proof-col.after { background: linear-gradient(155deg, var(--navy), #060a13); color: var(--white); }
.proof-col h3 { font-size: 24px; margin-bottom: 30px; }
.proof-col.before h3 { color: rgba(255,255,255,0.92); }
.proof-col.after h3 { color: var(--white); }

.proof-list { display: flex; flex-direction: column; gap: 22px; }
.proof-list li { display: flex; align-items: flex-start; gap: 16px; font-size: 17px; font-weight: 500; line-height: 1.4; }
.proof-col.before .proof-list li { color: rgba(255,255,255,0.65); }
.proof-col.after .proof-list li { color: rgba(255,255,255,0.85); }

.proof-list .icon {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
  margin-top: 2px;
}
.icon.minus { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
.icon.check { background: rgba(61,90,254,0.22); color: #aab6ff; }

.vs-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; letter-spacing: 0.04em;
  box-shadow: 0 0 0 8px var(--navy-soft), 0 16px 32px -8px var(--accent-glow);
  z-index: 2;
}

/* ---------- Timeline: So läuft ein MP7-Projekt ---------- */

.roadmap { padding: var(--section) 0; background: var(--navy); color: var(--white); }

.roadmap-head { margin-bottom: 0; }
.roadmap-title {
  font-size: clamp(36px, 5.2vw, 64px) !important;
  margin-top: 22px !important;
  max-width: 14ch;
}

.roadmap-list {
  margin-top: 64px;
  position: relative;
  max-width: 760px;
}
.roadmap-list::before {
  content: "";
  position: absolute;
  left: 27px; top: 8px;
  width: 1px;
  height: 0;
  background: linear-gradient(var(--accent), var(--line-dark));
  transition: height 1.6s var(--ease);
}
.roadmap-list.in-view::before { height: calc(100% - 16px); }
.roadmap-item {
  position: relative;
  display: flex;
  gap: 28px;
  padding: 28px 0;
}
.roadmap-item:not(:last-child) { border-bottom: 1px solid var(--line-dark); }
.roadmap-num {
  flex: none;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy-soft);
  border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
  color: rgba(255,255,255,0.55);
  position: relative;
  z-index: 1;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.roadmap-item:hover .roadmap-num { background: var(--accent); border-color: var(--accent); color: var(--white); }
.roadmap-body h3 { color: var(--white); font-size: 19px; }
.roadmap-body p { color: rgba(255,255,255,0.55); margin-top: 6px; font-size: 14.5px; max-width: 48ch; }

/* ---------- Werkzeuge: Flow statt Leistungen-Grid ---------- */

.flow { padding: var(--section) 0; background: var(--navy); border-top: 1px solid var(--line-dark); }
.flow .lede { color: rgba(255,255,255,0.62); }

.flow-list {
  margin-top: 56px;
  max-width: 760px;
}
.flow-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line-dark);
  transition: padding-left 0.35s var(--ease), border-color 0.35s ease;
}
.flow-item:first-child { border-top: 1px solid var(--line-dark); }
.flow-item:hover { padding-left: 16px; border-color: var(--accent); }
.flow-label {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  flex: none;
}
.flow-desc {
  font-size: 14.5px;
  color: rgba(255,255,255,0.55);
  text-align: right;
  max-width: 32ch;
  margin-left: auto;
}
.flow-arrow {
  width: 16px; height: 16px;
  flex: none;
  color: var(--accent);
  transition: transform 0.35s var(--ease);
}
.flow-item:hover .flow-arrow { transform: translateX(5px); }
.flow-item-last .flow-label { color: #aab6ff; }

.flow-foot { margin-top: 48px; }
.flow .btn-ghost { color: var(--white); border-color: var(--line-dark); }
.flow .btn-ghost:hover { border-color: var(--white); }

/* ---------- MP7 Move teaser ---------- */

.move-teaser { padding: var(--section) 0; background: var(--navy); color: var(--white); }
.move-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.move-copy h2 { color: var(--white); margin-top: 18px; max-width: 13ch; }
.move-copy .lede { color: rgba(255,255,255,0.65); margin-top: 22px; }
.move-quote { margin-top: 32px; padding: 20px 24px; border-left: 2px solid var(--accent); font-size: 16px; color: rgba(255,255,255,0.85); font-weight: 500; font-style: italic; }

.move-panel { border: 1px solid var(--line-dark); border-radius: 16px; background: rgba(255,255,255,0.03); padding: 24px; }
.move-panel-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line-dark); }
.move-panel-head .live { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #8fd6a5; letter-spacing: 0.05em; }
.move-panel-head .live .blip { width: 6px; height: 6px; border-radius: 50%; background: #8fd6a5; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .6; } }
.move-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line-dark); font-size: 14px; }
.move-row:last-child { border-bottom: none; }
.move-row span:first-child { color: rgba(255,255,255,0.75); }
.move-row .tag { font-size: 11px; padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.move-row .tag.ok { background: rgba(143,214,165,0.18); color: #8fd6a5; }
.move-row .tag.warn { background: rgba(255,196,87,0.18); color: #ffd27a; }

/* ---------- Werte: Liste statt Boxen ---------- */

.values-teaser { padding: var(--section) 0; background: var(--navy-soft); border-top: 1px solid var(--line-dark); }
.values-teaser .lede { color: rgba(255,255,255,0.62); }

.values-list {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
}
.values-col { display: flex; flex-direction: column; }
.value-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
}
.values-col:first-child .value-row:first-child,
.values-col:last-child .value-row:first-child {
  border-top: 1px solid var(--line-dark);
}
.value-num { font-size: 13px; font-weight: 700; color: #aab6ff; flex: none; width: 24px; }

/* ---------- CTA ---------- */

.cta { padding: 130px 0; background: var(--navy); color: var(--white); text-align: center; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; width: 700px; height: 700px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  top: -350px; left: 50%; transform: translateX(-50%); opacity: 0.5;
}
.cta .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta h2 { color: var(--white); max-width: 16ch; }
.cta .lede { color: rgba(255,255,255,0.6); margin: 22px auto 0; text-align: center; }
.cta-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .move-grid { grid-template-columns: 1fr; gap: 48px; }
  .proof-grid { grid-template-columns: 1fr; }
  .vs-badge { display: none; }
  .values-list { grid-template-columns: 1fr; gap: 0; }
  .values-col:last-child .value-row:first-child { border-top: none; }
}
@media (max-width: 760px) {
  .flow-item { flex-wrap: wrap; align-items: flex-start; gap: 6px 18px; }
  .flow-desc { text-align: left; margin-left: 0; }
  .flow-arrow { display: none; }
  .roadmap-list::before { left: 23px; }
  .roadmap-num { width: 48px; height: 48px; font-size: 13px; }
  .hero-video-section { padding: 140px 0 96px; align-items: flex-end; }
  .sound-toggle { right: 16px; bottom: 24px; padding: 9px 14px 9px 12px; }
  .sound-toggle-label { display: none; }
}
