/*

Theme Name: Pro &ndash; Child Theme
Theme URI: https://theme.co/pro/
Author: Themeco
Author URI: https://theme.co/
Description: Make all of your modifications to Pro in this child theme.
Version: 1.0.0
Template: pro

*/

/* ==========================================================================
   Design Tokens — Treeamlife
   ========================================================================== */

:root {
  /* Colors */
  --color-green: #59f66a;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-gray: #ebebeb;

  /* Typography — Sizes */
  --text-h1: 160px;
  --text-cta: 120px;
  --text-h2: 90px;
  --text-big: 25px;
  --text-body: 15px;
  --text-small: 13px;

  /* Typography — Line Heights */
  --lh-h1: 0.94;
  --lh-cta: 1;
  --lh-h2: 0.94;
  --lh-big: 1.28;
  --lh-body: 1.47;
  --lh-small: 1.54;

  /* Spacing */
  --space-xs: 12.5px;
  --space-sm: 25px;
  --space-md: 50px;
  --space-lg: 75px;
  --space-xl: 100px;
  --space-2xl: 150px;
  --page-padding: 25px;
}

/* ==========================================================================
   Home — Bild-Grid (schwarze Sektion)
   ========================================================================== */

.tl-image-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: var(--space-sm);
  width: 100%;
}

.tl-image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bild links — Spalte 1-3, volle Höhe */
.tl-img-left {
  grid-column: 1 / 4;
  grid-row: 1 / 3;
}

/* Bild Mitte oben — Spalte 3-10 (8 Spalten, mittig), ragt 100px nach oben */
.tl-img-center-top {
  grid-column: 3 / 11;
  grid-row: 1;
  margin-top: calc(var(--space-xl) * -1);
  z-index: 1;
}

/* Bild rechts — Spalte 10-11, Spalte 12 bleibt frei */
.tl-img-right {
  grid-column: 10 / 12;
  grid-row: 2;
}

/* Bild Mitte unten — Spalte 6-9, ragt 200px nach unten */
.tl-img-center-bottom {
  grid-column: 6 / 10;
  grid-row: 2;
  margin-bottom: calc(var(--space-xl) * -2);
  z-index: 1;
}

/* Headline-Overlay */
.tl-grid-headline {
  grid-column: 1 / -1;
  grid-row: 1 / 3;
  place-self: center;
  text-align: center;
  color: var(--color-green);
  font-size: var(--text-h2);
  font-weight: 900;
  line-height: var(--lh-h2);
  z-index: 2;
  pointer-events: none;
  margin: 0;
}
