/* ============================================================
   FORSCHUNGSRAUM BEZIEHUNG — Gemeinsames Design-System
   Alle Seiten referenzieren diese Datei mit:
   <link rel="stylesheet" href="styles.css">

   Farben hier ändern = alle Seiten ändern sich automatisch.
   ============================================================ */

/* GOOGLE FONTS — einmal laden für alle */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;1,400&family=Inter:wght@400;500&display=swap');

/* FARBEN & VARIABLEN — hier zentral anpassen */
:root {
  --gruen:        #3A6349;    /* Hauptfarbe Grün */
  --gruen-hell:   #EBF2ED;    /* Heller Hintergrund */
  --gruen-mittel: #9CC8AB;    /* Mittelton für Borders */
  --gruen-dunkel: #27500A;    /* Dunkles Grün für Text */
  --sand:         #FAF8F4;    /* Seitenhintergrund */
  --sand-dunkel:  #F2EDE5;    /* Abschnitte */
  --nacht:        #1A2320;    /* Dunkle Sections */
  --text:         #1A2320;    /* Haupttext */
  --text2:        #4E5C56;    /* Sekundärtext */
  --text3:        #7A8C84;    /* Metainfo, Fußnoten */
  --border:       rgba(58,99,73,0.15);
  --border-stark: rgba(58,99,73,0.28);
  --radius:       12px;
  --radius-pill:  20px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--sand);
}

/* ============================================================
   NAVIGATION (wird auf jeder Seite gleich verwendet)
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,244,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid var(--border);
  padding: 0 2rem;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-logo .logo-claim {
  font-size: 10px;
  font-weight: 400;
  color: var(--gruen);
  letter-spacing: 0.3px;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.aktiv { color: var(--gruen); }
.nav-links a.aktiv { font-weight: 500; }
.nav-cta {
  background: var(--gruen);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.88; }

/* ============================================================
   TYPOGRAFIE
   ============================================================ */
h1, h2, h3 {
  font-family: 'Lora', serif;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -0.3px; }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.7rem); }
h3 { font-size: 1.1rem; }

p { color: var(--text2); margin-bottom: 1.3rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 500; color: var(--text); }
em { font-style: italic; color: var(--text); }

/* ============================================================
   HILFSKLASSEN
   ============================================================ */
.thema-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gruen);
  background: var(--gruen-hell);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 1.2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.divider {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 3rem 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-prim {
  display: inline-block;
  background: var(--gruen);
  color: white;
  border: none;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn-prim:hover { opacity: 0.88; }
.btn-sek {
  display: inline-block;
  background: transparent;
  color: var(--gruen);
  border: 1.5px solid var(--gruen);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-sek:hover { background: var(--gruen-hell); }

/* ============================================================
   KARTEN
   ============================================================ */
.karte {
  background: white;
  border: 0.5px solid var(--border-stark);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.karte-hell {
  background: var(--gruen-hell);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

/* ============================================================
   PULL QUOTE
   ============================================================ */
.pullquote {
  border-left: 3px solid var(--gruen);
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0;
  background: var(--gruen-hell);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pullquote p {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.pullquote .attribution {
  font-size: 13px;
  color: var(--gruen);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* ============================================================
   INFOBOX (z.B. NARM-Erklärung)
   ============================================================ */
.infobox {
  background: white;
  border: 0.5px solid var(--border-stark);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2.5rem 0;
}
.infobox .infobox-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gruen);
  font-weight: 500;
  margin-bottom: 0.7rem;
  display: block;
}
.infobox h3 {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}
.infobox p { font-size: 15px; line-height: 1.7; }

/* ============================================================
   ARTIKEL-LAYOUT (Inhaltsseiten)
   ============================================================ */
.artikel-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
}
.artikel h2 {
  font-size: 1.55rem;
  margin: 3rem 0 1rem;
}
.artikel h2:first-child { margin-top: 0; }

/* SIDEBAR */
.sidebar { position: sticky; top: 72px; }
.sidebar-karte {
  background: white;
  border: 0.5px solid var(--border-stark);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.sidebar-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gruen);
  font-weight: 500;
  margin-bottom: 0.7rem;
  display: block;
}
.inhaltsverz { list-style: none; }
.inhaltsverz li { border-bottom: 0.5px solid var(--border); }
.inhaltsverz li:last-child { border-bottom: none; }
.inhaltsverz a {
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  display: block;
  padding: 5px 0;
  line-height: 1.5;
}
.inhaltsverz a:hover { color: var(--gruen); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: white;
  border-top: 0.5px solid var(--border);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text3);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--gruen); }
.footer-links { display: flex; gap: 1.5rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .artikel-wrap { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 1.5rem; }
  .sidebar { position: static; }
}
