/* ==========================================================================
   mset-home-a.css · PlanwagenTours (143709) · Startseite Teil A
   Besitzer: Builder „home-a“ (Generator build/home-a/). Abschnitte: Hero (#hero), Touren (#touren).
   SOLL: export/pages/Startseite.dc.html + export/assets/css/site.css (Werte 1:1).

   Nativ in Elementor (nicht hier): Raster, Abstände, Farben, Typografie, Hintergrund (Foto als
   Overlay, Deckkraft .38), Badge-Neigung, Karten-Hover (Transform + Box-Shadow-Hover), Rundtext
   (Widget „Text Path“). Hier nur, was Elementor nicht kann:
   1 Hero: Verlauf über dem Foto, H1-Unterzeile, Lead-Maxbreite, Button-Höhe in der Reihe
   2 Hero: Bild-Komposition (Kreis, Traktor mit Überstand, Stempel)
   3 Touren: Deko, Kopf-Maxbreiten, Karten-Übergang, Icons
   ========================================================================== */

/* 1 · Hero ---------------------------------------------------------------- */
/* Verlauf über dem Foto-Overlay (::before = Foto .38, nativ); Inhalt darüber */
.mset-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, rgba(1,73,50,.97) 0%, rgba(1,73,50,.86) 46%, rgba(1,73,50,.5) 100%);
}
.mset-hero > .e-con-inner {
  position: relative;
  z-index: 1;
}

/* H1: Hauptzeile = Widget-Typografie (Caveat Brush), Unterzeile als Span */
.mset-hero-title .mset-hero-title-main {
  display: block;
}
.mset-hero-title .mset-hero-title-sub {
  display: block;
  margin-top: 20px;
  max-width: 30ch;
  font-family: var(--mset-font-sans);
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 700;
  font-variation-settings: "wght" 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--mset-text-light-strong);
}
.mset-hero-lead p {
  max-width: 44ch;
}

/* Buttons in einer Reihe gleich hoch (Design: Flex-Stretch; umgebrochen je eigene Höhe) */
.mset-hero-actions > .elementor-widget-button {
  display: flex;
}
.mset-hero-actions > .elementor-widget-button .elementor-button {
  align-self: stretch;
}

/* 2 · Hero-Bild: Kreis + Traktor + Stempel (Komposition, Skill overlapping-photos) */
.mset-hero .mset-hero-circle {
  aspect-ratio: 1;
}
.mset-hero .mset-hero-tractor {
  position: absolute;
  left: max(-9%, calc(12px - (100vw - 100%) / 2));
  bottom: -2%;
  width: min(112%, calc(100vw - 24px));
  max-width: none !important;
  margin: 0;
  pointer-events: none;
}
.mset-hero .mset-hero-tractor img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  filter: drop-shadow(0 24px 22px rgba(0,30,20,.38));
}
.mset-hero .mset-hero-stamp {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(112px, 12vw, 150px);
  aspect-ratio: 1;
  transform: rotate(12deg);
  filter: drop-shadow(0 10px 20px rgba(0,30,20,.3));
}
/* Rundtext (Text Path, SVG-Breite 76.152 % = Radius 76/200 wie stempel-zapfanlage.svg) */
.mset-hero-stamp > .mset-hero-stamp-text {
  position: absolute;
  inset: 0;
  max-width: none !important;
  margin: 0;
}
.mset-hero-stamp-text .e-text-path {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mset-hero-stamp-text .e-text-path svg {
  display: block;
  flex: 0 0 auto;
}
.mset-hero-stamp > .mset-hero-stamp-icon {
  position: absolute;
  left: 29%;
  top: 29%;
  width: 42%;
  max-width: none !important;
  margin: 0;
}
.mset-hero-stamp-icon img {
  display: block;
  width: 100%;
  height: auto;
}

/* 3 · Touren --------------------------------------------------------------- */
/* Deko Hopfen/Gerste: relativ zur Section (nicht zur 1440er-Innenbreite), angeschnitten */
.mset-touren > .e-con-inner > .mset-touren-deko,
.mset-touren > .mset-touren-deko {
  position: absolute;
  right: -70px;
  top: 40px;
  width: clamp(150px, 20vw, 280px);
  max-width: none !important;
  margin: 0;
  transform: rotate(16deg);
  pointer-events: none;
}
.mset-touren-deko img {
  display: block;
  width: 100%;
  height: auto;
}

/* Kopf: Maxbreiten in ch (Schrift des Elements) */
.mset-touren-title .elementor-heading-title {
  max-width: 22ch;
}
.mset-touren-intro-text p {
  max-width: 46ch;
}

/* Karten: Übergang .2s für Schatten (Elementor nutzt --border-transition für box-shadow) */
.mset-touren-card {
  --border-transition: .2s;
}
/* Native Transform-Werte (Elementor: Erweitert → Transformieren) bleiben die Quelle, aber nur als
   2D-Funktion: Elementors Sammel-Transform enthält perspective(0) → 3D-Matrix → eigene Compositing-Ebene,
   Text verliert die LCD-Kantenglättung (sichtbar gegen SOLL). Design: translateY / rotate in 2D. */
.mset-touren-card.e-con.e-transform {
  transform: translateY(var(--e-con-transform-translateY, 0px));
}
.mset-touren-badge.e-con.e-transform {
  transform: rotate(var(--e-con-transform-rotateZ, 0deg));
}
.mset-touren-badge img {
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .mset-touren-card {
    --border-transition: 0s;
    --e-con-transform-transition-duration: 0s;
  }
}
