/* ==================================================
   LEHRERBEREICH – VOKABELN
   Ergänzung zu lehrer_inhalte_neu.css
   Mobile First
================================================== */


/* ==================================================
   ROOT / GRUNDLOGIK
================================================== */

.teacher-vocab-page {
  --vocab-accent: var(--teacher-accent, #e4544d);
}


/* ==================================================
   HERO-BILDER NACH THEMENBLOCK
================================================== */


/* --------------------------------------------------
   MI VIDA DIARIA
-------------------------------------------------- */

.teacher-vocab-page--vida-diaria .teacher-topic-image-hero {
  background-image:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.10) 42%,
      rgba(245, 245, 247, 0.92) 100%
    ),
    url("https://www.schulspanisch.de/1_vokabeln/grundwortschatz/01_bilder/presentarse.jpg");

  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}


/* --------------------------------------------------
   MI ENTORNO
-------------------------------------------------- */

.teacher-vocab-page--mi-entorno .teacher-topic-image-hero {
  background-image:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.10) 42%,
      rgba(245, 245, 247, 0.92) 100%
    ),
    url("https://www.schulspanisch.de/1_vokabeln/grundwortschatz/01_bilder/3.jpg");

  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}


/* --------------------------------------------------
   OCIO, COMIDA Y MEDIOS
-------------------------------------------------- */

.teacher-vocab-page--ocio .teacher-topic-image-hero {
  background-image:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.10) 42%,
      rgba(245, 245, 247, 0.92) 100%
    ),
    url("https://www.schulspanisch.de/1_vokabeln/grundwortschatz/01_bilder/familia.jpg");

  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}


/* --------------------------------------------------
   PAÍSES Y CULTURA
-------------------------------------------------- */

.teacher-vocab-page--paises .teacher-topic-image-hero {
  background-image:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.10) 42%,
      rgba(245, 245, 247, 0.92) 100%
    ),
    url("https://www.schulspanisch.de/1_vokabeln/grundwortschatz/01_bilder/madrid.jpg");

  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}


/* --------------------------------------------------
   EXPRESIONES ÚTILES
-------------------------------------------------- */

.teacher-vocab-page--expresiones .teacher-topic-image-hero {
  background-image:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.10) 42%,
      rgba(245, 245, 247, 0.92) 100%
    ),
    url("https://www.schulspanisch.de/1_vokabeln/grundwortschatz/01_bilder/redewendungen.jpg");

  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}


/* ==================================================
   GEMEINSAME BILD-EINSTELLUNGEN
================================================== */

.teacher-vocab-image-hero {
  background-position: center;
  background-size: cover;
}


/* ==================================================
   DARK MODE
================================================== */

@media (prefers-color-scheme: dark) {

  .teacher-vocab-page--vida-diaria .teacher-topic-image-hero {
    background-image:
      linear-gradient(
        to bottom,
        rgba(17, 18, 20, 0.08) 0%,
        rgba(17, 18, 20, 0.16) 42%,
        rgba(17, 18, 20, 0.96) 100%
      ),
      url("https://www.schulspanisch.de/1_vokabeln/grundwortschatz/01_bilder/presentarse.jpg");
  }


  .teacher-vocab-page--mi-entorno .teacher-topic-image-hero {
    background-image:
      linear-gradient(
        to bottom,
        rgba(17, 18, 20, 0.08) 0%,
        rgba(17, 18, 20, 0.16) 42%,
        rgba(17, 18, 20, 0.96) 100%
      ),
      url("https://www.schulspanisch.de/1_vokabeln/grundwortschatz/01_bilder/3.jpg");
  }


  .teacher-vocab-page--ocio .teacher-topic-image-hero {
    background-image:
      linear-gradient(
        to bottom,
        rgba(17, 18, 20, 0.08) 0%,
        rgba(17, 18, 20, 0.16) 42%,
        rgba(17, 18, 20, 0.96) 100%
      ),
      url("https://www.schulspanisch.de/1_vokabeln/grundwortschatz/01_bilder/familia.jpg");
  }


  .teacher-vocab-page--paises .teacher-topic-image-hero {
    background-image:
      linear-gradient(
        to bottom,
        rgba(17, 18, 20, 0.08) 0%,
        rgba(17, 18, 20, 0.16) 42%,
        rgba(17, 18, 20, 0.96) 100%
      ),
      url("https://www.schulspanisch.de/1_vokabeln/grundwortschatz/01_bilder/madrid.jpg");
  }


  .teacher-vocab-page--expresiones .teacher-topic-image-hero {
    background-image:
      linear-gradient(
        to bottom,
        rgba(17, 18, 20, 0.08) 0%,
        rgba(17, 18, 20, 0.16) 42%,
        rgba(17, 18, 20, 0.96) 100%
      ),
      url("https://www.schulspanisch.de/1_vokabeln/grundwortschatz/01_bilder/redewendungen.jpg");
  }

}

/* ==================================================
   HAUPTBEREICH
   Bei Vokabeln keine rechte Sidebar
================================================== */

.teacher-vocab-main .teacher-vocab-container {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}


/* QR-Bereich bewusst zentral */

.teacher-vocab-resource {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}


/* ==================================================
   KOSTENLOSE INHALTE
================================================== */

.teacher-vocab-content {
  width: 100%;
  max-width: 920px;

  margin: 70px auto 0;
}


/* Head */

.teacher-vocab-content .teacher-free-content__head {
  max-width: 720px;
  margin: 0 0 30px;
}


/* ==================================================
   FEATURED CONTENT
   KI + HÖRVERSTEHEN
================================================== */

.teacher-vocab-featured {
  display: grid;
  grid-template-columns: 1fr;

  gap: 14px;
}


/* große Feature-Fläche */

.teacher-vocab-feature {
  min-width: 0;

  padding: 24px;

  display: flex;
  align-items: flex-start;

  gap: 18px;

  border: 1px solid rgba(0, 0, 0, .045);
  border-radius: 22px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, .96),
      rgba(247, 247, 249, .90)
    );

  box-shadow:
    0 8px 24px rgba(0, 0, 0, .035);
}


/* Icon */

.teacher-vocab-feature__icon {
  flex: 0 0 auto;

  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  border-radius: 13px;

  background: rgba(228, 84, 77, .08);

  color: var(--vocab-accent);

  font-size: 1.05rem;
}


/* Copy */

.teacher-vocab-feature__copy {
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 5px;
}


.teacher-vocab-feature__copy strong {
  color: #1d1d1f;

  font-size: 1rem;
  font-weight: 680;
  line-height: 1.25;

  letter-spacing: -.018em;
}


.teacher-vocab-feature__copy span {
  color: #6e6e73;

  font-size: .88rem;
  line-height: 1.5;
}



/* ==================================================
   WEITERE LERNANGEBOTE
   bewusst deutlich dezenter
================================================== */

.teacher-vocab-more {
  margin-top: 30px;
  padding-top: 24px;

  border-top: 1px solid rgba(0, 0, 0, .055);
}


/* Kopf */

.teacher-vocab-more__head {
  margin-bottom: 14px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 18px;
}


.teacher-vocab-more__head > span {
  color: #515154;

  font-size: .78rem;
  font-weight: 700;

  letter-spacing: .035em;
  text-transform: uppercase;
}


.teacher-vocab-more__head small {
  color: #9a9a9f;

  font-size: .72rem;
  font-weight: 500;
}


/* kleine Info-Elemente */

.teacher-vocab-more__grid {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;
}


.teacher-vocab-more__item {
  min-height: 38px;

  padding: 8px 12px;

  display: inline-flex;
  align-items: center;

  gap: 8px;

  border: 1px solid rgba(0, 0, 0, .045);
  border-radius: 999px;

  background: rgba(255, 255, 255, .55);

  color: #6e6e73;

  font-size: .8rem;
  font-weight: 520;
}


.teacher-vocab-more__item i {
  color: #98989d;

  font-size: .72rem;
}


/* ==================================================
   UNTERRICHTSMATERIALIEN
================================================== */

.teacher-vocab-materials {
  margin-top: 84px;

  padding-top: 64px;

  border-top: 1px solid rgba(0, 0, 0, .045);
}


/*
   Die bestehende Carousel-Logik bleibt unangetastet.
   Wir passen nur die Einbettung an.
*/

.teacher-vocab-materials > .container {
  width: min(1180px, calc(100% - 40px));
  max-width: none;
}


.teacher-vocab-materials .section-title {
  margin-bottom: 10px;
}


.teacher-vocab-materials .mini-info {
  margin-bottom: 34px;
}


/* Eduki-Button etwas ruhiger */

.teacher-vocab-materials .btn-books {
  margin-top: 28px;
}



/* ==================================================
   TABLET
================================================== */

@media (min-width: 700px) {

  .teacher-vocab-main .teacher-vocab-container {
    width: min(920px, calc(100% - 56px));
  }


  /* KI + Hörverstehen nebeneinander */

  .teacher-vocab-featured {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 16px;
  }


  .teacher-vocab-feature {
    padding: 26px;
  }


  .teacher-vocab-feature__icon {
    width: 46px;
    height: 46px;

    border-radius: 14px;

    font-size: 1.1rem;
  }


  .teacher-vocab-feature__copy strong {
    font-size: 1.03rem;
  }


  .teacher-vocab-feature__copy span {
    font-size: .9rem;
  }


  .teacher-vocab-more {
    margin-top: 34px;
    padding-top: 26px;
  }

}



/* ==================================================
   DESKTOP
================================================== */

@media (min-width: 980px) {

  .teacher-vocab-main .teacher-vocab-container {
    width: min(1000px, calc(100% - 64px));
  }


  .teacher-vocab-resource {
    max-width: 780px;
  }


  .teacher-vocab-content {
    max-width: 920px;

    margin-top: 82px;
  }


  .teacher-vocab-feature {
    min-height: 145px;

    padding: 28px;
  }


  .teacher-vocab-feature__icon {
    width: 48px;
    height: 48px;
  }


  .teacher-vocab-more__grid {
    gap: 9px;
  }


  .teacher-vocab-more__item {
    padding: 9px 13px;
  }


  .teacher-vocab-materials {
    margin-top: 96px;

    padding-top: 72px;
  }

}



/* ==================================================
   MOBILE
================================================== */

@media (max-width: 699px) {

  .teacher-vocab-main .teacher-vocab-container {
    width: min(100% - 32px, 920px);
  }


  .teacher-vocab-content {
    margin-top: 56px;
  }


  .teacher-vocab-content .teacher-free-content__head {
    margin-bottom: 24px;
  }


  /* Featured */

  .teacher-vocab-feature {
    padding: 20px;

    gap: 14px;

    border-radius: 19px;
  }


  .teacher-vocab-feature__icon {
    width: 40px;
    height: 40px;

    border-radius: 12px;
  }


  .teacher-vocab-feature__copy strong {
    font-size: .96rem;
  }


  .teacher-vocab-feature__copy span {
    font-size: .84rem;
  }


  /* Secondary */

  .teacher-vocab-more {
    margin-top: 26px;
    padding-top: 20px;
  }


  .teacher-vocab-more__head {
    margin-bottom: 12px;
  }


  .teacher-vocab-more__head small {
    display: none;
  }


  .teacher-vocab-more__grid {
    gap: 7px;
  }


  .teacher-vocab-more__item {
    min-height: 36px;

    padding: 7px 10px;

    font-size: .76rem;
  }


  /* Materialien */

  .teacher-vocab-materials {
    margin-top: 66px;

    padding-top: 52px;
  }


  .teacher-vocab-materials > .container {
    width: min(100% - 28px, 1180px);
  }


  .teacher-vocab-materials .mini-info {
    margin-bottom: 26px;
  }

}



/* ==================================================
   DARK MODE
================================================== */

@media (prefers-color-scheme: dark) {


  /* Featured Content */

  .teacher-vocab-feature {
    border-color:
      rgba(255, 255, 255, .055);

    background:
      linear-gradient(
        135deg,
        #242426,
        #202022
      );

    box-shadow: none;
  }


  .teacher-vocab-feature__icon {
    background:
      rgba(228, 84, 77, .12);

    color:
      var(--vocab-accent);
  }


  .teacher-vocab-feature__copy strong {
    color: #f5f5f7;
  }


  .teacher-vocab-feature__copy span {
    color: #a1a1a6;
  }


  /* Weitere Lernangebote */

  .teacher-vocab-more {
    border-top-color:
      rgba(255, 255, 255, .065);
  }


  .teacher-vocab-more__head > span {
    color: #d1d1d6;
  }


  .teacher-vocab-more__head small {
    color: #7d7d82;
  }


  .teacher-vocab-more__item {
    border-color:
      rgba(255, 255, 255, .05);

    background:
      rgba(44, 44, 46, .72);

    color:
      #a1a1a6;
  }


  .teacher-vocab-more__item i {
    color: #86868b;
  }


  /* Materialien */

  .teacher-vocab-materials {
    border-top-color:
      rgba(255, 255, 255, .055);
  }

}



/* ==================================================
   DARK MODE – MOBILE FEINSCHLIFF
================================================== */

@media
  (prefers-color-scheme: dark)
  and (max-width: 699px) {

  .teacher-vocab-feature {
    background:
      linear-gradient(
        135deg,
        #242426,
        #1f1f21
      );
  }

}



/* ==================================================
   REDUCED MOTION
================================================== */

@media (prefers-reduced-motion: reduce) {

  .teacher-vocab-feature,
  .teacher-vocab-more__item {
    transition: none !important;
  }

}

.teacher-vocab-featured:has(.teacher-vocab-feature:only-child) {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 700px) {

  .teacher-vocab-featured:has(.teacher-vocab-feature:only-child) {
    max-width: 560px;
  }

}