/* ==========================================================================
   ACORA Katalog — Collection, Accessories, Produktdetail
   Namensraum: .ac-* / --ac-*. Keine bestehenden CMS-Klassen werden berührt.
   ========================================================================== */

:root {
    --ac-petrol: #0F4F52;
    --ac-petrol-deep: #0A3638;
    --ac-forest: #0C2A2C;
    --ac-ink: #0F1E20;
    --ac-sand: #F3F1EC;
    --ac-sand-dark: #ECE9E2;
    --ac-line: #E2DED5;
    --ac-line-soft: #EEEBE4;
    --ac-petrol-soft: #E3ECEB;
    --ac-text-2: #5E6A6C;
    --ac-text-3: #4A5658;
    --ac-mint: #8FC3BF;
    --ac-mint-2: #C6D3D2;
    --ac-mint-dim: #7F9897;
    --ac-paper: #FFFFFF;
    --ac-cork: #B5895B;
    --ac-agave: #D9C29B;
    --ac-agave-line: #B0915F;
    --ac-fiber: #E7EEEE;
    --ac-fiber-line: #93AFAF;
    --ac-bottom: #C3A880;
    --ac-bottom-line: #9F845D;
    --ac-honey: #E8E2D4;
    --ac-honey-line: #CDBF9F;
    --ac-font-head: 'Archivo', 'Space Grotesk', system-ui, sans-serif;
    --ac-font-body: 'Inter', system-ui, sans-serif;
    --ac-font-mono: 'JetBrains Mono', ui-monospace, monospace;
    --ac-ease: cubic-bezier(.2, .7, .2, 1);
    --ac-agave-gap: 92px;
}

/* hidden-Attribut muss zuverlässig ausblenden (auch gegen fremde Styles) */
#product-detail [hidden],
.ac-catalog [hidden] {
    display: none !important;
}

/* --------------------------------------------------------------------------
   Basis-Typo
   -------------------------------------------------------------------------- */

.ac-catalog,
#product-detail {
    font-family: var(--ac-font-body);
    color: var(--ac-ink);
    background: var(--ac-sand);
    line-height: 1.5;
}

.ac-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.ac-h {
    font-family: var(--ac-font-head);
    font-stretch: 118%;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 700;
    margin: 0;
}

.ac-h2 {
    font-family: var(--ac-font-head);
    font-stretch: 118%;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 700;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
    margin: 0;
}

.ac-h2--sm { font-size: clamp(24px, 3vw, 32px); }
.ac-h2--light { color: var(--ac-sand); }

.ac-h3 {
    font-family: var(--ac-font-head);
    font-stretch: 118%;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 700;
    font-size: 18px;
    margin: 0;
}

.ac-kicker {
    font-family: var(--ac-font-mono);
    font-size: 13px;
    letter-spacing: .18em;
    color: var(--ac-petrol);
    margin: 0;
    text-transform: uppercase;
}

.ac-kicker--muted { color: var(--ac-text-2); }
.ac-kicker--mint { color: var(--ac-mint); }

.ac-mono { font-family: var(--ac-font-mono); }

.ac-section__head {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ac-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ac-ink);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--ac-line);
}

.ac-link:hover { color: var(--ac-petrol); text-decoration-color: var(--ac-petrol); }

/* Buttons */
.ac-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 28px;
    font-family: var(--ac-font-body);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color .2s var(--ac-ease), color .2s var(--ac-ease), border-color .2s var(--ac-ease);
}

.ac-btn--light { background: var(--ac-paper); color: var(--ac-ink); }
.ac-btn--light:hover { background: var(--ac-petrol-soft); }

.ac-btn--ghost-light { border-color: rgba(255, 255, 255, .6); color: var(--ac-paper); background: transparent; }
.ac-btn--ghost-light:hover { border-color: var(--ac-paper); }

.ac-btn--ghost-sand { border-color: var(--ac-sand); color: var(--ac-sand); background: transparent; min-height: 44px; padding: 0 18px; }
.ac-btn--ghost-sand:hover { background: rgba(243, 241, 236, .12); }

/* --------------------------------------------------------------------------
   1) Collection
   -------------------------------------------------------------------------- */

.ac-collection { padding: 96px 0; }

.ac-collection__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 36px;
}

.ac-collection__headline { display: flex; flex-direction: column; gap: 14px; }

.ac-collection__intro {
    margin: 0;
    max-width: 480px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ac-text-3);
}

/* Tabs */
.ac-cats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.ac-cat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    min-height: 150px;
    box-sizing: border-box;
    text-align: left;
    cursor: pointer;
    font-family: var(--ac-font-body);
    background: #FBFAF7;
    color: var(--ac-ink);
    text-decoration: none;
    border: 1px solid var(--ac-line);
    transition: border-color .2s var(--ac-ease), background-color .2s var(--ac-ease);
}

.ac-cat:hover { border-color: var(--ac-petrol); }

.ac-cat.is-active,
.ac-cat[aria-selected="true"] {
    background: var(--ac-petrol);
    color: var(--ac-paper);
    border-color: var(--ac-petrol);
}

.ac-cat:focus-visible,
.ac-btab:focus-visible,
.ac-layer__btn:focus-visible,
.ac-legend__item:focus-visible,
.ac-gallery__switch button:focus-visible,
.ac-spec__row button:focus-visible {
    outline: 2px solid var(--ac-petrol);
    outline-offset: 2px;
}

.ac-cat__num {
    font-family: var(--ac-font-mono);
    font-size: 11px;
    letter-spacing: .14em;
    opacity: .8;
}

.ac-cat.is-active .ac-cat__num,
.ac-cat[aria-selected="true"] .ac-cat__num {
    color: var(--ac-paper);
    opacity: 1;
}

.ac-cat__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    width: 100%;
}

.ac-cat__thumb img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    filter: none;
}

.ac-cat.is-active .ac-cat__thumb img { filter: none; }

.ac-cat__name {
    font-family: var(--ac-font-head);
    font-stretch: 118%;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Fortlaufende Disziplinabschnitte & Grid */
.ac-panel { display: block; }
.ac-discipline { scroll-margin-top: 24px; }
.ac-discipline + .ac-discipline { margin-top: 72px; }

.ac-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/* Das Disziplin-Banner steht immer über allen Boardkarten der Kategorie. */
.ac-intro,
.ac-grid--2 .ac-intro,
.ac-intro--full { grid-column: 1 / -1; }

/* Intro */
.ac-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 460px;
    padding: 32px;
    box-sizing: border-box;
    overflow: hidden;
    background: var(--ac-petrol);
}

.ac-intro > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ac-intro__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 46, 48, 0) 30%, rgba(10, 46, 48, .9) 100%);
}

.ac-intro--solid {
    background:
        radial-gradient(120% 90% at 85% 0%, rgba(143, 195, 191, .18), rgba(143, 195, 191, 0) 55%),
        var(--ac-petrol);
}

.ac-intro__mark {
    position: absolute;
    top: 32px;
    right: 32px;
}

.ac-intro__body {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 560px;
}

.ac-intro__kicker {
    font-family: var(--ac-font-mono);
    font-size: 11px;
    letter-spacing: .16em;
    color: rgba(255, 255, 255, .8);
}

.ac-intro__name {
    font-family: var(--ac-font-head);
    font-stretch: 118%;
    font-weight: 800;
    font-size: 36px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--ac-paper);
}

.ac-intro__desc {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ac-paper);
}

/* Board-Karten */
.ac-card {
    display: flex;
    flex-direction: column;
    background: var(--ac-paper);
    border: 1px solid var(--ac-line);
    color: var(--ac-ink);
    text-decoration: none;
    transition: border-color .2s var(--ac-ease);
}

.ac-card:hover { border-color: var(--ac-petrol); }
.ac-card:hover .ac-card__name { color: var(--ac-petrol); }

.ac-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    padding: 24px 28px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--ac-line-soft);
    background: var(--ac-paper);
}

.ac-card__media img {
    max-width: 100%;
    max-height: 144px;
    object-fit: contain;
}

.ac-card__media--empty { background: var(--ac-sand); }

.ac-card__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 24px 24px;
    flex-grow: 1;
}

.ac-card__top { display: flex; flex-direction: column; gap: 6px; }

.ac-card__discipline {
    font-family: var(--ac-font-mono);
    font-size: 12px;
    letter-spacing: .12em;
    color: var(--ac-text-2);
}

.ac-card__name {
    font-family: var(--ac-font-head);
    font-stretch: 118%;
    font-weight: 800;
    font-size: 30px;
    line-height: 1;
    text-transform: uppercase;
    transition: color .2s var(--ac-ease);
}

.ac-card__claim {
    font-size: 15px;
    color: var(--ac-petrol);
    font-weight: 500;
}

.ac-card__specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 14px 0;
    border-top: 1px solid var(--ac-line-soft);
    border-bottom: 1px solid var(--ac-line-soft);
}

.ac-card__spec { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.ac-card__spec-label {
    font-family: var(--ac-font-mono);
    font-size: 10px;
    letter-spacing: .1em;
    color: var(--ac-text-2);
}

.ac-card__spec-value {
    font-family: var(--ac-font-mono);
    font-size: 13px;
    white-space: normal;
    overflow-wrap: normal;
}

.ac-card__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 12px;
}

.ac-card__price {
    font-family: var(--ac-font-head);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: .02em;
}

.ac-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--ac-ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: background-color .2s var(--ac-ease), color .2s var(--ac-ease);
}

.ac-card:hover .ac-card__cta { background: var(--ac-ink); color: var(--ac-paper); }

/* --------------------------------------------------------------------------
   2) Accessories
   -------------------------------------------------------------------------- */

.ac-accessories { padding: 96px 0; background: var(--ac-sand-dark); }

.ac-accessories .ac-section__head { margin-bottom: 36px; }

.ac-acc {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ac-acc-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    background: var(--ac-paper);
    border: 1px solid var(--ac-line);
    min-height: 130px;
    box-sizing: border-box;
    transition: border-color .2s var(--ac-ease);
}

.ac-acc-card:hover { border-color: var(--ac-petrol); }

.ac-acc-card__name {
    font-family: var(--ac-font-head);
    font-stretch: 118%;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ac-acc-card__fits { font-size: 13px; line-height: 1.5; color: var(--ac-text-2); }

.ac-acc-card__price {
    margin-top: auto;
    font-family: var(--ac-font-mono);
    font-size: 15px;
    font-weight: 500;
    color: var(--ac-petrol);
}

/* --------------------------------------------------------------------------
   3) Produktdetail — Kategorie-Leiste
   -------------------------------------------------------------------------- */

#product-detail { background: var(--ac-paper); }

.ac-catbar {
    background: var(--ac-petrol);
    color: var(--ac-paper);
}

.ac-catbar__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    padding-top: 40px;
    padding-bottom: 32px;
}

.ac-catbar__left { display: flex; flex-direction: column; gap: 10px; }

.ac-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-family: var(--ac-font-mono);
    font-size: 12px;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .75);
}

.ac-breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.ac-breadcrumb a:hover { color: var(--ac-paper); text-decoration: underline; }
.ac-breadcrumb__current { color: var(--ac-paper); }

.ac-catbar__title {
    font-family: var(--ac-font-head);
    font-stretch: 118%;
    font-weight: 800;
    font-size: 44px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0;
    color: var(--ac-paper);
}

.ac-btabs { display: flex; flex-wrap: wrap; gap: 6px; }

.ac-btab {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    font-family: var(--ac-font-head);
    font-stretch: 112%;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    color: var(--ac-paper);
    border: 1px solid rgba(255, 255, 255, .45);
    transition: background-color .2s var(--ac-ease), color .2s var(--ac-ease);
}

.ac-btab:hover { border-color: var(--ac-paper); }

.ac-btab.is-active,
.ac-btab[aria-selected="true"] {
    background: var(--ac-paper);
    color: var(--ac-petrol);
    border-color: var(--ac-paper);
}

/* --------------------------------------------------------------------------
   3) Produktbereich
   -------------------------------------------------------------------------- */

.ac-detail { padding: 64px 0 64px; background: var(--ac-paper); }

.ac-detail__cols {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 56px;
}

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

.ac-gallery__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 440px;
    padding: 40px;
    box-sizing: border-box;
    background: var(--ac-sand);
}

.ac-gallery__stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ac-gallery__label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-family: var(--ac-font-mono);
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--ac-text-2);
}

.ac-gallery__switch {
    display: flex;
    gap: 0;
    border: 1px solid var(--ac-ink);
    align-self: flex-start;
}

.ac-gallery__switch button {
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-right: 1px solid var(--ac-ink);
    font: 600 12px var(--ac-font-body);
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    background: transparent;
    color: var(--ac-ink);
    transition: background-color .2s var(--ac-ease), color .2s var(--ac-ease);
}

.ac-gallery__switch button:last-child { border-right: 0; }

.ac-gallery__switch button.is-active,
.ac-gallery__switch button[aria-pressed="true"] {
    background: var(--ac-ink);
    color: var(--ac-paper);
}

.ac-gallery__action {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.ac-detail__info { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

.ac-detail__info > .ac-kicker { margin-bottom: -10px; }

.ac-detail__name {
    font-family: var(--ac-font-head);
    font-stretch: 118%;
    font-weight: 800;
    font-size: clamp(40px, 5vw, 64px);
    line-height: .95;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0;
}

.ac-detail__claim {
    margin: -12px 0 0;
    font-size: 19px;
    font-weight: 600;
    color: var(--ac-petrol);
}

.ac-detail__desc {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ac-text-3);
}

.ac-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.ac-tag {
    font-family: var(--ac-font-mono);
    font-size: 12px;
    padding: 7px 11px;
    border: 1px solid #C9C4B8;
    background: var(--ac-paper);
}

.ac-techlist { display: flex; flex-direction: column; gap: 12px; }

.ac-techlist .ac-h3 { padding-bottom: 10px; border-bottom: 2px solid var(--ac-ink); }

.ac-techlist ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ac-techlist li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    font-size: 15px;
    line-height: 1.5;
}

.ac-techlist li svg { margin-top: 3px; }
.ac-techlist li strong { font-weight: 600; }

.ac-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--ac-line);
}

.ac-facts__cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
}

.ac-facts__cell + .ac-facts__cell { border-left: 1px solid var(--ac-line); }

.ac-facts__label {
    font-family: var(--ac-font-mono);
    font-size: 10px;
    letter-spacing: .12em;
    color: var(--ac-text-2);
}

.ac-facts__value { font-size: 14px; font-weight: 600; }

/* --------------------------------------------------------------------------
   3) Spec-Tabelle
   -------------------------------------------------------------------------- */

.ac-specs { padding: 0 0 64px; background: var(--ac-paper); }

.ac-specs__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
}

.ac-specs__hint {
    font-family: var(--ac-font-mono);
    font-size: 12px;
    color: var(--ac-text-2);
}

.ac-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--ac-ink);
    background: var(--ac-paper);
}

.ac-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-size: 15px;
}

.ac-table thead th {
    text-align: left;
    padding: 14px 18px;
    font-family: var(--ac-font-mono);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: .1em;
    background: var(--ac-ink);
    color: var(--ac-paper);
    white-space: nowrap;
}

.ac-spec__row {
    cursor: pointer;
    border-top: 1px solid var(--ac-line);
    background: var(--ac-paper);
    transition: background-color .15s var(--ac-ease);
}

.ac-spec__row:hover { background: var(--ac-sand); }

.ac-spec__row.is-active,
.ac-spec__row[aria-selected="true"] {
    background: var(--ac-petrol-soft);
    box-shadow: inset 4px 0 0 var(--ac-petrol);
}

.ac-spec__row th {
    text-align: left;
    padding: 0;
    font-family: var(--ac-font-mono);
    font-weight: 600;
}

.ac-spec__row th button {
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    text-align: left;
    border: 0;
    background: transparent;
    font: 600 15px var(--ac-font-mono);
    cursor: pointer;
    color: var(--ac-ink);
}

.ac-spec__row.is-active th button,
.ac-spec__row.is-active td { color: var(--ac-petrol); }

.ac-spec__row td {
    padding: 14px 18px;
    font-family: var(--ac-font-mono);
}

/* --------------------------------------------------------------------------
   3) Preisblock #buy
   -------------------------------------------------------------------------- */

.ac-buy {
    background: var(--ac-petrol);
    color: var(--ac-paper);
    scroll-margin-top: 24px;
}

.ac-buy__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0;
}

.ac-buy__cell {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 28px;
    border-right: 1px solid rgba(255, 255, 255, .15);
}

.ac-buy__cell:last-child { border-right: 0; }

.ac-buy__label {
    font-family: var(--ac-font-mono);
    font-size: 11px;
    letter-spacing: .14em;
    color: rgba(255, 255, 255, .75);
}

.ac-buy__price {
    font-family: var(--ac-font-head);
    font-stretch: 118%;
    font-weight: 800;
    font-size: 44px;
    line-height: 1;
}

.ac-buy__meta {
    font-family: var(--ac-font-mono);
    font-size: 12px;
    color: rgba(255, 255, 255, .8);
}

.ac-buy__note {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .65);
    border-left: 2px solid rgba(255, 255, 255, .35);
    padding-left: 10px;
    max-width: 40ch;
}

.ac-buy__eq-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.ac-buy__eq-row:last-child { border-bottom: 0; padding-bottom: 0; }

.ac-buy__eq-row .ac-mono { color: rgba(255, 255, 255, .9); }

.ac-buy__actions { justify-content: center; gap: 10px; }

.ac-buy__actions .ac-btn { width: 100%; box-sizing: border-box; }

/* --------------------------------------------------------------------------
   3) Agave Core Sektion
   -------------------------------------------------------------------------- */

.ac-agave {
    padding: 112px 0;
    background: var(--ac-forest);
    color: var(--ac-sand);
    overflow: hidden;
}

.ac-agave__inner { display: flex; flex-direction: column; gap: 56px; }

.ac-agave__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
}

.ac-agave__lead { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }

.ac-agave__intro {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ac-mint-2);
}

.ac-agave__controls { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

.ac-agave__body {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
    align-items: center;
}

/* Lagen-Stack */
.ac-stack {
    position: relative;
    height: calc(140px + 4 * var(--ac-agave-gap));
    transition: height .5s var(--ac-ease);
}

.ac-stack__shadow {
    position: absolute;
    left: 50%;
    top: calc(120px + 4 * var(--ac-agave-gap));
    width: 520px;
    max-width: 100%;
    height: 120px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0));
    transition: top .5s var(--ac-ease);
}

.ac-layer {
    position: absolute;
    left: 50%;
    top: calc(24px + var(--i) * var(--ac-agave-gap));
    width: min(480px, 92%);
    height: 150px;
    margin-left: calc(min(480px, 92%) / -2);
    transition: top .5s var(--ac-ease), transform .5s var(--ac-ease);
}

.ac-layer__btn {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transform: rotateX(58deg) rotateZ(-28deg);
    transition: box-shadow .3s var(--ac-ease), transform .5s var(--ac-ease), outline-color .2s var(--ac-ease);
    outline: 2px solid transparent;
    outline-offset: 6px;
}

/* Lagen-Texturen (Reihenfolge gemäß agave_layers) */
.ac-layer--1 { /* Traction — Korkpunkte */
    background:
        radial-gradient(circle at 25% 40%, rgba(138, 99, 60, .9) 2.5px, transparent 3px),
        radial-gradient(circle at 70% 60%, rgba(138, 99, 60, .9) 2.5px, transparent 3px),
        radial-gradient(circle at 45% 75%, rgba(138, 99, 60, .7) 2px, transparent 2.5px),
        radial-gradient(circle at 82% 30%, rgba(138, 99, 60, .7) 2px, transparent 2.5px),
        radial-gradient(circle at 12% 68%, rgba(138, 99, 60, .8) 2px, transparent 2.5px),
        var(--ac-cork);
    background-size: 90px 70px, 110px 80px, 70px 60px, 100px 90px, 80px 60px, auto;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .3);
}

.ac-layer--2,
.ac-layer--4 { /* Laminat — Fasergewebe */
    background:
        repeating-linear-gradient(45deg, rgba(147, 175, 175, .55) 0 1px, transparent 1px 12px),
        repeating-linear-gradient(-45deg, rgba(147, 175, 175, .55) 0 1px, transparent 1px 12px),
        var(--ac-fiber);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .28);
}

.ac-layer--3 { /* Agave Core — Holzfaser */
    background:
        repeating-linear-gradient(175deg, rgba(176, 145, 95, .8) 0 1.5px, transparent 1.5px 9px),
        repeating-linear-gradient(178deg, rgba(176, 145, 95, .5) 0 1px, transparent 1px 14px),
        var(--ac-agave);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .3);
}

.ac-layer--5 { /* Bottom shape — Holz mit Kanälen */
    background:
        repeating-linear-gradient(176deg, rgba(159, 132, 93, .8) 0 1.5px, transparent 1.5px 11px),
        var(--ac-bottom);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .3);
}

.ac-layer--5::after {
    content: "";
    position: absolute;
    inset: 18% 10%;
    background:
        linear-gradient(90deg, transparent 0 12%, rgba(125, 102, 68, .9) 12% 15%, transparent 15% 85%, rgba(125, 102, 68, .9) 85% 88%, transparent 88%);
    border-radius: 50%;
}

.ac-layer.is-active .ac-layer__btn {
    outline-color: rgba(255, 255, 255, .95);
    box-shadow: 0 0 0 6px rgba(143, 195, 191, .25), inset 0 0 0 2px rgba(255, 255, 255, .6);
}

.ac-layer__num {
    position: absolute;
    left: -36px;
    top: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-family: var(--ac-font-mono);
    font-size: 11px;
    background: transparent;
    color: var(--ac-sand);
    border: 1px solid rgba(243, 241, 236, .5);
    transition: background-color .2s var(--ac-ease), color .2s var(--ac-ease);
}

.ac-layer.is-active .ac-layer__num {
    background: var(--ac-paper);
    color: var(--ac-forest);
    border-color: var(--ac-paper);
}

/* Zusammengefaltet */
.ac-stack.is-collapsed { --ac-agave-gap: 26px; }

.ac-stack.is-collapsed .ac-layer { transform: none; }

.ac-stack.is-collapsed .ac-layer__btn { transform: rotateX(58deg) rotateZ(-28deg) scale(.98); }

/* Legende */
.ac-legend { display: flex; flex-direction: column; gap: 4px; }

.ac-legend__item {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    width: 100%;
    padding: 16px 18px;
    min-height: 52px;
    border: 0;
    border-left: 3px solid transparent;
    background: transparent;
    color: var(--ac-sand);
    text-align: left;
    cursor: pointer;
    font-family: var(--ac-font-body);
    transition: background-color .2s var(--ac-ease), border-color .2s var(--ac-ease);
}

.ac-legend__item:hover { background: rgba(243, 241, 236, .06); }

.ac-legend__item.is-active,
.ac-legend__item[aria-pressed="true"] {
    border-left-color: var(--ac-paper);
    background: rgba(243, 241, 236, .08);
}

.ac-legend__num {
    font-family: var(--ac-font-mono);
    font-size: 12px;
    padding-top: 3px;
    opacity: .8;
}

.ac-legend__text { display: flex; flex-direction: column; gap: 6px; text-align: left; }

.ac-legend__name {
    font-family: var(--ac-font-head);
    font-stretch: 118%;
    font-weight: 700;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ac-legend__desc {
    display: none;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ac-mint-2);
}

.ac-legend__item.is-active .ac-legend__desc { display: block; }

.ac-agave__note {
    margin: 16px 0 0;
    font-family: var(--ac-font-mono);
    font-size: 11px;
    line-height: 1.6;
    color: var(--ac-mint-dim);
}

.ac-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    border-top: 1px solid rgba(243, 241, 236, .2);
}

.ac-benefit {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 28px 24px 0 0;
}

.ac-benefit__title {
    font-family: var(--ac-font-head);
    font-stretch: 118%;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--ac-paper);
}

.ac-benefit__text { font-size: 14px; line-height: 1.55; color: #A9BDBC; }

/* --------------------------------------------------------------------------
   3) Board-Zubehör
   -------------------------------------------------------------------------- */

.ac-boardacc { padding: 96px 0; background: var(--ac-sand); }

.ac-boardacc .ac-section__head { margin-bottom: 36px; }

/* --------------------------------------------------------------------------
   3) Kaufbalken
   -------------------------------------------------------------------------- */

.ac-buybar { padding: 56px 0; background: var(--ac-paper); }

.ac-buybar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 36px 40px;
    background: var(--ac-petrol);
    color: var(--ac-paper);
    box-sizing: border-box;
}

.ac-buybar__left { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; min-width: 0; }

.ac-buybar__left img {
    width: 220px;
    max-width: 100%;
    height: 70px;
    object-fit: contain;
    background: var(--ac-paper);
    padding: 8px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.ac-buybar__meta { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.ac-buybar__kicker {
    font-family: var(--ac-font-mono);
    font-size: 12px;
    letter-spacing: .14em;
    color: rgba(255, 255, 255, .75);
}

.ac-buybar__name {
    font-family: var(--ac-font-head);
    font-stretch: 118%;
    font-weight: 800;
    font-size: clamp(20px, 2.6vw, 30px);
    line-height: 1;
    text-transform: uppercase;
}

.ac-buybar__size {
    font-family: var(--ac-font-mono);
    font-size: 12px;
    color: rgba(255, 255, 255, .8);
}

.ac-buybar__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* --------------------------------------------------------------------------
   3) Vergleichstabelle
   -------------------------------------------------------------------------- */

.ac-compare { padding: 96px 0; background: var(--ac-paper); }

.ac-compare .ac-section__head { margin-bottom: 36px; }

.ac-compare .ac-table { min-width: 920px; font-size: 14px; }

.ac-compare .ac-table thead th {
    background: transparent;
    color: var(--ac-text-2);
    border-bottom: 2px solid var(--ac-ink);
}

.ac-compare__table tbody th { text-align: left; padding: 0; }

.ac-compare__table tbody tr { border-bottom: 1px solid var(--ac-line-soft); }
.ac-compare__table tbody tr.ac-compare__current { background: var(--ac-petrol-soft); }

.ac-compare__table td { padding: 12px 16px; }

.ac-compare__table tbody th a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 16px;
    font-family: var(--ac-font-head);
    font-stretch: 118%;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--ac-ink);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: #C9C4B8;
}

.ac-compare__table tbody th a:hover { color: var(--ac-petrol); text-decoration-color: var(--ac-petrol); }

.ac-compare__price { font-weight: 600; }

/* --------------------------------------------------------------------------
   3) Weitere Boards / Zurück
   -------------------------------------------------------------------------- */

.ac-more { padding: 80px 0 0; background: var(--ac-sand); }

.ac-more__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--ac-ink);
    margin-bottom: 28px;
}

.ac-more__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.ac-more__grid--1 { grid-template-columns: minmax(0, 1fr); }
.ac-more__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ac-more__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ac-more-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: var(--ac-paper);
    border: 1px solid var(--ac-line);
    color: var(--ac-ink);
    text-align: left;
    text-decoration: none;
    font-family: var(--ac-font-body);
    transition: border-color .2s var(--ac-ease);
}

.ac-more-card:hover { border-color: var(--ac-petrol); }
.ac-more-card:hover .ac-more-card__name { color: var(--ac-petrol); }

.ac-more-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    width: 100%;
}

.ac-more-card__media img { max-width: 100%; max-height: 90px; object-fit: contain; }

.ac-more-card__discipline {
    font-family: var(--ac-font-mono);
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--ac-text-2);
}

.ac-more-card__name {
    font-family: var(--ac-font-head);
    font-stretch: 118%;
    font-weight: 800;
    font-size: 22px;
    line-height: 1;
    text-transform: uppercase;
    transition: color .2s var(--ac-ease);
}

.ac-backlink { padding: 56px 0 80px; background: var(--ac-sand); }

.ac-backlink__card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 32px 36px;
    background: var(--ac-paper);
    border: 1px solid var(--ac-line);
    color: var(--ac-ink);
    text-decoration: none;
    transition: border-color .2s var(--ac-ease);
}

.ac-backlink__card:hover { border-color: var(--ac-petrol); }
.ac-backlink__card:hover svg { transform: translateX(6px); }

.ac-backlink__card svg { transition: transform .25s var(--ac-ease); }

.ac-backlink__text { display: flex; flex-direction: column; gap: 6px; }

.ac-backlink__title {
    font-family: var(--ac-font-head);
    font-stretch: 118%;
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
    .ac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ac-intro,
    .ac-grid--2 .ac-intro,
    .ac-intro--full { grid-column: 1 / -1; }
    .ac-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ac-acc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ac-detail__cols { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .ac-agave__body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .ac-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ac-compare .ac-table { min-width: 760px; }
}

@media (max-width: 640px) {
    .ac-wrap { padding: 0 20px; }
    .ac-collection { padding: 64px 0; }
    .ac-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ac-grid,
    .ac-acc,
    .ac-more__grid { grid-template-columns: minmax(0, 1fr); }
    .ac-intro { min-height: 340px; }
    .ac-gallery__stage { height: 240px; padding: 16px; }
    .ac-gallery__action { height: 220px; }
    .ac-catbar__title { font-size: 32px; }
    .ac-btabs { display: none; }
    .ac-facts { grid-template-columns: minmax(0, 1fr); }
    .ac-facts__cell + .ac-facts__cell { border-left: 0; border-top: 1px solid var(--ac-line); }
    .ac-buy__cell { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
    .ac-buy__cell:last-child { border-bottom: 0; }
    .ac-buybar__inner { padding: 24px; }
    .ac-buybar__left img { width: 160px; height: 56px; }
    .ac-btn { width: 100%; box-sizing: border-box; }
    .ac-buybar__actions { width: 100%; }
    .ac-agave { padding: 72px 0; }
    .ac-agave__lead { min-width: 0; }
    .ac-agave__lead > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
    .ac-stack { transform: scale(.62); transform-origin: 50% 0; margin-bottom: -180px; }
    .ac-legend { margin-top: 24px; }
    .ac-table-wrap { border-left: 0; border-right: 0; }
    .ac-table { min-width: 0; }
    .ac-specs .ac-table { table-layout: fixed; font-size: 11px; }
    .ac-specs .ac-table thead th { padding: 10px 4px; font-size: 9px; letter-spacing: 0; white-space: normal; }
    .ac-spec__row th button { min-height: 48px; padding: 0 6px; font-size: 11px; }
    .ac-spec__row td { padding: 12px 4px; font-size: 10px; white-space: nowrap; }
    .ac-compare .ac-table { display: block; width: 100%; min-width: 0; }
    .ac-compare .ac-table thead { display: none; }
    .ac-compare .ac-table tbody { display: block; width: 100%; }
    .ac-compare .ac-table tbody tr { display: block; padding: 14px 16px; }
    .ac-compare .ac-table tbody th { display: block; padding: 0 0 8px; }
    .ac-compare .ac-table tbody th a { min-height: 44px; padding: 0; }
    .ac-compare .ac-table td { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; text-align: right; }
    .ac-compare .ac-table td::before { content: attr(data-label); color: var(--ac-text-2); font-family: var(--ac-font-mono); font-size: 10px; text-align: left; }
}

/* Kein horizontaler Overflow bei 320px */
@media (max-width: 360px) {
    .ac-card__specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ac-buybar__left img { width: 100%; height: 64px; }
}

/* --------------------------------------------------------------------------
   Reduced Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .ac-catalog *,
    #product-detail * {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
