/* ============================================================
   Mikasi – zentrales Stylesheet
   Gilt für alle Seiten. Seitenspezifisches ist über die
   Body-Klassen .page-home, .page-ratgeber und .page-artikel
   abgegrenzt. Neue Artikel bekommen:
   <body class="page-artikel c-CLUSTER">
   ============================================================ */

/* ---- SCHRIFTEN (selbst gehostet, keine externen Aufrufe) ---- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/fraunces-latin-standard-normal.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/outfit-latin-wght-normal.woff2') format('woff2-variations');
}

/* ---- GRUNDWERTE ---- */
:root {
  --ink: #1a1d1a;
  --ink-soft: #5a5f5a;
  --paper: #faf8f4;
  --paper-warm: #f2ede3;
  --accent: #2f6b4f;
  --accent-soft: #e4ede7;
  --line: #e2ddd2;
  --radius: 14px;
}

/* ---- CLUSTER-FARBEN ---- */
.c-datenschutz { --c: #2f6b4f; --c-soft: #e4ede7; --c-line: rgba(47,107,79,.16); }
.c-gleichbehandlung { --c: #a0553a; --c-soft: #f2e5de; --c-line: rgba(160,85,58,.16); }
.c-geldwaesche { --c: #3f5d78; --c-soft: #e3e9ef; --c-line: rgba(63,93,120,.16); }
.c-praxis { --c: #7d6420; --c-soft: #efe9d9; --c-line: rgba(125,100,32,.16); }

/* ---- RESET & BASIS ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.page-artikel { line-height: 1.7; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.article-wrap { max-width: 680px; margin: 0 auto; padding: 0 24px; }

/* ---- NAV (alle Seiten) ---- */
nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
body.page-home nav { border-bottom: none; }
.logo {
  font-family: 'Fraunces', serif;
  font-size: 26px; font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.logo span { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 15px; color: var(--ink-soft);
  text-decoration: none; font-weight: 500;
  transition: color .2s;
}
.nav-link:hover { color: var(--accent); }
.nav-link--active { color: var(--ink); font-weight: 600; }
.nav-link--cta { color: var(--accent); font-weight: 600; }

/* ---- BUTTONS (gemeinsam) ---- */
.btn {
  font-family: 'Outfit', sans-serif;
  font-size: 16px; font-weight: 600;
  padding: 16px 26px;
  border: none; border-radius: var(--radius);
  background: var(--accent); color: #fff;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s, background .2s;
}
.btn:hover { background: #275a42; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* ---- FEATURE-CARD (Startseite + Ratgeber) ---- */
.feature-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .18s, box-shadow .18s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(26,29,26,0.09);
}
.feature-card .panel {
  background:
    repeating-linear-gradient(135deg,
      transparent 0 10px,
      var(--c-line) 10px 11px),
    var(--c-soft);
  min-height: 210px;
  display: flex; align-items: flex-end;
  padding: 26px;
}
.feature-card .panel span {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c);
  background: var(--paper);
  padding: 7px 14px; border-radius: 100px;
}
.feature-card .body { padding: 36px 38px; }
.feature-card .tag {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--c); margin-bottom: 12px;
}
.feature-card h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 500; line-height: 1.22;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 500; line-height: 1.22;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 1rem; color: var(--ink-soft);
  max-width: 560px;
}
.feature-card .read {
  margin-top: 18px;
  font-size: 0.95rem; font-weight: 600;
  color: var(--c);
}

/* ---- FOOTER (alle Seiten) ---- */
footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  display: flex; justify-content: space-between; align-items: center;
}
footer .logo { font-size: 20px; }
footer .links a {
  font-size: 14px; color: var(--ink-soft);
  text-decoration: none; margin-left: 22px;
}
footer .links a:hover { color: var(--accent); }

/* ============================================================
   STARTSEITE (.page-home)
   ============================================================ */
   
.page-home .grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.page-home .hero { padding: 80px 0 90px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 7px 16px; border-radius: 100px;
  margin-bottom: 28px;
}
.page-home h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.6rem, 6vw, 4.3rem);
  font-weight: 500; line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.page-home h1 em { font-style: normal; font-weight: 600; color: var(--accent); }
.hero p.sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 540px; margin: 0 auto 40px;
}

/* ---- FORMULAR ---- */
.signup {
  display: flex; gap: 10px;
  max-width: 460px; margin: 0 auto;
}
.signup input {
  flex: 1;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  padding: 16px 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}
.signup input:focus { border-color: var(--accent); }
.form-note {
  font-size: 13px; color: var(--ink-soft);
  margin-top: 14px;
}
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.form-success {
  display: none;
  max-width: 460px; margin: 0 auto;
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--accent);
  font-weight: 500;
}

/* ---- SECTIONS ---- */
.page-home section { padding: 70px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 500; letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--ink-soft); font-size: 1.05rem;
  max-width: 480px; margin: 0 auto;
}

/* ---- PROBLEM ---- */
.problem { background: var(--paper-warm); }
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.problem-card .num {
  font-family: 'Fraunces', serif;
  font-size: 15px; font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}
.problem-card h3 {
  font-size: 1.15rem; font-weight: 600;
  margin-bottom: 8px;
}
.problem-card p {
  font-size: 0.96rem; color: var(--ink-soft);
}

/* ---- STEPS ---- */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.step { text-align: center; }
.step .circle {
  width: 54px; height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: 22px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.step h3 {
  font-size: 1.12rem; font-weight: 600;
  margin-bottom: 8px;
}
.step p {
  font-size: 0.96rem; color: var(--ink-soft);
}

/* ---- BLOG-TEASER ---- */
.blog { background: var(--paper-warm); }
.blog-more { text-align: center; margin-top: 40px; }
.btn-ghost {
  display: inline-block;
  font-size: 16px; font-weight: 600;
  padding: 14px 28px;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  background: transparent;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-ghost:hover { background: var(--accent); color: #fff; }

/* ---- CLOSING CTA (Startseite) ---- */
.page-home .closing {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  border-radius: 24px;
  padding: 70px 32px;
  margin: 40px 0 80px;
}
.page-home .closing h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 500; letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.page-home .closing p {
  color: #b9bdb6; font-size: 1.05rem;
  margin-bottom: 36px;
}
.page-home .closing .signup input { border-color: transparent; }
.page-home .closing .form-note { color: #8b908a; }
.page-home .closing .form-success {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent);
  color: #cfe5d8;
}

/* ---- EINGANGSANIMATION ---- */
.fade-up {
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .7s ease forwards;
}
.fade-up:nth-child(1) { animation-delay: .05s; }
.fade-up:nth-child(2) { animation-delay: .15s; }
.fade-up:nth-child(3) { animation-delay: .25s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RATGEBER-ÜBERSICHT (.page-ratgeber)
   ============================================================ */

.featured { display: grid; gap: 24px; }
.page-head {
  text-align: center;
  padding: 64px 0 40px;
}
.page-head .eyebrow { margin-bottom: 24px; }
.page-head h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  font-weight: 500; line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.page-head p {
  font-size: 1.08rem; color: var(--ink-soft);
  max-width: 560px; margin: 0 auto;
}

/* ---- FILTER ---- */
.filters {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px;
  padding-bottom: 44px;
}
.chip {
  font-family: 'Outfit', sans-serif;
  font-size: 14px; font-weight: 500;
  color: var(--ink-soft);
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  padding: 9px 18px;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"] {
  background: var(--ink); border-color: var(--ink);
  color: var(--paper); font-weight: 600;
}

/* ---- PILLAR-KARTE ---- */
.featured { margin-bottom: 30px; }

/* ---- ARTIKEL-RASTER ---- */
.grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 20px;
}
.card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .18s, box-shadow .18s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26,29,26,0.08);
}
.card .thumb {
  height: 108px;
  background:
    repeating-linear-gradient(135deg,
      transparent 0 10px,
      var(--c-line) 10px 11px),
    var(--c-soft);
}
.card .body {
  padding: 22px 24px 26px;
  display: flex; flex-direction: column; flex: 1;
}
.card .tag {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--c); margin-bottom: 10px;
}
.card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.16rem; font-weight: 500;
  line-height: 1.3; margin-bottom: 8px;
}
.card p {
  font-size: 0.93rem; color: var(--ink-soft);
}
.card .meta {
  margin-top: auto; padding-top: 16px;
  font-size: 0.85rem; color: var(--ink-soft);
}
.card .meta strong {
  color: var(--c); font-weight: 600;
}

.empty {
  display: none;
  text-align: center;
  color: var(--ink-soft);
  padding: 40px 0 20px;
}

/* ---- AUSBLICK ---- */
.upcoming {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding-top: 44px;
}
.upcoming h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem; font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.upcoming-intro {
  font-size: 1rem; color: var(--ink-soft);
  margin-bottom: 26px;
}
.upcoming-list {
  list-style: none;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px 40px;
}
.upcoming-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 1rem; color: var(--ink-soft);
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.upcoming-list .dot {
  width: 8px; height: 8px; flex: none;
  border-radius: 50%;
  background: var(--c);
}

/* ---- CLOSING CTA (Ratgeber) ---- */
.page-ratgeber .closing {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  border-radius: 24px;
  padding: 60px 32px;
  margin: 70px 0 80px;
}
.page-ratgeber .closing h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 500; letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.page-ratgeber .closing p {
  color: #b9bdb6; font-size: 1.02rem;
  margin-bottom: 30px;
  max-width: 480px; margin-left: auto; margin-right: auto;
}
.page-ratgeber .closing a.btn {
  display: inline-block;
  font-size: 16px; font-weight: 600;
  padding: 15px 30px;
  border-radius: var(--radius);
  background: var(--accent); color: #fff;
  text-decoration: none;
  transition: background .2s;
}
.page-ratgeber .closing a.btn:hover { background: #3a8061; transform: none; }

/* ============================================================
   ARTIKELSEITEN (.page-artikel)
   ============================================================ */

/* ---- BREADCRUMB ---- */
.breadcrumb {
  font-size: 14px; color: var(--ink-soft);
  padding: 22px 0 0;
}
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--c); }
.breadcrumb span { margin: 0 7px; opacity: .6; }

/* ---- ARTIKELKOPF ---- */
.article-header { padding: 40px 0 30px; text-align: center; }
.article-header .tag {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c);
  background: var(--c-soft);
  padding: 7px 16px; border-radius: 100px;
  margin-bottom: 22px;
}
.article-header h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500; line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.article-meta { font-size: 14px; color: var(--ink-soft); }

/* ---- ARTIKELTEXT ---- */
article { padding: 16px 0 50px; }
article p {
  font-size: 1.08rem; color: var(--ink);
  margin-bottom: 22px;
}
article h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem; font-weight: 500;
  letter-spacing: -0.01em;
  margin: 46px 0 16px;
  scroll-margin-top: 24px;
}
article h3 {
  font-size: 1.2rem; font-weight: 600;
  margin: 30px 0 10px;
}
article ul, article ol { margin: 0 0 22px 0; padding-left: 24px; }
article li { font-size: 1.08rem; margin-bottom: 8px; }
article a {
  color: var(--c);
  text-decoration: underline; text-underline-offset: 3px;
}
article a:hover { opacity: .75; }
article strong { font-weight: 600; }
article .lead {
  font-size: 1.2rem; color: var(--ink-soft);
  margin-bottom: 32px;
}
article blockquote {
  border-left: 3px solid var(--c);
  background: var(--c-soft);
  padding: 18px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0 0 24px;
  font-size: 1.05rem;
}
article blockquote p:last-child { margin-bottom: 0; }

/* ---- INHALTSVERZEICHNIS ---- */
.toc {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 36px;
}
.toc strong {
  display: block;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.toc ol { margin: 0; padding-left: 20px; }
.toc li { font-size: 1rem; margin-bottom: 6px; }

/* ---- HINWEISKASTEN ---- */
.hinweis {
  border: 1px solid var(--line);
  border-left: 3px solid var(--c);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #fff;
  padding: 20px 24px;
  margin: 0 0 26px;
}
.hinweis strong.label {
  display: block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c);
  margin-bottom: 8px;
}
.hinweis p { font-size: 1rem; margin-bottom: 0; }

/* ---- TABELLE ---- */
.table-wrap { overflow-x: auto; margin: 0 0 26px; }
article table {
  width: 100%; border-collapse: collapse;
  font-size: 0.98rem;
}
article th {
  text-align: left; font-weight: 600;
  background: var(--paper-warm);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
article td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

/* ---- CTA IM ARTIKEL ---- */
.cta-box {
  background: var(--ink);
  color: var(--paper);
  border-radius: 20px;
  padding: 40px 36px;
  text-align: center;
  margin: 48px 0 30px;
}
.cta-box h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem; font-weight: 500;
  color: var(--paper);
  margin: 0 0 10px;
}
.cta-box p { color: #b9bdb6; font-size: 1rem; margin-bottom: 24px; }
.cta-box a {
  display: inline-block;
  font-size: 16px; font-weight: 600;
  padding: 14px 30px;
  border-radius: var(--radius);
  background: var(--accent); color: #fff;
  text-decoration: none;
  transition: background .2s;
}
.cta-box a:hover { background: #3a8061; }

/* ---- WEITERLESEN ---- */
.weiterlesen {
  border-top: 1px solid var(--line);
  padding-top: 30px; margin-bottom: 34px;
}
.weiterlesen strong.label {
  display: block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.weiterlesen ul { list-style: none; padding: 0; margin: 0; }
.weiterlesen li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
}
.weiterlesen a { text-decoration: none; font-weight: 500; }
.weiterlesen a:hover { text-decoration: underline; }

/* ---- RECHTSHINWEIS ---- */
.disclaimer {
  font-size: 0.88rem; color: var(--ink-soft);
  line-height: 1.6;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-bottom: 50px;
}

/* ============================================================
   BEWEGUNGSREDUKTION & RESPONSIVE
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .fade-up { animation: none; opacity: 1; transform: none; }
  .feature-card, .btn, .card, .chip, .cta-box a { transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 940px) {
  .feature-card { grid-template-columns: 240px 1fr; }
  .feature-card .body { padding: 30px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .upcoming-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .problem-grid, .steps-grid { grid-template-columns: 1fr; }
  .page-home .feature-card { grid-template-columns: 1fr; }
  .page-home .feature-card .panel { min-height: 120px; }
  .signup { flex-direction: column; }
  .page-home .btn { width: 100%; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
  footer .links a { margin: 0 11px; }
  .page-home .hero { padding: 50px 0 60px; }
  .page-home section { padding: 54px 0; }
  .article-header { padding: 30px 0 24px; }
  .cta-box { padding: 32px 24px; }
}

@media (max-width: 700px) {
  .grid { grid-template-columns: 1fr; }
  .page-ratgeber .feature-card { grid-template-columns: 1fr; }
  .page-ratgeber .feature-card .panel { min-height: 120px; }
  .page-head { padding: 44px 0 30px; }
}
