/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.12,
* Autoprefixer: v10.4.4
* Browsers: last 4 version
*/

a{text-decoration: none;}
ul{list-style-type: none;}


:root{
    --BGtrans:rgba(255, 255, 255, 0.8);
    --BGheader:rgba(250, 235, 215, 0);
    --BGfull:rgba(253, 253, 250, 0.8);
    --BGform:rgba(172, 4, 4, 0.8);
    --BGnav:antiquewhite;

    --headercolor:#ac0404;
    --headerschrift:#e73b1d;
    --navcolor:#cc1e3f;
    --fontcolor:#110103;

    --BGcolorHover:var(--fontcolor);
    --fontcolorHover:var(--BGcolorFull);

    --font:'Calibri',Arial, Helvetica, sans-serif;
    --fontsize:14px;

	--headersize:56px;

    --h1size:36px;
    --h1margin:20px 0 15px 0;
    --h1font:Birthstone; 
    --h1color:var(--headercolor);
    
    --h2size:24px;
    --h2margin:20px 0;
    --h2color:var(--headercolor);
    
    --h3size:14px;
    --h3margin:10px 0;
    
    --zitatfont:Birthstone;
    --zitatsize:44px;
    
    


    
    --seitenBG:rgba(245, 217, 62, 0.8);
    --seitenBGfull:rgba(241, 228, 213,1);
    --footerBG:rgba(245, 217, 62, 0.8);

    --marSeite: 10px 5% 0px 5%;
  
    /* Header  */
    --logoPadding: 20px;
    --headerHeight:150px;
    --headerColor:var(--headercolor);
    --headerLink:#000;


    /* Bilder */
    --imgMargin:30px;


    /* Footer  */
    --footerPadding:20px;
    --footerLink:black;
    --footerHover:#fff;

    /* Spalten */
    --mar-l:5px;
    --mar-r:5px;
    --pad-l:5px;
    --pad-r:5px;
    --border:0px;
}

/* * {
    outline: solid 1px hsl(105deg 86% 27% / 50%);
} */

html{
    background:var(--seitenBG); 
    background-image: url(../img/BG-feuer.jpg);  
    background-size: cover;
    background-repeat: no-repeat; 
    background-attachment: fixed;
    background-position:center center;
    
}
body{
    font-family:var(--font);
    color:var(--fontcolor);
    font-size:var(--fontsize);
    line-height: 150%;
 
}

.oben{
    position:relative;
    margin: auto;
    max-width:1000px;
}
.wrapper{
    position:relative;
    margin: auto;
    background:var(--BGtrans);
    max-width:1000px;
}

/* header  */
header{
    /* border-bottom: 5px solid var(--headerColor); */
    display:flex;
    color:var(--headerColor);
}
.BGheader{
    text-align: right;
} 

.logo{
    margin:10px;
}
.bildAnpassen{
    width: 100%;
    height: auto;
}
.titel h1{
    text-align: center;
}


/* navigation oben  */
#tabs ul{
    border-bottom: 1px solid var(--navcolor);
    
}
#tabs li{
     /* min-width: 75px; */
     text-align: center;
     margin: 0px 5px;
}
#tabs li a{
    font-size: 12px;
    color:var(--headercolor);
    font-weight: bold;
}
#tabs li a:hover,
#tabs li a:active{
    text-decoration: underline;
}
#tabs .active{
    text-decoration: underline;
}


.headerschrift {
    font-size: var(--headersize);
    margin: var(--h1margin);
    text-align: center;
    font-family:var(--h1font) ;
    min-width: 300px;
    line-height: 150%;
    color: var(--headerschrift);  
}

h1 {
    font-size: var(--h1size);
    margin: var(--h1margin);
    text-align: center;
    font-family:var(--h1font) ;
    min-width: 300px;
    line-height: 150%;
    color: var(--headercolor);  
}


h2{
    font-size: var(--h2size);
    font-family:var(--h1font) ;
    margin: var(--h2margin);
    color: var(--h2color);
}

.h2zitat{
    font-size: var(--zitatsize);
    font-family:var(--zitatfont) ;
    text-align: center;
    margin: var(--h2margin);
    color: var(--h2color);
    margin-bottom: 30pt;
}

.h1intern{
    font-size: 92px;
}
.h2intern{
    font-size: 16px;
    text-align: right;
    /* font-family: var(--h1font); */
}


.topnav a {
    float: left;
    color: var(--headerschrift);
    text-align: center;
    padding: 8px 12px 6px 12px; 
    margin-right: 2px;
    margin-bottom: -3px;
    text-decoration: none;
    font-size: 14px;
    border:2px solid var(--headercolor);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: var(--BGfull);
  }
  
  /* Change the color of links on hover */
  .topnav a:hover {
    background-color:var(--headerschrift);
    color: var(--BGfull);
  }
  
  /* Add a color to the active/current link */
  .topnav a.active {
    background-color: var(--headerschrift);
    color: var(--BGfull);
  }
  /* navMain  */

.linie{
    margin-top: 1px;
    border-bottom: 2px solid var(--h1color);
}



nav ul{
    padding:0;
    margin-bottom:0;
    margin-left: 30px;
}




a{
    color:var(--headercolor);
    font-weight: normal;
}

.tabelle {
    width: 100%;
    /* border-collapse: collapse; */
    table-layout: fixed;   /* wichtig für feste Breiten */
}

.tabelle th,
.tabelle td {
    /* border: 1px solid #333; */
    padding: 4px 8px;
}

/* 1. Spalte: 40%, 2. Spalte: 20%, 3. Spalte: 40% */
.tabelle th:nth-child(1),
.tabelle td:nth-child(1) { width: 40%; }

.tabelle th:nth-child(2),
.tabelle td:nth-child(2) { width: 20%; }

.tabelle th:nth-child(3),
.tabelle td:nth-child(3) { width: 40%; }

.mittig{
    text-align: center;      /* horizontal zentrieren */
    vertical-align: middle;  /* vertikal zentrieren */
}

.rahmen-box {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* links – Bild – rechts */
    gap: 2rem;
    align-items: center;                  /* Bild mittig zur Text-Höhe */
    max-width: 1200px;
    margin: 0 auto;
}

.rahmen-box .spalte {
    font-family: var(--font);
    font-size: var(--fontsize);
    text-align: justify;
}

.rahmen-box .titel {
    font-family: var(--h1font);
    color: var(--headercolor);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.rahmen-box .mitte img {
    display: block;
    max-width: 220px;   /* Bildgröße anpassen */
    height: auto;
    margin: 0 auto;
}

.text-um-bild {
    max-width: 1000px;
    margin: 0 auto;
    font-family: var(--font);
    font-size: var(--fontsize);
    text-align: justify;
}

/* Bild, um das der Text „herumfließt“ */
.bild-rund {
    float: left;                    /* Bild links, Text fließt rechts herum */
    width: 220px;
    height: 220px;
    border-radius: 50%;             /* rundes Bild */
    margin: 0 2rem 1rem 0;          /* Abstand zum Text */
    shape-outside: circle(50%);
    -webkit-shape-outside: circle(50%); /* für Chrome/Safari */
    object-fit: cover;              /* Bild füllt den Kreis */
    display: block;
}


.margin5{
    margin:0, auto;
    padding: 20px;
}





#content{
    margin:50px 5% 0px 5%;
    padding-bottom: 20px;
}
.artikelH{
    margin-left:30%;
    margin-bottom: 20px;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
.herstellerLogos2,
.herstellerLogos3{
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-bottom: 20px;
}
.herstellerLogos2{
    margin-left: 41.5%;
    width:37%;
}
.herstellerLogos3{
    margin-left: 30%;
    width:65%;
}
.herstellerLogos{
    margin-left: 30%;
}
.herstellerLogos img{
    min-width:100px;
    margin:20px;
}


.hersteller img{
    max-height: 100px;
    width:auto;
}
.saeco{margin-top:30px ;}

.rot{
    color:var(--navcolor);
    font-weight:bold;
}


.libohne li{
    margin-bottom: 5px;
}

.zeile100{
    width:100%;
}

.zeile1{
    width:80%;
}
.zeile2{
    width:60%;
    margin-left: 30%;
}
.zeile2 img{margin-top: -30px;}
.zeile3{
    width:68%;
    margin:40px 0px 20px 30%;
}
.aboutArtikel1{
    width:80%;
    margin-top: 30px;     
}


.artikelwiki1{
    width:85%;
}



.artikelwiki2{
    width:100%;
    margin-top: 50px;
}
.artikelwiki2 img{margin-left:30px;}
.wiki2abstand{margin-left: 20%;}


.artikelwiki3{
    width:70%;
    margin-left: 30%;
    margin-top: 0px;
}
.artikelwiki3 img{margin-right:30px;}


.schatten{
    -webkit-box-shadow: 10px 20px 15px rgb(100, 97, 97);
            box-shadow: 10px 20px 15px rgb(100, 97, 97);
    border-radius: 20px;
    margin-right: 30px;
}
.artikelwiki2 .schatten {margin-right: 0px;}
.wikiMarginT{margin-top: 50px;}


.marginR{
    margin-right: var(--imgMargin);
}
.marginL{
    margin-left: var(--imgMargin);
}
.padding-20{
    padding:20px;
}
.vertical10{
    margin-top: 10px;
}
.abstand30{
    margin-left: 30px;
}
.abstand50{
    margin-left: 50px;
}
.abstand100{
    margin-left: 100px;
}

.posAbout2{width:100%;}
.posBildAbout1{
    width:40%;
    margin:10px 5px 0px 50px;
    border:2px solid var(--navcolor);
    border-radius: 5px;
}

.hasenlady{
    position:absolute;
    left:0;
    bottom:0;
    margin: 0;
    opacity: 0.7;
    width:30%;
    border:0;
}
.hasenlady img{
    display:block;
    width:100%
}
.feuerwehrmann{
    position:absolute;
    left:60px;
    bottom:20px;
    margin: 0;
    opacity: 0.7;
    width:20%;
    border:0;
}
.feuerwehrmann img{
    display:block;
    /*width:80%*/
}

/* ------------------------------------------ */
/* Footer  */
/* ------------------------------------------ */

footer{
    border:5px solid var(--headercolor);
    border-radius: 10px;
    background: var(--BGnav);
    text-align: left;
    margin-left: 10px;
    margin-right:10px;
    margin-top:30px;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
}
footer {
    --pad-l:10px;
    --pad-r:15px;
    --mar-l:10px;
    --mar-r:5px;
}
.footertext{
    padding: 0 10px;
    font-size: 12px;
}
footer ul{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -ms-flex-wrap:wrap;
        flex-wrap:wrap;
    
}
footer li{
    padding:10px;
}
 
/*footer a{
    color: var(--footerBG);
    background:var(--footerBG);
}

footer a:hover{
    background: var(--footerBG);
    color:var(--footerBG);
}*/

.footerL{ 
    width:70%;
    color: var(--NavBG);

}
.footerR{
    width:30%;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
}*/
address{
    font-style: normal;
}

.lieferbed,
.urheber,
.quellen{
    margin-left: 30%;
} 
.quellen li{list-style-type: disc;}

/*================================= */
/* Buttons bei der Datenerfassung */
/*================================= */

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:flex-start;   /* <- gleiche Oberkante */
}
/* form darf NICHT wie ein Button aussehen */
.actions form{
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  display:contents;   /* form erzeugt keine eigene Box -> Button steht auf gleicher Linie */
}

/* einheitliche Button-Optik */
.actions .btn{
  height:46px;
  padding:0 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #888;
  background:#ff7f2a;
  color:#000;
  text-decoration:none;
  font:inherit;
  line-height:1;
  box-sizing:border-box;
  cursor:pointer;
}

.actions button.btn{
  appearance:none;
  -webkit-appearance:none;
  border-radius:0;
}
/* Button-Defaults killen */
.actions button.btn{
  -webkit-appearance: none;
  appearance: none;
  background: #ff7f2a;
  border-radius: 0;
}

/*================================= */
/* Buttons Auswahl Intern*/
/*================================= */

/* Intern-Menü Buttons untereinander (Desktop/Standard) */
#content .menu{
  display:flex;
  flex-direction:column;
  gap:12px;
  max-width:260px;
}

#content .menu .menu-btn{
  display:flex;
  height:46px;
  align-items:center;
  justify-content:center;

  padding:0 16px;
  border:1px solid #888;
  background:var(--headerschrift);
  color:#000;
  text-decoration:none;

  box-sizing:border-box;
  font:inherit;
  line-height:1;
}

#content .menu .btn-left{
  display:flex;
  height:46px;
  justify-content:flex-start;  /* <-- links */
  align-items:center;          /* <-- vertikal mittig */

  padding:0 16px;
  border:1px solid #888;
  background:var(--headerschrift);
  color:#000;
  text-decoration:none;

  box-sizing:border-box;
  font:inherit;
  line-height:1;
}

/*================================= */
/* Spaltendefinitionen              */
/*================================= */


#content.impressum{
    width:100%;
    margin-left: 30%;
    --pad-l:20px;
    --pad-r:20px;
    --mar-l:10%;
    --mar-r:10%;
}
.col-100 {width: calc(100% - var(--mar-l) - var(--mar-r)  - var(--pad-l) - var(--pad-r));}
.col-70 {width: calc(70% - var(--mar-l) - var(--mar-r)  - var(--pad-l) - var(--pad-r));}
.col-60 {width: calc(60% - var(--mar-l) - var(--mar-r)  - var(--pad-l) - var(--pad-r));}
.col-50 {width: calc(50% - var(--mar-l) - var(--mar-r)  - var(--pad-l) - var(--pad-r));}
.col-40 {width: calc(40% - var(--mar-l) - var(--mar-r)  - var(--pad-l) - var(--pad-r));}
.col-30 {width: calc(30% - var(--mar-l) - var(--mar-r)  - var(--pad-l) - var(--pad-r));}

.col-66{ width: calc(100% / 3 * 2 - var(--mar-l) - var(--mar-r)  - var(--pad-l) - var(--pad-r));}
.col-33 {width: calc(100% / 3 - var(--mar-l) - var(--mar-r)  - var(--pad-l) - var(--pad-r) - 2 * var(--border));}

.col-25{ width: calc(25% - var(--mar-l) - var(--mar-r)  - var(--pad-l) - var(--pad-r));}
.col-75{ width: calc(75% - var(--mar-l) - var(--mar-r)  - var(--pad-l) - var(--pad-r));}


.gestaltung img{
    width:80%;
}


.borderR{
    padding-right: 10px;
    margin-right: 10px;
    border-right: 1px solid var(--fontcolor);
    
}



/* ----------------- */
/* Kontaktformular    */
/* ------------------- */

.formular{
    padding:5px;
    width:100%;
}
.formular label{display:block;}

.kontaktForm{
    margin: 10px;
    border:2px solid var(--navcolor);
    border-radius: 5px;
    padding:5px;
}
.kontaktMarginT{ margin-top:40px ;}
.kontaktMarginR{margin-right: 50px;}

.button{
    border:2px solid var(--navcolor);
    border-radius: 5px;
}

.formularText,
#textfeld{
    width:calc(100% - 15px);
    
}

.kontakt label span{
    display: block;  
    margin: 5px;
    line-height: 150%;
}


/* ----------------- */
/* Intern    */
/* ------------------- */

#deleteUser{
    background-color: var(--h1color);
    color: var(--BGfull);
}

#login{
    width: 400px;
    margin: auto;
}
#anmeldung{
    padding:20px;
    background-color: var(--BGtrans);
}
.gruss{
    font-family:var(--h1font) ;
    font-size: 42px;
    letter-spacing: 5px;
    text-align: center;
    padding:20px;
    color: var(--h2color);
    text-shadow: 2px 2px black;
}

.benutzer table,
.benutzer th,
.benutzer td{
    background-color: var(--BGfull);
    border:2px solid var(--h1color);
    /* border-collapse: separate; */
}
.benutzer th{
    background-color: var(--h1color);
    border:2px solid var(--h1color);
    color:var(--BGfull);
    /* border-collapse: separate; */
}

.benutzertabelle{
    margin:30px;
    padding-bottom: 30px;
    background-color: var(--BGfull);
}
.benutzertabelle td,
.benutzertabelle th{
    border:2px solid var(--h1color);
    padding:5px;
}
.benutzertabelle thead{
    border:2px solid var(--h1color);
    background-color: var(--h1color);
    color:var(--BGfull);
    padding:5px;
}
.usertab{
    margin: 30px;
    padding: 30px;
}

#jsonUser{
    display:none;
}
.error {
	color: #dc3545;
	padding: 5px;
	display: inline-block;
}

.borderUser {
	border: solid 1px #dc3545 !important;
}


/* ----------------------- */
/* Benutzerverwaltung      */
/* ----------------------- */

.derfdesdes{
    border: 2px solid var(--h1color);
    width:200px;
    margin:10px 0;
}
.eins{
    color:seagreen !important;
}
.out{
    color:steelblue !important;
}
.headerIntern{
    border-bottom: 2px solid var(--h1color);
    margin-bottom: 20px;
}


/* ----------------------- */
/* Bestückung      */
/* ----------------------- */

/* .formProd{
    margin:5px 0 5px 0px;
} */


/* .kdadr,
.automat,
.prodbez{
    background-color: var(--BGfull);
    border-radius: 10px;
    margin-left:80px;
    padding:5px;
} */


.formMenge,
.formProd,
.formAuto,
.formKunde{
    background-color: var(--BGfull);
    border-radius: 10px;
    padding:5px;
}
.formProd,
.formKunde{
    margin-left:40px;
}
.formMenge,
.formProd{
    margin-top: 20px;
}
.formAuto,
.formMenge{
    margin-left:20px;
    margin-right:20px;
}
.formMenge{
    margin-left:30px;
}


.anzBest{
    margin:20px auto;
    background-color: var(--BGfull);
}
.anzBest td{
    padding:4px;
}
.anzBest input[type="number"]{
    width:60px;
}
.errMenge{
    color: var(--h1color);
    font-weight: bold;
}

/* -----------------------------------------
            Nestle-Seite
------------------------------------------ */
.nestle{
    width:calc(90%);
    margin: 10px 5%;
}
.nestle,
.miko [alt="Nestle Logo"]{margin-right: 10px;}

.produkte{
    margin:5px;
    padding:5px;
    min-width:250px;
    border:2px solid var(--navcolor);
    --pad-l:5px;
    --pad-r:5px;
    --mar-l:5px;
    --mar-r:5px;
    --border:2px;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

.produkte img{
    width: 150px;
    margin:10px;
}

.lastrow,
.lastrow1,
.lastrow2{
    margin-left: calc(100% / 3 + var(--mar-r) );
    
}

/* -------------------------------- */
/*            Miko                  */
/* -------------------------------- */

.miko .logo img{margin:0px 10px 0 0}
.miko .produkte img {width:90%;}
.miko .produkte li{list-style-type: disc;}



.width100{width:100%;}

/* flex und float  */
.flex{
    display:flex;
    flex-wrap:wrap;
}
.justify-content{width:100%; -ms-flex-pack: distribute; justify-content: space-around;}
.justify-space-between{width:100%; -ms-flex-pack: distribute; justify-content: space-around;}
.space-between{justify-content: space-between;}
.space-around{justify-content: space-around;}
.directionC{-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;}
.flex-end{justify-content: flex-end;}

.floatL{
    float:left;
  }
.floatR{
    float:right;
}

.clearfix:after{
    content:"";
    display: table;    /* damit kein Platz gebraucht wird */
    clear:both;
}