/* Unterseiten für ancora.marketing — FAQ und Publikationen.
   Bewusst knapp gehalten: die Seiten nutzen Deine bestehenden Klassen
   (.wrap, .section-heading, .tick, .intro, .mandate-card, .mandate-row).
   Hier steht nur, was style.css noch nicht kennt. */

/* Die Kopfzeile hat keinen eigenen Hintergrund und lebt auf der Startseite
   vom dunklen Hero dahinter. Auf Unterseiten fehlt der, deshalb bekommt sie
   hier eine eigene Fläche. Wenn der Navy-Ton nicht exakt passt, ist dies der
   einzige Wert, der geändert werden muss. */
.site-header-solid {
  background-color: #002169;
}

/* Abstand nach oben, weil die Unterseiten keinen Hero mit eigener Höhe haben */
.subpage {
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 7rem);
}

/* ---------- FAQ ---------- */

.faq-list {
  margin-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid rgba(0, 33, 105, 0.12);
}

.faq-item {
  border-bottom: 1px solid rgba(0, 33, 105, 0.12);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
}

/* Standard-Dreieck von Safari entfernen */
.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Eigenes Zeichen: Plus, das beim Öffnen zum Minus wird */
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  opacity: 0.5;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-item[open] summary::after {
  content: "–";
  opacity: 1;
}

.faq-item summary:hover::after {
  opacity: 1;
}

.faq-item summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}

.faq-answer {
  padding: 0 0 1.5rem;
  max-width: 68ch;
}

.faq-answer p {
  margin: 0;
}

/* ---------- Publikationen ---------- */

/* Die Zeilen sind Links, sollen aber nicht wie Links aussehen */
.pub-row {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.pub-row:hover {
  opacity: 0.7;
}

.pub-row:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}

.pub-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

/* Art des Beitrags: Interview, Gastbeitrag, Fachbeitrag */
.pub-typ {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.15em 0.5em;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 0.6875rem;
  font-weight: 600;
  opacity: 0.75;
  vertical-align: 0.05em;
}

/* Sprachkürzel des Artikels, damit klar ist, in welcher Sprache er erscheint */
.pub-lang {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  padding: 0.15em 0.45em;
  border: 1px solid currentColor;
  border-radius: 2px;
  opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after,
  .pub-row {
    transition: none;
  }
}

/* Zeile mit Links auf Autorenprofile bei den Medien */
.pub-quellen {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
}

.pub-quellen a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 404: Einstieg in die vier Sprachen */
.nf-links {
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.nf-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Fliesstext auf Rechtsseiten ---------- */
/* Das Impressum kommt aus Markdown und erzeugt h2, p, ul und strong.
   style.css kennt diese Elemente im Seitenkontext nicht, deshalb hier. */

.prose {
  max-width: 68ch;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.prose h2 {
  margin: clamp(2.5rem, 6vw, 3.5rem) 0 1rem;
  padding-top: clamp(1.5rem, 4vw, 2rem);
  border-top: 1px solid rgba(0, 33, 105, 0.12);
}

.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.prose p {
  margin: 0 0 1rem;
}

/* Adressblock: Markdown macht daraus einen Absatz mit Zeilenumbruechen */
.prose p strong {
  display: inline-block;
  margin-bottom: 0.15rem;
}

.prose address {
  font-style: normal;
  margin: 0 0 1rem;
}

.prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  margin-top: clamp(1.5rem, 4vw, 2rem);
  padding: 0.9rem 1.1rem;
  border-left: 3px solid currentColor;
  max-width: 68ch;
  font-size: 0.9375rem;
  opacity: 0.75;
}

.legal-updated {
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 33, 105, 0.12);
  max-width: 68ch;
  font-size: 0.875rem;
  opacity: 0.7;
}
