/* ============================================================
   Theme "Horizon" (2.26.00)
   Baut auf den Styles des Default-Themes auf (style.css + components.css werden vorher geladen).
   Bewusst ruhig: Flächen in einer Farbe, keine Leucht-/Verlaufseffekte, kleine Rundungen.
   Dunkel (Standard) und hell; Akzent: Primärfarbe aus Admin → Design, im hellen Modus die Sekundärfarbe.
   ============================================================ */

/* ---------- Farben und Grundwerte ---------- */
:root {
    --color-bg:        #0e1016;
    --color-bg-2:      #13161d;
    --color-bg-3:      #191c25;
    --color-bg-card:   #161921;
    --color-border:    #242833;
    --color-border-glow: #343a48;
    --gradient-main:   var(--color-primary);
    --gradient-glow:   var(--color-bg-2);
    --shadow-glow:     none;
    --shadow-glow-violet: none;
    --hz-surface:      #1c2029;
    --hz-on-accent:    #000;
    --hz-nav-bg:       #0e1016;
    --radius-sm:       4px;
    --radius-md:       6px;
    --radius-lg:       8px;
    --radius-xl:       10px;
}

:root[data-theme="light"] {
    color-scheme: light;
    --color-bg:         #f4f5f7;
    --color-bg-2:       #ffffff;
    --color-bg-3:       #eceef2;
    --color-bg-card:    #ffffff;
    --color-border:     #dfe2e8;
    --color-border-glow:#c9cdd6;
    --color-text:       #1b1e26;
    --color-text-muted: #636a78;
    --color-text-light: #3f4552;
    --color-white:      #12141a;
    --hz-surface:       #f0f2f5;
    --hz-on-accent:     #fff;
    --hz-nav-bg:        #ffffff;
    --shadow-sm:        none;
    --shadow-md:        none;
    --shadow-lg:        0 6px 24px rgba(20,24,34,0.08);
}

:root[data-theme="dark"] { color-scheme: dark; }

.theme-horizon { overflow-x: clip; }
.theme-horizon .bg-grid { background-image: none; }
.theme-horizon .gradient-text { background: none; -webkit-text-fill-color: currentColor; color: var(--color-primary); }

/* fest eingetragene Farben des Default-Themes für den hellen Modus */
[data-theme="light"] a:hover { color: var(--color-primary); }
[data-theme="light"] ::selection { background: var(--color-primary-dim); color: var(--color-text); }
[data-theme="light"] .btn-ghost { background: var(--hz-surface); }
[data-theme="light"] .btn-ghost:hover { background: var(--color-bg-3); color: var(--color-text); }
[data-theme="light"] .badge-secondary { background: var(--color-bg-3); }
[data-theme="light"] .table tbody tr:hover { background: var(--hz-surface); }
[data-theme="light"] .footer__social-link { background: var(--color-bg-3); }
[data-theme="light"] .form-control { background: #fff; }
[data-theme="light"] .navbar__hamburger span { background: var(--color-text); }

/* ---------- Effekte des Default-Themes zurücknehmen ---------- */
.theme-horizon .btn,
.theme-horizon .card,
.theme-horizon .cart-summary { box-shadow: none; }
.theme-horizon .btn { border-radius: var(--radius-md); transform: none !important; }
.theme-horizon .btn-primary { background: var(--color-primary); color: var(--hz-on-accent); }
.theme-horizon .btn-primary:hover { color: var(--hz-on-accent); filter: brightness(1.08); }
.theme-horizon .btn-outline { border-color: var(--color-border-glow); color: var(--color-text); }
.theme-horizon .card { border-color: var(--color-border); }
.theme-horizon .product-order-box > .card { border-color: var(--color-border) !important; box-shadow: none !important; }

/* ---------- Navigation ---------- */
.hz-navbar, .hz-navbar.scrolled { background: var(--hz-nav-bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--color-border); }
.hz-navbar .navbar__logo-text { background: none; -webkit-text-fill-color: currentColor; color: var(--color-white); }
.hz-navbar .navbar__nav a { font-weight: 600; background: none; }
.hz-navbar .navbar__nav a.active { color: var(--color-primary); }
.hz-topbar { font-size: 0.78rem; background: var(--color-bg-2); }
.hz-topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hz-topbar__left, .hz-topbar__right { display: flex; align-items: center; gap: 14px; }
.hz-topbar a { color: var(--color-text-muted); display: inline-flex; align-items: center; gap: 6px; }
.hz-topbar a:hover, .hz-topbar a.is-active { color: var(--color-text); }
.hz-lang { display: inline-flex; align-items: center; gap: 8px; color: var(--color-text-muted); }
.hz-lang a.is-active { font-weight: 700; }
.hz-mode { display: inline-flex; gap: 2px; padding: 1px; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.hz-mode button { border: 0; background: transparent; color: var(--color-text-muted); width: 24px; height: 20px; border-radius: var(--radius-sm); cursor: pointer; font-size: 0.72rem; }
.hz-mode button:hover { color: var(--color-text); }
[data-mode="light"] .hz-mode [data-hz-mode="light"],
[data-mode="system"] .hz-mode [data-hz-mode="system"],
[data-mode="dark"] .hz-mode [data-hz-mode="dark"] { background: var(--color-bg-3); color: var(--color-text); }

/* Ausklapp-Menü an Kategorie-Links */
.hz-nav-item { position: relative; display: flex; align-items: center; }
.hz-nav-item > a i { font-size: 0.65rem; margin-left: 4px; opacity: 0.7; }
.hz-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 560px; z-index: 50;
    padding: 16px; margin-top: 8px; display: none;
    background: var(--color-bg-2); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.hz-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.hz-nav-item:hover > .hz-menu, .hz-nav-item:focus-within > .hz-menu { display: block; }
.hz-menu__search { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 0 10px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg); }
.hz-menu__search i { color: var(--color-text-muted); font-size: 0.8rem; }
.hz-menu__search input { flex: 1; border: 0; background: transparent; color: var(--color-text); height: 34px; font: inherit; font-size: 0.86rem; outline: none; }
.hz-menu__label { font-size: 0.74rem; color: var(--color-text-muted); margin-bottom: 8px; }
.hz-menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.hz-menu .hz-menu__grid a { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: var(--radius-md); font-weight: 500; font-size: 0.86rem; color: var(--color-text); }
.hz-menu .hz-menu__grid a:hover { background: var(--color-bg-3); }
.hz-menu__grid img, .hz-menu__thumb { width: 54px; height: 30px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; background: var(--color-bg-3); }
.hz-menu__grid span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hz-menu__grid small { color: var(--color-text-muted); font-size: 0.74rem; white-space: nowrap; }
.hz-menu .hz-menu__all { display: inline-block; margin-top: 12px; font-size: 0.86rem; color: var(--color-primary); }

/* ---------- Allgemeine Bausteine ---------- */
.hz-badge {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 2px 8px; border-radius: var(--radius-sm); font-size: 0.7rem; font-weight: 700;
    background: var(--color-primary); color: var(--hz-on-accent);
}
.hz-badge--danger { background: var(--color-danger); color: #fff; }
.hz-badge--sale { background: var(--color-warning); color: #000; }
.hz-badge--bottom { top: auto; bottom: 10px; }
.hz-badge--inline { position: static; }
.hz-block-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; }
.hz-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; margin-bottom: 10px; color: var(--color-text-muted); }
.hz-crumbs a { color: var(--color-text-muted); }
.hz-crumbs a:hover { color: var(--color-text); }
.hz-crumbs .is-current { color: var(--color-text-light); }

/* volle Breite aus dem .container heraus */
.hz-page-head, .hz-product-hero { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

/* ---------- Startseite ---------- */
.hz-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--color-border); }
.hz-hero__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hz-hero__title { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; line-height: 1.15; margin-bottom: 18px; color: var(--color-white); letter-spacing: -0.01em; }
.hz-hero__subtitle { color: var(--color-text-light); font-size: 1.02rem; line-height: 1.7; max-width: 520px; margin-bottom: 26px; }
.hz-hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.hz-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hz-tiles--1 { grid-template-columns: 1fr; }
.hz-tile {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 170px; padding: 14px; border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--color-border); background: var(--color-bg-3); color: #fff;
}
.hz-tile:hover { color: #fff; border-color: var(--color-border-glow); }
.hz-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hz-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,0.78) 100%); }
.hz-tile > :not(img) { position: relative; z-index: 1; }
.hz-tile__name { font-weight: 700; font-size: 1.05rem; }
.hz-tile__from { font-size: 0.82rem; color: rgba(255,255,255,0.85); }
.hz-tile--plain { background: var(--color-bg-card); color: var(--color-text); }
.hz-tile--plain::after { display: none; }
.hz-tile--plain:hover { color: var(--color-text); }
.hz-tile--plain .hz-tile__from { color: var(--color-text-muted); }

.hz-benefits { border-bottom: 1px solid var(--color-border); background: var(--color-bg-2); }
.hz-benefits__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; padding-top: 14px; padding-bottom: 14px; font-size: 0.86rem; color: var(--color-text-light); }
.hz-benefits__inner i { color: var(--color-primary); margin-right: 6px; font-size: 0.8rem; }

.hz-section { padding: 56px 0; }
.hz-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.hz-section__head h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 800; }
.hz-section__link { font-size: 0.9rem; font-weight: 600; }
.hz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }

.hz-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    padding: 28px 32px; border-radius: var(--radius-lg); border: 1px solid var(--color-border); background: var(--color-bg-2);
}
.hz-cta h2 { font-size: 1.35rem; margin-bottom: 4px; }
.hz-cta p { color: var(--color-text-muted); }
.hz-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.theme-horizon .section--tech-stack { border-top: 1px solid var(--color-border); background: none; }

/* ---------- Produktkarte (kompakt) ---------- */
.hz-card {
    display: flex; flex-direction: column; overflow: hidden; color: var(--color-text);
    background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
    transition: border-color var(--transition);
}
.hz-card:hover { color: var(--color-text); border-color: var(--color-primary); }
.hz-card__media { position: relative; aspect-ratio: 460 / 215; background: var(--color-bg-3); overflow: hidden; }
.hz-card__media img { width: 100%; height: 100%; object-fit: cover; }
.hz-card__placeholder { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--color-text-muted); }
.hz-card__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.hz-card__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 0.72rem; color: var(--color-text-muted); }
.hz-card__rating { margin-left: auto; white-space: nowrap; }
.hz-card__name { font-weight: 700; font-size: 0.98rem; color: var(--color-white); }
.hz-card__tagline { font-size: 0.8rem; color: var(--color-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hz-card__footer { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.hz-card__from { font-size: 0.74rem; color: var(--color-text-muted); }
.hz-card__price { font-size: 1.1rem; font-weight: 800; color: var(--color-white); }
.hz-card__period { font-size: 0.74rem; color: var(--color-text-muted); }
.hz-card .price-strike { font-size: 0.78rem; }
.hz-card .price-tax-note { flex-basis: 100%; font-size: 0.68rem; color: var(--color-text-muted); }

/* ---------- Shop / Kategorie ---------- */
.hz-page-head { margin-top: -32px; margin-bottom: 24px; padding: 28px 0 24px; background: var(--color-bg-2); border-bottom: 1px solid var(--color-border); }
.hz-page-head__title { font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 800; color: var(--color-white); }
.hz-page-head__desc { color: var(--color-text-muted); max-width: 760px; margin-top: 6px; font-size: 0.92rem; }

.hz-shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: flex-start; }
.hz-shop__aside { position: sticky; top: calc(var(--nav-height) + 16px); display: flex; flex-direction: column; gap: 18px; max-height: calc(100vh - var(--nav-height) - 32px); overflow-y: auto; padding-right: 4px; }
.hz-aside__block { display: flex; flex-direction: column; gap: 8px; }
.hz-aside__title { font-size: 0.74rem; font-weight: 700; color: var(--color-text-muted); }
.hz-aside__search { position: relative; }
.hz-aside__search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--color-text-muted); font-size: 0.8rem; }
.hz-aside__search input { padding-left: 34px; }
.hz-aside__list { list-style: none; display: flex; flex-direction: column; }
.hz-aside__list a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: var(--radius-md); color: var(--color-text-light); font-size: 0.9rem; }
.hz-aside__list a:hover { background: var(--color-bg-3); color: var(--color-text); }
.hz-aside__list a.is-active { background: var(--color-bg-3); color: var(--color-text); font-weight: 700; box-shadow: inset 2px 0 0 var(--color-primary); }
.hz-aside__list a span:first-child { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hz-aside__count { font-size: 0.74rem; color: var(--color-text-muted); }
.hz-aside__list img { width: 46px; height: 22px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.hz-aside__filters { display: grid; gap: 8px; }
.hz-aside__filters label { display: flex; flex-direction: column; gap: 4px; font-size: 0.78rem; color: var(--color-text-muted); }
.hz-aside__reset { font-size: 0.82rem; }

.hz-shop__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; font-size: 0.86rem; color: var(--color-text-muted); }
.hz-shop__toolbar select { width: auto; }
.hz-shop__empty { text-align: center; padding: 64px 20px; border: 1px dashed var(--color-border); border-radius: var(--radius-lg); }

/* ---------- Produktseite ---------- */
.hz-product-hero { position: relative; margin-top: -40px; margin-bottom: 28px; min-height: 320px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #0a0b10; }
.hz-product-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hz-product-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,13,0.92) 0%, rgba(8,9,13,0.6) 55%, rgba(8,9,13,0.3) 100%); }
.hz-product-hero__inner { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 32px; }
.hz-product-hero .hz-crumbs a, .hz-product-hero .hz-crumbs, .hz-product-hero .hz-crumbs .is-current { color: rgba(255,255,255,0.7); }
.hz-product-hero__cat { font-size: 0.86rem; color: rgba(255,255,255,0.75); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.hz-product-hero__title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; line-height: 1.1; color: #fff; margin-bottom: 8px; }
.hz-product-hero__tagline { color: rgba(255,255,255,0.8); max-width: 620px; margin-bottom: 12px; }
.hz-product-hero__rating { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.85); font-size: 0.86rem; margin-bottom: 18px; }
.hz-product-hero__rating:hover { color: #fff; }
.hz-product-hero .btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.18); }
.hz-product-hero .btn-ghost:hover { background: rgba(255,255,255,0.14); color: #fff; }
.hz-product-hero--plain { background: var(--color-bg-2); color: var(--color-text); min-height: 0; border-bottom: 1px solid var(--color-border); }
.hz-product-hero--plain::after { display: none; }
.hz-product-hero--plain .hz-product-hero__title { color: var(--color-white); }
.hz-product-hero--plain .hz-product-hero__tagline,
.hz-product-hero--plain .hz-product-hero__rating,
.hz-product-hero--plain .hz-product-hero__cat,
.hz-product-hero--plain .hz-crumbs, .hz-product-hero--plain .hz-crumbs a, .hz-product-hero--plain .hz-crumbs .is-current { color: var(--color-text-muted); }
.hz-product-hero--plain .btn-ghost { background: var(--hz-surface); color: var(--color-text); border-color: var(--color-border); }

.hz-specs { margin-bottom: 24px; }
.hz-specs__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); column-gap: 28px; }
.hz-specs__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--color-border); font-size: 0.9rem; }
.hz-specs__label { color: var(--color-text-muted); }
.hz-specs__value { color: var(--color-white); text-align: right; }

.hz-tariffs { margin-bottom: 24px; }
.hz-tariffs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.hz-tariff {
    position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px;
    background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); color: var(--color-text);
}
.hz-tariff:hover { color: var(--color-text); border-color: var(--color-border-glow); }
.hz-tariff.is-current { border-color: var(--color-primary); }
.hz-tariff__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hz-tariff__name { font-weight: 700; font-size: 0.92rem; color: var(--color-white); }
.hz-tariff__flag { font-size: 0.68rem; font-weight: 700; color: var(--color-primary); white-space: nowrap; }
.hz-tariff__price strong { font-size: 1.25rem; color: var(--color-white); }
.hz-tariff__price span { font-size: 0.74rem; color: var(--color-text-muted); margin-left: 4px; }
.hz-tariff__specs { list-style: none; display: flex; flex-direction: column; font-size: 0.8rem; flex: 1; }
.hz-tariff__specs li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--color-border); }
.hz-tariff__specs li span { color: var(--color-text-muted); }
.hz-tariff__specs li strong { font-weight: 600; text-align: right; }

/* ---------- Warenkorb und Kasse ---------- */
.hz-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: -8px 0 24px; }
.hz-steps li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--color-text-muted); }
.hz-steps li:not(:last-child)::after { content: ""; width: 32px; height: 1px; background: var(--color-border); margin-left: 16px; }
.hz-steps__num { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--color-border-glow); font-weight: 700; font-size: 0.75rem; }
.hz-steps li.is-current { color: var(--color-text); font-weight: 700; }
.hz-steps li.is-current .hz-steps__num { background: var(--color-primary); border-color: var(--color-primary); color: var(--hz-on-accent); }
.hz-steps li.is-done .hz-steps__num { color: var(--color-primary); }
.hz-steps a { color: inherit; }

.theme-horizon .cart-layout .cart-summary { position: sticky; top: calc(var(--nav-height) + 20px); }
.theme-horizon .cart-summary { background: var(--color-bg-card); border: 1px solid var(--color-border); }
.theme-horizon .checkout-layout h3 > span:first-child { background: var(--color-primary) !important; color: var(--hz-on-accent) !important; }

/* ---------- Responsiv ---------- */
@media (max-width: 1024px) {
    /* Ausklapp-Menü nur mit Maus; auf Tablet/Handy führt der Link direkt zur Kategorie */
    .hz-menu, .hz-nav-item > a i { display: none !important; }
}
@media (max-width: 768px) {
    /* Hauptlinks stecken im Menü: Warenkorb/Konto rechts neben das Menü-Symbol */
    .hz-navbar .navbar__actions { margin-left: auto; }
}
@media (max-width: 991px) {
    /* Produktseite einspaltig: Preis und Bestellung direkt unter den Kopfbereich statt ganz ans Ende */
    .theme-horizon .product-layout > .product-order-box { order: -1; position: static; }
    /* Tarife als wischbare Reihe statt langer Liste */
    .hz-tariffs__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(230px, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
    .hz-tariff { scroll-snap-align: start; }
}
@media (max-width: 960px) {
    .hz-hero { padding: 36px 0; }
    .hz-hero__inner { grid-template-columns: 1fr; gap: 28px; }
    .hz-shop { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .hz-shop > * { min-width: 0; }
    .hz-shop__aside { position: static; max-height: none; overflow: visible; padding-right: 0; }
    .hz-aside__block--popular { display: none; }
    .hz-aside__list--cats { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
    .hz-aside__list--cats a { white-space: nowrap; border: 1px solid var(--color-border); }
    .hz-aside__filters { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .theme-horizon .cart-layout,
    .theme-horizon .checkout-layout { grid-template-columns: 1fr !important; }
    .theme-horizon .cart-layout .cart-summary,
    .theme-horizon .checkout-layout .cart-summary { position: static !important; }
}
@media (max-width: 768px) {
    /* Warenkorb: Artikel oben, darunter Menge, Preis und Entfernen in einer Zeile */
    .theme-horizon .cart-item { grid-template-columns: auto 1fr auto; gap: 12px; }
    .theme-horizon .cart-item > :first-child { grid-column: 1 / -1; }
    .theme-horizon .cart-item > :nth-child(2) { width: auto; }
}
@media (max-width: 640px) {
    /* Schrittanzeige in einer Zeile */
    .hz-steps { gap: 6px 10px; flex-wrap: nowrap; }
    .hz-steps li { font-size: 0.8rem; gap: 6px; }
    .hz-steps li:not(:last-child)::after { width: 12px; margin-left: 4px; }
}
@media (max-width: 380px) {
    /* sehr schmale Handys: nur der aktuelle Schritt mit Text */
    .hz-steps li:not(.is-current) > :not(.hz-steps__num) { display: none; }
}
@media (max-width: 640px) {
    /* Platz für Warenkorb, Anmelden und Menü-Symbol */
    .hz-navbar .navbar__inner { gap: 12px; }
    .hz-navbar .navbar__logo-text,
    .hz-navbar .navbar__actions a[href$="/register"] { display: none; }
    .hz-topbar__left .hz-lang a:not(.is-active) { display: none; }
    .hz-topbar__right a { font-size: 0; gap: 0; }
    .hz-topbar__right a i { font-size: 0.85rem; }
    .hz-tile { min-height: 130px; }
    .hz-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .hz-cta { padding: 20px; }
    .hz-product-hero { min-height: 260px; }
}
