/* ═══════════════════════════════════════════════════════════
   AP Digital – components.css
   Section-specific component styles (BEM)
   ═══════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────
   NAVBAR
   ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  background: var(--color-bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 100;
  transition: background 0.3s ease;
}

.nav--scrolled {
  background: rgba(0, 0, 0, 0.95);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav__logo-img { width: 36px; height: 36px; }

/* ── CTA Button ── */
.nav__cta {
  flex-shrink: 0;
}

/* ── Hamburger ── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Mobile nav drawer ── */
.nav__mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg);
  z-index: 99;
  gap: var(--space-lg);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.nav__mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__mobile-menu a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

.nav__mobile-menu a:hover { color: var(--color-text); }

/* ──────────────────────────────────────────
   TUBELIGHT PILL NAVBAR
   ────────────────────────────────────────── */

/* The floating pill container */
.tubelight-pill {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 4px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: visible;
}

/* Sliding highlight indicator */
.tubelight-indicator {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  border-radius: var(--radius-full);
  background: rgba(245, 197, 24, 0.08);
  pointer-events: none;
  z-index: 0;
  /* transition set by JS after first paint */
}

/* The lamp bar that sticks above the pill */
.tubelight-lamp-bar {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: var(--color-accent-gold);
  border-radius: 3px 3px 0 0;
}

/* Glow halo behind the lamp bar */
.tubelight-lamp-glow {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 18px;
  background: rgba(245, 197, 24, 0.28);
  border-radius: 50%;
  filter: blur(7px);
}

/* Nav items list inside the pill */
.tubelight-list {
  display: flex;
  align-items: center;
  list-style: none;
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
}

/* Individual nav item */
.tubelight-item {
  display: block;
  padding: 7px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-full);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

.tubelight-item:hover {
  color: rgba(255, 255, 255, 0.9);
}

.tubelight-item.is-active {
  color: var(--color-accent-gold);
  font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .tubelight-pill { display: none; }
  .nav__hamburger { display: flex; }
  .nav { padding: 0 var(--space-md); }
  .btn-interactive--sm { padding: 7px 14px; font-size: 0.78rem; }
  .hero__badge { margin-bottom: 28px; align-self: center; }
  .nav__cta { display: none; }
}

/* ──────────────────────────────────────────
   HERO
   ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px var(--space-md) 130px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 28%, rgba(245, 197, 24, 0.065) 0%, transparent 60%),
    radial-gradient(ellipse 90% 70% at 50% 35%, rgba(20, 50, 90, 0.65) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 50% 60%, rgba(55, 98, 124, 0.22) 0%, transparent 55%),
    #000000;
  z-index: 0;
}

/* ─── Background Cells (replaces static grid) ─── */
.hero__cells {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Dim base grid — always visible */
.hero__cells-base {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Gold grid — only visible through mouse radial mask */
.hero__cells-reveal {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 197, 24, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 197, 24, 0.55) 1px, transparent 1px);
  background-size: 48px 48px;
  /* starts off-screen; JS updates this on mousemove */
  mask-image: radial-gradient(circle 120px at -9999px -9999px, white, transparent);
  -webkit-mask-image: radial-gradient(circle 120px at -9999px -9999px, white, transparent);
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

/* Soft bottom fade so cells blend into next section */
.hero__cells-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  background: linear-gradient(to bottom, transparent, #000000);
  z-index: 1;
  pointer-events: none;
}

/* Click ripple element — created by JS */
.hero__cell-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.35);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  width: 100%;
}

/* Hero Badge */
.hero__badge {
  display: flex;
  width: fit-content;
  margin: 0 auto 52px;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(245, 197, 24, 0.06);
  border: 1px solid rgba(245, 197, 24, 0.22);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-accent-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent-gold);
  flex-shrink: 0;
  animation: badgePulse 2.2s ease-in-out infinite;
}

/* "Design" word glow */
#heroDesign {
  text-shadow: 0 0 60px rgba(245, 197, 24, 0.22);
}

.hero__headline {
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .hero__headline {
    font-size: clamp(3.5rem, 8vw, 6rem);
    display: inline-flex;
    align-items: center;
    gap: 0.06em;
  }
}

@media (max-width: 767px) {
  .hero__headline {
    font-size: clamp(3rem, 14vw, 4rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1em;
  }
}

.hero__headline-design {
  position: relative;
  display: inline-block;
}

.hero__headline-design svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 115%;
  height: 145%;
  pointer-events: none;
}

.hero__element {
  display: block;
  margin: 0 auto var(--space-lg);
  max-width: 900px;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .hero__element { max-width: 100%; }
}

.hero__subline {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.015em;
}

.hero__body {
  font-size: 1.25rem;
  line-height: 1.85;
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 auto var(--space-xl);
}

.hero__body mark {
  background: none;
  color: var(--color-accent-gold);
  font-weight: 600;
}

.hero__cta {
  box-shadow: 0 0 0 0 rgba(245, 197, 24, 0); /* start state for ctaGlow animation */
}

@media (max-width: 767px) {
  .hero__cta { width: 100%; max-width: 320px; }
  .hero { padding: 120px var(--space-md) 100px; }
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

.hero__particle {
  position: absolute;
  border-radius: 50%;
  background: var(--color-accent-gold);
  opacity: 0.18;
  z-index: 0;
}

.hero__particle--1 {
  width: 5px; height: 5px;
  top: 22%; left: 10%;
  box-shadow: 0 0 10px 2px rgba(245, 197, 24, 0.25);
}
.hero__particle--2 {
  width: 4px; height: 4px;
  top: 68%; left: 88%;
  background: var(--color-accent-blue);
  opacity: 0.35;
  box-shadow: 0 0 8px 2px rgba(55, 98, 124, 0.35);
}
.hero__particle--3 {
  width: 4px; height: 4px;
  top: 38%; right: 8%;
  box-shadow: 0 0 8px 2px rgba(245, 197, 24, 0.2);
}
.hero__particle--4 {
  width: 3px; height: 3px;
  top: 58%; left: 18%;
  background: var(--color-accent-blue);
  opacity: 0.28;
}

@media (max-width: 767px) { .hero__particle { display: none; } }

/* ──────────────────────────────────────────
   EINORDNUNG
   ────────────────────────────────────────── */
.einordnung {
  padding: var(--section-pad-v) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .einordnung { padding: var(--section-pad-v-mobile) var(--space-md); }
}

.einordnung__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: 80px;
}

@media (max-width: 767px) {
  .einordnung__grid { grid-template-columns: 1fr; gap: var(--space-lg); margin-bottom: 48px; }
  .einordnung__graphic { order: -1; }
}

.einordnung__h2 { margin-bottom: var(--space-lg); }

.einordnung__p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.einordnung__p:last-child { margin-bottom: 0; }

.einordnung__graphic {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-circle { width: min(380px, 100%); height: auto; }

@media (max-width: 767px) { .tech-circle { width: 280px; } }

.einordnung__stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-xl);
}

.stats__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(0,0,0,0.7) 100%
  );
}

@media (max-width: 767px) {
  .einordnung__stats { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
}

.stat { text-align: center; }

.stat__value {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  display: block;
}

/* ──────────────────────────────────────────
   LEISTUNGEN
   ────────────────────────────────────────── */
.leistungen {
  padding: var(--section-pad-v) var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 767px) {
  .leistungen { padding: var(--section-pad-v-mobile) var(--space-md); }
}

.leistungen__sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.leistungen__cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  text-align: left;
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color 0.3s ease;
  cursor: pointer;
}

@media (max-width: 767px) { .service-card { padding: var(--space-md); } }

.service-card:hover { border-color: rgba(245, 197, 24, 0.3); }
.service-card--expanded { border-color: rgba(55, 98, 124, 0.4); }

.service-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(55, 98, 124, 0.15);
  border: 1px solid rgba(55, 98, 124, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.service-card__body {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, margin-top 0.3s ease;
}

.service-card--expanded .service-card__body {
  max-height: 400px;
}

.service-card__p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.service-card__features {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.feature-icon { width: 28px; height: 28px; color: var(--color-text-muted); opacity: 0.6; }

.leistungen__cta-block {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.leistungen__cta-block h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.leistungen__cta-block p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto var(--space-lg);
}

/* ──────────────────────────────────────────
   MÖGLICHKEITEN
   ────────────────────────────────────────── */
.moeglichkeiten {
  padding: var(--section-pad-v) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .moeglichkeiten { padding: var(--section-pad-v-mobile) var(--space-md); }
}

.moeglichkeiten__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 767px) {
  .moeglichkeiten__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .moeglichkeiten__visual { order: -1; }
}

.moeglichkeiten__h2 { margin-bottom: var(--space-lg); }
.moeglichkeiten__p { margin-bottom: var(--space-md); }
.moeglichkeiten__p:last-of-type { margin-bottom: 0; }

.moeglichkeiten__steps {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.moeglichkeiten__steps li {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.moeglichkeiten__steps li::before {
  content: counter(item);
  counter-increment: item;
  position: absolute;
  left: 0;
  color: var(--color-accent-gold);
  font-weight: 700;
  font-size: 0.8rem;
}

.moeglichkeiten__steps {
  counter-reset: item;
}

.moeglichkeiten__steps strong {
  color: #fff;
}

.moeglichkeiten__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}

.moeglichkeiten__visual-inner {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(30, 60, 100, 0.6) 0%, transparent 70%),
    #0a0e15;
}

.moeglichkeiten__visual-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(55,98,124,0.08) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(55,98,124,0.08) 40px);
}

.moeglichkeiten__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55,98,124,0.35) 0%, transparent 70%);
  z-index: 0;
}

.moeglichkeiten__badge {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  background: rgba(13, 13, 13, 0.9);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.moeglichkeiten__badge strong {
  display: block;
  color: var(--color-accent-gold);
  font-size: 1rem;
  font-weight: 700;
}

/* ──────────────────────────────────────────
   MODULE
   ────────────────────────────────────────── */
.module { padding: var(--section-pad-v) 0; overflow: hidden; }
@media (max-width: 767px) { .module { padding: var(--section-pad-v-mobile) 0; } }

.module__header {
  text-align: center;
  padding: 0 var(--space-lg);
  margin-bottom: var(--space-xl);
}
@media (max-width: 767px) { .module__header { padding: 0 var(--space-md); } }

.module__sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: var(--space-md) auto 0;
}

.module__scroll-container {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding: var(--space-sm) var(--space-lg) var(--space-xl);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.module__scroll-container::-webkit-scrollbar { display: none; }
@media (max-width: 767px) { .module__scroll-container { padding: var(--space-sm) var(--space-md) var(--space-lg); } }

.module-card {
  flex: 0 0 280px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  scroll-snap-align: start;
  transition: border-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(55,98,124,0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.module-card:hover { border-color: rgba(245,197,24,0.25); transform: translateY(-2px); }
.module-card:hover::before { opacity: 1; }

.module-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(55,98,124,0.12);
  border: 1px solid rgba(55,98,124,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.module-card__num {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-muted);
  opacity: 0.4;
  letter-spacing: 0.05em;
}

.module-card__title { font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.module-card__desc { font-size: 0.875rem; line-height: 1.6; color: var(--color-text-muted); flex: 1; }

.module-card__tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(55,98,124,0.1);
  border: 1px solid rgba(55,98,124,0.2);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(55,98,124,0.9);
  letter-spacing: 0.04em;
  align-self: flex-start;
}

.module__dots { display: flex; justify-content: center; gap: 6px; padding-top: var(--space-sm); }
.module__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-border); transition: width 0.3s ease, background 0.3s ease; }
.module__dot--active { width: 20px; border-radius: var(--radius-full); background: var(--color-text-muted); }

/* ──────────────────────────────────────────
   TIMELINE
   ────────────────────────────────────────── */
.timeline {
  padding: var(--section-pad-v) var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 767px) { .timeline { padding: var(--section-pad-v-mobile) var(--space-md); } }

.timeline__header { text-align: center; margin-bottom: 80px; }

.timeline__body { position: relative; }

.timeline__body::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: linear-gradient(to bottom, transparent 0%, var(--color-border) 5%, var(--color-border) 95%, transparent 100%);
}

@media (max-width: 767px) { .timeline__body::before { left: 20px; } }

.timeline__step {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 0 var(--space-lg);
  align-items: center;
  margin-bottom: 48px;
}

.timeline__step--left  .timeline__card  { grid-column: 1; grid-row: 1; }
.timeline__step--left  .timeline__dot   { grid-column: 2; grid-row: 1; }
.timeline__step--left  .timeline__empty { grid-column: 3; grid-row: 1; }
.timeline__step--right .timeline__empty { grid-column: 1; grid-row: 1; }
.timeline__step--right .timeline__dot   { grid-column: 2; grid-row: 1; }
.timeline__step--right .timeline__card  { grid-column: 3; grid-row: 1; }

@media (max-width: 767px) {
  .timeline__step { grid-template-columns: 40px 1fr; gap: 0 var(--space-md); margin-bottom: var(--space-lg); }
  .timeline__step--left  .timeline__dot,
  .timeline__step--right .timeline__dot  { grid-column: 1; grid-row: 1; }
  .timeline__step--left  .timeline__card,
  .timeline__step--right .timeline__card { grid-column: 2; grid-row: 1; }
  .timeline__step--left  .timeline__empty,
  .timeline__step--right .timeline__empty { display: none; }
}

.timeline__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}

.timeline__dot-num { font-size: 0.75rem; font-weight: 700; color: var(--color-text-muted); }

.timeline__card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color 0.3s ease;
}

@media (max-width: 767px) { .timeline__card { padding: var(--space-md); } }

.timeline__card:hover { border-color: rgba(55,98,124,0.4); }

.timeline__card-header { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-md); }

.timeline__card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(55,98,124,0.12);
  border: 1px solid rgba(55,98,124,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timeline__card-title { font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; }
.timeline__card-desc { font-size: 0.875rem; line-height: 1.65; color: var(--color-text-muted); }

/* ──────────────────────────────────────────
   FAQ
   ────────────────────────────────────────── */
.faq {
  padding: var(--section-pad-v) var(--space-lg);
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 767px) { .faq { padding: var(--section-pad-v-mobile) var(--space-md); } }

.faq__sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.faq__list { display: flex; flex-direction: column; gap: var(--space-sm); text-align: left; }

.faq__item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq__item:hover { border-color: rgba(255,255,255,0.14); }
.faq__item--open  { border-color: rgba(255,255,255,0.12); }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 20px var(--space-lg);
  width: 100%;
  background: none;
  border: none;
  text-align: left;
}

@media (max-width: 767px) { .faq__question { padding: var(--space-md); } }

.faq__question-text { font-size: 0.95rem; font-weight: 600; color: var(--color-text); letter-spacing: -0.01em; line-height: 1.4; }

.faq__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq__icon svg { width: 14px; height: 14px; stroke: var(--color-text-muted); transition: transform 0.3s ease, stroke 0.3s ease; }

.faq__item--open .faq__icon { border-color: rgba(245,197,24,0.4); background: rgba(245,197,24,0.08); }
.faq__item--open .faq__icon svg { transform: rotate(45deg); stroke: var(--color-accent-gold); }

.faq__answer {
  padding: 0 var(--space-lg) 20px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq__item--open .faq__answer { max-height: 300px; }
@media (max-width: 767px) { .faq__answer { padding: 0 var(--space-md) var(--space-md); } }

/* ──────────────────────────────────────────
   INTEGRATION
   ────────────────────────────────────────── */
.integration {
  padding: var(--section-pad-v) var(--space-lg);
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 767px) { .integration { padding: var(--section-pad-v-mobile) var(--space-md); } }

.integration__text { max-width: 680px; margin: 0 auto var(--space-xl); }
.integration__p { font-size: 1rem; line-height: 1.75; color: var(--color-text-muted); margin-bottom: var(--space-md); }
.integration__p:last-child { margin-bottom: 0; }

.integration__logos {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
}

/* ──────────────────────────────────────────
   KONTAKT
   ────────────────────────────────────────── */
.kontakt {
  padding: var(--section-pad-v) var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 767px) { .kontakt { padding: var(--section-pad-v-mobile) var(--space-md); } }

.kontakt__header { text-align: center; margin-bottom: 60px; }

.kontakt__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); margin-bottom: 80px; }
@media (max-width: 767px) { .kontakt__grid { grid-template-columns: 1fr; gap: var(--space-md); margin-bottom: 48px; } }

.kontakt__left { display: flex; flex-direction: column; gap: var(--space-md); }

.kontakt__card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

@media (max-width: 767px) { .kontakt__card { padding: var(--space-md); } }

.kontakt__card-title { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: var(--space-md); }
.kontakt__card-sub { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.6; margin-bottom: var(--space-lg); }

.team-member { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-md); }
.team-member:last-child { margin-bottom: 0; }

.team-member__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.team-member__avatar img { width: 100%; height: 100%; object-fit: cover; }

.team-member__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.team-member__name .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--color-text-muted); flex-shrink: 0; }

.team-member__email {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

.team-member__email:hover { color: var(--color-text); }
.team-member__role { font-size: 0.75rem; color: var(--color-text-muted); margin-top: 2px; }

.kontakt__ansatz-title { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: var(--space-md); }
.kontakt__ansatz-p { font-size: 0.875rem; line-height: 1.7; color: var(--color-text-muted); }
.kontakt__ansatz-p .highlight-text { color: var(--color-text); font-weight: 500; }

.kontakt__form-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

@media (max-width: 767px) { .kontakt__form-card { padding: var(--space-md); } }

.kontakt__form-brand { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: var(--space-sm); }
.kontakt__form-title { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: var(--space-sm); color: var(--color-accent-gold); }
.kontakt__form-sub { font-size: 0.825rem; color: var(--color-text-muted); margin-bottom: var(--space-lg); line-height: 1.5; }

.kontakt__progress { height: 3px; background: var(--color-border); border-radius: var(--radius-full); margin-bottom: var(--space-lg); overflow: hidden; }
.kontakt__progress-fill { height: 100%; width: 20%; background: var(--color-accent-gold); border-radius: var(--radius-full); transition: width 0.4s ease; }

.kontakt__question { font-size: 0.9rem; font-weight: 700; color: var(--color-text); margin-bottom: var(--space-md); }
.kontakt__choices { display: flex; flex-direction: column; gap: var(--space-sm); }

.choice-btn {
  width: 100%;
  padding: 12px var(--space-md);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  transition: var(--transition-fast);
}

.choice-btn:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }
.choice-btn--selected { border-color: rgba(245,197,24,0.5); background: rgba(245,197,24,0.06); color: var(--color-accent-gold); }

.kontakt__quote { text-align: center; padding-top: 48px; }

.quote__block {
  font-family: 'Liu Jian Mao Cao', cursive;
  font-size: clamp(1.5rem, 4.5vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.8;
}

.quote__line { margin: 0; }
.quote__hard { color: #F5C518; font-style: italic; font-weight: 700; }
.quote__smart { color: #F5C518; font-style: italic; font-weight: 700; }

/* ──────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────── */
.footer {
  padding: 80px var(--space-lg) var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 767px) { .footer { padding: 48px var(--space-md) var(--space-xl); } }

.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: start; }
@media (max-width: 767px) { .footer__grid { grid-template-columns: 1fr; gap: var(--space-xl); } }

.footer__logo { display: flex; align-items: center; gap: var(--space-sm); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; margin-bottom: var(--space-xl); }
.footer__logo-img { width: 40px; height: 40px; }

.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md) var(--space-xl); margin-bottom: var(--space-xl); }

.footer__nav-link {
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.2);
  text-underline-offset: 3px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.footer__nav-link:hover { color: var(--color-text); text-decoration-color: rgba(255,255,255,0.6); }

.footer__social { display: flex; gap: var(--space-md); margin-bottom: var(--space-xl); }

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.footer__social-link:hover { border-color: rgba(255,255,255,0.25); color: var(--color-text); background: rgba(255,255,255,0.04); }
.footer__social-link svg { width: 16px; height: 16px; }

.footer__copy { font-size: 0.8rem; color: var(--color-text-muted); opacity: 0.6; }

.footer__right { display: flex; align-items: flex-start; justify-content: flex-end; }
@media (max-width: 767px) { .footer__right { justify-content: flex-start; } }

.footer__tagline {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: #1a1a1a;
  user-select: none;
}

.footer__tagline-design { position: relative; display: block; }

.footer__tagline-design svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 115%;
  height: 145%;
  pointer-events: none;
}
