/*
 * =========================================================
 * ECHELONX – INSIGHTS ARTIKELSEITEN
 * Gemeinsames Premium-Design
 * Version 1.0
 * =========================================================
 */

.article-page,
.article-page *,
.article-page *::before,
.article-page *::after {
  box-sizing: border-box;
}

.article-page {
  --article-black: #11110f;
  --article-dark: #1b1a17;
  --article-gold: #c6a166;
  --article-gold-dark: #96703a;
  --article-cream: #f7f4ed;
  --article-white: #ffffff;
  --article-text: #292823;
  --article-muted: #767269;
  --article-line: rgba(17, 17, 15, 0.12);
  --article-soft-line: rgba(198, 161, 102, 0.25);

  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(
      180deg,
      #faf8f3 0%,
      #ffffff 38%,
      #f7f3eb 100%
    );
  color: var(--article-text);
}

/*
 * =========================================================
 * KOPFZEILE
 * =========================================================
 */

.article-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(17, 17, 15, 0.09);
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.article-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(100%, 1500px);
  min-height: 82px;
  margin: 0 auto;
  padding: 0 34px;
}

.article-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--article-black);
  text-decoration: none;
}

.article-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--article-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 33px;
  font-weight: 700;
  line-height: 1;
  text-shadow:
    0 5px 14px rgba(17, 17, 15, 0.2);
}

.article-brand-word {
  font-size: 22px;
  letter-spacing: 0.24em;
  text-transform: lowercase;
}

.article-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-back-link,
.article-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.article-back-link {
  border: 1px solid rgba(17, 17, 15, 0.13);
  background: rgba(255, 255, 255, 0.7);
  color: var(--article-black);
}

.article-back-link span {
  color: var(--article-gold-dark);
  font-size: 16px;
}

.article-contact-link {
  border: 1px solid var(--article-black);
  background: var(--article-black);
  color: #ffffff;
}

.article-contact-link span {
  color: var(--article-gold);
  font-size: 16px;
}

.article-back-link:hover,
.article-contact-link:hover {
  transform: translateY(-2px);
}

.article-back-link:hover {
  border-color: var(--article-gold);
}

.article-contact-link:hover {
  border-color: var(--article-gold);
  background: var(--article-gold);
  color: var(--article-black);
}

.article-contact-link:hover span {
  color: var(--article-black);
}

/*
 * =========================================================
 * HERO
 * =========================================================
 */

.article-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 32px 90px;
  border-bottom: 1px solid var(--article-soft-line);
  background:
    radial-gradient(
      circle at 88% 15%,
      rgba(198, 161, 102, 0.16),
      transparent 29%
    ),
    linear-gradient(
      135deg,
      #f9f6ef 0%,
      #ffffff 53%,
      #f2ecdf 100%
    );
}

.article-hero::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -180px;
  width: 630px;
  height: 630px;
  border: 1px solid rgba(198, 161, 102, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.article-hero::after {
  content: "X";
  position: absolute;
  right: 3%;
  bottom: -125px;
  color: rgba(17, 17, 15, 0.026);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(280px, 27vw, 500px);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.article-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(300px, 0.8fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: end;
  width: min(100%, 1320px);
  margin: 0 auto;
}

.article-kicker {
  margin: 0 0 24px;
  color: var(--article-gold-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.article-hero h1 {
  max-width: 920px;
  margin: 0;
  color: var(--article-black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 7vw, 102px);
  font-weight: 400;
  line-height: 0.97;
  letter-spacing: -0.055em;
}

.article-hero-summary {
  max-width: 760px;
  margin: 30px 0 0;
  color: var(--article-muted);
  font-size: 18px;
  line-height: 1.75;
}

.article-hero-meta {
  padding: 4px 0 4px 32px;
  border-left: 1px solid rgba(198, 161, 102, 0.52);
}

.article-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--article-line);
}

.article-meta-row:first-child {
  padding-top: 0;
}

.article-meta-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.article-meta-label {
  color: var(--article-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.article-meta-value {
  color: var(--article-black);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

/*
 * =========================================================
 * ARTIKELBEREICH
 * =========================================================
 */

.article-main {
  position: relative;
  padding: 96px 32px 120px;
}

.article-layout {
  display: grid;
  grid-template-columns:
    minmax(220px, 0.28fr)
    minmax(0, 0.72fr);
  gap: clamp(55px, 8vw, 120px);
  width: min(100%, 1220px);
  margin: 0 auto;
}

/*
 * =========================================================
 * SEITENLEISTE
 * =========================================================
 */

.article-sidebar {
  align-self: start;
  position: sticky;
  top: 115px;
}

.article-sidebar-box {
  padding: 26px 24px;
  border: 1px solid var(--article-soft-line);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.95),
      rgba(247, 244, 237, 0.92)
    );
  box-shadow:
    0 18px 45px rgba(17, 17, 15, 0.06);
}

.article-sidebar-title {
  margin: 0 0 18px;
  color: var(--article-gold-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-toc {
  display: grid;
  gap: 0;
}

.article-toc a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--article-line);
  color: var(--article-muted);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.article-toc a:last-child {
  border-bottom: 0;
}

.article-toc a::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border: 1px solid var(--article-gold);
  border-radius: 50%;
}

.article-toc a:hover {
  color: var(--article-black);
  transform: translateX(4px);
}

.article-sidebar-note {
  margin-top: 22px;
  padding: 22px;
  border-radius: 16px;
  background: var(--article-black);
  color: #ffffff;
}

.article-sidebar-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.69);
  font-size: 12px;
  line-height: 1.65;
}

.article-sidebar-note strong {
  display: block;
  margin-bottom: 9px;
  color: var(--article-gold);
  font-size: 12px;
}

/*
 * =========================================================
 * ARTIKELTEXT
 * =========================================================
 */

.article-content {
  width: min(100%, 820px);
}

.article-content > p:first-child {
  margin-top: 0;
  color: var(--article-black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.article-content p {
  margin: 0 0 25px;
  color: #4f4c45;
  font-size: 17px;
  line-height: 1.85;
}

.article-content h2 {
  scroll-margin-top: 115px;
  margin: 74px 0 24px;
  color: var(--article-black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4vw, 57px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.article-content h3 {
  scroll-margin-top: 115px;
  margin: 48px 0 18px;
  color: var(--article-black);
  font-size: 20px;
  line-height: 1.4;
}

.article-content strong {
  color: var(--article-black);
  font-weight: 700;
}

.article-content a {
  color: var(--article-gold-dark);
  font-weight: 700;
  text-decoration-color: rgba(198, 161, 102, 0.7);
  text-underline-offset: 4px;
}

.article-content ul,
.article-content ol {
  display: grid;
  gap: 14px;
  margin: 28px 0 34px;
  padding-left: 0;
  list-style: none;
}

.article-content li {
  position: relative;
  padding-left: 34px;
  color: #4f4c45;
  font-size: 16px;
  line-height: 1.75;
}

.article-content ul li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 3px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--article-gold);
  border-radius: 50%;
  background: rgba(198, 161, 102, 0.09);
}

.article-content ol {
  counter-reset: article-counter;
}

.article-content ol li {
  counter-increment: article-counter;
}

.article-content ol li::before {
  content: counter(article-counter, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--article-gold-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/*
 * =========================================================
 * HERVORHEBUNGEN
 * =========================================================
 */

.article-quote {
  position: relative;
  margin: 52px 0;
  padding: 34px 38px 34px 43px;
  overflow: hidden;
  border-left: 4px solid var(--article-gold);
  border-radius: 0 18px 18px 0;
  background:
    linear-gradient(
      135deg,
      #171713,
      #27241e
    );
  box-shadow:
    0 24px 55px rgba(17, 17, 15, 0.14);
}

.article-quote::after {
  content: "“";
  position: absolute;
  top: -28px;
  right: 20px;
  color: rgba(198, 161, 102, 0.14);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 170px;
  line-height: 1;
  pointer-events: none;
}

.article-quote p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.6vw, 35px);
  line-height: 1.45;
}

.article-quote span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 18px;
  color: var(--article-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.article-highlight {
  margin: 44px 0;
  padding: 28px 30px;
  border: 1px solid var(--article-soft-line);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(247, 244, 237, 0.95)
    );
  box-shadow:
    0 15px 38px rgba(17, 17, 15, 0.055);
}

.article-highlight-label {
  margin: 0 0 12px;
  color: var(--article-gold-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-highlight p:last-child {
  margin-bottom: 0;
}

.article-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 42px 0;
}

.article-fact {
  padding: 24px;
  border: 1px solid var(--article-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

.article-fact-number {
  display: block;
  margin-bottom: 12px;
  color: var(--article-gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.article-fact strong {
  display: block;
  margin-bottom: 7px;
}

.article-fact p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

/*
 * =========================================================
 * ARTIKELABSCHLUSS
 * =========================================================
 */

.article-conclusion {
  margin-top: 78px;
  padding-top: 38px;
  border-top: 1px solid var(--article-line);
}

.article-conclusion-label {
  margin: 0 0 15px;
  color: var(--article-gold-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.article-conclusion h2 {
  margin-top: 0;
}

.article-cta {
  position: relative;
  overflow: hidden;
  margin-top: 65px;
  padding: 48px;
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(198, 161, 102, 0.19),
      transparent 32%
    ),
    var(--article-black);
  color: #ffffff;
}

.article-cta::after {
  content: "X";
  position: absolute;
  right: 24px;
  bottom: -85px;
  color: rgba(198, 161, 102, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 210px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.article-cta-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.article-cta-label {
  margin: 0 0 15px;
  color: var(--article-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.article-cta h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(36px, 4vw, 55px);
}

.article-cta p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.7;
}

.article-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 56px;
  margin-top: 28px;
  padding: 0 22px;
  border: 1px solid var(--article-gold);
  border-radius: 3px;
  background: var(--article-gold);
  color: var(--article-black);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.article-cta-link span {
  font-size: 17px;
}

.article-cta-link:hover {
  background: transparent;
  color: #ffffff;
  transform: translateY(-2px);
}

/*
 * =========================================================
 * WEITERE ARTIKEL
 * =========================================================
 */

.article-related {
  padding: 100px 32px 110px;
  border-top: 1px solid var(--article-soft-line);
  background:
    linear-gradient(
      180deg,
      #f4efe5,
      #faf8f3
    );
}

.article-related-inner {
  width: min(100%, 1220px);
  margin: 0 auto;
}

.article-related-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}

.article-related-heading p {
  margin: 0 0 10px;
  color: var(--article-gold-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.article-related-heading h2 {
  margin: 0;
  color: var(--article-black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.article-related-all {
  color: var(--article-black);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.article-related-all span {
  margin-left: 10px;
  color: var(--article-gold-dark);
  font-size: 16px;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.article-related-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--article-line);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.83);
  color: var(--article-black);
  text-decoration: none;
  box-shadow:
    0 16px 38px rgba(17, 17, 15, 0.055);
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.article-related-card:hover {
  border-color: rgba(198, 161, 102, 0.75);
  box-shadow:
    0 25px 55px rgba(17, 17, 15, 0.11);
  transform: translateY(-6px);
}

.article-related-category {
  color: var(--article-gold-dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-related-card h3 {
  margin: 25px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.article-related-card p {
  margin: 0;
  color: var(--article-muted);
  font-size: 13px;
  line-height: 1.65;
}

.article-related-arrow {
  display: block;
  margin-top: auto;
  padding-top: 25px;
  color: var(--article-gold-dark);
  font-size: 20px;
}

/*
 * =========================================================
 * FOOTER
 * =========================================================
 */

.article-footer {
  background: var(--article-black);
  color: #ffffff;
}

.article-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(100%, 1320px);
  min-height: 120px;
  margin: 0 auto;
  padding: 30px 34px;
}

.article-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-footer-brand strong {
  color: var(--article-gold);
  font-size: 15px;
}

.article-footer-brand span,
.article-footer-meta {
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
}

.article-footer-meta {
  text-align: right;
}

/*
 * =========================================================
 * FOKUS
 * =========================================================
 */

.article-brand:focus-visible,
.article-back-link:focus-visible,
.article-contact-link:focus-visible,
.article-toc a:focus-visible,
.article-cta-link:focus-visible,
.article-related-card:focus-visible,
.article-related-all:focus-visible {
  outline: 3px solid rgba(198, 161, 102, 0.45);
  outline-offset: 4px;
}

/*
 * =========================================================
 * TABLET
 * =========================================================
 */

@media (max-width: 1050px) {
  .article-hero {
    padding-top: 90px;
  }

  .article-hero-inner {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .article-hero-meta {
    max-width: 650px;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .article-sidebar-box {
    display: none;
  }

  .article-sidebar-note {
    max-width: 700px;
    margin-top: 0;
  }

  .article-content {
    width: 100%;
    max-width: 850px;
  }

  .article-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-related-card:last-child {
    grid-column: 1 / -1;
  }
}

/*
 * =========================================================
 * SMARTPHONE
 * =========================================================
 */

@media (max-width: 720px) {
  .article-header-inner {
    min-height: 70px;
    padding: 0 16px;
  }

  .article-brand-word {
    font-size: 17px;
  }

  .article-header-actions {
    gap: 7px;
  }

  .article-back-link {
    width: 46px;
    min-height: 46px;
    padding: 0;
    font-size: 0;
  }

  .article-back-link span {
    font-size: 18px;
  }

  .article-contact-link {
    min-height: 46px;
    padding: 0 14px;
    font-size: 9px;
  }

  .article-hero {
    padding: 72px 18px 65px;
  }

  .article-hero::after {
    right: -80px;
    bottom: -70px;
    font-size: 280px;
  }

  .article-hero h1 {
    font-size: clamp(47px, 14vw, 68px);
    line-height: 0.99;
  }

  .article-hero-summary {
    margin-top: 24px;
    font-size: 16px;
  }

  .article-hero-meta {
    padding-left: 20px;
  }

  .article-main {
    padding: 68px 18px 85px;
  }

  .article-content > p:first-child {
    font-size: 24px;
  }

  .article-content p {
    font-size: 16px;
    line-height: 1.8;
  }

  .article-content h2 {
    margin-top: 58px;
    font-size: 39px;
  }

  .article-content h3 {
    margin-top: 40px;
  }

  .article-quote {
    margin: 42px -4px;
    padding: 30px 25px 30px 28px;
  }

  .article-quote p {
    font-size: 25px;
  }

  .article-highlight {
    padding: 24px 22px;
  }

  .article-fact-grid {
    grid-template-columns: 1fr;
  }

  .article-cta {
    padding: 34px 25px;
  }

  .article-cta h2 {
    font-size: 36px;
  }

  .article-related {
    padding: 75px 18px 85px;
  }

  .article-related-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-related-grid {
    grid-template-columns: 1fr;
  }

  .article-related-card:last-child {
    grid-column: auto;
  }

  .article-related-card {
    min-height: 270px;
  }

  .article-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px 18px;
  }

  .article-footer-meta {
    text-align: left;
  }
}

/*
 * =========================================================
 * KLEINE SMARTPHONES
 * =========================================================
 */

@media (max-width: 430px) {
  .article-contact-link {
    font-size: 0;
  }

  .article-contact-link span {
    font-size: 18px;
  }

  .article-hero h1 {
    font-size: 46px;
  }

  .article-meta-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .article-meta-value {
    text-align: left;
  }

  .article-cta-link {
    width: 100%;
    justify-content: space-between;
  }
}

/*
 * =========================================================
 * REDUZIERTE BEWEGUNG
 * =========================================================
 */

@media (prefers-reduced-motion: reduce) {
  .article-page *,
  .article-page *::before,
  .article-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Datenschutzerklärung: lange Überschrift anpassen */
.privacy-page .article-hero h1 {
  max-width: 100%;
  font-size: clamp(42px, 5vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

@media (max-width: 720px) {
  .privacy-page .article-hero h1 {
    font-size: clamp(38px, 11vw, 58px);
    overflow-wrap: break-word;
    hyphens: auto;
  }
}