/*!
 * Theme Name: BFI Design
 * Author: Marie-Therese Knapp
 */
           
 :root {
    --white: #ffffff;
    --black: #000000;
    --grey-light: #eee;
    --grey-medium: #aaa;
    --grey-dark: #555;

    --text: #000;
    --text-light: #eee;

    --primary: #023770;
    --secondary: #c61832;

    --active-menu-color: #c61832;

    --navigation-width: 350px;
    --navigation-background: rgba(2, 55, 112, 0.8);
    --navigation-backdrop: rgba(0, 0, 0, 0.5);

    --header-padding: 30px;
    --header-bottom: 15vh;
    --logo-width: 190px;
}

/* Startseiten-Header höher machen */
body.home {
    --header-bottom: 100px;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}



/*-----------------------------------
 *---------- Typographie -----------*
 *----------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
    color: var(--text);
    font-size: 1rem;
    line-height: 2;
    font-family: "Paprika", sans-serif;
}
@media screen and (max-width: 700px) {
    .textarea {
        font-size: 33px important;
     }
}

h1, h2, h3,
h4, h5, h6 {
    font-family: "Paprika", sans-serif;
}


/*-----------------------------------
 *------------ Layout --------------*
 *----------------------------------*/

html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
}

#page {
    display: flex;
    flex-flow: column nowrap;
    min-height: calc(100vh - var(--wp-admin--admin-bar--height));
}

#content {
    flex: 1;
    z-index: 1;
}

.site-header {
    /* background: var(--secondary); Deaktiviert wegen gradient */
    position: relative;
    z-index: 2;
}

.site-branding {
    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}



.custom-logo {
    max-width: var(--logo-width);
    height: auto;
}

@media (max-width: 760px) {
    .custom-logo {
        max-width: 100px; /* oder eine andere kleinere feste Größe */
        display: block;
        margin: 0 auto;
    }
}



.search-toggle {
    position: absolute;
    top: var(--header-padding);
    right: 95px;
    width: 38px;
    height: 35px;
    padding-top: 6px;
    cursor: pointer;
}

.search-toggle svg {
    width: 100%;
    height: 100%;
    fill: var(--white);
}

.menu-toggle {
    position: absolute;
    top: var(--header-padding);
    /* left: var(--header-padding); V1: links gleich wie oben */
    /* left: 30px; V2: links fixer abstand */
    /* right: var(--header-padding); V3: rechts gleich wie oben */
    right: 30px; /* V4: rechts fixer abstand */

    cursor: pointer;
    display: inline-block;
}

.menu-toggle div {
    width: 35px;
    height: 5px;
    background: var(--white);
    margin: 6px 0;
}

body.nav-open .menu-toggle div:nth-child(1) {
    transform: translateY(11px) rotate(-45deg);
}

body.nav-open .menu-toggle div:nth-child(2) {
    opacity: 0;
}

body.nav-open .menu-toggle div:nth-child(3) {
    transform: translateY(-11px) rotate(45deg);
}

.header-media {
    width: 100%;
    height: calc(100vh - var(--wp-admin--admin-bar--height) - var(--header-bottom));
}





.header-media-image {
    width: 100%;
    height: 100%;
}

.header-media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0));
}

.header-media-content h1 {
    margin: 0;
    color: var(--white);
    font-size: 6rem;
}







/* V1: Überschrift links unten
.header-media-content {
    position: absolute;
    left: var(--header-padding);
    bottom: var(--header-padding);
}
*/

/* V2: Überschrift rechts unten mit mehr Abstand
.header-media-content {
    position: absolute;
    right: calc(4 * var(--header-padding));
    bottom: calc(4 * var(--header-padding));
}
*/

/* V3: Überschrift zentriert */
.header-media-content {
    position: absolute;
    left: 50%;
    top: 60%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}
.header-media-content h1 {
    margin: 0;
    color: var(--white);
    font-size: 3rem;
}

@media screen and (min-width: 668px) {
    .header-media-content {
        top: 57%;
    }

    .header-media-content h1 {
        font-size: 5rem;
    }
}

@media screen and (min-width: 950px 760px) {
    .header-media-content {
        top: 50%;
    }

    .header-media-content h1 {
        font-size: 6rem;
    }
}
.site-footer {
    background: var(--secondary);
    color: var(--text-light);
    padding-top: 30px;
}

.site-footer-columns {
    display: flex;
    justify-content: space-around;
}

.site-footer-navigation ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    list-style-type: none;
    padding: 0%;
}

.site-footer-navigation a {
    padding: 0 10px;
    color: var(--white);
}



.bfi-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 30px;
}

.bfi-social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
}

.bfi-social-links svg {
    width: 100%;
    height: 100%;
}


/*-----------------------------------
 *---------- Navigation ------------*
 *----------------------------------*/

 .menu-container {
    position: fixed;
    left: 0;
    right: 0;

    background: var(--white);

    z-index: 2;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
 }

 @media (max-width: 760px) {
    .menu-container {
      width: 100vw;
      height: 60vw;
      padding: 10px;
    }
  }
  

.site-navigation ul {
    list-style-type: none;
    font-size: 1.5rem;
    line-height: 2;
    font-weight: bold;

    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: start;
    padding-left: 0;

}

@media (max-width: 760px) {
    .site-navigation ul {
      list-style-type: none;
      text-decoration: underline;
      font-size: 1rem;
      line-height: 0;
      font-weight: bold;
  
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
  
      padding-left: 0;
      margin-top: 80px; /* Abstand nach oben */
    }
  }
  

.menu-close {
    display: flex;
    justify-content: flex-end;
}

.menu-close-button {
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
    padding: 0 15px;

    transition: 0.2s ease-out;
}

.menu-close-button:hover {
    color: var(--grey-medium);
}

/* Für Trenner aktivieren: */
.site-navigation ul.menu > li {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.7);
}

.site-navigation ul a,
.site-navigation ul a:visited {
    display: block;
    color: var(--black);
    text-decoration: none;
    padding: var(--header-padding);

    transition: 0.2s ease-out;
}

.site-navigation ul li.current-menu-item>a {
    color: var(--active-menu-color);
    text-decoration: underline;
}

/* Hover Effekt */
.site-navigation ul a:hover {
    /* padding-left: 30px; */
}

.backdrop,
.search-backdrop {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.backdrop {
    background: var(--navigation-backdrop);
    backdrop-filter: blur(5px);

    transition: 0.5s;
}

.search-backdrop {
    background: var(--navigation-backdrop);
    backdrop-filter: blur(5px);

    transition: 0.5s;
}

.search-close {
    position: absolute;
    top: var(--header-padding);
    right: var(--header-padding);
    line-height: 1;
    font-size: 45px;
    color: var(--white);
    cursor: pointer;
}

.search-backdrop form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.search-backdrop label {
    display: none;
}

.search-backdrop .search-input {
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-size: 2rem;
    min-width: 50vw;

    border: none;
    outline: none;
}

.search-backdrop .search-submit {
    display: none;
}

body:not(.nav-open) .backdrop,
body:not(.search-open) .search-backdrop {
    display: none;
}


/*----------------------------
 *--------- Content ---------*
 *---------------------------*/

#content {
    padding: 20px;
    min-width: 350px;
}

@media screen and (min-width: 768px) {
    #content {
        padding: 40px 0;
        max-width: 650px;
        min-width: 600px;
        margin: 0 auto;
    }
}

@media screen and (min-width: 1024px) {
    #content {
        max-width: 900px;
        min-width: 800px;
    }
}

@media screen and (min-width: 1300px) {
    #content {
        max-width: 1100px;
        min-width: 1000px;
    }
}

@media screen and (min-width: 1600px) {
    #content {
        max-width: 1500px;
        min-width: 1400px;
    }
}
 
.post-header h1 {
    margin-top: 0;
    font-size: 2.5rem;
}

/*----------------
  --- Diverses ---
  ---------------*/
.top-button {
    position: fixed;
    right: var(--header-padding);
    bottom: var(--header-padding);
    background: rgba(131, 49, 49, 0.5); /* Variante 1: Farbe hier wählen */
    background: var(--navigation-backdrop); /* Variante 2: Gleich wie Navigation */
    border-radius: 50%;
    
    width: 50px;
    height: 50px;
    padding: 10px;

    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease-out;
}



body.top-btn-visible .top-button {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.top-button svg {
    width: 100%;
    height: 100%;
    fill: var(--white);
}


/* Anpassungen für die Website */


.schriftgroesse-text {
    font-size: 2rem !important;
    text-justify: inter-word;
    line-height: 2;
}
@media (max-width: 760px) {
    .schriftgroesse-text {
    font-size: 1rem !important;
    line-height: 1.8;
    }
}
/* Für Tablets und kleinere Bildschirme */
@media (max-width: 900px) {
    .schriftgroesse-text {
        font-size: 1rem!important;
        line-height: 1.8;
    }
}


                                    .schriftgroesse-text-startseite {
                                        font-size: 1.5rem !important;
                                        text-justify: inter-word;
                                        line-height: 2.2;
                                    }
                                    @media (max-width: 768px) {
                                        .schriftgroesse-text-startseite {
                                            font-size: 0.3rem; !important;
                                            line-height: 2;
                                        }
                                    }
@media (max-width: 760px) {
.schriftgroesse-ueberschrift {
    font-size: 1.5rem !important;
    line-height: 1.5;
    display: inline-block;
    }
}



.is-style-regular {
    font-size: 1rem !important;
    text-justify: inter-word;
    line-height: 2;
}
@media (max-width: 768px) {
    .is-style-regular {
        font-size: 0.3rem; !important;
        line-height: 2;
    }
}


.schriftgroesse-zwischentext {
    font-size: 1.5rem;
    text-justify: inter-word; 
    line-height: 2;
}



                                .contact-text {
                                    font-size: 2.4rem !important;
                                    text-justify: inter-word; 
                                    line-height: 2;
                                }
                                .cafe-text{
                                    font-size: 1rem;
                                    line-height: 3;
                                }
                                .img-ice {
                                    width: 100%;
                                    height: 100%;
                                }

                                .stars-umfrage {
                                    line-height: 7;
                                    font-size: 1.5rem !important;
                                }



/*#content, .container, .site-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 2rem;
    margin: 0 auto;
}*/

.abstand-gross-unten {
    margin-bottom: 60px;
}

.abstand-mittel-unten {
    margin-bottom: 40px;
}

.abstand-klein-unten {
    margin-bottom: 20px;
}

.abstand-gross-oben {
    margin-top: 100px;
}

.abstand-mittel-oben {
    margin-top: 40px;
}

.abstand-klein-oben {
    margin-top: 10px;
}

.abstand-sehr-gross-oben {
    margin-top: 200px;
}

.abstand-sehr-gross-unten {
    margin-bottom: 100px;
}
.responsive-schrift{
    font-size: 16px;
}




@media screen and (max-width: 700px) {
    .ueberschrift-klein-mobil {
        font-size: 20px important;
    }


    .abstand-gross-oben-mobil {
        margin-top: 200px !important;
    }
}

@media screen and (min-width: 700px) {
    .abstand-gross-oben-desktop {
        margin-top: 200px;
    }
}



.site-copyright {
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff; /* oder #fff für dunklen Footer */
    margin-top: 0;
    padding: 0;
}

@media (max-width: 600px) {
    .site-copyright {
        font-size: 0.9rem;
        line-height: 1.4;
        padding: 0.5rem;
    }
}

.semmel-bewertung {
    display: flex !important;
    flex-direction: column;
    gap: 0.4rem; /* Abstand zwischen den Semmeln */
    align-items: center;
    margin: 1rem 0 !important;
}


@media screen and (min-width: 760px) {
    .menu-container {
    




        @media (max-width: 760px) {
            .groesse-table {
              display: flex;
              flex-direction: column;
            }
          
            .groesse-table > div {
              display: flex;
              flex-direction: row;
              justify-content: space-between;
              padding: 8px 0;
            }
          }
          