/* =========================================
   VORTEE MEDIA
   AIVATAR BLOG
   ========================================= */


/* =========================================
   GLOBAL
   ========================================= */

.aivatar-blog {
  overflow: hidden;
}

.aivatar-blog img {
  display: block;
  max-width: 100%;
  height: auto;
}

.aivatar-blog a:focus-visible {
  outline: 2px solid #42e0d3;
  outline-offset: 3px;
}


/* GEMEINSAME BREITE ALLER BEREICHE */

.aivatar-hero,
.aivatar-section,
.aivatar-wide-image,
.aivatar-final {
  width: calc(100% - 80px);
  max-width: 1180px;
  margin: 0 auto;
}


/* WERBEHINWEIS OBEN */

.aivatar-ad-note {
  margin: 0 0 22px;

  color: #6d6d68;
  font-size: 12px;
  line-height: 1.4;
}


/* =========================================
   HERO
   ========================================= */

.aivatar-hero {
  padding: 70px 0;

  display: grid;
  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 48px);

  /* Text und Bild gleich hoch = ein Block */
  align-items: stretch;
}


/* TEXTSPALTE: Hinweis oben, Inhalt Mitte, Button unten */

.aivatar-hero-text {
  min-width: 0;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.aivatar-hero-text .aivatar-ad-note {
  margin: 0;
}

.aivatar-hero-main {
  padding: 24px 0;
}

.aivatar-hero-text h1 {
  margin: 0;

  font-size: clamp(42px, 4.8vw, 72px);
  line-height: 0.94;
  font-weight: 400;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.aivatar-hero-main p {
  max-width: 520px;
  margin: 22px 0 0;

  color: #aaa9a5;
  font-size: 18px;
  line-height: 1.6;
}

.aivatar-hero-main p + p {
  margin-top: 14px;
}


/* HERO-BILD – OBEN UND UNTEN BESCHNITTEN
   aspect-ratio  = sichtbarer Ausschnitt (breiter als das Original)
   object-position 33 % = oben wird weniger abgeschnitten als unten */

.aivatar-hero-image {
  min-width: 0;
}

.aivatar-hero-image a {
  display: block;

  width: 100%;
  height: 100%;
  aspect-ratio: 15 / 16;

  overflow: hidden;
}

.aivatar-hero-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: 50% 33%;
}


/* =========================================
   BUTTONS
   ========================================= */

.aivatar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 28px;
  padding: 14px 22px;

  background: #f3f2ee;
  color: #090909;

  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;
  text-decoration: none;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.aivatar-button:hover {
  background: #ffffff;
  color: #090909;
  transform: translateY(-2px);
}

.aivatar-hero .aivatar-button {
  margin-top: 30px;
  padding: 16px 26px;
}


/* =========================================
   CONTENT-BEREICHE
   ========================================= */

.aivatar-section {
  padding: 80px 0;
  border-top: 1px solid #292929;
}

.aivatar-section h2,
.aivatar-final h2 {
  margin: 0;
  max-width: 900px;

  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.aivatar-copy p {
  margin: 0 0 20px;

  color: #aaa9a5;
  font-size: 17px;
  line-height: 1.6;
}

.aivatar-copy h2 + p {
  margin-top: 28px;
}


/* ZWEI SPALTEN */

.aivatar-two-column {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);
  gap: 70px;
}


/* =========================================
   BREITES BILD
   ========================================= */

.aivatar-wide-image {
  padding-bottom: 80px;
}

.aivatar-wide-image a {
  display: block;
  width: 100%;
}

.aivatar-wide-image img {
  width: 100%;
}


/* =========================================
   ANWENDUNGS-KARTEN
   ========================================= */

.aivatar-grid {
  margin-top: 50px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;

  background: #292929;
  border: 1px solid #292929;
}

.aivatar-grid article {
  padding: 34px;
  background: #090909;
}

.aivatar-grid span {
  display: block;
  margin-bottom: 20px;

  color: #42e0d3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.aivatar-grid h3 {
  margin: 0 0 14px;

  font-size: 27px;
  font-weight: 400;
}

.aivatar-grid p {
  margin: 0;

  color: #aaa9a5;
  font-size: 15px;
  line-height: 1.55;
}


/* =========================================
   BILDREIHE MIT GLEICHER HÖHE
   ---------------------------------------
   Jedes Bild bekommt im HTML seine echten
   Pixelmaße als --w und --h. Die Breite
   verteilt sich nach dem Seitenverhältnis,
   dadurch sind alle Bilder exakt gleich hoch
   und die Reihe füllt die volle Breite.
   ========================================= */

.aivatar-ratio-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.aivatar-ratio-item {
  display: block;

  flex-grow: calc(var(--w) / var(--h));
  flex-shrink: 1;
  flex-basis: 0;

  min-width: 0;
}

.aivatar-ratio-item img {
  width: 100%;
  aspect-ratio: var(--w) / var(--h);
  object-fit: cover;
}


/* BEREICH 3 – DREI BEISPIELE */

.aivatar-examples {
  margin-top: 40px;
}


/* =========================================
   BILD + TEXT
   ========================================= */

.aivatar-image-text {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);
  gap: 65px;

  align-items: center;
}

.aivatar-image-text a:not(.aivatar-button) {
  display: block;
  width: 100%;
}

.aivatar-image-text img {
  width: 100%;
}


/* =========================================
   FÜR WEN – TEXT LINKS, BILDER RECHTS
   ========================================= */

.aivatar-audience {
  margin-top: 50px;

  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);
  gap: 48px;

  /* Unterkante der Bilder = Unterkante der Liste */
  align-items: end;
}

.aivatar-audience-copy {
  min-width: 0;
}

.aivatar-audience-group + .aivatar-audience-group {
  margin-top: 60px;
}

.aivatar-audience h3 {
  margin: 0 0 20px;

  font-size: 26px;
  font-weight: 400;
}

.aivatar-audience ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aivatar-audience li {
  padding: 13px 0;
  border-bottom: 1px solid #292929;

  color: #aaa9a5;
  font-size: 15px;
  line-height: 1.45;
}


/* RECHTE SPALTE */

.aivatar-audience-images {
  display: flex;
  flex-direction: column;
  gap: 12px;

  min-width: 0;
}

.aivatar-audience-images > a {
  display: block;
  width: 100%;
}

.aivatar-audience-images > a img {
  width: 100%;
}


/* =========================================
   FINALER CTA
   ========================================= */

.aivatar-final {
  padding: 100px 0;
  border-top: 1px solid #292929;
}

.aivatar-final > p:not(.small-label):not(.aivatar-affiliate-note) {
  max-width: 620px;
  margin: 30px 0 0;

  color: #aaa9a5;
  font-size: 17px;
  line-height: 1.55;
}

.aivatar-final > p.aivatar-affiliate-note {
  max-width: 600px;
  margin: 35px 0 0;

  color: #6d6d68;
  font-size: 11px;
  line-height: 1.5;
}


/* =========================================
   WENIGER BEWEGUNG
   ========================================= */

@media (prefers-reduced-motion: reduce) {

  .aivatar-button {
    transition: none;
  }

  .aivatar-button:hover {
    transform: none;
  }

}


/* =========================================
   TABLET + SMARTPHONE (BIS 760 PX)
   ========================================= */

@media (max-width: 760px) {

  .aivatar-hero,
  .aivatar-section,
  .aivatar-wide-image,
  .aivatar-final {
    width: calc(100% - 28px);
  }


  /* HERO */

  .aivatar-hero {
    padding: 50px 0 60px;
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }

  .aivatar-hero-text h1 {
    font-size: clamp(38px, 9vw, 44px);
    line-height: 0.98;
  }

  .aivatar-hero-text {
    justify-content: flex-start;
  }

  .aivatar-hero-main {
    padding: 18px 0 0;
  }

  .aivatar-hero-main p {
    font-size: 15px;
  }


  /* BEREICHE */

  .aivatar-section {
    padding: 55px 0;
  }

  .aivatar-section h2,
  .aivatar-final h2 {
    font-size: 39px;
    line-height: 1.1;
  }

  .aivatar-two-column,
  .aivatar-image-text {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .aivatar-copy p {
    font-size: 15px;
  }

  .aivatar-wide-image {
    padding-bottom: 55px;
  }


  /* KARTEN */

  .aivatar-grid {
    margin-top: 35px;
    grid-template-columns: minmax(0, 1fr);
  }

  .aivatar-grid article {
    padding: 26px;
  }


  /* FÜR WEN */

  .aivatar-audience {
    margin-top: 35px;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .aivatar-audience-group + .aivatar-audience-group {
    margin-top: 40px;
  }

  .aivatar-ratio-row {
    gap: 10px;
  }


  /* FINALER CTA */

  .aivatar-final {
    padding: 65px 0;
  }

  .aivatar-final > p:not(.small-label):not(.aivatar-affiliate-note) {
    font-size: 15px;
  }

}


/* =========================================
   SMARTPHONE (BIS 600 PX)
   Die drei Beispielbilder untereinander
   ========================================= */

@media (max-width: 600px) {

  .aivatar-examples {
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
  }

  .aivatar-examples .aivatar-ratio-item {
    flex: none;
    width: 100%;
  }

}
