@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
}

:root {
  --green-950: #063d2b;
  --green-900: #074a34;
  --green-800: #0b5b41;
  --green-100: #e8f0ec;
  --cream: #f6f7f3;
  --white: #ffffff;
  --ink: #101513;
  --muted: #59635f;
  --line: #dce3df;
  --shadow: 0 16px 44px rgba(5, 61, 43, .09);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  min-height: 82px;
  padding: 14px clamp(20px, 5vw, 76px);
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr auto;
  gap: 28px;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #edf0ee;
  backdrop-filter: blur(10px);
}
.brand {
  min-width: 0;
  display: block;
}
.brand img {
  width: min(285px, 100%);
  height: auto;
}
.main-nav { display: flex; justify-content: center; gap: clamp(18px, 2.4vw, 38px); font-weight: 700; font-size: .94rem; }
.main-nav a { padding: 10px 0; white-space: nowrap; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--green-800); }
.menu-button { display: none; }
.header-cta { white-space: nowrap; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 13px 22px;
  color: var(--white);
  background: var(--green-900);
  border: 1px solid var(--green-900);
  border-radius: 7px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  touch-action: manipulation;
  cursor: pointer;
}
.button:hover { transform: translateY(-2px); background: var(--green-950); }
.button-small { min-height: 46px; padding: 10px 18px; font-size: .9rem; }
.button-secondary { color: var(--green-950); background: var(--white); }
.button-secondary:hover { color: var(--white); }

.hero {
  --hero-bottom-gap: clamp(70px, 8vw, 126px);
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: linear-gradient(105deg, #fff 0%, #fbfcfa 48%, #eef2ef 100%);
}
.hero-copy { padding: var(--hero-bottom-gap) clamp(28px, 5.2vw, 84px) 0; align-self: center; }
.eyebrow { margin: 0 0 12px; color: var(--green-800); font-weight: 800; font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; max-width: 720px; font-size: clamp(2.35rem, 4.4vw, 4.6rem); line-height: 1.06; letter-spacing: -.045em; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.12; letter-spacing: -.035em; }
h3 { margin-bottom: 10px; font-size: 1.18rem; line-height: 1.35; }
.hero-intro { max-width: 660px; margin-bottom: 30px; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .button { width: 300px; justify-content: center; white-space: nowrap; }
.trust-list { display: flex; flex-wrap: wrap; gap: 16px 28px; margin: 34px 0 0; padding: 0; list-style: none; color: #34433d; font-size: .9rem; }
.trust-list li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; color: var(--green-900); border: 1px solid var(--green-900); border-radius: 50%; font-weight: 800; }
.hero-visual { position: relative; min-height: 0; margin-bottom: 0; overflow: hidden; background: #e6ebe8; }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }

.section-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section-heading { max-width: 760px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.compact { max-width: 850px; }

.calculator { margin-top: 0; padding: clamp(34px, 5vw, 68px); position: relative; z-index: 3; background: var(--cream); box-shadow: var(--shadow); }
.calculator-heading { margin: 0 auto 30px; text-align: center; }
.calculator-intro { max-width: 100%; overflow-wrap: break-word; }
.calculator-frame { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding: clamp(24px, 4vw, 46px); background: #fff; box-shadow: 0 8px 30px rgba(16,21,19,.06); }
.finance-controls { display: flex; flex-direction: column; gap: 26px; }
.finance-control { min-width: 0; }
.finance-control-heading { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 8px; text-align: center; }
.finance-control label { display: block; color: #34433d; font-size: .93rem; font-weight: 700; text-align: center; }
.finance-control output { color: var(--green-950); font-size: 1.18rem; font-weight: 800; text-align: center; white-space: nowrap; }
.finance-control input[type="range"] { display: block; width: 100%; margin: 0; accent-color: var(--green-900); cursor: pointer; }
.finance-binding { display: grid; grid-template-columns: 1fr minmax(120px, 180px); align-items: center; gap: 16px; }
.finance-binding select { width: 100%; min-height: 46px; padding: 8px 12px; color: var(--green-950); background: #fff; border: 1px solid #bdcbc4; border-radius: 5px; font: inherit; font-weight: 700; text-align: center; text-align-last: center; }
.finance-results { display: flex; flex-direction: column; align-items: center; padding: 4px 0 4px 34px; border-left: 1px solid var(--line); text-align: center; }
.result-label { margin-bottom: 3px; color: #34433d; font-weight: 700; }
.result-primary { display: flex; justify-content: center; align-items: baseline; gap: 10px; margin: 0 0 24px; color: var(--green-950); text-align: center; }
.result-primary output { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.04em; }
.result-primary span { color: var(--muted); font-size: .95rem; }
.result-list { width: 100%; margin: 0; text-align: center; }
.result-list div { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; padding: 14px 0; border-top: 1px solid var(--line); text-align: center; }
.result-list dt { color: #485650; }
.result-list dd { margin: 0; color: var(--green-950); font-weight: 800; text-align: center; white-space: nowrap; }
.result-cta { align-self: center; margin-top: 24px; font-family: inherit; font-size: 1rem; line-height: 1.6; }
.calculator-note { margin: 18px 0 0; padding: 18px 22px; color: #f2f6f4; background: var(--green-950); font-size: .92rem; text-align: center; }
.calculator-note strong { color: #fff; }
.calculator-note p { margin: 0; }
.calculator-request { display: grid; gap: 20px; margin-top: 18px; padding: clamp(22px, 3vw, 34px); background: #fff; box-shadow: 0 8px 30px rgba(16,21,19,.06); text-align: center; }
.calculator-request[hidden] { display: none; }
.calculator-request h3, .calculator-request > p { margin: 0; text-align: center; }
.calculator-request > p { color: var(--muted); }
.request-group { min-width: 0; margin: 0; padding: 20px; border: 1px solid var(--line); text-align: center; }
.request-group[hidden] { display: none; }
.request-group legend { padding: 0 10px; color: var(--green-950); font-weight: 800; text-align: center; }
.request-check-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 22px; }
.request-check-grid label { display: inline-flex; justify-content: center; align-items: flex-start; gap: 9px; color: #34433d; line-height: 1.5; text-align: center; }
.request-check-grid input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green-900); }
.request-availability-grid { display: grid; gap: 20px; }
.request-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.request-field { min-width: 0; }
.request-field-full { grid-column: 1 / -1; }
.request-field label { display: block; margin-bottom: 7px; color: #34433d; font-weight: 800; text-align: left; text-transform: uppercase; letter-spacing: .035em; }
.request-field input, .request-field select, .request-field textarea { display: block; width: 100%; min-height: 52px; padding: 12px 14px; color: var(--green-950); background: #fff; border: 1px solid #bdcbc4; border-radius: 5px; font: inherit; text-align: left; }
.request-field textarea { min-height: 100px; resize: vertical; }
.request-consent { display: flex; justify-content: center; align-items: flex-start; gap: 10px; max-width: 900px; margin-inline: auto; color: #485650; font-size: .9rem; line-height: 1.55; text-align: center; }
.request-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green-900); }
.request-consent a { color: var(--green-800); text-decoration: underline; }
.request-privacy-note { margin: 0 0 14px; text-align: center; }
.request-privacy-note a, .request-consent-details a { color: var(--green-800); text-decoration: underline; }
.request-consent-details { margin-bottom: 16px; text-align: center; }
.request-consent-details summary { color: var(--green-800); cursor: pointer; text-decoration: underline; }
.request-consent-details p { margin: 12px auto 0; max-width: 900px; color: #485650; line-height: 1.6; }
.request-actions { display: flex; justify-content: center; }
.request-actions .button { width: auto; min-width: 360px; max-width: 100%; justify-content: center; font-family: inherit; font-size: 1rem; line-height: 1.6; }

.benefits { padding: 105px 0 85px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; }
.benefit-grid article { padding: 32px; background: var(--cream); }
.benefit-grid h3 { white-space: nowrap; }
.icon-circle { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px; color: var(--green-900); background: var(--green-100); border-radius: 50%; font-weight: 800; }
.benefit-grid p, .process-grid p, .about-copy p { color: var(--muted); }

.process { padding: 76px clamp(24px, 5vw, 68px); background: var(--cream); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 44px 0 0; padding: 0; list-style: none; }
.process-grid li { min-height: 190px; padding: 16px 30px; position: relative; text-align: center; }
.process-grid li:not(:last-child)::after { content: ""; width: 32%; height: 1px; position: absolute; top: 36px; right: -16%; background: #aabbb3; }
.process-grid span { display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 20px; color: #fff; background: var(--green-900); border-radius: 50%; font-weight: 800; }

.partners { padding: 90px 0 80px; }
.partner-row {
  margin: 38px 0 0;
  padding: 30px clamp(18px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
  list-style: none;
  background: #f7f8f6;
}
.partner-logo { min-width: 0; display: grid; place-items: center; color: #40504a; }
.partner-logo img,
.partner-logo svg { width: 100%; max-width: 108px; height: 70px; object-fit: contain; }
.partner-logo-sparkasse img,
.partner-logo-deutsche img { max-width: 68px; }
.partner-logo-vr img { max-width: 112px; }
.partner-logo-commerz img { max-width: 82px; }
.partner-logo-more { display: flex; flex-direction: column; gap: 8px; color: var(--green-800); font-size: .86rem; font-weight: 800; text-align: center; }
.partner-more-mark { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: var(--green-800); border-radius: 50%; font-size: 2rem; font-weight: 500; line-height: 1; }
.partner-disclaimer { margin: 24px auto 0; max-width: 850px; color: var(--muted); text-align: center; font-size: .88rem; }

.about { padding: 86px clamp(24px, 5vw, 68px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; background: var(--green-100); }
.about-copy { font-size: 1.05rem; }
.text-link { color: var(--green-900); font-weight: 800; }

.knowledge { padding: 100px 0; }
.knowledge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.knowledge-card { min-height: 225px; padding: 30px; display: flex; flex-direction: column; color: var(--ink); background: var(--cream); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.knowledge-card h3 { margin-bottom: 24px; }
.knowledge-card > span { margin-top: auto; color: var(--green-900); font-weight: 800; }
.knowledge-card:hover { transform: translateY(-4px); background: #f1f4ef; box-shadow: 0 16px 36px rgba(4, 42, 29, .10); }
.knowledge-card:focus-visible { outline: 3px solid var(--green-700); outline-offset: 4px; }
.knowledge-grid p { margin-bottom: 12px; color: var(--green-800); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }

.article-main { padding: clamp(48px, 7vw, 92px) 24px 100px; background: var(--cream); }
.article-shell { width: min(860px, 100%); margin: 0 auto; padding: clamp(32px, 6vw, 68px); background: var(--white); box-shadow: var(--shadow); }
.article-back { display: inline-flex; margin-bottom: 28px; color: var(--green-900); font-weight: 800; }
.article-label { margin-bottom: 12px; color: var(--green-800); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.article-shell h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1.08; }
.article-shell h2 { margin: 42px 0 14px; font-size: clamp(1.45rem, 3vw, 2rem); }
.article-shell h3 { margin: 30px 0 10px; font-size: 1.2rem; }
.article-shell p, .article-shell li { font-size: 1.04rem; }
.article-shell ul { margin: 18px 0 26px; padding-left: 22px; }
.article-shell li { margin-bottom: 9px; }
.article-lead { color: var(--muted); font-size: 1.18rem !important; }
.article-tip { margin: 18px 0; padding: 18px 20px; border-left: 4px solid var(--green-800); background: var(--green-100); }
.article-cta { margin-top: 48px; padding: clamp(26px, 5vw, 42px); color: var(--white); background: var(--green-950); }
.article-cta h2 { margin-top: 0; }
.article-cta p { color: #d7e3de; }
.article-cta .button { margin-top: 10px; background: var(--white); color: var(--green-950); }
.article-contact { margin-top: 22px; color: #d7e3de; font-size: .95rem !important; }
.article-contact a { color: var(--white); font-weight: 700; text-decoration: underline; }

.contact { margin-bottom: 28px; padding: clamp(38px, 5vw, 70px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; color: #fff; background: var(--green-950); }
.contact p { max-width: 640px; color: #d7e3de; }
.eyebrow.light { color: #b9d6ca; }
.contact-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.button-light { color: var(--green-950); background: #fff; border-color: #fff; }
.button-light:hover { color: #fff; }
.whatsapp-button { min-height: 60px; font-size: 1.05rem; }
.contact .contact-response { margin: 0; color: #b9d6ca; text-align: center; font-size: .86rem; }
.contact-privacy {
  align-self: center;
  color: #d7e3de;
  font-size: .86rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  touch-action: manipulation;
  cursor: pointer;
}
.contact-privacy:hover,
.contact-privacy:focus-visible { color: #fff; }

.site-footer { color: #f2f6f4; background: #050505; }
.footer-main {
  padding: clamp(54px, 7vw, 90px) clamp(24px, 7vw, 108px);
  display: grid;
  grid-template-columns: 1.3fr .7fr 1fr;
  gap: clamp(48px, 7vw, 110px);
}
.footer-brand img {
  width: min(320px, 100%);
  filter: brightness(0) invert(1);
}
.footer-brand p { max-width: 520px; margin: 34px 0 0; font-size: 1.05rem; line-height: 1.65; }
.site-footer h2 { margin-bottom: 24px; color: #fff; font-size: 1.45rem; letter-spacing: -.02em; }
.footer-navigation { display: flex; flex-direction: column; align-items: flex-start; }
.footer-navigation a { padding: 3px 0; font-size: 1rem; }
.footer-contact p { margin: 0 0 24px; font-size: 1rem; }
.footer-navigation a:hover,
.footer-contact a:hover,
.footer-legal a:hover { color: #8fc5ad; }
.footer-bottom {
  padding: 24px clamp(24px, 7vw, 108px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #cbd8d2;
  border-top: 1px solid rgba(255,255,255,.35);
  text-align: center;
  font-size: .9rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom p,
.footer-legal a { min-height: 32px; display: flex; align-items: center; white-space: nowrap; }
.footer-legal { display: flex; gap: 18px; position: relative; z-index: 2; }
.footer-legal a {
  padding: 6px 0;
  color: #86bfa6;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  touch-action: manipulation;
  cursor: pointer;
}

.legal-page { padding: clamp(40px, 6vw, 84px) 20px; background: var(--green-100); }
.legal-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 80px);
  background: var(--white);
  box-shadow: var(--shadow);
}
.legal-shell > h1 { margin-bottom: 44px; }
.legal-content { max-width: 940px; }
.legal-content h2 { margin: 44px 0 20px; font-size: clamp(1.65rem, 3vw, 2.5rem); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 22px; }
.legal-content ul { margin: 0 0 26px; padding-left: 24px; }
.legal-content a { color: var(--green-800); text-decoration: underline; text-underline-offset: 2px; }
.legal-content .button { color: #fff; text-decoration: none; }

@media (max-width: 1020px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .menu-button { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
  .menu-button span:not(.sr-only) { width: 22px; height: 2px; display: block; background: var(--green-950); }
  .main-nav { display: none; padding: 20px; position: absolute; top: 81px; left: 20px; right: 20px; flex-direction: column; background: #fff; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: min(68vw, 550px); margin-bottom: 0; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .process-grid li:nth-child(2)::after { display: none; }
  .partner-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 72px;
    padding: 10px 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }
  .brand { max-width: 205px; }
  .brand img { width: 100%; }
  .menu-button { flex: 0 0 auto; }
  .header-cta { display: none; }
  .main-nav { top: 71px; left: 12px; right: 12px; }
  .hero { min-height: 0; }
  .hero-copy { padding: 48px 20px 42px; }
  h1 { font-size: clamp(2.05rem, 9.4vw, 2.7rem); line-height: 1.08; }
  h2 { font-size: clamp(1.8rem, 8vw, 2.35rem); line-height: 1.14; }
  .hero-visual { min-height: 0; }
  .hero-visual img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
  }
  .hero-actions .button { width: 100%; flex: 0 0 100%; }
  .trust-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .calculator { width: calc(100% - 24px); margin-top: 0; padding: 30px 14px; }
  .calculator-frame { grid-template-columns: 1fr; gap: 28px; padding: 22px 18px; }
  .finance-controls { gap: 22px; }
  .finance-results { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .finance-binding { grid-template-columns: 1fr; gap: 8px; }
  .result-primary output { font-size: 2.5rem; }
  .result-cta { align-self: stretch; }
  .calculator-note { padding: 18px; font-size: .86rem; text-align: center; }
  .calculator-note strong { display: block; margin-bottom: 6px; }
  .calculator-request { padding: 22px 16px; }
  .request-group { padding: 18px 14px; }
  .request-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: center; gap: 12px; }
  .request-check-grid label { text-align: center; }
  .request-contact-preference { grid-template-columns: 1fr; }
  .request-fields { grid-template-columns: 1fr; gap: 16px; }
  .request-field-full { grid-column: auto; }
  .request-actions .button { width: auto; min-width: min(320px, 100%); min-height: 52px; padding: 13px 22px; font-size: 1rem; line-height: 1.6; text-align: center; }
  .benefit-grid, .knowledge-grid, .about, .contact { grid-template-columns: 1fr; }
  .partners { padding: 74px 0 66px; }
  .partner-row { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 22px 16px; }
  .partner-logo { min-height: 86px; background: #fff; }
  .partner-logo img,
  .partner-logo svg { height: 58px; }
  .partner-logo-more { grid-column: 1 / -1; }
  .benefits, .knowledge { padding: 74px 0; }
  .article-main { padding: 24px 12px 72px; }
  .article-shell { padding: 30px 22px; }
  .benefit-grid article { padding: 26px; }
  .process { width: calc(100% - 24px); padding: 60px 14px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li:not(:last-child)::after { width: 1px; height: 26px; top: auto; right: 50%; bottom: -18px; display: block; }
  .about { width: calc(100% - 24px); gap: 10px; padding: 58px 24px; }
  .contact { width: calc(100% - 24px); gap: 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 46px; padding: 56px 28px; }
  .footer-brand img { width: 260px; }
  .footer-brand p { margin-top: 28px; }
  .benefit-grid h3 { white-space: normal; }
  .footer-bottom { align-items: center; flex-direction: row; flex-wrap: nowrap; gap: 8px; padding: 20px 10px; font-size: .72rem; }
  .footer-legal { gap: 8px; margin: 0; }
  .legal-page { padding: 20px 12px; }
  .legal-shell { padding: 34px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
