/* ========================================================
   katalog.css – Styles für Katalog, Anfragekorb, Homepage-Extras
   Farben: #882626 / #0e2a47 (kompatibel mit style.css)
   ======================================================== */

/* ── Allgemein ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
a { color: inherit; }

/* Abstand unter fixem Meta-Banner + Sticky Header */
.page-main { padding-top: 0; }

/* ── Mobile Burger ─────────────────────────────────────── */
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}
.nav-burger span {
    display: block;
    height: 2px;
    background: #0c0f14;
    border-radius: 2px;
    transition: transform .2s;
}
@media (max-width: 820px) {
    .nav-burger { display: flex; }
    .main-nav { display: none; }
    .header-inner .main-nav { display: none; }
}

/* Mobile Nav Overlay – Slide von rechts */
.mobile-nav-overlay {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 9999;
    background: #0e2a47;
    padding: 40px 32px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.mobile-nav-overlay.is-open {
    transform: translateX(0);
}
.mobile-nav__close {
    position: absolute; top: 16px; right: 20px;
    background: none; border: none;
    color: #fff; font-size: 28px; cursor: pointer;
}
.mobile-menu {
    list-style: none; margin: 40px 0 0; padding: 0;
}
.mobile-menu li { border-bottom: 1px solid rgba(255,255,255,.12); }
.mobile-menu li a {
    display: block; padding: 16px 0;
    color: #fff; text-decoration: none; font-size: 18px; font-weight: 500;
}
.mobile-menu__divider { border-bottom: 2px solid rgba(255,255,255,.3) !important; margin: 8px 0; }
/* Aktive Hauptkategorie */
.mobile-menu__kat.is-active > a {
    background: #882626;
    color: #fff;
    font-weight: 700;
    padding-left: 14px;
    padding-right: 14px;
    margin: 0 -14px;
    border-radius: 6px;
}
/* Unterkategorie-Links einrücken */
.mobile-menu__sub { border-bottom: 1px solid rgba(255,255,255,.06) !important; }
.mobile-menu__sub a {
    padding-left: 24px !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: rgba(255,255,255,.65) !important;
}

/* ── Page Banner ───────────────────────────────────────── */
.page-banner {
    background: #0e2a47;
    padding: 48px 24px 40px;
    margin-top: 35px; /* höhe der fixed meta-bar */
}
.page-banner .inner-container { padding: 0 12px; }
.page-banner__title {
    margin: 0; color: #fff;
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 800;
}
.page-banner__sub {
    margin: 8px 0 0; color: rgba(255,255,255,.65);
    font-size: 15px;
}

/* ── Catalog Layout ────────────────────────────────────── */
.catalog-layout {
    display: flex;
    gap: 40px;
    padding: 40px 16px 80px;
    align-items: flex-start;
}
@media (max-width: 900px) {
    .catalog-layout { flex-direction: column; gap: 24px; }
}

/* ── Sidebar ───────────────────────────────────────────── */
.catalog-sidebar {
    flex: 0 0 240px;
    position: sticky;
    top: 135px; /* meta (35) + header (100) */
    max-height: calc(100vh - 160px);
    overflow-y: auto;
}
@media (max-width: 900px) {
    .catalog-sidebar { position: static; flex: none; width: 100%; max-height: none; }
}

/* Scrollbar Sidebar */
.catalog-sidebar::-webkit-scrollbar { width: 4px; }
.catalog-sidebar::-webkit-scrollbar-track { background: transparent; }
.catalog-sidebar::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

/* Suche */
.sidebar-search {
    display: flex;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: border-color .2s;
}
.sidebar-search:focus-within { border-color: #882626; }
.sidebar-search__input {
    flex: 1; border: none; padding: 10px 14px;
    font-size: 14px; font-family: inherit;
    outline: none; background: transparent;
}
.sidebar-search__btn {
    background: none; border: none;
    padding: 0 12px; cursor: pointer; color: #666;
    display: flex; align-items: center;
}
.sidebar-search__btn svg { width: 18px; height: 18px; }
.sidebar-search__btn:hover { color: #882626; }

/* Alle Artikel Link */
.sidebar-alle {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 600; font-size: 14px;
    color: #333; text-decoration: none;
    margin-bottom: 4px;
    transition: background .15s;
}
.sidebar-alle:hover { background: #f5f5f5; }
.sidebar-alle.is-active { background: #0e2a47; color: #fff; }

/* Kategorie-Gruppe */
.sidebar-gruppe { margin-bottom: 2px; }

.sidebar-gruppe__head {
    display: flex; align-items: center; gap: 6px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 14px; font-weight: 600; color: #333;
    text-decoration: none; cursor: pointer;
    transition: background .15s;
    user-select: none;
}
.sidebar-gruppe__head:hover { background: #f5f5f5; }
.sidebar-gruppe__head.is-active { color: #0e2a47; background: rgba(14,42,71,.07); }

.sidebar-gruppe__count {
    margin-left: auto;
    font-size: 11px; font-weight: 700;
    color: #999; min-width: 22px; text-align: right;
}
.sidebar-gruppe__arrow {
    width: 16px; height: 16px; flex-shrink: 0;
    color: #aaa; transition: transform .2s;
}
.sidebar-gruppe.is-open .sidebar-gruppe__arrow { transform: rotate(180deg); }

/* Sub-Kategorien */
.sidebar-sub {
    list-style: none; margin: 0; padding: 0 0 4px 12px;
    display: none;
}
.sidebar-gruppe.is-open .sidebar-sub { display: block; }

.sidebar-sub__link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 13px; color: #555;
    text-decoration: none;
    transition: background .12s, color .12s;
}
.sidebar-sub__link:hover { background: #f5f5f5; color: #333; }
.sidebar-sub__link.is-active { background: #882626; color: #fff; }
.sidebar-sub__link.is-active .sidebar-sub__count { color: rgba(255,255,255,.75); }

.sidebar-sub__count {
    font-size: 11px; color: #bbb;
    margin-left: auto; padding-left: 8px;
}

/* ── Artikel Grid ──────────────────────────────────────── */
.catalog-main { flex: 1 1 0; min-width: 0; }

.artikel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
@media (max-width: 600px) {
    .artikel-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
}

/* Artikel Card */
.artikel-card {
    border: 1.5px solid #e8e8e8;
    border-radius: 12px;
    padding: 0 0 14px;
    display: flex; flex-direction: column;
    gap: 0;
    background: #fff;
    transition: border-color .2s, box-shadow .2s, transform .15s;
    position: relative;
    overflow: hidden;
}
.artikel-card:hover {
    border-color: #ddd;
    box-shadow: 0 4px 18px rgba(0,0,0,.09);
    transform: translateY(-1px);
}
.artikel-card.in-basket {
    border-color: #882626;
    background: #fbf0f0;
}

/* Artikelbild */
.artikel-card__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f7f7f7;
    overflow: hidden;
    flex-shrink: 0;
}
.artikel-card__img img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform .3s;
}
.artikel-card:hover .artikel-card__img img { transform: scale(1.04); }
.artikel-card__img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #ddd;
}
.artikel-card__img-placeholder svg { width: 48px; height: 48px; }

.artikel-card__body { flex: 1; margin-bottom: 14px; padding: 14px 16px 0; }

.artikel-card__tag {
    display: inline-block;
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px;
    color: #882626;
    margin-bottom: 8px;
}

.artikel-card__name {
    margin: 0; font-size: 14px; font-weight: 700;
    color: #111; line-height: 1.35;
}

.artikel-card__num {
    display: block; margin-top: 6px;
    font-size: 11px; color: #aaa;
    font-family: 'Courier New', monospace;
}

/* Basket Row (qty + button) in cards */
.artikel-card__basket-row {
    display: flex; align-items: center; gap: 6px;
    padding: 0 16px; margin-top: auto;
}
.artikel-card__basket-row .qty-input {
    width: 52px; height: 36px; text-align: center;
    border: 1.5px solid #ddd; border-radius: 8px;
    font-size: 13px; font-weight: 600; color: #111;
    font-family: inherit; flex-shrink: 0;
    -moz-appearance: textfield;
}
.artikel-card__basket-row .qty-input::-webkit-inner-spin-button,
.artikel-card__basket-row .qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.artikel-card__basket-row .qty-input:focus { outline: none; border-color: #882626; }
.artikel-card__basket-row .qty-input:disabled { opacity: .4; background: #f5f5f5; }

/* Add to Basket Button */
.btn-basket {
    display: flex; align-items: center; gap: 6px;
    flex: 1; padding: 9px 14px;
    border: 1.5px solid #0e2a47;
    border-radius: 8px;
    background: transparent; color: #0e2a47;
    font-size: 13px; font-weight: 600;
    cursor: pointer; font-family: inherit;
    transition: background .15s, color .15s, border-color .15s;
}
.btn-basket:hover {
    background: #0e2a47; color: #fff;
}
.btn-basket.in-basket {
    background: #882626; border-color: #882626; color: #fff;
}
.btn-basket:disabled { opacity: .5; cursor: wait; }

.btn-basket svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-basket .icon-add  { display: block; }
.btn-basket .icon-check { display: none; }
.btn-basket.in-basket .icon-add  { display: none; }
.btn-basket.in-basket .icon-check { display: block; }

/* Leer-State */
.catalog-empty {
    text-align: center; padding: 80px 20px;
    color: #999; font-size: 16px;
}

/* ── Basket FAB ────────────────────────────────────────── */
.basket-fab {
    position: fixed; bottom: 28px; right: 28px; z-index: 500;
    opacity: 0; pointer-events: none;
    transform: translateY(10px);
    transition: opacity .25s, transform .25s;
}
.basket-fab.has-items {
    opacity: 1; pointer-events: auto; transform: translateY(0);
}
.basket-fab__link {
    display: flex; align-items: center; gap: 10px;
    background: #0e2a47; color: #fff;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: 700; font-size: 15px;
    box-shadow: 0 6px 24px rgba(14,42,71,.45);
    transition: background .15s, transform .15s;
}
.basket-fab__link:hover { background: #882626; transform: translateY(-2px); }
.basket-fab__link svg { width: 20px; height: 20px; }
.basket-fab__count {
    /*background: #882626; color: #fff;*/
    background: red; color: #fff;
    border-radius: 999px; min-width: 22px; height: 22px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800; padding: 0 5px;
}

/* ── Homepage: Kategorien ──────────────────────────────── */
.kategorien-section {
    padding: 80px 0;
    background: #f8f8f8;
}
.kategorien-section__title {
    text-align: center; margin: 0 0 48px;
    font-size: clamp(22px, 2.8vw, 34px); font-weight: 800;
    color: #0e2a47;
}
.kategorien-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
}
@media (max-width: 480px) {
    .kategorien-grid { grid-template-columns: repeat(1, 1fr); }
}
.kat-card {
    background: #fff; border: 1.5px solid #ebebeb;
    border-radius: 14px; padding: 28px 20px 22px;
    text-decoration: none; color: #111;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    text-align: center;
    transition: border-color .2s, box-shadow .2s, transform .15s;
}
.kat-card:hover {
    border-color: #882626;
    box-shadow: 0 6px 24px rgba(190,51,158,.12);
    transform: translateY(-3px);
}
.kat-card__icon {
    width: 44px; height: 44px;
    color: #882626;
}
.kat-card__icon svg { width: 100%; height: 100%; }
.kat-card__name { font-weight: 700; font-size: 14px; line-height: 1.25; }
.kat-card__count { font-size: 12px; color: #999; }

/* ── Homepage: Kontakt-Box ─────────────────────────────── */
.home-kontakt {
    padding: 0 0 64px;
}
.home-kontakt__box {
    background: #0e2a47;
    border-radius: 16px;
    padding: 48px;
    display: flex;
    align-items: center;
    gap: 48px;
    color: #fff;
}
.home-kontakt__text {
    flex: 1; min-width: 240px;
}
.home-kontakt__text h2 {
    font-size: 24px; font-weight: 800; color: #fff;
    margin: 0 0 12px;
}
.home-kontakt__text p {
    font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.8);
    margin: 0;
}
.home-kontakt__cards {
    display: flex; gap: 20px; flex-shrink: 0; flex-wrap: wrap;
}
.home-kontakt__card {
    display: flex; align-items: center; gap: 16px;
    background: rgba(255,255,255,.1);
    border-radius: 12px;
    padding: 16px 20px;
}
.home-kontakt__img {
    width: 120px; height: 120px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
}
.home-kontakt__img img {
    width: 100%; height: 100%; object-fit: cover;
}
.home-kontakt__info {
    display: flex; flex-direction: column; gap: 2px;
}
.home-kontakt__info strong {
    font-size: 15px; color: #fff;
}
.home-kontakt__info a {
    font-size: 13px; color: rgba(255,255,255,.7); text-decoration: none;
}
.home-kontakt__info a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 860px) {
    .home-kontakt__box { flex-direction: column; padding: 32px 24px; gap: 28px; text-align: center; }
    .home-kontakt__cards { justify-content: center; }
}
@media (max-width: 500px) {
    .home-kontakt__card { flex-direction: column; text-align: center; padding: 16px; }
}

/* ── Homepage: How it works ────────────────────────────── */
.cta-section {
    padding: 80px 24px;
}
.cta-section__inner h2 {
    text-align: center; margin: 0 0 48px;
    font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; color: #0e2a47;
}
.how-it-works {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
@media (max-width: 680px) {
    .how-it-works { grid-template-columns: 1fr; gap: 24px; }
}
.how-step {
    text-align: center; padding: 32px 24px;
    background: #f8f8f8; border-radius: 14px;
}
.how-step__num {
    width: 52px; height: 52px; border-radius: 50%;
    background: #0e2a47; color: #fff;
    font-size: 22px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.how-step h3 { margin: 0 0 10px; font-size: 16px; font-weight: 700; }
.how-step p  { margin: 0; font-size: 14px; color: #666; line-height: 1.6; }

/* ── Anfragekorb Layout ────────────────────────────────── */
.anfrage-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 48px 16px 80px;
    align-items: flex-start;
}
@media (max-width: 900px) {
    .anfrage-layout { grid-template-columns: 1fr; gap: 32px; }
}
.anfrage-col__title {
    margin: 0 0 24px;
    font-size: 20px; font-weight: 700; color: #0e2a47;
    padding-bottom: 12px; border-bottom: 2px solid #ebebeb;
}

/* Basket List */
.basket-list {
    list-style: none; margin: 0 0 24px; padding: 0;
}
.basket-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #ebebeb;
}
.basket-item__info { flex: 1; }
.basket-item__cat {
    display: block; font-size: 11px; color: #882626;
    font-weight: 600; text-transform: uppercase; letter-spacing: .4px;
    margin-bottom: 4px;
}
.basket-item__name {
    display: block; font-size: 15px; font-weight: 700; color: #111;
}
.basket-item__num {
    display: block; font-size: 11px; color: #aaa; margin-top: 3px;
    font-family: 'Courier New', monospace;
}
/* Mengensteuerung */
.basket-item__qty-wrap {
    display: flex; align-items: center; gap: 6px;
    flex-shrink: 0;
}
.qty-btn {
    width: 30px; height: 30px;
    border: 1.5px solid #ddd; border-radius: 6px;
    background: none; font-size: 18px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #555; font-family: inherit;
    transition: border-color .15s, color .15s, background .15s;
    padding: 0;
}
.qty-btn:hover { border-color: #882626; color: #882626; background: #fbf0f0; }
.qty-value {
    min-width: 32px; text-align: center;
    font-size: 15px; font-weight: 700; color: #111;
}
.qty-input-basket {
    width: 60px; height: 34px; text-align: center;
    border: 1.5px solid #ddd; border-radius: 6px;
    font-size: 15px; font-weight: 700; color: #111;
    font-family: inherit;
    -moz-appearance: textfield;
}
.qty-input-basket::-webkit-inner-spin-button,
.qty-input-basket::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input-basket:focus { outline: none; border-color: #882626; }

.basket-item__remove {
    background: none; border: 1.5px solid #ddd;
    border-radius: 6px; width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #999; flex-shrink: 0;
    transition: border-color .15s, color .15s, background .15s;
}
.basket-item__remove:hover { border-color: #ff4444; color: #ff4444; background: #fff0f0; }
.basket-item__remove svg { width: 15px; height: 15px; }

.basket-empty {
    text-align: center; padding: 60px 20px;
    color: #aaa;
}
.basket-empty svg { width: 64px; height: 64px; margin-bottom: 16px; color: #ccc; }
.basket-empty p { font-size: 16px; margin: 0 0 20px; }

.basket-actions {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.basket-clear-btn {
    background: none; border: 1.5px solid #ddd;
    border-radius: 8px; padding: 8px 16px;
    font-size: 13px; font-weight: 600; color: #666;
    cursor: pointer; transition: all .15s; font-family: inherit;
}
.basket-clear-btn:hover { border-color: #ff4444; color: #ff4444; }
.basket-more-btn {
    font-size: 13px; font-weight: 600; color: #882626;
    text-decoration: none; padding: 8px 0;
}
.basket-more-btn:hover { text-decoration: underline; }

/* ── Anfrage-Formular ──────────────────────────────────── */
.anfrage-form { display: flex; flex-direction: column; gap: 0; }

.form-row { display: flex; gap: 16px; }
.form-row--2 > .form-group { flex: 1 1 0; min-width: 0; }
@media (max-width: 560px) { .form-row--2 { flex-direction: column; gap: 0; } }

.form-group {
    display: flex; flex-direction: column;
    margin-bottom: 16px;
}
.form-group label {
    font-size: 13px; font-weight: 600; color: #444;
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px; font-family: inherit; color: #111;
    background: #fff;
    outline: none;
    transition: border-color .2s;
    width: 100%;
}
.form-group input:focus,
.form-group textarea:focus { border-color: #882626; }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-notice {
    padding: 14px 16px;
    background: #fff8e0; border: 1.5px solid #f5d060;
    border-radius: 8px; font-size: 14px;
    margin-bottom: 20px;
}
.form-notice a { color: #882626; }

.form-hint {
    margin: -12px 0 20px;
    font-size: 13px; color: #666;
    padding: 10px 14px;
    background: #f7f7f7; border-left: 3px solid #882626;
    border-radius: 4px;
}

.form-disclaimer {
    margin: 8px 0 20px;
    padding: 14px 16px;
    background: #fbf0f0; border: 1px solid #e8c4c4;
    border-radius: 8px;
    font-size: 13px; line-height: 1.5; color: #555;
}

.form-footer {
    display: flex; align-items: flex-start; flex-direction: column;
    gap: 16px; margin-top: 8px;
}
.form-privacy {
    font-size: 12px; color: #999; line-height: 1.5; margin: 0;
}
.form-privacy a { color: #882626; }

.btn-submit {
    align-self: flex-start;
    padding: 14px 32px;
    font-size: 16px;
}
.btn-submit:disabled { opacity: .4; cursor: not-allowed; }

/* ── Flash Alerts ──────────────────────────────────────── */
.form-alert {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 14px; line-height: 1.5;
    margin-bottom: 24px;
}
.form-alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.form-alert--success { background: #eafaf1; border: 1.5px solid #6fcf97; color: #1a6b3a; }
.form-alert--error   { background: #fff0f0; border: 1.5px solid #f49393; color: #b92020; }

/* ═══════════════════════════════════════════════════════
   Breadcrumb
   ═══════════════════════════════════════════════════════ */
.breadcrumb {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
    font-size: 13px; color: rgba(255,255,255,.6);
    margin-bottom: 10px;
}
.breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden] { color: rgba(255,255,255,.4); }

/* ═══════════════════════════════════════════════════════
   Artikel-Karten: Bild als Link (Kategorie-Seite)
   ═══════════════════════════════════════════════════════ */
.artikel-card__img-link { display: block; text-decoration: none; color: inherit; }
.artikel-card__name a   { text-decoration: none; color: inherit; }
.artikel-card__name a:hover { color: #882626; }

/* ═══════════════════════════════════════════════════════
   Produkt-Detailseite
   ═══════════════════════════════════════════════════════ */
.produkt-detail {
    padding: 48px 16px 80px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Hero: Bild + Info nebeneinander */
.produkt-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
    align-items: start;
}
@media (max-width: 768px) {
    .produkt-hero { grid-template-columns: 1fr; gap: 24px; }
}

.produkt-hero__img {
    border-radius: 14px;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 4 / 3;
    display: flex; align-items: center; justify-content: center;
}
.produkt-hero__img img {
    width: 100%; height: 100%; object-fit: contain;
    padding: 12px;
}
.produkt-hero__img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}
.produkt-hero__img-placeholder svg { width: 80px; height: 80px; color: #ccc; }

/* Info-Bereich */
.produkt-hero__info { display: flex; flex-direction: column; gap: 16px; }

.produkt-tag {
    display: inline-block;
    background: #fbf0f0; color: #882626;
    border: 1px solid #e8c4c4;
    border-radius: 6px; padding: 3px 12px;
    font-size: 12px; font-weight: 700; letter-spacing: .3px;
    width: fit-content;
}
.produkt-artnr { margin: 0; font-size: 13px; color: #999; }

.produkt-teaser {
    font-size: 16px; line-height: 1.7; color: #333;
    border-left: 3px solid #882626;
    padding-left: 16px;
    margin: 0;
}

/* Warenkorb-Buttons */
.produkt-basket-wrap { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }

/* Produkt-Detail: Anzahl + Button Zeile */
.produkt-basket-row {
    display: flex; align-items: center; gap: 12px;
}
.produkt-qty-label {
    font-size: 14px; font-weight: 600; color: #333; white-space: nowrap;
}
.qty-input--lg {
    width: 70px; height: 44px; text-align: center;
    border: 1.5px solid #ddd; border-radius: 10px;
    font-size: 16px; font-weight: 700; color: #111;
    font-family: inherit;
    -moz-appearance: textfield;
}
.qty-input--lg::-webkit-inner-spin-button,
.qty-input--lg::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input--lg:focus { outline: none; border-color: #882626; }
.qty-input--lg:disabled { opacity: .4; background: #f5f5f5; }

.btn-anfragen {
    display: inline-flex; align-items: center; gap: 10px;
    background: #882626; color: #fff;
    border: none; border-radius: 10px;
    padding: 14px 28px; font: 600 15px inherit;
    cursor: pointer; transition: background .15s, transform .1s;
    flex: 1; justify-content: center;
}
.btn-anfragen:hover { background: #6e1e1e; }
.btn-anfragen:active { transform: scale(.98); }
.btn-anfragen .icon-check { display: none; }
.btn-anfragen.in-basket { background: #0e2a47; }
.btn-anfragen.in-basket .icon-add   { display: none; }
.btn-anfragen.in-basket .icon-check { display: block; }
.btn-anfragen svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-zum-korb {
    text-align: center; font-size: 14px; color: #882626;
    text-decoration: none; font-weight: 600;
}
.btn-zum-korb:hover { text-decoration: underline; }

/* Detail-Bereich (Wrapper für Referenzartikel + Detailtext) */
.produkt-detail-section {
    border-top: 1px solid #ebebeb;
    padding-top: 36px;
    margin-bottom: 48px;
}

/* Referenzartikel */
.produkt-referenzartikel {
    font-size: 14px; line-height: 1.6; color: #555;
    margin-top: 20px;
    padding: 16px 18px;
    background: #f8f8f8;
    border-left: 3px solid #882626;
    border-radius: 4px;
}
.produkt-referenzartikel__title {
    display: block;
    font-size: 14px; font-weight: 700; color: #0e2a47;
    margin-bottom: 10px;
}
.produkt-referenzartikel__list {
    font-size: 13px; line-height: 1.7; color: #555;
}

/* Detailtext */
.produkt-detail-text {
    font-size: 15px; line-height: 1.8; color: #333;
}
.produkt-detail-text h2,
.produkt-detail-text h3 { color: #0e2a47; }

/* Kontakt-Sektion auf Produktseite */
.produkt-kontakt {
    margin-top: 48px;
    padding: 32px;
    background: #f8f8f8;
    border-radius: 12px;
}
.produkt-kontakt__title {
    font-size: 20px; font-weight: 700; color: #0e2a47;
    margin: 0 0 8px;
}
.produkt-kontakt__sub {
    font-size: 15px; color: #555; line-height: 1.5;
    margin: 0 0 24px;
}
.produkt-kontakt__cards {
    display: flex; gap: 24px; flex-wrap: wrap;
}
.produkt-kontakt__card {
    display: flex; align-items: center; gap: 20px;
    background: #fff; border-radius: 12px; padding: 16px 24px 16px 16px;
    flex: 1; min-width: 280px;
}
.produkt-kontakt__img {
    width: 140px; height: 140px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
}
.produkt-kontakt__img img {
    width: 100%; height: 100%; object-fit: cover;
}
.produkt-kontakt__info {
    display: flex; flex-direction: column; gap: 3px; text-align: left;
}
.produkt-kontakt__info strong {
    font-size: 16px; color: #0e2a47;
}
.produkt-kontakt__info a {
    font-size: 14px; color: #882626; text-decoration: none;
}
.produkt-kontakt__info a:hover { text-decoration: underline; }
@media (max-width: 600px) {
    .produkt-kontakt { padding: 24px 16px; }
    .produkt-kontakt__card { padding: 12px; gap: 14px; }
    .produkt-kontakt__img { width: 80px; height: 80px; }
}

/* ═══════════════════════════════════════════════════════
   Galerie
   ═══════════════════════════════════════════════════════ */
.produkt-galerie { border-top: 1px solid #ebebeb; padding-top: 36px; }
.produkt-galerie__title {
    font-size: 20px; font-weight: 700; color: #0e2a47;
    margin: 0 0 20px;
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.galerie-item {
    display: block;
    border-radius: 10px; overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f5f5f5;
    cursor: zoom-in;
    transition: transform .15s, box-shadow .15s;
}
.galerie-item:hover { transform: scale(1.03); box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.galerie-item img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

/* ═══════════════════════════════════════════════════════
   Lightbox
   ═══════════════════════════════════════════════════════ */
.lightbox {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 10000;
    background: rgba(0,0,0,.92);
    display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox__inner {
    max-width: 90vw; max-height: 90vh;
    display: flex; align-items: center; justify-content: center;
}
.lightbox__inner img {
    max-width: 100%; max-height: 90vh;
    object-fit: contain; border-radius: 4px;
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: fixed;
    background: rgba(255,255,255,.15); border: none;
    color: #fff; font-size: 28px; cursor: pointer;
    border-radius: 50%; width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { background: rgba(255,255,255,.3); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev  { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 16px; top: 50%; transform: translateY(-50%); }

/* ═══════════════════════════════════════════════════════
   Content-Seiten: Impressum / Datenschutz
   ═══════════════════════════════════════════════════════ */
.content-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}
.content-page h1 {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800; color: #0e2a47;
    margin: 0 0 32px;
}
.content-page h2 {
    font-size: 18px; font-weight: 700;
    color: #0e2a47; margin: 36px 0 10px;
    border-bottom: 1px solid #ebebeb; padding-bottom: 6px;
}
.content-page h3 { font-size: 15px; font-weight: 700; color: #333; margin: 20px 0 6px; }
.content-page p { font-size: 15px; line-height: 1.8; color: #444; margin: 0 0 14px; }
.content-page a { color: #882626; }
.content-page ul { padding-left: 20px; color: #444; line-height: 1.8; }
.content-page li { margin-bottom: 4px; }

/* ── Footer Legal-Links ────────────────────────────────── */
.site-footer__legal {
    text-align: center;
    padding: 12px 24px 20px;
    font-size: 13px;
    color: rgba(0,0,0,.45);
    border-top: 1px solid rgba(0,0,0,.08);
    margin-top: 32px;
}
.site-footer__legal a { color: rgba(0,0,0,.5); text-decoration: none; }
.site-footer__legal a:hover { color: #882626; }

/* ── Kontaktseite ───────────────────────────────────────── */
.kontakt-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}
@media (max-width: 700px) {
    .kontakt-layout { grid-template-columns: 1fr; gap: 32px; }
}
.kontakt-info h2 { font-size: 20px; font-weight: 700; color: #0e2a47; margin: 0 0 16px; }
.kontakt-info p { font-size: 15px; line-height: 1.8; color: #444; margin: 0 0 14px; }
.kontakt-info a { color: #882626; }

.kontakt-form .form-row { margin-bottom: 18px; }
.kontakt-form label { display: block; font-size: 13px; font-weight: 600; color: #0e2a47; margin-bottom: 6px; }
.kontakt-form .req { color: #882626; }
.kontakt-form input, .kontakt-form textarea {
    width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 6px;
    font-size: 15px; font-family: inherit; box-sizing: border-box; background: #fafafa;
    transition: border-color .2s;
}
.kontakt-form input:focus, .kontakt-form textarea:focus {
    outline: none; border-color: #882626; background: #fff;
}
.kontakt-form textarea { resize: vertical; }
.kontakt-success { padding: 32px; background: #f0faf0; border-radius: 10px; border: 1px solid #b6e0b6; }
.kontakt-success h2 { color: #0e2a47; margin: 0 0 10px; }
.form-error-box {
    background: #fff0f0; border: 1px solid #f5c6c6; border-radius: 6px;
    padding: 12px 16px; color: #c0392b; font-size: 14px; margin-bottom: 18px;
}

/* ── Kontaktformular: Label über Input ──────────────────── */
.kontakt-form .form-row {
    display: block !important;
    margin-bottom: 18px;
}

/* ── Globales Mobile-Padding ────────────────────────────── */
@media (max-width: 820px) {
    .inner-container,
    .inner-container-smaller {
      padding-left: 36px;
    padding-right: 36px;
        box-sizing: border-box;
    }
}

/* ── Meta-Bar + Header Fix ──────────────────────────────── */
.meta { z-index: 1100 !important; }
.site-header { top: 35px !important; }
