/*
Theme Name: Divi Child – SCHOLZ MECHANIK GmbH
Theme URI: https://mandego.de
Description: Individuelles Child-Theme für Kunde SCHOLZ MECHANIK GmbH. Child-Theme auf Basis von Divi 5 Setup.
Author: mandego oHG – 2026
Author URI: https://mandego.de
Template: Divi
Version: 1.0.0
*/

html, body {
  font-family: 'Hind', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif  !important;
}

/* hind-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Hind';
  font-style: normal;
  font-weight: 300;
  src: url('assets/fonts/hind-v18-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* hind-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Hind';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/hind-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* hind-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Hind';
  font-style: normal;
  font-weight: 500;
  src: url('assets/fonts/hind-v18-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* hind-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Hind';
  font-style: normal;
  font-weight: 600;
  src: url('assets/fonts/hind-v18-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* hind-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Hind';
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/hind-v18-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  --font-heading: 'Hind', system-ui, sans-serif;
  --font-body: 'Hind', system-ui, sans-serif;

	/*
  --h1-size: clamp(2.2rem, 4vw, 3rem);
  --h2-size: clamp(1.8rem, 3vw, 2.4rem);
  --h3-size: clamp(1.4rem, 2.2vw, 1.8rem);
	*/
  --h1-size: clamp(2.2rem, 1.6rem + 2.2vw, 3rem);  
  --h2-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.4rem);
  --h3-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem);
  --h4-size: clamp(1.1rem, 1.1rem + 1vw, 1rem);
	
/*
  --p-size: clamp(1.0625rem, 0.95rem + 0.3vw, 1.0625rem); /* ~16px → 17px */
  --p-size: clamp(1.125rem, 1.02rem + 0.3vw, 1.125rem); /* 18px */

  --lh-heading: 1.2;
  --lh-body: 1.3;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Hind' !important;
  line-height: var(--lh-heading);
  margin: 0 0 0.6em 0;
}

h1 {
  font-size: var(--h1-size);
  font-weight: 400;
  line-height: 1.1;
  color: #0081ce;
}

h2 {
  font-size: var(--h2-size);
  font-weight: 500;
  color: #0081ce;
}

h3 {
  font-size: var(--h3-size);
  font-weight: 500;
  color: #646f77;
}

h4 {
  font-size: var(--h4-size);
  font-weight: 600;
  color: #0081ce;
}

/* alte 
p {
  font-family: 'Hind';
  font-size: var(--p-size);
  font-weight: 400;
  line-height: var(--lh-body);
  margin: 0 0 1em 0;
  color: #646f77;
  max-width: 100ch;
  text-align: justify;
}
*/

p {
  font-family: 'Hind';
  font-size: var(--p-size);
  font-weight: 400;
  max-width: 100ch;
  color: #646f77;
  line-height: 1.3;
}

li {
  font-family: 'Hind';
  font-size: var(--p-size);
  font-weight: 400;
  max-width: 100ch;
  color: #646f77;
  line-height: 1.3;
}

@media (max-width: 768px) {
  p {
    max-width: 100% !important;
  }
}

p a,
li a,
.et_pb_text a {
  color: #0081ce;
  text-decoration: none;
}

p a {
  text-decoration-skip-ink: auto;
}

.et_pb_text p a,
.et_pb_text li a {
  color: #0081ce;
  text-decoration: none;
}

p a:hover,
p a:focus,
li a:hover,
li a:focus,
.et_pb_text a:hover,
.et_pb_text a:focus {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.et_pb_text p a:hover,
.et_pb_text p a:focus,
.et_pb_text li a:hover,
.et_pb_text li a:focus {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.et_pb_button,
.et_pb_button:hover,
.et_pb_button:focus {
  text-decoration: none;
}

.et_pb_text a {
  text-decoration: none;
}

.et_pb_text p {
  font-family: var(--font-body);
}

/* Global Font-Default (optional, aber sinnvoll) */
body {
  font-family: var(--font-body);
}

.et_pb_button,
.et_pb_button span,
button,
input[type="submit"],
input[type="button"] {
  font-family: 'Hind', system-ui, sans-serif;
}

/* Divi Image Module – Link-Fix */
.et_pb_image,
.et_pb_image a,
.et_pb_image a img {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.et_pb_image a {
  position: static !important;
}

.et_pb_image img {
  max-width: 100%;
  height: auto;
}