/* GBP Kategorien page - page-scoped redesign */

body.page-gbp-kategorien {
  --gbp-bg: #f4f7f4;
  --gbp-paper: #fbfdfb;
  --gbp-surface: #ffffff;
  --gbp-ink: #10272a;
  --gbp-muted: #617176;
  --gbp-line: rgba(16, 39, 42, 0.13);
  --gbp-soft-line: rgba(16, 39, 42, 0.08);
  --gbp-deep: #06292c;
  --gbp-deep-2: #0b3a39;
  --gbp-teal: #1d746c;
  --gbp-cyan: #a6e1da;
  --gbp-lime: #d9ef76;
  --gbp-gold: #f2bd63;
  --gbp-rose: #d86f58;
  --gbp-shadow: 0 24px 70px rgba(9, 31, 33, 0.14);
  --gbp-soft-shadow: 0 14px 34px rgba(9, 31, 33, 0.08);
  background:
    linear-gradient(to right, rgba(16, 39, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 39, 42, 0.03) 1px, transparent 1px),
    var(--gbp-bg);
  background-size: 84px 84px, 84px 84px, auto;
  color: var(--gbp-ink);
}

body.page-gbp-kategorien .site-header {
  background: rgba(248, 251, 248, 0.96);
  border-bottom-color: rgba(16, 39, 42, 0.10);
}

body.page-gbp-kategorien .nav-link[aria-current="page"],
body.page-gbp-kategorien .mobile-link[aria-current="page"] {
  color: var(--gbp-deep);
  background: rgba(29, 116, 108, 0.10);
  font-weight: 800;
}

body.page-gbp-kategorien .mobile-nav {
  background: rgba(248, 251, 248, 0.98);
  border-top: 1px solid rgba(16, 39, 42, 0.10);
  border-bottom: 1px solid rgba(16, 39, 42, 0.10);
  box-shadow: 0 18px 42px rgba(9, 31, 33, 0.16);
}

body.page-gbp-kategorien .mobile-link {
  min-height: 52px;
  border: 1px solid rgba(16, 39, 42, 0.09);
  border-radius: 8px;
  background: #ffffff;
  color: var(--gbp-ink);
  font-weight: 800;
}

body.page-gbp-kategorien .mobile-nav .btn {
  width: 100%;
}

body.page-gbp-kategorien .gbp-studio {
  overflow: clip;
}

body.page-gbp-kategorien .gbp-studio *,
body.page-gbp-kategorien .gbp-studio *::before,
body.page-gbp-kategorien .gbp-studio *::after {
  box-sizing: border-box;
}

body.page-gbp-kategorien .gbp-studio h1,
body.page-gbp-kategorien .gbp-studio h2,
body.page-gbp-kategorien .gbp-studio h3,
body.page-gbp-kategorien .gbp-studio p {
  overflow-wrap: anywhere;
}

body.page-gbp-kategorien .gbp-studio .btn {
  min-width: 0;
  white-space: normal;
}

body.page-gbp-kategorien .gbp-studio .btn-primary {
  background: linear-gradient(135deg, var(--gbp-lime), #f2ff9a);
  border-color: rgba(217, 239, 118, 0.62);
  color: #153033;
  box-shadow: 0 18px 42px rgba(5, 37, 40, 0.24);
}

body.page-gbp-kategorien .gbp-studio .btn-ghost {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--gbp-deep);
}

.gbp-hero {
  position: relative;
  isolation: isolate;
  padding: 58px 0 74px;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #06272a 0%, #0a3c3a 54%, #164b43 100%);
  background-size: 72px 72px, 72px 72px, auto;
  color: rgba(255, 255, 255, 0.92);
}

.gbp-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 26px;
  background: linear-gradient(90deg, var(--gbp-lime), var(--gbp-cyan), var(--gbp-gold));
  opacity: 0.92;
  z-index: -1;
}

.gbp-hero::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 38%;
  height: 100%;
  background:
    linear-gradient(140deg, transparent 0 18%, rgba(255, 255, 255, 0.055) 18% 19%, transparent 19% 100%),
    linear-gradient(135deg, rgba(217, 239, 118, 0.13), rgba(166, 225, 218, 0.04));
  z-index: -1;
}

.gbp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: 48px;
  align-items: center;
}

.gbp-hero-copy {
  max-width: 760px;
  animation: gbp-rise 620ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.gbp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.66);
}

.gbp-breadcrumb a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

.gbp-breadcrumb a:hover {
  color: #ffffff;
}

.gbp-breadcrumb [aria-current] {
  color: var(--gbp-lime);
  font-weight: 800;
}

.gbp-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 4.15rem;
  line-height: 0.97;
  letter-spacing: 0;
  color: #ffffff;
}

.gbp-hero-lead {
  max-width: 690px;
  margin: 26px 0 0;
  font-size: 1.18rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.78);
}

.gbp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.gbp-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin-top: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.10);
}

.gbp-proof-strip div {
  min-height: 104px;
  padding: 18px;
  background: rgba(5, 31, 34, 0.54);
}

.gbp-proof-strip strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--gbp-lime);
}

.gbp-proof-strip span {
  display: block;
  margin-top: 7px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.gbp-signal-board {
  position: relative;
  align-self: center;
  min-height: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.07)),
    rgba(5, 29, 31, 0.72);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  animation: gbp-board-in 720ms cubic-bezier(0.2, 0.8, 0.2, 1) 90ms both;
}

.gbp-board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.gbp-board-head span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.54);
}

.gbp-board-head strong {
  max-width: 210px;
  text-align: right;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.38rem;
  line-height: 1.08;
  letter-spacing: 0;
  color: #ffffff;
}

.gbp-board-flow {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.gbp-board-cell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 14px;
  min-height: 88px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.gbp-board-cell span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--gbp-cyan);
  font-weight: 900;
  font-size: 0.8rem;
}

.gbp-board-cell strong {
  font-size: 1rem;
  color: #ffffff;
}

.gbp-board-cell p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.48;
}

.gbp-board-cell.is-active {
  background: rgba(217, 239, 118, 0.13);
  border-color: rgba(217, 239, 118, 0.35);
}

.gbp-board-cell.is-active span {
  background: var(--gbp-lime);
  color: #123033;
}

.gbp-board-cell.is-warn {
  border-color: rgba(242, 189, 99, 0.36);
}

.gbp-board-note {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  background: rgba(166, 225, 218, 0.10);
  border: 1px solid rgba(166, 225, 218, 0.20);
}

.gbp-board-note span {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 44%, var(--gbp-cyan) 44% 56%, transparent 56%),
    linear-gradient(0deg, transparent 44%, var(--gbp-cyan) 44% 56%, transparent 56%);
}

.gbp-board-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.93rem;
  line-height: 1.55;
}

.gbp-rule-strip {
  padding: 42px 0;
  background: var(--gbp-paper);
  border-bottom: 1px solid var(--gbp-line);
}

.gbp-rule-card {
  display: grid;
  grid-template-columns: auto minmax(230px, 0.8fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 8px;
  background: var(--gbp-surface);
  border: 1px solid var(--gbp-line);
  box-shadow: var(--gbp-soft-shadow);
}

.gbp-rule-mark {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 8px;
  background: var(--gbp-deep);
  color: var(--gbp-lime);
  font-family: "Newsreader", Georgia, serif;
  font-size: 2.2rem;
  line-height: 1;
}

.gbp-section-label {
  margin: 0 0 10px;
  color: var(--gbp-teal);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.gbp-rule-card h2,
.gbp-section h2,
.gbp-audit-card h2,
.gbp-close-card h2 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 2.7rem;
  line-height: 1.04;
  letter-spacing: 0;
  color: var(--gbp-ink);
}

.gbp-rule-card > p {
  margin: 0;
  color: var(--gbp-muted);
  line-height: 1.7;
}

.gbp-section {
  padding: 92px 0;
  background: rgba(251, 253, 251, 0.72);
}

.gbp-section:nth-of-type(odd) {
  background: rgba(244, 247, 244, 0.78);
}

.gbp-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 54px;
  align-items: start;
}

.gbp-section-copy {
  position: sticky;
  top: calc(var(--header-offset, 90px) + 22px);
}

.gbp-section-copy p:not(.gbp-section-label),
.gbp-section-head p:not(.gbp-section-label) {
  margin: 16px 0 0;
  max-width: 650px;
  color: var(--gbp-muted);
  font-size: 1.02rem;
  line-height: 1.74;
}

.gbp-section-head {
  max-width: 820px;
  margin-bottom: 38px;
}

.gbp-inline-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--gbp-teal);
  font-weight: 900;
  text-decoration-color: rgba(29, 116, 108, 0.34);
}

.gbp-step-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gbp-step-card,
.gbp-risk-card,
.gbp-example-card,
.gbp-related-card {
  position: relative;
  min-width: 0;
  border-radius: 8px;
  border: 1px solid var(--gbp-line);
  background: var(--gbp-surface);
  box-shadow: var(--gbp-soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.gbp-step-card {
  min-height: 232px;
  padding: 24px;
}

.gbp-step-card span,
.gbp-risk-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: rgba(29, 116, 108, 0.11);
  color: var(--gbp-teal);
  font-weight: 900;
  font-size: 0.82rem;
}

.gbp-step-card h3,
.gbp-risk-card h3,
.gbp-example-card h3,
.gbp-related-card h3 {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.26;
  letter-spacing: 0;
}

.gbp-step-card p,
.gbp-risk-card p,
.gbp-example-card p,
.gbp-related-card p {
  margin: 12px 0 0;
  color: var(--gbp-muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

.gbp-checklist-section {
  background:
    linear-gradient(to right, rgba(16, 39, 42, 0.045) 1px, transparent 1px),
    var(--gbp-paper);
  background-size: 84px 84px, auto;
  border-top: 1px solid var(--gbp-line);
  border-bottom: 1px solid var(--gbp-line);
}

.gbp-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: gbp-check;
}

.gbp-checklist li {
  position: relative;
  min-height: 118px;
  padding: 20px 20px 20px 72px;
  border-radius: 8px;
  border: 1px solid var(--gbp-line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--gbp-muted);
  line-height: 1.58;
  counter-increment: gbp-check;
}

.gbp-checklist li::before {
  content: counter(gbp-check, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--gbp-deep);
  color: var(--gbp-lime);
  font-weight: 900;
  font-size: 0.78rem;
}

.gbp-checklist strong {
  color: var(--gbp-ink);
}

.gbp-compare-section {
  background: var(--gbp-bg);
}

.gbp-compare-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--gbp-line);
  border-radius: 8px;
  background: var(--gbp-surface);
  box-shadow: var(--gbp-soft-shadow);
}

.gbp-compare-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.64fr) minmax(0, 1fr) minmax(0, 1fr);
  border-top: 1px solid var(--gbp-soft-line);
}

.gbp-compare-row:first-child {
  border-top: 0;
}

.gbp-compare-row span {
  padding: 18px;
  border-left: 1px solid var(--gbp-soft-line);
  color: var(--gbp-muted);
  line-height: 1.55;
}

.gbp-compare-row span:first-child {
  border-left: 0;
  color: var(--gbp-ink);
  font-weight: 900;
}

.gbp-compare-row.is-head {
  background: var(--gbp-deep);
}

.gbp-compare-row.is-head span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.gbp-mistakes-section {
  color: rgba(255, 255, 255, 0.88);
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, var(--gbp-deep) 0%, #103a39 100%);
  background-size: 74px 74px, 74px 74px, auto;
}

.gbp-mistakes-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: 50px;
  align-items: start;
}

.gbp-mistakes-section .gbp-section-copy {
  position: static;
}

.gbp-mistakes-section .gbp-section-label {
  color: var(--gbp-cyan);
}

.gbp-mistakes-section h2 {
  color: #ffffff;
}

.gbp-mistakes-section .gbp-section-copy p:not(.gbp-section-label) {
  color: rgba(255, 255, 255, 0.70);
}

.gbp-risk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gbp-risk-card {
  min-height: 214px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.gbp-risk-card span {
  background: rgba(216, 111, 88, 0.18);
  color: #ffb29e;
}

.gbp-risk-card h3 {
  color: #ffffff;
}

.gbp-risk-card p {
  color: rgba(255, 255, 255, 0.68);
}

.gbp-example-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gbp-example-card {
  min-height: 270px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.gbp-example-card::before {
  content: "";
  width: 44px;
  height: 6px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--gbp-teal), var(--gbp-lime));
}

.gbp-example-card span {
  display: block;
  margin-top: auto;
  padding-top: 20px;
  color: var(--gbp-teal);
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 800;
}

.gbp-measure-section {
  background: var(--gbp-paper);
  border-top: 1px solid var(--gbp-line);
  border-bottom: 1px solid var(--gbp-line);
}

.gbp-measure-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}

.gbp-measure-layout .gbp-section-copy {
  position: static;
}

.gbp-measure-layout .btn {
  margin-top: 26px;
}

.gbp-measure-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--gbp-line);
  border-radius: 8px;
  background: var(--gbp-surface);
  box-shadow: var(--gbp-shadow);
}

.gbp-measure-panel div {
  display: grid;
  grid-template-columns: 96px minmax(120px, 0.5fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px;
  border-top: 1px solid var(--gbp-soft-line);
}

.gbp-measure-panel div:first-child {
  border-top: 0;
}

.gbp-measure-panel span {
  color: var(--gbp-teal);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.gbp-measure-panel strong {
  font-size: 1.05rem;
  line-height: 1.28;
}

.gbp-measure-panel p {
  margin: 0;
  color: var(--gbp-muted);
  line-height: 1.58;
}

.gbp-related-section {
  background: var(--gbp-bg);
}

.gbp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gbp-related-card {
  min-height: 230px;
  padding: 24px 24px 62px;
  color: inherit;
  text-decoration: none;
}

body.page-gbp-kategorien main a.gbp-related-card,
body.page-gbp-kategorien main a.gbp-related-card:hover,
body.page-gbp-kategorien main a.gbp-related-card:focus-visible {
  text-decoration: none;
}

.gbp-related-card span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--gbp-teal);
  font-weight: 900;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.gbp-related-card::after {
  content: "Weiterlesen";
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: var(--gbp-teal);
  font-weight: 900;
  font-size: 0.88rem;
}

.gbp-audit-section {
  padding: 76px 0;
  background: linear-gradient(135deg, var(--gbp-deep), var(--gbp-deep-2));
  color: rgba(255, 255, 255, 0.86);
}

.gbp-audit-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.gbp-audit-card .gbp-section-label {
  color: var(--gbp-cyan);
}

.gbp-audit-card h2,
.gbp-close-card h2 {
  color: #ffffff;
}

.gbp-audit-card p:not(.gbp-section-label) {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.7;
}

.gbp-audit-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 250px;
}

.gbp-faq-section {
  background: var(--gbp-paper);
}

.gbp-faq-list {
  display: grid;
  gap: 10px;
}

.gbp-faq-item {
  border: 1px solid var(--gbp-line);
  border-radius: 8px;
  background: var(--gbp-surface);
  box-shadow: 0 8px 24px rgba(9, 31, 33, 0.045);
}

.gbp-faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 20px 58px 20px 20px;
  font-weight: 900;
  line-height: 1.42;
}

.gbp-faq-item summary::-webkit-details-marker {
  display: none;
}

.gbp-faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--gbp-teal);
  border-bottom: 2px solid var(--gbp-teal);
  transform: translateY(-62%) rotate(45deg);
  transition: transform 180ms ease;
}

.gbp-faq-item[open] summary::after {
  transform: translateY(-38%) rotate(-135deg);
}

.gbp-faq-body {
  padding: 0 20px 20px;
  color: var(--gbp-muted);
  line-height: 1.68;
}

.gbp-close-section {
  padding: 84px 0 96px;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    var(--gbp-deep);
  background-size: 72px 72px, 72px 72px, auto;
}

.gbp-close-card {
  max-width: 860px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.84);
}

.gbp-close-card .gbp-section-label {
  color: var(--gbp-cyan);
}

.gbp-close-card p:not(.gbp-section-label) {
  max-width: 710px;
  margin: 16px 0 28px;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.7;
}

@media (hover: hover) {
  .gbp-board-cell:hover,
  .gbp-step-card:hover,
  .gbp-risk-card:hover,
  .gbp-example-card:hover,
  .gbp-related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--gbp-shadow);
    border-color: rgba(29, 116, 108, 0.24);
  }

  .gbp-risk-card:hover {
    border-color: rgba(255, 255, 255, 0.24);
  }
}

body.page-gbp-kategorien .footer {
  margin-top: 0;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #061f22, #041719);
  background-size: 74px 74px, 74px 74px, auto;
}

body.page-gbp-kategorien .footer::before {
  display: none;
}

@keyframes gbp-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gbp-board-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1080px) {
  .gbp-hero-grid,
  .gbp-section-grid,
  .gbp-mistakes-grid,
  .gbp-measure-layout {
    grid-template-columns: 1fr;
  }

  .gbp-section-copy {
    position: static;
  }

  .gbp-hero h1 {
    font-size: 3.65rem;
    line-height: 1.02;
  }

  .gbp-rule-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .gbp-rule-card > p {
    grid-column: 2;
  }

  .gbp-signal-board {
    min-height: 0;
  }

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

@media (max-width: 820px) {
  body.page-gbp-kategorien main#main {
    padding-top: 96px;
  }

  .gbp-hero {
    padding: 54px 0 70px;
  }

  .gbp-hero::after {
    width: 100%;
    opacity: 0.35;
  }

  .gbp-hero h1 {
    font-size: 3.45rem;
    line-height: 1.02;
  }

  .gbp-proof-strip,
  .gbp-step-stack,
  .gbp-checklist,
  .gbp-risk-grid,
  .gbp-related-grid {
    grid-template-columns: 1fr;
  }

  .gbp-rule-card {
    grid-template-columns: 1fr;
  }

  .gbp-rule-card > p {
    grid-column: auto;
  }

  .gbp-compare-row {
    grid-template-columns: 1fr;
  }

  .gbp-compare-row span {
    border-left: 0;
    border-top: 1px solid var(--gbp-soft-line);
  }

  .gbp-compare-row span:first-child {
    border-top: 0;
    background: rgba(29, 116, 108, 0.08);
  }

  .gbp-compare-row:not(.is-head) span:nth-child(2)::before,
  .gbp-compare-row:not(.is-head) span:nth-child(3)::before {
    display: block;
    margin-bottom: 5px;
    color: var(--gbp-teal);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.10em;
  }

  .gbp-compare-row:not(.is-head) span:nth-child(2)::before {
    content: "Gute Entscheidung";
  }

  .gbp-compare-row:not(.is-head) span:nth-child(3)::before {
    content: "Risiko";
  }

  .gbp-compare-row.is-head {
    display: none;
  }

  .gbp-measure-panel div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .gbp-audit-card {
    grid-template-columns: 1fr;
  }

  .gbp-audit-actions {
    min-width: 0;
  }
}

@media (max-width: 620px) {
  body.page-gbp-kategorien {
    background-size: 58px 58px, 58px 58px, auto;
  }

  body.page-gbp-kategorien main#main {
    padding-top: 88px;
  }

  .gbp-hero {
    padding: 36px 0 48px;
  }

  .gbp-hero h1 {
    font-size: 2.32rem;
  }

  .gbp-hero-lead {
    font-size: 1.02rem;
    line-height: 1.66;
  }

  .gbp-hero-actions,
  .gbp-audit-actions {
    align-items: stretch;
  }

  .gbp-hero-actions .btn,
  .gbp-audit-actions .btn,
  .gbp-close-card .btn {
    width: 100%;
  }

  .gbp-signal-board,
  .gbp-rule-card,
  .gbp-audit-card,
  .gbp-close-card {
    padding: 20px;
  }

  .gbp-proof-strip div {
    min-height: 0;
    padding: 14px 16px;
  }

  .gbp-board-head {
    display: grid;
  }

  .gbp-board-head strong {
    text-align: left;
  }

  .gbp-board-cell {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 0;
    padding: 12px;
    gap: 4px 12px;
  }

  .gbp-board-cell span {
    grid-row: span 2;
    width: 34px;
    height: 34px;
  }

  .gbp-board-cell p {
    display: none;
  }

  .gbp-board-note {
    display: none;
  }

  .gbp-rule-card h2,
  .gbp-section h2,
  .gbp-audit-card h2,
  .gbp-close-card h2 {
    font-size: 2.1rem;
    line-height: 1.08;
  }

  .gbp-section {
    padding: 66px 0;
  }

  .gbp-section-grid,
  .gbp-mistakes-grid,
  .gbp-measure-layout {
    gap: 32px;
  }

  .gbp-step-card,
  .gbp-risk-card,
  .gbp-example-card,
  .gbp-related-card {
    min-height: 0;
    padding: 20px;
  }

  .gbp-checklist li {
    min-height: 0;
    padding: 18px 18px 18px 64px;
  }

  .gbp-checklist li::before {
    left: 16px;
    top: 18px;
    width: 34px;
    height: 34px;
  }

  .gbp-example-grid {
    grid-template-columns: 1fr;
  }

  .gbp-audit-section,
  .gbp-close-section {
    padding: 56px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gbp-hero-copy,
  .gbp-signal-board {
    animation: none;
  }

  .gbp-board-cell,
  .gbp-step-card,
  .gbp-risk-card,
  .gbp-example-card,
  .gbp-related-card {
    transition: none;
  }
}
