
:root {
  --home-bg: #f2efe7;
  --home-paper: #fffdf8;
  --home-ink: #141914;
  --home-muted: #62675f;
  --home-green: #064704;
  --home-green-dark: #09240d;
  --home-line: rgba(20, 25, 20, .13);
  --home-soft: #e8e3d8;
  --home-container: min(1180px, calc(100% - 48px));
}

/* Home-only hero refinement */
body.home-reset #banner-slot[data-banner-size="l"],
body.home-reset #banner-slot[data-banner-size="l"] .hero-carousel {
  min-height: min(82vh, 780px);
  height: min(82vh, 780px);
}

body.home-reset .hero-carousel__img {
  filter: saturate(.88) contrast(.98) brightness(.76);
}

body.home-reset .hero-carousel__shade {
  background:
    linear-gradient(90deg, rgba(6,18,8,.86) 0%, rgba(6,18,8,.68) 28%, rgba(6,18,8,.30) 62%, rgba(6,18,8,.12) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.12) 52%, rgba(0,0,0,.46) 100%);
}

body.home-reset .hero-carousel__content {
  bottom: clamp(84px, 10vw, 136px);
}

body.home-reset .hero-carousel__title {
  max-width: 820px;
  font-size: clamp(3.4rem, 6.2vw, 7.1rem);
  letter-spacing: -.075em;
  line-height: .88;
}

body.home-reset .hero-carousel__title span {
  display: block;
}

body.home-reset .hero-carousel__subtitle {
  display: block !important;
  margin: 22px 0 0;
  max-width: 620px;
  color: rgba(255,255,255,.86);
  font-size: clamp(1.08rem, 1.5vw, 1.34rem);
  line-height: 1.55;
  text-shadow: 0 8px 18px rgba(0,0,0,.32);
}

body.home-reset .hero-carousel__cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  color: #064704;
  font-weight: 850;
  box-shadow: 0 16px 36px rgba(0,0,0,.22);
}

.home-page {
  background: var(--home-bg);
  color: var(--home-ink);
  padding-bottom: 90px;
}

.home-eyebrow {
  margin: 0 0 12px;
  color: var(--home-green);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.home-quick,
.home-opening,
.home-current,
.home-paths,
.home-feature,
.home-contact-strip,
.home-partners {
  width: var(--home-container);
  margin-inline: auto;
}

/* Important actions: compact, premium, no dashboard feeling */
.home-quick {
  position: relative;
  z-index: 5;
  margin-top: -64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(20,25,20,.14);
  border: 1px solid rgba(20,25,20,.14);
  gap: 1px;
  box-shadow: 0 18px 46px rgba(0,0,0,.14);
}

.home-quick a {
  min-height: 148px;
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--home-ink);
  background: rgba(255,253,248,.96);
  transition: background .18s ease, transform .18s ease;
}

.home-quick a:hover {
  background: #ffffff;
  transform: translateY(-3px);
}

.home-quick span {
  display: block;
  margin-bottom: auto;
  color: var(--home-green);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-quick strong {
  margin-top: 30px;
  font-size: clamp(1.22rem, 1.55vw, 1.66rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.home-quick small {
  margin-top: 9px;
  color: var(--home-muted);
  font-size: .92rem;
  line-height: 1.42;
}

/* Opening statement */
.home-opening {
  padding: clamp(58px, 8vw, 104px) 0 clamp(42px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, .68fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: end;
  border-bottom: 1px solid var(--home-line);
}

.home-opening h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(2.25rem, 5vw, 5.15rem);
  line-height: .95;
  letter-spacing: -.065em;
  font-weight: 850;
}

.home-opening > p {
  margin: 0;
  color: var(--home-muted);
  font-size: clamp(1.06rem, 1.35vw, 1.24rem);
  line-height: 1.78;
}

/* Current section */
.home-current {
  margin-top: clamp(62px, 8vw, 105px);
}

.home-current__head,
.home-partners__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--home-line);
}

.home-current__head h2,
.home-paths__intro h2,
.home-feature__content h2,
.home-contact-strip h2,
.home-partners__head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: .96;
  letter-spacing: -.06em;
}

.home-current__head a {
  color: var(--home-green);
  font-weight: 850;
}

.home-events-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  background: var(--home-line);
  border: 1px solid var(--home-line);
}

.home-events-list a,
.home-event {
  min-height: 190px;
  padding: 28px;
  background: var(--home-paper);
  color: inherit;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 20px;
}

.home-events-list a:hover {
  background: #ffffff;
}

.home-event time,
.home-events-list time {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--home-green);
  font-size: 2.42rem;
  line-height: .92;
  letter-spacing: -.055em;
  font-weight: 900;
}

.home-event time span,
.home-events-list time span {
  margin-top: 7px;
  font-size: .76rem;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-event h3,
.home-events-list h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  line-height: 1.22;
  letter-spacing: -.02em;
}

.home-event p,
.home-events-list p {
  margin: 0;
  color: var(--home-muted);
  line-height: 1.55;
}

/* Pathways: less cardy, more list/editorial */
.home-paths {
  margin-top: clamp(70px, 9vw, 120px);
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}

.home-paths__intro {
  position: sticky;
  top: 96px;
}

.home-paths__intro h2 {
  max-width: 520px;
}

.home-paths__list {
  border-top: 1px solid var(--home-line);
}

.home-paths__list a {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--home-line);
  color: inherit;
}

.home-paths__list a:hover strong {
  color: var(--home-green);
}

.home-paths__list span {
  color: var(--home-green);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.home-paths__list strong {
  display: block;
  font-size: clamp(1.35rem, 2.35vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  transition: color .16s ease;
}

.home-paths__list p {
  margin: 12px 0 0;
  max-width: 720px;
  color: var(--home-muted);
  line-height: 1.68;
}

/* Feature band */
.home-feature {
  margin-top: clamp(72px, 9vw, 124px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
  background: var(--home-green-dark);
  color: #fff;
}

.home-feature__image {
  min-height: 560px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.10)),
    url('/assets/img/Hunde.jpg') center/cover no-repeat;
}

.home-feature__content {
  padding: clamp(34px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-feature .home-eyebrow {
  color: rgba(255,255,255,.70);
}

.home-feature__content p:not(.home-eyebrow) {
  margin: 20px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 1.08rem;
  line-height: 1.76;
}

.home-feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.home-button {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--home-green-dark);
  font-weight: 850;
}

.home-button--light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
}

/* Contact closing */
.home-contact-strip {
  margin-top: clamp(62px, 8vw, 104px);
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  gap: clamp(26px, 5vw, 70px);
  padding: 34px 0;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  align-items: center;
}

.home-contact-strip__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--home-line);
  border: 1px solid var(--home-line);
}

.home-contact-strip__links a {
  min-height: 66px;
  padding: 18px;
  display: flex;
  align-items: center;
  background: var(--home-paper);
  color: var(--home-green);
  font-weight: 850;
}

.home-contact-strip__links a:hover {
  background: #fff;
}

/* Partners */
.home-partners {
  margin-top: clamp(62px, 8vw, 104px);
}

.home-partners__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  background: var(--home-line);
  border: 1px solid var(--home-line);
}

.home-partner {
  min-height: 176px;
  padding: 28px;
  background: var(--home-paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-partner--logo {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.home-partner img {
  max-width: 140px;
  max-height: 88px;
  object-fit: contain;
}

.home-partner h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -.02em;
}

.home-partner p {
  margin: 0;
  color: var(--home-muted);
  line-height: 1.58;
}

@media (max-width: 1050px) {
  .home-quick,
  .home-opening,
  .home-paths,
  .home-feature,
  .home-contact-strip,
  .home-partners__list {
    grid-template-columns: 1fr;
  }

  .home-paths__intro {
    position: static;
  }

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

  .home-feature__image {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  :root {
    --home-container: min(100% - 28px, 1180px);
  }

  body.home-reset #banner-slot[data-banner-size="l"],
  body.home-reset #banner-slot[data-banner-size="l"] .hero-carousel {
    min-height: 520px;
    height: 520px;
  }

  body.home-reset .hero-carousel__content {
    width: min(100% - 28px, 1180px);
    bottom: 44px;
  }

  body.home-reset .hero-carousel__title {
    font-size: clamp(2.55rem, 13vw, 4.4rem);
  }

  .home-quick {
    margin-top: 0;
    box-shadow: none;
  }

  .home-quick a {
    min-height: 112px;
    padding: 18px;
  }

  .home-quick strong {
    margin-top: 18px;
  }

  .home-opening {
    padding-top: 44px;
  }

  .home-current__head,
  .home-partners__head {
    display: block;
  }

  .home-current__head a {
    display: inline-flex;
    margin-top: 14px;
  }

  .home-events-list,
  .home-contact-strip__links {
    grid-template-columns: 1fr;
  }

  .home-events-list a,
  .home-event {
    grid-template-columns: 62px minmax(0, 1fr);
    min-height: auto;
    padding: 20px;
  }

  .home-events-list time,
  .home-event time {
    font-size: 1.9rem;
  }

  .home-paths__list a {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 24px 0;
  }

  .home-feature__content,
  .home-partner {
    padding: 24px;
  }

  .home-partner--logo {
    grid-template-columns: 1fr;
  }
}


/* ===============================
   Premium UI Pass
   Mehr Wertigkeit, Tiefe und bessere mobile Bedienbarkeit
================================ */

.home-page {
  background:
    radial-gradient(circle at 12% 0%, rgba(6, 71, 4, .055), transparent 32rem),
    radial-gradient(circle at 88% 18%, rgba(100, 85, 52, .055), transparent 30rem),
    linear-gradient(180deg, #f4f0e7 0%, #efeade 48%, #f4f0e7 100%);
}

body.home-reset .hero-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.08) 58%, rgba(0,0,0,.46) 100%);
}

body.home-reset .hero-carousel__content {
  padding-left: clamp(0px, 2vw, 22px);
}

body.home-reset .hero-carousel__title {
  position: relative;
}

body.home-reset .hero-carousel__title::before {
  content: "";
  display: block;
  width: 86px;
  height: 3px;
  margin-bottom: 22px;
  background: rgba(255,255,255,.82);
}

body.home-reset .hero-carousel__cta {
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

body.home-reset .hero-carousel__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(0,0,0,.28);
  background: #f6f2e8;
}

/* Refined quick actions */
.home-quick {
  box-shadow:
    0 24px 60px rgba(0,0,0,.18),
    0 0 0 1px rgba(255,255,255,.22) inset;
}

.home-quick a {
  position: relative;
  overflow: hidden;
}

.home-quick a::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 3px;
  background: var(--home-green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .18s ease;
}

.home-quick a:hover::after {
  transform: scaleX(1);
}

/* Opening section: slightly more editorial */
.home-opening {
  position: relative;
}

.home-opening::before {
  content: "";
  position: absolute;
  left: 0;
  top: clamp(58px, 8vw, 104px);
  width: 44px;
  height: 44px;
  border-left: 1px solid rgba(6,71,4,.28);
  border-top: 1px solid rgba(6,71,4,.28);
  opacity: .75;
}

/* Metrics strip */
.home-metrics {
  width: var(--home-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(20,25,20,.13);
  border: 1px solid rgba(20,25,20,.13);
}

.home-metrics div {
  min-height: 132px;
  padding: 24px;
  background: rgba(255,253,248,.72);
  backdrop-filter: blur(4px);
}

.home-metrics strong {
  display: block;
  color: var(--home-green);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .9;
  letter-spacing: -.06em;
}

.home-metrics span {
  display: block;
  margin-top: 10px;
  color: var(--home-muted);
  font-weight: 800;
}

/* Events: more polished */
.home-events-list {
  box-shadow: 0 18px 42px rgba(20,25,20,.055);
}

.home-events-list a,
.home-event {
  transition: background .16s ease, transform .16s ease;
}

.home-events-list a:hover {
  transform: translateY(-2px);
}

/* Paths: stronger readability */
.home-paths__intro {
  padding-top: 8px;
}

.home-paths__list a {
  position: relative;
}

.home-paths__list a::after {
  content: "→";
  position: absolute;
  right: 4px;
  top: 34px;
  color: var(--home-green);
  font-weight: 900;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .16s ease, transform .16s ease;
}

.home-paths__list a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Feature refinement */
.home-feature {
  position: relative;
  box-shadow: 0 30px 70px rgba(9,36,13,.16);
}

.home-feature::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.14);
  pointer-events: none;
}

.home-feature__image {
  min-height: 590px;
}

/* Mission statement */
.home-mission {
  width: var(--home-container);
  margin: clamp(70px, 9vw, 126px) auto 0;
  padding: clamp(42px, 6vw, 74px) clamp(26px, 5vw, 70px);
  background: #fffdf8;
  border-top: 4px solid var(--home-green);
  box-shadow: 0 20px 50px rgba(20,25,20,.06);
}

.home-mission h2 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(2.2rem, 4.6vw, 5.2rem);
  line-height: .94;
  letter-spacing: -.065em;
}

.home-mission p:not(.home-eyebrow) {
  margin: 22px 0 0;
  max-width: 760px;
  color: var(--home-muted);
  font-size: clamp(1.06rem, 1.32vw, 1.22rem);
  line-height: 1.75;
}

/* Contact strip premium */
.home-contact-strip {
  background: rgba(255,253,248,.42);
  padding-inline: clamp(0px, 2vw, 24px);
}

.home-contact-strip__links a {
  transition: background .16s ease, color .16s ease;
}

.home-contact-strip__links a:hover {
  color: #09240d;
}

/* Partner refinement */
.home-partners__list {
  box-shadow: 0 18px 42px rgba(20,25,20,.045);
}

.home-partner {
  transition: background .16s ease, transform .16s ease;
}

.home-partner:hover {
  background: #fff;
  transform: translateY(-1px);
}

/* Mobile: make quick actions feel intentional */
@media (max-width: 720px) {
  body.home-reset .hero-carousel__title::before {
    width: 58px;
    margin-bottom: 16px;
  }

  .home-opening::before {
    display: none;
  }

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

  .home-metrics div {
    min-height: 104px;
    padding: 18px;
  }

  .home-paths__list a::after {
    display: none;
  }

  .home-feature::before {
    inset: 10px;
  }

  .home-feature__image {
    min-height: 310px;
  }

  .home-mission {
    width: min(100% - 28px, 1180px);
    padding: 28px 22px;
  }
}
