
.w2p-d-lage { display: flex; gap: 16px; align-items: flex-start; }
.w2p-d-links { flex: 1 1 62%; min-width: 0; }
/* `min-width: 0` und `max-width` sind kein Beiwerk: Ohne sie darf ein
   Flex-Element nie schmaler werden als sein Inhalt. Die Spalte wuchs dann
   ueber ihre 320px hinaus und quetschte die Buehne - Seite 1 mit vielen
   Feldern zeigte eine kleinere Buehne als Seite 2 mit einem. Fuer das Auge
   war Seite 2 damit groesser als Seite 1 (Befund 28.08. 20:47). */
.w2p-d-rechts { flex: 0 0 320px; min-width: 0; max-width: 320px; }
.w2p-d-rechts input,
.w2p-d-rechts select,
.w2p-d-rechts textarea { max-width: 100%; }

.w2p-d-scroll { overflow: auto; max-width: 980px; padding-bottom: 2px; }
.w2p-d-zoomleiste { margin: 0 0 8px; }
#w2p-d-zwert { display: inline-block; min-width: 52px; text-align: center; }

.w2p-d-buehne {
    position: relative; width: 100%;

    box-sizing: border-box;

    border: 1px solid rgba(0, 0, 0, .4) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .16) !important;
    background: #fff;

    font-kerning: none; font-variant-ligatures: none;
}
.w2p-d-buehne img { display: block; width: 100%; height: auto; user-select: none; }

/* Leserdoppelseite (Bindung "heft"): zwei Seiten nebeneinander, je die
   Haelfte der Huelle; der Zoom wirkt auf die Huelle. Eine feine Linie mit
   leichtem Schatten zum Falz zeigt den Bund. */
.w2p-d-doppel { position: relative; display: flex; width: 200%; }
.w2p-d-doppel > .w2p-d-buehne { flex: 0 0 50%; width: 50% !important; }
.w2p-d-doppel > .w2p-d-buehne:first-of-type { border-right-color: rgba(0, 0, 0, .22) !important; }
.w2p-d-doppel > .w2p-d-buehne + .w2p-d-buehne { border-left: 0 !important; }
.w2p-d-doppel > .w2p-d-buehne::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 14px; pointer-events: none; z-index: 5;
}
.w2p-d-doppel > .w2p-d-buehne:first-of-type::after { right: 0; background: linear-gradient(to left, rgba(0, 0, 0, .10), rgba(0, 0, 0, 0)); }
.w2p-d-doppel > .w2p-d-buehne + .w2p-d-buehne::after { left: 0; background: linear-gradient(to right, rgba(0, 0, 0, .10), rgba(0, 0, 0, 0)); }
.w2p-d-partner { cursor: pointer; }
.w2p-d-buehnenlage > .w2p-d-scroll > .w2p-d-doppel { margin-left: auto; margin-right: auto; }

/* Platzhalter vor dem Aufbau: Buehnenkasten im Endformat, darunter der gemerkte Rest. */
.w2p-d-platz-buehne {
    box-sizing: border-box; width: 100%; border: 1px solid rgba(0, 0, 0, .12); background: #f5f6f7;
    display: flex; align-items: center; justify-content: center; color: #6b7177;
}
.w2p-d-platz-buehne p { margin: 0; }
.w2p-d-platz-rest { width: 100%; }
.w2p-d-felder { position: absolute; inset: 0; overflow: hidden; }

.w2p-d-text-drehung {
    position: absolute; width: 0; height: 0; overflow: visible;
}
/* Fuellung eines Rahmens: ueber den Bildfeldern, unter dem Text. */
.w2p-d-rahmenfuellung { position: absolute; z-index: 1; pointer-events: none; }
.w2p-d-felder > .w2p-d-text, .w2p-d-felder > .w2p-d-text-drehung { z-index: 2; }

.w2p-d-text {
    position: absolute; white-space: pre; line-height: 1;
    font-kerning: none; font-variant-ligatures: none;

    text-rendering: geometricPrecision;
}

.w2p-d-bildfeld {
    position: absolute; border: 2px dashed rgba(0, 160, 160, .8);
    background: rgba(0, 160, 160, .06); display: flex;
    align-items: center; justify-content: center; text-align: center;
    color: #007a7a; font-size: 12px;
}

.w2p-d-bildfeld.w2p-d-bild-echt { border: none; background: none; overflow: hidden; }
.w2p-d-bildfeld.w2p-d-bild-echt img { width: 100%; height: 100%; display: block; }
/* Leere Upload-Box: groessenvariabler Platzhalter (Rahmen und Text
   skalieren mit der Feldbox), Klick springt zum Upload-Feld. */
.w2p-d-bildfeld.w2p-d-bild-platzhalter {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px dashed rgba(100, 116, 139, .55);
    background: rgba(241, 245, 249, .55);
    color: #475569;
    cursor: pointer;
    overflow: hidden;
}
.w2p-d-bildfeld.w2p-d-bild-platzhalter span { padding: 0 .4em; line-height: 1.25; }
.w2p-d-bildfeld.w2p-d-bild-platzhalter:hover {
    border-color: var(--w2p-akzent, #2271b1);
    color: var(--w2p-akzent, #2271b1);
}

/* Seiten-Navigation als Bildleiste (ab der im Layout eingestellten
   Seitenzahl): scrollbar, jede Kachel im Seitenverhaeltnis der Vorlage,
   Bildfelder liegen als Overlays darin. */
.w2p-d-thumbwrap {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    max-width: 980px; /* nicht breiter als die Buehne (.w2p-d-scroll) */
}
/* Kacheln und Pfeile sind BUTTONS, und Shop-Themes stylen Buttons
   rabiat (Pillenradius, fette Markenrahmen, Uppercase, Mindesthoehen).
   Die Leiste gehoert aber zur Buehne, nicht zum Theme: Alles, was ein
   Theme typischerweise anfasst, wird hier explizit festgeschrieben -
   quadratisch, duenner dunkler Rand, wie die Buehne selbst. */
.w2p-d-thumbpfeil {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(0, 0, 0, .35);
    background: #fff;
    border-radius: 3px;
    width: 28px;
    min-width: 0;
    min-height: 0;
    max-width: none;
    align-self: stretch;
    margin: 0;
    padding: 0;
    box-shadow: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1;
    cursor: pointer;
    color: #475569;
    font-size: 16px;
}
.w2p-d-thumbpfeil:hover:not(.aus) {
    border-color: var(--w2p-akzent, #2271b1);
    color: var(--w2p-akzent, #2271b1);
}
.w2p-d-thumbpfeil.aus { opacity: .35; cursor: default; }
.w2p-d-thumbwrap.ohne-pfeile .w2p-d-thumbpfeil { display: none; }
.w2p-d-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 2px;
    scrollbar-width: none; /* die Pfeile sind die Navigation, kein Rollbalken daneben */
    scroll-behavior: smooth;
    flex: 1 1 auto;
    min-width: 0; /* ein Flex-Kind darf sonst nicht schmaler werden als sein Inhalt */
} .w2p-d-thumbs::-webkit-scrollbar { display: none; }
.w2p-d-thumb {
    flex: 0 0 auto;
    display: inline-flex;
    user-select: none;
    flex-direction: column;
    appearance: none;
    -webkit-appearance: none;
 /* Duenner dunkler Rand, kleine Ecken - wie die Buehne, nicht wie
 die Kaufknoepfe des Themes. Feste Werte, weil Themes button-Regeln
 mit hoher Wucht setzen. */
    border: 1px solid rgba(0, 0, 0, .45) !important;
    border-radius: 3px !important;
    background: #fff !important;
    min-width: 0;
    min-height: 0;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 3px 3px 1px !important;
    box-shadow: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    line-height: normal;
    font-weight: normal;
    color: #475569;
    cursor: pointer;
    text-align: center;
}
.w2p-d-thumb:hover { border-color: var(--w2p-akzent, #2271b1) !important; }
.w2p-d-thumb.aktiv {
    border-color: var(--w2p-akzent, #2271b1) !important;
    box-shadow: 0 0 0 1px var(--w2p-akzent, #2271b1);
}
.w2p-d-thumb-flaeche {
    position: relative;
    display: block;
 /* Die einzige Stellschraube der Kachelgroesse - der Zeichenmassstab
 der Mini-Buehnen folgt ihr (thumbsAuffrischen liest die Hoehe aus
 dem DOM). Klein gehalten: je kleiner, desto mehr Seiten passen
 nebeneinander, und auf Miniaturen schaut niemand mit der Lupe. */
    height: 54px;
    overflow: hidden;
    background: #f1f5f9;
    border-radius: 3px;
}
.w2p-d-thumb-hg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.w2p-d-schemakacheln .w2p-d-thumb { flex: 0 0 max(120px, calc((100% - (var(--w2p-kacheln, 6) - 1) * 8px) / var(--w2p-kacheln, 6))); }
.w2p-d-schemakacheln .w2p-d-thumb-flaeche, .w2p-d-schemakacheln .w2p-d-thumb-hg { height: auto; } .w2p-d-schemakacheln .w2p-d-thumb-name { font-size: 13px; white-space: normal; line-height: 1.3; }
/* Farbleiste unter der Buehne (Schemata mit gefaerbten Flaechen): wie die
   Seitenleiste auf Buehnenbreite, mit Farbpunkt je Kachel. */
.w2p-d-farbleiste { max-width: 980px; margin-top: 10px; }
.w2p-d-farbleiste-titel { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: #475569; }
.w2p-d-farbpunkt {
    position: absolute; right: 4px; bottom: 4px; width: 16px; height: 16px;
    border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35);
}
/* Eine Farbe der Palette als Kachel: die Flaeche ist die Farbe selbst. */
.w2p-d-farbflaeche { position: absolute; inset: 0; border-radius: 2px; }
/* Die gewaehlte Farbe in der Form der Grafik: eine Flaeche, die die Maske ausstanzt. */
.w2p-d-farbmaske { position: absolute; pointer-events: none;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
/* Echte Mini-Buehne in der Kachel: derselbe Zeichenweg wie die grosse
   Buehne, nur im Kachel-Massstab. Klicks gehoeren der Kachel selbst.
   Die Kachel ist ein <button>, und Themes tragen dort eigene
   Typografie auf (Flatsome: uppercase plus letter-spacing) - die
   erbt in die Miniatur und macht jede Zeile um ein Drittel breiter.
   Hier wird sie auf die Werte der grossen Buehne zurueckgestellt. */
.w2p-d-thumb-mini {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    text-transform: none;
    letter-spacing: normal;
    word-spacing: normal;
    text-rendering: geometricPrecision;
}
/* Im Miniaturmassstab draengen sich die Striche der Glyphen zu
   dunklen Klumpen - etwas Deckkraft herausnehmen gleicht das aus,
   ohne Schnitt oder Umbruch anzutasten. */
.w2p-d-thumb-mini .w2p-d-text { opacity: .72; }
/* Doppelseiten-Kachel (Broschueren, Buecher): zwei Seiten nebeneinander, feiner Bund dazwischen. */
.w2p-d-thumb-halb { position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; }
.w2p-d-thumb-halb.links { left: 0; box-shadow: inset -1px 0 0 rgba(0, 0, 0, .18); }
.w2p-d-thumb-halb.rechts { right: 0; }
.w2p-d-thumb-name {
    display: block;
    font-size: 11px;
 /* Zeile hoch genug fuer die leer-Marke samt Rand, und ein Hauch Abstand
 zur Flaeche: Mit 1.5 ragte die Marke oben in das Vorschaubild
 (08.09.2026). */
    line-height: 1.7;
    padding-top: 2px;
    color: #475569;
 /* So breit wie die Kachelflaeche, keinen Pixel mehr: width 0 traegt
 nichts zur Kachelbreite bei, min-width 100% folgt der Flaeche. */
    width: 0;
    min-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* Die Marke als eigener Kasten in der Zeile, nicht als Inline-Rand, der
   ueber die Zeilenhoehe hinausreicht. margin-left:auto der Grundregel
   traegt hier nichts (kein Flex) - fester Abstand zum Seitennamen. */
.w2p-d-thumb-name .w2p-d-leer {
    display: inline-block;
    margin-left: .4em;
    line-height: 1.3;
    vertical-align: middle;
}
.w2p-d-thumb.aktiv .w2p-d-thumb-name { color: var(--w2p-akzent, #2271b1); font-weight: 600; }

/* Der Eingabe-Riegel meldet sich kurz unter dem Editor, wenn ein
   voller Block eine weitere Eingabe verwirft. */
.w2p-d-voll-hinweis {
    display: none;
    color: #b32d2e;
    font-size: 12px;
    margin-top: 2px;
}
.w2p-d-voll-hinweis.zeigen { display: block; }

.w2p-d-karte { border: 1px solid #c3c4c7; background: #fff; margin-bottom: 10px; padding: 10px 12px; }

/* Die Werkzeugleiste: EIN Kasten, alle Bedienelemente gleich hoch. Vorher
   war jedes ein eigenes Element mit eigener Hoehe - WordPress-Knopf 30 px,
   Auswahlfeld 32, Farbfeld 26 -, dadurch sass nichts auf einer Linie. */
/* Quills eigene Werkzeugleiste. Angepasst wird nur, was das Theme kaputt
   macht: Shop-Themes setzen `button` global auf Blockhoehe und Polsterung -
   dadurch werden Quills 24-px-Knoepfe doppelt so hoch wie seine
   Wahlschalter. Die Masse hier sind Quills eigene. */
.w2p-d-leistenreihe {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    border: 1px solid #8c8f94; border-bottom: 0; border-radius: 3px 3px 0 0;
    background: #f6f7f7; padding: 4px 8px; margin: 4px 0 0;
}
.w2p-d-leiste.ql-toolbar {
    border: 0 !important; background: none; padding: 0 !important; margin: 0;
    display: flex; align-items: center; gap: 8px;
    /* Gleicher Klassenname wie die seitliche Designer-Leiste (.w2p-d-leiste weiter unten):
       deren Breite, Spalte und Rahmen gelten hier nicht - die Knoepfe stehen in einer Reihe. */
    flex: 0 1 auto; width: auto; flex-direction: row; align-self: auto; border-radius: 0; z-index: auto;
}
.w2p-d-leistenreihe > .w2p-d-leiste.ql-toolbar { flex-wrap: nowrap; }
/* Knopf "Hervorheben" (farbe_folgt "hervorhebung"): ein beschrifteter Schalter in Knopfhoehe. */
.w2p-d-leiste.ql-toolbar button.w2p-d-hervorheben { width: auto !important; padding: 3px 8px !important; font-size: 12px; color: #444;
    white-space: nowrap; cursor: pointer; border: 1px solid #c3c4c7 !important; }
.w2p-d-leiste.ql-toolbar button.w2p-d-hervorheben em { font-family: Georgia, serif; font-size: 14px; }
/* Hervorgehobene Woerter im Eingabefeld des Kunden sichtbar markieren. */
.ql-editor mark { background: #fff1a8; color: inherit; padding: 0 1px; }
.w2p-d-leiste.ql-toolbar .ql-formats { margin: 0 !important; display: inline-flex; align-items: center; }
.w2p-d-leiste.ql-toolbar button {
    width: 28px !important; height: 24px !important; padding: 3px 5px !important;
    min-height: 0 !important; line-height: 1 !important; border: 0 !important;
    border-radius: 3px; background: none !important; box-shadow: none !important;
    float: none !important; margin: 0 !important;
}
.w2p-d-leiste.ql-toolbar button:hover { background: #e5e5e5 !important; }
.w2p-d-leiste.ql-toolbar button.ql-active { background: #dbe8f3 !important; }

/* Die Farbtafel traegt eine achte Spalte (Dokumentfarben der Vorlage) -
   Quills Vorgabebreite fasst sieben. Ohne diese Breite braeche die achte
   in eine neue Reihe und die Spalten der Tafel verschoeben sich. */
.ql-snow .ql-picker.ql-color .ql-picker-options { width: 172px; }

/* Groessen als Zahl (Quill kennt nur seine eigenen Werte), Liste kompakt und scrollend. */
.ql-snow .ql-picker.ql-size .ql-picker-label::before,
.ql-snow .ql-picker.ql-size .ql-picker-item::before { content: attr(data-value); }
.ql-snow .ql-picker.ql-size .ql-picker-label:not([data-value])::before,
.ql-snow .ql-picker.ql-size .ql-picker-item:not([data-value])::before { content: 'Standard'; }
.ql-snow .ql-picker.ql-size { width: 84px; } .ql-snow .ql-picker.ql-size .ql-picker-options { max-height: 240px; overflow-y: auto; padding: 2px 0; }
.ql-snow .ql-picker.ql-size .ql-picker-item { font-size: 13px; font-weight: normal; line-height: 1.3; padding: 2px 10px; }

/* Die Schriftwahl ist kein Quill-Format - sie soll nur mittig mitlaufen. */
.w2p-d-schriftgruppe { display: inline-flex; align-items: center; }
.w2p-d-schriftgruppe select {
    height: 24px !important; min-height: 0 !important; margin: 0 !important;
    padding: 0 22px 0 6px; max-width: 200px; box-sizing: border-box;
    border: 1px solid #ccc; border-radius: 3px; background-color: #fff;
    font-size: 12px; line-height: 22px;
}
/* Die Ausrichtung ist kein Quill-Format - sie steht wie die Schriftwahl neben der Leiste, in Quills Knopfmass. */
.w2p-d-ausrichtung { display: inline-flex; align-items: center; gap: 2px; }
.w2p-d-ausrichtung button { width: 28px !important; height: 24px !important; min-height: 0 !important; padding: 3px 5px !important;
    margin: 0 !important; border: 0 !important; border-radius: 3px; background: none !important; box-shadow: none !important; cursor: pointer; }
.w2p-d-ausrichtung button:hover { background: #e5e5e5 !important; }
.w2p-d-ausrichtung button.is-active { background: #dbe8f3 !important; }
.w2p-d-ausrichtung svg { display: block; width: 18px; height: 18px; } .w2p-d-ausrichtung path { fill: none; stroke: #444; stroke-width: 2; stroke-linecap: round; }
/* Manche Themes wickeln Auswahlfelder in einen eigenen Kasten. */
.w2p-d-leistenreihe .select-resize-ghost,
.w2p-d-leistenreihe .select-wrapper { display: contents; }

.w2p-d-editor {
    border: 1px solid #8c8f94; border-radius: 0 0 3px 3px; background: #fff;
    min-height: 8em; margin-top: 0;

    white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word;
    overflow-x: hidden;
    font-family: var(--w2p-font-normal, inherit);
    font-style: normal;
    font-weight: normal;
}
/* Quill legt seinen Inhalt in ein Kind; Polsterung und Schrift gehoeren
   dorthin, sonst schreibt der Kunde am Rand. */
.w2p-d-editor .ql-editor {
    padding: 6px 8px; min-height: 8em; line-height: 1.5;
    font-family: inherit; font-style: inherit; font-weight: inherit;
}
.w2p-d-editor .ql-editor.ql-blank::before { color: #8c8f94; font-style: normal; left: 8px; }
.w2p-d-editor .ql-editor p { margin: 0; }
.w2p-d-editor.ql-container { border-top: 0; font-size: inherit; }

/* Fett und kursiv sind eigene Schriftdateien, keine Rechenergebnisse:
   `font-synthesis: none` verbietet dem Browser, zusaetzlich ein kuenstliches
   Fett oder eine Schraegstellung darueberzulegen.
   `font-weight: bold` bzw. `font-style: italic` muessen trotzdem stehen -
   Chrome liest daraus den Zustand des B-/I-Knopfes. Stand dort `normal`,
   hielt es eine fette Stelle fuer nicht fett, und ein zweiter Klick auf B
   hob die Auszeichnung nicht mehr auf. */
.w2p-d-editor b, .w2p-d-editor strong,
.w2p-d-editor .ql-editor strong {
    font-family: var(--w2p-font-fett, var(--w2p-font-normal, inherit));
    font-style: normal;
    font-weight: bold;
    font-synthesis: none;
}
.w2p-d-editor i, .w2p-d-editor em,
.w2p-d-editor .ql-editor em {
    font-family: var(--w2p-font-kursiv, var(--w2p-font-normal, inherit));
    font-style: italic;
    font-weight: normal;
    font-synthesis: none;
}
/* ACHTUNG Spezifitaet: Diese acht Waehler MUESSEN `.ql-editor` tragen.
   Die Kursivregel oben reicht mit `.w2p-d-editor .ql-editor em` in Quills
   Container hinein und wiegt damit (0,2,1). Ohne `.ql-editor` kaemen diese
   Regeln nur auf (0,1,2) - dann gewinnt bei `<strong><em>Text</em></strong>`
   die Kursivregel am inneren <em>, und fett-kursiver Text erscheint im
   Eingabefeld als reines Kursiv. Auf der Buehne fiel das nie auf, die baut
   ihre Schrift selbst zusammen. Gemessen am 23.08.2026. */
.w2p-d-editor .ql-editor b i,
.w2p-d-editor .ql-editor b em,
.w2p-d-editor .ql-editor strong i,
.w2p-d-editor .ql-editor strong em,
.w2p-d-editor .ql-editor i b,
.w2p-d-editor .ql-editor i strong,
.w2p-d-editor .ql-editor em b,
.w2p-d-editor .ql-editor em strong,
.w2p-d-editor b i,
.w2p-d-editor b em,
.w2p-d-editor strong i,
.w2p-d-editor strong em,
.w2p-d-editor i b,
.w2p-d-editor i strong,
.w2p-d-editor em b,
.w2p-d-editor em strong {
    font-family: var(--w2p-font-fettkursiv, var(--w2p-font-fett, var(--w2p-font-kursiv, inherit)));
    font-style: italic;
    font-weight: bold;
    font-synthesis: none;
}
.w2p-d-editor:focus { outline: 2px solid var(--w2p-akzent, #2271b1); outline-offset: -1px; }
.w2p-d-karte h4 { margin: 0 0 8px; }
.w2p-d-aufpreis { color: #996300; font-size: 0.9em; font-weight: normal; white-space: nowrap; }
.w2p-d-seiten { margin: 0 0 8px; }

#w2p-d-messwerte { margin-top: 10px; max-width: 980px; }
#w2p-d-warnungen { margin-top: 8px; max-width: 980px; }

/* Der Aufbau der Produktseite (Galerie 40 %, Shopteil 60 %) steht in
   admin/css/produktseite.css - hier bleibt, was den Designer selbst betrifft. */
.w2p-shop-designer { margin: 12px 0 20px; max-width: 100%; }

#w2p-designer button.button {
    display: inline-block; width: auto; margin: 0; padding: 3px 12px;
    font-size: 13px; line-height: 1.7; min-height: 0; text-transform: none;
    letter-spacing: normal;
}

.w2p-d-kopf {
    display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
    max-width: 980px; margin: 0 0 8px;
}
.w2p-d-kopf .w2p-d-seiten, .w2p-d-kopf .w2p-d-zoomleiste {
    display: inline-flex; gap: 6px; align-items: center; margin: 0;
}

/* Untereinander gilt `stretch`, nicht das `flex-start` der Reihe: Sonst
   wird die linke Spalte so breit wie ihr Inhalt, bei vielen Seiten also
   so breit wie alle Kacheln - die Leiste sieht keinen Ueberlauf und
   zeigt keine Pfeile. */
#w2p-designer.w2p-d-shop .w2p-d-lage { flex-direction: column; align-items: stretch; }
#w2p-designer.w2p-d-shop .w2p-d-rechts { flex-basis: auto; width: 100%; max-width: 980px; }

@media (max-width: 880px) {
    .w2p-d-lage { flex-direction: column; align-items: stretch; }
    .w2p-d-rechts { flex-basis: auto; width: 100%; }
}
form.cart.w2p-cart { margin-top: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
/* Der Warnkasten traegt seit dem 30.08. dieselbe Klasse wie der
   mehrseitig-Hinweis; die eigene Fassung hier ist entfallen. */
#w2p-d-warnungen .w2p-d-hinweis:last-child { margin-bottom: 0 !important; }

.w2p-d-seite {
    border: 1px solid #dcdcde;
    border-radius: 4px;
    margin-bottom: 10px;
    background: #fff;
}
.w2p-d-seite > summary {
    cursor: pointer;
    padding: 9px 12px;
    list-style: none;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.w2p-d-seite > summary::-webkit-details-marker { display: none; }
.w2p-d-seite > summary::before {
    content: '▸';
    color: #646970;
    transition: transform .15s;
}
.w2p-d-seite[open] > summary::before { content: '▾'; }
.w2p-d-seite[open] > summary { border-bottom: 1px solid #f0f0f1; background: #f6f7f7; }
.w2p-d-seitenname { font-weight: 600; }
.w2p-d-tun { font-weight: 400; color: var(--w2p-akzent, #2271b1); }
.w2p-d-was { color: #646970; font-size: 12px; }
/* Die Marke traegt keine eigene Farbe: Sie nimmt die Schriftfarbe ihrer
   Umgebung und zeigt sich ueber den Rahmen. So bleibt sie in jedem Theme
   lesbar - eine feste Signalfarbe koennte auf die Themefarbe treffen. */
.w2p-d-leer {
    margin-left: auto;
    color: inherit;
    background: none;
    border: 1px solid currentColor;
    border-radius: 9px;
    padding: 0 8px;
    font-size: 11px;
    opacity: .7;
}
.w2p-d-seite > .w2p-d-karte { border: none; margin: 0; box-shadow: none; }

.w2p-d-hinweis {
    margin: 0 0 8px !important;
    padding: 8px 12px;
    background: var(--w2p-hinweis-flaeche, #fcf9e8);
    border-left: 4px solid var(--w2p-hinweis-kante, #dba617);
    color: #1d2327 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}
.w2p-d-tabs {
    display: flex !important;
    gap: 4px;
    margin: 0 0 12px !important;
    flex-wrap: wrap;
}
/* Traegt eine Seitenmarke zusaetzlich die Knopfklasse `button`, dann hat
   das Theme sie uebernommen (Einstellung Layout -> Farben). Unsere eigene
   Form haelt sich dann heraus - sonst kaempfen zwei Regeln um denselben
   Knopf und keine gewinnt sauber. */
.w2p-d-tab:not(.button) {
    appearance: none;
    border: 1px solid #c3c4c7 !important;
    background: #f6f7f7 !important;
    color: #50575e !important;
    border-radius: 3px !important;
    padding: 7px 14px !important;
    cursor: pointer;
    font-size: 13px !important;
    line-height: 1.4 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}
.w2p-d-tab:not(.button):hover { background: #fff !important; color: var(--w2p-akzent, #2271b1) !important; }
.w2p-d-tab:not(.button).aktiv {
    background: #fff !important;
    color: #1d2327 !important;
    border-color: var(--w2p-akzent, #2271b1) !important;
    border-bottom-width: 3px !important;
    font-weight: 600 !important;
}
/* Vom Theme gemalte Marken: Wie aktiv und inaktiv aussehen, entscheidet das
   Theme ueber `button` und `button alt` - dieselben Klassen, die WooCommerce
   fuer seine eigenen Knoepfe benutzt. Hier steht nur die Schriftstaerke:
   Sie wirkt in jedem Theme und ruehrt an keiner Farbe. Eine eigene
   Kennzeichnung stuende sonst gegen die des Themes. */
.w2p-d-tab.button.aktiv { font-weight: 600; }

.w2p-d-tab .w2p-d-leer {
    margin-left: .5em;
    background: none;
    color: inherit;
    border: 1px solid currentColor;
    border-radius: 9px;
    padding: 0 7px;
    font-size: 11px;
    font-weight: 400;
    opacity: .7;
}

/* Hinweis, wenn der Dienst nicht antwortet. Ruhig gehalten, kein Warnrot -
   der Kunde hat nichts falsch gemacht, und ein Fehlerbalken im Laden
   verschreckt mehr, als er hilft. */
.w2p-nicht-bereit {
    border: 1px solid #dcdcde; border-left: 3px solid #b0b0b5;
    background: #fafafa; color: #3c434a;
    padding: 14px 16px; margin: 0 0 14px; border-radius: 3px;
}
.w2p-nicht-bereit p { margin: 0; }
button.single_add_to_cart_button.disabled,
button.single_add_to_cart_button[disabled] {
    opacity: .5; cursor: not-allowed; pointer-events: none;
}

/* "Text davor" eines Feldes - Anleitung des Betreibers fuer den Kunden.
   Steht zwischen Feldbeschriftung und Eingabe; gestaltet wird per HTML aus
   der Vorlage, hier nur der neutrale Rahmen. */
.w2p-d-vortext {
    margin: 2px 0 6px;
    font-size: 13px;
    line-height: 1.5;
    color: #3c434a;
}
.w2p-d-vortext p { margin: 0 0 4px; }

/* Seriendruck: Datensatz-Leiste und Listen-Upload in Theme-Optik. Die
   Knoepfe tragen die button-Klasse des Shops; der nackte Dateidialog
   ist hinter dem "Liste waehlen"-Knopf verborgen. */
.w2p-serie-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: .6em; margin: 0 0 8px; }
@media (max-width: 600px) {
    .w2p-shop-designer .w2p-d-karte:has(> select[data-liste]) {
        grid-template-columns: minmax(0, 1fr); row-gap: .35em;
    }
}
.w2p-serie-leiste .button { min-height: 0; padding: .05em .55em; margin: 0; }
.w2p-serie-block .w2p-serie-waehlen { margin: .3em .2em .3em 0; }
.w2p-serie-block .w2p-serie-waehlen input[type=file] {
    position: absolute; left: -9999px; width: 1px; height: 1px;
}
.w2p-serie-block .w2p-serie-status { display: block; }
.w2p-serie-block .w2p-serie-titel { margin: 0 0 .3em; }
.w2p-serie-block .w2p-serie-fehler { color: #b32d2e; }
.w2p-serie-leiste .w2p-serie-an {
    background: var(--w2p-akzent, #2271b1);
    color: #fff;
}
.quantity.w2p-serie-fest .minus,
.quantity.w2p-serie-fest .plus { pointer-events: none; opacity: .35; }
.w2p-serie-block .w2p-serie-verwerfen { margin-left: .6em; }
/* Listen-Assistent (listenassistent.js): Sprechblase unter dem Upload. */
.w2p-liste-assistent {
    margin: .6em 0 0; padding: .7em .8em; border: 1px solid #dcdcde; border-radius: 6px; background: #f6f7f7;
}
.w2p-liste-assistent p { margin: .3em 0; }
.w2p-liste-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(12em, 1fr)); gap: .5em; margin: .4em 0; }
.w2p-liste-karte {
    display: flex; flex-direction: column; gap: .25em; width: 100%; text-align: left; cursor: pointer;
    padding: .5em .6em; border: 1px solid #c3c4c7; border-radius: 4px; background: #fff; font: inherit; color: inherit;
    /* Themes setzen Knoepfe gern in Grossbuchstaben - eine Anschrift muss so erscheinen, wie sie gedruckt wird. */
    text-transform: none; letter-spacing: normal; line-height: 1.3; min-height: 0; margin: 0;
}
/* Themes runden Knoepfe per !important (z. B. Flatsome 99px); die Karte ist ein Knopf. */
.w2p-liste-assistent .w2p-liste-karte { border-radius: 4px !important; box-shadow: none; }
.w2p-liste-assistent .w2p-liste-karte.w2p-liste-gewaehlt { border-color: var(--w2p-akzent, #2271b1); box-shadow: 0 0 0 1px var(--w2p-akzent, #2271b1); }
.w2p-liste-anschrift { white-space: pre-line; font-size: .92em; line-height: 1.3; }
.w2p-liste-assistent textarea { width: 100%; margin: .3em 0; }
.w2p-liste-ok { color: #1a7f37; }
/* Empfaengerart ueber ihrem Text in einer Fassung (Person, Familie, Firma ...). */
.w2p-liste-karte .w2p-liste-art { display: block; margin-top: .35em; font-weight: 600; opacity: .75; }
/* Sortierung: eine Zeile, das Feld nur so breit wie sein Inhalt (Themes ziehen select auf 100 %). */
.w2p-liste-sortierung label { display: flex; align-items: center; gap: .4em; flex-wrap: wrap; font-weight: normal; margin: 0; }
.w2p-liste-assistent .w2p-liste-sortierung select {
    width: auto !important; max-width: 14em; display: inline-block; margin: 0; height: auto; min-height: 0; padding: .15em 1.8em .15em .5em;
}

/* Kunden-Upload: Dropfeld, Miniatur mit Ueberstands-Maske, Ampel.
   Schrift, Links und Knopf stylt das Theme - hier nur Layout und
   Statusfarben. */
.w2p-d-upload-leer { margin: 2px 0 6px; font-size: 0.85em; color: #777; }
.w2p-d-dropfeld { border: 1px dashed #ddd; border-radius: 3px; padding: 18px 12px;
    text-align: center; cursor: pointer; color: #666; background: transparent; }
.w2p-d-dropfeld:hover, .w2p-d-drop-an { border-color: #aaa; color: #444;
    background: rgba(0, 0, 0, .02); }
.w2p-d-miniatur { position: relative; display: inline-block; max-width: 100%;
    margin-top: 10px; touch-action: none; cursor: grab; }
.w2p-d-miniatur img { display: block; max-width: 260px; max-height: 200px;
    user-select: none; -webkit-user-drag: none; }
.w2p-d-schatten { position: absolute; background: rgba(20, 20, 20, .55);
    pointer-events: none; }
.w2p-d-ampel { margin: 8px 0 4px; padding: 6px 10px; border-radius: 3px; }
.w2p-d-ampel-gruen { background: #edf7ed; color: #1e6b2e; }
.w2p-d-ampel-gelb { background: #fdf6e3; color: #8a6116; }
.w2p-d-ampel-rot { background: #fbeaea; color: #b32d2e; }
.w2p-d-rot-haken { display: block; margin: 4px 0; }
.w2p-d-modus { display: block; margin: 4px 0; }
.w2p-d-upload-rot { color: #b32d2e; }
.w2p-d-upload-fertig-knopf { margin: 6px 8px 0 0; }
.w2p-d-upload-fertig { display: flex; align-items: center; gap: 8px; }
.w2p-d-upload-fertig img { max-width: 56px; max-height: 44px; border-radius: 3px; }
.w2p-d-ampelpunkt { width: 10px; height: 10px; border-radius: 50%;
    display: inline-block; flex: none; }
.w2p-d-ampelpunkt-gruen { background: #1e6b2e; }
.w2p-d-ampelpunkt-gelb { background: #c9a227; }
.w2p-d-ampelpunkt-rot { background: #b32d2e; }

/* Blaetter-Pfeile auf der Buehne - wie die Galerie-Pfeile des Themes:
   dunkle Winkel an beiden Raendern, nur bei mehrseitigen Vorlagen.
   Heller Schein haelt sie auch auf dunklen Karten lesbar. */
.w2p-d-blaetter {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 34px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
    color: rgba(0, 0, 0, .65);
    text-shadow: 0 0 5px rgba(255, 255, 255, .85);
    cursor: pointer;
    user-select: none;
}
.w2p-d-blaetter:hover { color: #000; }
.w2p-d-blaetter.aus { opacity: .25; cursor: default; }
.w2p-d-blaetter-links { left: 2px; }
.w2p-d-blaetter-rechts { right: 2px; }

/* Hinweis im eigenen Fenster statt alert(): natives <dialog>, Farben und
   Schrift der Umgebung, Knopf als Theme-Knopf. Der Schleier kommt vom
   Browser (::backdrop), nur abgedunkelt. Seit dem 08.09.2026. */
dialog.w2p-d-hinweis {
    max-width: 28em;
    padding: 20px 24px;
    border: 1px solid rgba(0, 0, 0, .25);
    border-radius: 4px;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: #fff;
}
dialog.w2p-d-hinweis::backdrop { background: rgba(0, 0, 0, .35); }
dialog.w2p-d-hinweis p { margin: 0 0 16px; }
dialog.w2p-d-hinweis form { margin: 0; text-align: right; }

/* Regelhinweise (Schritt 8 des Werkzeugs) */
.w2p-d-regelhinweis { margin: 4px 0 8px; }
.w2p-d-regeltext { margin: 4px 0 8px; font-size: 13px; line-height: 1.5; }
/* KI-Assistenz: Knopf am Feld und das Fenster mit den Vorschlaegen. Schrift,
   Farben und Knoepfe kommen aus dem Theme; eigene Werte stehen nur dort, wo
   das Theme nichts vorgibt. Fester Kopf, scrollender Koerper, fester Fuss. */
.w2p-d-ki-knopf { margin: 0 0 6px; }
dialog.w2p-d-ki { width: min(36em, calc(100vw - 2rem)); max-width: none; max-height: min(86vh, 46em);
    padding: 0; overflow: hidden; border: 0; border-radius: 4px; font: inherit; color: inherit;
    background: #fff; box-shadow: 0 8px 40px rgba(0, 0, 0, .3); }
dialog.w2p-d-ki[open] { display: flex; flex-direction: column; }
dialog.w2p-d-ki::backdrop { background: rgba(0, 0, 0, .5); }
.w2p-d-ki-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 20px; border-bottom: 1px solid rgba(0, 0, 0, .12); }
.w2p-d-ki-kopf h4 { margin: 0; }
.w2p-d-ki-x { flex: none; width: 34px; height: 34px; padding: 0; font-size: 24px; line-height: 1;
    cursor: pointer; color: inherit; opacity: .5; border: 0; background: none; }
.w2p-d-ki-x:hover { opacity: 1; }
.w2p-d-ki-koerper { overflow-y: auto; padding: 16px 20px; }
.w2p-d-ki-zeile { display: block; margin: 0 0 12px; }
.w2p-d-ki-zeile span { display: block; margin-bottom: 3px; font-size: .85em; opacity: .75; }
.w2p-d-ki-zeile input, .w2p-d-ki-zeile select { width: 100%; box-sizing: border-box; margin: 0; }
.w2p-d-ki-datenschutz { margin: 14px 0 0; font-size: .8em; line-height: 1.5; opacity: .65; }
.w2p-d-ki-status { margin: 12px 0 0; font-size: .9em; opacity: .8; }
.w2p-d-ki-status:empty, .w2p-d-ki-liste:empty { display: none; }
.w2p-d-ki-liste { margin: 14px 0 0; }
.w2p-d-ki-vorschlag { display: block; width: 100%; margin: 0 0 8px; padding: 12px 14px; text-align: left;
    cursor: pointer; font: inherit; color: inherit; text-transform: none; letter-spacing: normal;
    background: none; border: 1px solid rgba(0, 0, 0, .15); border-radius: 3px; }
.w2p-d-ki-vorschlag:hover, .w2p-d-ki-vorschlag:focus { border-color: currentColor; background: rgba(0, 0, 0, .03); }
.w2p-d-ki-vorschlag strong { display: block; margin-bottom: 4px; font-size: .72em; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase; opacity: .55; }
.w2p-d-ki-vorschlag span { display: block; line-height: 1.55; }
.w2p-d-ki-fuss { display: flex; align-items: center; justify-content: flex-end; gap: 8px;
    padding: 12px 20px; border-top: 1px solid rgba(0, 0, 0, .12); background: rgba(0, 0, 0, .02); }
.w2p-d-ki-fuss .button { margin: 0; }

/* ---------------------------------------------------------------------
   Die Wahl-Leiste an der Buehne (Einstellung Layout "Wahlen als Leiste",
   leiste.js). Handschrift des Layouteditors: weiss, Schieferschrift,
   helle Rahmen, Petrol als Akzent. Feste Werte gegen Theme-Regeln, wie
   bei den Kacheln. Fuellung = Zustand (aktiver Knopf, aktive Seite),
   Rahmen = Markierung (gewaehlte Kachel). */
.w2p-d-buehnenlage { position: relative; display: flex; align-items: stretch; max-width: 980px; }
/* Die Buehne liegt auf hellem Grau mit Luft, wie das Blatt in einem Bildprogramm. */
.w2p-d-buehnenlage > .w2p-d-scroll { flex: 1 1 auto; min-width: 0; background: #e9eef0; padding: 14px; box-sizing: border-box;
    border: 1px solid #b9c4ca; border-left: 0; border-radius: 0 4px 4px 0; }
/* Herausgezoomt (lange Formate) steht das Blatt mittig auf dem Grau. */
.w2p-d-buehnenlage > .w2p-d-scroll > .w2p-d-buehne { margin-left: auto; margin-right: auto; }
.w2p-d-leiste {
    flex: 0 0 56px; width: 56px; display: flex; flex-direction: column;
    background: #fff; border: 1px solid #b9c4ca; border-radius: 4px 0 0 4px;
    box-sizing: border-box; align-self: stretch; z-index: 2;
}
.w2p-d-leistenknopf {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    padding: 12px 2px 10px !important; margin: 0; cursor: pointer; user-select: none; position: relative;
    color: #59666f; font-family: inherit; font-size: 10px !important; font-weight: normal; line-height: 1.2 !important;
    letter-spacing: .02em; text-transform: none; text-decoration: none;
    border-bottom: 1px solid #b9c4ca; background: #fff;
}
.w2p-d-leistenknopf:last-child { border-bottom: 0; }
.w2p-d-leistenknopf svg { width: 22px !important; height: 22px !important; flex: 0 0 auto; display: block;
    fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.w2p-d-leistenknopf:hover { background: #e8f2f5; color: #24292e; }
.w2p-d-leistenknopf:focus-visible { outline: 1px solid #176c86; outline-offset: -1px; }
.w2p-d-leistenknopf.aktiv { background: #e8f2f5; color: #176c86; font-weight: 600; }
.w2p-d-leistenknopf.aktiv::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: #176c86; }
.w2p-d-leistenwort { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px !important; line-height: 1.2; }
/* Der Farbpunkt am Farbknopf: die gewaehlte Farbe, oben rechts am Symbol. */
.w2p-d-leistenpunkt { position: absolute; right: 10px; top: 9px; width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 1px #fff, 0 0 0 2px #b9c4ca; }
/* Das Wahlfeld klappt ueber den linken Buehnenrand; nur eines offen. */
.w2p-d-wahlfeld {
    position: absolute; top: 0; bottom: 0; left: 56px; width: min(360px, calc(100% - 56px));
    background: #fff; border: 1px solid #b9c4ca; border-left: 0; box-shadow: 6px 0 18px rgba(36, 41, 46, .18);
    overflow: auto; z-index: 3; box-sizing: border-box; color: #24292e;
}
.w2p-d-wahlfeld[hidden] { display: none; }
.w2p-d-wahlfeld-kopf { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid #b9c4ca; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.w2p-d-wahlfeld-stand { font-weight: normal; color: #59666f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.w2p-d-wahlfeld-info {
    width: 16px; height: 16px; border-radius: 50%; border: 1px solid #59666f; color: #59666f;
    font: italic 10px/14px Georgia, serif; text-align: center; cursor: pointer; user-select: none;
}
.w2p-d-wahlfeld-zu { margin-left: auto; font-size: 17px; line-height: 1; color: #59666f; cursor: pointer; padding: 0 4px; user-select: none; }
.w2p-d-wahlfeld-zu:hover, .w2p-d-wahlfeld-info:hover { color: #176c86; border-color: #176c86; }
.w2p-d-wahlfeld-hinweis { display: none; margin: 0; padding: 8px 10px 0; font-size: 12px; line-height: 1.4; color: #59666f; }
.w2p-d-wahlfeld.hinweis-an .w2p-d-wahlfeld-hinweis { display: block; }
.w2p-d-wahlfeld-inhalt { padding: 6px 10px 10px; }
.w2p-d-wahlgruppe h5 { margin: 6px 0 2px; font-size: 11px; font-weight: 600; color: #59666f; }
/* Die Motivleiste traegt ihre eigene Ueberschrift - im Feld steht sie schon im Kopf. */
.w2p-d-wahlfeld .w2p-motivwahl-titel { display: none; }
/* Die Kacheln im Feld: umgebrochen statt gerollt, ohne Pfeile; Seitenvorschauen
   (Layout, Raster) 100 px breit, damit der Kunde sie erkennt - drei je Reihe. */
.w2p-d-wahlfeld .w2p-d-thumbwrap { margin-top: 0; max-width: none; }
.w2p-d-wahlfeld .w2p-d-thumbpfeil { display: none; }
.w2p-d-wahlfeld .w2p-d-thumbs { flex-wrap: wrap; overflow: visible; gap: 10px 8px; padding: 4px 0; }
.w2p-d-wahlfeld .w2p-d-schemakacheln .w2p-d-thumb, .w2p-d-wahlfeld .w2p-d-thumb { flex: 0 0 100px !important; width: 100px; border-color: #b9c4ca !important; }
.w2p-d-wahlfeld .w2p-d-thumb.aktiv { border-color: #176c86 !important; box-shadow: 0 0 0 1px #176c86; }
.w2p-d-wahlfeld .w2p-d-thumb-flaeche { height: auto; }
.w2p-d-wahlfeld .w2p-d-thumb-name { font-size: 11px; line-height: 1.3; white-space: normal; overflow-wrap: anywhere; text-overflow: clip; letter-spacing: 0; }
.w2p-d-wahlfeld .w2p-d-thumb.aktiv .w2p-d-thumb-name { color: #176c86; }
/* Farben als Kreise: 44 px rund, Name darunter; die Wahl traegt einen Petrol-Ring. */
.w2p-d-wahlfeld .w2p-d-schemakacheln .w2p-d-thumb.w2p-d-farbkreis, .w2p-d-wahlfeld .w2p-d-thumb.w2p-d-farbkreis {
    flex: 0 0 60px !important; width: 60px; padding: 4px 2px 2px !important;
    border-color: transparent !important; box-shadow: none !important; background: transparent !important;
}
.w2p-d-wahlfeld .w2p-d-farbkreis .w2p-d-thumb-flaeche { width: 44px; height: 44px; margin: 0 auto; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px #b9c4ca; background: #fff; }
.w2p-d-wahlfeld .w2p-d-farbkreis .w2p-d-thumb-hg { width: 100%; height: 100%; object-fit: cover; }
.w2p-d-wahlfeld .w2p-d-farbkreis .w2p-d-farbflaeche { border-radius: 50%; }
.w2p-d-wahlfeld .w2p-d-farbkreis:hover .w2p-d-thumb-flaeche { box-shadow: 0 0 0 1px #176c86; }
.w2p-d-farbe-aus { opacity: .35; pointer-events: none; }
.w2p-d-wahlfeld .w2p-d-farbkreis.aktiv .w2p-d-thumb-flaeche { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #176c86; }
.w2p-d-wahlfeld .w2p-d-farbkreis .w2p-d-thumb-name { margin-top: 6px; font-size: 10px; hyphens: auto; overflow-wrap: normal; }
/* Handy: die Leiste als Reihe ueber der Buehne, das Wahlfeld als Blatt von unten. */
@media (max-width: 600px) {
    .w2p-d-buehnenlage { flex-direction: column; }
    .w2p-d-leiste { flex: 0 0 auto; width: auto; flex-direction: row; align-self: stretch; border-right: 1px solid #b9c4ca; border-bottom: 0; border-radius: 4px 4px 0 0; }
    .w2p-d-leistenknopf { flex: 1 1 0; border-bottom: 0; border-right: 1px solid #b9c4ca; padding: 8px 2px 6px; }
    .w2p-d-leistenknopf:last-child { border-right: 0; }
    .w2p-d-leistenknopf.aktiv::before { left: 6px; right: 6px; top: auto; bottom: 0; width: auto; height: 2px; }
    .w2p-d-wahlfeld { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 60vh; border: 0; border-top: 1px solid #b9c4ca; border-radius: 10px 10px 0 0; box-shadow: 0 -6px 18px rgba(36, 41, 46, .22); z-index: 10000; }
}
