﻿:root {
  --green-950: #062d17;
  --green-900: #083a1e;
  --green-700: #1f7f22;
  --green-600: #3dac16;
  --green-500: #52bd17;
  --green-100: #eef9e9;
  --line: rgba(6, 45, 23, .12);
  --text: #0c1e13;
  --muted: #516257;
  --white: #fff;
  --shadow: 0 18px 42px rgba(13, 42, 20, .12);
  --shadow-soft: 0 8px 22px rgba(13, 42, 20, .08);
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: #f8fbf6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 88px;
  padding: 0 clamp(22px, 4.5vw, 68px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(20, 43, 26, .06);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--green-950);
  font-size: clamp(20px, 1.9vw, 31px);
  font-weight: 950;
  letter-spacing: -.02em;
}

.brand strong { color: var(--green-600); }

.brand-mark {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 44px;
  border: 3px solid var(--green-600);
  border-radius: 50%;
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 9px;
  width: 5px;
  height: 17px;
  background: var(--green-600);
  border-radius: 5px;
  box-shadow: 8px 0 0 var(--green-600);
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 7px;
  width: 9px;
  height: 13px;
  border: 3px solid var(--green-600);
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 36px);
  color: #172319;
  font-size: 15px;
  font-weight: 850;
}

.nav a:hover,
.panel-head a,
.tip-card span,
.text-link {
  color: var(--green-600);
}

.header-trust {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.header-trust span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--white);
  background: var(--green-600);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 950;
}

.header-trust p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.15;
}

.header-trust strong { color: var(--green-600); }

.portal-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, .8fr) minmax(420px, 1.2fr);
  gap: clamp(18px, 3vw, 44px);
  min-height: 525px;
  padding: 48px clamp(24px, 5vw, 82px) 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 22%, rgba(94, 179, 255, .22), transparent 34%),
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.92) 28%, rgba(242,248,238,.48) 68%, #fff 100%);
}

.portal-hero::after {
  content: "";
  position: absolute;
  left: clamp(24px, 5vw, 82px);
  right: clamp(24px, 5vw, 82px);
  bottom: 0;
  height: 58px;
  background:
    linear-gradient(130deg, transparent 0 4%, var(--green-500) 4.2% 4.6%, transparent 4.8%),
    linear-gradient(90deg, var(--green-500), var(--green-500));
  background-size: 100% 58px, 100% 2px;
  background-position: 0 0, 0 45px;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero-copy-block {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 500px;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 16px;
  color: var(--green-950);
  font-size: clamp(58px, 6.7vw, 88px);
  line-height: .98;
  letter-spacing: -.045em;
}

.portal-hero h1 {
  max-width: 650px;
  margin-bottom: 10px;
  font-size: clamp(50px, 5.6vw, 82px);
  line-height: .98;
}

.hero-seo-line {
  max-width: 520px;
  margin: 0 0 22px;
  color: #183722;
  font-size: clamp(20px, 2vw, 29px);
  font-weight: 900;
  line-height: 1.16;
}

.claim {
  margin-bottom: 22px;
  color: #111b14;
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 920;
}

.claim strong { color: var(--green-600); }

.intro {
  max-width: 410px;
  margin-bottom: 28px;
  color: #24372b;
  font-size: 18px;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
}

.hero-benefits div {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 0 8px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.hero-benefits div:last-child { border-right: 0; }

.hero-benefits span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--green-600);
  border: 3px solid var(--green-500);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 950;
}

.hero-benefits strong {
  color: #162117;
  font-size: 13px;
  line-height: 1.15;
}

.hero-check-card {
  max-width: 560px;
  margin-top: 30px;
  padding: 30px;
  background:
    radial-gradient(circle at 12% 10%, rgba(82, 189, 23, .16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(242, 255, 235, .9));
  border: 2px solid rgba(82, 189, 23, .22);
  border-radius: var(--radius);
  box-shadow: 0 26px 58px rgba(44, 159, 12, .18), 0 0 0 8px rgba(82, 189, 23, .05);
  backdrop-filter: blur(10px);
}

.hero-check-card ul {
  display: grid;
  gap: 17px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  font-weight: 950;
}

.hero-check-title {
  margin: 0 0 20px;
  color: var(--green-950);
  font-size: clamp(24px, 2.25vw, 34px);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -.03em;
  text-align: center;
}

.keep-line {
  white-space: nowrap;
}

.pain-line {
  color: #d64216;
  text-shadow: 0 8px 20px rgba(214, 66, 22, .16);
}

.hero-check-card li {
  position: relative;
  padding-left: 48px;
  color: #101c13;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.25;
}

.hero-check-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -4px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--green-600);
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(61, 172, 22, .28);
  font-size: 20px;
  font-weight: 950;
}

.hero-house {
  position: relative;
  z-index: 1;
  align-self: end;
  min-height: 430px;
}

.hero-house img {
  position: absolute;
  right: -8%;
  bottom: 16px;
  width: 108%;
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 0;
  filter: saturate(1.04) contrast(1.02);
  mask-image: linear-gradient(90deg, transparent 0%, black 18%, black 86%, transparent 100%);
}

.green-line {
  position: absolute;
  right: -12px;
  bottom: 22px;
  width: 260px;
  height: 116px;
  border-right: 3px solid var(--green-500);
  border-bottom: 3px solid var(--green-500);
  border-radius: 0 0 150px 0;
}

.green-line::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -27px;
  width: 40px;
  height: 56px;
  background:
    linear-gradient(var(--green-500), var(--green-500)) 8px 0 / 8px 22px no-repeat,
    linear-gradient(var(--green-500), var(--green-500)) 24px 0 / 8px 22px no-repeat,
    var(--green-500);
  border-radius: 8px 8px 18px 18px;
}

.result-card {
  position: relative;
  z-index: 3;
  align-self: center;
  padding: 34px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(6, 45, 23, .08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--green-600);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.result-card h2 {
  margin-bottom: 16px;
  color: #111b14;
  font-size: clamp(30px, 2.8vw, 38px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.card-claim {
  margin-bottom: 20px;
  padding: 15px 16px;
  background: linear-gradient(135deg, rgba(82, 189, 23, .1), rgba(255, 255, 255, .8));
  border: 1px solid rgba(82, 189, 23, .18);
  border-radius: var(--radius);
}

.card-claim p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.card-claim p + p {
  margin-top: 6px;
}

.card-claim strong {
  color: var(--green-600);
  font-size: 17px;
}

.result-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-weight: 780;
}

.result-card li {
  position: relative;
  padding-left: 32px;
}

.result-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--white);
  background: var(--green-600);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 950;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-weight: 950;
}

.button-primary {
  position: relative;
  overflow: hidden;
  width: 100%;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-500), #43ad09);
  box-shadow: 0 14px 26px rgba(63, 170, 8, .28);
}

.button-primary::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -45%;
  width: 34%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.52), transparent);
  transform: skewX(-18deg);
  animation: button-swipe 2.8s ease-in-out infinite;
  pointer-events: none;
}

.hero-check-card .button-primary {
  min-height: 68px;
  font-size: clamp(18px, 1.55vw, 23px);
  animation: button-wiggle 4.2s ease-in-out infinite;
  transform-origin: center;
}

.hero-check-card .button-primary:hover {
  animation-play-state: paused;
  transform: translateY(-1px);
}

@keyframes button-wiggle {
  0%, 82%, 100% {
    transform: translateX(0) rotate(0deg);
  }
  86% {
    transform: translateX(-3px) rotate(-1deg);
  }
  90% {
    transform: translateX(3px) rotate(1deg);
  }
  94% {
    transform: translateX(-2px) rotate(-.6deg);
  }
  98% {
    transform: translateX(2px) rotate(.6deg);
  }
}

@keyframes button-swipe {
  0%, 34% {
    left: -45%;
  }
  64%, 100% {
    left: 120%;
  }
}

.button-small {
  min-height: 38px;
  padding: 0 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-500), #43ad09);
  font-size: 13px;
}

.result-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #253329;
  font-size: 12px;
  font-weight: 760;
  text-align: center;
}

.home-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .7fr);
  gap: 18px;
  padding: 18px clamp(24px, 6vw, 92px) 18px;
  background: #fbfdf9;
}

.panel {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.panel h2 {
  margin-bottom: 20px;
  color: var(--green-950);
  font-size: 25px;
  letter-spacing: -.02em;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
}

.panel-head a {
  min-width: max-content;
  font-size: 13px;
  font-weight: 850;
}

.tip-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tip-card img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.tip-card:nth-child(1) img { object-position: 62% center; }
.tip-card:nth-child(2) img { object-position: 48% center; filter: saturate(.75) brightness(1.05); }
.tip-card:nth-child(3) img { object-position: 75% center; }

.tip-card h3 {
  margin-bottom: 8px;
  color: #172319;
  font-size: 17px;
  line-height: 1.18;
}

.tip-card p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.tip-points {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.tip-points li {
  position: relative;
  padding-left: 20px;
  color: #26372b;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.3;
}

.tip-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-600);
  font-weight: 950;
}

.tip-card span {
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.compact-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.compact-list span,
.quality-strip span,
.knowledge-grid span,
.step-row span {
  display: grid;
  place-items: center;
  color: var(--green-600);
  background: var(--green-100);
  border-radius: 50%;
  font-weight: 950;
}

.compact-list span {
  width: 28px;
  height: 28px;
  font-size: 14px;
}

.compact-list div {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.compact-list strong {
  color: #19251c;
  font-size: 14px;
}

.video-thumb {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: var(--radius);
}

.video-thumb img {
  width: 100%;
  height: 142px;
  object-fit: cover;
  object-position: 64% center;
}

.video-thumb a {
  position: absolute;
  inset: 0;
  margin: auto;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  color: var(--green-600);
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
  font-size: 25px;
}

.video-panel h3 {
  margin-bottom: 9px;
  font-size: 20px;
  line-height: 1.18;
}

.video-panel p {
  color: var(--muted);
  font-size: 14px;
}

.quality-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(24px, 6vw, 92px) 26px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.quality-strip div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px 24px;
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
}

.quality-strip span {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  font-size: 22px;
}

.quality-strip strong {
  color: #1a261d;
  font-size: 15px;
}

section:not(.portal-hero):not(.home-dashboard):not(.quality-strip) {
  padding: 84px clamp(24px, 6vw, 92px);
}

.section-head {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head h2,
.story h2 {
  margin-bottom: 16px;
  color: var(--green-950);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.section-head p:not(.eyebrow),
.story p,
.knowledge-grid p,
.topic-links p,
.step-row p,
details p {
  color: var(--muted);
}

.calculator-section {
  background:
    radial-gradient(circle at 16% 10%, rgba(82, 189, 23, .18), transparent 28%),
    linear-gradient(180deg, #f2faee, #fff);
}

.calculator-frame {
  max-width: 1160px;
  min-height: 486px;
  margin: 0 auto;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.check24-iframe {
  display: block;
  width: 100%;
  height: 1700px;
  margin: 0;
  padding: 0;
  border: 0;
}

.calculator-loader {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 48px 24px;
  color: var(--text);
  text-align: center;
  border: 1px dashed rgba(69, 189, 16, .34);
  border-radius: calc(var(--radius) - 4px);
  background:
    radial-gradient(circle at 50% 0%, rgba(69, 189, 16, .14), transparent 42%),
    linear-gradient(180deg, #f7fcf4, #fff);
}

.calculator-loader p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.calculator-loader-title {
  color: var(--green-700);
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.calculator-loader .button {
  margin-top: 24px;
}

.tracking-pixel {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.affiliate-note {
  max-width: 980px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.knowledge-section {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
  gap: 48px;
  background: var(--white);
}

.story {
  align-self: start;
  position: sticky;
  top: 112px;
}

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

.knowledge-grid article,
.step-row article,
details {
  padding: 24px;
  background: #fbfdf9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.knowledge-grid span,
.step-row span {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
}

.knowledge-grid h3,
.step-row h3 {
  margin-bottom: 8px;
  color: var(--green-950);
  font-size: 21px;
}

.topic-hub {
  background: #f8fbf6;
}

.search-intent-section {
  background:
    radial-gradient(circle at 88% 14%, rgba(82, 189, 23, .13), transparent 30%),
    linear-gradient(180deg, #fff, #f8fbf6);
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.intent-grid article {
  padding: 24px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(3, 38, 18, .07);
}

.intent-grid h3 {
  margin-bottom: 10px;
  color: var(--green-950);
  font-size: 22px;
  line-height: 1.12;
}

.intent-grid p,
.intent-note p {
  margin: 0;
  color: var(--muted);
}

.intent-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  max-width: 980px;
  margin: 26px auto 0;
  padding: 22px 24px;
  background: linear-gradient(135deg, #efffe9, #fff);
  border: 1px solid rgba(82, 189, 23, .22);
  border-radius: var(--radius);
}

.intent-note strong {
  color: var(--green-700);
}

.topic-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.topic-links a {
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 24px;
  color: var(--green-950);
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(3, 38, 18, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.topic-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(3, 38, 18, .12);
}

.topic-links span {
  color: var(--green-600);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .1em;
}

.topic-links strong {
  font-size: 22px;
  line-height: 1.12;
}

.topic-links p {
  margin: 0;
}

.video-section {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(300px, 1fr);
  gap: 38px;
  align-items: center;
  background: var(--green-950);
  color: var(--white);
}

.video-section-top {
  grid-template-columns: minmax(240px, .5fr) minmax(340px, 640px);
  gap: clamp(22px, 3.5vw, 40px);
  padding-top: 38px !important;
  padding-bottom: 38px !important;
}

.video-section-top .video-card {
  width: 100%;
  max-width: 640px;
  justify-self: end;
}

.video-section h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

.video-eyebrow-big {
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.1;
  letter-spacing: .08em;
}

.video-section-top h2 {
  max-width: 580px;
  font-size: clamp(30px, 2.7vw, 42px);
}

.video-section-top .video-eyebrow-big {
  font-size: clamp(17px, 1.45vw, 22px);
}

.video-section p:not(.eyebrow) {
  color: rgba(255,255,255,.76);
}

.video-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #03160f;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .24);
}

.video-card iframe,
.video-preview {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-preview {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #03160f;
}

.video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .45s ease, filter .45s ease;
}

.video-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(82, 189, 23, .16), transparent 30%),
    linear-gradient(180deg, rgba(3, 22, 15, .04), rgba(3, 22, 15, .58));
}

.video-glow {
  position: absolute;
  inset: auto 8% 8% 8%;
  height: 32%;
  background: radial-gradient(ellipse, rgba(82, 189, 23, .38), transparent 66%);
  filter: blur(12px);
  z-index: 1;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(74px, 9vw, 104px);
  height: clamp(74px, 9vw, 104px);
  color: var(--green-600);
  background: rgba(255, 255, 255, .94);
  border-radius: 50%;
  box-shadow: 0 20px 46px rgba(0, 0, 0, .26), 0 0 0 14px rgba(255, 255, 255, .16);
  font-size: clamp(30px, 4vw, 44px);
  transform: translate(-50%, -50%);
  transition: transform .3s ease, box-shadow .3s ease;
}

.video-preview:hover img {
  filter: saturate(1.08) brightness(1.04);
  transform: scale(1.06);
}

.video-preview:hover .play-button {
  transform: translate(-50%, -50%) scale(1.07);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .3), 0 0 0 18px rgba(82, 189, 23, .18);
}

.steps-section {
  background: #f8fbf6;
}

.step-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

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

.faq-section details {
  max-width: 940px;
  margin: 0 auto 12px;
}

summary {
  cursor: pointer;
  color: var(--green-950);
  font-size: 19px;
  font-weight: 950;
}

details p { margin: 14px 0 0; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px clamp(24px, 6vw, 92px);
  color: rgba(255, 255, 255, .82);
  background: #041a12;
}

.site-footer strong { color: var(--white); }
.site-footer p { margin: 6px 0 0; }

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 800;
}


.legal-page { background: var(--green-100); }

.legal-main {
  max-width: 920px;
  margin: 0 auto;
  padding: 72px 20px;
}

.legal-card {
  padding: clamp(24px, 4vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  color: var(--green-950);
  font-size: clamp(38px, 7vw, 64px);
}

.legal-card h2 {
  margin-top: 34px;
  color: var(--green-950);
  font-size: 28px;
}

.article-page {
  background:
    radial-gradient(circle at 18% 8%, rgba(82, 189, 23, .16), transparent 28%),
    linear-gradient(180deg, #f2faee, #fff 460px);
}

.article-main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 72px 20px;
}

.article-card {
  padding: clamp(26px, 5vw, 58px);
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-card h1 {
  max-width: 880px;
  color: var(--green-950);
  font-size: clamp(40px, 5.4vw, 70px);
  line-height: 1;
}

.article-lead {
  max-width: 820px;
  color: #233629;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
}

.article-card h2 {
  margin-top: 42px;
  color: var(--green-950);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
}

.article-card h3 {
  margin-top: 28px;
  color: var(--green-950);
  font-size: 23px;
}

.article-card p,
.article-card li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.article-card ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.article-cta {
  display: grid;
  gap: 16px;
  margin-top: 44px;
  padding: 28px;
  background: linear-gradient(135deg, #efffe9, #fff);
  border: 1px solid rgba(82, 189, 23, .25);
  border-radius: var(--radius);
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.article-nav a {
  padding: 11px 14px;
  color: var(--green-950);
  text-decoration: none;
  background: #f1faee;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
}

.gas-cta-section {
  display: flex;
  justify-content: center;
  padding: 34px 22px 44px;
  background: linear-gradient(180deg, #f8fbf6 0%, #eef7f0 100%);
}

.gas-cta-button {
  display: grid;
  justify-items: center;
  width: min(100%, 560px);
  padding: clamp(18px, 3.4vw, 28px) clamp(24px, 5vw, 56px);
  color: #061b35;
  text-align: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .65), transparent 28%),
    linear-gradient(135deg, #62d8ff 0%, #2489ff 54%, #0a55c8 100%);
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  box-shadow:
    0 18px 40px rgba(18, 98, 198, .26),
    0 0 32px rgba(63, 177, 255, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.gas-cta-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 22px 48px rgba(18, 98, 198, .34),
    0 0 42px rgba(63, 177, 255, .32);
}

.gas-cta-button span {
  font-size: clamp(25px, 4.2vw, 36px);
  line-height: 1.05;
  font-weight: 950;
}

.gas-cta-button strong {
  margin-top: 4px;
  font-size: clamp(16px, 2.4vw, 22px);
  line-height: 1.2;
  font-weight: 950;
}

@media (max-width: 1180px) {
  .portal-hero {
    grid-template-columns: minmax(330px, .82fr) minmax(280px, 1fr);
  }

  .hero-house {
    position: absolute;
    inset: 90px 0 0 34%;
    opacity: .68;
  }

  .result-card {
    grid-column: 2;
  }

  .home-dashboard {
    grid-template-columns: 1fr 1fr;
  }

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

  .tips-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .portal-hero,
  .knowledge-section,
  .video-section {
    grid-template-columns: 1fr;
  }

  .hero-house {
    position: relative;
    inset: auto;
    min-height: 260px;
    opacity: 1;
    order: 2;
  }

  .hero-house img {
    right: auto;
    width: 100%;
    height: 280px;
    border-radius: var(--radius);
    mask-image: none;
  }

  .result-card {
    grid-column: auto;
    order: 3;
  }

  .home-dashboard,
  .quality-strip,
  .step-row,
  .topic-links,
  .intent-grid {
    grid-template-columns: 1fr;
  }

  .tip-cards,
  .knowledge-grid {
    grid-template-columns: 1fr;
  }

  .story {
    position: static;
  }

  .calculator-section {
    padding-left: 0;
    padding-right: 0;
  }

  .calculator-section .section-head {
    padding-left: 18px;
    padding-right: 18px;
  }

  .calculator-frame {
    width: 100vw;
    max-width: none;
    min-height: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .check24-iframe {
    width: 100vw;
    height: 1800px;
  }

  .calculator-loader {
    min-height: 360px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
    min-height: auto;
    padding: 14px 18px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-width: 2px;
  }

  .brand-mark::before {
    left: 13px;
    top: 8px;
    width: 4px;
    height: 13px;
    box-shadow: 6px 0 0 var(--green-600);
  }

  .brand-mark::after {
    left: 14px;
    bottom: 6px;
    width: 7px;
    height: 9px;
    border-width: 2px;
  }

  .header-trust {
    display: none;
  }

  .portal-hero {
    padding: 36px 18px 18px;
  }

  h1 {
    font-size: 48px;
  }

  .portal-hero h1 {
    font-size: 40px;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
  }

  .hero-benefits div {
    grid-template-columns: 44px 1fr;
    justify-items: start;
    text-align: left;
    border-right: 0;
  }

  .hero-benefits span {
    width: 42px;
    height: 42px;
  }

  .home-dashboard,
  section:not(.portal-hero):not(.home-dashboard):not(.quality-strip) {
    padding-left: 18px;
    padding-right: 18px;
  }

  .quality-strip {
    margin-left: 18px;
    margin-right: 18px;
  }

  .result-card,
  .panel {
    padding: 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .intent-note {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .gas-cta-section {
    padding: 28px 18px 34px;
  }

  .gas-cta-button {
    width: min(100%, 420px);
    padding: 18px 22px;
  }
}


.datenschutz-panel {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: 780px;
  margin: 0 auto;
  color: var(--white);
}

.datenschutz-panel[hidden] {
  display: none !important;
}

.datenschutz-panel-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-height: min(76vh, 360px);
  padding: 18px;
  overflow: auto;
  background: rgba(6, 45, 23, .97);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
}

.datenschutz-panel-label {
  margin: 0 0 6px;
  color: #8ff36b;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.datenschutz-panel h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.12;
}

.datenschutz-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
}

.datenschutz-panel a {
  display: inline-flex;
  margin-top: 10px;
  color: #8ff36b;
  font-size: 14px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.datenschutz-panel-actions {
  display: grid;
  gap: 10px;
  min-width: 170px;
}

.datenschutz-panel-actions button {
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 950;
  cursor: pointer;
}

.datenschutz-accept {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-500), #43ad09);
}

.datenschutz-essential {
  color: var(--green-950);
  background: var(--white);
}

@media (max-width: 620px) {
  .datenschutz-panel {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .datenschutz-panel-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    max-height: calc(100vh - 28px);
    padding: 16px;
  }

  .datenschutz-panel-actions {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .datenschutz-panel-actions button {
    width: 100%;
    min-height: 50px;
    font-size: 16px;
  }
}
