/* =========================================================
   BEYOND STEPS — Wirkfeld Detailseiten V2
   Master: Steuern
   ========================================================= */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter/inter-v19-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter/inter-v19-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/source-sans-3/source-sans-3-v19-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bruno Ace SC";
  src: url("../assets/fonts/bruno-ace-sc/bruno-ace-sc-v7-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Michroma";
  src: url("../assets/fonts/michroma/michroma-v21-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-brand: "Bruno Ace SC", sans-serif;
  --font-brand-sub: "Michroma", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --font-ui: "Inter", sans-serif;

  --page-width: 1380px;
  --page-padding-x: 54px;
  --color-bg: #02060a;
  --color-text-main: #c9edf3;
  --color-text-strong: #e6f8fb;
  --color-text-soft: rgba(206, 233, 239, 0.82);
  --color-text-faint: rgba(174, 207, 214, 0.66);
  --color-cyan: rgba(94, 218, 234, 0.92);
  --color-cyan-soft: rgba(94, 218, 234, 0.18);
  --color-gold: rgba(220, 194, 136, 0.94);
  --color-gold-strong: rgba(232, 194, 116, 0.98);
  --color-gold-soft: rgba(220, 194, 136, 0.28);
  --color-icon-head: rgba(220, 194, 136, 0.58);
  --color-icon-soft: rgba(198, 223, 226, 0.54);
  --color-border: rgba(111, 206, 222, 0.18);
  --color-border-gold: rgba(220, 194, 136, 0.26);
  --panel-radius: 22px;
  --card-radius: 18px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--color-text-main);
  background: var(--color-bg);
  font-family: var(--font-body);
}

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

svg {
  overflow: visible;
}

.wirkfeld-page {
  position: relative;
  min-height: 100svh;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.48) 38%, rgba(0, 0, 0, 0.30) 68%, rgba(0, 0, 0, 0.66) 100%),
    radial-gradient(circle at 24% 18%, rgba(56, 128, 143, 0.18) 0%, rgba(56, 128, 143, 0) 34%),
    radial-gradient(circle at 78% 18%, rgba(219, 180, 104, 0.09) 0%, rgba(219, 180, 104, 0) 28%),
    url("../assets/img/backgrounds/bg-general-hd.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: brightness(0.74) saturate(0.98);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.72) 78%, rgba(0, 0, 0, 0.88) 100%),
    radial-gradient(circle at 50% 48%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.46) 76%);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: 32px var(--page-padding-x) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-logo-link {
  display: inline-flex;
  text-decoration: none;
}

.site-logo {
  width: 66px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}

.site-nav,
.legal-nav {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}

.site-nav a,
.legal-nav a {
  color: rgba(183, 225, 232, 0.78);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.site-nav a[aria-current="page"] {
  color: var(--color-gold);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: rgba(240, 221, 171, 0.96);
  text-shadow: 0 0 12px rgba(220, 194, 136, 0.20);
}

.site-logo-link:focus-visible,
.site-nav a:focus-visible,
.legal-nav a:focus-visible,
.detail-button:focus-visible {
  outline: 1px solid rgba(220, 194, 136, 0.72);
  outline-offset: 4px;
}

main {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: 54px var(--page-padding-x) 74px;
}

.detail-hero {
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(540px, 1.22fr);
  align-items: center;
  gap: 72px;
  padding: 8px 0 58px;
}

.detail-hero__visual {
  position: relative;
  min-height: 470px;
}

.steering-map {
  position: relative;
  width: min(100%, 495px);
  aspect-ratio: 1;
  margin: 0 auto;
  opacity: 0.96;
}

.steering-map::before {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 52%, rgba(15, 89, 108, 0.28) 0%, rgba(15, 89, 108, 0.04) 42%, rgba(0, 0, 0, 0) 70%);
  filter: blur(6px);
}

.steering-map svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.map-ring,
.map-grid,
.map-path,
.map-compass circle,
.map-compass path {
  fill: none;
  stroke: rgba(220, 194, 136, 0.48);
  stroke-width: 1.25;
}

.map-ring--outer {
  stroke: rgba(220, 194, 136, 0.72);
}

.map-ring--dash {
  stroke-dasharray: 3 8;
  stroke: rgba(220, 194, 136, 0.32);
}

.map-grid {
  stroke: rgba(114, 211, 225, 0.15);
}

.map-path {
  stroke: rgba(220, 194, 136, 0.50);
}

.map-path--soft {
  stroke: rgba(108, 221, 236, 0.23);
}

.map-node-group circle {
  fill: rgba(232, 194, 116, 0.98);
  stroke: rgba(255, 242, 200, 0.36);
  stroke-width: 2;
}

.map-compass path {
  stroke: rgba(232, 194, 116, 0.96);
  fill: rgba(220, 194, 136, 0.10);
  stroke-width: 1.5;
}

.map-compass circle {
  stroke: rgba(232, 194, 116, 0.72);
}

.map-label {
  position: absolute;
  z-index: 2;
  color: rgba(221, 233, 235, 0.78);
  font-family: var(--font-ui);
  font-size: clamp(0.60rem, 0.62vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.62);
}

.map-label--top-left { top: 11%; left: 6%; }
.map-label--top-right { top: 11%; right: 4%; }
.map-label--left { top: 50%; left: -1%; transform: translateY(-50%); }
.map-label--right { top: 50%; right: -2%; transform: translateY(-50%); }
.map-label--bottom-left { bottom: 8%; left: 16%; }
.map-label--bottom-right { bottom: 8%; right: 8%; }

.detail-hero__copy {
  max-width: 780px;
}

.detail-kicker {
  margin: 0 0 18px;
  color: rgba(220, 194, 136, 0.92);
  font-family: var(--font-brand-sub);
  font-size: clamp(0.64rem, 0.68vw, 0.78rem);
  line-height: 1.25;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.detail-hero h1 {
  margin: 0;
  color: transparent;
  background: linear-gradient(90deg, #e6f8fb 0%, #c2edf4 32%, #87d9e5 68%, #4eb6c6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-brand);
  font-size: clamp(2.45rem, 3.85vw, 4.25rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.035em;
}

.detail-hero h1 span {
  display: block;
}

.detail-claim {
  margin: 24px 0 0;
  color: rgba(232, 194, 116, 0.98);
  font-family: var(--font-brand-sub);
  font-size: clamp(1.18rem, 1.55vw, 1.92rem);
  line-height: 1.36;
  letter-spacing: 0.02em;
}

.detail-line {
  display: block;
  width: 52px;
  height: 2px;
  margin: 30px 0 0;
  background: linear-gradient(90deg, rgba(232, 194, 116, 0.96), rgba(232, 194, 116, 0));
}

.detail-tags {
  margin: 24px 0 0;
  color: rgba(204, 232, 237, 0.80);
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.22vw, 1.35rem);
  line-height: 1.52;
}

.detail-section {
  margin-top: 28px;
}

.detail-section + .detail-section {
  margin-top: 26px;
}

.detail-section--open {
  position: relative;
  overflow: visible;
  margin-top: 56px;
}

.detail-section--split + .detail-section--open {
  margin-top: 72px;
}

.detail-section--open + .detail-section--open {
  margin-top: 80px;
}

.detail-section--open + .impact-section,
.impact-section + .tools-section,
.tools-section + .detail-cta {
  margin-top: 72px;
}

.detail-section--open .detail-card__head--wide {
  padding: 0;
}

.detail-section--open .build-grid,
.detail-section--open .artifact-grid {
  padding: 26px 0 0;
  gap: 16px;
}

.detail-section--open .build-tile,
.detail-section--open .artifact-tile {
  border-color: rgba(132, 221, 233, 0.17);
  background:
    linear-gradient(180deg, rgba(8, 35, 47, 0.68) 0%, rgba(5, 20, 30, 0.70) 100%);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.026);
}

.detail-section--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.detail-card,
.tools-strip,
.detail-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--panel-radius);
  border: 1px solid var(--color-border-gold);
  background:
    linear-gradient(180deg, rgba(6, 19, 29, 0.56) 0%, rgba(4, 14, 22, 0.68) 100%);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    inset 0 0 0 1px rgba(87, 201, 218, 0.04);
}

.detail-card::before,
.tools-strip::before,
.detail-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 12%, rgba(97, 224, 240, 0.045) 0%, rgba(97, 224, 240, 0) 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0%, rgba(255, 255, 255, 0) 22%);
}

.detail-cta::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.06) 38%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012) 0%, rgba(255, 255, 255, 0) 36%);
}

.detail-list-card {
  padding: 36px 38px 32px;
}

.detail-card__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
}

.detail-card__head--wide {
  padding: 34px 38px 0;
}

.detail-card__head h2,
.tools-strip h2,
.detail-cta h2 {
  margin: 0;
  color: var(--color-gold);
  font-family: var(--font-brand-sub);
  font-size: clamp(1.05rem, 1.2vw, 1.42rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.detail-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--color-icon-head);
  opacity: 0.86;
}

.detail-icon svg,
.build-tile svg,
.artifact-tile svg,
.impact-grid svg,
.tools-strip__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.12;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}

.line-list li {
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  color: rgba(218, 239, 243, 0.86);
  font-size: clamp(1rem, 1.06vw, 1.16rem);
  line-height: 1.38;
  border-bottom: 1px solid rgba(166, 220, 229, 0.10);
}

.line-list li:last-child {
  border-bottom: 0;
}

.build-grid,
.artifact-grid,
.impact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 28px 38px 38px;
}

.build-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.build-tile,
.artifact-tile {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 16px;
  border-radius: 14px;
  border: 1px solid rgba(132, 221, 233, 0.15);
  background: linear-gradient(180deg, rgba(8, 32, 43, 0.72) 0%, rgba(5, 20, 30, 0.76) 100%);
  color: var(--color-icon-soft);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.build-tile svg {
  width: 42px;
  height: 42px;
}

.build-tile p,
.artifact-tile span,
.impact-grid span {
  margin: 0;
  color: rgba(222, 242, 245, 0.86);
  font-size: 1.02rem;
  line-height: 1.24;
}

.artifact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.artifact-tile {
  min-height: 130px;
}

.artifact-tile svg {
  width: 44px;
  height: 44px;
  color: var(--color-icon-soft);
}

.impact-card {
  padding-bottom: 6px;
}

.impact-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding-top: 30px;
}

.impact-grid article {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 18px;
  text-align: center;
  border-right: 1px solid rgba(166, 220, 229, 0.12);
}

.impact-grid article:last-child {
  border-right: 0;
}

.impact-grid svg {
  width: 42px;
  height: 42px;
  color: var(--color-icon-soft);
}

.tools-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 32px 38px;
}

.tools-strip__icon {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  color: var(--color-icon-head);
  opacity: 0.86;
}

.tools-strip h2,
.tools-strip p {
  position: relative;
  z-index: 1;
}

.tools-strip p {
  margin: 14px 0 0;
  color: rgba(207, 232, 237, 0.78);
  font-size: 0.98rem;
  line-height: 1.7;
}


.detail-cta {
  min-height: 300px;
  display: block;
  background:
    linear-gradient(90deg, rgba(1, 6, 10, 0.92) 0%, rgba(1, 6, 10, 0.82) 28%, rgba(1, 6, 10, 0.46) 52%, rgba(1, 6, 10, 0.14) 76%, rgba(1, 6, 10, 0.02) 100%),
    linear-gradient(180deg, rgba(1, 6, 10, 0.10) 0%, rgba(1, 6, 10, 0.18) 100%),
    url("../assets/img/backgrounds/bg-the-way.png") center center / cover no-repeat;
}

.detail-cta__copy {
  position: relative;
  z-index: 2;
  padding: 46px 54px;
}

.detail-cta h2 {
  margin-top: 0;
  color: transparent;
  background: linear-gradient(90deg, #e6f8fb 0%, #9adfe9 54%, #4eb6c6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 3.3vw, 4rem);
  letter-spacing: 0.04em;
}

.detail-cta p:not(.detail-kicker) {
  margin: 16px 0 0;
  color: rgba(232, 194, 116, 0.96);
  font-family: var(--font-body);
  font-size: clamp(1.08rem, 1.28vw, 1.45rem);
  line-height: 1.28;
}

.detail-button {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(220, 194, 136, 0.44);
  color: rgba(232, 246, 248, 0.92);
  background: rgba(3, 11, 15, 0.30);
  font-family: var(--font-ui);
  font-size: 0.98rem;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.detail-button:hover,
.detail-button:focus-visible {
  border-color: rgba(232, 194, 116, 0.86);
  color: rgba(255, 243, 204, 0.98);
  transform: translateY(-1px);
}

.site-footer {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: 0 var(--page-padding-x) 42px;
  display: flex;
  justify-content: flex-end;
}


/* Harmonized open section rhythm: headings outside content containers */
.detail-section--headed {
  margin-top: 52px;
}

.detail-section--split.detail-section--headed {
  align-items: start;
}

.detail-block {
  min-width: 0;
}

.detail-card__head--outside {
  padding: 0;
  margin-bottom: 22px;
}

.detail-list-card--body {
  padding: 26px 32px 24px;
}

.detail-list-card--body .line-list {
  margin-top: 0;
}

.impact-section .impact-card {
  padding: 0 0 6px;
}

.impact-section .impact-grid {
  padding: 30px 38px 38px;
}

.tools-section .tools-strip {
  display: block;
  padding: 26px 34px;
}

.tools-section .tools-strip p {
  margin: 0;
}

@media (max-width: 880px) {
  .detail-section--split + .detail-section--open {
    margin-top: 56px;
  }

  .detail-section--open + .detail-section--open,
  .detail-section--open + .impact-section,
  .impact-section + .tools-section,
  .tools-section + .detail-cta {
    margin-top: 56px;
  }
}

@media (max-width: 1180px) {
  :root {
    --page-padding-x: 34px;
  }

  .detail-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 20px;
  }

  .detail-hero__visual {
    min-height: auto;
    order: 2;
  }

  .detail-hero__copy {
    order: 1;
    max-width: 820px;
  }

  .steering-map {
    width: min(100%, 480px);
  }

  .build-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .impact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .impact-grid article:nth-child(3n) {
    border-right: 0;
  }

  .impact-grid article:nth-child(n + 4) {
    border-top: 1px solid rgba(166, 220, 229, 0.12);
  }
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 16px 22px;
  }

  main {
    padding-top: 40px;
  }

  .detail-hero {
    min-height: auto;
    padding-bottom: 34px;
  }

  .detail-section--split,
  .detail-cta {
    grid-template-columns: 1fr;
  }

  .build-grid,
  .artifact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-cta {
    min-height: 320px;
    background-position: 58% center;
  }

  .detail-cta::before {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.20) 58%, rgba(0, 0, 0, 0.02) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0) 54%);
  }
}

@media (max-width: 640px) {
  :root {
    --page-padding-x: 22px;
  }

  .site-logo {
    width: 56px;
  }

  .site-nav,
  .legal-nav {
    gap: 13px 18px;
  }

  .site-nav a,
  .legal-nav a {
    font-size: 0.72rem;
  }

  .detail-hero h1 {
    font-size: clamp(2.25rem, 13vw, 3.45rem);
  }

  .detail-claim {
    font-size: 1.08rem;
  }

  .map-label {
    display: none;
  }

  .detail-list-card,
  .detail-card__head--wide,
  .build-grid,
  .artifact-grid,
  .impact-grid,
  .tools-strip,
  .detail-cta__copy {
    padding-left: 22px;
    padding-right: 22px;
  }

  .build-grid,
  .artifact-grid,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .detail-section--open .detail-card__head--wide,
  .detail-section--open .build-grid,
  .detail-section--open .artifact-grid {
    padding-left: 0;
    padding-right: 0;
  }

  .impact-grid article,
  .impact-grid article:nth-child(n) {
    border-right: 0;
    border-top: 1px solid rgba(166, 220, 229, 0.12);
  }

  .impact-grid article:first-child {
    border-top: 0;
  }

  .tools-strip {
    grid-template-columns: 1fr;
  }



  .detail-card__head--outside {
    margin-bottom: 18px;
  }

  .site-footer {
    justify-content: flex-start;
  }
}
