/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Description: Child-Theme für GeneratePress
Author: i!DE Werbeagentur GmbH
Author URI: https://i-de.de
Template: generatepress
Version: 1.0.0
*/

@import url("../generatepress/style.css");


.entry-title {
  display: none;
}

.site-main,
.entry-content {
  padding: 0 !important;
  margin: 0 !important;
}

// SCHRIFTEN
body {
  font-family: "zeitung", serif;
}


h1,
h2 {
  font-family: "zeitung", serif;
  font-weight: bold;
}
.agb h2, .datenschutz h2 {
  margin-top: 2rem;
}

p {
  font-family: "zeitung", serif;
  margin-bottom: 1rem;
}

.atocha {
  font-family: "atocha", serif;
}

h1.atocha {
  font-size: 38px !important;
}

.section-dark a {
  color: var(--accent) !important;
  text-decoration: none !important;
}
.section-dark a:hover {
  color: var(--accent) !important;
  text-decoration: underline !important;
}

/*
h1, h2 {
  font-family: "atocha", serif;
}
*/

.main-navigation {
  background-color: transparent !important;
}

.main-navigation a, .main-navigation a:hover, .main-navigation a:active {
  font-weight: 600;
}

.inside-header {
  padding: 10px 20px;
}

.inside-article {
  padding: 0 20px !important;
}

@media (max-width: 1024px) {}

.mobile-menu-control-wrapper .menu-toggle,
.mobile-menu-control-wrapper .menu-toggle:hover,
.mobile-menu-control-wrapper .menu-toggle:focus,
.has-inline-mobile-toggle #site-navigation.toggled {
  background-color: rgba(0, 0, 0, 0.0);
}

.menu-toggle {
  padding: 0 10px;
  font-size: 25px;
}

/* Logo für mobile Geräte verkleinern */
/* Tablet & kleiner */
@media (max-width: 1024px) {
  .header-image {
    max-height: 80px;
    width: auto !important;
  }
}

/* Smartphone */
@media (max-width: 768px) {
  .header-image {
    max-height: 60px;
    width: auto !important;
  }
}

/* Sticky Header */
.site-header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  /* Unschärfe für dahinterliegenden Content */
  -webkit-backdrop-filter: blur(10px);
  /* für Safari */
  transition: all 0.3s ease;
  box-shadow: none;
}

/* Standard-Logo-Größe */
.site-header .header-image {
  max-height: 80px;
  width: auto;
  transition: all 0.3s ease;
}

/* Wenn gescrollt: Klasse wird via JS hinzugefügt */
body.sticky-header .site-header {
  padding-top: 0px;
  padding-bottom: 0px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.sticky-header .header-image {
  max-height: 60px;
  width: auto;
}


/* Desktop: Button neben Menü */
/* .nav-cta-button {
  background-color: var(--accent);
  color: white;
  padding: 6px 20px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
  margin-left: auto;
  display: inline-block;
  border: none;
} */

.nav-cta-button {
  position: relative;
  background-color: var(--accent);
  color: white;
  padding: 6px 20px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
  margin-left: auto;
  display: inline-block;
  border: none;
  overflow: visible;
}

.nav-cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -9px; /* <- zieht das PNG nach außen */
  width: 10px;                /* PNG-Breite */
  height: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%; /* skaliert in Höhe und Breite */
  background-image: url("assets/img/btn-side.png");
  pointer-events: none;
  z-index: 2;
}

.nav-cta-button::after {
  content: "";
  position: absolute;
  top: 0;
  right: -9px; /* <- zieht das PNG nach außen */
  width: 10px;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("assets/img/btn-side.png");
  transform: scaleX(-1); /* horizontal spiegeln */
  pointer-events: none;
  z-index: 2;
}

.std-cta-button {
  position: relative;
  background-color: var(--accent);
  color: white;
  padding: 6px 20px !important;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
  display: inline-block;
  border: none;
  overflow: visible;
}

.std-cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -9px; /* <- zieht das PNG nach außen */
  width: 10px;                /* PNG-Breite */
  height: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%; /* skaliert in Höhe und Breite */
  background-image: url("assets/img/btn-side.png");
  pointer-events: none;
  z-index: 2;
}

.std-cta-button::after {
  content: "";
  position: absolute;
  top: 0;
  right: -9px; /* <- zieht das PNG nach außen */
  width: 10px;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("assets/img/btn-side.png");
  transform: scaleX(-1); /* horizontal spiegeln */
  pointer-events: none;
  z-index: 2;
}

.std-cta-button-invers {
  position: relative;
  background-color: white;
  color: var(--accent);
  padding: 6px 20px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
  display: inline-block;
  border: none;
  overflow: visible;
}

.std-cta-button-invers::before {
  content: "";
  position: absolute;
  top: 0;
  left: -9px; /* <- zieht das PNG nach außen */
  width: 10px;                /* PNG-Breite */
  height: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%; /* skaliert in Höhe und Breite */
  background-image: url("assets/img/btn-side-invers.png");
  pointer-events: none;
  z-index: 2;
}

.std-cta-button-invers::after {
  content: "";
  position: absolute;
  top: 0;
  right: -9px; /* <- zieht das PNG nach außen */
  width: 10px;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("assets/img/btn-side-invers.png");
  transform: scaleX(-1); /* horizontal spiegeln */
  pointer-events: none;
  z-index: 2;
}


.nav-cta-button:hover, .nav-cta-button:focus {
  background-color: var(--accent);
  color: var(--contrast);
}
.cta-btn-buchung {
  background-color: white;
  color: var(--accent);
  padding: 0.5rem 1rem;
  font-weight: 600;
}
.sect-buchen button {
  background-color: white !important;
  color: var(--accent) !important;
  padding: 0.5rem 1rem;
  font-weight: 600;
}
.sect-buchen button:hover {
  color: var(--contrast) !important;
}

.nav-float-right #site-navigation {
  margin-left: 10px;
}

/* Tablet & kleiner */
@media (max-width: 1024px) {
  .nav-float-right #site-navigation {
    margin-left: auto;
  }


  .main-navigation .main-nav ul li a {
    padding-left: 10px;
    padding-right: 10px;
    line-height: 45px;
  }

  .main-navigation ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
    margin-bottom: 20px;
  }

  .main-navigation.toggled .main-nav li {
    text-align: right;
  }

  .main-navigation a {
    display: block;
    text-decoration: none;
    font-weight: 600 !important;
    text-transform: none;
    font-size: 20px;
  }
}

.mobile-menu-control-wrapper {
  margin-left: 10px;
}

.header-fact,
.header-fact-text {
  margin-bottom: 0px;
}

.header-fact-section h1 {
  font-size: 42px !important;
}

@media (max-width: 768px) {
  .header-fact-section h1 {
    text-align: left;
  }

  h4 {
    font-size: 20px !important;
  }
}

@media (max-width: 1024px) {
  .header-fact-section h1 {
    font-size: 34px !important;
  }

  .header-fact {
    font-size: 22px;
  }

  .header-fact-text {
    font-size: 12px;
  }
}

.footer-instagram {
  margin-bottom: 0.5rem !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.footer-instagram i {
  font-size: 2rem;
}

.instagram-dark {
  margin-bottom: 0.5rem !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.instagram-dark i {
  font-size: 2rem;
}

@media (max-width: 768px) {
  .footer-widgets-container {
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
  }
}

.kt-accordion-panel-active {
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

.stk-block-accordion .stk-block-accordion__content>.stk-container {
  padding: 0;
}

.stk-block-accordion {
  scroll-margin-top: 100px; /* Abstand von oben beim Scrollen */
}

.wp-block-table.is-style-stripes {
  border-bottom: 0px solid #f0f0f0;
}


/* KONTAKT FORMULAR */

/* Allgemeines Feld-Styling */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    box-sizing: border-box;
}
.wpcf7-list-item {
  display: inline-block;
  margin: 0 0 0.5em 0em;
}

.wpcf7-list-item a {
  color: white !important;
}
.popup-content .wpcf7-list-item a {
  color: var(--contrast) !important;
}

/* Grid-Layout ab 768px */
@media (min-width: 768px) {
    .form-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* Abstand zwischen Feldern */
.left-column label,
.right-column label {
    display: block;
    margin-bottom: 1rem;
}

.wpcf7-submit {
  background-color: white !important;
  color: #94CE0C !important;
  font-weight: bold !important;
  padding-top: 0.5rem;
  padding-right: 1rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
}

.wpcf7-submit:hover {
  color: #2B2E26 !important;
}

.popup-content .wpcf7-submit {
  background-color: var(--accent) !important;
  color: white !important;
}
.popup-content .wpcf7-submit:hover, .popup-content .wpcf7-submit:active {t;
  color: var(--contrast) !important;
}
.popup-content .wpcf7-number {
  max-width: 100px;
} 

/* Button rechtsbündig innerhalb der rechten Spalte */
.right-column .wpcf7-submit {
    float: right;
}

.wpcf7 br {
    display: none;
}


.wp-block-cb-carousel-v2 .cb-pagination .cb-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--accent);
}

table td,
table th {
    vertical-align: top;
    padding-top: 10px !important;
}



.floating-flag {
  position: fixed;
  top: 20%;
  right: 0;
  z-index: 998;
  transform-origin: right center;
  background: var(--accent);
  color: white;
  padding: 0.6rem 0.6rem 0.2rem 0.6rem;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.floating-flag button {
  all: unset;
  cursor: pointer;
  color: white;
}
.floating-flag button:hover {
  color: var(--contrast);
}

.floating-flag button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -9px; /* <- zieht das PNG nach außen */
  width: 10px;                /* PNG-Breite */
  height: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%; /* skaliert in Höhe und Breite */
  background-image: url("assets/img/btn-side.png");
  pointer-events: none;
  z-index: 2;
}


/* POPUP OVERLAY */

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: flex-start; /* war: center */
  overflow-y: auto; /* ermöglicht Scrollen */
  z-index: 99999;
  padding: 2rem 0rem; /* Abstand zum oberen Rand auf kleinen Geräten */
  backdrop-filter: blur(10px);
  /* Unschärfe für dahinterliegenden Content */
  -webkit-backdrop-filter: blur(10px);
  /* für Safari */
}


.popup-content {
  container-type: inline-size;
  background: #fff;
  padding: 20px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.popup-content h1 {
  color: var(--accent);
}

.popup-content p {
  margin-bottom: 0;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--contrast)
}
.popup-close:hover {
  background-color: var(--accent)
}

.hidden {
  display: none;
}

.popup-section {
  display: none;
}
.popup-section.active {
  display: block;
}
