/* ============================================================
   FORSTLEASING — Custom CSS
   ============================================================ */

/* --- Custom Properties --------------------------------------- */
:root {
  --forest-deep:   #0d1a0d;
  --forest-mid:    #1a2e1a;
  --bark:          #3d2b1f;
  --moss:          #2d6a4f;
  --fern:          #40916c;
  --pine:          #52b788;
  --cream:         #f5f0e8;
  --parchment:     #faf7f2;
  --warm-white:    #ffffff;

  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);

  --container: 1200px;
}

/* --- Reset --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: #1a1a1a;
  background: var(--warm-white);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Container ---------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* --- Typography --------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { font-size: 1rem; line-height: 1.7; }

/* --- Utility ------------------------------------------------ */
.text-fern   { color: var(--fern); }
.text-pine   { color: var(--pine); }
.text-cream  { color: var(--cream); }
.text-muted  { color: rgba(255,255,255,0.6); }
.text-center { text-align: center; }
.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;
}

/* --- Buttons ------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: .9375rem; font-weight: 600;
  cursor: pointer; border: none; transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--fern); color: #fff;
  box-shadow: 0 2px 8px rgba(64,145,108,.35);
}
.btn-primary:hover { background: var(--moss); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(64,145,108,.45); }
.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(245,240,232,.25);
}
.btn-secondary:hover { background: rgba(245,240,232,.08); }
.btn-outline-dark {
  background: transparent; color: var(--forest-deep);
  border: 1.5px solid rgba(13,26,13,.18);
}
.btn-outline-dark:hover { background: var(--forest-deep); color: var(--cream); }
.btn-sm { padding: .5rem 1rem; font-size: .875rem; }
.btn-lg { padding: .9rem 1.9rem; font-size: 1rem; }

/* --- Section Badge ------------------------------------------ */
.section-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(64,145,108,.3);
  background: rgba(64,145,108,.08);
  color: var(--fern);
  font-size: .8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  font-family: var(--font-display);
}
.section-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%; background: var(--fern);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}

/* --- Cards -------------------------------------------------- */
.card {
  background: var(--warm-white);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-dark {
  background: var(--forest-mid);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
}

/* --- Section spacing ---------------------------------------- */
section { padding-block: 5rem; }
.section-header { margin-bottom: 3rem; }
.section-header p { max-width: 52ch; margin-top: .75rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
header {
  position: sticky; top: 0; z-index: 100;
  padding-block: 1rem;
  transition: background .3s, box-shadow .3s;
}
header.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.nav-inner {
  display: flex; align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 800;
  flex-shrink: 0;
}
.nav-logo .word-forst  { color: rgba(245,240,232,.7); }
.nav-logo .word-leasing{ color: var(--fern); }
header.scrolled .nav-logo .word-forst  { color: rgba(13,26,13,.5); }
header.scrolled .nav-logo .word-leasing{ color: var(--fern); }

.nav-links {
  display: none;
  align-items: center; gap: 1.75rem;
  margin-left: auto;
}
.nav-links a {
  font-size: .9375rem; font-weight: 500;
  color: rgba(245,240,232,.75);
  transition: color .2s;
}
header.scrolled .nav-links a { color: rgba(13,26,13,.65); }
.nav-links a:hover, header.scrolled .nav-links a:hover { color: var(--fern); }

.nav-cta { margin-left: auto; }
header.scrolled .nav-cta .btn-primary { box-shadow: 0 2px 10px rgba(64,145,108,.3); }

.hamburger {
  margin-left: auto;
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; padding: .4rem;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--cream);
  border-radius: 2px; transition: .3s;
}
header.scrolled .hamburger span { background: var(--forest-deep); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: var(--forest-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem;
  padding: 2rem;
}
.mobile-nav a {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  color: var(--cream); transition: color .2s;
}
.mobile-nav a:hover { color: var(--pine); }
.mobile-nav-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: none; border: none; cursor: pointer;
  color: var(--cream); font-size: 1.5rem; line-height: 1;
}

@media (min-width: 768px) {
  .nav-links   { display: flex; }
  .hamburger   { display: none; }
  .nav-cta     { margin-left: 0; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  background: var(--warm-white);
  background-image:
    radial-gradient(ellipse 70% 60% at 85% 0%, rgba(64,145,108,.12) 0%, transparent 70%),
    linear-gradient(transparent 0%, transparent 100%);
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 2rem; padding-bottom: 3rem;
  position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.hero-content h1 { color: var(--forest-deep); margin-block: 1rem; }
.hero-content h1 span { color: var(--fern); }
.hero-content p { color: rgba(13,26,13,.65); max-width: 52ch; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.hero-actions .btn-secondary { color: var(--moss); border-color: rgba(45,106,79,.3); }
.hero-actions .btn-secondary:hover { background: rgba(45,106,79,.08); }

.hero-metrics {
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid rgba(0,0,0,.08);
  padding-top: 1.5rem;
}
.metric-item {
  flex: 1 1 auto;
  min-width: 130px;
  padding: .5rem 1.25rem .5rem 0;
  border-right: 1px solid rgba(0,0,0,.08);
}
.metric-item:last-child { border-right: none; padding-right: 0; }
.metric-item:not(:first-child) { padding-left: 1.25rem; }
.metric-value {
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 800;
  color: var(--forest-deep); line-height: 1;
}
.metric-label { font-size: .8125rem; color: rgba(13,26,13,.5); margin-top: .2rem; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-illustration {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--forest-mid) 0%, var(--moss) 60%, var(--pine) 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-illustration svg { width: 80%; max-width: 380px; opacity: .85; }

.hero-badge {
  position: absolute; bottom: -1rem; left: -1rem;
  background: var(--warm-white);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-md);
  padding: .85rem 1.1rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .65rem;
}
.hero-badge .badge-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: rgba(64,145,108,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--fern);
}
.hero-badge .badge-text strong {
  display: block; font-family: var(--font-display); font-size: .875rem;
}
.hero-badge .badge-text span { font-size: .8125rem; color: rgba(13,26,13,.5); }

.scroll-indicator {
  position: absolute; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(13,26,13,.35); font-size: .75rem;
}
.scroll-arrow { animation: bounce 2s infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ============================================================
   TRUST / STATS
   ============================================================ */
.trust-section { background: var(--warm-white); }
.stats-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 2.5rem;
}
@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-card {
  background: var(--warm-white);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(64,145,108,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--fern); margin-bottom: .75rem;
}
.stat-value {
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 800;
  color: var(--forest-deep); line-height: 1;
}
.stat-label { font-size: .875rem; color: rgba(13,26,13,.55); margin-top: .3rem; }

.credo-block {
  background: var(--forest-deep);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 2rem 2.5rem;
  border-left: 4px solid var(--fern);
  position: relative; overflow: hidden;
}
.credo-block::before {
  content: '\201C';
  position: absolute; top: -1rem; left: 1.25rem;
  font-size: 6rem; font-family: Georgia, serif;
  color: rgba(64,145,108,.15); line-height: 1; pointer-events: none;
}
.credo-block blockquote {
  font-family: var(--font-display); font-size: clamp(1rem, 2vw, 1.15rem);
  font-style: italic; font-weight: 500;
  color: var(--cream); line-height: 1.65;
}
.credo-block cite {
  display: block; margin-top: .75rem;
  font-size: .875rem; font-style: normal;
  color: rgba(245,240,232,.55);
}

/* ============================================================
   SOLUTIONS
   ============================================================ */
.solutions-section { background: var(--forest-deep); }
.solutions-section .section-header h2 { color: var(--cream); }
.solutions-section .section-header p   { color: rgba(245,240,232,.6); }

.solutions-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .solutions-grid { grid-template-columns: repeat(3, 1fr); } }

.solution-card {
  background: var(--forest-mid);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.solution-card:hover, .solution-card.active {
  border-color: rgba(64,145,108,.4);
  box-shadow: 0 0 0 1px rgba(64,145,108,.15), var(--shadow-md);
}
.sol-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: .75rem;
}
.sol-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(64,145,108,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--pine);
}
.sol-chevron { color: rgba(245,240,232,.35); transition: transform .3s; flex-shrink: 0; }
.solution-card.active .sol-chevron { transform: rotate(180deg); color: var(--pine); }
.solution-card h3 { color: var(--cream); font-size: 1.05rem; }
.sol-intro { color: rgba(245,240,232,.55); font-size: .9rem; line-height: 1.55; margin-bottom: 0; }
.sol-detail {
  color: rgba(245,240,232,.7); font-size: .875rem; line-height: 1.65;
  padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.07); margin-top: 1rem;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-section { background: var(--parchment); }
.process-section .section-header h2 { color: var(--forest-deep); }
.process-section .section-header p   { color: rgba(13,26,13,.55); }

.process-wrapper { position: relative; }
.timeline-track {
  display: none;
  position: absolute; top: 38px; left: 0; right: 0;
  height: 2px; background: rgba(64,145,108,.15); z-index: 0;
}
.timeline-line {
  height: 100%; width: 0;
  background: linear-gradient(to right, var(--fern), var(--pine));
  transition: width 1.4s cubic-bezier(.4,0,.2,1);
}

.process-steps {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  position: relative; z-index: 1;
}
@media (min-width: 768px) {
  .timeline-track { display: block; }
  .process-steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

.process-step { text-align: center; }
.step-bubble {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--warm-white);
  border: 2px solid rgba(64,145,108,.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  transition: border-color .3s, background .3s;
}
.step-bubble .step-num {
  font-family: var(--font-display); font-size: .8125rem; font-weight: 700;
  color: var(--fern);
}
.step-bubble.done {
  background: var(--fern); border-color: var(--fern);
}
.step-bubble.done .step-num { color: #fff; }

.process-step h3 { color: var(--forest-deep); margin-bottom: .5rem; }
.process-step p  { font-size: .9rem; color: rgba(13,26,13,.55); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--parchment); padding-top: 0; }
.about-grid {
  display: grid; gap: 3.5rem; align-items: start;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 420px; }
}
.about-content h2 { color: var(--forest-deep); margin-bottom: 1.5rem; }
.about-content h2 span { color: var(--fern); }
.about-content p { color: rgba(13,26,13,.65); margin-bottom: 1.1rem; }
.about-blockquote {
  border-left: 3px solid var(--fern);
  padding: .5rem 0 .5rem 1.25rem;
  margin: 1.5rem 0;
}
.about-blockquote p {
  font-style: italic; color: var(--forest-deep); font-size: 1rem;
  font-weight: 500; margin: 0;
}

.about-visual { position: relative; }
.about-img-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--moss) 0%, var(--forest-deep) 100%);
  display: flex; align-items: center; justify-content: center;
}
.about-img-wrap svg { width: 70%; opacity: .6; }
.about-stat-badge {
  position: absolute; bottom: 1.5rem; right: -1rem;
  background: var(--warm-white); border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-md); padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-stat-badge strong {
  display: block; font-family: var(--font-display); font-size: 1.1rem;
  color: var(--forest-deep);
}
.about-stat-badge span { font-size: .8125rem; color: rgba(13,26,13,.5); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: var(--warm-white); }
.faq-section .section-header { text-align: center; }
.faq-section .section-header h2 { color: var(--forest-deep); }
.faq-section .section-header p   { color: rgba(13,26,13,.55); margin-inline: auto; }

.faq-list { max-width: 56rem; margin-inline: auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--warm-white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.1rem 1.25rem;
  background: none; border: none; cursor: pointer; text-align: left;
}
.faq-trigger h3 { font-size: .9375rem; font-weight: 600; color: var(--forest-deep); }
.faq-icon { flex-shrink: 0; color: var(--fern); transition: transform .3s; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { padding: 0 1.25rem 1.25rem; }
.faq-answer p { font-size: .9rem; color: rgba(13,26,13,.65); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--forest-deep);
  background-image:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(64,145,108,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 90% 80%, rgba(45,106,79,.15) 0%, transparent 60%);
  text-align: center;
}
.cta-section h2 { color: var(--cream); }
.cta-section h2 span { color: var(--pine); }
.cta-section > .container > p { color: rgba(245,240,232,.65); max-width: 46ch; margin-inline: auto; margin-bottom: 2.5rem; }
.cta-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center; margin-bottom: 2rem;
}
.cta-contacts {
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: center; margin-bottom: 2rem;
}
.cta-contacts a {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1.1rem;
  border: 1.5px solid rgba(245,240,232,.15);
  border-radius: var(--radius-md);
  color: rgba(245,240,232,.7); font-size: .9rem;
  transition: all .2s;
}
.cta-contacts a:hover { border-color: rgba(64,145,108,.5); color: var(--pine); }
.trust-note {
  font-size: .8125rem; color: rgba(245,240,232,.4);
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  flex-wrap: wrap;
}
.trust-note span::before { content: '·'; margin-right: 1rem; }
.trust-note span:first-child::before { content: none; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--forest-deep);
  border-top: 1px solid rgba(245,240,232,.08);
  padding-block: 2.5rem;
}
.footer-inner {
  display: flex; flex-direction: column; gap: 1.5rem;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-logo {
  display: flex; align-items: center; gap: .4rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
}
.footer-logo .word-forst  { color: rgba(245,240,232,.5); }
.footer-logo .word-leasing{ color: var(--fern); }
.footer-tagline { font-size: .8125rem; color: rgba(245,240,232,.35); margin-top: .2rem; }

.footer-nav {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
}
.footer-nav a { font-size: .875rem; color: rgba(245,240,232,.5); transition: color .2s; }
.footer-nav a:hover { color: var(--pine); }

.footer-bottom {
  border-top: 1px solid rgba(245,240,232,.06);
  padding-top: 1.5rem; margin-top: 1rem;
  font-size: .8125rem; color: rgba(245,240,232,.3); text-align: center;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: 1.25rem; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2.5rem); max-width: 620px;
  z-index: 300;
  background: var(--forest-deep);
  border: 1px solid rgba(245,240,232,.12);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
  display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 640px) {
  .cookie-banner { flex-direction: row; align-items: center; gap: 1.5rem; }
}
.cookie-text { font-size: .875rem; color: rgba(245,240,232,.7); flex: 1; }
.cookie-text a { color: var(--pine); text-decoration: underline; }
.cookie-btns { display: flex; gap: .5rem; flex-shrink: 0; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-box {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 560px;
  max-height: 90svh; overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.modal-header {
  padding: 1.5rem 1.5rem 0;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.modal-header h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--forest-deep); }
.modal-header p  { font-size: .875rem; color: rgba(13,26,13,.5); margin-top: .25rem; }
.modal-close {
  background: none; border: none; cursor: pointer;
  color: rgba(13,26,13,.4); font-size: 1.5rem; line-height: 1;
  padding: .2rem; flex-shrink: 0; transition: color .2s;
}
.modal-close:hover { color: var(--forest-deep); }
.modal-body { padding: 1.5rem; }

/* Step indicator */
.step-indicator {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: 1.75rem;
}
.step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; font-family: var(--font-display);
  border: 2px solid rgba(0,0,0,.12); color: rgba(13,26,13,.4);
  transition: all .2s;
}
.step-dot.active { background: var(--fern); border-color: var(--fern); color: #fff; }
.step-dot.done   { background: var(--moss); border-color: var(--moss); color: #fff; }
.step-line { flex: 1; height: 2px; background: rgba(0,0,0,.08); }

/* Form fields */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: .875rem; font-weight: 500; color: var(--forest-deep); margin-bottom: .4rem; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid rgba(0,0,0,.12);
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .9375rem;
  background: var(--warm-white); color: var(--forest-deep);
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--fern);
  box-shadow: 0 0 0 3px rgba(64,145,108,.12);
}
.form-textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.form-checkbox { display: flex; align-items: flex-start; gap: .6rem; cursor: pointer; }
.form-checkbox input { width: 16px; height: 16px; accent-color: var(--fern); flex-shrink: 0; margin-top: .15rem; }
.form-checkbox span { font-size: .8125rem; color: rgba(13,26,13,.65); }
.form-checkbox a { color: var(--fern); text-decoration: underline; }

/* Finanzierungsart selection cards */
.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; margin-bottom: 1.25rem; }
@media (min-width: 480px) { .type-grid { grid-template-columns: repeat(3, 1fr); } }
.type-card {
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: var(--radius-sm);
  padding: .75rem; text-align: center; cursor: pointer;
  transition: all .2s;
}
.type-card:hover { border-color: rgba(64,145,108,.4); background: rgba(64,145,108,.04); }
.type-card.selected { border-color: var(--fern); background: rgba(64,145,108,.08); }
.type-card .type-icon { font-size: 1.5rem; margin-bottom: .3rem; }
.type-card span { font-size: .8125rem; font-weight: 600; color: var(--forest-deep); }

/* Laufzeit toggle buttons */
.laufzeit-group { display: flex; flex-wrap: wrap; gap: .4rem; }
.laufzeit-btn {
  padding: .35rem .75rem;
  border: 1.5px solid rgba(0,0,0,.12);
  border-radius: var(--radius-sm);
  background: none; cursor: pointer;
  font-size: .8125rem; font-weight: 600; color: rgba(13,26,13,.65);
  transition: all .2s;
}
.laufzeit-btn.selected, .laufzeit-btn:hover {
  border-color: var(--fern); background: rgba(64,145,108,.08); color: var(--fern);
}

/* Success / error state */
.form-success, .form-error {
  text-align: center; padding: 2rem 1rem;
}
.form-success .icon, .form-error .icon { font-size: 2.5rem; margin-bottom: .75rem; }
.form-success h4, .form-error h4 { font-family: var(--font-display); font-size: 1.1rem; color: var(--forest-deep); margin-bottom: .5rem; }
.form-success p, .form-error p { font-size: .9rem; color: rgba(13,26,13,.6); }

.modal-footer { padding: 0 1.5rem 1.5rem; display: flex; justify-content: space-between; gap: .75rem; }
.btn-back { background: none; border: 1.5px solid rgba(0,0,0,.12); color: rgba(13,26,13,.6); }

/* ============================================================
   IMPRESSUM / DATENSCHUTZ
   ============================================================ */
.legal-page { max-width: 820px; margin-inline: auto; padding: 4rem 1.25rem; }
.legal-page h1 { color: var(--forest-deep); margin-bottom: 1.5rem; }
.legal-page h2 { color: var(--forest-deep); font-size: 1.15rem; margin: 2rem 0 .5rem; }
.legal-page p, .legal-page li { color: rgba(13,26,13,.65); line-height: 1.75; margin-bottom: .5rem; }
.legal-page ul { padding-left: 1.25rem; list-style: disc; }

/* ============================================================
   AOS overrides
   ============================================================ */
[data-aos] { transition-timing-function: cubic-bezier(.4,0,.2,1) !important; }

/* ============================================================
   Utility Animations
   ============================================================ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fade-up .7s ease both; }
.delay-100 { animation-delay: .1s; }
.delay-200 { animation-delay: .2s; }
.delay-300 { animation-delay: .3s; }
.delay-400 { animation-delay: .4s; }
