@import "css/bootstrap.min.css";
@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css";

:root {
    --primary: #ff7a00;
    --bg-light: #ffffff;
    --text-dark: #000;
    --text-muted: #555;
    --bg-soft: #f8f9fa;
    --bg-dark: #262626;
}

a {
    color: #ff7a00;
    text-decoration: none;
    transition: 0.5s;
}

a:hover,
a:active,
a:focus {
    color: #535353;
    outline: none;
    text-decoration: none;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
}

.navbar {
    background: rgba(255, 255, 255, 0.75); /* halbtransparentes Weiß */
    color: #111;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);

}

.navbar.scrolled {
    background-color: var(--bg-light) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
    color: #111 !important;
    font-weight: 500;
    margin: 0 0.75rem;
}

.navbar .nav-link.active {
    color: var(--primary);
    position: relative;
}

.navbar .nav-link.active::before {
    content: "\2013";
    position: absolute;
    left: -1.25rem;
    color: var(--primary);
}

.navbar-brand img {
    height: 60px;
}

.icon-btn {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    padding: 8px 10px;
    margin-left: 10px;
    border: none;
    color: #111;
}

.dropdown-menu {
    background-color: var(--bg-light);
    border: none;
    padding: 0.5rem 0;
    min-width: 200px;
    margin-top: 0.75rem;
    border-top: 2px solid var(--primary);
}

.dropdown-menu .dropdown-item {
    color: var(--text-dark);
    padding: 0.5rem 1.25rem;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item.active {
    background-color: transparent;
    color: var(--primary);
}

.hero {
    position: relative;
    background: url('img/hero.jpg') no-repeat center center;
    background-size: cover;
    min-height: 60vh;
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-small {
    min-height: 30vh; /* deutlich kleiner als 60vh */
    background: url('img/hero.jpg') no-repeat center center;
    background-size: cover;
    padding-top: 5%;
}

/* Optional: Wenn du das gleiche Bild wie auf der Startseite willst, entferne die background-Zeile */

.hero-overlay {
    background: rgba(0, 0, 0, 0.5); /* oder 0.6 für mehr Dunkelheit */
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1; /* unterhalb von hero-content */
    pointer-events: none; /* damit man Text markieren kann */
}


.hero-content {
    position: relative;
    z-index: 2; /* wichtig: über dem Overlay */
    text-align: left;
    max-width: 100%;
    padding-left: 0;
}


.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero .highlight {
    color: var(--primary);
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    .hero h1 {
        font-size: 3rem; /* kleiner auf Mobilgeräten */
        line-height: 1.3;
    }

    .hero-small {
        min-height: 40vh; /* etwas höher für mehr Platz */
        padding-top: 10%;
    }
}

.btn-green {
    background-color: var(--primary);
    color: white;
    border: none;
}

.btn-green:hover {
    background-color: #ff944d;
}

.badge-round {
    position: absolute;
    top: 80px;
    right: 60px;
    background: var(--bg-light);
    color: var(--text-dark);
    border: 3px solid var(--primary);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(-15deg);
    z-index: 3;
    text-align: center;
}

.offcanvas-custom {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100vh;
    background-color: var(--bg-dark);
    color: var(--text--white);
    padding: 2rem;
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.offcanvas-custom.show {
    transform: translateX(0);
}

.offcanvas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1040;
}

.offcanvas-custom .nav-link {
    color: var(--text-white) !important;
}

.value-section {
    background: url('img/value-bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.value-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.value-section .container {
    position: relative;
    z-index: 2;
}

.social-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.bg-instagram {
    background-color: #E4405F;
}

.bg-facebook {
    background-color: #1877F2;
}

.bg-whatsapp {
    background-color: #25D366;
}

.social-box:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

.referenz-box {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.referenz-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.referenz-box:hover img {
    transform: scale(1.05);
}

.referenz-box::after {
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.referenz-box:hover::after {
    opacity: 1;
}

.referenz-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.referenz-box:hover::before {
    opacity: 1;
}

/* =====================================
SHOP NAVIGATION
===================================== */
.shop-nav .btn {
    border-radius: 2rem;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.shop-nav .btn:hover,
.shop-nav .btn.active {
    color: #fff;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

/* =====================================
   PRODUKTKARTEN
===================================== */
.product-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

/* =====================================
   PRODUKTBILD
===================================== */
.product-image {
    width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: #f5f5f5;
    padding: 10px;
}

/* =====================================
   TITEL & DETAILS
===================================== */
.product-card h6 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.product-details {
    padding: 0;
    margin: 0 0 1.2rem 0;
    list-style: none;
    font-size: 0.9rem;
    color: #444;
    text-align: left;
}

.product-details li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.check-icon {
    color: #7e5bef;
    font-size: 1rem;
    line-height: 1;
}

/* =====================================
   BUTTON
===================================== */
.btn-dark {
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
}

.btn-dark:hover {
    background-color: #333;
}

/* =====================================
   RESPONSIVE GRID
===================================== */
@media (max-width: 1024px) {
    #productGrid .col-md-6,
    #productGrid .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .shop-nav {
        background: #fff;
        border-bottom: 1px solid #eee;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
        z-index: 10;
    }

    .shop-nav .nav-scroll {
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .shop-nav select.form-select {
        border-radius: 30px;
        padding: 0.6rem 1rem;
        font-weight: 500;
        background-color: #f8f8f8;
        border-color: #ddd;
    }

    .shop-nav .btn {
        white-space: nowrap;
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
        border-radius: 50px;
        flex: 0 0 auto;
        transition: background 0.2s ease;
    }

    .shop-nav .btn:hover,
    .shop-nav .btn.active {
        background-color: #ff9900;
        color: white;
        border-color: #ff9900;
    }

    #productGrid .col-md-6,
    #productGrid .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .product-card {
        padding: 1rem;
    }

    .product-card h6 {
        font-size: 1rem;
    }

    .product-details li {
        font-size: 0.85rem;
    }
}