/* 
  --wp--preset--color--base: #fff;
  --wp--preset--color--primary: #1E3A5F;
  --wp--preset--color--secondary: #FF3300;
  --wp--preset--color--accent: #FFD600;
  --wp--preset--color--contrast: #222222;
  --wp--preset--color--background-1: #f7f7f7;
  --wp--preset--color--background-2: #eaf0f7;
  --wp--preset--color--background-dark: #222222;
  --wp--preset--color--black: #000000;
  --wp--preset--font-size--small: 0.875rem;
  --wp--preset--font-size--medium: 1rem;
  --wp--preset--font-size--large: 1.25rem;
*/

/* Main */
h2 {
  font-weight: 900;
}

h2::before {
  margin-right: 10px;
  content: "»";
  color: var(--wp--preset--color--secondary)
}

/* Sticky Header */
.top-bar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #333;
  color: white;
  z-index: 1001;
}

header {
  position: sticky;
  top: 30px;
  width: 100%;
  background-color: white;
  z-index: 1000;
}
@media screen and (max-width: 768px) {
  .top-bar {
    display: none;
  }
  header {
    top: 0;
  }
}

/* Sticky Sidebar */
.seo-sidebar {
  position: sticky;
  top: 250px;
  height: fit-content;
}

.cta a{
  background-color: var(--wp--preset--color--secondary);
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  margin: 0 auto;
  max-width: 250px;
  display: block;
}

/* Basis-Stil für alle Links */
main a:not(.wp-block-button__link):not(.wp-element-button, .seo-sidebar a, .wp-block-post-excerpt__more-link) {
  position: relative;
  color: var(--wp--preset--color--primary);
  font-weight: bold;
  text-decoration: none;
  padding: 2px 0;
}

/* Der Unterstrich-Effekt */
main a:not(.wp-block-button__link):not(.wp-element-button, .seo-sidebar a, .wp-block-post-excerpt__more-link)::after {
  content: "";
  position: absolute;
  width: 35px;
  height: 3px;
  bottom: -7px;
  left: 0;
  background-color: var(--wp--preset--color--primary);
  transition: width 0.3s ease;
}

main a:not(.wp-block-button__link):not(.wp-element-button):hover::after {
  width: 100%;
  background-color: var(--wp--preset--color--accent);
}

/* Navi Neu Badge */
.navi-neu {
  position: relative;
}

.navi-neu::before {
  content: "neu";
  position: absolute;
  top: -15px;
  right: -10px;
  background-color: var(--wp--preset--color--secondary);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 5px;
  text-transform: uppercase;
}

/* Navi Hover */
/* Basis-Stil für die Menüpunkte */
.wp-block-navigation-item__content {
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 5px 0;
}

/* Der Unterstrich-Effekt */
.wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  width: 0;
  height: 4px;
  bottom: 0;
  left: 0;
  background-color: var(
    --wp--preset--color--accent
  ); /* Farbe des Unterstrichs */
  transition: width 0.3s ease;
}

.wp-block-navigation-item__content:hover::after {
  width: 100%; /* Unterstrich dehnt sich auf volle Breite aus */
}

/* Overrides TwentyTwentyFive Theme */
span.wp-block-navigation-item__label {
  padding: 10px 20px;
  min-width: 250px;
}

@media (min-width: 768px) {
  /* Ab Tablet/PC */
  .wp-container-core-group-is-layout-14 > .alignfull {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0;
  }
}

/*_________ Full With Class _________*/
.full-width-container {
  width: 100vw;
  max-width: 100%;
}

.full-width-container > * {
  width: 100%;
  padding: 0 20px;
  /* Innenabstand */
}

/*_________ Kontakt Bubble_________ */

/* Bubble-Stil */
.floating-bubble {
  position: fixed;
  right: 30px;
  bottom: 100px;
  width: 60px;
  height: 60px;
  background-color:  var(--wp--preset--color--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 999;
  animation: pulse 2s infinite;
  transition: transform 0.3s ease;
}

.floating-bubble:hover {
  transform: scale(1.1);
}

/* Aktiver Zustand der Bubble */
.floating-bubble.active {
  background-color: var(--wp--preset--color--secondary);
  animation: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Icon innerhalb der Bubble */
.bubble-icon {
  color: white;
  font-size: 24px;
}

/* Pulsier-Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(66, 133, 244, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(66, 133, 244, 0);
  }
}

/* Modal-Stil für das Kontaktformular */
.seo-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.4);
}

/* Desktop-Version: neben dem Icon */
@media (min-width: 768px) {
  .seo-modal {
    width: 320px;
    height: auto;
    top: auto;
    left: auto;
    right: 100px;
    bottom: 80px;
    overflow: visible;
  }

  .seo-modal-content {
    margin: 0;
    width: 100%;
  }
}

/* Mobile-Version: Vollbild */
@media (max-width: 767px) {
  .seo-modal {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
  }

  .seo-modal-content {
    margin: 10% auto;
    width: 90%;
  }
}

.seo-modal-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  max-width: 500px;
  border-radius: 8px;
  position: relative;
}

.close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: black;
}

/*_________ Ende Kontakt Bubble _________ */

/* HOVER EFFECTS */
/* Hover-Effekt für Bilder */
.hover-effect {
  overflow: hidden;
  display: inline-block;
}

.hover-effect a img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.hover-effect:hover a img {
  transform: scale(1.1);
  filter: blur(2px);
}

/* Custom list styling */
.seo-custom-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1.0rem;
}

.seo-custom-list li {
  position: relative;
  padding-left: 1.0rem;
  margin-bottom: 1.0rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.seo-custom-list li a{
  color: #333;
  font-weight: 300;
}

.seo-custom-list p{
  padding-left: 0;
  font-size: 0.8em
}

.seo-custom-list li:before {
  content: "•";
  color: #5944ad;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -0.5rem;
}

.seo-custom-list li strong {
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

/* Stil für Listen mit Markern in der primären Farbe */
ul.custom-list {
  list-style: none;
  padding-left: 0;
}

ul.custom-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--wp--preset--color--primary);
}

ul.custom-list.negative li {
  color: var(--wp--preset--color--base);
}

ul.custom-list.negative li::before {
  color: var(--wp--preset--color--base);
}

ul.custom-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--wp--preset--color--primary);
  font-size: 1.5rem;
  line-height: 1rem;
}

.seo-author {
  background-color: var(--wp--preset--color--background-dark);
  border: 1px solid #000;
  padding: 1.5rem;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.seo-author .wp-block-post-author {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}


.seo-author .wp-block-post-author__content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.seo-author .wp-block-post-author__name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.seo-author .wp-block-post-author-biography {
  font-size: 0.95rem;
  color: #f1f1f1;
  line-height: 1.4;
  margin: 0;
}

.seo-author .wp-block-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .seo-author .wp-block-post-author {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .seo-author .wp-block-post-author__content {
    flex: 1;
    margin-right: 1rem;
  }

  .seo-author .wp-block-social-links {
    margin-top: 0;
  }
}


/* Quote */
/* Stil für Zitate */
.custom-quote {
  position: relative;
  font-size: 1.5rem;
  font-style: italic;
  padding: 20px;
  margin: 20px 0;
  background-color: #f9f9f9;
  border-left: 5px solid var(--wp--preset--color--primary);
  border-radius: 10px;
}

.custom-quote::after {
  font-family: "Montserrat", sans-serif;
  content: "“";
  font-size: 8em;
  color: var(--wp--preset--color--primary);
  position: absolute;
  bottom: 0;
  right: 0;
  margin-top: -100px;
}

/* Stil Loop */

.custom-loop li {
  background: var(--wp--preset--color--background-1);
  border: 1px solid var(--wp--preset--color--base);
  padding: var(--wp--preset--spacing--30);
  border-radius: 10px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.custom-loop li:hover {
  background-color: var(--wp--preset--color--background-2);
  border-color: var(--wp--preset--color--primary);
}

.custom-loop li a {
  color: inherit;
  /* Inherits the color from the parent element */
  text-decoration: none;
  /* Removes underline */
  display: block;
  /* Makes the link cover the entire list item */
  width: 100%;
  height: 100%;
}

.custom-loop li a:hover {
  color: inherit;
  /* Disables individual hover effect */
}

/* Stil für Preistabelle */

.price-table .original-price {
  text-decoration: line-through;
  color: var(--wp--preset--color--secondary);
}

.price-table .discounted-price {
  color: var(--wp--preset--color--primary);
  font-size: 1.5rem;
  font-weight: 700;
}

.price-table .badge-container {
  position: relative;
  padding: 10px;
  border-radius: 10px;
  border-top: 5px solid var(--wp--preset--color--background-dark);
}

.price-table .badge-container.badge-neu::before,
.price-table .badge-container.badge-bester-preis::before {
  position: absolute;
  top: -10px;
  left: -10px;
  padding: 0.4em 1em;
  font-size: 1em;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  color: #fff;
  z-index: 1;
}

.price-table .badge-container.badge-neu {
  border-top: 5px solid var(--wp--preset--color--primary);
}

.price-table .badge-container.badge-neu::before {
  background-color: var(--wp--preset--color--primary);
  content: "neu";
}

.price-table .badge-container.bester-preis {
  border-top: 5px solid var(--wp--preset--color--secondary);
}

.price-table .badge-container.badge-bester-preis::before {
  background-color: var(--wp--preset--color--secondary);
  content: "am beliebtesten";
}

/* Grundlegende Formularstile */
.wpcf7 {
  margin: 20px auto;
  background-color: none;
  padding: 20px;
  color: var(--wp--preset--color--primary);
}

/* Eingabefelder und Textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 5px;
  margin-bottom: 5px;
  border: 1px solid var(--wp--preset--color--primary);
  /* Neutraler Grauton */
  border-radius: 5px;
  font-size: 16px;
  color: #000;
  /* Kastanienbraun */
  background-color: #fff;
}

.wpcf7 textarea {
  min-height: 100px;
  resize: vertical;
}

.wpcf7-select {
  width: 100%;
  padding: 5px;
  margin-bottom: 5px;
  border-radius: 5px;
  border: 1px solid var(--wp--preset--color--primary);
}

/* Eingabefelder im Fokus */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: var(--wp--preset--color--accent);
  outline: none;
  box-shadow: 0 0 5px rgba(255, 214, 0, 0.5);
}

/* Labels */
.wpcf7 label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
  color: var(--wp--preset--color--accent-1);
  /* Tiefes Blau */
}

/* Absende-Button */
.wpcf7 input[type="submit"] {
  background-color: var(--wp--preset--color--accent);
  color: #000;
  padding: 15px 50px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background-color: var(--wp--preset--color--accent-1);
  /* Kastanienbraun */
  color: #fff;
  /* Gold */
}

/* Fehlermeldungen */
.wpcf7-not-valid-tip {
  color: #ff0000;
  /* Rot für Fehler */
  font-size: 14x;
  margin-top: -10px;
  margin-bottom: 10px;
}

/* Erfolgsmeldung */
.wpcf7-mail-sent-ok {
  background-color: #6d4c41;
  /* Kastanienbraun */
  color: #fafafa;
  /* Warmweiß */
  padding: 10px;
  border-radius: 4px;
  margin-top: 15px;
  font-weight: bold;
}

/* Fehlernachricht */
.wpcf7-validation-errors {
  background-color: #ffcdd2;
  /* Helles Rot für Fehlerhintergrund */
  color: #b71c1c;
  /* Dunkler Rotton */
  padding: 10px;
  border-radius: 4px;
  margin-top: 15px;
}

/* Responsives Design */
@media (max-width: 768px) {
  .wpcf7 {
    padding: 15px;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"],
  .wpcf7 textarea {
    font-size: 14px;
  }

  .wpcf7 input[type="submit"] {
    font-size: 14px;
    padding: 8px 16px;
  }
}

/* Dunkles Theme für WPCF7 Formulare */
.dark .wpcf7 {
  background-color: transparent;
  color: #ffffff;
}

/* Eingabefelder und Textarea für dunklen Hintergrund */
.dark .wpcf7 input[type="text"],
.dark .wpcf7 input[type="email"],
.dark .wpcf7 input[type="tel"],
.dark .wpcf7 textarea {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Placeholder-Text für Eingabefelder */
.dark .wpcf7 input::placeholder,
.dark .wpcf7 textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Eingabefelder im Fokus */
.dark .wpcf7 input:focus,
.dark .wpcf7 textarea:focus {
  border-color: var(--wp--preset--color--accent-3);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 5px rgba(255, 214, 0, 0.3);
}

/* Labels */
.dark .wpcf7 label {
  color: rgba(255, 255, 255, 0.9);
}

/* Absende-Button - inverse Farben für dunklen Hintergrund */
.dark .wpcf7 input[type="submit"] {
  background-color: var(--wp--preset--color--accent);
  color: #000;
  border-radius: 5px;
}

.dark .wpcf7 input[type="submit"]:hover {
  background-color: var(--wp--preset--color--accent-1);
  color: #ffffff;
}

/* Fehlermeldungen anpassen */
.dark .wpcf7 .wpcf7-not-valid-tip {
  color: #ff9999; /* Helleres Rot für bessere Sichtbarkeit auf dunklem Hintergrund */
}

/* Erfolgsmeldung */
.dark .wpcf7 .wpcf7-mail-sent-ok {
  background-color: rgba(109, 76, 65, 0.8);
  color: #ffffff;
}

/* Fehlernachricht */
.dark .wpcf7 .wpcf7-validation-errors {
  background-color: rgba(183, 28, 28, 0.5);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Stil für FAQ Aufklappbox */
#zaydan-faq .accordion.faq-container {
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#zaydan-faq .accordion-item {
  border: 1px solid var(--wp--preset--color--background-2);
  /* Entfernt die Standardrahmen von Bootstrap */
  margin-bottom: 20px;
  background-color: var(--wp--preset--color--accent-3);
}

#zaydan-faq .accordion-header {
  font-size: var(--wp--preset--font-size--large);
  font-weight: 700;
  color: var(--wp--preset--color--primary);
  cursor: pointer;
  position: relative;
}

#zaydan-faq .accordion-button {
  background-color: var(--wp--preset--color--background-1);
  color: var(--wp--preset--color--primary);
  padding: var(--wp--preset--spacing--30);
  font-weight: 700;
  text-align: left;
  border: none;
  box-shadow: none;
}

#zaydan-faq .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
  /* Pfeil nach oben */
}

#zaydan-faq .accordion-body {
  font-size: 1rem;
  color: var(--wp--preset--color--accent-1);
  padding: var(--wp--preset--spacing--30);
}

/* Container für das Inhaltsverzeichnis */
/* Container für das Inhaltsverzeichnis */
.seo-toc {
  padding: 5px 0;
}

/* Ungeordnete Liste - als Flex-Container */
.seo-toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style-type: none; /* Listenpunkte entfernen */
  margin: 0;
  padding: 0;
  justify-content: center;
}

/* Listenelemente */
.seo-toc-item {
  margin: 0;
  padding: 0;
}

/* Links */
.seo-toc-link {
  color: var(--wp--preset--color--contrast);
  display: inline-block;
  text-decoration: none;
  padding: 0px 5px;
  transition: all 0.3s ease;
}

.seo-toc-link:hover {
  border-bottom: var(--wp--preset--color--accent) 2px solid;
  text-decoration: none;
}

/* Aktiver Link */
.seo-toc-link.active {
  border-bottom: var(--wp--preset--color--accent) 2px solid;
  font-weight: bold;
}

/* Responsives Verhalten für kleinere Bildschirme */
@media (max-width: 768px) {
  .seo-toc-list {
      display: none;
  }
}