/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    overflow-x: hidden;
}

img,
picture,
video,
iframe {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-grey);
    background-color: #f9f9f9;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

:root {
    --color-dark-blue: #1e3a8a;
    --color-grey: #666666;
    --color-white: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    background: #232b36;
    color: var(--color-white);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.header .container {
    max-width: 1200px;
    padding: 0 20px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header .container.header-top {
    max-width: none;
    padding: 0 10%;
}

.logo {
    display: flex;
    align-items: center;
    flex: none;
}

.site-logo {
    height: 56px;
    width: auto;
    display: block;
    object-fit: contain;
}

.header-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fbbf24;
    color: var(--color-dark-blue);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.header-contact-btn:hover {
    background: #f59e0b;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .site-logo {
        height: 42px;
    }

    .header-contact-btn {
        padding: 8px 14px;
        font-size: 14px;
    }
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products {
    padding: 80px 0 40px;
    background-color: white;
}

.products .container h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 28px;
    color: var(--color-dark-blue);
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    padding: 0 10%;
}

/* ============================================
   PRODUCT BANNER (Bild links / Technik rechts)
   ============================================ */

.product-banner {
    display: flex;
    align-items: stretch;
    width: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(17, 24, 39, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
}

.product-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(17, 24, 39, 0.12);
    border-color: #007185;
}

.product-banner__gallery {
    flex: 0 0 20%;
    min-width: 0;
    position: relative;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #ffffff;
}

.banner-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #d5d9d9;
    background: rgba(255, 255, 255, 0.92);
    color: #111111;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.12);
    transition: background 0.2s ease, transform 0.2s ease;
}

.banner-gallery-btn:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.06);
}

.banner-gallery-btn:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

.banner-gallery-btn--prev {
    left: 8px;
}

.banner-gallery-btn--next {
    right: 8px;
}

.banner-image-counter {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 7px;
    border-radius: 999px;
    z-index: 2;
}

.product-banner__info {
    flex: 1 1 auto;
    min-width: 0;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-left: 1px solid #eef2f7;
}

.product-banner__name {
    color: #111111;
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 4px;
}

.product-banner__desc {
    color: #565959;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 0;
}

.product-banner__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 4px 0 2px;
}

.product-banner__price-amount {
    color: #b12704;
    font-size: 28px;
    font-weight: 800;
}

.product-banner__actions {
    margin: 4px 0 10px;
    display: flex;
    align-items: center;
}

.product-banner__details-link {
    align-self: flex-start;
    background: none;
    border: none;
    padding: 4px 0;
    color: #007185;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.product-banner__details-link:hover {
    text-decoration: underline;
}

.product-banner__details-link:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

/* ============================================
   CATALOG TOOLBAR (Filter / Suche / Sortierung)
   ============================================ */

.catalog-wrap {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 0 10%;
    margin-bottom: 36px;
}

.catalog-toolbar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1 1 auto;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px 20px;
    flex: 1 1 auto;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.05);
}

.filter-label {
    font-size: 13px;
    font-weight: 700;
    color: #111111;
    letter-spacing: 0.02em;
}

/* ============================================
   CATEGORY CARDS (Bild mit Namens-Overlay)
   ============================================ */

.category-section {
    width: 100%;
}

.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.category-card {
    position: relative;
    border: 0;
    padding: 0;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: #e5e7eb;
    aspect-ratio: 4 / 3;
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.08);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    text-align: left;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    padding: 16px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        transparent 75%
    );
}

.category-card-name {
    color: #ffffff;
    font-family: Georgia, 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.18);
}

.category-card:hover img {
    transform: scale(1.09);
}

.category-card.active {
    box-shadow: 0 0 0 3px #1e3a8a, 0 14px 28px rgba(17, 24, 39, 0.18);
}

.category-card:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

/* ============================================
   BRAND FILTER
   ============================================ */

.catalog-filters {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex: 0 0 auto;
}

.brand-section {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 2px;
}

.brand-section .filter-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #6b7280;
}

.brand-section .catalog-select {
    appearance: none;
    -webkit-appearance: none;
    min-width: 160px;
    padding: 11px 40px 11px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: #111827;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    box-shadow: 0 2px 6px rgba(17, 24, 39, 0.06);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.brand-section .catalog-select:hover {
    border-color: #d1d5db;
}

.brand-section .catalog-select:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
}

.search-group {
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.price-group .filter-label {
    margin-right: 2px;
}

.price-input {
    width: 88px;
}

.price-sep {
    color: #565959;
    font-weight: 700;
}

.sort-group {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 2px;
    flex: 0 0 auto;
}

.sort-group .filter-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #6b7280;
}

.sort-group .catalog-select {
    appearance: none;
    -webkit-appearance: none;
    min-width: 220px;
    padding: 11px 40px 11px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: #111827;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    box-shadow: 0 2px 6px rgba(17, 24, 39, 0.06);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sort-group .catalog-select:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.1);
}

.sort-group .catalog-select:focus {
    outline: none;
    border-color: var(--color-dark-blue);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}

.products-area {
    width: 100%;
    margin-bottom: 0;
}

.catalog-input {
    padding: 10px 12px;
    border: 1px solid #d5d9d9;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background-color: #ffffff;
    color: #111111;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-input:focus {
    outline: none;
    border-color: #007185;
    box-shadow: 0 0 0 3px rgba(0, 113, 133, 0.12);
}

.catalog-select {
    min-width: 190px;
}

.reset-btn {
    border: 1px solid #d5d9d9;
    background-color: #ffffff;
    color: #565959;
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.reset-btn:hover {
    background-color: #fdecea;
    border-color: #f5c6c2;
    color: #b12704;
}

.results-count {
    font-size: 14px;
    color: #565959;
    font-weight: 600;
    margin: 0;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    color: #565959;
    background: #f8fafc;
    border: 1px dashed #d5d9d9;
    border-radius: 16px;
    font-size: 16px;
}

@media (max-width: 640px) {
    .catalog-wrap {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
    }

    .catalog-toolbar {
        padding: 14px;
    }

    .sort-group {
        align-self: flex-end;
    }

    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .price-group {
        flex-wrap: wrap;
    }

    .price-input {
        width: 100%;
        flex: 1;
    }

    .catalog-select {
        width: 100%;
        min-width: 0;
    }

    .reset-btn {
        width: 100%;
    }
}

.product-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(17, 24, 39, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(17, 24, 39, 0.12);
    border-color: #007185;
}

.product-image {
    width: 100%;
    height: 320px;
    object-fit: contain;
    object-position: center;
    background-color: #f0f2f2;
    display: block;
    border-bottom: 1px solid #eef2f7;
}

.product-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-card-content h3 {
    color: #111111;
    margin-bottom: 4px;
    font-size: 24px;
    line-height: 1.2;
}

.product-card-content p {
    color: #565959;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.5;
}

.product-card-price {
    color: #b12704;
    font-size: 24px;
    font-weight: 800;
    margin: 2px 0 4px;
}

.product-card-vat-note {
    color: #6b7280;
    font-size: 11px;
    font-weight: 400;
}

.product-card-shipping-note {
    color: #565959;
    font-size: 12px;
    font-weight: 500;
    margin: 0 0 4px;
}

.product-card-actions {
    margin: 6px 0 12px;
    display: flex;
    align-items: center;
}

.checkout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffd814 0%, #f1b500 100%);
    color: #111111;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 6px 14px rgba(17, 24, 39, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.checkout-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(17, 24, 39, 0.12);
}

.checkout-action-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.payment-methods {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    color: #565959;
    font-size: 10px;
    line-height: 1;
}

.payment-methods-label,
.payment-methods-brand {
    white-space: nowrap;
}

.payment-methods-label {
    font-size: 11px;
    font-weight: 600;
}

.payment-methods-brand {
    color: #6b7280;
    font-size: 10px;
    margin-left: 2px;
}

.payment-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 19px;
    padding: 3px 5px;
    border: 1px solid #d5d9d9;
    border-radius: 3px;
    background: #ffffff;
    white-space: nowrap;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0;
}

.payment-logo--visa {
    color: #1434cb;
    font-style: italic;
}

.payment-logo--mastercard {
    gap: 0;
    min-width: 57px;
    overflow: hidden;
    color: #111111;
    font-size: 7px;
    padding-left: 4px;
}

.payment-logo--mastercard span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.payment-logo--mastercard span:first-child {
    background: #eb001b;
}

.payment-logo--mastercard span:nth-child(2) {
    margin-left: -5px;
    background: #f79e1b;
    opacity: 0.9;
}

.payment-logo--mastercard b {
    margin-left: 3px;
    font-weight: 700;
}

.payment-logo--amex {
    color: #006fcf;
    font-size: 8px;
}

.payment-logo--apple {
    color: #111111;
    font-size: 8px;
}

.payment-logo--google {
    color: #4285f4;
    font-size: 8px;
}

.payment-logo--klarna {
    background: #ffb3c7;
    border-color: #ffb3c7;
    color: #111111;
    font-size: 8px;
}

.payment-logo--sepa {
    color: #174a7e;
    font-size: 8px;
}

.availability-btn {
    background: linear-gradient(180deg, #007185 0%, #005f73 100%);
    color: #ffffff;
}

.availability-btn:hover {
    box-shadow: 0 8px 16px rgba(0, 113, 133, 0.25);
}

.checkout-btn--detail {
    padding: 12px 22px;
    font-size: 15px;
}

.out-of-stock-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 12px 18px;
    border-radius: 999px;
    background: #fdecea;
    color: #b12704;
    border: 1px solid #f5c6c2;
    font-weight: 700;
    font-size: 15px;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 10px 0 24px;
}

.product-price-tag {
    color: var(--color-dark-blue);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-specs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding: 12px 14px;
    background-color: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.card-spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #565959;
    gap: 8px;
}

.spec-key {
    font-weight: 700;
    color: #111111;
    min-width: 78px;
}

.spec-val {
    color: #007185;
    font-weight: 600;
    text-align: right;
}

.product-banner__specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: auto;
}

.spec-group {
    background-color: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.spec-group-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #007185;
    margin: 0 0 2px;
}

.spec-group .spec-key {
    min-width: 0;
}


/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */

.product-detail {
    padding: 32px 8px 64px;
    background: linear-gradient(180deg, #f6f7fb 0%, #ffffff 100%);
    min-height: calc(100vh - 200px);
    overflow-x: hidden;
}

.product-detail .container {
    max-width: 1440px;
    padding: 0 6px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #007185;
    text-decoration: none;
    margin-bottom: 16px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #0f1111;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 24px;
    align-items: start;
}

.detail-gallery-card,
.product-summary-card,
.product-main-col,
.detail-side-card,
.product-specs-card,
.inquiry-section {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-width: 0;
}

.detail-gallery-card {
    padding: 0;
    min-width: 0;
}

.product-main-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.detail-buy-box {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(17, 24, 39, 0.06);
}

.detail-buy-box .product-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
}

.detail-buy-box .checkout-action-group {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.detail-buy-box .checkout-price-tag {
    color: #b12704;
    font-size: 26px;
    font-weight: 800;
    text-align: left;
    margin: 0;
}

.detail-buy-box .checkout-price-vat-note {
    color: #6b7280;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    margin: 2px 0 0;
}

.detail-buy-box .checkout-btn--detail,
.detail-buy-box .availability-btn,
.detail-buy-box .out-of-stock-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.detail-buy-box .payment-methods-card {
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

.detail-buy-box .payment-methods-card h3 {
    margin: 0 0 10px;
}

.detail-buy-box .payment-methods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.detail-buy-box .payment-tile {
    height: 24px;
    min-height: 24px;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 5px;
    border: 1px solid #e6e8eb;
    background: #ffffff;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
}

.detail-buy-box .payment-tile-img {
    height: 13px;
    max-width: 88%;
    width: auto;
    object-fit: contain;
}

.detail-buy-box .payment-tile-img--small {
    height: 11px;
}

.detail-buy-box .payment-tile--klarna {
    background: #ffb3c7;
    border-color: #ffb3c7;
}

.detail-buy-box .payment-tile--apple {
    background: #000000;
    border-color: #000000;
}

.detail-buy-box .payment-tile--apple .payment-tile-img {
    filter: invert(1);
}

.detail-buy-box .payment-tile--link {
    background: #00d66f;
    border-color: #00d66f;
}

.payment-return-note {
    margin: 0;
    font-size: 11px;
    color: #565959;
    line-height: 1.4;
}

.payment-return-note a {
    color: #1b6ef3;
    text-decoration: underline;
}

.detail-buy-box .product-delivery-card h3 {
    margin-top: 0;
}

.detail-buy-box .product-delivery-card {
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.product-badges span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f7f7f7;
    color: #565959;
    border: 1px solid #e6e6e6;
    font-size: 12px;
    font-weight: 700;
}

.product-media {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.main-image {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background-color: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 440px;
    border: 1px solid #e6e6e6;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0;
}

.thumbnails {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #bbb transparent;
    padding-bottom: 4px;
    min-width: 0;
}

.thumbnail {
    flex-shrink: 0;
    width: 78px;
    height: 78px;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s ease;
    background-color: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #007185;
    background-color: #f0f2f2;
    box-shadow: 0 2px 8px rgba(0, 113, 133, 0.15);
}

.videos-section {
    background-color: #f8fafc;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.videos-section h3 {
    color: #111827;
    margin-bottom: 16px;
}

.videos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.video-player {
    border-radius: 10px;
    overflow: hidden;
    background-color: black;
    aspect-ratio: 16 / 9;
}

.video-player video {
    width: 100%;
    height: 100%;
    display: block;
}

.detail-info-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.product-summary-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-summary-card h2 {
    color: #111111;
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.product-description {
    color: #565959;
    font-size: 15px;
    line-height: 1.6;
}

.product-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.product-price-tag {
    color: #b12704;
    font-size: 30px;
    font-weight: 800;
    margin: 0;
}

.price-vat-note {
    flex-basis: 100%;
    color: #6b7280;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

.price-pill {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f0f2f2;
    color: #111111;
    font-size: 12px;
    font-weight: 700;
}

.variant-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.variant-btn {
    border: 1px solid #d5d9d9;
    background-color: #ffffff;
    color: #111111;
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
}

.variant-btn:hover,
.variant-btn.active {
    background-color: #f0f2f2;
    color: #111111;
    border-color: #007185;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

.checkout-btn--detail {
    padding: 14px 22px;
    font-size: 15px;
    border-radius: 999px;
    background: #ffd814;
    color: #111111;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.availability-btn.checkout-btn--detail {
    background: linear-gradient(180deg, #007185 0%, #005f73 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 113, 133, 0.18);
}

.checkout-btn:hover,
.checkout-btn--detail:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.availability-btn.checkout-btn--detail:hover {
    box-shadow: 0 8px 16px rgba(0, 113, 133, 0.28);
}

.product-highlights {
    display: grid;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid #e6e6e6;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #232f3e;
    font-size: 14px;
}

.highlight-link {
    color: var(--color-dark-blue);
    text-decoration: underline;
}

.highlight-link:hover {
    text-decoration: none;
}

.detail-side-card {
    padding: 0;
    background: transparent;
    border-color: transparent;
}

.detail-side-card h3 {
    color: #111111;
    margin-bottom: 8px;
}

.detail-side-card p {
    color: #565959;
    line-height: 1.6;
}

.product-long-description {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-long-description p {
    color: #565959;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.product-delivery-info {
    font-size: 14px;
}

.detail-content-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
}

.detail-tabs {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 8px;
}

.detail-tab {
    border: 0;
    background: transparent;
    color: #565959;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.detail-tab:hover {
    background: #f3f4f6;
    color: #111111;
}

.detail-tab.active {
    background: #111111;
    color: #ffffff;
}

.product-specs-card {
    padding: 0;
    background: transparent;
    border: 0;
}

.detail-panel {
    display: none;
}

.detail-panel.active {
    display: block;
}

.product-specs {
    background: transparent;
    padding: 0;
    margin: 0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 700;
    color: #111111;
}

.spec-value {
    color: #565959;
    text-align: right;
}

.spec-category {
    margin-bottom: 20px;
}

.spec-category:last-child {
    margin-bottom: 0;
}

.spec-category-title {
    font-size: 14px;
    font-weight: 700;
    color: #007185;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid #007185;
}

/* Inquiry Form */

.inquiry-section {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    margin-top: 0;
}

.inquiry-section h3 {
    color: #111111;
    margin-bottom: 18px;
    font-size: 22px;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px 13px;
    border: 1px solid #d5d9d9;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #f7f7f7;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007185;
    box-shadow: 0 0 0 3px rgba(0, 113, 133, 0.12);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(180deg, #ffd814 0%, #f1b500 100%);
    color: #111111;
    padding: 14px 18px;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

.submit-btn:active {
    transform: scale(0.98);
}

.form-note {
    font-size: 12px;
    color: #565959;
    text-align: left;
}

.success-message {
    background-color: #ecfdf3;
    border-left: 4px solid #16a34a;
    color: #111111;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1120px) {
    .detail-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    }

    .detail-buy-box {
        grid-column: 1 / -1;
        position: static;
    }

    .detail-buy-box .checkout-btn--detail,
    .detail-buy-box .availability-btn {
        width: fit-content;
    }
}

@media (max-width: 960px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .product-detail {
        padding: 24px 10px 48px;
    }

    .detail-gallery-card,
    .product-summary-card,
    .product-main-col,
    .detail-side-card,
    .detail-buy-box,
    .product-specs-card,
    .inquiry-section {
        border-radius: 14px;
    }

    .detail-buy-box {
        padding: 18px;
    }

    .main-image {
        min-height: 300px;
    }

    .product-summary-card h2 {
        font-size: 24px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--color-dark-blue);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f6c84c;
    box-shadow: 0 0 0 4px rgba(246, 200, 76, 0.15);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(180deg, #f6c84c 0%, #d99a15 100%);
    color: var(--color-dark-blue);
    padding: 14px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
    box-shadow: 0 12px 25px rgba(217, 154, 21, 0.2);
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(217, 154, 21, 0.25);
}

.submit-btn:active {
    transform: scale(0.98);
}

.form-note {
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    text-align: center;
}

.success-message {
    background-color: #dcfce7;
    border-left: 4px solid #22c55e;
    color: var(--color-white);
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   AVAILABILITY MODAL
   ============================================ */

.availability-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
}

.availability-modal-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.availability-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #f0f2f2;
    color: #111111;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.availability-modal-close:hover {
    background: #e0e4e4;
}

.availability-modal-content h3 {
    color: #111111;
    font-size: 22px;
    margin-bottom: 12px;
}

.availability-modal-text {
    color: #565959;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.availability-modal-text strong {
    color: #111111;
}

.availability-error {
    background-color: #fef3f2;
    border-left: 4px solid #d92d20;
    color: #b42318;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-top: 12px;
}

.availability-success {
    background-color: #ecfdf3;
    border-left: 4px solid #16a34a;
    color: #111111;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .availability-modal {
        align-items: flex-end;
    }

    .availability-modal-content {
        border-radius: 16px 16px 0 0;
        padding: 28px 20px 24px;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    text-align: center;
}

.contact .container h2 {
    font-size: 36px;
    color: var(--color-dark-blue);
    margin-bottom: 20px;
}

.contact .container > p {
    font-size: 18px;
    color: var(--color-grey);
    margin-bottom: 40px;
}

.contact .inquiry-section {
    max-width: 650px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
    text-align: left;
}

.contact .inquiry-section h3 {
    margin-bottom: 20px;
    color: var(--color-dark-blue);
}

.contact .inquiry-section .inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact .inquiry-section .form-group label {
    color: var(--color-dark-blue);
}

.contact .inquiry-section .form-group input,
.contact .inquiry-section .form-group textarea {
    width: 100%;
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.contact .inquiry-section .submit-btn {
    background-color: #2563eb;
    color: var(--color-white);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.18);
}

.contact .inquiry-section .submit-btn:hover {
    background-color: #1e40af;
}

.contact .inquiry-section .form-note {
    color: var(--color-grey);
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.contact-info p {
    margin: 15px 0;
    font-size: 16px;
}

.contact-info a {
    color: var(--color-dark-blue);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: #232b36;
    color: var(--color-white);
    text-align: center;
    padding: 30px 20px;
}

.footer p {
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin-bottom: 16px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

/* ============================================
   LEGAL PAGES (Impressum, Datenschutz, AGB, Widerruf)
   ============================================ */

.legal-page {
    min-height: 60vh;
    padding: 40px 0 60px;
    flex: 1 0 auto;
}

.legal-page h1 {
    color: var(--color-dark-blue);
    margin-bottom: 8px;
}

.legal-page .back-link {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--color-dark-blue);
    text-decoration: none;
    font-weight: 600;
}

.legal-page .back-link:hover {
    text-decoration: underline;
}

.legal-card {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    max-width: 860px;
}

.legal-card h2 {
    color: var(--color-dark-blue);
    font-size: 18px;
    margin: 28px 0 10px;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card h3 {
    color: var(--color-dark-blue);
    font-size: 16px;
    margin: 20px 0 8px;
}

.legal-card h4 {
    color: var(--color-dark-blue);
    font-size: 15px;
    margin: 16px 0 6px;
}

.legal-card p,
.legal-card li {
    color: var(--color-grey);
    font-size: 15px;
}

.legal-card ul {
    padding-left: 22px;
    margin: 8px 0;
}

.legal-card a {
    color: var(--color-dark-blue);
}

.legal-notice {
    background-color: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
    color: #7c2d12;
    font-size: 14px;
}

.legal-notice strong {
    color: #9a3412;
}

.legal-card .table-wrapper {
    overflow-x: auto;
    margin: 12px 0;
}

.legal-card table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.legal-card th,
.legal-card td {
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.legal-card th {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
    font-weight: 600;
}

.legal-card tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.legal-card table code,
.legal-card table a {
    color: var(--color-dark-blue);
}

.brand-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 24px;
}

.brand-nav a {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid var(--color-dark-blue);
    border-radius: 999px;
    color: var(--color-dark-blue);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.brand-nav a:hover {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
}

.legal-card .brand-section {
    margin-top: 40px;
    padding-top: 26px;
    border-top: 3px solid var(--color-dark-blue);
}

.legal-card .brand-title {
    font-size: 24px;
    margin-top: 0;
}

.legal-placeholder {
    background-color: #fef3c7;
    border: 1px dashed #f59e0b;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 14px 0;
    color: #92400e;
    font-size: 14px;
}

.legal-tabs {
    display: flex;
    gap: 8px;
    margin: 20px 0;
}

.legal-tab {
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    color: var(--color-dark-blue);
    padding: 8px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.legal-tab:hover,
.legal-tab.active {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.legal-tab-panel[hidden] {
    display: none;
}

/* ============================================
   GALLERY CONTAINER & NAVIGATION
   ============================================ */

.variant-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.variant-btn {
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    color: var(--color-dark-blue);
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.variant-btn:hover,
.variant-btn.active {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.main-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 400px;
    max-height: 600px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: zoom-in;
    touch-action: pan-y;
}

.main-image img,
.main-image video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
    z-index: 1;
}

.main-image img {
    padding: 0;
}

.main-image video {
    pointer-events: auto;
}

/* Gallery navigation buttons */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--color-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 100;
    pointer-events: auto;
}

.gallery-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-btn.prev {
    left: 15px;
}

.gallery-nav-btn.next {
    right: 15px;
}

/* Thumbnails styling */
.thumbnails {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #bbb transparent;
    padding-bottom: 4px;
    min-width: 0;
}

.thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border: 3px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-thumbnail {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-grey);
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #2563eb;
    background-color: #eff6ff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* ============================================
   IMAGE MODAL / LIGHTBOX
   ============================================ */

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    gap: 20px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 1001;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.modal-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 90vw;
    max-height: 70vh;
    position: relative;
    width: 100%;
    touch-action: pan-y;
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    animation: zoomIn 0.3s ease-in-out;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.image-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--color-white);
    font-size: 16px;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 6px;
}

/* Modal navigation buttons */
.modal-nav-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.modal-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.modal-nav-btn.prev {
    left: 20px;
}

.modal-nav-btn.next {
    right: 20px;
}

/* Modal thumbnails */
.modal-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 90vw;
    padding: 0 20px;
}

.modal-thumbnail {
    width: 70px;
    height: 70px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.modal-thumbnail:hover,
.modal-thumbnail.active {
    border-color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 900px) {
    .product-banner__gallery {
        flex: 0 0 22%;
    }

    .product-banner__info {
        padding: 22px 24px;
    }

    .banner-gallery-btn {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 0 16px;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav a {
        padding: 8px 12px;
        font-size: 14px;
    }

    .hero {
        padding: 80px 16px 60px;
    }

    .hero-content h2 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .product-detail {
        padding: 30px 10px;
    }

    .product-detail .container {
        padding: 0 4px;
    }

    .product-banner__specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .thumbnails {
        scrollbar-width: thin;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .main-image {
        min-height: 260px;
    }

    .inquiry-section {
        padding: 20px;
    }

    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .gallery-expand-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .modal-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 8px 0;
    }

    .header .container {
        gap: 8px;
    }

    .site-logo {
        height: 36px;
        max-height: 36px;
    }

    .hero {
        padding: 60px 14px 40px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .products .container h2,
    .contact .container h2 {
        font-size: 24px;
    }

    .product-card-content h3 {
        font-size: 18px;
    }

    .product-banner__info {
        padding: 24px 20px;
    }

    .product-banner__name {
        font-size: 20px;
    }

    .product-banner__gallery {
        flex: 0 0 28%;
    }

    .product-banner__specs {
        grid-template-columns: 1fr;
    }

    .banner-gallery-btn {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .banner-image-counter {
        display: none;
    }

    .product-info h2 {
        font-size: 24px;
    }

    .product-detail {
        padding: 22px 8px;
    }

    .product-detail .container {
        padding: 0 4px;
    }

    .product-detail-fullwidth,
    .product-detail-content,
    .contact .inquiry-section,
    .inquiry-section {
        gap: 18px;
    }


    .contact .inquiry-section {
        padding: 22px;
    }
}

@media (max-width: 640px) {
    .header .container.header-top {
        padding: 0;
    }

    .products-grid {
        padding: 0;
    }

    .products {
        padding: 48px 0 32px;
    }

    .product-banner {
        flex-direction: column;
    }

    .product-banner__gallery {
        flex: none;
        width: 100%;
        min-height: 240px;
    }

    .product-banner__info {
        padding: 22px 18px;
        border-left: none;
        border-top: 1px solid #eef2f7;
    }

    .product-image {
        height: 220px;
    }
}

/* ============================================
   EXTENDED PRODUCT CONTENT
   ============================================ */

#detailsPanel {
    background-color: #000;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

#detailsPanel .extended-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px;
}

/* Feature-Sektionen */
.ext-feature-sections {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.ext-feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.ext-feature-reverse .ext-feature-image {
    order: 2;
}

.ext-feature-image {
    width: 100%;
    border-radius: 16px;
    border: 1px solid #e6e6e6;
    background-color: #f7f7f7;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.ext-feature-banner {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background-color: #000;
}

.ext-feature-banner-image {
    width: 100%;
    height: auto;
    display: block;
    background-color: transparent;
}

.ext-feature-body h3 {
    color: #111111;
    font-size: 26px;
    line-height: 1.25;
    margin: 0 0 12px;
}

.ext-feature-body p {
    color: #565959;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* Dimensions */
.dimensions-container {
    display: flex;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
}

.dimensions-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* FAQ */
.ext-faq {
    display: flex;
    flex-direction: column;
}

.ext-faq h3 {
    color: #111111;
    font-size: 24px;
    margin: 0 0 16px;
}

.ext-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #ffffff;
}

.ext-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: #111111;
}

.ext-faq-question:hover {
    background: #f3f4f6;
}

.ext-faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0f2f2;
    color: #007185;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.ext-faq-item.open .ext-faq-icon {
    transform: rotate(45deg);
}

.ext-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: #565959;
    font-size: 15px;
    line-height: 1.7;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.ext-faq-item.open .ext-faq-answer {
    max-height: 320px;
    padding: 0 20px 18px;
}

/* Dark theme for the Highlights panel */
#detailsPanel .ext-feature-image {
    border-color: #1f2937;
    background-color: #111111;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#detailsPanel .ext-feature-body h3 {
    color: #ffffff;
}

#detailsPanel .ext-feature-body p {
    color: #d1d5db;
}

/* Responsive */
@media (max-width: 860px) {
    .ext-feature-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .ext-feature-body h3 {
        font-size: 22px;
    }
}
