:root {
  --blue: #5b8cff;
  --dark: #0e0e0e;
  --light-blue: #e8f0ff;
  --light-blue-accent: #dce9ff;
  --panel-clarity: #e8f0ff;
  --panel-profile: #dbe8ff;
  --panel-services-start: #d2e1ff;
  --panel-services-end: #c2d6ff;
  --panel-products: #f7faff;
  --border: #c0d8ff;
  --muted: #666;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-y: scroll;
}

html.snap-active {
  scroll-snap-type: y mandatory !important;
}

body {
  font-family: 'Syne', sans-serif;
  background: #080810;
  color: #f5f0e8;
  transition: background-color 1.5s ease;
}

/* ── PANEL BASE ── */
.panel {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* panel number */
.panel-num {
  position: absolute;
  top: 28px;
  left: 28px;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(42, 42, 42, 0.4);
  text-transform: uppercase;
  z-index: 20;
}

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.15em;
  color: #2a2a2a;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 20;
}

.scroll-hint.visible {
  opacity: 1;
}

.scroll-arrow {
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, #333, transparent);
  animation: pulse 1.5s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.3
  }

  50% {
    opacity: 1
  }
}

/* ── PANEL 1: DIE IDEE ── */
#p1 {
  background: #1a1a6e;
  flex-direction: column;
  gap: 20px;
  transition: background 1.5s ease;
}

.p1-quote {
  font-size: clamp(24px, 5vw, 52px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  text-align: center;
  max-width: 800px;
  padding: 0 32px;
}

.p1-quote span {
  opacity: 0;
  display: inline-block;
  transition: opacity 0.3s ease;
  margin-right: 0.25em;
}

.p1-quote span.visible {
  opacity: 1;
}

.p1-aber {
  font-size: clamp(32px, 8vw, 72px);
  font-weight: 800;
  color: #5b8cff;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: 20px;
}

.p1-aber.visible {
  opacity: 1;
  transform: scale(1);
}

.p1-attr {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  transition: opacity 0.8s ease;
}

.p1-attr.visible {
  opacity: 1;
}

/* ── PANEL 2: DIE REALITÄT ── */
#p2 {
  background: #1a1a6e;
  flex-direction: column;
}

.rain-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.rain-word {
  position: absolute;
  font-family: 'DM Mono', monospace;
  color: #f5f0e8;
  opacity: 0;
  top: -60px;
  animation: rainFall linear forwards;
  white-space: nowrap;
}

@keyframes rainFall {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  10% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(110vh);
  }
}

.p2-questions {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 28px;
  align-items: center;
  background: rgba(8, 8, 28, 0.42);
  border: 1px solid rgba(245, 240, 232, 0.14);
  border-radius: 16px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  max-width: min(760px, calc(100% - 48px));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.p2-questions.visible {
  opacity: 1;
}

.p2-q {
  font-size: clamp(20px, 3.5vw, 38px);
  font-weight: 800;
  color: #f5f0e8;
  line-height: 1.2;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.p2-q span {
  color: #5b8cff;
}

.p2-q.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── PANEL 3: DER MOMENT & DIE METHODE ── */
#p3 {
  background: var(--panel-clarity);
  flex-direction: column;
  gap: 40px;
  padding: 0 40px;
}

.p3-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  width: 100%;
}

.p3-line {
  font-size: clamp(28px, 6vw, 64px);
  font-weight: 800;
  color: #0e0e0e;
  letter-spacing: -1.5px;
  line-height: 1.05;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.p3-line.visible {
  opacity: 1;
  transform: translateY(0);
}

.p3-line.blue {
  color: #5b8cff;
}

.p3-divider {
  width: 40px;
  height: 2px;
  background: #5b8cff;
  margin: 20px 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.p3-divider.visible {
  opacity: 1;
}

.p3-sub {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  color: #666;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.8s ease;
}

.p3-sub.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Snap Lock for Panels 1-3 (Desktop & Mobile) */
#p1, #p2, #p3 {
  scroll-snap-align: start !important;
  height: 100vh !important;
  overflow: hidden;
}

.methode-horizontal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  width: 100%;
  margin-top: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.methode-horizontal.visible {
  opacity: 1;
  transform: translateY(0);
}

.step {
  background: rgba(255, 255, 255, 0.4);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-num {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: #5b8cff;
  font-weight: 700;
}

.step-title {
  font-size: 18px;
  font-weight: 800;
  color: #0e0e0e;
}

.step-desc {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

/* ── PANEL 4: DER EXPERTE (PERSONA + PRINZIPIEN) ── */
#p4 {
  background: var(--panel-profile);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p4-dashboard {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  max-width: 1300px;
  width: 100%;
  align-items: start;
}

.p4-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 100%;
  max-width: 420px;
}

.p4-photo-container {
  position: relative;
  aspect-ratio: 1/1;
  width: min(100%, 420px);
  border-radius: 24px;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.p4-photo-container.visible {
  opacity: 1;
  transform: translateX(0);
}

.p4-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.1);
  transition: filter 0.8s ease;
}

.p4-photo-container:hover .p4-photo {
  filter: grayscale(0) contrast(1);
}

.p4-photo-caption {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(14, 14, 14, 0.72);
  width: min(100%, 420px);
  text-align: center;
}

.p4-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p4-intro-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p4-intro {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  color: #0e0e0e;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.p4-intro span {
  display: block;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.8s ease;
}

.p4-intro span.visible {
  opacity: 1;
  transform: translateY(0);
}

.p4-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.p4-fact {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: #4a4a4a;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.6s ease;
}

.p4-fact.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Principles in P4 */
.p4-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* Expanded Bio / Wie ich arbeite */
.p4-expandable-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  cursor: pointer;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5b8cff;
  transition: all 0.3s ease;
  background: rgba(91, 140, 255, 0.08);
  border: 1px solid rgba(91, 140, 255, 0.28);
  padding: 10px 18px;
  border-radius: 8px;
  width: fit-content;
  position: relative;
  z-index: 50;
}

.p4-expandable-trigger:hover {
  color: #0e0e0e;
}

.p4-expandable-trigger .plus-box {
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.4s ease;
}

.p4-expandable-trigger.active .plus-box {
  transform: rotate(45deg);
}

.p4-expandable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.p4-expandable-content.active {
  max-height: 1000px;
  margin-top: 24px;
}

.bio-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.bio-card {
  background: rgba(255, 255, 255, 0.75);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(14, 14, 14, 0.08);
}

.bio-card-title {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: #5b8cff;
  margin-bottom: 8px;
}

.bio-card-text {
  font-size: 13px;
  line-height: 1.4;
  color: #404040;
}

.p4-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: #888;
  margin-top: 24px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.8s ease;
}

.p4-badge.visible {
  opacity: 1;
  transform: translateY(0);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #5b8cff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(91, 140, 255, 0.6);
}

/* ── PANEL: LEISTUNGEN (FLOW) ── */
#p-leistungen {
  background: linear-gradient(160deg, var(--panel-services-start) 0%, var(--panel-services-end) 100%);
  padding: 0 40px;
  position: relative;
}

.leistungen-flow {
  font-size: clamp(24px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  color: rgba(14, 14, 14, 0.35);
  max-width: 1200px;
  text-align: center;
  transition: color 1s ease;
  position: relative;
  z-index: 5;
}

.leistungen-flow.visible {
  color: #0e0e0e;
}

.leistung-item {
  color: #3f6fe0;
  border-bottom: 2px solid rgba(63, 111, 224, 0.25);
  cursor: pointer;
  position: relative;
  transition: all 0.4s ease;
  display: inline-block;
  text-shadow: none;
}

.leistung-item:hover {
  color: #0e0e0e;
  border-bottom-color: #0e0e0e;
  text-shadow: none;
  transform: translateY(-2px);
}

.leistung-item.active {
  color: #0e0e0e;
  border-bottom-color: #0e0e0e;
}

.leistung-tooltip-box {
  position: fixed;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(63, 111, 224, 0.25);
  padding: 20px;
  border-radius: 12px;
  max-width: 300px;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  line-height: 1.5;
  color: #1f2a44;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  box-shadow: 0 12px 32px rgba(26, 50, 110, 0.18);
}

.leistung-tooltip-box.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── PANEL: EINSTIEG (PRODUKTE) ── */
#p-produkte {
  background: var(--panel-products);
  padding: 60px 60px;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
}

#p-produkte::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(63, 111, 224, 0.3) 50%, transparent 100%);
}

.einstieg-header {
  max-width: 900px;
  width: 100%;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.einstieg-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.einstieg-tag {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.einstieg-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.8px;
}

.produkt-list {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease 0.2s;
}

.produkt-list.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Accordion Card */
.product-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(96, 134, 210, 0.22);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(91, 140, 255, 0.07);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 24px rgba(91, 140, 255, 0.14);
}

/* Card Header (always visible, clickable) */
.product-card-header {
  width: 100%;
  padding: 28px 32px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.product-card-header-info {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.product-card-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.4px;
}

.product-card-price {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--blue);
  background: rgba(91, 140, 255, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
}

.product-card-teaser {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
  max-width: 300px;
  text-align: right;
  line-height: 1.5;
}

.product-card-toggle {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--blue);
  transition: all 0.35s ease;
  flex-shrink: 0;
  background: var(--light-blue-accent);
}

.product-card.open .product-card-toggle {
  transform: rotate(45deg);
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* Expandable Body */
.product-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card.open .product-card-body {
  max-height: 900px;
}

.product-card-body-inner {
  padding: 0 32px 32px;
  border-top: 1px solid var(--border);
}

.product-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-top: 28px;
}

.product-body-single {
  padding-top: 28px;
}

/* Shared inner pieces */
.product-box {
  background: var(--white);
  /* kept for compat */
}

.process-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 16px;
}

.includes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.include-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.include-marker {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.include-text {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: #444;
  line-height: 1.5;
}

.include-text strong {
  color: var(--dark);
  font-weight: 600;
}

.steps {
  display: flex;
  flex-direction: column;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: var(--border);
}

.step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
  position: relative;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-num-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--light-blue);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  color: var(--blue);
  flex-shrink: 0;
  z-index: 1;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.step-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

.step-desc {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.timeline {
  margin-top: 20px;
  padding: 12px 18px;
  background: var(--light-blue-accent);
  border-radius: 6px;
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--muted);
}

.timeline-value {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--dark);
}

.cta-button {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(91, 140, 255, 0.4);
}

.for-who {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
}

.for-who span {
  color: var(--blue);
  margin-right: 6px;
}

.formats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.format-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  background: var(--light-blue-accent);
  transition: all 0.3s ease;
}

.format-card:hover {
  border-color: var(--blue);
  background: var(--white);
}

.format-badge {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}

.format-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.format-desc {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
}

.format-meta {
  display: flex;
  gap: 20px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.meta-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  color: #aaa;
}

.meta-value {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--dark);
  font-weight: 600;
}

.covered {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-bottom: 20px;
}

.covered-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.covered-item {
  display: flex;
  gap: 8px;
}

.covered-marker {
  color: var(--blue);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
}

.covered-text {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: #444;
  line-height: 1.5;
}

.covered-text strong {
  color: var(--dark);
  font-weight: 600;
}

.product-custom-note {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 24px;
  opacity: 0.8;
  max-width: 600px;
  align-self: center;
  line-height: 1.6;
}

.delivery-modes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.mode-tag {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  padding: 5px 10px;
  background: var(--light-blue-accent);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--blue);
}

/* ── PANEL 4: WER ICH BIN ── */
#p4 {
  background: var(--panel-profile);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p4-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  max-width: 1100px;
  width: 100%;
  align-items: center;
}

.p4-photo-container {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 400px;
  border-radius: 24px;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.p4-photo-container.visible {
  opacity: 1;
  transform: translateX(0);
}

.p4-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.1);
  transition: filter 0.8s ease;
}

.p4-photo-container:hover .p4-photo {
  filter: grayscale(0) contrast(1);
}

.p4-content {
  max-width: 600px;
}

.p4-intro {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
  color: #0e0e0e;
  line-height: 1.2;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

.p4-intro span {
  display: block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.p4-intro span.visible {
  opacity: 1;
  transform: translateY(0);
}

.p4-facts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}

.p4-fact {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: #4a4a4a;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.p4-fact.visible {
  opacity: 1;
  transform: translateX(0);
}

.p4-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: #2f2f2f;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.p4-badge.visible {
  opacity: 1;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
  animation: blink 2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.4
  }
}

@media (max-width: 900px) {
  .p4-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .p4-left {
    max-width: 280px;
    margin: 0 auto;
  }

  .p4-photo-container {
    max-width: 280px;
    margin: 0 auto;
    aspect-ratio: 1/1;
  }

  .p4-intro,
  .p4-facts,
  .p4-badge {
    align-items: center;
    justify-content: center;
  }

  .p4-fact {
    text-align: center;
  }

  .prinzipien-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .methode-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .step-title {
    font-size: 18px;
  }

  .leistungen-flow {
    font-size: 20px;
  }
}

@media (max-width: 500px) {
  .methode-grid {
    grid-template-columns: 1fr;
  }
}

/* ── PANEL 5: WAS ICH TUE ── */
#p5 {
  background: #f5f0e8;
  flex-direction: column;
}

.p5-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.p5-item {
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 800;
  color: #ccc;
  text-align: center;
  cursor: pointer;
  transition: color 0.4s ease;
  position: relative;
}

.p5-item.active {
  color: #0e0e0e;
}

.p5-tooltip {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: #5b8cff;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.p5-item:hover .p5-tooltip {
  opacity: 1;
}

.p5-hint {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: #999;
  margin-top: 40px;
}

/* ── PANEL 6: EINSTIEG ── */
#p6 {
  background: #0e0e0e;
  padding: 60px 20px;
}

.p6-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  width: 100%;
}

.p6-card {
  background: #161616;
  border: 1px solid #222;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.p6-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.p6-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.p6-card .p6-price {
  font-family: 'DM Mono', monospace;
  font-size: 18px;
  color: #5b8cff;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.p6-card.visible .p6-price {
  opacity: 1;
}

.p6-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p6-card li {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: #888;
  display: flex;
  gap: 8px;
}

.p6-card li::before {
  content: '→';
  color: #444;
}

@media (max-width: 768px) {
  .p6-grid {
    grid-template-columns: 1fr;
  }
}

/* ── PANEL 7: KONTAKT ── */
#p7 {
  background: #5b8cff;
  background: radial-gradient(circle at center, #5b8cff 0%, #4a7ae6 100%);
  flex-direction: column;
  gap: 40px;
}

#p7 .p7-title {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 800;
  color: #fff;
  text-align: center;
  max-width: 800px;
  padding: 0 32px;
  opacity: 0;
  transition: opacity 0.8s ease;
}

#p7 .p7-title.visible {
  opacity: 1;
}

.p7-options {
  display: flex;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.p7-options.visible {
  opacity: 1;
  transform: translateY(0);
}

.p7-btn {
  background: #fff;
  color: #5b8cff;
  padding: 20px 40px;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
}

.p7-btn:hover {
  transform: scale(1.05);
}

.p7-footer {
  position: absolute;
  bottom: 40px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  transition: opacity 0.8s ease;
}

.p7-footer.visible {
  opacity: 1;
}

/* ── RESPONSIVE & HYBRID SCROLL ── */
@media (max-width: 1100px) {
  .methode-horizontal {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
  }
  .p4-dashboard {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Panels 4-7: Natural scrolling on Mobile, Snapping on Desktop */
#p4, #p-leistungen, #p-produkte, #p7 {
  height: auto !important;
  min-height: 100vh;
  scroll-snap-align: start !important;
  padding: 120px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

@media (max-width: 768px) {
  .panel-dots {
    right: 10px;
    transform: translateY(-50%);
    padding: 8px 7px;
  }

  .panel {
    padding: 60px 20px;
    overflow-y: auto;
  }

  #p1, #p2, #p3 {
    height: 100vh !important;
    scroll-snap-align: start !important;
    padding: 0 20px;
    display: flex;
  }

  #p4, #p-leistungen, #p-produkte, #p7 {
    padding: 100px 20px;
  }

  .panel-num {
    top: 20px;
    left: 20px;
  }

  .methode-horizontal {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
  }

  .step {
    padding: 14px;
    gap: 8px;
    border-radius: 12px;
  }

  .step-title {
    font-size: 14px;
  }

  .step-desc {
    font-size: 10px;
  }

  .produkt-list {
    grid-template-columns: 1fr !important;
    max-width: 100%;
  }

  .product-body-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .product-card-header {
    padding: 20px !important;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .product-card-name {
    font-size: 18px !important;
  }

  .product-card-teaser {
    text-align: left !important;
    max-width: 100% !important;
  }

  .covered-items {
    grid-template-columns: 1fr !important;
  }

  .bio-detail-grid {
    grid-template-columns: 1fr !important;
  }

  .p3-line {
    font-size: clamp(24px, 10vw, 42px) !important;
  }

  .p2-q {
    font-size: 28px !important;
  }

  .p1-quote {
    font-size: 32px !important;
  }

  #p7 .p7-title {
    font-size: 24px !important;
    padding: 0 20px;
  }

  .p7-options {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

/* progress bar */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: #5b8cff;
  width: 0%;
  z-index: 100;
  transition: width 0.1s linear;
}

/* panel indicator dots */
.panel-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(63, 111, 224, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 10px 26px rgba(26, 50, 110, 0.16);
  z-index: 100;
  transition: opacity 0.3s ease;
}

.panel-dot {
  width: 10px;
  height: 10px;
  background: rgba(18, 32, 72, 0.28);
  border: 1px solid rgba(18, 32, 72, 0.32);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.panel-dot.active {
  background: #3f6fe0;
  border-color: #3f6fe0;
  transform: scale(1.28);
  box-shadow: 0 0 0 5px rgba(63, 111, 224, 0.18);
}

.panel-dot:hover {
  background: rgba(63, 111, 224, 0.62);
  border-color: rgba(63, 111, 224, 0.72);
}

.panel-dot::after {
  content: attr(data-label);
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.panel-dot:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}