/* Cogswell IT — Blogartikel im Site-Design (hell, Carbon + #4d90ad, Inter).
   Ersetzt die früheren Inline-Styles der Artikel, die auf Dark-Theme
   festgenagelt waren und auf der hellen Seite unlesbar wurden. */

.art, .art-shell {
  max-width: 780px;
  margin: 140px auto 100px;
  padding: 0 24px;
  color: #191c1f;
}

.art-eb, .art-eyebrow {
  display: inline-block;
  padding: 6px 15px;
  border-radius: 99px;
  background: #e9f2f7;
  border: 1px solid rgba(15, 11, 10, 0.06);
  color: #37718c;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 24px;
}

.art h1, .art-shell h1 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin: 0 0 22px;
  color: #0f0b0a;
  text-wrap: balance;
}

.art-lead {
  font-size: clamp(18px, 2vw, 21px);
  color: #5a6169;
  line-height: 1.6;
  margin: 0 0 36px;
  max-width: 680px;
}

.art-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #7a828b;
  font-size: 14px;
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(15, 11, 10, 0.09);
}
.art-meta-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #b2d5e5;
  display: grid;
  place-items: center;
  color: #0f0b0a;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.art h2, .art-shell h2 {
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.028em;
  margin: 52px 0 16px;
  color: #0f0b0a;
}
.art h3, .art-shell h3 {
  font-size: clamp(19px, 2.2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 34px 0 12px;
  color: #0f0b0a;
}

.art p, .art-shell p {
  font-size: 17px;
  line-height: 1.75;
  color: #4a5157;
  margin: 0 0 18px;
}
.art ul, .art ol, .art-shell ul, .art-shell ol {
  font-size: 17px;
  line-height: 1.75;
  color: #4a5157;
  margin: 0 0 24px;
  padding-left: 24px;
}
.art li, .art-shell li { margin-bottom: 8px; }
.art strong, .art-shell strong { color: #0f0b0a; font-weight: 600; }

.art a, .art-shell a {
  color: #37718c;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.art a:hover, .art-shell a:hover { text-decoration-thickness: 2px; }

.art code, .art-shell code {
  font-size: 15px;
  background: #f1f2f4;
  padding: 2px 7px;
  border-radius: 6px;
}

/* Hervorhebungs-Kasten */
.art-box, .art-disclaimer {
  background: #f6f7f8;
  border: 1px solid rgba(15, 11, 10, 0.06);
  border-radius: 18px;
  padding: 24px 28px;
  margin: 32px 0;
}
.art-box h3 { margin-top: 0; }
.art-box p:last-child, .art-disclaimer p:last-child { margin-bottom: 0; }
.art-disclaimer { font-size: 15px; }
.art-disclaimer p { font-size: 15px; }

/* Zitat */
.art-quote {
  border-left: 3px solid #b2d5e5;
  padding: 4px 0 4px 22px;
  margin: 32px 0;
  font-size: 19px;
  line-height: 1.6;
  color: #0f0b0a;
  font-weight: 500;
}
.art-quote p { font-size: inherit; color: inherit; }

/* Kennzahlen */
.art-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 32px 0;
}
.art-stat {
  background: #f6f7f8;
  border: 1px solid rgba(15, 11, 10, 0.06);
  border-radius: 16px;
  padding: 22px 20px;
}
.art-stat-num {
  display: block;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #0f0b0a;
  line-height: 1.1;
}
.art-stat-lbl {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  color: #5a6169;
  line-height: 1.45;
}

/* Nummerierte Schritte */
.art-step {
  background: #fff;
  border: 1px solid rgba(15, 11, 10, 0.09);
  border-radius: 18px;
  padding: 22px 26px;
  margin: 14px 0;
}
.art-step h3 { margin-top: 0; }
.art-step p:last-child { margin-bottom: 0; }

/* Formel / Rechenweg */
.art-formula {
  background: #0f0b0a;
  color: #fff;
  border-radius: 16px;
  padding: 22px 26px;
  margin: 28px 0;
  font-size: 16px;
  line-height: 1.7;
}
.art-formula p { color: rgba(255, 255, 255, 0.82); }
.art-formula strong { color: #b2d5e5; }

/* Dialog-Beispiel */
.art-dialog {
  background: #f6f7f8;
  border: 1px solid rgba(15, 11, 10, 0.06);
  border-radius: 18px;
  padding: 22px 26px;
  margin: 28px 0;
  font-size: 16px;
}
.art-dialog p { font-size: 16px; margin-bottom: 10px; }
.art-dialog p:last-child { margin-bottom: 0; }

/* Tabellen */
.art-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 24px 0 30px;
  display: block;
  overflow-x: auto;
}
.art-table th, .art-table td {
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(15, 11, 10, 0.08);
}
.art-table th {
  background: #f6f7f8;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #0f0b0a;
  white-space: nowrap;
}
.art-table td { color: #4a5157; line-height: 1.6; }
.art-table tr:last-child td { border-bottom: 0; }

/* FAQ */
.art-faq { margin: 48px 0; }
.art-faq details {
  background: #f6f7f8;
  border: 1px solid rgba(15, 11, 10, 0.06);
  border-radius: 14px;
  margin-bottom: 10px;
}
.art-faq summary {
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  color: #0f0b0a;
  font-size: 16.5px;
  list-style: none;
}
.art-faq summary::-webkit-details-marker { display: none; }
.art-faq summary::after {
  content: '+';
  float: right;
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  color: #7a828b;
}
.art-faq details[open] summary::after { content: '−'; }
.art-faq details[open] summary { border-bottom: 1px solid rgba(15, 11, 10, 0.08); }
.art-faq details p { padding: 18px 22px; margin: 0; }

/* Abschluss-CTA */
.art-cta {
  background: #0f0b0a;
  border-radius: 24px;
  padding: 38px 34px;
  margin: 56px 0 0;
  text-align: center;
}
.art-cta h3 { margin: 0 0 12px; font-size: clamp(22px, 2.6vw, 28px); color: #fff; letter-spacing: -0.025em; }
.art-cta p { margin: 0 0 22px; color: rgba(255, 255, 255, 0.72); }
.art-cta a.btn, .art-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: #fff;
  color: #0f0b0a;
  border-radius: 99px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  transition: background .18s ease;
}
.art-cta a.btn:hover, .art-cta .btn:hover { background: #e9e9ec; color: #0f0b0a; }

/* Verwandte Inhalte */
.related-services, .related-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
}
.related-pills a, .related-services a {
  display: inline-flex;
  align-items: center;
  padding: 9px 17px;
  border-radius: 99px;
  border: 1px solid rgba(15, 11, 10, 0.12);
  background: #fff;
  color: #0f0b0a;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}
.related-pills a:hover, .related-services a:hover {
  background: #f6f7f8;
  border-color: rgba(15, 11, 10, 0.2);
  text-decoration: none;
}

@media (max-width: 640px) {
  .art, .art-shell { margin: 110px auto 70px; }
  .art-box, .art-dialog, .art-formula, .art-step { padding: 20px 20px; }
  .art-cta { padding: 30px 22px; }
}
