/* ==========================================================================
   FS Webdesign – Neuroblog Basis-Stylesheet
   Wird von allen Seiten (Pillar Page + Cluster-Artikel) eingebunden.
   Farben/Fonts orientiert an der Live-Website webdesign-fs.de
   ========================================================================== */

:root {
  --dark: #002c31;
  --dark-2: #0e585c;
  --teal: #15848a;
  --teal-light: #2ab0b8;
  --cyan: #6de5ed;
  --text: #262b2c;
  --text-muted: #4a5658;
  --bg-light: #fafaf9;
  --bg-card: #f2f7f7;
  --white: #ffffff;
  --border: #e1e8e8;
  --radius: 16px;
  --max-width: 900px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Titillium Web", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

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

a {
  color: var(--teal);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

header.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.brand img {
  height: 64px;
  width: auto;
}

.brand-text {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.brand-text .sub {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.back-link {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover {
  color: var(--teal);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cyan);
  color: #000;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  max-width: 100%;
  box-sizing: border-box;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(21, 132, 138, 0.3);
}

.btn-cta .sub {
  display: block;
  font-weight: 400;
  font-size: 11px;
  opacity: 0.75;
}

/* ---------- Banner (über der H1) ---------- */

.hero-banner {
  background: var(--white);
  padding: 22px 0;
}

.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ---------- Hero / Intro ---------- */

.hero {
  background: var(--dark);
  color: var(--white);
  padding: 56px 0 48px;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 20px;
  max-width: 780px;
}

.hero p.lead {
  font-size: 18px;
  color: #d6e9ea;
  max-width: 700px;
  margin: 0 0 20px;
}

.hero-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-list li {
  font-size: 18px;
  color: #d6e9ea;
  padding-left: 28px;
  position: relative;
}

.hero-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan);
  font-weight: 700;
}

/* generic lists used inside body copy */
main ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

main ul li {
  margin-bottom: 8px;
  color: var(--text);
}

/* ---------- Video Placeholder ---------- */

.video-placeholder {
  background: var(--dark-2);
  border: 1px dashed var(--teal-light);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  color: var(--white);
  max-width: 700px;
  margin: 0 0 8px;
}

.video-placeholder .play-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cyan);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
}

.video-placeholder p {
  margin: 0;
  color: #cfe7e8;
  font-size: 15px;
}

.video-placeholder .hook {
  font-style: italic;
  color: var(--white);
  margin-bottom: 8px;
}

/* ---------- Inhaltsverzeichnis ---------- */

.toc {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.toc-label {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 12px;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 32px;
}

.toc li {
  margin-bottom: 8px;
  break-inside: avoid;
}

.toc a {
  color: var(--dark-2);
  font-weight: 600;
  text-decoration: none;
}

.toc a:hover {
  color: var(--teal);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .toc ol {
    columns: 1;
  }
}

/* ---------- Sections ---------- */

main section {
  padding: 56px 0;
}

main section.alt {
  background: var(--bg-light);
}

h2 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 20px;
  line-height: 1.3;
}

p {
  color: var(--text);
  margin: 0 0 18px;
}

.section-lead {
  color: var(--text-muted);
}

/* ---------- Callout / Richter box ---------- */

.callout {
  background: var(--bg-card);
  border-left: 4px solid var(--teal-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.callout strong {
  color: var(--dark-2);
}

/* ---------- Card grid (4 Bausteine) ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.card h3,
.card .card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
}

.card p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Zweifel / FAQ-style list ---------- */

.doubt-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.doubt {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.doubt .q {
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
}

.doubt .a {
  color: var(--text-muted);
  margin: 0;
  font-size: 15.5px;
}

/* ---------- Fazit / CTA-Block ---------- */

.cta-block {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  margin-top: 12px;
}

.cta-block h2 {
  color: var(--white);
}

.cta-block p {
  color: #cfe7e8;
  max-width: 560px;
  margin: 0 auto 24px;
}

.cta-block .btn-cta {
  font-size: 16px;
  padding: 14px 28px;
}

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--dark);
  color: #9fc3c5;
  padding: 32px 0;
  font-size: 14px;
}

footer.site-footer a {
  color: var(--cyan);
  text-decoration: none;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------- Mobile ---------- */

@media (max-width: 480px) {
  .header-inner {
    padding: 12px 16px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  /* CTA-Button im Header nur mobil ausblenden – bleibt auf Desktop erhalten,
     der große CTA im Fazit-Block reicht auf dem Handy als Handlungsaufforderung */
  header.site-header .btn-cta {
    display: none;
  }

  .back-link {
    width: 100%;
    text-align: center;
  }

  .btn-cta {
    font-size: 13px;
    padding: 8px 14px;
    width: auto;
    justify-content: center;
  }

  /* hide the small subtitle only in the sticky header CTA, so it stays
     compact and doesn't dominate the screen while scrolling/reading */
  header.site-header .btn-cta .sub {
    display: none;
  }

  .cta-block {
    padding: 32px 20px;
  }

  .cta-block .btn-cta {
    font-size: 14px;
    padding: 12px 18px;
  }

  .brand-text {
    font-size: 14px;
  }

  .brand img {
    height: 48px;
  }

  .hero-banner {
    padding: 14px 0;
  }

  .hero-banner img {
    border-radius: 8px;
  }
}
