:root {
  --ink: #333333;
  --muted: #5f6368;
  --line: rgba(222, 226, 230, 0.72);
  --paper: #ffffff;
  --soft: #e9e4dc;
  --black: #0a0a0a;
  --charcoal: #25272b;
  --red: #cf1f1b;
  --red-dark: #9f1715;
  --silver: #e8ecef;
  --danger: #cf1f1b;
  --glass-bg: rgba(255, 255, 255, 0.94);
  --glass-strong: rgba(255, 255, 255, 0.98);
  --shadow: 0 18px 50px rgba(51, 51, 51, 0.12);
  --bs-body-font-family: Bahnschrift, "Segoe UI", "Segoe UI Variable", "Trebuchet MS", system-ui, sans-serif;
  --bs-primary: var(--red);
  --bs-primary-rgb: 207, 31, 27;
  font-family: var(--bs-body-font-family);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 24px;
  margin: 14px clamp(12px, 2vw, 28px) 0;
  padding: 12px clamp(16px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 12px 34px rgba(51, 51, 51, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  color: var(--black);
}

.header-brand-group {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(142px, 16vw, 214px);
  height: auto;
}

.main-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.main-nav a,
.footer-nav a {
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover,
.footer-nav a:hover {
  color: var(--red);
}

.header-actions {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
}

.header-actions > .button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.phone {
  min-height: 42px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(200, 0, 0, 0.22);
  color: var(--red-dark);
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  box-shadow: 0 10px 24px rgba(10, 10, 10, 0.08);
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(200, 0, 0, 0.24);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--black);
  border-color: var(--line);
  box-shadow: none;
}

.button.gold {
  background: linear-gradient(135deg, #ffffff, var(--silver));
  color: var(--red-dark);
  border-color: rgba(255, 255, 255, 0.58);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  min-height: 660px;
  padding: clamp(52px, 7vw, 92px) clamp(20px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 43%, rgba(207, 31, 27, 0.72) 78%),
    url("/assets/solidarity-umbrellas.png") center/cover;
  color: white;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
}

p,
li {
  overflow-wrap: break-word;
}

h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.3rem, 4.2vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.05;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.14rem;
}

.hero .lead {
  color: #4f4f4f;
  font-size: 1.22rem;
}

.hero h1 {
  color: var(--ink);
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cta-row.compact {
  margin-top: 18px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.trust-row strong {
  display: block;
  font-size: 1.35rem;
}

.trust-row > div {
  padding: 16px;
  border: 1px solid rgba(207, 31, 27, 0.18);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
}

.risk-panel,
.signup-card,
.summary-card,
.notice,
.step,
.faq-item,
.comparison-card,
.price-box {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--glass-bg);
}

.risk-panel {
  min-width: 0;
  color: #111;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.78);
}

.glass-panel,
.glass-card {
  background: var(--glass-bg);
  border: 1px solid rgba(51, 51, 51, 0.08);
  box-shadow: var(--shadow);
}

.glass-dark {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  color: white;
}

.glass-dark p {
  color: rgba(255, 255, 255, 0.96);
}

.glass-dark .button.gold {
  margin-top: 4px;
  border-color: rgba(255, 255, 255, 0.72);
}

.risk-panel.glass-panel {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

.panel-head {
  padding: 28px 30px;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(20, 20, 20, 0.14);
}

.panel-head p,
.panel-head h3 {
  margin: 0;
}

.risk-panel .eyebrow {
  color: var(--red);
  font-size: 0.95rem;
}

.risk-panel h3 {
  color: #111;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.15;
}

.risk-list {
  padding: 26px 30px;
}

.risk-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.16);
  color: #151515;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.risk-line strong {
  color: #050505;
  font-size: 1.05em;
  white-space: nowrap;
}

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

.risk-total {
  padding: 26px 30px;
  color: white;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.risk-total strong {
  display: block;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1;
  margin-top: 6px;
}

.admin-page .signup-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.admin-form textarea {
  resize: vertical;
}

.admin-panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  font-family: var(--bs-body-font-family);
}

.admin-toggle,
.admin-actions button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  font-weight: 850;
  padding: 10px 16px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.admin-menu {
  width: min(320px, calc(100vw - 36px));
  margin-bottom: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.admin-title {
  color: var(--black);
  font-weight: 900;
  margin-bottom: 6px;
}

.admin-menu p {
  color: var(--muted);
  margin: 0 0 12px;
}

.admin-menu p.error {
  color: var(--red);
  font-weight: 750;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-actions button[data-admin-signout] {
  background: linear-gradient(135deg, #333, #111);
}

.admin-mode [data-admin-text-key] {
  outline: 2px dashed rgba(200, 0, 0, 0.42);
  outline-offset: 4px;
  cursor: text;
}

.admin-mode [data-admin-text-key]:hover {
  outline-color: rgba(200, 0, 0, 0.95);
  background: rgba(200, 0, 0, 0.08);
}

.admin-editor {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1001;
  width: min(680px, calc(100vw - 36px));
  transform: translate(-50%, -50%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.admin-editor label {
  display: grid;
  gap: 10px;
  color: var(--black);
  font-weight: 900;
}

.admin-editor textarea {
  min-height: 180px;
  width: 100%;
  border: 1px solid rgba(20, 20, 20, 0.18);
  border-radius: 12px;
  padding: 14px;
  font: inherit;
}

.admin-editor textarea:focus {
  outline: 3px solid rgba(200, 0, 0, 0.22);
}

.admin-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.section {
  padding: clamp(56px, 7vw, 94px) clamp(20px, 4vw, 56px);
}

.section[id] {
  scroll-margin-top: 140px;
}

#kosten {
  scroll-margin-top: 240px;
}

.section.soft {
  background: var(--soft);
}

.section.navy {
  color: white;
  background: linear-gradient(135deg, #333333, #180302);
}

.section-head {
  max-width: 880px;
  margin-bottom: 34px;
  padding-left: 18px;
  border-left: 8px solid var(--red);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.feature,
.comparison-card,
.step,
.faq-item,
.price-box {
  padding: 24px;
}

.feature {
  border-left: 4px solid var(--red);
  border-top: 0;
}

.feature p,
.comparison-card p,
.step p,
.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.section.navy,
.section.navy h2,
.section.navy h3,
.section.navy .lead {
  color: #fff;
}

.section.navy .eyebrow {
  color: #ffd7d4;
}

.section.navy p,
.section.navy li,
.section.navy .step p,
.section.navy .feature p,
.section.navy .comparison-card p,
.section.navy .faq-item p {
  color: rgba(255, 255, 255, 0.9);
}

.section.navy .small {
  color: rgba(255, 255, 255, 0.82);
}

.section.navy .glass-card,
.section.navy .glass-dark {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
}

.section.navy .button.gold {
  background: #fff;
  color: var(--red-dark);
}

.comparison-section {
  position: relative;
}

.comparison-head {
  max-width: 980px;
  margin-bottom: 30px;
  padding-left: 18px;
  border-left: 8px solid var(--red);
}

.comparison {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.comparison::before {
  position: absolute;
  inset: -16px;
  border: 1px solid rgba(207, 31, 27, 0.16);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.52), rgba(207, 31, 27, 0.06), rgba(255, 255, 255, 0.52));
  content: "";
  pointer-events: none;
}

.comparison-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  min-height: 100%;
}

.comparison-card h2,
.comparison-card p,
.comparison-card ul {
  margin-bottom: 0;
}

.comparison-card.warning {
  border-top: 0;
  border-left: 6px solid var(--charcoal);
}

.comparison-card.good {
  border-top: 0;
  border-left: 6px solid var(--red);
}

.comparison-label {
  width: max-content;
  max-width: 100%;
  padding: 7px 11px;
  background: rgba(51, 51, 51, 0.08);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.comparison-card.good .comparison-label {
  background: rgba(207, 31, 27, 0.12);
  color: var(--red-dark);
}

.comparison-vs {
  z-index: 2;
  align-self: center;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(207, 31, 27, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--red-dark);
  box-shadow: var(--shadow);
  font-weight: 950;
  text-transform: uppercase;
}

.rules-steps {
  counter-reset: steps;
}

.rules-card {
  border-top: 4px solid var(--red);
}

.rules-split {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.rules-detail-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
}

.rules-detail-card h2,
.rules-detail-card p,
.rules-detail-card ul {
  margin-bottom: 0;
}

.rules-detail-card h2 {
  max-width: 12ch;
}

.rules-detail-card:nth-child(2) h2 {
  max-width: 18ch;
}

.rules-detail-card .clean {
  display: grid;
  gap: 14px;
}

.reglement-schema {
  display: grid;
  gap: 22px;
  max-width: 760px;
}

.reglement-schema-copy {
  max-width: 100%;
}

.reglement-schema-copy h2 {
  margin-bottom: 10px;
}

.reglement-schema-frame {
  margin: 0;
  padding: clamp(10px, 1.5vw, 16px);
  border: 1px solid rgba(207, 31, 27, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(233, 228, 220, 0.42)),
    #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.reglement-schema-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.reglement-viewer {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 30px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(233, 228, 220, 0.45)),
    #fff;
}

.reglement-viewer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.reglement-viewer-head h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.reglement-viewer iframe {
  width: 100%;
  min-height: min(860px, 82vh);
  border: 1px solid rgba(51, 51, 51, 0.12);
  background: #fff;
}

.rules-steps .step::before {
  counter-increment: none;
}

.rules-steps .step:nth-child(1)::before {
  content: "1";
}

.rules-steps .step:nth-child(2)::before {
  content: "2";
}

.rules-steps .step:nth-child(3)::before {
  content: "3";
}

.rules-steps .step:nth-child(4)::before {
  content: "4";
}

ul.clean {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

ul.clean li {
  position: relative;
  padding-left: 24px;
}

ul.clean li::before {
  position: absolute;
  left: 0;
  color: var(--red);
  content: "\2713";
  font-weight: 900;
}

.steps {
  counter-reset: steps;
}

.step::before {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--black));
  color: white;
  counter-increment: steps;
  content: counter(steps);
  font-weight: 850;
}

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 22px;
  align-items: start;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(360px, 1.14fr);
  gap: 24px;
  align-items: stretch;
  padding: 18px;
  border: 2px solid rgba(207, 31, 27, 0.22);
  background:
    linear-gradient(135deg, rgba(207, 31, 27, 0.05), rgba(233, 228, 220, 0.42)),
    rgba(255, 255, 255, 0.72);
}

.calculator-eyebrow {
  color: var(--red);
  font-size: clamp(1.18rem, 1.6vw, 1.45rem);
}

.calculator-inputs {
  display: grid;
  gap: 16px;
}

.calculator-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  padding: 14px 16px;
  border-left: 5px solid var(--red);
  background: #fff;
  box-shadow: 0 14px 34px rgba(51, 51, 51, 0.08);
}

.calculator-form-head span {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calculator-form-head strong {
  color: var(--ink);
  font-size: 1.12rem;
}

.calc-field {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 136px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(51, 51, 51, 0.08);
  box-shadow: 0 18px 48px rgba(51, 51, 51, 0.10);
}

.calc-field label {
  margin-bottom: 12px;
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 850;
}

.calc-field input,
.calc-field select {
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.56)),
    rgba(255, 255, 255, 0.62);
  color: var(--black);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 12px 28px rgba(10, 10, 10, 0.09);
  backdrop-filter: blur(14px) saturate(1.18);
  -webkit-backdrop-filter: blur(14px) saturate(1.18);
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  font-weight: 850;
  line-height: 1.15;
}

.calc-field input:focus,
.calc-field select:focus {
  border-color: var(--red);
  background: white;
  outline: 3px solid rgba(200, 0, 0, 0.18);
  outline-offset: 2px;
}

.calc-field select {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.2;
}

.calc-input-group {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  align-items: stretch;
}

.calc-input-group span {
  display: grid;
  place-items: center;
  min-width: 52px;
  border: 1px solid rgba(200, 0, 0, 0.22);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.52)),
    rgba(248, 249, 251, 0.7);
  color: var(--black);
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px) saturate(1.18);
  -webkit-backdrop-filter: blur(14px) saturate(1.18);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 850;
}

.calc-input-group input {
  border-radius: 0 12px 12px 0;
}

.calculator-result {
  display: grid;
  gap: 18px;
  min-height: 410px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(207, 31, 27, 0.94), rgba(159, 23, 21, 0.9)),
    url("/assets/financial-clarity.png") center/cover,
    rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.68);
  box-shadow: 0 28px 80px rgba(10, 10, 10, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: white;
}

.calculator-result .eyebrow,
.calculator-result p,
.calculator-result .small {
  color: rgba(255, 255, 255, 0.86);
}

.calculator-saving {
  display: block;
  margin: 8px 0 14px;
  color: #b8ffd0;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.calculator-breakdown {
  padding: 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.calculator-result .summary-line {
  border-color: rgba(255, 255, 255, 0.25);
}

.calculator-result .summary-line:last-child {
  border-bottom: 0;
}

.calculator-result .summary-line strong {
  color: white;
  white-space: nowrap;
}

.calculator-result .button.secondary {
  background: rgba(255, 255, 255, 0.92);
}

.price-box.highlight {
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow);
}

.price {
  display: flex;
  align-items: end;
  gap: 8px;
  margin: 14px 0 6px;
}

.price strong {
  font-size: 3rem;
  line-height: 1;
}

.pricing-breakdown {
  margin: 20px 0 18px;
  padding: 16px 0 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.small {
  color: var(--muted);
  font-size: 0.92rem;
}

.signup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

.signup-card,
.summary-card,
.notice {
  padding: 24px;
}

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

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.street-field {
  grid-column: span 1;
}

.house-number-field {
  max-width: 150px;
}

label {
  font-weight: 700;
}

input,
select {
  min-height: 46px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(203, 213, 225, 0.92);
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.78);
  font: inherit;
}

input:focus,
select:focus,
button:focus,
.button:focus {
  outline: 3px solid rgba(200, 0, 0, 0.22);
  outline-offset: 2px;
}

.checkbox {
  display: grid;
  grid-template-columns: 1.25em 1fr;
  gap: 10px;
  align-items: start;
}

.checkbox input {
  min-height: auto;
  margin-top: 0.25em;
}

.signup-page .signup-card {
  display: grid;
  gap: 22px;
}

.membership-terms {
  display: grid;
  gap: 12px;
  max-height: 420px;
  overflow: auto;
  padding: 22px;
  border-left: 5px solid var(--red);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(233, 228, 220, 0.45)),
    #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.membership-terms p {
  margin: 0;
  color: var(--ink);
  font-size: 0.96rem;
}

.membership-terms a,
.signup-consent a {
  color: var(--red-dark);
  font-weight: 800;
}

.signup-consent {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(207, 31, 27, 0.18);
  background: rgba(255, 255, 255, 0.86);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-line.total {
  border-bottom: 0;
  font-size: 1.2rem;
  font-weight: 850;
}

.message {
  margin-top: 16px;
  color: var(--danger);
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 34px clamp(20px, 4vw, 56px);
  color: #dbe7f4;
  background: linear-gradient(135deg, #333333, #181818);
}

.site-footer strong,
.site-footer span,
.site-footer a {
  color: #f3f7fb;
}

.site-footer a:hover {
  color: #ffd7d4;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.stats-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: min(540px, calc(100vw - 36px));
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(20, 20, 20, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.stats-notice p {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

.stats-notice a {
  color: var(--red-dark);
  font-weight: 750;
}

.stats-notice .button {
  min-height: 38px;
  padding: 0 14px;
}

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

  .header-brand-group {
    width: 100%;
    justify-content: space-between;
  }

  .main-nav,
  .header-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero,
  .pricing,
  .calculator-layout,
  .signup-layout,
  .rules-split,
  .comparison,
  .grid.two,
  .grid.three,
  .grid.four {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .calculator-result {
    min-height: auto;
  }

  .comparison-head {
    margin-bottom: 24px;
  }

  .comparison {
    gap: 12px;
  }

  .comparison::before {
    inset: -12px 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(207, 31, 27, 0.08), rgba(255, 255, 255, 0.55));
  }

  .comparison-vs {
    justify-self: center;
    width: 46px;
    height: 46px;
  }

  .comparison-card.warning,
  .comparison-card.good {
    border-left-width: 5px;
  }

}

@media (max-width: 640px) {
  h1 {
    font-size: 2.15rem;
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  h2 {
    overflow-wrap: break-word;
  }

  .hero {
    padding: 42px 20px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
      url("/assets/solidarity-umbrellas.png") center/cover;
  }

  .risk-panel {
    width: 100%;
  }

  .stats-notice {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    align-items: stretch;
    flex-direction: column;
  }

  .site-header {
    padding: 10px 14px;
  }

  .brand-logo {
    width: 132px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 16px;
  }

  .header-actions {
    align-items: stretch;
    flex-direction: row;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}
