/* =====================================================
   QUAPPIZ – TABLET CSS
   Version 0.8 – 28.10.2026

   Startseite: bestehende Korrekturen
   Unterseiten: nur Tablet-Hochformat

   Die fehlerhafte Portrait-Anpassung
   auf "Über QUAPPIZ" wurde entfernt.
   ===================================================== */


/* =====================================================
   1. STARTSEITE – TABLET
   ===================================================== */

@media screen and (min-width: 761px) and (max-width: 1100px) {

  /* Newsletter-Bereich */

  body.home section.qp-kinderfrage-compact .qp-kinderfrage-banner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 16px !important;
  }

  body.home section.qp-kinderfrage-compact .qp-kinderfrage-banner-copy {
    display: block !important;
    flex: 0 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  body.home section.qp-kinderfrage-compact .qp-kinderfrage-banner-copy > * {
    width: auto !important;
    max-width: 100% !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body.home section.qp-kinderfrage-compact .qp-kinderfrage-banner-copy h2 {
    font-size: 25px !important;
    line-height: 1.2 !important;
  }

  body.home section.qp-kinderfrage-compact .qp-kinderfrage-banner-copy > p:last-child {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  body.home section.qp-kinderfrage-compact a.qp-kinderfrage-banner-button {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-self: flex-start !important;
    width: auto !important;
    max-width: 100% !important;
    position: static !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }


  /* Judith-Bereich auf der Startseite */

  body.home section.founder .founder-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.home section.founder .founder-portrait {
    width: 190px !important;
    max-width: 190px !important;
    margin: 0 auto !important;
  }

  body.home section.founder .founder-portrait img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    border-radius: 0 !important;
  }

  body.home section.founder .founder-copy {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.home section.founder .founder-copy h2 {
    font-size: 30px !important;
    line-height: 1.2 !important;
  }

  body.home section.founder .founder-copy > p:not(.section-kicker) {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  body.home section.founder .qp-mission-player {
    margin: 22px auto 18px !important;
    align-items: center !important;
    text-align: center !important;
  }

}


/* =====================================================
   2. UNTERSEITEN – NUR TABLET-HOCHFORMAT
   ===================================================== */

@media screen
  and (min-width: 761px)
  and (max-width: 1100px)
  and (orientation: portrait) {


  /* WEB-APP: Überschrift entzerren */

  body .qp-webapp-overview .qp-webapp-hero h1 {
    font-size: clamp(30px, 4.2vw, 38px) !important;
    line-height: 1.22 !important;
    letter-spacing: 0 !important;
    overflow-wrap: normal !important;
  }


  /* RATGEBER: Überschriften optimieren */

  body .parent-guide-hub .parent-guide-hero h1,
  body .parent-guide-single h1,
  body .parent-tip-single-copy h1 {
    font-size: clamp(29px, 4.2vw, 38px) !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    overflow-wrap: normal !important;
  }

}


/* =====================================================
   ENDE QUAPPIZ TABLET CSS
   ===================================================== */