/*
Theme Name: Divi Child
Theme URI: https://deine-webseite.de
Description: Ein Child Theme für Divi
Author: Dein Name
Author URI: https://deine-webseite.de
Template: Divi
Version: 1.0.0
*/

/* Hier kannst du eigene CSS-Anpassungen vornehmen */


/* Font-Faces (wie gehabt) */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/poppins-v22-latin-regular.woff2') format('woff2');
}
/* ...weitere @font-face wie gehabt ... */

@font-face {
  font-display: swap;
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/quicksand-v36-latin-700.woff2') format('woff2');
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif !important;
}

p, span, div {
    font-family: 'Poppins', sans-serif !important;
}

.et_pb_text {
    font-family: 'Poppins', sans-serif !important;
}
/* === Überschriften-Größen Desktop === */
h1 { font-size: 2.5rem !important; }   /* 40px */
h2 { font-size: 2rem !important; }     /* 32px */
h3 { font-size: 1.5rem !important; }   /* 24px */
h4 { font-size: 1.25rem !important; }  /* 20px */
h5 { font-size: 1.125rem !important; } /* 18px */
h6 { font-size: 1rem !important; }     /* 16px */

/* === Tablet-Anpassung === */
@media (max-width: 1024px) {
  h1 { font-size: 2rem !important; }        /* 32px */
  h2 { font-size: 1.75rem !important; }     /* 28px */
  h3 { font-size: 1.375rem !important; }    /* 22px */
  h4 { font-size: 1.125rem !important; }    /* 18px */
  h5 { font-size: 1rem !important; }        /* 16px */
  h6 { font-size: 0.9375rem !important; }   /* 15px */
}

/* === Mobile-Anpassung === */
@media (max-width: 600px) {
  h1 { font-size: 1.625rem !important; }    /* 26px */
  h2 { font-size: 1.375rem !important; }    /* 22px */
  h3 { font-size: 1.125rem !important; }    /* 18px */
  h4 { font-size: 1rem !important; }        /* 16px */
  h5, h6 { font-size: 0.9375rem !important; }   /* 15px */
}


