
@import url("https://mosterei-wurst.de/wp-content/fonts/fonts.css");

/* Standardgröße für Smartphones (Mobile First) */
html {
  font-size: 1.1rem; /* Eine angenehme Standardgröße für Handys */
}

/* Für Tablets und größere Bildschirme (ab 768px Breite) */
@media (min-width: 768px) {
  html {
    font-size: 1.8rem; /* Deine gewünschte große Schrift für das Tablet */
  }

}
body {
  font-family: linux_biolinum_o;
  background-color: #ffa;
}

.modal-dialog.modal-fullscreen {
    /* Wichtig: Überschreibt alle voreingestellten Max-Breiten von Bootstrap */
    max-width: 100vw !important;
}

.icon-svg {
    width: 1.2em;      /* Orientiert sich an der Schriftgröße */
    height: 1.2em;
    vertical-align: -0.2em; /* Richtet es bündig mit dem Text aus */
    margin-right: 0.5rem;
    object-fit: contain;
}

#banner {
    width: 100%;
    background-color: #007900;
    padding: 0.5em;
    overflow: hidden;
}


#banner-back {
    width: 65px;
    text-align: left;
    float: left;
}

#banner-headline {
    width: 100%;
    min-height: 65px;
    text-align: center;
    color: #ffc;
}
#banner-headline h1 {
    display: inline;
}

#banner-logo {
    float: right;
    width: 244px;
    text-align: right;
}

#banner-clear {
    clear: both;
    height: 0px;
    width: 100%;
    padding: 0;
    margin: 0;
}

h1, h2, h3 {
  font-family: "Caveat Brush";
}
@media(min-width:992px){
    h1 {
        font-size: 250%;
    }

    h1.termsheader {
        font-size: 200%;
    }   
    .modal-dialog {
        max-width: 700px;
    }
}

@media(max-width: 991px) {
    #banner-headline {
        clear: both;
        min-height: 30px;
    }

    .modal-footer button,
    .modal-footer a {
        max-width: 50%;
        font-size: 100%;
    }
    #banner-back img {
        width: 30px;
        height: 30px;
    }
    #banner-logo {
        width: 113px;
    }
    #banner-logo img {
        width: 113px;
        height: 30px;
    }


}


/* 1. Standard-Zustand (Sieht aus wie ein Button) */
  .custom-floating-btn .form-control {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff !important;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
  }

  /* Label weiß einfärben im Button-Zustand */
  .custom-floating-btn label {
    color: #ffffff !important;
    transition: all 0.2s ease-in-out;
  }

  /* Pfeile bei type="number" weiß machen */
  .custom-floating-btn .form-control::-webkit-inner-spin-button,
  .custom-floating-btn .form-control::-webkit-outer-spin-button {
    filter: invert(1);
  }

  /* Hover-Effekt */
  .custom-floating-btn:hover .form-control {
    background-color: #0b5ed7;
    border-color: #0a58ca;
  }

  /* 2. Fokus-Zustand & wenn Text eingegeben wurde */
  .custom-floating-btn .form-control:focus,
  .custom-floating-btn .form-control:not(:placeholder-shown) {
    background-color: #ffffff;
    border-color: #86b7fe;
    color: #212529 !important;
    cursor: text;
  }

  /* Label wieder dunkel färben, wenn fokussiert oder ausgefüllt */
  .custom-floating-btn .form-control:focus ~ label,
  .custom-floating-btn .form-control:not(:placeholder-shown) ~ label {
    color: #6c757d !important;
  }

  /* Pfeile bei Fokus wieder normal stellen */
  .custom-floating-btn .form-control:focus::-webkit-inner-spin-button,
  .custom-floating-btn .form-control:focus::-webkit-outer-spin-button {
    filter: none;
  }
  /* CSS */
.divider-with-text {
  display: flex;
  align-items: center;
  text-align: center;
  color: #6c757d;
  font-size: 0.875rem;
}

.divider-with-text::before,
.divider-with-text::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #dee2e6;
}

.divider-with-text span {
  padding: 0 0.75rem;
}


.modal-body.terms {
    text-align: left;
    max-height: 500px;
    overflow-y: auto;
}

input, textarea, .form-control {
    font-size: 120%;
}

input.btn[type=submit] {
    white-space: normal !important;
    min-height: 5em;
}

input[type=submit] {
    width: 100%;
}

.btn {
    font-size: 120%;
    white-space: normal;
}

.btn-light, .btn-light:hover {
    border-color: black;
    margin-bottom: 0.5em;
}

#btn-sms {
    min-width: 280px; 
    padding-top: 150px;
    background-image: url("images/sms.png");
    background-repeat: no-repeat;
    background-position: center 10px;
}

#btn-whatsapp {
    min-width: 280px; 
    padding-top: 150px;
    background-image: url("images/whatsapp.png");
    background-repeat: no-repeat;
    background-position: center 10px;
}

#btn-email {
    min-width: 280px; 
    padding-top: 150px;
    background-image: url("images/email.png");
    background-repeat: no-repeat;
    background-position: center 10px;
}

#btn-gitterbox {
    min-width: 280px;
    padding-top: 170px;
    background-image: url("images/gitterbox.png");
    background-repeat: no-repeat;
    background-position: center 10px;
}


#btn-anhaenger {
    min-width: 280px;
    padding-top: 170px;
    background-image: url("images/anhaenger.png");
    background-repeat: no-repeat;
    background-position: center 10px;
}


#btn-frischsaftja {
    min-width: 280px;
    padding-top: 170px;
    background-image: url("images/frischsaft.png");
    background-repeat: no-repeat;
    background-position: center 10px;
}

#btn-frischsaftnein {
    min-width: 280px;
    padding-top: 170px;
    background-image: url("images/keinfrischsaft.png");
    background-repeat: no-repeat;
    background-position: center 10px;
}

.container {
    max-width: 900px;
}

#disclaimer {
    margin-top: 5em;
}


#allesloeschen {
    white-space: normal;
}

#footer {
    margin-top: 5em;
}

#loading-spinner-overlay {
    display: none;
    position: fixed;
    left: 0;
    width: 100%;
    top: 0;
    height: 100%;
    background-color: rgba(255,255,255,0.5);
    z-index: 99;
}
#loading-spinner {
    color: #000;
    z-index: 100;
    position: absolute;
    display: block;
    width: 32px;
    height: 32px;
    left: 50%;
    margin-left: -16px;
    top: 50%;
    margin-top: -16px;
    animation: spin 2s infinite linear;
}

@keyframes spin {
        0% {
            transform: rotate(0deg);
        } 
        100% {
            transform: rotate(360deg);
        }
}

