@font-face {
    font-family: 'Architects Daughter';
    src: url('../Fonts/ArchitectsDaughter-Regular.ttf') format('truetype'); /* Passe den Pfad zur TTF-Datei an */
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: url('../Fonts/Roboto-Regular.ttf') format('truetype'); /* Passe den Pfad zur TTF-Datei an */
    font-weight: normal;
    font-style: normal;
}

:root {
    --maincolor: #c10a28;
    --maincolor-darken: #9f0921; /*Für Hovereffekte z.b*/

    --maincolor-textcolor: #fff;
    --maincolor-textcolor-active: #fff;
    --maincolor-textcolor-hover: #000;

    --logo-color: #fff;
    --logo-font: 'Architects Daughter', cursive;

    --headline-font: 'Architects Daughter', cursive;

    --grey: #bebebe;
    /*visual*/
    --visual-overlay: rgba(0,0,0,0.5);
    --visual-overlay-dark: rgba(0,0,0,0.9);
    --visual-textcolor: rgba(255,255,255,1);

    /* für die Schriften global */
    --bs-font-sans-serif: 'Roboto', sans-serif;

    /** Bootstrap Override*/
    --bs-primary: var(--maincolor);

}
/*Hilfsklassen*/
.bg-maincolor {
    background-color: var(--maincolor) !important;
}
.color-maincolor {
    color: var(--maincolor) !important;
}
.logofont {
    font-family:  var(--logo-font)
}
.defaultfont {
    font-family: var(--bs-font-sans-serif)
}
.headlinefont {
    font-family: var(--headline-font)
}
/*Hilfsklassen ENDE */
/*Allegemein*/
h1,h2,h3,h4,h5,h6 {font-weight:bold;font-family: var(--headline-font); color: var(--maincolor)}
.btn-primary,.btn-primary.disabledWithEvents,.btn-primary.disabledWithEvents:hover {background-color: var(--maincolor); border-color: var(--maincolor); color: #fff; }
.btn-primary.disabledWithEvents {opacity:0.6; }
.btn-primary:hover, .btn-primary:focus {color: var(--maincolor); background-color: var(--maincolor-textcolor);  border-color: var(--maincolor); }
.btn {padding-left: 1.3rem; padding-right: 1.3rem; border-radius: 35px;}

.animate-color {-webkit-transition:color 0.5s;    -moz-transition:color 0.5s;    -o-transition:color 0.5s;    transition:color 0.5s}
.animate-background {-webkit-transition:background-color 0.5s;    -moz-transition:background-color 0.5s;    -o-transition:background-color 0.5s;    transition:background-color 0.5s}
/*Allegemein ENDE */
/*Navigation*/
#mainNav {
    height:125px;
    color: var(--maincolor-textcolor);
}
#mainNav .container {background: var(--maincolor)}
#mainNav[data-hasarrow='true']::after {content: " "; width:100%; height: 19px;  position: absolute; bottom:-9px;left:0; background:url('/fileadmin/arrow_down.svg') repeat-x; background-size: 19px 17px;}
.navbar a{  color: var(--maincolor-textcolor); text-decoration: none;}
.navbar a:hover{  color: var(--maincolor-textcolor-hover); }

.navbar-nav {font-size:1.1rem;}
.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .show>.nav-link {
    color: var(--maincolor-textcolor-active);
}
.navbar-light .navbar-nav .nav-link {
    color: var(--maincolor-textcolor);
}
.navbar-light .navbar-brand {
    color: var(--logo-color);
    font-family: var(--logo-font);
}
.navbar-light .navbar-nav .nav-link.disabled {
    color: var(--maincolor-textcolor);
    opacity: 0.3;
}
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: var(--maincolor-textcolor-hover);
}
/*Telefon im Header*/
.navbar-telephone {

}
.navbar-telephone-label {
    margin-bottom:-5px;
}
.navbar-telephone-number {
    font-size: 1.2rem;
    font-weight: bold;
}
.navbar-collapse.collapse.show, .navbar-collapse.collapsing{position: absolute; top: 7.7rem; width: 100%; left: 0; background: var(--maincolor); padding: 0 1rem;}
.navbar-light .navbar-toggler {color: var(--maincolor-textcolor); border-color: var(--maincolor-textcolor);}
.navbar-light .navbar-toggler-icon {  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");}
.logoimg {max-height:100px;}
/* Warenkorb im Header */
.cartSection {

}
.cartSection svg{
    width:33px;
    height:33px;
}
.cartSection .cartSection-value{
    font-size:1.5rem;
}
/**
    HeaderVisual
 */
.visual {
    background: url('../images/headerimg_1.jpg') no-repeat;
    background-size: cover;
    background-blend-mode: multiply;
    background-color: var(--visual-overlay);
    background-position: center center;
    color: var(--visual-textcolor);
}
.visual.visual-dark-overlay {
    background-color: var(--visual-overlay-dark);
}
.visual h1, .visual h2, .visual h3, .visual h4, .visual h5, .visual h6 {color: var(--visual-textcolor)}
/** Produkttype - Filter */
.producttypes-filter {color: var(--maincolor-textcolor); flex-wrap: nowrap; overflow-x: scroll;      scrollbar-width: thin;}


.producttypes-filter h1, .producttypes-filter h2, .producttypes-filter h3, .producttypes-filter h4{color: var(--maincolor-textcolor)}
.producttypes-filter .producttypes-filter-item{height:100px;cursor: pointer; background: var(--maincolor);   flex-direction: column; position: relative}
.producttypes-filter .producttypes-filter-item:hover{background: var(--maincolor-darken); }
.producttypes-filter .producttypes-filter-item svg {width: 75px; height: 100px;}
.producttypes-filter-movelink {position: absolute; top:0; left:0; width: 100%; height:100%;}

/*productcatalog*/
.productcatalog {}
.producttype-container {}
.category-container {}
.category-teaser{height:300px; background: url('../images/headerimg_1.jpg') no-repeat; background-size:cover; }
.category-teaser.teaserimage-pizza{ background-image: url('https://www.improvworx.de/lieferpate/pizza.jpg');}
.category-teaser.teaserimage-pasta{ background-image: url('https://www.improvworx.de/lieferpate/pasta.jpg') ;}
.category-teaser.teaserimage-salat{ background-image: url('https://www.improvworx.de/lieferpate/salat.jpg') ;}
.category-teaser.teaserimage-getränke{ background-image: url('https://www.improvworx.de/lieferpate/drinks.jpg') ;}
.category-teaser .category-teaser-text{color:#fff;}
.category-teaser .category-teaser-text h2{color:#fff;}
.category-teaser .category-teaser-text p{background: rgba(0,0,0,0.5); }

.productitem {    background: var(--grey);}
.productitem .productitem-header{}
.productitem .productitem-subheader {font-size: 0.7rem;}
.productitem:hover  {    cursor:pointer;}
.productitem:hover .btn-primary  {    color: var(--maincolor);    background-color: var(--maincolor-textcolor);    border-color: var(--maincolor);}

.producttype-container:not(:has(.row .col-12 .productitem)){display:none}

.cartPreview {}
.cartPreview > .card {position: sticky; top: 180px;}
.cartPreview svg{height:33px; width:33px;}
.cartPreview .cardPreview-productitem svg{height:20px; width:20px; color: var(--maincolor)}
.cardPreview-productitem-delete-trigger, .cardPreview-productcoupon-delete-trigger  {cursor: pointer; opacity: 0.75;}
.cardPreview-productitem-delete-trigger:hover ,
.cardPreview-productcoupon-delete-trigger:hover {cursor: pointer; opacity: 1;}
.cardPreview-productitem-info-additive {}
#card-count {width: 30px; height: 20px; font-size:1.2em; background: var(--maincolor); color: #fff; text-align: center; position: absolute; top: -5px; left: -10px; box-shadow:1px 0px 5px 2px rgba(0,0,0,0.6);    line-height: 20px; border-radius: 20px; }
.card-latch {    position: absolute; width: 50px; height: 50px; background: #fff; display: flex; align-items: center; justify-content: center; border-radius: 50px 0 0 50px; box-shadow: 0px 0px 8px 1px inset #999; left: -50px; top: 0; cursor: pointer; display:none}
.cartPreview .card-latch-close{display:none;    font-size: 2.6rem;}
#minimumValue-notreached {border: 1px solid red;    padding: 5px;    background: #ea7d7d;}
#minimumValue-notreached:empty {display:none}
/* Modal */
.ingredientsList {}
.ingredientsListShowAll {display:none;}
.removeIngredientsListShowAll {color: mediumblue; font-size: 0.7em; cursor: pointer}
.ingredientsList input[type="number"]{width:30px;}
/**Um ganze Fläche für den Klick vorzubereiten */
.ingredientsListItem {    position: relative;    padding-left: 1rem;}
.ingredientsListItem i[data-ingredienttrigger-type]{width: 47%; height: 23px; position: absolute; top: 3px;left:0;}
/* ENDE*/
.ingredientsListItem i[data-ingredienttrigger-type="minus"]{display:none;}
.ingredientsListItem.active i[data-ingredienttrigger-type="minus"]{display:inline;}
.ingredientsListItem.active i[data-ingredienttrigger-type="plus"]{display:none;}
.ingredientsListItem.active {color: var(--maincolor);}
.ingredientsListItem.active .fa-check{display:inline}
.ingredientsListItem .fa-check{display:none}
.ingredientsListItem i{color: var(--maincolor); cursor: pointer;}
#countFood {width:48px;}
#countFoodLabel {font-size:0.8rem;}
.addCart::after{ content:  "(" attr(data-price) ")";}

.orderingtoday-time-delivery{display:none}
.orderingtoday-time-takeaway{display:none}
#devliveryOrTakeawayFormContainer:has(#deliverytype-delivery:checked) + #deliverywisthtimeFormContainer .orderingtoday-time-delivery {display:inline}
#devliveryOrTakeawayFormContainer:has(#deliverytype-abholung:checked) + #deliverywisthtimeFormContainer .orderingtoday-time-takeaway {display:inline}
/**
Order
 */
/* Chrome, Safari, Edge, Opera */
#phone::-webkit-outer-spin-button, #phone::-webkit-inner-spin-button,
#zip::-webkit-outer-spin-button, #zip::-webkit-inner-spin-button
{
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
#phone, #zip{
    -moz-appearance: textfield;
}
.paymentTypeRow {display:flex; margin-top: 2px; gap: 15px; margin-bottom: 20px;flex-flow: wrap;}
.paymentType {position:relative; width: 100px; height: 100px; }
.paymentType .paymentTypeContent{ padding: 5px; border: 3px solid #d1cdcd;    border-radius: 6px; background: #d1cdcd; height: 100%; display: flex; align-items:  center; justify-content: center; flex-direction: column;}
.paymentType [type="radio"]{opacity: 0;    position: absolute; top:0;left:0; width:100%;height:100%;cursor: pointer;}
.paymentType [type="radio"]:checked + .paymentTypeContent {border-color: red;    }

#couponbutton {top:31px;}

/*Footer*/
footer {background: var(--maincolor); color: var(--maincolor-textcolor)}
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 {color: var(--maincolor-textcolor)}
footer a{color: var(--maincolor-textcolor); text-transform: uppercase; text-decoration: none;}
footer a:hover, footer a:focus{color: var(--maincolor-textcolor-hover); text-decoration: underline}
footer svg {width:50px;height:50px;}
#lieferpate {}
#lieferpate:hover svg{    filter: grayscale(0);    opacity: 1;}
#lieferpate svg{width:70px; height: 60px; transition: 0.2s all;    filter: grayscale(1);    opacity: 0.7;}
#loadOverlay {display:flex; justify-content: center;  font-size: 70px; color: #fff;align-items: center; position: fixed; top:0;left:0;width:100%; height:100%; background: rgba(0,0,0,0.5); display:none;}
#loadOverlay.show {display:flex; z-index: 9999999}
.successMessage {font-weight:bold; color: green;}
.failMessage {font-weight:bold; color: red;}

.scontoBadge {display: flex;color: #f44434;flex-direction: column;font-weight: bold;transform: rotate(20deg);position: absolute;top: 5px;right: 5px;background: #fff;border-radius: 100px;height: 170px;width: 170px;align-items: center;justify-content: center;}
.scontoBadge svg{width:100px;}

label {    font-weight:bold;}
.form-check label {font-weight:normal}
.modal {z-index:15000;}

.pulsAnimation{    animation: pulsate 2s ease-in-out 1;}

#install-wrapper {font-size: 10px;background: #f5f5f5;padding: 5px;justify-content: center;gap: 7px;display: none;align-items: center;}
#install-wrapper b {font-size: 11px;}
#install-wrapper img {width:40px;}
#install-wrapper .btn {font-size: 10px;    padding: 3px;}
.isAndroidContent, .isIosContent {display:none}
body.isIOS #install-wrapper,body.isAndroid #install-wrapper{display:flex !important;}
body.isIOS .isIosContent, body.isAndroid .isAndroidContent{display:block}

.item-pricevalue--delivery, .show-by-delivery{display:none}
.deliveryChoosen .item-pricevalue--delivery,
.deliveryChoosen .show-by-delivery{display:inline-block}
.deliveryChoosen .item-pricevalue--abholung,
.deliveryChoosen .show-by-abholung{display:none}
.forceShow {display:block !important;}
.forceShowFlex{display:flex !important;}
.gdprcookie{z-index: 9999999}


/* Container styling */
.option-container { display: flex; margin:auto;background-color: #f5f4f3; border-radius: 30px; padding: 5px; width: fit-content; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }
/* Individual option styling */
.option { display: flex; align-items: center; padding: 5px 10px; border-radius: 30px; font-family: Arial, sans-serif; color: #333; cursor: pointer; transition: background-color 0.3s; }
/* Styling for selected option */
.option.active,
.deliveryChoosen .option.deliveryOption,
.abholungChoosen .option.abholungOption{    background-color: white;    color: #333;    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);}
.deliveryChoosen .option.deliveryOption i,
.abholungChoosen .option.abholungOption i {color: var(--maincolor)}
/* Icon styling */
.option i {    margin-right: 8px;    font-size: 1.2em;}
/* Text and time styling */
.option-text {    font-weight: bold;    font-size: 1em;}
.option-time {    font-size: 0.9em;    color: #666;    margin-top: 2px;}


.strike-price {
    color: #e60000;                 /* Rote Farbe für den Preis */
    font-weight: bold;              /* Fettgedruckter Text */
    position: relative;             /* Position für das pseudo-Element */
    display: inline-block;          /* Block für bessere Kontrolle */
}

.strike-price::before {
    content: "";                    /* Inhalt des pseudo-Elements */
    position: absolute;             /* Positionierung innerhalb des Elements */
    top: 50%;                       /* Mitte des Texts */
    left: -5%;                      /* Leichter Offset für den Anfang */
    width: 110%;                    /* Länge des Strichs */
    height: 2px;                    /* Dicke des Strichs */
    background-color: #e60000;      /* Rote Farbe für den Strich */
    transform: rotate(-10deg);      /* Schräge Linie */
}
.strike-pricebtn-pos {position: absolute; top: -22px; left: -7px; width:53px; font-size: 10px; background: white; border-radius: 6px; padding: 0 4px; box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.5) }

#loadingscreen{position:fixed; background:#fff; top:0;left:0;width:100%;height:100%; display:flex; align-items:center;justify-content:center;    justify-content: center;    flex-direction: column-reverse;}
#loadingscreen svg  {  width:200px;  animation: tilt-shaking 0.25s linear infinite;}
#loadingscreen svg path {fill: var(--maincolor) !important}

@keyframes tilt-shaking {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}
@keyframes pulsate {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
    }
    30% {
        transform: scale(1.2);
        background: green;
    }
    60% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);

    }
    61% {
        box-shadow: 0 0 0 0px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow:1px 0px 5px 2px rgba(0,0,0,0.6);
    }
}
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #999999;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #999999;
}


@media (min-width: 920px) {
    .producttypes-filter { scrollbar-width: none;}
}
@media (min-width: 992px) {
    /* Nav */
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
    /** Produkttype - Filter */
    .producttypes-filter .producttypes-filter-item{height:150px;}
    .producttypes-filter { scrollbar-width: none;}
    .cartPreview > .card{max-height: calc(100vh - 180px); overflow-x: auto;}
}
@media (max-width: 992px) {
    .cartPreview {position: fixed; z-index: 5000; width: calc(100% - 70px); top: 100px; left: 100%; padding: 0;}
    .cartPreview.show {left:auto; right: 0;}
    .cartPreview:not(.noFix) .card-body {max-height: calc(100vh - 100px);       overflow-y: scroll;}
    .cartPreview.noFix {position: static; height: auto;z-index: 900;}
    .cartPreview.noFix #orderViewBtn {display:none;}
    .cartPreview.noFix .card-latch {display:none !important;}
    .card-latch {display:flex;}
    .cartPreview.show .card-latch .card-latch-close{display:block;}
    .cartPreview.show .card-latch  .card-latch-open{display:none;}

    .ingredientsListShowAll{display:block;}
    .ingredientsList:not(.showall) > * {display:none;}
    .ingredientsList:not(.showall) > *:nth-child(4), .ingredientsList > *:nth-child(1), .ingredientsList > *:nth-child(2),.ingredientsList > *:nth-child(3){display:block;}

    #foodmodal_removeIngredientsList.ingredientsList:not(.showall) > * {display:block;}
}
@media (max-width: 768px) {
    .ce-intext.ce-right .ce-gallery {float:none; margin: 0 0 15px 0;}
    .cartSection {display:none}

}
@media (max-width: 480px) {
    .productitem-cartbtn .btn {padding-left:8px; padding-right:8px;font-size:15px;}
}
/* Sonder Media Queries */
@media (max-width: 350px) {
    .option-text {        font-size: 0.7em;    }
}
@media (max-width: 340px) {
    .productitem-cartbtn .btn {padding-left: 5px;        font-size: 14px;        padding-right: 5px;    }
}
/* serachbar*/
.search-latch-open{
    position: fixed;
    top: 20%;
    right: 0;
    background: #fff;
    font-size: 26px;
    box-shadow: 0px 0px 8px 1px inset #999;
    padding: 5px 12px 5px 15px;
    border-radius: 50px 0 0 50px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 99999;

    right: -24px !important;
    font-size: 17px !important;
    padding: 11px 12px 5px 8px;
}
#search-container {
    display: flex;
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 99999;
    justify-content: center;
    align-items: center;
}
#search-container input {    width: 100%;
    background: transparent;
    border: none;
    }
.search-box {
    max-width: 1000px;
    width: 100%;
    display: flex;
    align-items: center;
    border: 1px solid #ccc; /* Rand */
    border-radius: 20px; /* Abgerundete Kanten */
    padding: 5px 15px; /* Innenabstand */
    background-color: #f9f9f9; /* Hintergrundfarbe */
}

.search-icon {
    font-size: 16px;
    color: orange; /* Farbe des Such-Icons */
    margin-right: 10px; /* Abstand zum Eingabefeld */
}

.search-input {
    border: none; /* Kein Rahmen */
    outline: none; /* Kein Fokus-Rahmen */
    flex-grow: 1; /* Nimmt den restlichen Platz ein */
    font-size: 14px; /* Schriftgröße */
    background-color: transparent; /* Kein Hintergrund */
}
#search-close{
    width: 32px;
    text-align: center;
    cursor: pointer;
}
#invoicecontainer{border: 1px solid #bfbfbf;    padding: 15px;    display: none;}
#invoicetrigger{display: none;}
/* Autocomplete */
#searchInput, #searchInputStreet {
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.emptyfield {border-color: red;}
#suggestions {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.suggestion {
    padding: 5px;
    cursor: pointer;
    background-color: #f2f2f2;
    border-bottom: 1px solid #ddd;
}

.suggestion:hover {
    background-color: #e0e0e0;
}
#locationModalErrorMsg {color: red; font-weight:bold; }
.color-red{color: red;}
.color-red-bold{color: red; font-weight:bold; }
/** Adjustment TYPO3 */
.ce-textpic.ce-intext img {width: 400px; height: auto; max-width: 100%;}