/* ===============================
   Allgemeine Styles für alle Seiten
   =============================== */

@font-face { font-family: plex; src: url(IBMPlexSans-Regular-Latin1.woff); }


.success { color: green; margin: 10px 0; }
.error { color: red; margin: 10px 0; }



/* Checkbox größer machen */
.consent-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 10px; /* Abstand zwischen Checkbox und Text */
    vertical-align: middle; /* vertikal mittig zum Text ausrichten */
}

/* Label so einstellen, dass Checkbox und Text in einer Linie sind */
.consent-label {
    display: flex;
    align-items: center; /* sorgt für vertikale Mitte */
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 15px;
}




body {
    font-family: plex, Arial, sans-serif;
    background: #ffffff;
    color: #333333;
	font-size: 1.0em;
	line-height: 1.5;
    margin: 0;
    padding: 0 0px;
	
	    scroll-snap-type: y mandatory; /* vertikales Snap */
    overflow-y: scroll;
	
}

a {
    text-decoration: none;
    color: #3498db;
}

a:hover {
    text-decoration: underline;
}

/* Container für Seiten */
.container, .product-container, .cart-container {
    width: 95%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 0 0px rgba(0,0,0,0.1);
}

.checkout-container {
    width: 50%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 0 0px rgba(0,0,0,0.1);
}



/* ===============================
   Produktübersicht (Indexseite)
   =============================== */
.index-products {
    width: 85%;
    max-width: 1200px;
    margin: 30px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start; /* <-- hier geändert */
    box-sizing: border-box;
}


.product {
    background: #fff;
    flex: 1 1 calc(25% - 15px); /* 4 pro Reihe */
    max-width: calc(25% - 15px);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 10px;
    object-fit: contain;
    margin-bottom: 15px;
}

h1, h2 {
    margin: 15px 0 10px;
}

.price {
    color: #222222;
    font-size: 1.2em;
    margin: 10px 0;
}

p.description {
    font-size: 0.9em;
    color: #555;
}

a.button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #111111;
    color: #fff;
    border-radius: 5px;
}

a.button:hover {
    background: #333;
}

/* ===============================
   Produktdetailseite
   =============================== */
.product-container {
    display: flex;
    flex-wrap: nowrap;
    padding: 30px;
}

.product-image {
    flex: 0 0 60%;
    margin-right: 2%;
    background: #fff;
    display: block;
}

.product-image img {
    max-width: 100%;       /* volle Breite des Containers */
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: contain;
    margin: 0 auto 20px 0;
}


.product-details {
    flex: 0 0 38%;
}

.product-details h1 {
    margin-top: 0;
}

.product-details p {
    line-height: 1.5em;
    margin-bottom: 15px;
}

.add-to-cart input[type=number] {
    width: 100px;
    padding: 10px;
    font-size: 1em;
}

.add-to-cart {
    padding: 6px 25px;

        background: #dddddd;
    color: #111111;
	


    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.0em;
    margin-left: 0px;
}

.add-to-cart:hover {
        background: #dddddd;
    color: #111111;
	
	    background: #999999;
    color: #ffffff;
}

a.back {
    display: inline-block;
    margin-top: 20px;
}

/* ===============================
   Checkout / Formulare
   =============================== */
.checkout-container h1 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    font-size: 2em;
}

.checkout-container h2 {
    margin-bottom: 15px;
    font-size: 1.5em;
    border-bottom: 2px solid #111111;
    padding-bottom: 5px;
}

.checkout-container table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.checkout-container table th,
.checkout-container table td {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    text-align: left;
}

.checkout-container table th {
    background: #f5f5f5;
}

form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

form input, form textarea, form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
    box-sizing: border-box;
}

.checkout-container button {
    width: 100%;
    background: #111111;
    color: #fff;
    padding: 15px;
    font-size: 1.3em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.checkout-container button:hover {
    background: #333;
}

.total-line {
    font-weight: bold;
    text-align: right;
}

/* ===============================
   Warenkorb (Cart) Seite
   =============================== */
.cart-container h1 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    font-size: 2em;
}

.cart-container table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cart-container table th,
.cart-container table td {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    text-align: left;
}

.cart-container table th {
    background: #f5f5f5;
}

.cart-buttons {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.cart-buttons a, .cart-buttons button {
    padding: 12px 25px;
    background: #111111;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    border: none;
    cursor: pointer;
}

.cart-buttons a:hover, .cart-buttons button:hover {
    background: #333;
}



/* ===============================
   Hero-Bereiche (Video + Bild)
   =============================== */

/* Grund-Hero */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    scroll-snap-align: start;
}

/* Video-Hero */
.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
    filter: brightness(1.05) contrast(1.05);
}

/* Overlay für alle Hero-Typen */
.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.65) 0%,  
        rgba(0, 0, 0, 0.25) 35%,  
        rgba(0, 0, 0, 0.05) 70%,  
        rgba(0, 0, 0, 0.0) 100%
    );
    z-index: 0;
}

/* Hero mit Hintergrundbild */
.hero.hero-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* HEADER mit Logo */
.hero-header {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hero-header .site-logo {
    width: 200px;
    height: auto;
}

/* HERO TEXT */
.hero-content {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 40px;
}

.cta-button {

  padding: 18px 70px;

    background: #ff7f50;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 1.3em;
    transition: 0.3s;
}

.cta-button:hover {
    background: #e0633b;
}

/* Abstände zwischen Hero-Bereichen */
.hero + .hero {
    margin-top: 0; /* kein zusätzlicher Abstand nötig */
}

/* ===============================
   Responsive Hero
   =============================== */
@media (max-width: 768px) {
    .hero-header .site-logo { width: 140px; }
    .hero-content {
        padding: 0 20px;
        max-width: 90%;
    }
    .hero-content h1 { font-size: 2em; }
    .hero-content p { font-size: 1em; margin-bottom: 20px; }
    .cta-button {
        display: inline-block;
        width: 100%;
        text-align: center;
        padding: 15px 40px; /* etwas mehr Platz rechts/links auf Mobil */

        font-size: 1.2em;
        box-sizing: border-box;
    }
}

/* ===============================
   Scroll Snap & Content-Bereich
   =============================== */


/* Scroll Snap nur für Hero-Bereiche */
/* Scroll Snap auf Body anwenden, nicht auf Wrapper */
html {
    scroll-behavior: smooth;
}


body {
    font-family: plex, Arial, sans-serif;
    background: #ffffff;
    color: #333333;
    font-size: 1.0em;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    overflow-y: auto; /* Body scrollt normal */
}




.hero {
    height: 100vh;
    scroll-snap-align: start;
}

/* Normale Sektionen danach */
.section.content {
    scroll-snap-align: none;
    height: auto;               /* passt sich automatisch an den Inhalt an */
    min-height: 0;              /* kein Mindestabstand erzwingen */
    padding: 60px 20px 80px;    /* oben/unten etwas angenehmerer Abstand */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}




.hero-wrapper {
    scroll-snap-type: y mandatory; /* Snap nur für Kinder */
    height: 100vh;                 /* Höhe für 1 Viewport */
    overflow-y: auto;              /* Scrollen innerhalb Wrapper */
}















.site-footer {
    background: #333;
    color: #fff;
    padding: 25px 0;
    font-size: 0.9em;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
    margin-right: 15px;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Footer-Container: 3 Spalten, oben ausgerichtet */
.footer-container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Oben ausrichten */
    flex-wrap: wrap;
}

/* Links links, Kontakt rechts, Instagram mittig */
.footer-left,
.footer-center,
.footer-right {
    flex: 1;
}

/* Links links */
.footer-left {
    text-align: left;
}

/* Instagram mittig */
.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Rechts rechtsbündig */
.footer-right {
    text-align: right;
}

/* Mobil: Spalten untereinander */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left {
        order: 1;
        margin-bottom: 15px;
    }

    .footer-left p,
    .footer-left a {
        text-align: center;
        display: block;
        margin: 5px 0;
    }

    .footer-center {
        order: 2;
        margin-bottom: 15px;
    }

    .footer-center p,
    .footer-center a {
        text-align: center;
        display: block;
        margin: 5px 0;
    }

    .footer-right {
        order: 3;
    }

    .footer-right p,
    .footer-right a {
        text-align: center;
        display: block;
        margin: 5px 0;
    }

    .footer-center img {
        width: 60px;
        height: auto;
    }
}
/* Wrapper passend zur Breite des Bild-Containers */
.product-extra-video-wrapper {
    width: 100%;           /* immer volle Breite des Containers */
    max-width: 100%;       /* nie breiter als Container */
    padding-top: 100%;     /* Quadrat-Aspect-Ratio trick */
    position: relative;    /* für absolutes Video */
    overflow: hidden;
    border-radius: 10px;
    margin-top: 20px;
}

.product-extra-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;    /* bleibt quadratisch und proportional */
    display: block;
    border-radius: 10px;
}























/* ===============================
   Responsive Design
   =============================== */
@media (max-width: 768px) {
    .container, .product-container, .checkout-container, .cart-container {
        width: 93%;
        margin: 20px auto;
        padding: 20px;
    }

    .index-products {
        width: 93%;
        flex-direction: column;
        gap: 20px;
    }
    .product {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .product-container {
        flex-direction: column;
    }
    .product-image, .product-details {
        flex: 1 1 100%;
        margin: 0 0 20px 0;
    }
    .product-image img {
        max-width: 100%;
        margin: 0 auto;
    }

    .product-details h1 {
        font-size: 2em;
    }
    .product-details p {
        font-size: 1.1em;
    }
    .price {
        font-size: 1em;
    }
    .add-cart input[type=number] {
        width: 80px;
        padding: 10px;
        font-size: 1.1em;
    }
    .add-cart button {
        width: 100%;
        font-size: 1.5em;
        margin-left: 0;
        padding: 15px 0;
    }
    a.back {
        font-size: 1.1em;
    }

    form input, form textarea, form select {
        font-size: 1.2em;
    }
    .checkout-container button {
        font-size: 1.5em;
        padding: 18px;
    }

    .cart-buttons a, .cart-buttons button {
        width: 100%;
        text-align: center;
        font-size: 1.0em;
    }
}















/* ===============================
   Header / Logo
   =============================== */
.site-header {
    width: 100%;
    background: #fff; /* Weißer Hintergrund */
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 0px 0px rgba(0,0,0,0.1);
    margin-bottom: 30px; /* Abstand zum Content */
}

.logo-container {
    display: inline-block; /* Zentriert durch text-align:center des Headers */
}

.site-logo {
    width: 150px; /* Standard Desktop-Größe */
    height: auto;
}


.notify-button {
    font-size: 1.0em;
    padding: 10px 16px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.notify-button:hover {
    background-color: #333333;
    color: white;
}























/* ===============================
   Responsive für Mobil
   =============================== */
@media (max-width: 768px) {
    .site-logo {
        width: 100px; /* Kleinere Größe auf Mobilgeräten */
    }
}



/* Zusätzliche Styles für die Produktbilder untereinander */
.product-image {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
}




/* Burger-Menü-Icon */
.burger-menu {
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 1000; /* bleibt über allem */
}

.burger-link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;     /* Standardgröße */
    height: 22px;
    text-decoration: none;
}

.burger-link span {
    display: block;
    height: 4px;
    background-color: #000; /* schwarze Balken */
    border-radius: 2px;
    transition: background 0.3s ease;
}

/* Skalierbar für Mobile */
@media (max-width: 768px) {
    .burger-link {
        width: 24px;
        height: 18px;
    }
    .burger-link span {
        height: 3px;
    }
}




/* Menü-Leiste */
.site-menu {
  background: #f2f2f2; /* hellgrau */
  padding: 0.5rem 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

/* Liste nebeneinander */
.site-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* bei kleineren Screens umbrechen */
}

/* Tabs */
.site-menu li {
  margin: 0 0.5rem;
}

/* Links im Tab */
.site-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Hover / Active Effekt */
.site-menu a:hover,
.site-menu a:focus {
  background: #000;
  color: #fff;
}

/* Mobile: Tabs breiter */
@media (max-width: 768px) {
  .site-menu ul {
    flex-direction: column;
    align-items: center;
  }

  .site-menu li {
    margin: 0.25rem 0;
  }

  .site-menu a {
    width: 90%;
    text-align: center;
    font-size: 1.1rem;
  }
}



.cart-icon {
    position: fixed;
    top: 60px;
    right: 20px;
    width: 45px;
    height: 45px;
    display: inline-block;
    cursor: pointer;
    z-index: 9999;
    color: black; /* schwarz/weiss je nach Theme */
}

.cart-icon svg {
    width: 100%;
    height: 100%;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: #fff;
    font-size: 0.8em;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
}


/* SVG-Größe anpassen */
.cart-icon svg {
  display: block;
}



/* Formulare mit voller Breite */
.full-width-form {
    width: 100%;
    margin: 0; /* optional, um Abstände zu entfernen */
}

.full-width-form button {
    width: 100%;
    display: block;
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 12px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

/* Optional: Abstand zu anderen Buttons */
.cart-buttons a,
.full-width-form {
    margin-bottom: 10px;
}



.back-link {
    text-decoration: none;
    color: #3498db;
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-block;
}

.back-link:hover
  { 
    color: #222;
    text-decoration: underline;
}


.notify-button {
    font-size: 1.0em;
    padding: 10px 16px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.notify-button:hover {
    background-color: #333333;
    color: white;
}


.index-products-wrapper {
    width: 85%;
    max-width: 1200px;
    margin: 30px auto;
}

.category-title {
    text-align: left;
    font-size: 2em;
    margin-bottom: 20px;
    color: #222;
    font-weight: bold;
}



/* Checkout Fix */
.checkout-container {
    width: 90%;
    max-width: 900px;
    margin: 60px auto; /* Abstand oben */
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative; /* sicher über Hero */
    z-index: 100;
}

.checkout-container table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.checkout-container th, .checkout-container td {
    padding: 12px;
    border: 1px solid #ccc;
    text-align: left;
}

.checkout-container th {
    background: #f5f5f5;
}

.back-link {
    display: inline-block;
    padding: 12px 25px;
    background: #3498db;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.back-link:hover {
    background: #222;
    color: #fff;
}

/* Body fix für Checkout */
body {
    overflow-y: auto !important; /* hero-scroll-snap überschreiben */
}

/* Alle Hero-Effekte für diese Seite deaktivieren */
body.checkout-page .hero,
body.checkout-page .hero-wrapper {
    display: none !important;
    height: auto !important;
}




