/*
Theme Name: Hello Elementor Child
Theme URI: https://example.com/
Description: Child Theme for Hello Elementor
Author: Dein Name
Author URI: https://example.com/
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hello-elementor-child
*/
:root {
  --black: #000000;
  --cyan: #0099d1;
  --rot: #db0711;
  --gelb: #ffe770;
  --dunkelgrau: #73777a;
  --hellgrau: #dee4e7;
  --white: #fff;
  --big-screen-size: 1440px;
  --middle-screen-size: 1140px;
}

@font-face {
  font-family: "Myriad Pro";
  src: url("/fonts/MyriadPro-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Myriad Pro";
  src: url("/fonts/MYRIADPRO-REGULAR.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Myriad Pro Condensed";
  src: url("/fonts/MYRIADPRO-COND.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Archivo Narrow für Headlines */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Myriad Pro" !important;
  text-transform: uppercase;
  font-weight: 300 !important;
  line-height: 1.2em !important;
}

.accent-uppercase span {
  font-family: "Nunito Sans" !important;
  text-transform: uppercase;
}

/* Open Sans für Fließtext */
body,
p,
span,
a,
li,
div {
  font-family: "Myriad Pro Condensed" !important;
  line-height: 1.4em !important;
  letter-spacing: 2px;
}

* {
  box-sizing: border-box;
}

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

/* Desktop (ab 1025px) */
h1 {
  font-size: 48px;
}
h2 {
  font-size: 40px;
}
h3 {
  font-size: 32px;
}
h4 {
  font-size: 24px;
}
h5 {
  font-size: 20px;
}
h6 {
  font-size: 16px;
}

/* Tablet (768px bis 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 32px;
  }
  h3 {
    font-size: 28px;
  }
  h4 {
    font-size: 20px;
  }
  h5 {
    font-size: 18px;
  }
  h6 {
    font-size: 14px;
  }
}

/* Mobile (bis 767px) */
@media (max-width: 767px) {
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 24px;
  }
  h4 {
    font-size: 18px;
  }
  h5 {
    font-size: 16px;
  }
  h6 {
    font-size: 14px;
  }
  li.current-menu-item a {
    color: var(--black) !important;
  }
}

.full-height {
  height: 100%;
}

.small-text,
.small-text p,
.small-text span {
  font-size: 16px !important;
}

.e-n-accordion-item-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.e-n-accordion-item-title-header {
  flex-grow: 1;
  display: block;
}

.e-n-accordion-item-title-text {
  text-align: left;
  padding-right: 20px; /* Abstand zum Icon */
}

.e-n-accordion-item-title-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/*Mailpoet start*/
.mailpoet_form form {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap; /* für Mobilgeräte */
  padding: 0 !important;
}

.mailpoet_paragraph {
  margin: 0 !important;
  flex: 1 1 auto;
}

/* E-Mail-Feld etwas breiter */
.mailpoet_text {
  width: 100%;
}

/* Submit-Button */
.mailpoet_submit {
  flex: 0 0 auto;
  white-space: nowrap;
}

.mailpoet_form.mailpoet_form_successfully_send .mailpoet_validate_success {
  left: auto !important;
  position: relative !important;
  top: auto !important;
  transform: none !important;
  color: var(--white);
}

/*Mailpoet end*/

.current-menu-item a {
  color: var(--cyan) !important;
  font-weight: 700;
}

.bold a {
  transition: all 0.3s;
}

.bold a:hover {
  font-weight: 700;
}

.copyright span {
  font-size: 14px !important;
}

.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.back-to-top svg {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.scrolled .back-to-top {
  opacity: 1;
  visibility: visible;
}
