/* Font imports */

/* cormorant-garamond-300 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  src: url('media/assets/googlefonts/Cormorant_Garamond/cormorant-garamond-v19-latin_latin-ext-300.woff2') format('woff2');
}

/* cormorant-garamond-300italic - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  src: url('media/assets/googlefonts/Cormorant_Garamond/cormorant-garamond-v19-latin_latin-ext-300italic.woff2') format('woff2');
}

/* cormorant-garamond-regular - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  src: url('media/assets/googlefonts/Cormorant_Garamond/cormorant-garamond-v19-latin_latin-ext-regular.woff2') format('woff2');
}

/* cormorant-garamond-italic - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  src: url('media/assets/googlefonts/Cormorant_Garamond/cormorant-garamond-v19-latin_latin-ext-italic.woff2') format('woff2');
}

/* cormorant-garamond-500 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  src: url('media/assets/googlefonts/Cormorant_Garamond/cormorant-garamond-v19-latin_latin-ext-500.woff2') format('woff2');
}

/* cormorant-garamond-500italic - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  src: url('media/assets/googlefonts/Cormorant_Garamond/cormorant-garamond-v19-latin_latin-ext-500italic.woff2') format('woff2');
}

/* cormorant-garamond-600 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  src: url('media/assets/googlefonts/Cormorant_Garamond/cormorant-garamond-v19-latin_latin-ext-600.woff2') format('woff2');
}

/* cormorant-garamond-600italic - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  src: url('media/assets/googlefonts/Cormorant_Garamond/cormorant-garamond-v19-latin_latin-ext-600italic.woff2') format('woff2');
}

/* cormorant-garamond-700 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  src: url('media/assets/googlefonts/Cormorant_Garamond/cormorant-garamond-v19-latin_latin-ext-700.woff2') format('woff2');
}

/* cormorant-garamond-700italic - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 700;
  src: url('media/assets/googlefonts/Cormorant_Garamond/cormorant-garamond-v19-latin_latin-ext-700italic.woff2') format('woff2');
}

/* quicksand-300 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 300;
  src: url('media/assets/googlefonts/Quicksand/quicksand-v36-latin_latin-ext-300.woff2') format('woff2');
}

/* quicksand-regular - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  src: url('media/assets/googlefonts/Quicksand/quicksand-v36-latin_latin-ext-regular.woff2') format('woff2');
}

/* quicksand-500 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 500;
  src: url('media/assets/googlefonts/Quicksand/quicksand-v36-latin_latin-ext-500.woff2') format('woff2');
}

/* quicksand-600 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 600;
  src: url('media/assets/googlefonts/Quicksand/quicksand-v36-latin_latin-ext-600.woff2') format('woff2');
}

/* quicksand-700 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  src: url('media/assets/googlefonts/Quicksand/quicksand-v36-latin_latin-ext-700.woff2') format('woff2');
}



:root {
  --text: #7B6C64;
  --link: #453D39;
  --lighthover: #AF8A86;
  --menubg: #D7BFBC;
  --mainbg: #F5EFEA;
  --button: #AF8A86;
  --footerbg: #9BAA9D;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: inherit;
}

body {
  overflow-x: hidden;
  margin: 0;
      display: flex;
    flex-direction: column; /* Elemente untereinander anordnen */
    min-height: 100vh; /* Mindestens die volle Viewport-Höhe */
}


/* HERO SECTION -- START */

.hero-section {
  position: relative;
  align-items: center;
  justify-content: center;
  display: flex;
  z-index: 1;
}

.hero-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.hero-text {
  width: 40vw;
  position: absolute;
  right: 0;
  z-index: 200;
  align-items: center;
}

.hero-text>h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-style: italic;
  font-size: 7vw;
  text-align: center;
  line-height: 90%;
  color: var(--footerbg);
  margin: 0 auto 2vh auto;
}

.hero-text>h2 {
  font-family: "Quicksand", sans-serif;
  font-weight: 300;
  font-size: 2.5vw;
  text-align: center;
  color: var(--mainbg);
  margin: 0 auto;
}

.hero-logo {
  width: 20vw;
  height: 5vh;
  margin: 0 auto 3vh auto;

  /* Maskierung mit PNG */
  mask-image: url('media/logo/littleFelauri_Logo-vektor.png');
  -webkit-mask-image: url('media/logo/littleFelauri_Logo-vektor.png');
  /* Safari Fix */

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;

  /* Standardfarbe des Logos */
  background-color: var(--mainbg) !important;
  /* Hier Farbe anpassen */
}

/* HERO SECTION -- END */



/* NAV BAR -- START */

#navbar {
  /* position: sticky; */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2vw 10vw 0.5vw 10vw;
  font-family: Quicksand, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  background-color: var(--mainbg);
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.logo-container {
  width: 150px;
  /* Größe des Logos */
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  /* Unterstrich für Links entfernen */
  margin-bottom: 6px;
}

.nav-logo,
.footer-logo {
  width: 150px;
  height: 30px;

  /* Maskierung mit PNG */
  mask-image: url('media/logo/littleFelauri_Logo-vektor.png');
  -webkit-mask-image: url('media/logo/littleFelauri_Logo-vektor.png');
  /* Safari Fix */

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;

  /* Standardfarbe des Logos */
  background-color: var(--link) !important;
  /* Hier Farbe anpassen */
}

.logo-container:hover .nav-logo {
  background-color: var(--lighthover) !important;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  z-index: 9;
}

.nav-item {
  position: relative;
  list-style: none;
}

.nav-item>a {
  text-decoration: none;
  color: var(--link);
  padding: 15px 20px;
  display: block;
}

.dropdown {
  display: none;
  position: absolute;
  background-color: var(--mainbg);
  min-width: 160px;
  top: 100%;
  right: 0;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  list-style: none;
  padding: 0;
  border-radius: 5%;
  z-index: 1000;
}

.dropdown a {
  color: var(--link);
  padding: 10px;
  display: block;
  text-decoration: none;
}

.nav-item a:hover {
  color: #AF8A86;
}

.dropdown a:hover {
  color: var(--lighthover);
}

.nav-item:hover .dropdown {
  display: block;
}

.nav-item button {
  color: var(--link);
  display: flex;
  justify-content: center;
  background-color: transparent;
  padding: 6px 0;
}

.nav-item button:hover {
  color: var(--mainbg);
  background-color: var(--menubg);
  /* border-radius: 10%; */
  z-index: 300;
}

.hamburger {
  top: 0;
  display: none;
  font-size: 24px;
  color: #1F242199;
  cursor: pointer;
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  position: relative;
  margin-top: -0.5px;
  z-index: 99;
}

.hamburger div {
  width: 100%;
  height: 4px;
  background-color: var(--link);
  position: absolute;
  transition: all 0.3s ease;
}

.hamburger:focus,
.hamburger:hover {
  background: transparent !important;
}

.hamburger:hover div {
  background-color: var(--lighthover);
}

.hamburger div:nth-child(1) {
  top: 0;
}

.hamburger div:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger div:nth-child(3) {
  bottom: 0;
}

.hamburger.active div:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger.active div:nth-child(2) {
  opacity: 0;
}

.hamburger.active div:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

@media (max-width: 832px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 50px;
    right: 0;
    background-color: var(--mainbg);
    width: 100%;
    max-width: 100vw;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-item {
    text-align: center;
  }

  .dropdown {
    display: none;
    position: static;
    background-color: var(--mainbg);
  }

  .dropdown.active {
    display: block;
  }

  .dropdown-toggle.active {
    background-color: var(--footerbg);
  }

  .hamburger {
    display: block;
  }
}

/* NAV BAR -- END */



.main {
    background-color: var(--mainbg);
    width: 100%;
    min-height: 90vh;
    margin: 0 auto; 
    padding: 0 10vw;
}

/* Mobile */
@media (max-width: 768px) {
  .main {
    padding: 0 5vw;
  }

  .hero-img {
    width: 100%;
  }

  .nav-container {
    padding: 2vw 5vw 0.5vw 5vw;
  }
}

#main-content {
  padding: 5vw 0;
}

/* BANNER */
/* Anpassungen für die MAIN-CONTENT Section als Flex-Container */
#main-content.with-blogteaser {
    padding: 5vw 0; /* Ihr bestehendes Padding */
    display: flex; /* Macht main-content zu einem Flex-Container */
    flex-wrap: wrap; /* WICHTIG: Erlaubt das Umbrechen der Elemente in die nächste Zeile auf kleinen Bildschirmen */
    justify-content: space-between; /* Verteilt den Platz zwischen den Spalten (Text links, Banner rechts) */
    align-items: flex-start; /* Stellt sicher, dass die Spalten oben ausgerichtet sind */
    gap: 40px; /* Abstand zwischen den Spalten */
}

/* Stile für den Haupttext-Bereich (linke Spalte) */
.main-text-content {
    flex: 1; /* Nimmt den verbleibenden Platz ein */
    min-width: 300px; /* Stellt sicher, dass der Textbereich auf kleineren Desktops nicht zu schmal wird */
}




#main-content h1 {
  font-family: Cormorant Garamond, serif;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  max-width: fit-content;
  color: var(--text);
  margin: 2.2rem 0 0.5rem 0;
}

#main-content h2 {
  font-family: Quicksand, sans-serif;
  font-weight: 600;
  color: var(--text);
  margin: 1.8rem 0 0.5rem 0;
}

#main-content h3 {
  font-family: Quicksand, sans-serif;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--text);
  margin: 1.6rem 0 0.5rem 0;
}

#main-content h4 {
  font-family: Quicksand, sans-serif;
  font-weight: bolder;
  color: var(--text);
  margin: 1.3rem 0 0.3rem 0;
}

#main-content p,
li {
  font-family: Quicksand, sans-serif;
  font-weight: 200;
  color: var(--text);
  margin: 0 0 1rem 0;
}

#main-content ul {
  margin-left: 1em;
  margin-bottom: 1em;
}



/* Desktop */
@media (min-width: 1024px) {
  .background-container {
    height: 30vw;
  }

  #main-content p,
  li {
    font-size: 1.2rem;
  }

  #main-content h4 {
    font-size: 1.2rem;
  }

  #main-content h3 {
    font-size: 1.4rem;
  }

  #main-content h2 {
    font-size: 1.6rem;
  }

  #main-content h1 {
    font-size: 2rem;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .background-container {
    height: 38vw;
  }

  #main-content p,
  li {
    font-size: 1.1rem;
  }

  #main-content h4 {
    font-size: 1.1rem;
  }

  #main-content h3 {
    font-size: 1.3rem;
  }

  #main-content h2 {
    font-size: 1.5rem;
  }

  #main-content h1 {
    font-size: 1.9rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .background-container {
    height: 46vw;
  }

  #main-content p,
  li {
    font-size: 1rem;
  }

  #main-content h4 {
    font-size: 1rem;
  }

  #main-content h3 {
    font-size: 1.2rem;
  }

  #main-content h2 {
    font-size: 1.4rem;
  }

  #main-content h1 {
    font-size: 1.8rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .background-container {
    height: 55vw;
  }

  #main-content p,
  li {
    font-size: 0.9rem;
  }

  #main-content h4 {
    font-size: 0.9rem;
  }

  #main-content h3 {
    font-size: 1.1rem;
  }

  #main-content h2 {
    font-size: 1.3rem;
  }

  #main-content h1 {
    font-size: 1.7rem;
  }
}


header, footer {
    flex-shrink: 0;
}



/* 404 PAGE START */

/* Hauptbereich, der den 404-Inhalt enthält und zentriert */
.page-404 {
    display: flex;
    justify-content: center; /* Horizontale Zentrierung */
    align-items: center;    /* Vertikale Zentrierung */
    flex-grow: 1; /* Nimmt den restlichen verfügbaren Platz ein */
    text-align: center;
    padding: 20px; /* Innenabstand für Inhalt */
    box-sizing: border-box; /* Padding in die Breite/Höhe einbeziehen */
}

/* Container für den 404-Text und Infotext */
.page-404 > #main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* max-width: 800px;  Optional: um den Inhalt nicht zu breit werden zu lassen */
    width: 100%;
    /* Startzustand für Fade-In: unsichtbar */
    opacity: 0;
    transform: translateY(20px); /* Leicht von unten nach oben einfaden */
    animation: fadeIn 5s ease-out forwards; /* Fade-In Animation */
    animation-delay: 0.5s; /* Wartezeit vor dem Start des Fade-Ins */
    /* background-color: black; */
}

/* Animation für Fade-In */
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-404 h1 {
    font-size: 7rem !important;
    margin: 0;
    line-height: 1em;
    color: var(--text); /* Dunkelgrauer Text für Eleganz */
    
    text-shadow: 
        /* Subtiler 3D-Effekt (dunklere, leicht versetzte Schatten) */
        2px 2px 5px rgba(0, 0, 0, 0.3),    /* Basis-Schatten */
        4px 4px 10px rgba(0, 0, 0, 0.15),   /* Weiterer, leichter Schatten */
        
        /* Sanfter, edler Glow (helle, stark verwaschene Schatten) */
        0 0 20px rgba(255, 255, 255, 0.8), /* Hellerer, weicher Glow */
        0 0 40px rgba(255, 255, 255, 0.6), /* Breiterer, sanfterer Glow */
        0 0 60px rgba(255, 255, 255, 0.4); /* Am weitesten auslaufender Glow */

    /* Animation für Pulsieren und Leuchten (angepasst für sanften Glow) */
    animation: pulseGlow 2s infinite alternate ease-in-out; 
    animation-delay: 1.5s; 
}

/* Neue Animation für den sanften Glow */
@keyframes pulseGlow {
    0% {
        transform: scale(1);
        text-shadow: 
            2px 2px 5px rgba(0, 0, 0, 0.3),    
            4px 4px 10px rgba(0, 0, 0, 0.15),
            0 0 20px rgba(255, 255, 255, 0.8), 
            0 0 40px rgba(255, 255, 255, 0.6), 
            0 0 60px rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.02); /* Leichtes Pulsieren */
        text-shadow: 
            2px 2px 8px rgba(0, 0, 0, 0.4),    /* Schatten wird etwas prominenter */
            4px 4px 15px rgba(0, 0, 0, 0.2),
            0 0 30px rgba(255, 255, 255, 1),   /* Glow wird intensiver */
            0 0 50px rgba(255, 255, 255, 0.8), 
            0 0 70px rgba(255, 255, 255, 0.6);
    }
    100% {
        transform: scale(1);
        text-shadow: 
            2px 2px 5px rgba(0, 0, 0, 0.3),    
            4px 4px 10px rgba(0, 0, 0, 0.15),
            0 0 20px rgba(255, 255, 255, 0.8), 
            0 0 40px rgba(255, 255, 255, 0.6), 
            0 0 60px rgba(255, 255, 255, 0.4);
    }
}

/* Wichtig: Auch die Farben für h2, p und a außerhalb des 404-Kontrastbereichs anpassen */
.page-404 h2 {
    font-size: 2rem; 
    margin-top: 15px;
    max-width: 600px;
    color: var(--text); /* Dunklerer Text, passend zum hellen Hintergrund */
}

.page-404 p {
    font-size: 1.2rem; 
    margin-top: 15px;
    max-width: 600px;
    color: var(--text); /* Dunklerer Text */
}

.page-404 a {
    color: var(--button); /* Deine Standard-Linkfarbe */
    text-decoration: none; /* Standardmäßig keine Unterstreichung */
    font-weight: bold;
    position: relative; /* Wichtig für das Pseudo-Element */
    transition: color 0.3s ease-in-out; /* Für sanften Farbwechsel */
    padding-bottom: 2px; /* Etwas Platz für die Linie darunter */
}

.page-404 a::after {
    content: '';
    position: absolute;
    width: 0; /* Startet ohne Breite */
    height: 2px; /* Dicke der Unterstreichung */
    bottom: 0;
    left: 0;
    background-color: var(--text); /* Farbe der Unterstreichung */
    transition: width 0.3s ease-in-out; /* Animation für die Breite */
}

.page-404 a:hover::after {
    width: 100%; /* Wächst auf volle Breite an */
}
/* 404 PAGE END */



/* || FOOTER --- begin || */

.footer-section {
  position: relative;
  background-color: var(--footerbg);
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 2vh 10vw;
  overflow: hidden;
}

#footer-social-links {
  flex-direction: column;
}

#footer-social-links h3 {
  color: var(--link);
  font-family: Londrina Solid, sans-serif;
  font-size: 1em;
  font-weight: 300;
  padding: 0 2em 0 2em;
}

#footer-social-link-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#footer-social-link-wrapper a {
  color: var(--link);
  font-size: 1.8em;
  margin: 0.3em 0.5em 0 0.5em;
}

#footer-social-link-wrapper a:hover {
  color: var(--lighthover);
}

#footer-link-wrapper a {
  font-family: "Exo 2", sans-serif;
  font-weight: 400;
  color: var(--link);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

#footer-link-wrapper a:hover {
  color: var(--lighthover);
}


/* Mobile */
@media (max-width: 767px) {
  #footer-social-link-wrapper a {
    font-size: 1.6em;
  }

  #footer-social-links h3 {
    font-size: 0.9em;
  }

  .footer-logo {
    width: 120px;
    height: 24px;
  }
}

/* Med. Mobile */
@media (max-width: 580px) {
  #footer-link-wrapper a {
    font-size: 0.9em;
  }

  #footer-social-link-wrapper a {
    font-size: 1.3em;
  }

  #footer-social-links h3 {
    font-size: 0.8em;
  }

  .footer-logo {
    width: 115px;
    height: 23px;
  }

  .footer-section {
    padding: 2vh 30px;
  }
}

/* Small Mobile */
@media (max-width: 490px) {

  .footer-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #footer-holder {
    flex-direction: column;
  }

  .footer-logo {
    margin-bottom: 3vh;
  }

  #footer-social-links {
    margin-bottom: 3vh;
  }

  #footer-link-wrapper a {
    margin: 0 2.5vw 2.5vw 2.5vw;
    font-size: 0.8em;
  }
}

/* || FOOTER --- END || */








/* Contact form --- START */

#contact-container-wrapper {
  display: grid;
  place-items: center;
}

#contact-container-wrapper h3,
h1 {
  max-width: 400px;
  width: 100%;
}

.contact-container {
  background: var(--menubg); /* #6CA6C150 */
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
}

label {
  font-family: "Exo 2", sans-serif;
  font-weight: 400;
  color: var(--link);
  display: block;
  margin-top: 10px;
}

input,
select,
textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid var(--mainbg);
  border-radius: 4px;
  font-size: 0.9em;
  font-family: Quicksand, sans-serif;
}

textarea {
  height: 100px;
  resize: vertical;
}

button {
  background: var(--footerbg);
  color: var(--link);
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 15px;
  padding: 10px 0;
  width: 100%;
  font-size: 1em;
  font-weight: 600;
  font-family: Quicksand, sans-serif;
}

button:hover {
  background: #6CA6C1;
  /*#7880B5, #5C80BC, #8B728E   */
  color: #f1f1f1;
}

#form-status {
  text-align: center;
  margin-top: 10px;
  color: red;
  font-weight: bold;
}

/* Responsiv */
@media (max-width: 480px) {
  .contact-container {
    padding: 15px;
  }
}

.cf-turnstile {
  margin-top: 1.5rem;
}

.message-box {
  display: none;
  text-align: center;
  margin-top: 1rem;
}

.message-box.active {
  display: block;
}

lottie-player {
  width: 150px;
  margin: 0 auto;
}

.success {
  color: #4CAF50;
}

.error {
  color: #E53935;
}

/* Contact form --- END */




/*  BLOG START */

/* BLOG HEADER START */

.blog-header {
  width: 100vw;
  background-color: var(--menubg);
  padding: 20px 0 20px 0;
}

.blog-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 7vw;
  text-align: center;
  line-height: 90%;
  color: var(--link);
  max-width: 100%;
  margin: 0 auto;
}

.blog-subtitle {
  font-family: "Quicksand", sans-serif;
  font-weight: 300;
  font-size: 2.5vw;
  text-align: center;
  color: var(--text);
  margin: 0 auto 0 15vw;
}

.blog-main h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 7vw;
  text-transform: uppercase;
  text-align: center;
  line-height: 90%;
  color: var(--link);
  max-width: 100%;
  margin: 0 auto;
}

.blog-main h2 {
  font-family: "Quicksand", sans-serif;
  font-weight: 300;
  font-size: 2.5vw;
  text-align: center;
  color: var(--text);
  margin: 0 auto;
}

/* BLOG HEADER END */


/* BLOG POST START */

.p_container {
  width: 100vw;
  margin: 0 auto;
  padding: 10vw;
  box-sizing: border-box;
  background-color: var(--mainbg);
}

.hauptbild img,
.grossbild img,
.zubehoerbild img {
  width: 100%;
  display: block;
  margin-bottom: 1rem;
}

.puppentitel {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 5vw;
  text-transform: uppercase;
  font-style: italic;
  text-align: center;
  line-height: 90%;
  color: var(--link);
  max-width: 100%;
  margin: 0 auto;
}

.untertitel {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 3vw;
  text-align: center;
  line-height: 90%;
  color: var(--link);
  max-width: 100%;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.textblock {
  margin: 2rem 0;
  line-height: 1.7;
  font-family: "Quicksand", sans-serif;
  font-weight: 300;
  font-size: 1.5vw;
  color: var(--text);
}

.doppelbild {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.doppelbild .links,
.doppelbild .rechts {
  flex: 1 1 45%;
  box-sizing: border-box;
}

.doppelbild img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-width: 100%;
}

.zubehoerblock {
  background: var(--menubg);
  padding: 2rem;
  margin-top: 3rem;
  margin-bottom: 2vw;
  line-height: 1.7;
  font-family: "Quicksand", sans-serif;
  font-weight: 300;
  font-size: 1.5vw;
  color: var(--link);
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 2.5vw;
  font-style: italic;
  text-transform: uppercase;
  text-align: center;
  line-height: 90%;
  color: var(--link);
  max-width: 100%;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.zubehoerblock img {
  width: 100%;
  margin-bottom: 3vw;
}

.separator {
  display: flex;
  align-items: center;
  margin-top: 10vh;
}

.separator .line {
  height: 1px;
  flex: 1;
  background-color: var(--link);
  min-width: 28vw;
}

.separator h1 {
  padding: 0 2rem;
}

/* BLOG POST END */

/* BLOG HOME START*/

.blog-preview {
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--link);
  padding-bottom: 2rem;
}

.preview-image {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.preview-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.preview-image:hover img {
  transform: scale(1.02);
}

.h_blog-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 2rem;
  text-transform: uppercase;
  font-style: italic;
  text-align: center;
  color: var(--link);
  margin: 1rem 0;
}

.h_blog-title a {
  text-decoration: none;
  color: inherit;
}

.preview-excerpt {
  font-family: "Quicksand", sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.6;
  text-align: justify;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.read-more {
  text-align: center;
}

.read-more a {
  font-family: "Quicksand", sans-serif;
  font-size: 1rem;
  text-decoration: none;
  color: var(--link);
  border: 1px solid var(--link);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.read-more a:hover {
  background-color: var(--link);
  color: var(--mainbg);
}

/* hover zoom effect */
.preview-image {
  overflow: hidden;
  border-radius: 8px;
}

.preview-image img {
  transition: transform 0.3s ease;
  width: 100%;
  display: block;
}

.preview-image:hover img {
  transform: scale(1.05);
}


/* Mobile optimierung der home.php */

.blog-grid {
  display: grid;
  gap: 2rem;
}

.post-date {
  font-family: "Quicksand", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--link);
  text-align: center;
  color: var(--lighthover);
}

/* Mobil (Standard: 1 Spalte) */
@media (max-width: 767px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Handy-Querformat: 2 Spalten */
@media (min-width: 768px) and (max-width: 1023px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: 3 Spalten */
@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* BLOG HOME END*/



/* Mobile Optimierung  */

@media (max-width: 1300px) {

  .blog-title,
  .blog-main h1,
  .puppentitel {
    font-size: 6vw;
  }

  .blog-subtitle,
  .blog-main h2,
  .untertitel {
    font-size: 2.8vw;
  }

  .section-title {
    font-size: 3.2vw;
  }

  .textblock,
  .zubehoerblock {
    font-size: 2vw;
  }

  .h_blog-title {
    font-size: 1.8rem;
  }

  .preview-excerpt {
    font-size: 1rem;
  }

  .read-more a {
    font-size: 0.95rem;
  }
}



@media (max-width: 768px) {

  /* Allgemeines Padding */
  .p_container {
    padding: 5vw;
  }

  /* Titel und Überschriften */
  .blog-title,
  .blog-main h1,
  .puppentitel {
    font-size: 9vw;
  }

  .blog-subtitle,
  .blog-main h2,
  .untertitel {
    font-size: 4.5vw;
  }

  .section-title {
    font-size: 5vw;
  }

  /* Textblöcke */
  .textblock,
  .zubehoerblock {
    font-size: 4vw;
  }

  /* Blog-Vorschau auf Startseite */
  .preview-excerpt {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .h_blog-title {
    font-size: 1.5rem;
  }

  .read-more a {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  /* Doppelte Bilder – untereinander anordnen */
  .doppelbild {
    flex-direction: column;
  }

  .doppelbild .links,
  .doppelbild .rechts {
    flex: 1 1 100%;
  }

  /* Separator Lines */
  .separator {
    margin-top: 5vh;
  }

  .separator h1 {
    padding: 0;
  }

  /* Zubehörbild Abstand reduzieren */
  .zubehoerblock img {
    margin-bottom: 1.5rem;
  }
}

/*  BLOG END */

/* Tablet Querformat */
@media (min-width: 600px) and (orientation: landscape) {
  .latest-post-tile {
    max-width: 50%;
    float: right;
    margin: 0 0 1rem 1rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .latest-post-tile {
    max-width: 30%;
    float: right;
    margin: 0 0 1rem 1rem;
  }
}

*/

/* BLOG TEASER TILE START */
/* Layout Container */
#main-content.with-blogteaser {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

/* Blog-Teaser Grundlayout */
.blog-teaser {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Bild */
.blog-teaser img {
  width: 100%;
  height: auto;
  display: block;
}

/* Titel-Overlay */
.blog-teaser .overlay {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: var(--mainbg);
  padding: 0.5em 1em;
  font-size: 1.1em;
  font-family: "Cormorant Garamond";
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
}

/* Responsive Position */
@media (min-width: 768px) {
  #main-content.with-blogteaser {
    flex-direction: row;
  }

  .blog-teaser {
    width: 100%;
    margin: 0 auto 2rem auto;
  }
}

/* BLOG TEASER TILE END */

/* BANNER */
/* Stile für den Seitenbanner (rechte Spalte) */
.side-banner {
    width: 270px; /* Feste Breite für den Banner auf Desktop */
    background-color: var(--menubg); /* Hintergrundfarbe des Banners */
    border: 1px solid #ddd; /* Rand um den Banner */
    padding: 15px; /* Innenabstand des Banners */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Leichter Schatten */
    border-radius: 12px; /* Abgerundete Ecken */
    /* Falls Sie möchten, dass der Banner beim Scrollen sticky wird, können Sie dies hier hinzufügen: */
    /* position: sticky;
    top: 20px;  */
}

.side-banner h3 {
  margin: 0 auto 0.5rem auto!important;
}

/* Stile für die Kacheln innerhalb des Banners (bleiben gleich) */
.banner-tile {
    background-color: var(--mainbg);
    border: 1px solid var(--menubg);
    margin-bottom: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-radius: 5px;
}

.banner-tile:last-child {
    margin-bottom: 0;
}

.banner-tile h3 {
    margin-top: 0;
    color: var(--link);
    font-size: 1.1em;
}

.banner-tile h4 {
    margin-bottom: 5px;
    color: var(--link);
    font-size: 1em;
}

.banner-tile p {
    font-size: 0.9em;
    color: var(--text);
}

.banner-tile img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 3px;
}

.banner-tile a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.banner-tile a:hover h4 {
    text-decoration: underline;
}

/* Responsive Anpassungen für MOBILE */
@media (max-width: 992px) { /* Beispiel-Breakpoint für den Wechsel zu 1 Spalte */
    #main-content.with-blogteaser {
        flex-direction: column; /* Stapelt die Spalten untereinander */
        align-items: center; /* Zentriert die gestapelten Elemente horizontal */
        gap: 30px; /* Abstand zwischen den gestapelten Elementen */
    }

    .main-text-content {
        flex: auto; /* Nimmt wieder normalen Platz ein */
        width: 100%; /* Volle Breite */
        min-width: unset; /* Reset min-width */
    }

    .side-banner {
        width: 100%; /* Der Banner nimmt volle Breite ein */
        /* Falls sticky oben aktiviert wurde, hier deaktivieren: */
        /* position: static; */
        /* top: unset; */
    }
}