:root {
  --panel-pad:clamp(12px, 2.4vw, 32px);
  --fs-display-hero:clamp(2.6rem, 1rem + 7vw, 8rem);
  --tinte:#2b3a8f;
}
html.tinte-aus {
  --tinte:var(--gold-text, #7d651a);
}
.panel {
  position: relative;
  margin-inline: var(--panel-pad);
}
.panel--paper {
  background: var(--bg);
  color: var(--ink);
}
.rubrik-kopf {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.rubrik-kopf::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: var(--ink);
}
.rubrik-kopf__num {
  flex: none;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 1.7rem + 1.6vw, 2.75rem);
  line-height: 1;
  color: var(--gold-text);
}
.rubrik-kopf__label {
  font-family:
    "Manrope",
    "Manrope Fallback",
    sans-serif;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
}
#prozess.panel--paper .step-num {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
#price-teaser.panel--paper {
  background: var(--bg);
  border-block: 0;
}
#price-teaser.panel--paper .price-teaser__eyebrow,
.rubrik-kopf__label {
  color: var(--gold-text);
}
#price-teaser.panel--paper .price-teaser__text {
  color: var(--ink);
}
#price-teaser.panel--paper .btn-ghost {
  background: rgba(255, 255, 255, .8);
  color: var(--ink);
  border-color: var(--line-strong);
}
#price-teaser.panel--paper .btn-ghost:hover {
  border-color: rgba(14, 14, 11, .35);
  background: rgba(255, 255, 255, .95);
}
#price-teaser .price-teaser__text b {
  display: inline-block;
  background: var(--ink);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.ad-box,
footer {
  position: relative;
}
.ad-box {
  border: 2px solid var(--ink);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 44px);
}
.ad-badge,
.ad-box::before {
  position: absolute;
  pointer-events: none;
}
.ad-box::before {
  content: "";
  inset: 6px;
  border: 1px solid var(--ink);
}
#price-teaser .ad-box {
  max-width: 900px;
}
#price-teaser.panel--paper .container {
  flex-direction: column;
  gap: 10px 30px;
}
.ad-badge {
  top: -37px;
  right: -37px;
  width: 116px;
  height: 116px;
  transform: rotate(-9deg);
}
.ad-badge__text,
.ad-seal {
  position: absolute;
  inset: 0;
  color: var(--gold-text);
}
.ad-seal {
  width: 100%;
  height: 100%;
}
.ad-badge__text {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-family:
    "Bytopian",
    "Bytopian Fallback",
    sans-serif;
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
}
@media (max-width: 560px) {
  .ad-badge {
    width: 76px;
    height: 76px;
    top: -24px;
    right: -4px;
  }
  .ad-badge__text {
    font-size: .34rem;
    letter-spacing: .03em;
  }
}
#rechner.panel--paper {
  border-block: 1px solid var(--line-strong);
}
#rechner #bb-calc-agency-price,
#rechner #bb-calc-bb-price,
#rechner [data-i18n="calc.diy.price"] {
  font-variant-numeric: tabular-nums;
}
.leadmagnet-cta.ad-box {
  background: var(--bg);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
footer {
  overflow: hidden;
}
.panel-watermark {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 18%);
  font-family:
    "Bytopian",
    "Bytopian Fallback",
    sans-serif;
  font-size: clamp(4rem, 16vw, 14rem);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  opacity: .04;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}
.panel-watermark::before {
  content: attr(data-wm);
}
footer .container {
  position: relative;
  z-index: 1;
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1.5px solid var(--tinte);
  border-radius: 2px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tinte);
  transform: rotate(-1.5deg);
}
.tmpl-card:nth-child(even) .tag-pill {
  transform: rotate(1.5deg);
}
.tmpl-card:nth-child(3n) .tag-pill {
  transform: rotate(-2deg);
}
.hero-headline {
  position: relative;
}
.hero-headline::before {
  content: "";
  position: absolute;
  inset: -14% -8%;
  z-index: -1;
  background:
    radial-gradient(
      ellipse 66% 72%at 50% 48%,
      #fafaf7 0,
      rgba(250, 250, 247, .99) 62%,
      rgba(250, 250, 247, .9) 86%,
      rgba(250, 250, 247, 0) 100%);
  pointer-events: none;
}
@media (max-width: 780px) {
  .hero-headline::before {
    inset: -8% -5%;
  }
}
.hero-content-plate {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: clamp(20px, 2.8vw, 40px);
  margin-top: clamp(18px, 2.4vw, 28px);
}
@media (max-width: 780px) {
  .hero-content-plate {
    padding: clamp(16px, 5vw, 24px);
    margin-top: 16px;
  }
}
.bb-blende {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: var(--bg);
  pointer-events: none;
  -webkit-clip-path: url(#bbBlendeClip);
  clip-path: url(#bbBlendeClip);
}
.kreisbahn {
  position: relative;
  max-width: 900px;
  margin: 0 auto clamp(32px, 5vw, 56px);
}
.kreisbahn-svg {
  display: block;
  width: 100%;
  height: clamp(56px, 9vw, 120px);
}
.kreisbahn-track {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.5;
}
.kreisbahn-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.kreisbahn-stations {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  list-style: none;
  margin: 0;
  padding: 0 clamp(4px, 2vw, 20px);
  pointer-events: none;
}
.kreisbahn-station {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(1.9rem, 4vw, 2.6rem);
  height: clamp(1.9rem, 4vw, 2.6rem);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-weight: 700;
  font-size: clamp(.95rem, 1.8vw, 1.2rem);
  line-height: 1;
  color: var(--gold-text);
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
@media (scripting: enabled) {
  .kreisbahn-line {
    stroke-dashoffset: 1;
  }
  .kreisbahn-station {
    opacity: .25;
    transform: translateY(4px);
  }
}
.kreisbahn-station.is-active {
  opacity: 1;
  transform: none;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 48px);
  max-width: 880px;
  margin: clamp(48px, 7vw, 80px) auto 0;
  text-align: center;
}
.stat-item {
  position: relative;
  padding-top: clamp(12px, 2vw, 20px);
}
.stat-ring {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(88px, 11vw, 140px);
  height: clamp(88px, 11vw, 140px);
  stroke: var(--line);
  stroke-width: 1;
  fill: none;
  z-index: -1;
}
.stat-num {
  display: block;
  font-family:
    "Bytopian",
    "Bytopian Fallback",
    "Dystopian",
    sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--gold-display, #a0801f);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  margin-top: 10px;
  font-size: .92rem;
  color: var(--ink-soft);
}
@media (max-width: 640px) {
  .stat-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kreisbahn-line {
    stroke-dashoffset: 0;
    transition: none;
  }
  .kreisbahn-station {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
