/* ========================================
   AQUEM — SHARED LAYOUTS
   Hero, Asymmetric, Timeline, FAQ, Checker, Norm-Cards
   ======================================== */

/* ========================================
   HERO (Video Background)
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.3;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #060d18 0%, #0d1520 50%, #0a1628 100%);
}
.hero-glow {
  position: absolute;
  top: 20%; right: 10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
  width: 100%;
}
.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}
.hero-title em {
  font-style: italic;
}
.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}
.hero-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.85s forwards;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
}

/* ========================================
   ASYMMETRIC LAYOUT
   ======================================== */
.asym {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 6rem;
}
.asym:last-child { margin-bottom: 0; }
.asym.reverse .asym-visual { order: -1; }

.asym-visual {
  background: var(--dark-deep);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.asym-visual-inner {
  text-align: center;
  padding: 2rem;
}

.visual-icon-ring {
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 2px solid var(--accent, var(--indigo));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
}
.visual-icon-ring::before {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--accent-30, rgba(61,82,160,0.3));
}
.visual-icon-ring::after {
  content: '';
  position: absolute; inset: -16px;
  border-radius: 50%;
  border: 1px solid var(--accent-15, rgba(61,82,160,0.15));
}
.visual-icon-ring svg {
  width: 40px; height: 40px;
  stroke: var(--accent, var(--indigo));
  fill: none; stroke-width: 1.5;
}

.visual-stat {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 0.25rem;
}
.visual-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 2rem;
  width: 100%;
}
.visual-grid-item {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1rem;
}
.visual-grid-item-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.visual-grid-item-value {
  font-size: 0.85rem;
  color: #fff;
  font-weight: 500;
}
.visual-grid-item.highlight {
  border-color: var(--accent-40, rgba(61,82,160,0.4));
  background: var(--accent-08, rgba(61,82,160,0.08));
}
.visual-grid-item.highlight .visual-grid-item-value {
  color: var(--accent, var(--indigo));
}

.asym-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 1.5rem;
}
.asym-text li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.asym-text li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent, var(--indigo));
  flex-shrink: 0;
  margin-top: 0.45rem;
}

/* ========================================
   CHECKER (Pflicht-Checker / Reifegrad)
   ======================================== */
.checker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.checker-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.checker-field label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  display: block;
  margin-bottom: 0.5rem;
}
.checker-field select {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.checker-field select option {
  background: var(--dark);
  color: #fff;
}
.checker-field select:focus {
  outline: none;
  border-color: var(--accent, var(--indigo));
}
.checker-btn {
  background: var(--accent, var(--indigo));
  color: #fff;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.2s;
}
.checker-btn:hover {
  background: var(--accent-dark, var(--indigo-light));
  transform: translateY(-1px);
}

.checker-result {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.checker-result-idle {
  text-align: center;
  color: rgba(255,255,255,0.25);
}
.checker-result-idle svg {
  width: 48px; height: 48px;
  stroke: rgba(255,255,255,0.15);
  fill: none; stroke-width: 1;
  margin-bottom: 1rem;
}

/* Pflicht-Liste (Arbeitsschutz, Energie) */
.pflicht-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.75rem;
}
.pflicht-intro {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.pflicht-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.pflicht-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.08);
}
.pflicht-item.required {
  border-color: var(--accent-40, rgba(61,82,160,0.4));
  background: var(--accent-08, rgba(61,82,160,0.08));
}
.pflicht-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 50%;
  margin-top: 0.05rem;
}
.pflicht-item.required .pflicht-icon {
  background: var(--accent, var(--indigo));
  color: #fff;
}
.pflicht-item.optional .pflicht-icon {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
}
.pflicht-text {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.pflicht-text strong {
  color: #fff;
  font-weight: 500;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.4rem 0.875rem;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.result-badge.red { background: rgba(239,68,68,0.15); color: #FCA5A5; border: 0.5px solid rgba(239,68,68,0.3); }
.result-badge.yellow { background: rgba(251,191,36,0.15); color: #FCD34D; border: 0.5px solid rgba(251,191,36,0.3); }
.result-badge.green { background: rgba(34,197,94,0.15); color: #86EFAC; border: 0.5px solid rgba(34,197,94,0.3); }

.result-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.75rem;
}
.result-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.result-cta {
  background: var(--accent, var(--indigo));
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  transition: background 0.2s;
}
.result-cta:hover {
  background: var(--accent-dark, var(--indigo-light));
}

/* ========================================
   TIMELINE
   ======================================== */
.timeline {
  position: relative;
  margin-top: 3rem;
}
.timeline-line {
  position: absolute;
  left: 28px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-item {
  display: flex;
  gap: 2rem;
  padding-bottom: 3rem;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}
.timeline-item.active .timeline-dot {
  border-color: var(--accent, var(--indigo));
  background: var(--accent-pale, var(--indigo-pale));
}
.timeline-item.milestone .timeline-dot {
  border-color: var(--accent, var(--indigo));
  background: var(--accent, var(--indigo));
}
.timeline-dot svg {
  width: 22px; height: 22px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1.5;
}
.timeline-item.active .timeline-dot svg {
  stroke: var(--accent, var(--indigo));
}
.timeline-item.milestone .timeline-dot svg {
  stroke: #fff;
}
.timeline-content {
  padding-top: 0.75rem;
  flex: 1;
}
.timeline-month {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.timeline-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.timeline-item.milestone .timeline-title {
  color: var(--accent, var(--indigo));
}
.timeline-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 500px;
}
.timeline-tag {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  background: var(--accent-pale, var(--indigo-pale));
  color: var(--accent, var(--indigo));
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 500;
}

/* ========================================
   FAQ (Aufklappbar)
   ======================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
}
.faq-item {
  border-bottom: 0.5px solid var(--border);
}
.faq-item:first-child {
  border-top: 0.5px solid var(--border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  gap: 1rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}
.faq-question-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}
.faq-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  color: var(--accent, var(--indigo));
  transition: transform 0.3s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 680px;
}
.faq-item.open .faq-answer {
  display: block;
}

/* ========================================
   NORM-CARDS (Verwandte Themen-Sektion)
   ======================================== */
.normen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.norm-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.norm-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent, var(--indigo));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.norm-card:hover::before {
  transform: scaleX(1);
}
.norm-card:hover {
  border-color: var(--accent, var(--indigo));
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--accent-10, rgba(61,82,160,0.1));
}
.norm-card-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent, var(--indigo));
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.norm-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
}
.norm-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.norm-card-points {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.norm-card-points li {
  list-style: none;
  font-size: 0.825rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}
.norm-card-points li::before {
  content: '→';
  color: var(--accent, var(--indigo));
  position: absolute;
  left: 0;
}

/* ========================================
   CTA Section (Page-End)
   ======================================== */
.cta-section {
  text-align: center;
  padding: 7rem 4rem;
}
.cta-section .section-title {
  color: #fff;
  margin-bottom: 1rem;
}
.cta-section .section-subtitle {
  margin: 0 auto 2.5rem;
  max-width: 520px;
}

/* ========================================
   MOBILE (≤ 900px)
   ======================================== */
@media (max-width: 900px) {
  /* Hero */
  .hero {
    min-height: auto;
    height: auto;
    padding: 6rem 0 3rem;
  }
  .hero-content { padding: 0 1.25rem; }
  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }
  .hero-eyebrow {
    font-size: 0.65rem;
    margin-bottom: 1rem;
  }
  .hero-badges {
    gap: 0.4rem;
    margin-bottom: 1.5rem;
  }
  .hero-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.7rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 1rem;
  }
  .hero-actions a { text-align: center; }

  /* Asym */
  .asym {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }
  .asym.reverse .asym-visual { order: 0; }
  .asym-visual {
    aspect-ratio: auto;
    min-height: 260px;
  }
  .visual-grid {
    grid-template-columns: 1fr 1fr;
    padding: 1.25rem;
    gap: 0.6rem;
  }
  .visual-grid-item { padding: 0.75rem; }
  .visual-grid-item-label { font-size: 0.6rem; }
  .visual-grid-item-value { font-size: 0.8rem; }
  .visual-stat { font-size: 2rem; }

  /* Checker */
  .checker-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .checker-result {
    min-height: auto;
    padding: 1.5rem;
  }

  /* Timeline */
  .timeline-line { left: 24px; }
  .timeline-dot {
    width: 48px; height: 48px;
    flex-shrink: 0;
  }
  .timeline-item { gap: 1.25rem; }

  /* Normen */
  .normen-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-section { padding: 4rem 1.25rem; }
}
