/* EMNOVA – Ergänzungen für die Unterseiten (KI-Beratung, Webdesign, Apps).
   Grundlage ist /css/emnova.css; hier nur, was die Startseite nicht hat. */

/* ── KOPFBEREICH ── */
.unterseite-kopf {
  position: relative;
  overflow: hidden;
  padding: 9rem 2rem 5rem;
}
.unterseite-kopf .container { position: relative; z-index: 2; }
.unterseite-kopf h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  max-width: 22ch;
}
.unterseite-kopf .hero-sub + .hero-sub { margin-top: 1rem; }

/* emnova.css heftet jedes <nav> oben fest – die Brotkrumen sind aber ein normales Element im Inhalt */
nav.brotkrumen {
  position: static;
  display: block;
  padding: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 0;
  z-index: auto;
}
.brotkrumen { margin-bottom: 1.6rem; font-size: 0.8rem; color: var(--muted); }
.brotkrumen ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.4rem; }
.brotkrumen li + li::before { content: '›'; margin-right: 0.4rem; color: var(--muted); }
.brotkrumen a { color: var(--text-dim); text-decoration: none; display: inline-block; padding: 0.35rem 0; /* größere Tippfläche */ }
.brotkrumen a:hover { color: var(--accent); }
.brotkrumen [aria-current] { color: var(--text); }

/* ── ABSCHNITTE ── */
.abschnitt {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
  scroll-margin-top: 80px;
}
.abschnitt .section-head { margin-bottom: 3rem; }
.abschnitt-dunkel { background: var(--bg-2); }

/* Leistungskarten ohne Mindesthöhe der Startseite */
.leistungen-liste .service-card { min-height: 0; }
.leistungen-liste .service-title { margin-top: 0.4rem; }

/* Hinweiskasten (z. B. „Wie ich arbeite: Web-Engineering“) */
.hinweis-kasten {
  max-width: 820px;
  background: var(--surface);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.6rem 1.8rem;
}
.hinweis-kasten h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.7rem;
}
.hinweis-kasten p { color: var(--text-dim); font-weight: 300; font-size: 1.02rem; }

/* ── FÜR WEN ── */
.fuer-wen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.fuer-wen-karte {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.fuer-wen-karte h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.fuer-wen-karte p { color: var(--text-dim); font-weight: 300; font-size: 0.95rem; }

/* ── ABLAUF (Schritte ohne Scroll-Effekt der Startseite) ── */
.ablauf .process-step { min-height: 0; }

/* ── HÄUFIGE FRAGEN ── */
.faq { max-width: 860px; display: flex; flex-direction: column; gap: 0.6rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.faq details[open] { border-color: var(--border-hi); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 3rem 1.1rem 1.3rem;
  position: relative;
  font-weight: 500;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius); }
.faq details p {
  padding: 0 1.3rem 1.2rem;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.7;
}

/* ── ABSCHLUSS ── */
.abschluss { text-align: center; }
.abschluss .section-title { margin-left: auto; margin-right: auto; max-width: 24ch; }
.abschluss .hero-actions { justify-content: center; animation: none; }

/* ── MOBIL ── */
@media (max-width: 860px) {
  .unterseite-kopf { padding: 7rem 1.2rem 4rem; }
  .abschnitt { padding: 4.5rem 1.2rem; }
  .fuer-wen { grid-template-columns: 1fr; }
}
