/* ===== SELF-HOSTED INTER FONT ===== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Inter-Regular.woff2?v=3') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Inter-Medium.woff2?v=3') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Inter-SemiBold.woff2?v=3') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Inter-Bold.woff2?v=3') format('woff2');
}

/* ===== VARIABLES ===== */
:root {
  --primary: #1a2b42;
  --primary-light: #243650;
  --accent: #1a2b42;
  --accent-hover: #152336;
  --accent-light: rgba(26,43,66,0.08);
  --text: #1a2b42;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f6f4ef;
  --bg-warm: #f6f4ef;
  --border: #e8eaee;
  --success: #10b981;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-accent: 0 4px 16px rgba(26,43,66,0.15);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 600px;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg picture {
  display: contents;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-bg .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(26,43,66,0.82) 0%, rgba(26,43,66,0.65) 50%, rgba(26,43,66,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.logo {
  margin-bottom: 32px;
}

.logo img {
  height: 120px;
  width: auto;
}

/* Badge */
.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.subline {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
}

.trust-row {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
}

.trust-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

/* Scroll Indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  animation: bounce 2s infinite;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.scroll-indicator:hover {
  color: rgba(255,255,255,0.8);
}

.scroll-indicator svg {
  width: 20px;
  height: 20px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* ===== FORM WRAPPER ===== */
.form-wrapper {
  position: relative;
  z-index: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, #f8f6f3 0%, #fff 100%);
}

.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow);
}

.form-card h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
}

.form-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ===== PROGRESS BAR ===== */
.progress {
  margin-bottom: 24px;
}

.progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  width: 33.33%;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.progress-text {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== FORM STEPS ===== */
.step {
  display: none;
}

.step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}

/* ===== OPTION CARDS (Step 1) ===== */
.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.option-card {
  cursor: pointer;
}

.option-card input {
  display: none;
}

.option-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s ease;
  text-align: center;
}

.option-card:hover .option-content {
  border-color: var(--primary);
  background: var(--bg-alt);
}

.option-card input:checked + .option-content {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.option-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  color: var(--primary);
}

.option-icon svg {
  width: 100%;
  height: 100%;
}

.option-card input:checked + .option-content .option-icon {
  color: #fff;
}

.option-label {
  font-size: 14px;
  font-weight: 500;
}

/* ===== FORM FIELDS ===== */
.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.field-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 12px;
}

.field-small {
  min-width: 0;
}

.field-small select {
  font-size: 14px;
  padding: 14px 12px;
  padding-right: 32px;
  background-position: right 8px center;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  height: 50px;
  box-sizing: border-box;
}

/* Custom Select Styling */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 44px;
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}

select option {
  padding: 12px;
}

/* ===== CUSTOM SELECT DROPDOWN ===== */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  height: 50px; /* Same height as input fields */
  box-sizing: border-box;
}

.custom-select-trigger:hover {
  border-color: var(--primary);
}

.custom-select.open .custom-select-trigger {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,43,66,0.1);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.custom-select-trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-trigger span.placeholder {
  color: #94a3b8;
}

.custom-select-trigger svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.custom-select.open .custom-select-trigger svg {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--primary);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 100;
  display: none;
  max-height: 240px;
  overflow-y: auto;
}

.custom-select.open .custom-select-options {
  display: block;
  animation: dropdownFade 0.15s ease;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.custom-select-option {
  padding: 12px 16px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s;
}

.custom-select-option:hover {
  background: var(--bg-alt);
}

.custom-select-option.selected {
  background: var(--primary);
  color: #fff;
}

.custom-select-option:last-child {
  border-radius: 0 0 var(--radius) var(--radius);
}

/* Small variant for Anrede */
.custom-select-small .custom-select-trigger {
  font-size: 13px;
  padding: 14px 10px;
  padding-right: 28px;
  height: 50px; /* Same height as other fields */
}

.custom-select-small .custom-select-trigger svg {
  width: 12px;
  height: 12px;
}

.custom-select-small .custom-select-option {
  font-size: 14px;
  padding: 10px 12px;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,43,66,0.1);
}

/* Error State */
input.error,
select.error,
.custom-select.error .custom-select-trigger {
  border-color: #e53e3e;
}

.consent.error label {
  color: #e53e3e;
}

/* Field Hint */
.field-hint {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-muted);
  margin-top: 6px;
  padding-left: 2px;
}

input::placeholder {
  color: #94a3b8;
}

/* ===== RANGE SLIDER ===== */
.range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.range-header label {
  margin-bottom: 0;
}

.range-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.eigenkapital-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--bg-alt);
  border-radius: 6px;
  font-size: 14px;
}

.eigenkapital-hint > span:first-child {
  color: var(--text-muted);
}

#eigenkapitalValue {
  font-weight: 600;
  color: var(--primary);
}

.eigenkapital-percent {
  color: var(--text-muted);
  font-size: 13px;
}

/* ===== CONSENT ===== */
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.consent label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  cursor: pointer;
}

.consent a {
  color: var(--primary);
  text-decoration: underline;
}

/* ===== BUTTONS ===== */
.btn-next,
.btn-submit {
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.btn-next:hover:not(:disabled),
.btn-submit:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-back {
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.btn-back:hover {
  border-color: var(--text-muted);
}

.btn-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin-top: 8px;
}

/* ===== SUCCESS STATE ===== */
.success-step {
  text-align: center;
  padding: 32px 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: var(--primary);
}

.success-icon svg {
  width: 100%;
  height: 100%;
}

.success-step h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.success-step p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.success-signature {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== BENEFITS STRIP ===== */
.benefits-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
  border-right: 1px solid var(--border);
}

.benefit:last-child {
  border-right: none;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--accent);
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-text {
  display: flex;
  flex-direction: column;
}

.benefit-text strong {
  font-size: 14px;
  font-weight: 600;
}

.benefit-text span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== SECTION BADGE ===== */
.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ===== WHY SECTION ===== */
.why-section {
  background: var(--bg);
}

.why-section .why-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 80px 48px;
  max-width: 800px;
  margin: 0 auto;
}

/* Calculator Accordion */
.calc-accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  overflow: hidden;
}

.calc-accordion-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.calc-accordion-toggle::-webkit-details-marker {
  display: none;
}

.calc-accordion-toggle svg:first-child {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary);
}

.calc-accordion-arrow {
  margin-left: auto;
  transition: transform 0.2s;
}

.calc-accordion-arrow svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.calc-accordion[open] .calc-accordion-arrow {
  transform: rotate(180deg);
}

.calc-accordion[open] .calc-accordion-toggle {
  border-bottom: 1px solid var(--border);
}

.calc-accordion .why-calculator {
  padding: 4px;
}

.calc-accordion .calc-card {
  border: none;
  background: transparent;
}

.why-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.why-content > p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.why-content > p:last-child {
  margin-bottom: 0;
}

/* Kompakter Inline-Rechner */
.why-calculator {}

.calc-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px 20px;
  border: 1px solid var(--border);
}

.calc-card-header {
  margin-bottom: 16px;
}

.calc-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.calc-cta {
  display: block;
  text-align: center;
  width: 100%;
  padding: 14px 24px;
  font-size: 14px;
}

/* ===== OBJEKTARTEN SECTION ===== */
.objektarten-section {
  background: var(--bg);
  padding: 80px 48px;
  border-top: 1px solid var(--border);
}

.objektarten-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.objektarten-header {
  text-align: center;
  margin-bottom: 48px;
}

.objektarten-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
}

.objektarten-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.objektarten-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.objektart-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.objektart-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.objektart-img {
  margin: -32px -24px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.objektart-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.objektart-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.objektart-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.objektart-cta {
  display: inline-block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  transition: all 0.2s ease;
  text-decoration: none;
}

.objektart-cta:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}

.objektarten-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== ADVISOR SECTION ===== */
.advisor-section {
  background: var(--bg-alt);
}

.advisor-section .advisor-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  padding: 80px 48px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.advisor-image img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.advisor-content h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tagline {
  font-size: 18px;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 16px;
}

.advisor-content > p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.advisor-content ul {
  list-style: none;
  margin-bottom: 24px;
}

.advisor-content li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 15px;
}

.advisor-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.btn-cta {
  display: inline-block;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.btn-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

/* ===== TRUST SECTION ===== */
.trust-section {
  background: var(--bg);
  padding: 80px 48px;
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.trust-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 48px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.trust-card {
  background: var(--bg-alt);
  padding: 40px 32px;
  border-radius: var(--radius);
  text-align: center;
}

.trust-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--accent);
}

.trust-card-icon svg {
  width: 100%;
  height: 100%;
}

.trust-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.trust-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.trust-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.trust-stat {
  text-align: center;
}

.trust-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.trust-stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

.trust-certs {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--border);
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background: var(--bg-alt);
  padding: 80px 48px;
}

.faq-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.faq-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 48px;
}

.faq-list {
  text-align: left;
}

.faq-item {
  background: var(--bg);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item > summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item > summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq-item[open] > summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Nested detail expand in FAQ */
.faq-detail-expand {
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.faq-detail-expand > summary {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  list-style-type: none;
}

.faq-detail-expand > summary::-webkit-details-marker,
.faq-detail-expand > summary::marker {
  display: none;
  content: '';
}

.faq-detail-expand > summary::before {
  content: '+ ';
}

.faq-detail-expand[open] > summary::before {
  content: '− ';
}

.faq-detail-content {
  padding: 0 14px 14px;
}

/* ===== FINAL CTA ===== */
.final-cta {
  text-align: center;
  padding: 80px 48px;
  background: var(--primary);
  color: #fff;
}

.final-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.final-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta-light {
  display: inline-block;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  background: #ffffff;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.btn-cta-light:hover {
  background: var(--bg-alt);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 32px 48px 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo img {
  height: 48px;
  width: auto;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-disclaimer {
  max-width: 600px;
  margin: 16px auto 0;
  padding: 0 24px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-align: center;
  line-height: 1.5;
}

.footer-bildnachweise {
  margin: 8px auto 0;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

.footer-copy {
  text-align: center;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== STICKY CTA (Mobile) ===== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
  z-index: 100;
}

.btn-sticky {
  display: block;
  width: 100%;
  padding: 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1400px) {
  .hero-bg img {
    object-position: center center;
  }
}

@media (max-width: 1200px) {
  .hero-bg img {
    object-position: center center;
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr 480px;
  }

  .hero-bg img {
    object-position: center center;
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto 48px;
  }
}

.show-mobile-only {
  display: none;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: 24px 24px 20px;
    text-align: center;
    align-items: center;
  }

  .badge {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .hero-text h1 {
    font-size: 26px;
    margin-bottom: 8px;
  }

  .subline {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .logo img {
    height: 80px;
  }

  .logo {
    margin-bottom: 24px;
  }

  .trust-row {
    justify-content: center;
    gap: 20px;
    margin-bottom: 48px;
  }

  .trust-number {
    font-size: 26px;
  }

  .trust-label {
    font-size: 12px;
  }
  
  .scroll-indicator {
    display: none;
  }

  .hide-mobile {
    display: none;
  }

  .show-mobile-only {
    display: inline;
  }

  .hero-bg {
    background: var(--primary);
  }

  .hero-bg img {
    height: 40%;
    object-position: center center;
  }

  .form-wrapper {
    padding: 16px;
    margin-top: -40px;
  }

  .form-card {
    padding: 24px 18px;
  }

  .form-card h2 {
    font-size: 22px;
  }

  .form-sub {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .progress {
    margin-bottom: 16px;
  }

  .step-title {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .option-card {
    aspect-ratio: 1 / 1;
  }

  .option-content {
    padding: 8px 6px;
    justify-content: center;
    height: 100%;
    border-width: 1.5px;
    border-radius: 10px;
    overflow: hidden;
  }

  .option-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 6px;
  }

  .option-label {
    font-size: 11px;
    line-height: 1.2;
    word-break: break-word;
    hyphens: auto;
  }

  .option-grid {
    gap: 8px;
    margin-bottom: 16px;
  }

  .field {
    margin-bottom: 12px;
  }

  .field label {
    font-size: 13px;
    margin-bottom: 4px;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  .custom-select-trigger,
  .custom-select-small .custom-select-trigger {
    height: 48px;
    padding: 10px 14px;
    font-size: 16px;
  }

  .btn-next,
  .btn-submit {
    padding: 14px 20px;
    font-size: 15px;
  }

  .btn-back {
    padding: 14px 20px;
    font-size: 14px;
  }

  .consent label {
    font-size: 12px;
  }

  .consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
  }

  .field-hint {
    font-size: 11px;
    margin-top: 4px;
  }

  /* Labels ausblenden, Placeholder stattdessen */
  .field > label,
  .field-row .field > label,
  .field-small > label {
    display: none;
  }

  /* Range-Header Label beibehalten */
  .range-header label {
    display: block;
  }

  .why-section .why-inner {
    padding: 48px 24px;
    gap: 24px;
  }

  .advisor-section .advisor-inner {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    gap: 32px;
  }

  .objektarten-section {
    padding: 48px 24px;
  }

  .objektarten-header {
    margin-bottom: 32px;
  }

  .objektarten-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 16px;
    scrollbar-width: none;
  }

  .objektarten-grid::-webkit-scrollbar {
    display: none;
  }

  .objektart-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
    padding: 20px 16px;
  }

  .objektart-img {
    margin: -20px -16px 14px;
  }

  .objektart-img img {
    height: 150px;
  }

  .advisor-section .advisor-inner {
    text-align: center;
  }

  .advisor-image {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .advisor-image img {
    max-width: 100%;
  }

  .advisor-content ul {
    text-align: left;
    max-width: 320px;
    margin: 0 auto 24px;
  }

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

  .benefit:nth-child(2) {
    border-right: none;
  }
  
  .sticky-cta {
    display: block;
  }
  
  /* Extra padding am Footer für Sticky CTA */
  footer {
    padding-bottom: 100px;
  }
}

@media (max-width: 640px) {
  .hero-content {
    padding: 24px 16px;
  }

  .form-wrapper {
    padding: 16px;
  }

  .form-card {
    padding: 24px 20px;
  }

  .option-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

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

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

  .btn-row .btn-back {
    order: 2;
  }

  .trust-row {
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: center;
  }

  .trust-number {
    font-size: 22px;
  }

  .trust-label {
    font-size: 11px;
  }

  .benefits-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding: 0 16px;
    border: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    scrollbar-width: none;
  }

  .benefits-strip::-webkit-scrollbar {
    display: none;
  }

  .benefit {
    flex: 0 0 75%;
    scroll-snap-align: start;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 20px 16px;
    border-right: 1px solid var(--border);
    background: var(--bg-alt);
  }

  .benefit:last-child {
    border-right: none;
    border-bottom: none;
  }

  .benefit-icon {
    width: 32px;
    height: 32px;
    padding: 6px;
    background: rgba(26, 43, 66, 0.08);
    border-radius: 50%;
  }

  .benefit-text strong {
    font-size: 14px;
  }

  .benefit-text {
    align-items: center;
  }

  .social-proof {
    flex-direction: row;
    gap: 16px;
    font-size: 12px;
  }

  .why-section .why-inner,
  .advisor-section .advisor-inner,
  .trust-section,
  .faq-section,
  .final-cta,
  footer {
    padding: 40px 16px;
  }

  .objektarten-section {
    padding: 40px 16px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .trust-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 16px;
    scrollbar-width: none;
    max-width: none;
    margin: 0 0 48px;
  }

  .trust-grid::-webkit-scrollbar {
    display: none;
  }

  .trust-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
    padding: 24px 20px;
  }
  
  .trust-stats {
    flex-direction: column;
    gap: 24px;
  }

  .trust-certs {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .footer-logo img {
    height: 64px;
  }
}

/* ===== CONTACT CHOICE & MEETING ===== */
.contact-choice {
  margin-bottom: 20px;
}

.callback-fields,
.meeting-fields {
  transition: opacity 0.2s ease;
}

.meeting-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.meeting-info svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 1px;
}

.meeting-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

#successBooked {
  text-align: center;
}

/* ===== FORM ERROR MESSAGE ===== */
.form-error-message {
  background: #fff5f5;
  border: 1px solid #c41e3a;
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
  color: #c41e3a;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.form-error-message a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.form-error-message a:hover {
  text-decoration: underline;
}

/* ===== DIRECT CONTACT (Telefon unter Formular) ===== */
.direct-contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.direct-contact span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.direct-contact .phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 20px;
  background: var(--bg-alt);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.direct-contact .phone-link:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.02);
}

.direct-contact .phone-link svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  
  /* Reduzierte Abstände in Mobile */
  .form-wrapper {
    padding-bottom: 12px;
  }
  
  .direct-contact {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
  }
  
  .direct-contact span {
    font-size: 14px;
  }
  
  .direct-contact .phone-link {
    font-size: 16px;
    padding: 10px 16px;
  }
  
  .benefits-strip {
    margin-top: -8px;
  }
  
  .why-section .why-inner {
    gap: 20px;
    padding: 32px 16px;
  }

  .why-content h2 {
    font-size: 22px;
  }

  .why-content > p {
    font-size: 14px;
  }

  .calc-card {
    padding: 20px 16px;
  }

  .calc-card-header h3 {
    font-size: 16px;
  }

  .result-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .result-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}



/* Eingaben */
.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.calc-range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-range-header label {
  margin-bottom: 0;
}

.calc-range-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.why-calculator input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  cursor: pointer;
  margin: 8px 0;
}

.why-calculator input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.why-calculator input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.why-calculator .range-labels {
  color: var(--text-muted);
  font-size: 12px;
}

/* Steuersatz-Auswahl */
.tax-rate-options {
  display: flex;
  gap: 8px;
}

.tax-option {
  flex: 1;
  cursor: pointer;
}

.tax-option input {
  display: none;
}

.tax-option span {
  display: block;
  text-align: center;
  padding: 10px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s ease;
  background: var(--bg);
}

.tax-option:hover span {
  border-color: var(--primary);
  color: var(--text);
}

.tax-option input:checked + span {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

/* Toggle */
.calc-toggle-label {
  display: flex !important;
  align-items: center;
  gap: 4px;
}

.toggle-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toggle-switch input {
  display: none;
}

.toggle-slider {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.toggle-slider::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::after {
  transform: translateX(20px);
}

.toggle-label {
  font-size: 13px;
  color: var(--text-muted);
}

.toggle-switch input:checked ~ .toggle-label {
  color: var(--primary);
  font-weight: 500;
}

/* Ergebnisse */
.calc-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-highlight {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
}

.result-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.result-value {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  transition: all 0.3s ease;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.result-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 10px;
  text-align: center;
}

.result-card-value {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.result-card-label {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Jahresaufstellung */
.result-breakdown {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.breakdown-row {
  display: grid;
  grid-template-columns: 40px 1fr 1fr 1fr;
  padding: 7px 12px;
  font-size: 12px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.breakdown-row:last-child {
  border-bottom: none;
}

.breakdown-header {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--bg-alt);
  padding: 8px 12px;
}

.breakdown-row span:last-child {
  font-weight: 600;
  color: var(--primary);
}

/* Disclaimer & CTA */
.calculator-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  margin: 16px 0 12px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .result-value {
    font-size: 26px;
  }

  .result-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .result-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
  }

  .result-card-value {
    font-size: 15px;
    margin-bottom: 0;
  }

  .result-card-label {
    text-align: left;
  }

  .breakdown-row {
    font-size: 11px;
    padding: 6px 10px;
  }
}



/* ===== STEP 3 TRUST BAR ===== */
.step3-trust-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 8px;
}

.step3-trust-bar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.step3-trust-bar span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.step3-trust-bar em {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  color: var(--text-light);
}

/* ===== INFO TOOLTIPS ===== */
.info-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  cursor: pointer;
  vertical-align: middle;
}

.info-tooltip .info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--text-muted);
  background: transparent;
  color: var(--text-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.info-tooltip:hover .info-icon,
.info-tooltip.active .info-icon {
  border-color: var(--primary);
  color: var(--primary);
}

.info-tooltip .tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 240px;
  z-index: 100;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.info-tooltip .tooltip-text::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--border);
}

@media (hover: hover) {
  .info-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
  }
}

.info-tooltip.active .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #fff;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
  border-top: 2px solid var(--primary);
  padding: 0;
  animation: cookieSlideUp 0.4s ease;
}

@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.cookie-banner-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 24px;
}

.cookie-text strong {
  font-size: 16px;
  color: var(--text);
  display: block;
  margin-bottom: 6px;
}

.cookie-text p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.cookie-btn-accept {
  background: var(--primary);
  color: #fff;
}

.cookie-btn-accept:hover {
  background: var(--primary-dark);
}

.cookie-btn-reject {
  background: var(--bg-light);
  color: var(--text);
  border: 1px solid var(--border);
}

.cookie-btn-reject:hover {
  background: var(--border);
}

.cookie-btn-settings {
  background: transparent;
  color: var(--text-light);
  padding: 10px 12px;
  text-decoration: underline;
  font-weight: 400;
}

.cookie-btn-settings:hover {
  color: var(--primary);
}

.cookie-settings {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.cookie-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  cursor: pointer;
}

.cookie-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.cookie-toggle input[disabled] {
  opacity: 0.6;
}

.cookie-toggle-label strong {
  display: block;
  font-size: 14px;
  color: var(--text);
}

.cookie-toggle-label small {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.4;
}

.cookie-settings .cookie-btn-accept {
  margin-top: 12px;
  width: 100%;
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    padding: 16px;
  }
  .cookie-actions {
    flex-direction: column;
  }
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
  .cookie-btn-settings {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .info-tooltip .tooltip-text {
    width: 210px;
    font-size: 12px;
    left: auto;
    right: -10px;
    transform: none;
  }

  .info-tooltip .tooltip-text::after {
    left: auto;
    right: 14px;
    transform: none;
  }
}

/* ===== CERTIFICATIONS BAR ===== */
.certifications-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 20px 48px;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.cert-badge .cert-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: 50%;
  color: var(--accent);
  flex-shrink: 0;
}

.cert-badge .cert-icon svg {
  width: 18px;
  height: 18px;
}

.cert-badge strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.cert-badge span {
  font-size: 11px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .certifications-bar {
    gap: 16px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== EXIT INTENT POPUP ===== */
.exit-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,43,66,0.6);
  z-index: 10001;
  backdrop-filter: blur(4px);
  animation: fadeInOverlay 0.3s ease;
}

.exit-popup-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.exit-popup {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 90%;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: popupScale 0.3s ease;
  position: relative;
}

@keyframes popupScale {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.exit-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-alt);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
  transition: background 0.2s;
}

.exit-popup-close:hover {
  background: var(--border);
}

.exit-popup-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exit-popup-icon svg {
  width: 28px;
  height: 28px;
}

.exit-popup h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.exit-popup p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.exit-popup .btn-cta {
  width: 100%;
  display: block;
  padding: 16px 24px;
  font-size: 16px;
  text-align: center;
  margin-bottom: 12px;
}

.exit-popup .exit-popup-dismiss {
  font-size: 13px;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
}

.exit-popup .exit-popup-dismiss:hover {
  color: var(--text);
}

/* ===== MOBILE IMPROVEMENTS (B5) ===== */
@media (max-width: 1024px) {
  .hero-content {
    padding: 32px 24px 24px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .form-wrapper {
    padding: 20px 16px;
  }

  .form-card {
    padding: 28px 22px;
  }

  .trust-number {
    font-size: 28px;
  }

  .trust-label {
    font-size: 12px;
  }

  .btn-sticky {
    background: var(--accent);
    font-size: 15px;
    padding: 14px;
  }
}
