/*
 Theme Name: Hello Child HAME
 Description: Child Theme für Hann Messe
 Template: hello-elementor
 Version: 0.1
*/


/* =================================================
   HAME · GLOBAL LAYOUT
================================================= */

/* Nur der Seiten-Content, nicht Header und Footer */
.site-main > .elementor {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Content-Container über die volle Breite */
.site-main .e-con,
.site-main .elementor-section,
.site-main .elementor-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Entfernt den Abstand unter dem Content-Bereich */
.site-main {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Falls der letzte Elementor-Container Abstand erzeugt */
.site-main .e-con:last-child,
.site-main .elementor-section:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}


/* =================================================
   HAME · MOBILE LAYOUT
================================================= */

@media (max-width: 480px) {

  .site-main > .elementor {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .site-main .e-con,
  .site-main .elementor-section,
  .site-main .elementor-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

}


/* =================================================
   HAME · STANDARD TYPOGRAPHY
================================================= */

:root {
  --hame-font-copy: "Roboto", sans-serif;
  --hame-font-headline: "Montserrat", sans-serif;
}

html {
  font-size: 100%;
}

body {
  font-family: var(--hame-font-copy);
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* Headlines */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--hame-font-headline);
  margin-top: 0;
}

h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.2;
}

h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: clamp(18px, 2vw, 20px);
  font-weight: 500;
  line-height: 1.4;
}


/* Buttons */

.elementor-button {
  font-family: var(--hame-font-headline);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


/* =================================================
   CONTENT · PROJECT HERO
================================================= */

.p-hero img,
.p-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* =================================================
   HAME · BACKGROUND PARALLAX
================================================= */

.roed-bg-parallax {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 50%;
  transform: translateZ(0);
}