/*
Theme Name: Astra Child
Theme URI: https://tanja-eckhardt.at/
Description: Child theme for Astra
Author: Tanja Eckhardt
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap");

:root {
  --te-green: #86afae;
  --te-light: #f5f7f2;
  --te-accent: #96b276;
  --te-indigo: #676ba0;
  --te-text: #213030;
  --te-menu: #c5aa05;
  --te-wordmark: #a9c393;
  --te-header-height: 80px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 17px;
  line-height: 24px;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--te-text);
  background: #fff;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
}

.main-header-bar {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(150, 178, 118, 0.25);
}

.ast-site-identity,
.site-header-primary-section-left.site-header-section.ast-flex.site-header-section-left {
  display: none;
}

.site-branding,
.site-title {
  display: none !important;
}

.main-header-bar .main-navigation {
  width: 100%;
}

.ast-desktop .main-header-menu,
.main-header-menu {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.main-header-menu > .menu-item > .menu-link {
  font-family: "Open Sans", sans-serif;
  font-size: 17px;
  line-height: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 300;
  color: var(--te-menu);
  opacity: 1;
}

.main-header-menu > .menu-item:first-child > .menu-link {
  color: var(--te-wordmark);
}

.main-header-menu > .menu-item > .menu-link:hover,
.main-header-menu > .menu-item.current-menu-item > .menu-link {
  opacity: 0.5;
}

.ast-mobile-popup-drawer .main-header-menu {
  display: block;
}

.site-content {
  padding-top: var(--te-header-height);
  background: linear-gradient(180deg, #fff 0%, #fcfdf9 25%, #fff 100%);
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.site-content .ast-container {
  max-width: 1100px;
}

#primary .entry-content .te-block {
  margin: 0 auto 2.5rem;
  padding: 2.25rem 2rem;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(65, 85, 67, 0.05);
}

#primary .entry-content .te-block h1,
#primary .entry-content .te-block h2,
#primary .entry-content .te-block h3,
.page .entry-content > .te-panel h1,
.page .entry-content > .te-panel h2,
.page .entry-content > .te-panel h3 {
  font-family: "Open Sans", sans-serif;
  letter-spacing: 0.01em;
  margin-bottom: 0.9rem;
}

#primary .entry-content .te-block h1,
.page .entry-content > .te-panel h1 {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.15;
  font-weight: 300;
}

#primary .entry-content .te-block h2,
.page .entry-content > .te-panel h2 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.2;
  font-weight: 300;
}

#primary .entry-content .te-block h3,
.page .entry-content > .te-panel h3 {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.3;
  font-weight: 600;
}

#primary .entry-content .te-block p,
#primary .entry-content .te-block li,
.page .entry-content > .te-panel p,
.page .entry-content > .te-panel li {
  font-family: "Open Sans", sans-serif;
  font-size: 17px;
  line-height: 1.72;
}

#primary .entry-content .te-kicker,
.page .entry-content .te-kicker {
  color: var(--te-accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

#primary .entry-content .te-block-intro {
  background: #fff;
  border: 1px solid #edf1e7;
}
.wp-block-cover .wp-block-cover__background {
  opacity:0.3;
}
#primary .entry-content .te-hero-video {
  position: relative;
  height: clamp(220px, 45vw, 520px);
  overflow: hidden;
  border-radius: 10px;
  margin: -2rem -2rem 3rem -2rem!important;
}
.page .entry-content > .te-page-hero:after{
  display: none;
}
#primary .entry-content .te-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

#primary .entry-content .te-hero-quote {
  position: absolute;
  left: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 4vw, 36px);
  max-width: min(88%, 760px);
  color: rgba(150, 178, 118, 0.95);
  font-size: clamp(14px, 2vw, 29px);
  line-height: clamp(18px, 2.7vw, 40px);
  font-weight: 300;
  margin: 0;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

#primary .entry-content .te-hero-quote span {
  display: block;
  font-size: clamp(12px, 1.4vw, 20px);
  line-height: 1.3;
  margin-top: 0.35rem;
}

#primary .entry-content .te-block-methoden {
  background: var(--te-green);
  color: #fff;
}

#primary .entry-content .te-block-methoden h2,
#primary .entry-content .te-block-methoden h3,
#primary .entry-content .te-block-methoden p,
#primary .entry-content .te-block-methoden li,
#primary .entry-content .te-block-methoden .te-kicker {
  color: #fff;
}

#primary .entry-content .te-block-services,
#primary .entry-content .te-block-pricing {
  background: linear-gradient(180deg, #f7faf5 0%, #eef5ea 100%);
  border: 1px solid #ebf0e6;
}

#primary .entry-content .te-home-about,
#primary .entry-content .te-home-references,
#primary .entry-content .te-block-kontakt {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcf9 100%);
  border: 1px solid #edf1e7;
}

#primary .entry-content .te-grid,
#primary .entry-content .te-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

#primary .entry-content .te-service-card,
#primary .entry-content .te-card,
#primary .entry-content .te-pricing-card,
.page .entry-content > .te-panel .te-card {
  background: #fff;
  border: 1px solid #dce6d7;
  border-radius: 12px;
  padding: 1.15rem;
  height: 100%;
  box-shadow: 0 16px 36px rgba(94, 118, 93, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

#primary .entry-content .te-service-card {
  display: flex;
  flex-direction: column;
}

#primary .entry-content .te-service-card > .wp-block-buttons {
  margin-top: auto;
  padding-top: 0.85rem;
  justify-content: center;
}

#primary .entry-content .te-block-methoden .te-card,
#primary .entry-content .te-block-methoden .te-card h3,
#primary .entry-content .te-block-methoden .te-card p,
#primary .entry-content .te-block-methoden .te-card li {
  color: var(--te-text);
}

#primary .entry-content .te-service-card:hover,
#primary .entry-content .te-card:hover,
#primary .entry-content .te-pricing-card:hover,
.page .entry-content > .te-panel .te-card:hover {
  transform: translateY(-4px);
  border-color: rgba(150, 178, 118, 0.5);
  box-shadow: 0 24px 44px rgba(94, 118, 93, 0.12);
}

#primary .entry-content .te-service-eyebrow,
#primary .entry-content .te-pricing-label {
  margin: 0 0 0.65rem;
  color: var(--te-accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
}

#primary .entry-content .te-price {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1;
  font-weight: 600;
  color: var(--te-indigo);
  margin: 0.3rem 0 0.9rem;
}

#primary .entry-content .te-reference-grid {
  margin-top: 1.2rem;
}

#primary .entry-content .te-reference-card {
  background: linear-gradient(180deg, #fff 0%, #f9fbf7 100%);
}

#primary .entry-content .te-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 360px);
  gap: 1.4rem;
  align-items: center;
}

#primary .entry-content .te-split img {
  width: 100%;
  height: clamp(240px, 28vw, 380px);
  object-fit: cover;
  border-radius: 12px;
}

#primary .entry-content .te-meta-list,
.page .entry-content > .te-panel .te-meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

#primary .entry-content .te-meta-list > .wp-block-column,
.page .entry-content > .te-panel .te-meta-list > .wp-block-column {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #e2eadc;
  border-radius: 10px;
  padding: 0.9rem 1rem;
}

#primary .entry-content .te-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 260px;
  gap: 1.2rem;
  align-items: start;
  margin-bottom: 1.1rem;
}

#primary .entry-content .te-contact-photo img {
  width: 234px;
  height: 234px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #d8e2d3;
}

.page .entry-header {
  display: none;
}

.page .entry-content > .te-panel {
  background: #fff;
  border: 1px solid #e7eee1;
  border-radius: 16px;
  padding: 1.6rem 1.4rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 18px 48px rgba(65, 85, 67, 0.06);
}

.page .entry-content > .te-panel-soft {
  background: linear-gradient(180deg, #f7faf5 0%, #edf4ea 100%);
}

.page .entry-content > .te-page-hero,
.page .entry-content > .te-page-intro {
  background: linear-gradient(140deg, #ffffff 0%, #f8fbf3 100%);
}

.page .entry-content > .te-page-hero {
  position: relative;
  display: grid;
  min-height: clamp(380px, 48vw, 560px);
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #dfe8da;
}

.page .entry-content > .te-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 29, 28, 0.82) 0%, rgba(18, 29, 28, 0.56) 38%, rgba(18, 29, 28, 0.18) 70%, rgba(18, 29, 28, 0.08) 100%);
  z-index: 1;
}

.page .entry-content > .te-page-hero .te-page-hero__content,
.page .entry-content > .te-page-hero .te-page-hero__media {
  grid-area: 1 / 1;
}

.page .entry-content > .te-page-hero .te-page-hero__content {
  position: relative;
  z-index: 2;
  align-self: end;
  width: min(100%, 620px);
  margin: clamp(1.1rem, 4vw, 2.2rem);
  padding: clamp(1.1rem, 2.8vw, 1.8rem);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.page .entry-content > .te-page-hero .te-page-hero__content .te-kicker,
.page .entry-content > .te-page-hero .te-page-hero__content h1,
.page .entry-content > .te-page-hero .te-page-hero__content p {
  color: #fff;
}

.page .entry-content > .te-page-hero .te-page-hero__media img {
  display: block;
  width: 100%;
  height: clamp(380px, 48vw, 560px);
  object-fit: cover;
  border-radius: 16px;
}

.page .entry-content > .te-page-hero .te-page-hero__content .wp-block-buttons {
  margin-top: 1rem;
}

.page .entry-content > .te-page-hero .te-page-hero__content .is-style-outline .wp-block-button__link,
.page .entry-content > .te-page-hero .te-page-hero__content .wp-block-button.is-style-outline > .wp-block-button__link {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.page .entry-content > .te-page-hero .te-page-hero__content .is-style-outline .wp-block-button__link:hover,
.page .entry-content > .te-page-hero .te-page-hero__content .wp-block-button.is-style-outline > .wp-block-button__link:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
}

.wp-block-buttons .wp-block-button__link {
  border-radius: 999px;
  padding: 0.8rem 1.05rem;
  box-shadow: none;
}

.te-site-contact-band {
  margin-top: 2rem;
  background: #172223;
  color: #eaf2ef;
  border-top: 3px solid var(--te-accent);
}

.te-site-contact-band__inner,
.te-site-contact-band__legal {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.2rem;
}

.te-site-contact-band__inner p {
  font-size: 15px;
  margin: 0.2rem 0;
  line-height: 1.55;
}

.te-site-contact-band a {
  color: #eaf2ef;
  text-decoration: none;
  border-bottom: 1px solid rgba(234, 242, 239, 0.35);
}

.te-site-contact-band__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-top: 0.8rem;
  padding-bottom: 1rem;
  font-size: 0.9rem;
}



@media (max-width: 921px) {
  #primary .entry-content .te-hero-video {
    margin: 0rem -1rem 3rem -1rem !important;
  }
  #primary .entry-content .te-block {
    padding: 1.5rem 1.1rem;
  }

  #primary .entry-content .te-grid,
  #primary .entry-content .te-card-grid,
  #primary .entry-content .te-split,
  #primary .entry-content .te-meta-list,
  #primary .entry-content .te-contact-grid,
  .page .entry-content > .te-panel .te-meta-list {
    grid-template-columns: 1fr;
  }

  .page .entry-content > .te-page-hero {
    min-height: 460px;
  }

  .page .entry-content > .te-page-hero::after {
    background: linear-gradient(180deg, rgba(18, 29, 28, 0.26) 0%, rgba(18, 29, 28, 0.6) 46%, rgba(18, 29, 28, 0.85) 100%);
  }

  .page .entry-content > .te-page-hero .te-page-hero__content {
    width: auto;
    margin: 1rem;
    padding: 1rem;
  }

  .page .entry-content > .te-page-hero .te-page-hero__media img {
    height: 460px;
  }

  #primary .entry-content .te-contact-photo img {
    width: 100%;
    max-width: 234px;
    height: auto;
  }
}
