/*Einbinden der Fonts im Format woff2*/
@font-face {
    font-family: 'Libre Baskerville';
    src: url('../fonts/LibreBaskerville-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Libre Baskerville regular';
    src: url('../fonts/LibreBaskerville-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('../fonts/NotoSans-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans regular';
    src: url('../fonts/NotoSans-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/**Normalize***/
/* *{
    margin: 0;
    padding: 0;
} */

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}
#back-to-top {
    position: fixed; /* Bleibt immer sichtbar */
    bottom: 20px; /* Abstand vom unteren Rand */
    right: 20px; /* Abstand vom rechten Rand */
    background-color: #258545; /* Blaues Design */
    color: white; /* Textfarbe */
    border: none; /* Kein Rand */
    border-radius: 50%; /* Runde Form */
    width: 50px; /* Breite des Buttons */
    height: 50px; /* Höhe des Buttons */
    font-size: 24px; /* Größe des Pfeils */
    display: none; /* Standardmäßig unsichtbar */
    justify-content: center; /* Zentrierung */
    align-items: center; /* Zentrierung */
    cursor: pointer; /* Zeigt Klickbarkeit an */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
}

#back-to-top:hover {
    background-color: #175429; /* Dunkler bei Hover */
}
body,
figure,
ul,
li {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
}


/*Allgemeines Layout*/
body {
	font-family: 'Noto Sans regular';
	font-size: 1.25rem;
	color: #434242;
}

#page {
    max-width: 1280px;
    margin: auto;
}

a {
	color: #ba4529;
}

a:hover {
    opacity: 0.7;
}

p {
    line-height: 1.4;
    padding: 0.5rem;
    hyphens: auto;
}

nav li {
    list-style: none;
    /*horizontal*/
    display: inline;
    padding: 1em 1em 1em 0;
}

nav li a {
    text-decoration: none;
    color: #004d3d;
    font-size: 1.5rem;
}

header.siteheader {
    background-image: url("../img/wwholesale.jpg");
    height: 80vh;
    background-size: 100%;
    background-repeat: no-repeat;
}

header.siteheader div.grid {
    display: grid;
    grid-template-columns: 30% 1fr;
    align-items: center;
    justify-items: center;
    padding: 1rem;
}

.balken {
    background-color: rgba(248, 243, 234, 0.7);
}

header.siteheader div.position {
    margin-top: 25vh;
}


h1 {
    padding: 2rem 0 0 17rem;
    font-family: 'Libre Baskerville regular';
}

.balken h2 {
    margin: 0;
    width: 100%;
    padding: 0 0 3rem 17rem;
    font-family: 'Libre Baskerville regular';
}

footer.balken {
    padding: 1.5em 0px;
    margin-top: 5rem;
    text-align: center;
}

header.siteheader p {
    padding-top: 2rem;

}

/*Keine <br>, außer Formular, Kontaktzeile
Keine Angaben in Pixel, außer unsere page und border*/
.section-absatz {
    display: none;
}

.header-absatz {
    display: block;
}
#home{
    padding-top: 5rem;
}
#home article,
header p {
    width: 60%;
    margin: auto;
    margin-top:4rem ;
}

#neu header,
#alvarez header,
#kontakt header {
    background-color: rgba(248, 243, 234, 0.9);
    padding: 1.5em 0;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

h2 {
    width: 60%;
    margin: auto;
    color: #004d3d;
    padding: 0 0.5rem;
    font-family: 'Libre Baskerville regular';
}

h3 {
    padding: 0 0.5rem;
    font-family: 'Libre Baskerville regular';
}

#neu article,
#alvarez article {
    width: 60%;
    margin: auto;
}


/*Neuheiten*/
.grid-neuheiten {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.posrechts {
    grid-column: 2/3;
}

.poslinks1 {
    grid-row: 2/3;
}

.poslinks2 {
    grid-row: 4/5;
}


/*Formaular*/
section#kontakt form {
    padding-top: 1rem;
    width: 60%;
    margin: auto;
}

/*label zum Blockelement*/
textarea {
    width: 100%; /* Passt die Breite an das übergeordnete Element an */
    min-height: 150px; /* Mindesthöhe für das Textfeld */
    padding: 10px; /* Innenabstand für besseren Lesekomfort */
    font-size: 16px; /* Angemessene Schriftgröße */
    border: 1px solid #ccc; /* Standardrahmen */
    border-radius: 5px; /* Abgerundete Ecken */
    resize: none; /* Verhindert die Größenänderung durch Benutzer */
}
article.divgrid label {
    display: block;
    margin-bottom: 0.5em;
}

input#anzahl {
    height: 2rem;
    font-size: 1rem;
    width: 8%;
}

input[type="checkbox"] {
    transform: scale(1.5);
    margin-right: 0.5rem;
}

article.divgrid input {
    width: 100%;
    height: 2rem;
    font-size: 1rem;
}

article.divgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    width: 90%;
}

button {
	padding: 1rem;
	font-size: 1rem;
	background-color: #004d3d;
	border: none;
	color: white;
}

/*Hamburgermenü*/
/*ab hier notwendig für Burger Menü*/
.burgermenue {
    display: none;
    /*ausblenden*/
}


/*Carosell*/
.ug-button-tile-navigation.ug-button-tile-play.ug-pause-icon {
	display: none;
}


/*Mediaqueries*/
/*ca. 1024 Pixel Tablet*/

@media(max-width:64em) {
    header.siteheader {
        height: 75vh;
    }

    header.siteheader div.position {
        margin-top: 15vh;
    }
    #home article,
    header p,
    #neu article,
    #alvarez article,
    section#kontakt form {
        width: 80%;
    }
    
}

/*ca. 900 Pixel Tablet*/
@media(max-width:56em) {

    /*Hamburger Menü*/
    .burgermenue {
        position: absolute;
        top: 1em;
        right: 1em;
        display: block;
        /*einblenden*/
        cursor: pointer;
    }

    .animation {
        transition: height 1s ease-in-out;
        height: 0;
        overflow: hidden;

    }

    .slowdown {
        height: 15em;
        
    }

    .siteheader nav {
        background-color: #ffffff;
       
    }

    .siteheader nav li {
        display: block;
        padding: 1em 1em 1em 0;
        margin: 0 1rem;
    }

    .siteheader nav a {
        color: #004d3d;
    }

    .balken {

        position: relative;
    }

    .header-absatz {
        display: none;
    }

    .section-absatz {
        display: block;
    }

    header.siteheader div.position {
        margin-top: 10vh;
    }

    header.siteheader {
        height: 65vh;
    }
}

/*ca. 768 Pixel Tablet*/
@media(max-width:48em) {
    header.siteheader div.grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    header.siteheader {
        height: 55vh;
    }

    header.siteheader div.position {
        margin-top: 0;
    }

    h1 {
        padding: 1rem;
        text-align: center;
        margin: 0;
    }

    .balken h2 {
        padding: 1rem;
        text-align: center;
    }

    header.siteheader p {
        padding-top: 0;
    }

    .grid-neuheiten {
        display: block;
    }

    article.divgrid {
        display: block;
    }

    .balken {
        background-color: rgba(248, 243, 234, 0.8);
    }
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.4rem;
    }
    #home article{
        padding-top: 5em;
    }

    #home article,
    header p,
    #neu article,
    #alvarez article {
        width: 100%;
    }

}
/*ca. 450 Pixel Smartphone*/
@media(max-width:28em) {
    header.siteheader {
        height: 40vh;
    }
    form p{
            padding: 0;
    }
    h2 {
        width: 100%;
        text-align: center;
    }
    #home article{
        padding-top: 5em;
    }
}