/* ============================================================
   Style_Infoseiten.css
   Gemeinsame Styles für die vier Info-/Utility-Seiten:
     LB_91_Kontakt.html, LB_92_Impressum.html,
     LB_93_Datenschutz.html, LB_Unterstuetzen.html

   Vorher hatte jede dieser vier Seiten einen eigenen <style>-Block
   im <head> – das war die einzige Abweichung dieser Seiten vom
   Projektstandard (siehe CLAUDE.md, Abschnitt Design-System).
   Diese Datei bündelt die vier Blöcke in einer echten CSS-Datei,
   wie es bei allen anderen Seiten (Style_1_Startseite.css usw.)
   der Fall ist.

   Aufbau:
     1. PAGE-HERO / PAGE-CONTENT – gemeinsamer Baustein für
        Kontakt, Impressum, Datenschutz
     2. LEGAL-SECTION – gemeinsamer Baustein für Impressum/Datenschutz
     3. PLATZHALTER / HINWEISBOX – Hilfsklassen (aktuell ungenutzt,
        als fertige Bausteine für künftige Ergänzungen aufbewahrt)
     4. BUTTONS – .btn-primary / .btn-outline (nur Kontakt)
     5. je ein Abschnitt für das, was wirklich seitenspezifisch ist
        (Kontakt / Datenschutz / Unterstützen)
     6. RESPONSIVE – zwei gebündelte @media-Blöcke (768px / 480px)

   Kleine Größen-/Breiten-Unterschiede, die die vier Seiten schon
   vorher hatten (z. B. max-width von .page-content), werden über
   die Body-Klassen .pg-kontakt / .pg-impressum / .pg-datenschutz /
   .pg-unterstuetzen nachgebildet, damit sich am Ergebnis optisch
   nichts ändert.
   ============================================================ */


/* ────────────────────────────────────────────────────────────
   1. PAGE-HERO – Banner-Titel für Info-/Rechtsseiten
   ────────────────────────────────────────────────────────────
   Offizieller Design-System-Baustein (siehe CLAUDE.md), analog zu
   .section-intro: ein einfacher Farbverlaufs-Banner mit H1 +
   Untertitel für Seiten ohne Kartenraster direkt unter dem Titel.
   Die Unterstützen-Seite hat mit .hero-unterstuetzen bewusst eine
   eigene Variante (Icon + Puls-Animation, siehe Abschnitt 5) –
   dafür ist dieser einfache Banner nicht gedacht.
   ──────────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1a5876 100%);
  color: #fff;
  text-align: center;
  /* Oben Abstand für den fixierten Header (ca. 70px Headerhöhe + 60px Puffer) */
  padding: 130px 5% 60px;
}

.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 520px;
  margin: 0 auto;
}

/* Kontakt hatte einen etwas größeren/breiteren Untertitel */
.pg-kontakt .page-hero p {
  font-size: 1.1rem;
  opacity: 0.88;
  max-width: 560px;
}

/* Datenschutz hatte einen etwas breiteren Untertitel */
.pg-datenschutz .page-hero p {
  max-width: 580px;
}


/* Zentrierter Lesebereich unter dem Page-Hero */
.page-content {
  margin: 0 auto;
  padding: 70px 5%;
  max-width: 800px;  /* Standardbreite (Impressum) */
}

/* Kontakt: etwas breiter wegen der zweispaltigen Kontaktkarten */
.pg-kontakt .page-content {
  max-width: 860px;
}

.pg-datenschutz .page-content {
  max-width: 820px;
}


/* ────────────────────────────────────────────────────────────
   2. LEGAL-SECTION – Abschnittsblöcke für Impressum & Datenschutz
   ──────────────────────────────────────────────────────────── */
.legal-section {
  margin-bottom: 44px;
  /* Nur für Datenschutz relevant: Anker-Links aus dem Inhalts-
     verzeichnis landen so nicht unter dem fixierten Header.
     Impressum hat keine Anker – hier wirkungslos. */
  scroll-margin-top: 90px;
}

.pg-datenschutz .legal-section {
  margin-bottom: 50px; /* Datenschutz hat mehr/längere Abschnitte als Impressum */
}

.legal-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  /* Goldgelbe Unterlinie als Akzent */
  border-bottom: 2px solid var(--accent);
}

.legal-section h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  margin-top: 22px;
  margin-bottom: 8px;
}

.pg-datenschutz .legal-section h3 {
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-section p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-section ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

.legal-section ul li {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal-section a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.legal-section a:hover {
  color: var(--accent);
}


/* ────────────────────────────────────────────────────────────
   3. PLATZHALTER / HINWEISBOX – Hilfsklassen
   Aktuell in keiner der vier Seiten sichtbar im Markup verwendet
   (nur als Beispiel in einem HTML-Kommentar in LB_92_Impressum.html),
   aber als fertige Bausteine für künftige Ergänzungen aufbewahrt.
   ──────────────────────────────────────────────────────────── */
.placeholder {
  background-color: #fff3cd;    /* Gelb-Hintergrund */
  border: 1px dashed var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  color: #856404;               /* Dunkelgelbe Schrift */
  font-style: italic;
}

.notice-box {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin-bottom: 30px;
}

.notice-box p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

.notice-box strong {
  color: var(--primary);
}


/* ────────────────────────────────────────────────────────────
   4. BUTTONS – .btn-primary / .btn-outline
   Gleiche Optik wie das seitenweite Button-System (siehe z. B.
   Style_1_Startseite.css), hier lokal definiert, weil Kontakt als
   einzige der vier Seiten Buttons braucht.
   ──────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background-color: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--accent);
  color: var(--primary);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 22px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #fff;
}


/* ────────────────────────────────────────────────────────────
   5a. KONTAKT – seitenspezifisch
   ──────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;  /* Zwei gleichbreite Spalten */
  gap: 24px;
  margin-bottom: 50px;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid var(--neutral);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.13);
}

.contact-card .card-icon {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.contact-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.info-box {
  background: var(--bg-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-box i {
  color: var(--accent);
  font-size: 1.3rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.info-box p {
  margin: 0;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

.faq-section {
  margin-top: 10px;
}

.faq-item {
  border-bottom: 1px solid var(--neutral);
  padding: 18px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.65;
}

.faq-item a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}


/* ────────────────────────────────────────────────────────────
   5b. DATENSCHUTZ – seitenspezifisch
   ──────────────────────────────────────────────────────────── */
.toc-box {
  background: #fff;
  border: 1px solid var(--neutral);
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 50px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.toc-box h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 14px;
}

.toc-box ol {
  padding-left: 20px;
  margin: 0;
}

.toc-box ol li {
  margin-bottom: 7px;
}

.toc-box ol li a {
  color: var(--primary);
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.toc-box ol li a:hover {
  color: var(--accent);
}

/* Hervorgehobener Service-Name (z. B. "GitHub Pages", "Google Fonts") */
.service-name {
  font-weight: 700;
  color: var(--primary);
}

/* Kasten "Lernfortschritt löschen" */
.fortschritt-box {
  background: var(--bg-light);
  border: 1px solid var(--neutral);
  border-radius: 8px;
  padding: 18px 22px;
  margin-top: 18px;
}

.fortschritt-status {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 14px !important;
}

/* Button im Projekt-Buttonstil: Dunkelblau, Hover Goldgelb */
.fortschritt-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 6px;
  padding: 12px 22px;
  min-height: 44px;           /* Touch-Ziel laut Designvorgabe */
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.fortschritt-btn:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.fortschritt-btn:disabled {
  background: var(--neutral);
  border-color: var(--neutral);
  color: #999;
  cursor: default;
}

/* Datums-Zeile am Seitenanfang */
.last-updated {
  font-size: 0.85rem;
  color: #707070;   /* statt #888: 4,5:1 auf Weiß (#888 nur 3,3:1) */
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.last-updated i {
  color: var(--accent);
}


/* ────────────────────────────────────────────────────────────
   5c. UNTERSTÜTZEN – seitenspezifisch
   ────────────────────────────────────────────────────────────
   Eigene Hero-Variante (Icon + Puls-Animation) statt .page-hero –
   bewusst so belassen, siehe Empfehlung in CLAUDE.md.
   ──────────────────────────────────────────────────────────── */
.hero-unterstuetzen {
  background: linear-gradient(135deg, var(--primary) 0%, #0d4f7c 100%);
  color: #fff;
  text-align: center;
  padding: 120px 5% 80px; /* oben extra Platz wegen fixem Header */
}

/* Kleines Herz-Icon über der Überschrift */
.hero-unterstuetzen .hero-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
  /* Sanfte Puls-Animation */
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.12); }
}

.hero-unterstuetzen h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero-unterstuetzen p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
  opacity: 0.92;
}

.why-section {
  padding: 70px 5%;
  background: var(--bg-light);
  text-align: center;
}

/* .section-intro wird auf dieser Seite zweimal verwendet (why-section
   und transparency-section) – bewusst auf .pg-unterstuetzen beschränkt,
   damit diese Regel nicht auch auf Kontakt greift (die Kontakt-Seite
   nutzt .section-intro ebenfalls, aber ohne eigenes Styling dafür).
   :where(...) hält die Spezifität bei (0,1,1)/(0,1,0) – genau wie beim
   ursprünglichen unscoped Selektor. Ohne :where() würde die zusätzliche
   Klasse .pg-unterstuetzen die Spezifität über die von .transparency-
   section h2 heben und damit dessen abweichende Schriftgröße (1.4rem)
   überstimmen. */
:where(.pg-unterstuetzen) .section-intro h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 10px;
}

:where(.pg-unterstuetzen) .section-intro p {
  font-family: 'Open Sans', sans-serif;
  color: var(--secondary);
  font-size: 1.05rem;
  margin-bottom: 50px;
}

/* 3-Spalten-Raster für die Karten */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.why-card {
  background: #fff;
  border: 1px solid var(--neutral);
  border-radius: 10px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.13);
}

.why-card .card-icon {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.why-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.why-card p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.92rem;
  color: #555;
  line-height: 1.7;
}

.support-section {
  padding: 70px 5%;
  background: #fff;
  text-align: center;
}

/* Goldene Trennlinie über dem Bereich */
.support-section::before {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 50px;
}

.support-box {
  background: var(--bg-light);
  border: 2px solid var(--neutral);
  border-radius: 14px;
  padding: 50px 40px;
  max-width: 560px;
  margin: 0 auto;
}

/* Ko-fi-Icon in der Markenfarbe — Button bleibt einheitlich (Design-System) */
.support-box .support-icon {
  font-size: 3rem;
  color: #FF5E5B; /* Ko-fi Rot */
  display: block;
  margin-bottom: 18px;
}

.support-box h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.support-box p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.97rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 32px;
}

/* Unterstützen-Button — goldgelb, Montserrat Bold (Design-System-Standard) */
.btn-support {
  display: inline-block;
  background-color: var(--accent);
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-support:hover {
  background-color: var(--primary);
  color: #fff;
}

/* Kleiner Hinweis unter dem Button */
.support-note {
  margin-top: 16px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem;
  color: #707070;   /* statt #888: 4,5:1 auf Weiß (#888 nur 3,3:1) */
}

/* Hinweis: freiwillig, keine Gegenleistung, nicht absetzbar */
.tax-note {
  margin: 40px auto 0;
  max-width: 560px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.85rem;
  color: #707070;   /* statt #888: 4,5:1 auf Weiß (#888 nur 3,3:1) */
  font-style: italic;
}

.transparency-section {
  padding: 60px 5%;
  background: var(--bg-light);
  text-align: center;
}

.transparency-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 20px;
}

/* 2-Spalten-Liste für Verwendungszwecke */
.transparency-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.transparency-list li {
  background: #fff;
  border: 1px solid var(--neutral);
  border-radius: 8px;
  padding: 12px 22px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.93rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.transparency-list li i {
  color: var(--secondary);
  font-size: 1rem;
}

.thankyou-banner {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 50px 5%;
}

.thankyou-banner p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.thankyou-banner span {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.97rem;
  opacity: 0.85;
}

/* Bosnisches Wort als Akzent */
.thankyou-banner .bosanski {
  display: block;
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: 1px;
}


/* ────────────────────────────────────────────────────────────
   6. RESPONSIVE — TABLET (max. 768px)
   ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Kontakt / Impressum / Datenschutz (identisch auf allen drei) */
  .page-hero h1 { font-size: 1.9rem; }
  .page-hero    { padding: 110px 5% 50px; }
  .page-content { padding: 50px 5%; }

  /* Kontakt: Kontaktkarten untereinander statt nebeneinander */
  .contact-grid { grid-template-columns: 1fr; }

  /* Datenschutz: Inhaltsverzeichnis-Box etwas schmaler */
  .toc-box { padding: 22px 20px; }

  /* Unterstützen */
  .hero-unterstuetzen { padding: 100px 5% 60px; }
  .hero-unterstuetzen h1 { font-size: 1.9rem; }

  .why-section,
  .support-section,
  .transparency-section {
    padding: 50px 5%;
  }

  /* 3 Karten → 1 Spalte */
  .why-grid { grid-template-columns: 1fr; }

  .support-box { padding: 36px 24px; }
}


/* ────────────────────────────────────────────────────────────
   RESPONSIVE — SEHR KLEIN (max. 480px)
   ──────────────────────────────────────────────────────────── */
@media (max-width: 480px) {

  /* Kontakt / Impressum / Datenschutz (identisch auf allen drei) */
  .page-hero h1  { font-size: 1.6rem; }
  .page-content  { padding: 40px 4%; }

  /* Kontakt */
  .contact-card { padding: 28px 20px; }

  /* Unterstützen */
  .hero-unterstuetzen { padding: 90px 4% 50px; }
  .hero-unterstuetzen h1 { font-size: 1.55rem; }

  .why-section,
  .support-section,
  .transparency-section {
    padding: 40px 4%;
  }

  .support-box { padding: 28px 18px; }

  .btn-support {
    width: 100%;
    text-align: center;
  }
}
