/*
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 {
  --deep-blue: #191e28;
  --gold: #896c31;
  --warm-grey: #b2b2b2;
  --slow-morning: #f0efef;
  --white: #fff;
  --big-screen-size: 1440px;
  --middle-screen-size: 1140px;
}

/* open-sans-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: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/open-sans-v43-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-italic - 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: "Open Sans";
  font-style: italic;
  font-weight: 400;
  src: url("/fonts/open-sans-v43-latin-italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-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: "Open Sans";
  font-style: normal;
  font-weight: 500;
  src: url("/fonts/open-sans-v43-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-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: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/open-sans-v43-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* archivo-narrow-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: "Archivo Narrow";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/archivo-narrow-v34-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* archivo-narrow-italic - 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: "Archivo Narrow";
  font-style: italic;
  font-weight: 400;
  src: url("/fonts/archivo-narrow-v34-latin-italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-sans-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: "Nunito Sans";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/nunito-sans-v18-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Archivo Narrow für Headlines */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Archivo Narrow" !important;
  line-height: 1.2em !important;
  font-weight: 400 !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: "Open Sans" !important;
  line-height: 1.7em !important;
  font-size: 18px !important;
}

* {
  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(--deep-blue) !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(--gold) !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;
}
