/*
 * PM Wegweiser Design, Runde 2 nach Mikes Hinweisen vom 31.10.2026.
 * Läuft über wegweiser.css (Kopf, Fuß, Farben, Bühne, Wegleiste) und ersetzt die Seiteninhalte.
 * Bruchstelle Handy/Desktop: 900 px. Klassen beginnen mit pmr-.
 */

/* Grundlagen */
.pmww .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.pmww .pmr-i {
    flex: none;
    display: block;
}

.pmww .pmr-muted {
    color: var(--pmww-muted);
}

.pmww .pmr-small {
    font-size: 0.9rem;
}

.pmww .pmr-h1 {
    margin: 0;
    font-size: 3.1rem;
    line-height: 1.05;
    font-weight: 300;
    letter-spacing: -0.01em;
    color: var(--pmww-light);
}

.pmww .pmr-h2 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 300;
    color: var(--pmww-light);
}

.pmww .pmr-h2--dark {
    color: var(--pmww-g2);
}

.pmww .pmr-h2 .pmr-muted {
    font-size: 1.05rem;
    font-weight: 600;
}

.pmww .pmr-h3 {
    margin: 0 0 6px;
    font-size: 1.6rem;
    line-height: 1.15;
    font-weight: 300;
    color: var(--pmww-g2);
}

.pmww .pmr-lead {
    margin: 8px 0 0;
    color: var(--pmww-pale);
    font-size: 1.15rem;
}

.pmww .pmr-label {
    margin: 22px 2px 10px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pmww-muted);
}

.pmww .pmr-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--pmww-shadow);
    padding: 26px 28px;
}

.pmww .pmr-card p {
    margin: 0;
}

.pmww .pmr-card--sand {
    background: var(--pmww-sand);
}

.pmww .pmr-card--sand p {
    color: #3c5a51;
}

.pmww .pmr-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
}

.pmww .pmr-cards > * {
    flex: 1 1 420px;
}

.pmww .pmr-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    margin-top: 14px;
    padding: 0 20px;
    border-radius: 12px;
    background: var(--pmww-g3);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.15s;
}

.pmww a.pmr-btn:hover {
    background: var(--pmww-g1);
    color: #fff;
}

.pmww .pmr-btn--sm {
    margin-top: 0;
    min-height: 46px;
    font-size: 1rem;
}

.pmww .pmr-link {
    font-weight: 700;
    font-size: 1rem;
}

.pmww .pmr-note {
    margin: 18px 4px 0;
    font-size: 0.95rem;
}

.pmww .pmr-none {
    margin: 24px 4px 0;
}

.pmww .pmr-go {
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--pmww-mint);
    color: var(--pmww-g3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pmww .pmr-back {
    display: none;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--pmww-sand);
}

.pmww .pmr-steps {
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--pmww-pale);
}

.pmww .pmr-steps .is-now {
    padding: 2px 10px;
    border-radius: 12px;
    background: var(--pmww-sand);
    color: var(--pmww-g1);
}

.pmww .pmr-steps .is-done {
    color: #9fe0b5;
}

.pmww .pmr-mob {
    display: none;
}

/* Filterfeld auf der grünen Bühne */
.pmww .pmr-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 560px;
    height: 58px;
    margin-top: 22px;
    padding: 0 18px;
    border-radius: 14px;
    background: var(--pmww-light);
    color: var(--pmww-g3);
}

.pmww .pmr-filter input,
.pmww .pmr-msearch input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font: inherit;
    font-size: 1.15rem;
    color: var(--pmww-g2);
    outline: 0;
}

.pmww .pmr-filter:focus-within,
.pmww .pmr-msearch__box:focus-within {
    box-shadow: 0 0 0 3px var(--pmww-sand-dark);
}

.pmww .pmr-filter--sm {
    height: 52px;
    margin-top: 18px;
}

/* Bühne mit Foto rechts: das Feld reicht über die ganze Höhe bis an den Rand, das Fahrzeug steht mittig */
.pmww .pmr-stage--photo {
    position: relative;
    min-height: 280px;
    padding-right: 436px;
}

.pmww .pmr-stage__main {
    min-width: 0;
}

.pmww .pmr-stage .pmww-route {
    margin-bottom: 16px;
}

.pmww .pmr-stage__photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 400px;
    margin: 0;
    padding: 28px;
    box-sizing: border-box;
    border-radius: 0 22px 22px 0;
    background: var(--pmr-ph, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Weiche Kanten, damit ein Foto mit Verlauf im Hintergrund nicht als Kasten im Feld steht */
.pmww .pmr-stage__photo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
    mask-composite: intersect;
}

.pmww .pmr-stage__row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pmww .pmr-stage__t {
    flex: 1;
    min-width: 0;
}

.pmww .pmr-stage__mini {
    display: none;
}

/* Startseite */
.pmww .pmr-home {
    padding: 40px 40px 44px;
}

.pmww .pmr-home__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 40px;
}

.pmww .pmr-home__intro {
    flex: 1 1 460px;
}

.pmww .pmr-home .pmr-h1 {
    font-size: 3.25rem;
}

.pmww .pmr-msearch {
    position: relative;
    flex: 1 1 440px;
    max-width: 560px;
    margin: 0;
}

.pmww .pmr-msearch__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--pmww-sand);
}

.pmww .pmr-msearch__box {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 64px;
    padding: 0 18px 0 20px;
    border-radius: 16px;
    background: var(--pmww-light);
    color: var(--pmww-g3);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.pmww .pmr-msearch__box input[type="search"] {
    font-size: 1.25rem;
}

.pmww .pmr-msearch.is-open .pmr-msearch__box {
    border-radius: 16px 16px 0 0;
}

.pmww .pmr-sug {
    position: absolute;
    z-index: 30;
    left: 0;
    right: 0;
    top: 100%;
    max-height: min(70vh, 560px);
    overflow-y: auto;
    padding: 4px 6px 6px;
    border-top: 1px solid var(--pmww-rule);
    border-radius: 0 0 16px 16px;
    background: var(--pmww-light);
    color: var(--pmww-g2);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.25);
}

.pmww .pmr-sug__lbl {
    margin: 8px 6px 2px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pmww-muted);
}

.pmww a.pmr-hit {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr) 20px;
    gap: 12px;
    align-items: center;
    min-height: 66px;
    padding: 0 6px 0 0;
    border-radius: 12px;
    text-decoration: none;
    color: var(--pmww-g2);
}

.pmww a.pmr-hit:hover,
.pmww a.pmr-hit.is-on {
    background: var(--pmww-mint);
    color: var(--pmww-g2);
}

.pmww .pmr-hit__ph {
    width: 108px;
    height: 66px;
    border-radius: 12px 0 0 12px;
    background: #fff;
    border-right: 1px solid var(--pmww-rule);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pmww .pmr-hit__ph img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-sizing: border-box;
    padding: 4px;
}

.pmww .pmr-hit__ph.is-group img {
    opacity: 0.3;
}

.pmww .pmr-hit__nm {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
}

.pmww .pmr-hit__sb {
    display: block;
    font-size: 0.9rem;
    color: var(--pmww-muted);
}

.pmww .pmr-sug mark {
    padding: 0;
    border-radius: 3px;
    background: var(--pmww-sand);
    color: inherit;
}

.pmww a.pmr-sug__all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    margin-top: 4px;
    padding: 0 8px;
    border-top: 1px solid var(--pmww-rule);
    font-weight: 700;
    text-decoration: none;
    color: var(--pmww-g3);
}

.pmww .pmr-sug__empty {
    margin: 10px 8px;
    color: var(--pmww-muted);
}

.pmww .pmr-post {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 32px;
    margin-top: 34px;
}

.pmww .pmr-signs {
    flex: 0 1 500px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 16px;
    border-left: 6px solid var(--pmww-sand-dark);
    border-radius: 3px;
}

.pmww a.pmr-sign {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 76px;
    padding: 0 44px 0 0;
    border-radius: 14px 0 0 14px;
    background: var(--pmww-sand);
    color: var(--pmww-g1);
    text-decoration: none;
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%);
    transition: transform 0.15s, background-color 0.15s;
}

.pmww a.pmr-sign:hover {
    transform: translateX(6px);
    color: var(--pmww-g1);
}

.pmww a.pmr-sign.is-on {
    background: var(--pmww-light);
    transform: translateX(12px);
}

.pmww .pmr-plate {
    width: 84px;
    height: 60px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: none;
}

.pmww .pmr-plate img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-sizing: border-box;
    padding: 4px;
}

/* Im Schild reicht das Bildfeld bis an den linken Rand und über die ganze Höhe */
.pmww a.pmr-sign .pmr-plate {
    position: relative;
    width: 124px;
    height: auto;
    min-height: 76px;
    align-self: stretch;
    border-radius: 14px 0 0 14px;
}

/* Liegt absolut, sonst zieht ein Hochformat-Bild das Schild in die Höhe */
.pmww a.pmr-sign .pmr-plate img {
    position: absolute;
    inset: 0;
    padding: 6px;
}

.pmww .pmr-plate--line {
    width: 108px;
    height: 66px;
    box-shadow: 0 0 0 1px var(--pmww-line);
}

.pmww .pmr-sign__nm b {
    display: block;
    font-size: 1.15rem;
    line-height: 1.2;
}

.pmww .pmr-sign__nm small {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pmww-muted);
}

.pmww .pmr-sign__ct {
    font-size: 0.9rem;
    font-weight: 700;
    color: #3c5a51;
    white-space: nowrap;
}

.pmww .pmr-panels {
    flex: 1 1 480px;
    min-width: 0;
}

.pmww .pmr-panel {
    padding: 28px;
    border: 1px solid rgba(255, 253, 248, 0.14);
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.07);
}

.pmww .pmr-panel[hidden] {
    display: none;
}

.pmww .pmr-panel__sub {
    margin: 4px 0 0;
    color: var(--pmww-pale);
}

.pmww .pmr-years {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.pmww .pmr-years__label {
    margin-right: 4px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--pmww-sand);
}

.pmww button.pmr-fy {
    height: 36px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid rgba(255, 253, 248, 0.28);
    border-radius: 18px;
    background: transparent;
    color: var(--pmww-light);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
}

.pmww button.pmr-fy:hover {
    background: rgba(255, 253, 248, 0.12);
}

.pmww button.pmr-fy.is-on {
    border-color: var(--pmww-sand);
    background: var(--pmww-sand);
    color: var(--pmww-g1);
}

.pmww .pmr-mods {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.pmww a.pmr-mod {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    color: var(--pmww-g2);
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.pmww a.pmr-mod:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    color: var(--pmww-g2);
}

.pmww a.pmr-mod[hidden] {
    display: none;
}

.pmww .pmr-mod__ph {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 132px;
    background: #fff;
}

.pmww .pmr-mod__ph img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-sizing: border-box;
    padding: 6px;
}

.pmww .pmr-mod__ph.is-group img {
    opacity: 0.3;
}

/* „Bild folgt“ über dem blassen Gruppenbild, wenn ein Modell kein eigenes Foto hat */
.pmww .pmr-mod__ph,
.pmww .pmr-hit__ph {
    position: relative;
}

.pmww .pmr-soon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 0 0 1px var(--pmww-line);
    color: var(--pmww-muted);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.pmww .pmr-hit__ph .pmr-soon {
    padding: 1px 6px;
    font-size: 0.66rem;
}

.pmww .pmr-mod__tx {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    padding: 8px 12px 10px;
    border-top: 1px solid var(--pmww-mint);
}

.pmww .pmr-mod__nm {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

/* Baujahr und Teilezahl liegen oben auf dem Bild. Passen beide nicht in eine Zeile, rutscht die Teilezahl darunter. */
.pmww .pmr-mod__mt {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pmww-muted);
    pointer-events: none;
}

.pmww .pmr-yr {
    flex: 0 1 auto;
    min-width: 0;
    height: 24px;
    padding: 0 16px 0 8px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    border-radius: 6px 0 0 6px;
    background: var(--pmww-g3);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}

.pmww a.pmr-mod:hover .pmr-yr {
    background: var(--pmww-g1);
}

.pmww .pmr-mod__pt {
    height: 24px;
    margin-left: auto;
    padding: 0 8px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 0 0 1px var(--pmww-line);
    color: #3c5a51;
    font-weight: 700;
    white-space: nowrap;
}

.pmww a.pmr-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-weight: 700;
    text-decoration: none;
    color: var(--pmww-sand);
}

.pmww a.pmr-more:hover {
    color: var(--pmww-light);
    text-decoration: underline;
}

.pmww .pmr-tiles-wrap {
    display: none;
}

.pmww a.pmr-all {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 32px;
    margin-top: 24px;
    padding: 22px 28px;
    border-radius: 18px;
    background: var(--pmww-sand);
    color: var(--pmww-g1);
    text-decoration: none;
    box-shadow: inset 0 -4px 0 var(--pmww-sand-dark);
    transition: transform 0.15s, box-shadow 0.15s;
}

.pmww a.pmr-all:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 -4px 0 var(--pmww-sand-dark), 0 14px 28px rgba(25, 61, 52, 0.14);
    color: var(--pmww-g1);
}

.pmww .pmr-all__tx {
    flex: 1 1 300px;
}

.pmww .pmr-all__h {
    display: block;
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1.15;
}

.pmww .pmr-all__s {
    display: block;
    margin-top: 4px;
    color: #3c5a51;
}

.pmww .pmr-all__strip {
    display: flex;
    gap: 8px;
}

.pmww .pmr-all__th {
    width: 84px;
    height: 60px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pmww .pmr-all__th img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-sizing: border-box;
    padding: 3px;
}

.pmww .pmr-all__go {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 54px;
    padding: 0 22px;
    border-radius: 14px;
    background: var(--pmww-g3);
    color: #fff;
    font-weight: 800;
    white-space: nowrap;
}

/* Alle Fahrzeuge */
.pmww .pmr-jumps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.pmww a.pmr-jump {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(255, 253, 248, 0.3);
    border-radius: 22px;
    color: var(--pmww-light);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
}

.pmww a.pmr-jump:hover {
    background: rgba(255, 253, 248, 0.14);
    color: #fff;
}

.pmww .pmr-jump__c {
    font-size: 0.9rem;
    color: var(--pmww-pale);
}

.pmww .pmr-grp {
    margin-top: 36px;
    scroll-margin-top: calc(var(--pmww-head, 0px) + 16px);
}

.pmww .pmr-grp[hidden] {
    display: none;
}

.pmww .pmr-grp__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--pmww-line);
}

.pmww .pmr-grp__t {
    flex: 1 1 300px;
    min-width: 0;
}

.pmww .pmr-grp__t .pmr-muted {
    display: block;
    font-weight: 600;
}

.pmww .pmr-mods--big {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.pmww .pmr-mods--big a.pmr-mod {
    box-shadow: 0 8px 24px rgba(25, 61, 52, 0.07);
}

.pmww .pmr-mods--big .pmr-mod__ph {
    height: 176px;
}

.pmww .pmr-mods--big .pmr-mod__nm {
    font-size: 1.1rem;
}

/* Gruppe: Baureihen oder Baujahre mit ihren Modellen */
.pmww .pmr-series {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
    align-items: start;
    margin-top: 24px;
}

.pmww .pmr-br {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--pmww-shadow);
}

.pmww .pmr-br__head {
    display: flex;
    align-items: stretch;
    gap: 12px;
    min-height: 80px;
    padding: 0 0 0 20px;
    border-bottom: 2px solid var(--pmww-mint);
}

.pmww .pmr-br__t {
    flex: 1;
    min-width: 0;
    align-self: center;
    padding: 16px 16px 14px 0;
}

.pmww .pmr-br__h {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1.1;
    color: var(--pmww-g2);
}

.pmww .pmr-br__h a {
    color: inherit;
    text-decoration: none;
}

.pmww .pmr-br__s {
    display: block;
    margin-top: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pmww-muted);
}

/* Bild oben rechts bis an den Kartenrand */
.pmww .pmr-br__ph {
    flex: none;
    width: 176px;
    height: 114px;
    border-left: 1px solid var(--pmww-mint);
    background: var(--pmr-ph, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pmww .pmr-br__ph img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-sizing: border-box;
    padding: 6px;
}

/* Feld in der Farbe des Fotohintergrunds, Kanten laufen weich aus wie in der Bühne */
.pmww .pmr-br__ph img,
.pmww .pmr-stage__mini img {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
    mask-composite: intersect;
}

.pmww a.pmr-vr {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 14px 0 20px;
    color: var(--pmww-g2);
    text-decoration: none;
    transition: background-color 0.15s;
}

.pmww a.pmr-vr + a.pmr-vr {
    border-top: 1px solid var(--pmww-mint);
}

.pmww a.pmr-vr:hover {
    background: #f3f8f5;
    color: var(--pmww-g2);
}

.pmww .pmr-vr__n {
    flex: 1;
    min-width: 0;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.2;
}

.pmww .pmr-vr__c {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pmww-muted);
    white-space: nowrap;
}

/* Modell und Baugruppe */
.pmww .pmr-bgs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.pmww a.pmr-bg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 4px 26px 4px 14px;
    box-sizing: border-box;
    border-radius: 10px 0 0 10px;
    background: rgba(255, 253, 248, 0.12);
    color: var(--pmww-light);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    text-decoration: none;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
}

.pmww a.pmr-bg:hover {
    background: rgba(255, 253, 248, 0.22);
    color: #fff;
}

.pmww a.pmr-bg span {
    font-size: 0.85rem;
    opacity: 0.8;
}

.pmww .pmr-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    margin-top: 24px;
    padding: 16px 24px;
}

.pmww .pmr-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.pmww .pmr-check input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--pmww-g3);
}

.pmww .pmr-sec {
    margin-top: 20px;
    padding: 26px 26px 22px;
    scroll-margin-top: calc(var(--pmww-head, 0px) + 16px);
}

.pmww .pmr-sec[hidden] {
    display: none;
}

.pmww .pmr-sec__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px 24px;
}

.pmww .pmr-sec__body {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 28px;
    margin-top: 18px;
}

.pmww .pmr-sec__body > .pmr-rows,
.pmww .pmr-sec__list {
    flex: 1 1 560px;
    min-width: 0;
}

.pmww .pmr-drawing {
    position: sticky;
    top: calc(var(--pmww-head, 0px) + 16px);
    flex: 0 1 380px;
    min-width: 0;
    margin: 0;
}

.pmww a.pmr-drawing__link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--pmww-rule);
    cursor: zoom-in;
}

.pmww .pmr-drawing__link img {
    display: block;
    width: 100%;
    height: auto;
}

.pmww .pmr-drawing figcaption {
    margin-top: 10px;
}

.pmww .pmr-zoomtag {
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(19, 45, 39, 0.86);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.pmww .pmr-drawcard {
    display: none;
}

.pmww ol.pmr-rows {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pmww .pmr-row {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto auto;
    gap: 18px;
    align-items: center;
    margin: 0;
    padding: 10px 12px;
    border-radius: 14px;
    transition: background-color 0.15s;
}

.pmww .pmr-row + .pmr-row {
    margin-top: 2px;
}

.pmww .pmr-row:hover {
    background: #f3f8f5;
}

.pmww .pmr-only-stock .pmr-row.is-out {
    display: none;
}

.pmww .pmr-only-stock .pmr-sec:not(:has(.pmr-row:not(.is-out))) {
    display: none;
}

.pmww .pmr-th {
    position: relative;
    width: 96px;
    height: 72px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--pmww-rule);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
}

.pmww .pmr-th img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.2s;
}

.pmww .pmr-row:hover .pmr-th img {
    transform: scale(1.08);
}

.pmww .pmr-th.is-dr img {
    max-width: none;
    max-height: none;
    width: 240%;
    opacity: 0.75;
}

.pmww .pmr-tag {
    position: absolute;
    right: 4px;
    bottom: 4px;
    padding: 0 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--pmww-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.pmww .pmr-pos {
    position: absolute;
    left: -1px;
    top: -1px;
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    box-sizing: border-box;
    border-radius: 12px 0 10px 0;
    background: var(--pmww-g3);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pmww .pmr-nm a {
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.25;
    color: var(--pmww-g2);
    text-decoration: none;
}

.pmww .pmr-nm a:hover {
    text-decoration: underline;
}

.pmww .pmr-nm p {
    margin: 2px 0 0;
    font-size: 0.95rem;
    color: var(--pmww-muted);
}

.pmww .pmr-pr-m {
    display: none;
}

.pmww .pmr-in {
    color: #1f6b44;
    font-weight: 700;
}

.pmww .pmr-out {
    color: #8a4b2a;
    font-weight: 700;
}

.pmww .pmr-pr {
    font-weight: 700;
    font-size: 1.25rem;
    white-space: nowrap;
}

.pmww .pmr-pr del {
    font-size: 0.9rem;
    opacity: 0.6;
}

.pmww .pmr-buy .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    margin: 0;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: var(--pmww-g3);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.pmww .pmr-buy .button::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: none;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Cpath d='M3 4h2l2.4 11h11l2-8H6.2'/%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Cpath d='M3 4h2l2.4 11h11l2-8H6.2'/%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pmww .pmr-buy .button:hover {
    background: var(--pmww-g1);
    color: #fff;
}

.pmww .pmr-buy .added_to_cart {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
}

.pmww .pmr-sec.is-plain .pmr-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.pmww .pmr-sec.is-plain .pmr-th {
    display: none;
}

/* Baugruppe wechseln */
.pmww .pmr-pickrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-top: 18px;
}

.pmww a.pmr-pick {
    flex: 0 1 520px;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 8px 8px 8px 16px;
    box-sizing: border-box;
    border-radius: 14px;
    background: var(--pmww-light);
    color: var(--pmww-g2);
    text-decoration: none;
}

.pmww a.pmr-pick:hover {
    color: var(--pmww-g2);
    box-shadow: 0 0 0 3px var(--pmww-sand-dark);
}

.pmww .pmr-pick__tx {
    flex: 1;
    min-width: 0;
}

.pmww .pmr-pick__k {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--pmww-muted);
}

.pmww .pmr-pick__v {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.pmww .pmr-pick__dd {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--pmww-sand);
    color: var(--pmww-g1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pmww .pmr-pn {
    flex: 1 1 360px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.pmww .pmr-pn a {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 48px;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(255, 253, 248, 0.1);
    color: var(--pmww-light);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    overflow: hidden;
}

.pmww .pmr-pn a:hover {
    background: rgba(255, 253, 248, 0.2);
    color: #fff;
}

.pmww .pmr-pn a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pmww .pmr-pn a.is-next {
    grid-column: 2;
    justify-content: flex-end;
}

.pmr-sheet {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pmr-sheet[hidden] {
    display: none;
}

.pmr-sheet__dim {
    position: absolute;
    inset: 0;
    background: rgba(14, 33, 28, 0.55);
}

.pmr-sheet__box {
    position: relative;
    width: min(760px, calc(100vw - 32px));
    max-height: min(80vh, 760px);
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    background: var(--pmww-light);
    color: var(--pmww-g2);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.pmww .pmr-sheet__hd {
    padding: 14px 20px 12px;
    border-bottom: 1px solid var(--pmww-rule);
}

.pmww .pmr-sheet__hd p {
    margin: 2px 0 0;
    font-size: 0.9rem;
}

.pmww .pmr-sheet__grab {
    display: none;
}

.pmww .pmr-sheet__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pmww .pmr-sheet .pmr-h2 {
    font-size: 1.5rem;
}

.pmww button.pmr-x {
    flex: none;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: var(--pmww-mint);
    color: var(--pmww-g2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pmww ol.pmr-sheet__list {
    flex: 1;
    margin: 0;
    padding: 6px 10px 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 8px;
    align-content: start;
}

.pmww .pmr-sheet__list li {
    margin: 0;
}

.pmww a.pmr-opt {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 60px;
    padding: 6px 8px;
    border-radius: 12px;
    color: var(--pmww-g2);
    text-decoration: none;
}

.pmww a.pmr-opt:hover {
    background: #f3f8f5;
    color: var(--pmww-g2);
}

.pmww a.pmr-opt.is-on {
    background: var(--pmww-mint);
}

.pmww .pmr-opt__th {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--pmww-rule);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pmww .pmr-opt__th img {
    max-width: 94%;
    max-height: 94%;
    object-fit: contain;
}

.pmww .pmr-opt__n {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.pmww a.pmr-opt.is-on .pmr-opt__n {
    font-weight: 800;
}

.pmww .pmr-opt__c {
    font-size: 0.9rem;
    color: var(--pmww-muted);
    white-space: nowrap;
}

.pmww .pmr-opt__ck {
    display: flex;
    color: var(--pmww-g3);
}

body.pmr-locked {
    overflow: hidden;
}

/* Produktseite */
.pmww .pmr-tbar {
    margin-top: 18px;
    padding: 18px 24px;
    border: 1px solid rgba(255, 253, 248, 0.14);
    border-radius: 16px;
    background: rgba(255, 253, 248, 0.08);
}

.pmww .pmr-h1--product {
    font-size: 2.6rem;
}

.pmww .pmr-tbar .pmr-lead {
    font-size: 1.05rem;
}

.pmww .pmr-media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.pmww .pmr-media.is-single {
    grid-template-columns: minmax(0, 1fr);
}

.pmww .pmr-pane {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 560px;
    margin: 0;
    padding: 16px;
    box-sizing: border-box;
    border-radius: 18px;
    background: #fff;
    color: var(--pmww-g2);
}

.pmww .pmr-media.is-single .pmr-pane {
    height: auto;
}

.pmww .pmr-cap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin-bottom: 12px;
}

.pmww .pmr-cap__b {
    flex: none;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    box-sizing: border-box;
    border-radius: 11px;
    background: var(--pmww-sand);
    color: var(--pmww-g1);
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pmww .pmr-cap__t {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}

.pmww .pmr-cap__s {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pmww-muted);
}

.pmww a.pmr-view {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 0 1px var(--pmww-rule);
    cursor: zoom-in;
    text-decoration: none;
}

.pmww .pmr-view img {
    max-width: 92%;
    max-height: 94%;
    object-fit: contain;
    transition: transform 0.25s;
}

.pmww .pmr-media.is-single .pmr-view {
    height: 520px;
    flex: none;
}

.pmww a.pmr-view:hover img {
    transform: scale(1.04);
}

.pmww .pmr-view .pmr-zoomtag {
    top: auto;
    bottom: 12px;
    right: 12px;
}

.pmww .pmr-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.pmww button.pmr-tb {
    position: relative;
    width: 96px;
    height: 72px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--pmww-rule);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.15s, transform 0.15s;
}

.pmww button.pmr-tb:hover {
    transform: translateY(-2px);
}

.pmww button.pmr-tb.is-on {
    box-shadow: 0 0 0 3px var(--pmww-sand-dark);
}

.pmww .pmr-tb img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.pmww .pmr-tb small {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(19, 45, 39, 0.82);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.pmww .pmr-pane--empty {
    height: auto;
    align-items: center;
    padding: 30px;
}

.pmww .pmr-pane--empty img {
    max-width: 240px;
}

.pmww .pmr-info {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.pmww .pmr-desc {
    padding: 22px 24px;
    border: 1px solid rgba(255, 253, 248, 0.14);
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.07);
}

.pmww .pmr-desc .pmr-h2 {
    margin-bottom: 12px;
    font-size: 1.6rem;
}

.pmww dl.pmr-facts {
    margin: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 20px;
}

.pmww .pmr-facts dt {
    color: var(--pmww-pale);
    font-weight: 400;
}

.pmww .pmr-facts dd {
    margin: 0;
    font-weight: 600;
}

.pmww .pmr-fits__h {
    margin: 16px 0 10px;
    font-weight: 700;
    color: var(--pmww-sand);
}

.pmww .pmr-fits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pmww .pmr-fit {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    background: rgba(255, 253, 248, 0.1);
    color: var(--pmww-light);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.pmww a.pmr-fit:hover {
    background: rgba(255, 253, 248, 0.2);
    color: #fff;
}

.pmww .pmr-buybox {
    align-self: start;
    padding: 22px;
    border-radius: 18px;
    background: var(--pmww-light);
    color: var(--pmww-g2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.pmww .pmr-buybox a {
    color: var(--pmww-g3);
}

/* Storefront setzt den Preis mit .single-product div.product .summary .price, daher der lange Selektor. */
.single-product .pmww div.product .pmr-buybox .price {
    margin: 0;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--pmww-g2);
}

.pmww .pmr-buybox .legal-price-info,
.pmww .pmr-buybox .wc-gzd-additional-info,
.pmww .pmr-buybox .product_meta {
    font-size: 0.95rem;
    color: var(--pmww-muted);
}

.pmww .pmr-buybox .stock {
    font-weight: 700;
}

.pmww .pmr-buybox .stock.in-stock {
    color: #1f6b44;
}

.pmww .pmr-buybox form.cart {
    display: flex;
    gap: 10px;
    margin: 16px 0 0;
}

.pmww .pmr-buybox form.cart .quantity {
    margin: 0;
}

.pmww .pmr-buybox form.cart .qty {
    width: 84px;
    height: 60px;
    padding: 0;
    border: 1px solid var(--pmww-line);
    border-radius: 14px;
    background: var(--pmww-mint-2);
    box-shadow: none;
    font-size: 1.3rem;
    text-align: center;
}

.pmww .pmr-buybox .single_add_to_cart_button {
    flex: 1;
    height: 60px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 14px;
    background: var(--pmww-sand) !important; /* Storefront färbt .button.alt mit hoher Spezifität */
    color: var(--pmww-g1) !important;
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: inset 0 -3px 0 var(--pmww-sand-dark);
}

.pmww .pmr-buybox .single_add_to_cart_button:hover {
    background: #e9cda8 !important;
}

.pmww .pmr-nbs {
    margin-top: 24px;
    padding: 22px 24px;
}

.pmww .pmr-nbs__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
}

.pmww .pmr-nbs .pmr-h2 {
    font-size: 1.6rem;
}

.pmww .pmr-nbs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 4px 20px;
    margin-top: 10px;
}

.pmww a.pmr-nb {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 8px;
    border-radius: 12px;
    color: var(--pmww-g2);
    text-decoration: none;
}

.pmww a.pmr-nb:hover {
    background: #f3f8f5;
    color: var(--pmww-g2);
}

.pmww .pmr-nb .pmr-th {
    width: 72px;
    height: 54px;
    border-radius: 10px;
}

.pmww .pmr-nb .pmr-pos {
    min-width: 24px;
    height: 24px;
    font-size: 0.8rem;
    border-radius: 0 0 8px 0;
    left: 0;
    top: 0;
}

/* Bildvorschau */
.pmr-lb {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    flex-direction: column;
    padding: 18px 24px 22px;
    box-sizing: border-box;
    background: rgba(14, 33, 28, 0.96);
    color: #fffdf8;
    font-family: inherit;
}

.pmr-lb[hidden] {
    display: none;
}

.pmr-lb__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pmr-lb__cap {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
}

.pmr-lb__cap small {
    display: block;
    font-weight: 600;
    color: #cfe0d8;
}

.pmr-lb button {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.pmr-lb__x {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #f0dbc0 !important;
    color: #132d27 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pmr-lb__stage {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 16px 0;
}

.pmr-lb__fig {
    flex: 1;
    height: 100%;
    margin: 0;
    border-radius: 16px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pmr-lb__fig img {
    max-width: 96%;
    max-height: 96%;
    object-fit: contain;
}

.pmr-lb__nav {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 253, 248, 0.12) !important;
    color: #fffdf8 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pmr-lb__nav:hover {
    background: rgba(255, 253, 248, 0.24) !important;
}

.pmr-lb__thumbs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.pmr-lb__tb {
    position: relative;
    width: 110px;
    height: 82px;
    border-radius: 12px;
    background: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0.6;
}

.pmr-lb__tb.is-on {
    opacity: 1;
    box-shadow: 0 0 0 3px #f0dbc0;
}

.pmr-lb__tb img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.pmr-lb__tb small {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(19, 45, 39, 0.82);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

/* Startseite: lange Modelllisten scrollen im Feld, die Schilder links bleiben sichtbar */
@media (min-width: 901px) {
    .pmww .pmr-panel .pmr-mods {
        max-height: 620px;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 2px 8px 2px 2px;
        scrollbar-color: rgba(255, 253, 248, 0.4) transparent;
    }
}

/* Preis in der Kaufleiste, nur auf dem Handy */
.pmww .pmr-barprice {
    display: none;
}

/* Produkt ohne Foto: Zeichnung links, Kaufbox rechts */
@media (min-width: 901px) {
    .pmww .pmr-pbody.is-single {
        display: grid;
        grid-template-columns: minmax(0, 1.5fr) minmax(340px, 1fr);
        gap: 24px;
        align-items: start;
        margin-top: 24px;
    }

    .pmww .pmr-pbody.is-single .pmr-media,
    .pmww .pmr-pbody.is-single .pmr-info {
        margin-top: 0;
    }

    .pmww .pmr-pbody.is-single .pmr-info {
        grid-template-columns: minmax(0, 1fr);
    }

    .pmww .pmr-pbody.is-single .pmr-buybox {
        order: -1;
    }
}

/* Storefront gibt .summary 41 % Breite und float, in der Kaufbox soll sie die Spalte füllen */
.single-product .pmww div.product .pmr-buybox {
    display: flex;
    flex-direction: column;
    width: auto;
    float: none;
    margin-right: 0;
}

/* Der Gewährleistungshinweis steht unter dem Kaufknopf, sonst schiebt er ihn aus dem Bild */
.pmww .pmr-buybox > .wc-gzd-legal-guarantee {
    order: 10;
}

/* Germanized-Hinweis zur Gewährleistung: Pflichtbild, aber in der Breite der Kaufbox */
.pmww .pmr-buybox .wc-gzd-legal-guarantee img.wc-gzd-legal-guarantee-image-preview {
    display: block;
    width: 100%;
    max-width: min(100%, 200px);
    height: auto;
    margin-top: 12px;
    border-radius: 8px;
}

/* Kopf: breite Suche mit lesbarem „Suchen“ */
@media (min-width: 901px) {
    /* html body.pm-r2 .site-header: stärker als Storefronts .woocommerce-active .site-header .site-search (21,7 %) */
    html body.pm-r2 .site-header .site-search,
    html body.pm-r2 .site-header .site-search .widget_product_search {
        width: 100%;
        max-width: 720px;
    }

    html body.pm-r2 .site-search .aws-search-form {
        height: 56px;
        border-radius: 14px !important;
        box-shadow: 0 6px 16px rgba(25, 61, 52, 0.06);
    }

    html body.pm-r2 .site-search .aws-search-form .aws-search-field {
        min-height: 56px !important;
        padding: 0 20px !important;
        font-size: 1.1rem !important;
    }

    html body.pm-r2 .site-search .aws-search-form .aws-search-btn {
        min-height: 56px !important;
        padding: 0 26px !important;
    }

    html body.pm-r2 .site-search .aws-search-form .aws-search-btn::after {
        font-size: 1.1rem;
        font-weight: 700;
    }
}

/* Handy */
@media (max-width: 900px) {
    .pmww .pmr-h1 {
        font-size: 1.9rem;
        line-height: 1.1;
    }

    .pmww .pmr-h2 {
        font-size: 1.5rem;
    }

    .pmww .pmr-lead {
        font-size: 1rem;
    }

    .pmww .pmr-stage .pmww-route,
    .pmww .pmr-desk,
    .pmww .pmr-bgs {
        display: none;
    }

    .pmww .pmr-back {
        display: inline-flex;
    }

    .pmww .pmr-steps {
        display: flex;
    }

    .pmww .pmr-mob {
        display: block;
    }

    .pmww .pmr-stage {
        padding: 14px 16px 16px;
        border-radius: 20px;
    }

    .pmww .pmr-stage--photo {
        display: block;
        min-height: 0;
    }

    .pmww .pmr-stage__photo {
        display: none;
    }

    .pmww .pmr-stage__mini {
        flex: none;
        width: 96px;
        height: 72px;
        border-radius: 12px;
        background: var(--pmr-ph, #fff);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pmww .pmr-stage__mini img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        box-sizing: border-box;
        padding: 4px;
    }

    .pmww .pmr-filter {
        height: 52px;
        margin-top: 14px;
        padding: 0 14px;
    }

    .pmww .pmr-filter input {
        font-size: 1.05rem;
    }

    .pmww .pmr-card {
        padding: 16px;
    }

    .pmww .pmr-h3 {
        font-size: 1.3rem;
    }

    .pmww .pmr-cards {
        gap: 14px;
        margin-top: 14px;
    }

    .pmww .pmr-cards > * {
        flex-basis: 100%;
    }

    /* Startseite: Kacheln statt Schilder */
    .pmww .pmr-home {
        padding: 22px 16px 16px;
    }

    .pmww .pmr-home .pmr-h1 {
        font-size: 1.95rem;
    }

    .pmww .pmr-home__head {
        display: block;
    }

    .pmww .pmr-msearch {
        margin-top: 14px;
    }

    .pmww .pmr-msearch__label,
    .pmww .pmr-post {
        display: none;
    }

    .pmww .pmr-msearch__box {
        height: 56px;
        padding: 0 14px;
        border-radius: 14px;
    }

    .pmww .pmr-msearch.is-open .pmr-msearch__box {
        border-radius: 14px 14px 0 0;
    }

    .pmww .pmr-msearch__box input[type="search"] {
        font-size: 1.1rem;
    }

    .pmww .pmr-sug {
        position: static;
        max-height: none;
        border-radius: 0 0 14px 14px;
        box-shadow: none;
    }

    .pmww .pmr-tiles-wrap {
        display: block;
    }

    .pmww .pmr-tiles-wrap .pmr-h2 {
        margin: 24px 0 12px;
    }

    .pmww .pmr-tiles {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .pmww a.pmr-tile {
        position: relative;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border-radius: 16px;
        background: #fff;
        color: var(--pmww-g2);
        text-decoration: none;
        box-shadow: 0 6px 18px rgba(25, 61, 52, 0.08);
    }

    .pmww .pmr-tile__ph {
        height: 128px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid var(--pmww-mint);
    }

    .pmww .pmr-tile__ph img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        box-sizing: border-box;
        padding: 4px;
    }

    /* Modellzahl oben rechts auf dem Bild */
    .pmww .pmr-tile__ct {
        position: absolute;
        top: 8px;
        right: 8px;
        height: 24px;
        padding: 0 8px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 0 0 1px var(--pmww-line);
        color: #3c5a51;
        font-size: 0.8rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .pmww .pmr-tile__tx {
        padding: 10px 12px 12px;
    }

    .pmww .pmr-tile__nm {
        display: block;
        font-size: 1.05rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .pmww .pmr-tile__sb {
        display: block;
        margin-top: 2px;
        font-size: 0.8rem;
        font-weight: 600;
        line-height: 1.3;
        color: var(--pmww-muted);
    }

    .pmww a.pmr-tile.is-wide {
        order: -1;
        grid-column: 1 / -1;
    }

    .pmww a.pmr-tile.is-wide .pmr-tile__ph {
        height: 160px;
    }

    .pmww a.pmr-tile.is-row {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
    }

    .pmww a.pmr-tile.is-row .pmr-tile__ph {
        flex: none;
        width: 110px;
        height: 76px;
        border-bottom: 0;
        border-right: 1px solid var(--pmww-mint);
    }

    .pmww a.pmr-all {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-top: 20px;
        padding: 18px 16px 16px;
    }

    .pmww .pmr-all__tx {
        flex-basis: auto;
    }

    .pmww .pmr-all__h {
        font-size: 1.5rem;
    }

    .pmww .pmr-all__s {
        font-size: 0.95rem;
    }

    .pmww .pmr-all__strip {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .pmww .pmr-all__th {
        width: auto;
        height: 52px;
    }

    .pmww .pmr-all__th:nth-child(n + 5) {
        display: none;
    }

    .pmww .pmr-all__go {
        justify-content: center;
    }

    /* Alle Fahrzeuge */
    .pmww .pmr-jumps {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 12px -16px 0;
        padding: 0 16px 2px;
        scrollbar-width: none;
    }

    .pmww a.pmr-jump {
        height: 40px;
        font-size: 0.95rem;
    }

    .pmww .pmr-grp {
        margin-top: 24px;
    }

    .pmww .pmr-grp__head {
        flex-wrap: nowrap;
    }

    .pmww .pmr-grp__head .pmr-btn {
        display: none;
    }

    .pmww .pmr-grp__head .pmr-h2 {
        font-size: 1.4rem;
    }

    .pmww .pmr-mods,
    .pmww .pmr-mods--big {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 14px;
    }

    .pmww .pmr-mods--big .pmr-mod__ph {
        height: 132px;
    }

    .pmww .pmr-mods--big .pmr-mod__nm {
        font-size: 1rem;
    }

    /* Gruppe */
    .pmww .pmr-series {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        margin-top: 16px;
    }

    .pmww .pmr-br__head {
        padding: 0 0 0 16px;
        min-height: 72px;
    }

    .pmww .pmr-br__t {
        padding: 14px 14px 12px 0;
    }

    .pmww .pmr-br__h {
        font-size: 1.55rem;
    }

    .pmww .pmr-br__ph {
        width: 140px;
        height: 96px;
    }

    .pmww a.pmr-vr {
        min-height: 54px;
        padding: 0 14px 0 16px;
    }

    /* Modell: Baugruppen als Liste, alle Teile erst beim Suchen */
    .pmww .pmr-allparts {
        display: none;
    }

    .pmww.pmr-finding .pmr-allparts {
        display: block;
    }

    .pmww.pmr-finding .pmr-bglist,
    .pmww.pmr-finding .pmr-label,
    .pmww.pmr-finding .pmr-allparts .pmr-bar {
        display: none;
    }

    .pmww .pmr-bglist {
        overflow: hidden;
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 6px 18px rgba(25, 61, 52, 0.08);
    }

    .pmww a.pmr-bgr {
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr) 32px;
        gap: 12px;
        align-items: center;
        min-height: 76px;
        padding: 6px 12px 6px 8px;
        color: var(--pmww-g2);
        text-decoration: none;
    }

    .pmww a.pmr-bgr + a.pmr-bgr {
        border-top: 1px solid var(--pmww-mint);
    }

    .pmww .pmr-bgr__th {
        width: 64px;
        height: 64px;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 0 0 1px var(--pmww-rule);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .pmww .pmr-bgr__th img {
        max-width: 94%;
        max-height: 94%;
        object-fit: contain;
    }

    .pmww .pmr-bgr__n {
        display: block;
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.25;
    }

    .pmww .pmr-bgr__c {
        display: block;
        margin-top: 2px;
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--pmww-muted);
    }

    /* Baugruppe: Zeichnung als Karte, Teilezeilen kompakt */
    .pmww .pmr-pickrow {
        display: block;
        margin-top: 8px;
    }

    .pmww .pmr-pn {
        margin-top: 8px;
    }

    .pmww .pmr-pn a {
        min-height: 44px;
        font-size: 0.9rem;
    }

    .pmww .pmr-sec {
        margin-top: 16px;
        padding: 14px 14px 6px;
    }

    .pmww .pmr-sec .pmr-h2 {
        font-size: 1.45rem;
    }

    .pmww .pmr-sec .pmr-h2 .pmr-muted {
        display: block;
        font-size: 0.9rem;
    }

    .pmww .pmr-sec__body {
        display: block;
        margin-top: 10px;
    }

    .pmww .pmr-drawing {
        display: none;
    }

    .pmww a.pmr-drawcard {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 64px;
        margin: 0 0 4px;
        padding: 8px;
        border-radius: 14px;
        background: #f3f8f5;
        color: var(--pmww-g2);
        text-decoration: none;
    }

    .pmww .pmr-drawcard__th {
        flex: none;
        width: 52px;
        height: 64px;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 0 0 1px var(--pmww-rule);
        overflow: hidden;
    }

    .pmww .pmr-drawcard__th img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .pmww .pmr-drawcard__tx {
        flex: 1;
    }

    .pmww .pmr-drawcard__tx b {
        display: block;
    }

    .pmww .pmr-drawcard__tx small {
        font-size: 0.9rem;
        color: var(--pmww-muted);
    }

    .pmww .pmr-row {
        grid-template-columns: 76px minmax(0, 1fr) 48px;
        gap: 12px;
        padding: 10px 0;
        border-radius: 0;
        border-bottom: 1px solid var(--pmww-mint);
    }

    .pmww .pmr-row + .pmr-row {
        margin-top: 0;
    }

    .pmww .pmr-th {
        width: 76px;
        height: 60px;
    }

    .pmww .pmr-pos {
        min-width: 26px;
        height: 26px;
        font-size: 0.85rem;
    }

    .pmww .pmr-nm a {
        font-size: 1.05rem;
    }

    .pmww .pmr-nm p {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 4px 10px;
        margin-top: 3px;
        font-size: 0.85rem;
    }

    .pmww .pmr-sku,
    .pmww .pmr-pr {
        display: none;
    }

    .pmww .pmr-pr-m {
        display: inline;
        font-size: 1.05rem;
        color: var(--pmww-g2);
    }

    .pmww .pmr-buy .button {
        width: 48px;
        height: 48px;
        min-height: 0;
        padding: 0;
        justify-content: center;
        font-size: 0;
        border-radius: 14px;
    }

    .pmww .pmr-buy .button::before {
        width: 22px;
        height: 22px;
    }

    .pmww .pmr-buy .added_to_cart {
        display: none;
    }

    .pmww .pmr-sec.is-plain .pmr-row {
        grid-template-columns: minmax(0, 1fr) 48px;
    }

    .pmww .pmr-bar {
        padding: 14px 16px;
    }

    /* Baugruppe wechseln: Auswahl von unten */
    .pmr-sheet {
        align-items: flex-end;
    }

    .pmr-sheet__box {
        width: 100%;
        max-height: calc(100vh - 110px);
        border-radius: 22px 22px 0 0;
    }

    .pmww .pmr-sheet__grab {
        display: block;
        width: 44px;
        height: 5px;
        margin: 0 auto 10px;
        border-radius: 3px;
        background: #c9d6d0;
    }

    .pmww .pmr-sheet__hd {
        padding: 10px 16px;
    }

    .pmww .pmr-sheet .pmr-h2 {
        font-size: 1.35rem;
    }

    .pmww ol.pmr-sheet__list {
        grid-template-columns: minmax(0, 1fr);
        padding: 4px 8px 16px;
    }

    .pmww a.pmr-opt {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        min-height: 56px;
        padding: 4px 8px;
    }

    .pmww .pmr-opt__th {
        width: 44px;
        height: 44px;
    }

    /* Produkt: Bilder untereinander, Kaufleiste fest unten */
    .pmww .pmr-tbar {
        margin-top: 2px;
        padding: 0 4px;
        border: 0;
        background: none;
    }

    .pmww .pmr-h1--product {
        font-size: 1.85rem;
    }

    .pmww .pmr-tbar .pmr-lead {
        font-size: 0.95rem;
    }

    .pmww .pmr-media {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 12px;
    }

    .pmww .pmr-pane,
    .pmww .pmr-media.is-single .pmr-pane {
        height: auto;
        padding: 12px;
        border-radius: 14px;
    }

    .pmww a.pmr-view {
        flex: none;
        height: 250px;
    }

    .pmww .pmr-media.is-single .pmr-view,
    .pmww .pmr-view--draw {
        height: auto;
    }

    .pmww .pmr-view--draw img,
    .pmww .pmr-media.is-single .pmr-view img {
        max-width: 100%;
        max-height: none;
        width: 100%;
        height: auto;
    }

    .pmww .pmr-cap {
        margin-bottom: 8px;
    }

    .pmww .pmr-cap__t {
        font-size: 1.05rem;
    }

    .pmww .pmr-thumbs {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        margin-top: 10px;
        padding-bottom: 2px;
    }

    .pmww button.pmr-tb {
        flex: none;
        width: 76px;
        height: 58px;
    }

    .pmww .pmr-info {
        display: flex;
        flex-direction: column-reverse;
        gap: 14px;
        margin-top: 14px;
    }

    .pmww .pmr-desc {
        padding: 14px;
        border-radius: 14px;
    }

    .pmww .pmr-desc .pmr-h2 {
        font-size: 1.3rem;
    }

    .pmww dl.pmr-facts {
        font-size: 0.95rem;
    }

    .pmww .pmr-buybox {
        padding: 4px 4px 0;
        background: none;
        box-shadow: none;
        color: var(--pmww-light);
    }

    .pmww .pmr-buybox a {
        color: var(--pmww-sand);
    }

    .single-product .pmww div.product .pmr-buybox .price {
        font-size: 2.2rem;
        color: var(--pmww-light);
    }

    .pmww .pmr-buybox .legal-price-info,
    .pmww .pmr-buybox .wc-gzd-additional-info,
    .pmww .pmr-buybox .product_meta {
        color: var(--pmww-pale);
    }

    .pmww .pmr-buybox .stock.in-stock {
        color: #9fe0b5;
    }

    .pmww .pmr-buybox form.cart {
        position: fixed;
        z-index: 9990;
        left: 0;
        right: 0;
        bottom: 0;
        align-items: center;
        margin: 0;
        padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
        background: var(--pmww-light);
        box-shadow: 0 -8px 24px rgba(25, 61, 52, 0.14);
    }

    .pmww .pmr-buybox form.cart .pmr-barprice {
        display: block;
        flex: none;
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--pmww-g2);
        white-space: nowrap;
    }

    .pmww .pmr-buybox form.cart .qty {
        width: 64px;
        height: 56px;
        font-size: 1.2rem;
    }

    .pmww .pmr-buybox .single_add_to_cart_button {
        height: 56px;
        font-size: 1.1rem;
    }

    body.pm-r2.single-product .storefront-handheld-footer-bar {
        display: none;
    }

    body.pm-r2.single-product .site-footer {
        padding-bottom: 110px;
    }

    .pmww .pmr-nbs {
        padding: 14px;
    }

    .pmww .pmr-nbs .pmr-h2 {
        font-size: 1.3rem;
    }

    .pmww .pmr-nbs .pmr-h2 .pmr-muted {
        display: block;
        font-size: 0.9rem;
    }

    .pmww .pmr-nbs__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pmww a.pmr-nb {
        grid-template-columns: 64px minmax(0, 1fr) auto;
        gap: 12px;
        padding: 6px 0;
        border-radius: 0;
        border-bottom: 1px solid var(--pmww-mint);
    }

    .pmww .pmr-nb .pmr-th {
        width: 64px;
        height: 48px;
    }

    /* Bildvorschau */
    .pmr-lb {
        padding: 14px 16px 24px;
    }

    .pmr-lb__nav {
        display: none !important;
    }

    .pmr-lb__tb {
        width: 76px;
        height: 58px;
    }
}

/* Handy: gleiche Ränder auf allen Seiten (Storefront setzt sonst 2,6 em Außenrand) und Silbentrennung */
@media (max-width: 900px) {
    body.pm-r2 .site-content > .col-full {
        margin-left: 0;
        margin-right: 0;
        padding-left: 20px;
        padding-right: 20px;
    }

    .pmww {
        -webkit-hyphens: auto;
        hyphens: auto;
        hyphenate-limit-chars: 10 4 4;
    }
}

/* Platzhalter, wo ein Bild fehlt (pmr_noimg): Zweirad-Symbol und „Bild folgt“ füllen das Bildfeld. */
.pmww .pmr-plate,
.pmww .pmr-tile__ph,
.pmww .pmr-br__ph,
.pmww .pmr-stage__mini,
.pmww .pmr-bgr__th {
    position: relative;
}

/* Teil ohne Foto und ohne Werkszeichnung */
.pmww .pmr-pane--none {
    position: relative;
    height: 320px;
}

.pmww .pmr-noimg {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: inherit;
    background: #f2f6f4;
    color: var(--pmww-muted);
}

.pmww .pmr-noimg svg {
    width: min(56%, 120px);
    height: auto;
    color: #8fa9a0;
}

.pmww .pmr-noimg span {
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
}
