.home-page {
  margin: 0;
  overflow-x: clip;
  background: var(--g-color-mint-soft);
  color: var(--g-color-ink);
  font-family: var(--g-font-sans);
  font-size: 16px;
  line-height: 1.6;
}

.home-page .container {
  width: min(calc(100% - 2rem), var(--g-content));
  margin-inline: auto;
}

.home-page .home-hero {
  min-height: auto;
  padding: 0;
  overflow: hidden;
  color: var(--g-color-ink);
  background:
    radial-gradient(circle at 82% 35%, rgba(73, 168, 62, .13), transparent 24rem),
    radial-gradient(circle at 72% 5%, rgba(255, 178, 26, .12), transparent 21rem),
    linear-gradient(145deg, #fff 0%, #f7fcfa 58%, #eaf7f3 100%);
  border-bottom: 1px solid var(--g-color-border);
}

.home-page .hero__overlay { display: none; }
.home-page .hero__content { padding: 0 0 var(--g-space-16); }

.home-page .topbar {
  min-height: 80px;
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--g-space-6);
  border-bottom: 1px solid rgba(220, 233, 229, .8);
}

.home-page .home-brand {
  width: 184px;
  min-width: 184px;
  padding: .4rem 0;
}

.home-page .home-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.home-page .topbar__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .35rem;
}

.home-page .topbar__link {
  padding: .65rem .8rem;
  border-radius: .7rem;
  color: var(--g-color-ink);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--g-transition), background var(--g-transition), transform var(--g-transition);
}

.home-page .topbar__link:hover { color: var(--g-color-primary); background: var(--g-color-mint); }
.home-page .topbar__link--cta { background: var(--g-color-primary); color: #fff; }
.home-page .topbar__link--cta:hover { background: var(--g-color-primary-strong); color: #fff; transform: translateY(-1px); }

.home-page .language-switcher {
  padding: .2rem;
  border: 1px solid var(--g-color-border);
  border-radius: .75rem;
  background: #fff;
}

.home-page .hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .7fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.home-page .hero__text { max-width: 760px; }
.home-page .eyebrow { color: var(--g-color-primary); font-weight: 850; letter-spacing: .1em; }
.home-page .hero__text h1 {
  max-width: 720px;
  margin: .5rem 0 1.25rem;
  color: var(--g-color-heading);
  font-size: clamp(2.2rem, 3.35vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.home-page .hero__lead {
  max-width: 660px;
  margin-bottom: var(--g-space-6);
  color: var(--g-color-muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.home-page .trust-strip { display: flex; flex-wrap: wrap; gap: .55rem; }
.home-page .trust-pill {
  border: 1px solid #cbe7df;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--g-color-primary-strong);
  box-shadow: none;
  font-weight: 750;
}

.home-page .hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.home-page .button {
  min-height: 46px;
  padding: .72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: .8rem;
  box-shadow: none;
  font-weight: 800;
  transition: transform var(--g-transition), box-shadow var(--g-transition), background var(--g-transition);
}
.home-page .button:hover { transform: translateY(-2px); }
.home-page .button--primary { background: var(--g-color-primary); color: #fff; box-shadow: 0 9px 22px rgba(7, 143, 120, .2); }
.home-page .button--primary:hover { background: var(--g-color-primary-strong); }
.home-page .button--ghost { border-color: var(--g-color-border-strong); background: #fff; color: var(--g-color-heading); }
.home-page .button--ghost:hover { border-color: var(--g-color-primary); color: var(--g-color-primary-strong); background: var(--g-color-mint); }
.home-page .button--small { min-height: 40px; padding: .55rem .85rem; }

.home-page .hero__art { position: relative; display: grid; place-items: center; }
.home-page .hero__art::before {
  content: "";
  position: absolute;
  width: 110%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.95), rgba(234,247,243,.4) 62%, transparent 63%);
}
.home-page .hero__art-frame {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 1;
  padding: 1.2rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.home-page .hero__art-frame::before { display: none; }
.home-page .hero__art-image { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 22px 26px rgba(6,47,44,.13)); }
.home-page .hero__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  max-width: 760px;
}
.home-page .stat-card {
  min-height: 92px;
  padding: 1rem 1.15rem;
  border: 1px solid var(--g-color-border);
  border-radius: var(--g-radius-md);
  background: rgba(255,255,255,.9);
  box-shadow: var(--g-shadow-sm);
}
.home-page .stat-card__value { color: var(--g-color-primary); font-size: 1.35rem; font-weight: 850; }
.home-page .stat-card__label { color: var(--g-color-muted); font-size: .84rem; }

.home-page .section { padding: var(--g-space-16) 0; background: #fff; }
.home-page .section:nth-of-type(even) { background: var(--g-color-mint-soft); }
.home-page .section--compact { padding: var(--g-space-10) 0; }
.home-page .section-heading { max-width: 850px; margin-bottom: var(--g-space-8); }
.home-page .section-heading--row { max-width: none; align-items: end; }
.home-page .section-heading h2,
.home-page .legal-card h2 {
  color: var(--g-color-heading);
  letter-spacing: -.035em;
  line-height: 1.12;
}
.home-page .section-heading h2 { font-size: clamp(2rem, 3.2vw, 3.1rem); }
.home-page .section-heading__lead { color: var(--g-color-muted); font-size: 1.05rem; }

.home-page #directory > .container { display: flex; flex-direction: column; }
.home-page #homeDirectoryPreview {
  order: -10;
  margin: 0 0 var(--g-space-16);
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid var(--g-color-border);
  border-radius: var(--g-radius-xl);
  background: linear-gradient(145deg, #fff, #f8fcfb);
  box-shadow: var(--g-shadow-md);
}
.home-page #homeDirectoryPreview + * { margin-top: 0; }
.home-page #directory > .container > .section-heading:first-child { order: -12; }
.home-page #directory > .container > .notice-banner:first-of-type { order: -11; }
.home-page #directory > .container > .trust-strip--section { order: -11; margin-bottom: var(--g-space-8); }

.home-page .notice-banner {
  border: 1px solid #cfe8e1;
  border-radius: var(--g-radius-md);
  background: var(--g-color-mint);
  color: var(--g-color-ink);
  box-shadow: none;
}
.home-page .notice-banner--soft { background: #fffaf0; border-color: #f6dca7; }
.home-page .notice-banner a { color: var(--g-color-primary-strong); font-weight: 800; }

.home-page .filters {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: .7rem;
  padding: .8rem;
  border: 1px solid var(--g-color-border);
  border-radius: var(--g-radius-lg);
  background: #fff;
}
.home-page .field span { color: var(--g-color-muted); font-size: .76rem; font-weight: 800; }
.home-page :where(input, select) {
  min-height: 45px;
  border: 1px solid var(--g-color-border-strong);
  border-radius: .7rem;
  background: #fff;
  color: var(--g-color-ink);
}
.home-page :where(input, select):focus { border-color: var(--g-color-primary); box-shadow: 0 0 0 3px rgba(7,143,120,.12); }

.home-page #homeDirectoryPreview .helpers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.home-page #homeDirectoryPreview .helper-card {
  min-width: 0;
  padding: 0 1rem 1rem;
  overflow: hidden;
  border: 1px solid var(--g-color-border);
  border-radius: var(--g-radius-lg);
  background: #fff;
  box-shadow: var(--g-shadow-sm);
  transition: transform var(--g-transition), box-shadow var(--g-transition), border-color var(--g-transition);
}
.home-page #homeDirectoryPreview .helper-card:hover { transform: translateY(-4px); border-color: #b8d8d0; box-shadow: var(--g-shadow-md); }
.home-page #homeDirectoryPreview .helper-card--featured { border-color: #f1bd55; }
.home-page #homeDirectoryPreview .helper-card--premium { border-color: #88d3c5; }
.home-page #homeDirectoryPreview .helper-card__media { height: 180px; margin: 0 -1rem .9rem; border-radius: 0; background: var(--g-color-mint-soft); }
.home-page #homeDirectoryPreview .helper-card__image { width: 100%; height: 100%; object-fit: cover; }
.home-page #homeDirectoryPreview .helper-card__badges { top: .65rem; left: .65rem; right: 2.8rem; flex-wrap: wrap; }
.home-page #homeDirectoryPreview .favorite-button { top: .65rem; right: .65rem; background: rgba(255,255,255,.95); }
.home-page #homeDirectoryPreview .helper-card__header { display: block; }
.home-page #homeDirectoryPreview .helper-card__name { color: var(--g-color-heading); font-size: 1.05rem; }
.home-page #homeDirectoryPreview .helper-card__summary { min-height: 4.5em; color: var(--g-color-muted); }
.home-page #homeDirectoryPreview .helper-card__trust { grid-template-columns: 1fr 1fr; gap: .55rem; }
.home-page #homeDirectoryPreview .helper-card__meta-item { padding: .55rem; border-radius: .65rem; background: var(--g-color-mint-soft); }
.home-page #homeDirectoryPreview .helper-card__actions { display: grid; grid-template-columns: 1fr; gap: .5rem; }
.home-page #homeDirectoryPreview .helper-card__actions .button { width: 100%; }

.home-page .quick-start-grid,
.home-page .steps,
.home-page .form-layout {
  display: grid;
  gap: 1rem;
}
.home-page .quick-start-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.home-page .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-page .form-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-page .step-card,
.home-page .legal-card {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--g-color-border);
  border-radius: var(--g-radius-lg);
  background: #fff;
  box-shadow: var(--g-shadow-sm);
}
.home-page .step-card h3,
.home-page .legal-card h2 { color: var(--g-color-heading); }
.home-page .step-card p,
.home-page .legal-card p { color: var(--g-color-muted); }
.home-page .step-card--warning { border-top: 3px solid var(--g-color-sun); }

.home-page .site-footer { padding: var(--g-space-12) 0; background: var(--g-color-heading); color: #dce9e5; }
.home-page .site-footer__content { display: grid; gap: var(--g-space-6); }
.home-page .site-footer__links { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; }
.home-page .site-footer a { color: #fff; }
.home-page .scroll-top { background: var(--g-color-primary); box-shadow: var(--g-shadow-md); }

@media (max-width: 1100px) {
  .home-page #homeDirectoryPreview .helpers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .quick-start-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .field--search { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .home-page .topbar { flex-direction: row; align-items: center; flex-wrap: wrap; padding: .8rem 0; margin-bottom: 2rem; }
  .home-page .topbar__links { order: 3; width: 100%; flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; overflow: visible; }
  .home-page .topbar__link { width: auto; flex: 0 0 auto; padding: .5rem .65rem; }
  .home-page .hero__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .home-page .hero__text { text-align: left; }
  .home-page .hero__art { max-width: 310px; margin: 0 auto; }
  .home-page .hero__stats { grid-column: auto; max-width: none; }
  .home-page .form-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .home-page .container { width: min(calc(100% - 1.25rem), var(--g-content)); }
  .home-page .home-brand { width: 150px; min-width: 150px; }
  .home-page .topbar { min-height: 68px; }
  .home-page .topbar__links { gap: .25rem; }
  .home-page .topbar__link { font-size: .79rem; }
  .home-page .language-switcher { margin-left: auto; }
  .home-page .hero__content { padding-bottom: 2.5rem; }
  .home-page .hero__text h1 { font-size: clamp(2rem, 8.5vw, 2.8rem); }
  .home-page .hero__actions { display: grid; grid-template-columns: 1fr; }
  .home-page .hero__actions .button { width: 100%; }
  .home-page .hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
  .home-page .stat-card { min-height: 78px; padding: .7rem .6rem; }
  .home-page .stat-card__value { font-size: 1.05rem; }
  .home-page .stat-card__label { font-size: .7rem; line-height: 1.25; }
  .home-page .hero__art { max-width: 210px; }
  .home-page .filters,
  .home-page #homeDirectoryPreview .helpers-grid,
  .home-page .quick-start-grid,
  .home-page .steps,
  .home-page .form-layout { grid-template-columns: 1fr; }
  .home-page .field--search { grid-column: auto; }
  .home-page #homeDirectoryPreview { padding: .8rem; }
  .home-page #homeDirectoryPreview .helper-card__media { height: 210px; }
  .home-page .section-heading--row { align-items: flex-start; }
}

@supports not (overflow: clip) {
  .home-page { overflow-x: hidden; }
}

/* Hero only: the landscape belongs to the complete hero background.  The
   foreground content deliberately remains independent from the image. */
.home-page .hero__text > .eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.8rem;
  height: 3px;
  margin: 0 .6rem .25rem 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #d62e3b 0 42%, #fff 42% 52%, #1e5aa8 52% 100%);
  vertical-align: middle;
}
.home-page .home-hero {
  position: relative;
  isolation: isolate;
}
.home-page .home-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background-image: url("../../grafik/paraguay-hero.jpg");
  background-repeat: no-repeat;
  background-position: 100% 58%;
  background-size: 74% auto;
}
.home-page .home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, #f7fcfa 0%, rgba(247, 252, 250, .94) 11%, transparent 27%, transparent 76%, #eaf7f3 100%),
    linear-gradient(90deg, #f7fcfa 0%, #f7fcfa 29%, rgba(247, 252, 250, .96) 42%, rgba(247, 252, 250, .54) 56%, rgba(247, 252, 250, .08) 72%, rgba(234, 247, 243, .08) 100%);
}
.home-page .hero__grid { position: relative; }
.home-page .hero__text,
.home-page .hero__stats { position: relative; z-index: 1; }
.home-page .hero__art {
  display: none;
}
@media (max-width: 820px) {
  .home-page .home-hero::before {
    background-position: 100% 100%;
    background-size: auto 48%;
  }
  .home-page .home-hero::after {
    background:
      linear-gradient(180deg, #f7fcfa 0%, rgba(247, 252, 250, .98) 43%, rgba(247, 252, 250, .76) 70%, #eaf7f3 100%),
      linear-gradient(90deg, #f7fcfa 0%, rgba(247, 252, 250, .94) 55%, rgba(247, 252, 250, .34) 100%);
  }
}
