/* ------------------------------------------------------------------
   ARTICLE-PAGE.CSS
   Vollständige, autarke Styles nur für die Artikel-Seiten
   Ohne Abhängigkeit zu flashterm.min.css
------------------------------------------------------------------ */

/* -------------------------
   CSS VARIABLES
-------------------------- */
:root {
  --background-color: #f9f9f9;
  --text-color: #333;
  --primary-color: #444;
  --secondary-text-color: #555;
  --border-color: #ddd;
  --header-background-color: #fff;
  --header-height: 60px;
  --padding: 16px;
  --max-width: 1200px;
  --font-family: "Lato", sans-serif;
  --font-size-base: 1rem;
  --font-size-medium: 1.2rem;
  --font-size-large: 1.5rem;
}

/* -------------------------
   GLOBAL RESET / BASE
-------------------------- */
body {
  font-family: var(--font-family);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* -------------------------
   HEADER
-------------------------- */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--header-background-color);
  padding: 0 var(--padding);
  height: var(--header-height);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* LOGO + CLAIM */

.logo-container {
  display: flex;
  align-items: baseline; /* Wie index.html */
  gap: 8px;
}

.logo {
  display: block; /* Wie index.html */
  height: 40px;
  width: auto;
}

.claim-inline {
  font-size: 1rem;
  font-style: italic;
  color: #888;
  line-height: 1;
  padding-top: 2px; /* Der entscheidende optische Ausgleich */
}

/* -------------------------
   NAVIGATION
-------------------------- */
.navigation {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: #156d74;
  font-weight: normal;
}

.nav-list a:hover {
  text-decoration: underline;
}

/* -------------------------
   MOBILE MENU
-------------------------- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
}

/* Mobile Layout */
@media (max-width: 768px) {
  .navigation {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    right: 0;
    width: 100%;
    background-color: #fff;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
  }

  .navigation.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* -------------------------
   MAIN CONTENT
-------------------------- */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--padding);
}

h1 {
  font-size: var(--font-size-large);
  color: var(--primary-color);
}

h2 {
  font-size: var(--font-size-medium);
  color: var(--primary-color);
  margin-top: 1.5rem;
}

h3 {
  font-size: 1.05rem;
  color: var(--primary-color);
  margin-top: 1.2rem;
}

p {
  font-size: var(--font-size-base);
  line-height: 1.6;
  margin-bottom: 1rem;
}

ul {
  padding-left: 1.2em;
}

ul li {
  margin-bottom: 0.5rem;
}

pre {
  background-color: #fff;
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
}

code {
  font-family: "Courier New", monospace;
}

/* -------------------------
   ARTICLE BOX STYLES
-------------------------- */
.praxis-notiz,
.story-box,
.triangle-box {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-top: 2rem;
}

.story-box {
  border-left: 4px solid var(--primary-color);
}

.praxis-notiz p {
  margin: 0.4rem 0;
}

/* -------------------------
   FIGURES & CAPTIONS
-------------------------- */
figure {
  margin: 2rem auto;
  text-align: center;
}

figcaption {
  font-size: 0.95rem;
  color: #555;
  margin-top: 0.5rem;
}

/* -----------------------------------------------------------
   ISO-konforme Aufzählungszeichen gemäß ISO 704 / 1087
   Stufe 1: –  (Gedankenstrich)
   Stufe 2: •  (kleiner typografischer Bullet)
------------------------------------------------------------ */

/* Stufe 1 */
main ul {
  list-style: none;
  padding-left: 1.4rem;
  margin: 1rem 0;
}

main ul > li {
  position: relative;
  margin-bottom: 0.8rem;
  line-height: 1.6;
  padding-left: 0.4rem;
}

main ul > li::before {
  content: "–";                 /* ISO-konformer Gedankenstrich */
  position: absolute;
  left: -1.2rem;
  top: 0.1rem;                  /* optisch an die Schrift gekoppelt */
  font-size: 1.1rem;
  color: var(--primary-color);
  line-height: 1;
}

/* -----------------------------------------------------------
   FAQ / Definition Lists
   dt = Frage
   dd = Antwort
------------------------------------------------------------ */

main dl {
  margin: 2rem 0;
  padding: 0;
}

main dt {
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 1.4rem;
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

main dd {
  margin: 0 0 1rem 1.2rem;   /* klarer Einzug wie bei ISO-Listen */
  line-height: 1.6;
  color: var(--secondary-text-color);
}

/* Optional: dezente Linie zwischen FAQ-Abschnitten */
main dt:not(:first-of-type) {
  padding-top: 1.2rem;
  border-top: 1px solid #e2e2e2;
}

/* Stufe 2 (verschachtelte Listen) */
main ul ul > li::before {
  content: "•";                 /* kleiner neutraler Bullet */
  font-size: 0.9rem;
  left: -1.0rem;
  top: 0.35rem;
}

/* -------------------------------------------
   Responsive Video Wrapper (YouTube, Vimeo …)
-------------------------------------------- */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 1rem 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* -----------------------------
   Presse-Seiten Layout
------------------------------ */

/* Video-Karten */
.press-video {
  margin: 2rem 0;
  padding: 0;
}

.press-video h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--primary-color);
}

/* Pressestimmen (Zitate) */
.press-quote {
  border-left: 4px solid var(--primary-color);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  background: #fff;
  border-radius: 6px;
}

.press-quote em {
  font-style: italic;
  color: var(--secondary-text-color);
  line-height: 1.6;
}

/* -------------------------
   FOOTER
-------------------------- */
.footer {
  background-color: var(--header-background-color);
  color: var(--text-color);
  padding: var(--padding);
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  font-size: var(--font-size-base);
}

.footer-nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.footer-nav a {
  text-decoration: none;
  color: #156d74;
}

.footer-nav a:hover {
  text-decoration: underline;
}