/* Teppichplaner – alle Regeln gelten nur innerhalb von #teppichplaner */
@font-face { font-family: "PT Serif"; src: url("pt-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
#teppichplaner {
  --weiss: #ffffff; --kopf: #f7f5f3; --kachel: #f8f8f8; --leiste: #6f6865; --linie: #cfcbc6; --linie-hell: #e9e6e2;
  --text: #4a4f55; --titel: #6b6563; --gedaempft: #8a8580; --gold: #c6b693; --gold-dunkel: #ad9a70; --gold-text: #b09c70; --gold-hell: #f6f2e8; --ok: #5aa55a;
  --schrift: "Open Sans", "Segoe UI", system-ui, sans-serif; --serif: "PT Serif", Georgia, "Times New Roman", serif;
  color-scheme: light;
}
#teppichplaner * { box-sizing: border-box; }
#teppichplaner [hidden] { display: none !important; }
#teppichplaner { background: var(--weiss); }
#teppichplaner { font-family: var(--schrift); color: var(--text); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
#teppichplaner button { font: inherit; color: inherit; cursor: pointer; }
#teppichplaner button:focus-visible, #teppichplaner input:focus-visible, #teppichplaner textarea:focus-visible { outline: 2px solid var(--gold-dunkel); outline-offset: 2px; }
#teppichplaner .innen { max-width: 1340px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
#teppichplaner .kopf { background: var(--kopf); }
#teppichplaner .kopf[hidden] { display: none !important; }
#teppichplaner .kopf .innen { display: flex; align-items: center; gap: 24px; padding-block: 30px 26px; }
#teppichplaner .augenbraue { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-text); margin: 0 0 4px; }
#teppichplaner .kopf p.serif { font-family: var(--serif); color: var(--titel); font-size: 28px; line-height: 1.3; margin: 0; text-wrap: balance; }
#teppichplaner .zumShop { margin-left: auto; white-space: nowrap; background: var(--weiss); border: 1px solid var(--linie); border-radius: 2px; padding: 9px 16px; font-size: 14px; }
#teppichplaner .zumShop:hover { border-color: var(--gold); }
#teppichplaner .leiste { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--tp-oben, 0px)); z-index: 6; background: var(--weiss); border-top: 1px solid var(--linie-hell); border-bottom: 1px solid var(--linie-hell); }
#teppichplaner .leiste .innen { display: flex; gap: 6px 44px; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
#teppichplaner .leiste button { background: none; border: 0; color: var(--gedaempft); text-transform: uppercase; letter-spacing: 1px; font-size: 13.5px; padding: 14px 0 11px; border-bottom: 3px solid transparent; white-space: nowrap; display: flex; gap: 10px; align-items: center; }
#teppichplaner .leiste button .nr { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; flex: none; width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 1px solid var(--linie); font-size: 12px; line-height: 1; letter-spacing: 0; font-variant-numeric: lining-nums tabular-nums; text-indent: 0; color: var(--gedaempft); background: var(--weiss); }
#teppichplaner .leiste button .nr .z { display: block; line-height: 1; transform: translateY(var(--nr-y, .07em)); }
#teppichplaner .leiste button.fertig { color: var(--text); }
#teppichplaner .leiste button.fertig .nr { background: var(--gold-hell); border-color: var(--gold); color: var(--gold-dunkel); }
#teppichplaner .leiste button[aria-current="step"] { color: #2f3337; font-weight: 600; border-bottom-color: var(--gold); }
#teppichplaner .leiste button[aria-current="step"] .nr { background: var(--gold); border-color: var(--gold); color: #fff; }
#teppichplaner .leiste button:not(:disabled):hover { color: var(--text); }
#teppichplaner .leiste button:disabled { color: #b7b1aa; cursor: default; }
#teppichplaner .tp-main .innen { padding-block: 34px 130px; }
#teppichplaner h1 { font-family: var(--serif); font-weight: 400; color: var(--titel); font-size: 36px; line-height: 1.2; margin: 0 0 10px; text-wrap: balance; }
#teppichplaner .lead { margin: 0 0 26px; color: var(--gedaempft); max-width: 62ch; }
#teppichplaner .mitte { text-align: center; }
#teppichplaner .mitte .lead { margin-left: auto; margin-right: auto; }
#teppichplaner .etikett { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--text); font-weight: 600; margin: 26px 0 10px; }
#teppichplaner .designs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 8px; max-width: 1100px; margin-inline: auto; }
@media (min-width: 760px) {
#teppichplaner .designs.zwei-k { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 723px; }
 }
#teppichplaner .dzurueck { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 22px; min-width: 300px; background: #fff; border: 1px solid var(--gold); border-radius: 3px; padding: 12px 24px; font: inherit; font-size: 16px; color: var(--text); cursor: pointer; transition: background .15s; }
#teppichplaner .dzurueck:hover { background: var(--gold-hell); }
#teppichplaner .dzurueck span { color: var(--gold-text); font-size: 18px; line-height: 1; }
#teppichplaner .design .preis-k .mehr { display: block; margin-top: 10px; font-weight: 400; font-size: 14.5px; }
#teppichplaner .dnav { display: none; }
#teppichplaner .design { display: flex; flex-direction: column; background: none; border: 0; padding: 0; text-align: left; outline-offset: 4px; }
#teppichplaner .design .bild { position: relative; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; background: #f7f5f2; display: grid; place-items: center; border: 2px solid transparent; transition: border-color .15s; }
#teppichplaner .design .bild canvas { display: block;   /* Schatten 27.11. aufgehellt (Johannes: Saum wirft unten Schatten) */ filter: drop-shadow(0 2px 3px rgba(60,50,40,0.12)); }
#teppichplaner .design .bild.trio { display: grid; grid-template-columns: auto auto; justify-content: center; align-content: center; }
#teppichplaner .design .bild.trio canvas { display: block; }
#teppichplaner .design .bild img { position: absolute !important; top: 5% !important; left: 5% !important; width: 90% !important; height: 90% !important; max-width: none !important; max-height: none !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; object-fit: contain !important; object-position: center !important; display: block !important; filter: drop-shadow(0 2px 3px rgba(60,50,40,0.12)); }
#teppichplaner .design .bild.trio { padding: 0 3%; }
#teppichplaner .design .bild.trio img { position: static !important; flex: 1 1 0; width: 22% !important; height: auto !important; max-height: 70% !important; }
#teppichplaner .design .text { background: var(--kachel); padding: 18px 18px 22px; flex: 1; border: 2px solid transparent; border-top: 0; }
#teppichplaner .design b { display: block; font-weight: 400; font-size: 26px; letter-spacing: .8px; color: var(--text); }
#teppichplaner .design small { display: block; color: var(--gedaempft); font-size: 13.5px; line-height: 1.45; margin-top: 4px; }
#teppichplaner .design .preis-k { display: block; margin-top: 12px; color: var(--gold-text); font-weight: 600; font-size: 16px; }
#teppichplaner .design:hover .bild, #teppichplaner .design:hover .text { border-color: var(--linie-hell); }
#teppichplaner .zwei { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; }
#teppichplaner .vorschau { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--tp-oben, 0px) + 66px); background: #f7f5f2; padding: 0 0 18px; display: flex; flex-direction: column; align-items: center; gap: 14px; --zp: 30px; --zps: 20px; --zpu: 4px; }
#teppichplaner .vorschau canvas { display: block; max-width: 100%; height: auto; filter: drop-shadow(0 2px 3px rgba(60,50,40,0.12)); }
#teppichplaner .vorschau .unter { font-size: 13px; color: var(--gedaempft); text-align: center; }
#teppichplaner .zoombox { overflow: hidden; width: 100%; max-width: 100%; align-self: stretch; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c9c2b8 transparent; }
#teppichplaner .zoombox.gross { overflow: auto; }
#teppichplaner .zinnen { display: flex; align-items: center; justify-content: center; box-sizing: border-box; padding: var(--zp) var(--zps) var(--zpu); width: max-content; min-width: 100%; min-height: 100%; }
#teppichplaner .zoombox.gross:not(.ziehbar) .zinnen { cursor: grab; }
#teppichplaner .zoombox.zieht .zinnen, #teppichplaner .zoombox.zieht svg { cursor: grabbing !important; }
#teppichplaner .zoombox .rug canvas { max-width: none; }
#teppichplaner .vinfo { display: flex; flex-direction: column; align-items: center; gap: 8px; }
#teppichplaner .zoomleiste { display: inline-flex; align-items: center; gap: 0; font-size: 13px; color: var(--gedaempft); }
#teppichplaner .zoomleiste span { margin-right: 8px; }
#teppichplaner .zoomleiste button { background: var(--weiss); border: 1px solid var(--linie); margin-left: -1px; min-width: 36px; height: 32px; font-size: 16px; line-height: 1; color: var(--text); padding: 0 8px; }
#teppichplaner .zoomleiste button:first-of-type { border-radius: 2px 0 0 2px; }
#teppichplaner .zoomleiste button:last-of-type { border-radius: 0 2px 2px 0; }
#teppichplaner .zoomleiste #zWert { min-width: 70px; font-size: 13.5px; font-variant-numeric: tabular-nums; }
#teppichplaner .zoomleiste button:disabled { color: #c3beb8; cursor: default; }
#teppichplaner .rasterleiste { display: inline-flex; align-items: center; font-size: 13px; color: var(--gedaempft); }
#teppichplaner .rasterleiste[hidden] { display: none !important; }
#teppichplaner .rasterleiste span { margin-right: 8px; }
#teppichplaner .rasterleiste button { background: var(--weiss); border: 1px solid var(--linie); margin-left: -1px; height: 32px; padding: 0 10px; font-size: 13px; color: var(--text); }
#teppichplaner .rasterleiste button:first-of-type { border-radius: 2px 0 0 2px; }
#teppichplaner .rasterleiste button:last-of-type { border-radius: 0 2px 2px 0; }
#teppichplaner .rasterleiste .rzyk { display: none; }
#teppichplaner .massknopf { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; background: var(--weiss); border: 1px solid var(--linie); border-radius: 2px; font: inherit; font-size: 13px; color: var(--text); cursor: pointer; }
#teppichplaner .massknopf[hidden] { display: none !important; }
#teppichplaner .massknopf[aria-pressed="true"] { background: var(--gold-hell); border-color: var(--gold); font-weight: 600; }
#teppichplaner .rug svg .masse { pointer-events: none; }
#teppichplaner .rug svg .masse line { stroke: #6f6a66; }
#teppichplaner .rug svg .masse text { fill: #4a4643; font-family: "Open Sans", sans-serif; }
#teppichplaner .rasterleiste button[aria-pressed="true"] { background: var(--gold-hell); border-color: var(--gold); position: relative; font-weight: 600; }
#teppichplaner #ov .raster line { stroke: rgba(42,37,33,.22); }
#teppichplaner #ov .raster line.r50 { stroke: rgba(42,37,33,.45); }
#teppichplaner #ov .raster line.rm { stroke: rgba(42,37,33,.45); stroke-width: 2px; vector-effect: non-scaling-stroke; }
#teppichplaner .zoombox.ziehbar svg { cursor: grab; }
#teppichplaner .chips { display: flex; flex-wrap: wrap; gap: 10px; }
#teppichplaner .chip { background: var(--weiss); border: 1px solid var(--linie); border-radius: 2px; padding: 9px 14px; min-width: 112px; text-align: left; font-variant-numeric: tabular-nums; }
#teppichplaner .chip small { display: block; font-size: 12px; color: var(--gedaempft); }
#teppichplaner .chip:hover { border-color: var(--gold); }
#teppichplaner .chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #fff; }
#teppichplaner .chip[aria-pressed="true"] small { color: #fff; }
#teppichplaner .masse { display: grid; grid-template-columns: 130px 120px minmax(0, 1fr); gap: 16px; align-items: center; }
#teppichplaner .masse label, #teppichplaner .masse > span:not(.hilfe) { font-size: 16px; }
#teppichplaner .masse input { width: 100%; font: inherit; font-size: 16px; padding: 10px; border: 1px solid var(--linie); border-radius: 2px; font-variant-numeric: tabular-nums; }
#teppichplaner .masse .hilfe { color: var(--gold-text); font-size: 14px; line-height: 1.35; }
#teppichplaner .vorschau.wartet .zoombox .rug, #teppichplaner .vorschau.wartet .vzeile { visibility: hidden; }
#teppichplaner .zoombox { position: relative; }
#teppichplaner #fussInfo .tz { display: inline-block; width: 1.1em; }
#teppichplaner .vwartet { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(78%, 300px); text-align: center; padding: 22px 20px; border: 1px dashed #cfc6b8; background: rgba(255,255,255,.55); color: var(--gedaempft); font-size: 14.5px; line-height: 1.45; }
#teppichplaner .vwartet b { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--text); margin-bottom: 4px; }
#teppichplaner .vwartet[hidden] { display: none; }
#teppichplaner .mfeld { position: relative; display: block; min-width: 0; }
#teppichplaner .mfeld input { padding-right: 42px; -moz-appearance: textfield; appearance: textfield; }
#teppichplaner .mfeld input::-webkit-inner-spin-button, #teppichplaner .mfeld input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
#teppichplaner .mpf { position: absolute; top: 1px; right: 1px; bottom: 1px; width: 34px; display: flex; flex-direction: column; border-left: 1px solid var(--linie); }
#teppichplaner .mpf button { flex: 1 1 0; min-height: 0; border: 0; padding: 0; margin: 0; background: #faf9f7; color: var(--gedaempft); display: grid; place-items: center; cursor: pointer; border-radius: 0; }
#teppichplaner .mpf button + button { border-top: 1px solid var(--linie); }
#teppichplaner .mpf button:hover { background: var(--gold-hell); color: var(--text); }
#teppichplaner .mpf button:active { background: var(--gold); color: #fff; }
#teppichplaner .mpf svg { width: 14px; height: 14px; display: block; }
#teppichplaner .masse .wert { font-variant-numeric: tabular-nums; }
#teppichplaner .fehler { color: #b2523a; font-size: 13px; min-height: 1.4em; margin-top: 8px; }
#teppichplaner .hinweis { font-size: 13px; color: var(--gedaempft); margin-top: 12px; line-height: 1.5; }
#teppichplaner .hinweis a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 2px; }
#teppichplaner .hinweis a:hover { color: var(--text); }
#teppichplaner .slots { display: grid; gap: 8px; }
#teppichplaner .slot { display: flex; align-items: center; gap: 14px; background: var(--weiss); border: 1px solid var(--linie); border-radius: 2px; padding: 7px 14px 7px 7px; text-align: left; }
#teppichplaner .slot .sw { width: 46px; height: 46px; background-size: cover; flex: none; position: relative; }
#teppichplaner #ausfBox .grundwahl .slot .sw { width: 76px; height: 76px; }
#teppichplaner #ausfBox .grundwahl .slot { gap: 18px; padding-block: 8px; }
#teppichplaner #ausfBox .grundwahl .slot b { font-size: 15px; }
@media (max-width: 760px) {
#teppichplaner #ausfBox .grundwahl .slot .sw { width: 64px; height: 64px; }
 }
@media (hover: hover) {
#teppichplaner .slot:hover .sw[style]::after { content: ""; position: absolute; inset: 0; background: rgba(42,37,33,.42) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l4-1 10.5-10.5a2.1 2.1 0 0 0-3-3L5 16l-1 4z'/%3E%3Cpath d='M14 7l3 3'/%3E%3C/svg%3E") center / 18px no-repeat; }
 }
#teppichplaner .slot b { display: block; font-weight: 600; font-size: 14px; }
#teppichplaner .slot small { color: var(--gedaempft); font-size: 13px; }
#teppichplaner .slot .re { margin-left: auto; font-size: 13px; color: var(--gold-text); white-space: nowrap; }
#teppichplaner .slot[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-hell); }
#teppichplaner .gruppen { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 14px; }
#teppichplaner .gruppen button { background: var(--weiss); border: 1px solid var(--linie); border-radius: 2px; color: var(--gold-text); padding: 5px 11px; font-size: 13.5px; }
#teppichplaner .gruppen button[aria-pressed="true"] { background: var(--gold-hell); border-color: var(--gold); color: var(--text); }
#teppichplaner .gruppen .rpf { display: none; }
#teppichplaner .palette { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 10px; align-items: start; align-content: start; }
#teppichplaner .farbe { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; background: none; border: 0; padding: 0; font-size: 11.5px; letter-spacing: .3px; text-transform: uppercase; text-align: center; color: var(--text); line-height: 1.3; }
#teppichplaner .farbe i { display: block; aspect-ratio: 1; width: 100%; background-size: cover; margin-bottom: 6px; outline: 2px solid transparent; outline-offset: 2px; }
#teppichplaner .farbe:hover i { outline-color: var(--linie); }
#teppichplaner .farbe[aria-pressed="true"] i { outline-color: var(--gold-dunkel); }
#teppichplaner .farbe[aria-pressed="true"] { color: var(--gold-dunkel); }
#teppichplaner .regler { display: grid; grid-template-columns: minmax(0, 1fr) 64px; gap: 2px 12px; align-items: center; margin-top: 10px; }
#teppichplaner .regler label { grid-column: 1 / -1; font-size: 14px; }
#teppichplaner .regler input[type=range] { width: 100%; accent-color: var(--gold-dunkel); }
#teppichplaner .regler output { font-variant-numeric: tabular-nums; text-align: right; }
#teppichplaner .zeilen { border-top: 1px solid var(--linie-hell); }
#teppichplaner .zeilen div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--linie-hell); font-size: 15px; }
#teppichplaner .zeilen span { color: var(--text); font-weight: 600; }
#teppichplaner .zeilen b { font-weight: 400; color: var(--gedaempft); text-align: right; font-variant-numeric: tabular-nums; }
#teppichplaner textarea { width: 100%; font: inherit; padding: 10px; border: 1px solid var(--linie); border-radius: 2px; resize: vertical; }
#teppichplaner .preis { margin: 22px 0 0; }
#teppichplaner .preis b { display: block; font-size: 34px; font-weight: 400; font-variant-numeric: tabular-nums; line-height: 1.2; }
#teppichplaner .preis span { color: var(--gold-text); font-size: 14px; text-decoration: underline; }
#teppichplaner .alleWeg { display: block; margin: 4px 0 6px auto; background: none; border: 0; padding: 4px 0; color: #a5483f; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#teppichplaner .alleWeg[hidden] { display: none; }
#teppichplaner .weiteresEl { display: block; width: 100%; margin-top: 14px; }
#teppichplaner .weiteresEl[hidden] { display: none; }
#teppichplaner #frei.vorlage #freiAdd, #teppichplaner #frei.vorlage .freireiter { display: none !important; }
#teppichplaner #frei.vorlage #freiList { display: block !important; }
#teppichplaner .vorlhinweis { display: grid; gap: 4px; padding: 14px 16px; margin: 0 0 14px; background: var(--gold-hell); border-left: 3px solid var(--gold); font-size: 14px; line-height: 1.5; }
#teppichplaner .vorlhinweis b { font-size: 15px; }
#teppichplaner .vorlhinweis .vorlfrei { justify-self: start; margin-top: 6px; padding: 0; background: none; border: 0; color: var(--gold-dunkel); font-size: 14px; text-decoration: underline; cursor: pointer; }
#teppichplaner #freiListe .weiteresEl.dicht { position: relative; margin: 6px 0 12px; height: 42px; border: 0; background: none; color: var(--gold-dunkel); font-size: 14px; }
#teppichplaner #freiListe .weiteresEl.dicht:hover { background: var(--gold-hell); }
#teppichplaner .gesp { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; border: 1px solid var(--gold); background: #faf7f1; padding: 14px 18px; margin: 18px 0 4px; }
#teppichplaner .gesp b { display: block; font-weight: 600; }
#teppichplaner .gesp small { color: var(--gedaempft); }
#teppichplaner .gesp .reihe { display: flex; gap: 10px; flex-wrap: wrap; }
#teppichplaner .lieferzeit { display: flex; gap: 10px; align-items: baseline; margin: 14px 0 20px; }
#teppichplaner .lieferzeit::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--ok); flex: none; transform: translateY(1px); }
#teppichplaner .knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--gold); background: var(--gold); color: #fff; border-radius: 2px; padding: 12px 26px; font-size: 17px; }
#teppichplaner .knopf:hover { background: var(--gold-dunkel); border-color: var(--gold-dunkel); }
#teppichplaner .knopf.rand { background: var(--weiss); color: var(--text); border-color: var(--linie); font-size: 15px; }
#teppichplaner .knopf.rand:hover { border-color: var(--gold); background: var(--weiss); }
#teppichplaner .aktionen { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#teppichplaner .aktionen .gross { grid-column: 1 / -1; }
#teppichplaner .leiste.tp-unten, #teppichplaner .fuss.tp-unten { position: static !important; z-index: auto !important; }
#teppichplaner .fuss { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; isolation: isolate; border-top: 1px solid var(--linie-hell); padding-bottom: env(safe-area-inset-bottom, 0px); }
#teppichplaner .fuss .innen { display: flex; align-items: center; gap: 16px; padding-block: 12px; }
#teppichplaner .fuss .info { flex: 1; min-width: 0; font-size: 16.5px; letter-spacing: .2px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
#teppichplaner .fuss .knopf { min-width: 210px; white-space: nowrap; }
#teppichplaner .fuss .info b { color: var(--gold-text); font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; }
#teppichplaner .schleier { position: fixed; inset: 0; z-index: 10050; background: rgba(40,36,32,.45); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
#teppichplaner .fenster { background: var(--weiss); border-radius: 2px; max-width: 580px; width: 100%; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
#teppichplaner .fenster.aifenster { display: flex; flex-direction: column; overflow: hidden; height: min(680px, calc(100vh - 32px)); height: min(680px, calc(100dvh - 32px)); padding: 0; }
#teppichplaner .aifenster .aikopf { flex: none; padding: 26px 28px 0; border-bottom: 1px solid var(--linie-hell); }
#teppichplaner .aifenster .aiinhalt { flex: 1 1 auto; min-height: 0 !important; overflow-y: auto; overscroll-behavior: contain; padding: 20px 28px 24px; }
#teppichplaner .aifenster .aifuss { flex: none; padding: 14px 28px 18px; border-top: 1px solid var(--linie-hell); background: var(--weiss); }
#teppichplaner .aifenster .aifuss .reihe { margin: 0; }
@media (max-width: 480px) {
#teppichplaner .aifenster .aikopf { padding: 20px 18px 0; }
#teppichplaner .aifenster .aiinhalt { padding: 16px 18px 20px; }
#teppichplaner .aifenster .aifuss { padding: 12px 18px 14px; }
#teppichplaner .aifenster .aifuss .knopf { width: 100%; }
 }
#teppichplaner .aifenster .aititel { font-family: var(--serif); font-weight: 400; color: var(--titel); font-size: 24px; margin: 0 0 14px; }
#teppichplaner .aireiter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
#teppichplaner .aireiter button { font: inherit; font-size: 13.5px; padding: 6px 13px; border: 1px solid var(--linie); border-radius: 20px; background: #fff; color: var(--text); cursor: pointer; }
#teppichplaner .aireiter button[aria-selected="true"] { background: var(--gold-hell); border-color: var(--gold); font-weight: 600; }
#teppichplaner .aiinhalt { min-height: 360px; font-size: 14.5px; line-height: 1.55; }
#teppichplaner .aiinhalt h4 { font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-text); margin: 0 0 6px; }
#teppichplaner .aiinhalt h4 ~ h4 { margin-top: 16px; }
#teppichplaner .aiinhalt p { margin: 0 0 8px; }
#teppichplaner .aiinhalt b { font-weight: 600; }
#teppichplaner .aiinhalt .aiintro { color: var(--gedaempft); margin-bottom: 16px; }
#teppichplaner .aiinhalt .aihinweis { margin-top: 16px; color: var(--gedaempft); font-size: 13.5px; }
#teppichplaner .aiinhalt a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 2px; }
#teppichplaner .aikacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#teppichplaner .aikacheln div { background: #f7f4ef; padding: 12px 14px; font-size: 13.5px; line-height: 1.45; color: var(--gedaempft); }
#teppichplaner .aikacheln b { display: block; color: var(--text); font-size: 14px; margin-bottom: 3px; }
@media (max-width: 480px) {
#teppichplaner .aikacheln { grid-template-columns: 1fr; }
 }
#teppichplaner .fenster .aidl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; font-size: 14px; }
#teppichplaner .aidl dt { color: var(--gedaempft); }
#teppichplaner .aidl dd { margin: 0; }
@media (max-width: 480px) {
#teppichplaner .fenster .aidl { grid-template-columns: 1fr; gap: 2px; }
#teppichplaner .fenster .aidl dd { margin-bottom: 8px; }
 }
#teppichplaner .fbkarte { border: 1px solid var(--linie-hell); background: #faf9f7; padding: 18px 19px 16px; margin-top: 22px; }
#teppichplaner .fbkarte h3 { font-family: var(--serif); font-weight: 400; color: var(--titel); font-size: 21px; line-height: 1.3; margin: 0 0 2px; }
#teppichplaner .fbkarte p { margin: 0 0 12px; color: var(--gedaempft); font-size: 14px; }
#teppichplaner .fbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 524px; margin-inline: auto; }
#teppichplaner .fbs button { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; height: 100px; padding: 12px 4px 8px; line-height: 1.3; border: 1px solid var(--linie); background: #fff; color: var(--gedaempft); font: inherit; font-size: 13px; cursor: pointer; transition: border-color .15s, background .15s; }
#teppichplaner .fbs button:hover { border-color: var(--gold); }
#teppichplaner .fbs button[aria-pressed="true"] { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: var(--gold-hell); }
#teppichplaner .fbs svg { width: 34px; height: 34px; }
#teppichplaner .fbform label.fbl { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; color: var(--text); margin: 16px 0 6px; }
#teppichplaner .fbform label.fbl small { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--gedaempft); font-size: 12.5px; }
#teppichplaner .fbform textarea, #teppichplaner .fbform input[type=email] { width: 100%; box-sizing: border-box; border: 1px solid var(--linie); padding: 10px 12px; font: inherit; font-size: 15px; color: var(--text); background: #fff; }
#teppichplaner .fbform textarea { min-height: 110px; resize: vertical; }
#teppichplaner .fbform .fbfehler { color: #b3261e; font-size: 13.5px; min-height: 1.2em; margin: 8px 0 0; }
@media (max-width: 760px) {
#teppichplaner .fbform .reihe { flex-direction: column; }
#teppichplaner .fbform .reihe .knopf { width: 100%; }
#teppichplaner .fbs button span { font-size: 12.5px; }
 }
#teppichplaner .fbweg { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
#teppichplaner .fenster h2 { font-family: var(--serif); font-weight: 400; color: var(--titel); font-size: 28px; margin: 0 0 6px; }
#teppichplaner .fenster .live { background: var(--kopf); border-left: 3px solid var(--gold); padding: 10px 14px; font-size: 14px; margin: 12px 0 18px; }
#teppichplaner .fenster .posten { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: start; }
#teppichplaner .fenster .posten canvas { width: 96px; height: auto; }
#teppichplaner .fenster dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 14px; margin: 0; font-size: 14px; }
#teppichplaner .fenster dt { color: var(--gedaempft); }
#teppichplaner .fenster dd { margin: 0; overflow-wrap: anywhere; }
#teppichplaner .fenster .reihe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
#teppichplaner .fenster.farbwahl { display: flex; flex-direction: column; height: 100%; max-height: min(860px, calc(100vh - 32px)); max-height: min(860px, calc(100dvh - 32px)); overflow: hidden; padding-bottom: 20px; }
#teppichplaner .farbwahl .fw-kopf { flex: none; }
#teppichplaner .farbwahl .palette.klein { flex: 1 1 auto; height: auto; min-height: 0 !important; }
#teppichplaner .farbwahl .fw-fuss { flex: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--linie-hell); }
#teppichplaner .fw-fuss .knopf:disabled { opacity: .45; }
#teppichplaner .fw-fuss:has(#fwOk) { display: grid; grid-template-columns: 1fr 1fr; }
#teppichplaner .fw-fuss .knopf { width: 100%; padding-inline: 8px; }
#teppichplaner .farbe.gew i::after { display: none !important; }
#teppichplaner .farbe.gew i em { z-index: 1; }
#teppichplaner .wbband { background: #f6f2e8; border: 1px solid #e6dcc6; margin: 14px 0 4px; font-size: 14px; color: var(--text); }
#teppichplaner .wbz { display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
#teppichplaner .wbt { flex: 1; line-height: 1.5; }
#teppichplaner .wbt a { color: var(--gold-dunkel); white-space: nowrap; }
#teppichplaner .wbt small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--gedaempft); }
@media (max-width: 760px) {
#teppichplaner .wbz { padding: 9px 12px; gap: 10px; font-size: 13px; }
#teppichplaner .wbz .wbfb { padding: 4px 9px; font-size: 12px; }
 }
#teppichplaner .wbleiste { padding-top: 12px; }
#teppichplaner .wbfb { background: none; border: 1px solid var(--gold); color: var(--gold-dunkel); padding: 5px 12px; font-size: 13px; white-space: nowrap; }
#teppichplaner .wbfb:hover { background: var(--gold-hell); }
#teppichplaner .wblink { background: none; border: 0; padding: 0; color: var(--gold-dunkel); text-decoration: underline; text-underline-offset: 2px; font: inherit; cursor: pointer; }
#teppichplaner .wbstart { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; text-align: left; max-width: 1180px; margin: 10px auto 30px; }
#teppichplaner .wbaugen { display: flex; align-items: center; gap: 10px; color: var(--gold-dunkel); font-size: 13px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 14px; }
#teppichplaner .wbstart h1 { margin: 0 0 14px; }
#teppichplaner .wbstart .lead { margin: 0 0 26px; max-width: 620px; }
#teppichplaner .wbschritte { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: wb; }
#teppichplaner .wbschritte li { counter-increment: wb; background: var(--weiss); border: 1px solid var(--linie-hell); padding: 16px 16px 14px; display: grid; gap: 4px; align-content: start; font-size: 13.5px; color: var(--gedaempft); line-height: 1.45; }
#teppichplaner .wbschritte li::before { content: counter(wb); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #fff; font-weight: 600; margin-bottom: 6px; }
#teppichplaner .wbschritte b { color: var(--text); font-size: 15px; }
#teppichplaner .wbpreise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e6dcc6; border: 1px solid #e6dcc6; margin-bottom: 26px; }
#teppichplaner .wbpreise div { background: #f6f2e8; padding: 12px 14px; display: grid; gap: 2px; font-size: 13.5px; color: var(--text); }
#teppichplaner .wbpreise em { font-style: normal; font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold-dunkel); font-weight: 600; }
#teppichplaner .wbpreishinweis { margin: -18px 0 26px; font-size: 13px; color: var(--gedaempft); }
#teppichplaner .wbstartknoepfe { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
#teppichplaner .wbstartknoepfe .knopf { min-width: 280px; }
#teppichplaner .wbstartknoepfe a, #teppichplaner .wbklein { color: var(--gedaempft); font-size: 13.5px; }
#teppichplaner .wbbeta { border-left: 3px solid var(--gold); padding: 4px 0 4px 16px; font-size: 13.5px; color: var(--gedaempft); }
#teppichplaner .wbbeta b { color: var(--text); }
#teppichplaner .wbbeta p { margin: 4px 0 10px; line-height: 1.5; }
#teppichplaner .wbbedzeile { margin: -16px 0 26px; font-size: 14px; }
#teppichplaner .wbgal { position: fixed; inset: 0; z-index: 9990; background: #f7f5f3; display: flex; flex-direction: column; }
#teppichplaner html.galoffen, #teppichplaner html.galoffen body { overflow: hidden; }
#teppichplaner .galinnen { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 28px max(20px, calc((100vw - 1180px) / 2)) 24px; }
#teppichplaner .galkopf { display: flex; gap: 20px; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
#teppichplaner .galkopf h2 { font-family: var(--serif); font-weight: 400; color: var(--titel); font-size: 32px; line-height: 1.2; margin: 2px 0 8px; }
#teppichplaner .galkopf p { margin: 0; color: var(--gedaempft); max-width: 640px; }
#teppichplaner .galaugen { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-text); }
#teppichplaner p.galdemo { margin-top: 10px; display: inline-block; background: var(--gold-hell); border: 1px solid #e8dfc8; padding: 4px 10px; font-size: 13px; color: var(--gold-dunkel); }
#teppichplaner .galzu, #teppichplaner .glzu { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linie); background: #fff; font-size: 26px; line-height: 1; color: var(--text); cursor: pointer; }
#teppichplaner .galgitter { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 26px 22px; }
#teppichplaner .galkarte { position: relative; display: flex; flex-direction: column; }
#teppichplaner .galbild { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; aspect-ratio: 170 / 240; position: relative; }
#teppichplaner .galbild img { width: 100%; height: 100%; object-fit: contain; display: block; box-shadow: 0 8px 20px rgba(60,50,40,.16); transition: transform .25s ease, box-shadow .25s ease; }
#teppichplaner .galbild:hover img { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(60,50,40,.22); }
#teppichplaner .galwarte { position: absolute; inset: 0; background: linear-gradient(100deg, #ece8e3 30%, #f5f2ee 50%, #ece8e3 70%); background-size: 300% 100%; animation: galglanz 1.4s linear infinite; }
@keyframes galglanz { from { background-position: 100% 0; } to { background-position: -100% 0; } }
#teppichplaner .galkarte b { margin-top: 12px; font-weight: 600; font-size: 15px; color: var(--text); line-height: 1.3; }
#teppichplaner .galkarte small { color: var(--gedaempft); font-size: 13px; }
#teppichplaner .galkarte.gewaehlt .galbild img { outline: 3px solid var(--gold-dunkel); outline-offset: 4px; }
#teppichplaner .galherz { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); box-shadow: 0 2px 8px rgba(0,0,0,.18); cursor: pointer; display: grid; place-items: center; transition: transform .15s ease; }
#teppichplaner .galherz svg, #teppichplaner .glherz svg { width: 22px; height: 22px; fill: none; stroke: var(--text); stroke-width: 1.8; }
#teppichplaner .galherz:active { transform: scale(.9); }
#teppichplaner .galherz[aria-pressed="true"] { background: var(--gold-dunkel); }
#teppichplaner .galherz[aria-pressed="true"] svg { fill: #fff; stroke: #fff; }
#teppichplaner .galherz em { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: #fff; color: var(--gold-dunkel); font: 700 12px/20px var(--schrift); font-style: normal; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
#teppichplaner .galherz em:empty { display: none; }
#teppichplaner .galherz:disabled { cursor: default; opacity: .9; }
#teppichplaner .galeigen { position: absolute; top: 10px; left: 10px; background: var(--gold); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .5px; padding: 3px 9px; }
#teppichplaner .galeigen.statisch { position: static; }
#teppichplaner .galleiste { flex: none; display: flex; align-items: center; gap: 16px; padding: 12px max(20px, calc((100vw - 1180px) / 2)); background: #fff; border-top: 1px solid var(--linie-hell); box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
#teppichplaner .galslots { display: flex; gap: 8px; flex: none; }
#teppichplaner .galslot { width: 40px; height: 56px; border: 1.5px dashed var(--linie); display: grid; place-items: center; color: var(--gedaempft); font-size: 13px; }
#teppichplaner .galslot.voll { border: 0; }
#teppichplaner .galslot img { width: 100%; height: 100%; object-fit: cover; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
#teppichplaner .galtext { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
#teppichplaner .galtext span { color: var(--gedaempft); font-size: 13px; }
#teppichplaner .galmeld.an { animation: galwackel .4s ease; color: var(--gold-dunkel); }
@keyframes galwackel { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
#teppichplaner .galleiste input { width: 230px; padding: 10px 12px; border: 1px solid var(--linie); font: inherit; }
#teppichplaner .galleiste .knopf:disabled { opacity: .45; cursor: default; }
#teppichplaner .gallicht { position: fixed; inset: 0; z-index: 9995; background: rgba(40,36,32,.86); display: flex; align-items: center; justify-content: center; gap: 18px; padding: 20px; }
#teppichplaner .gallicht[hidden] { display: none; }
#teppichplaner .gallicht figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-height: 100%; }
#teppichplaner .gallicht img { max-width: min(78vw, 520px); max-height: calc(100vh - 170px); object-fit: contain; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
#teppichplaner .gallicht figcaption { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; margin-top: 16px; color: #fff; }
#teppichplaner .gallicht figcaption b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; }
#teppichplaner .gallicht figcaption small { color: rgba(255,255,255,.75); }
#teppichplaner .glherz { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
#teppichplaner .glherz svg { stroke: currentColor; }
#teppichplaner .knopf:not(.rand).glherz svg { fill: #fff; stroke: #fff; }
#teppichplaner .gallicht .knopf.rand { background: #fff; }
#teppichplaner .glpfeil { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
#teppichplaner .glpfeil:hover { background: rgba(255,255,255,.26); }
#teppichplaner .glzu { position: absolute; top: 16px; right: 16px; }
@media (max-width: 760px) {
#teppichplaner .galinnen { padding: 18px 16px 18px; }
#teppichplaner .galkopf h2 { font-size: 25px; }
#teppichplaner .galkopf p { font-size: 14px; }
#teppichplaner .galgitter { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
#teppichplaner .galherz { width: 40px; height: 40px; top: 6px; right: 6px; }
#teppichplaner .galleiste { flex-wrap: wrap; gap: 10px 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
#teppichplaner .galslot { width: 30px; height: 42px; }
#teppichplaner .galleiste .knopf { flex: 1 1 100%; }
#teppichplaner .galleiste input { flex: 1 1 100%; width: auto; }
#teppichplaner .gallicht { padding: 60px 10px 20px; flex-direction: column; }
#teppichplaner .glpfeil { display: none; }
#teppichplaner .gallicht img { max-width: 92vw; max-height: calc(100vh - 230px); }
#teppichplaner .gallicht figcaption { flex-direction: column; align-items: flex-start; gap: 10px; }

}
#teppichplaner .bnote { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--linie-hell); }
#teppichplaner .bnote b { font-weight: 600; }
#teppichplaner .bnote small { display: block; color: var(--gedaempft); font-size: 13px; line-height: 1.4; }
#teppichplaner .bnoten { display: flex; gap: 6px; }
#teppichplaner .bnoten button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--linie); background: #fff; color: var(--text); font: 600 14px var(--schrift); cursor: pointer; padding: 0; }
#teppichplaner .bnoten button[aria-checked="true"] { background: var(--gold-dunkel); border-color: var(--gold-dunkel); color: #fff; }
#teppichplaner .bnach { grid-column: 1 / -1; background: var(--gold-hell); padding: 8px 12px 12px; }
#teppichplaner .bnach[hidden] { display: none; }
#teppichplaner .bnach textarea { width: 100%; box-sizing: border-box; margin-top: 4px; }
@media (max-width: 760px) {
#teppichplaner .bnote { grid-template-columns: 1fr; }
#teppichplaner .bnoten { justify-content: space-between; }
#teppichplaner .bnoten button { width: 40px; height: 40px; }
 }
#teppichplaner .bnote { grid-template-columns: 1fr !important; }
#teppichplaner .bnoten { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 4px; }
#teppichplaner .bnoten button { width: auto !important; height: auto !important; min-height: 38px; border-radius: 4px !important; padding: 6px 4px !important; font: 400 12.5px/1.2 var(--schrift) !important; }
@media (max-width: 760px) {
#teppichplaner .bnoten { gap: 4px; }
#teppichplaner .bnoten button { min-height: 46px; font-size: 11px !important; padding: 4px 2px !important; hyphens: manual; }
 }
#teppichplaner .bsterne { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
#teppichplaner .bsterne button { width: 40px; height: 40px; padding: 4px; border: 0; background: none; cursor: pointer; }
#teppichplaner .bsterne svg { width: 100%; height: 100%; fill: #fff; stroke: var(--linie); stroke-width: 1.5; stroke-linejoin: round; transition: transform .12s; }
#teppichplaner .bsterne button.an svg { fill: #c6a54a; stroke: #c6a54a; }
#teppichplaner .bsterne button:active svg { transform: scale(.88); }
#teppichplaner .bslab { margin-left: 10px; font-weight: 600; font-size: 14px; color: var(--text); }
@media (max-width: 760px) {
#teppichplaner .bsterne button { width: 44px; height: 44px; }
 }
@media (max-width: 760px) {
#teppichplaner .cmfeld .stb { width: 30px; font-size: 18px; }
#teppichplaner .cmfeld .stufer input { font-size: 14px; letter-spacing: -.01em; }
#teppichplaner .cmfeld .stufer input:focus { font-size: 16px; }
 }
@media (min-width: 761px) {
#teppichplaner .zwei > .spalte { padding: 0 2px calc(var(--tp-fuss, 76px) + 24px) 2px; }
 }
@media (min-width: 761px) and (max-height: 820px) {
#teppichplaner .schleier .fenster.farbwahl { max-width: 760px; padding: 22px 24px 16px; }
#teppichplaner .schleier .farbwahl .palette.klein { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px 10px; }
#teppichplaner .schleier .fenster.farbwahl h2 { font-size: 24px; }
 }
@media (max-width: 480px) {
#teppichplaner .ureihe { grid-template-columns: 40px minmax(0, 1fr) !important; align-items: start; }
#teppichplaner .ureihe > .ukq { grid-column: 1 !important; grid-row: 1 / span 2 !important; align-self: start !important; margin-top: 24px !important; }
#teppichplaner .ureihe > .feld { grid-column: 2 !important; }
 }
#teppichplaner .bstl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0 28px; }
#teppichplaner .bstl > div { padding: 2px 22px; border-left: 1px solid var(--linie); }
#teppichplaner .bstl > div:first-child { border-left: 0; padding-left: 0; }
#teppichplaner .bstl .bz { display: block; font: 400 46px/1 var(--serif); color: var(--gold); }
#teppichplaner .bstl b { display: block; font-weight: 600; font-size: 17px; margin-top: 10px; color: var(--titel); }
#teppichplaner .bstl small { display: block; color: var(--gedaempft); font-size: 14px; line-height: 1.45; margin-top: 2px; }
#teppichplaner .bsrabatt { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--gold); background: #fff; padding: 13px 16px; margin: -10px 0 24px; }
#teppichplaner .bsrabatt b { display: block; font-weight: 600; color: var(--titel); }
#teppichplaner .bsrabatt span { font-size: 14px; color: var(--titel); }
#teppichplaner .bsrabatt svg, #teppichplaner .brabatt svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--gold-dunkel); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
#teppichplaner .brabatt { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid #e3d8bf; padding: 10px 12px; margin: 8px 0 0; font-size: 13.5px; color: var(--titel); line-height: 1.45; }
#teppichplaner .brabatt svg { width: 20px; height: 20px; margin-top: 1px; }
#teppichplaner .bshinweis { display: flex; gap: 12px; align-items: flex-start; background: var(--gold-hell); padding: 14px 16px; margin: 0 0 24px; }
#teppichplaner .bshinweis svg { flex: none; width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--gold-dunkel); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
#teppichplaner .bshinweis b { display: block; font-weight: 600; }
#teppichplaner .bshinweis span { font-size: 14px; color: var(--titel); }
#teppichplaner .bszitat { margin: 0 0 24px; padding: 16px 12px; border-top: 1px solid var(--linie-hell); border-bottom: 1px solid var(--linie-hell); font: italic 400 18px/1.45 var(--serif); color: var(--titel); text-align: center; }
#teppichplaner .bszitat small { display: block; margin-top: 6px; font: 400 12.5px var(--schrift); color: var(--gedaempft); }
@media (max-width: 760px) {
#teppichplaner .bstl { grid-template-columns: 1fr; gap: 14px; }
#teppichplaner .bstl > div { border-left: 0; padding: 0 0 0 0; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; }
#teppichplaner .bstl .bz { grid-row: span 2; font-size: 36px; }
#teppichplaner .bstl b { margin-top: 2px; }
#teppichplaner .bstl small { font-size: 13px; }
#teppichplaner .bszitat { font-size: 16px; }
 }
#teppichplaner .betaende { background: var(--gold-hell); border: 1px solid #e8dfc8; }
#teppichplaner .betaende .bnote { border-top-color: #e8dfc8; }
#teppichplaner .bhaken { display: flex; align-items: center; gap: 10px; }
#teppichplaner .bhaken::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #e3f0e3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235aa55a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 16px no-repeat; }
#teppichplaner .betaakt { display: flex !important; justify-content: center; margin-top: 10px; }
#teppichplaner .linkknopf { background: none; border: 0; padding: 6px; font: inherit; font-size: 14px; color: var(--gold-dunkel); text-decoration: underline; cursor: pointer; }
#teppichplaner .betaende .betaform .knopf[type=submit] { width: 100%; }
#teppichplaner #teppichplaner textarea, #teppichplaner #teppichplaner input:not([type=checkbox]):not([type=radio]):not([type=range]), #teppichplaner textarea, #teppichplaner input[type=email], #teppichplaner input[type=text], #teppichplaner input[type=tel], #teppichplaner input[type=number] { background-color: #fff; color: var(--text); }
#teppichplaner .betatab { position: fixed; right: 0; top: 50%; z-index: 900; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 9px; background: var(--gold-dunkel); color: #fff; border: 0; border-radius: 8px 0 0 8px; cursor: pointer; box-shadow: -2px 4px 14px rgba(0,0,0,.18); font: 600 13px var(--schrift); letter-spacing: .5px; }
#teppichplaner .betatab span { writing-mode: vertical-rl; transform: rotate(180deg); }
#teppichplaner .betatab svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
#teppichplaner .betatab:hover { background: #9c8a5f; }
#teppichplaner .betaform textarea { min-height: 58px; }
#teppichplaner .betavor { margin: 6px 0 2px; padding: 8px 12px; background: var(--gold-hell); }
#teppichplaner .betaehrlich { background: var(--gold-hell); border-left: 3px solid var(--gold); padding: 10px 14px; }
#teppichplaner .bkwahl { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
#teppichplaner .bkwahl button, #teppichplaner .bkchips button { padding: 9px 18px; border: 1px solid var(--linie); background: #fff; color: var(--text); font: inherit; cursor: pointer; border-radius: 22px; }
#teppichplaner .bkwahl button[aria-pressed="true"], #teppichplaner .bkchips button[aria-pressed="true"] { background: var(--gold-dunkel); border-color: var(--gold-dunkel); color: #fff; }
#teppichplaner .bkmehr { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
#teppichplaner .bkmehr[hidden] { display: none; }
#teppichplaner .bkmehr textarea, #teppichplaner .bkmehr input { width: 100%; padding: 9px 11px; border: 1px solid var(--linie); font: inherit; box-sizing: border-box; }
#teppichplaner .bkchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
#teppichplaner .bkchips button { padding: 8px 14px; font-size: 14px; }
#teppichplaner .betahilfe { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 950; width: min(440px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--linie-hell); box-shadow: 0 12px 34px rgba(0,0,0,.18); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; animation: betaein .35s ease; }
#teppichplaner .betahilfe span { color: var(--gedaempft); font-size: 14px; }
#teppichplaner .betahilfe div { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
@keyframes betaein { from { opacity: 0; transform: translate(-50%, 16px); } }
@media (max-width: 760px) {
#teppichplaner .betatab { top: auto; bottom: 120px; padding: 10px 7px; font-size: 12px; }
#teppichplaner .betahilfe { bottom: 86px; }
 }
#teppichplaner .wbbed { position: fixed; inset: 0; z-index: 10000; background: rgba(40,36,32,.45); display: grid; place-items: center; padding: 16px; }
#teppichplaner .wbbedbox { position: relative; background: #fff; border-radius: 14px; max-width: 640px; width: 100%; max-height: 88vh; overflow: auto; padding: 28px 28px 20px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
#teppichplaner .wbbedbox h2 { margin: 0 0 8px; font: 400 26px Georgia, serif; color: var(--text); }
#teppichplaner .wbbedlink { color: inherit; text-decoration: underline; }
#teppichplaner .wbbedbox h3 { font-size: 15px; margin: 18px 0 4px; }
#teppichplaner .wbbedbox p { margin: 0 0 6px; color: var(--gedaempft); font-size: 14px; line-height: 1.55; }
#teppichplaner .wbbedzu { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--gedaempft); cursor: pointer; }
#teppichplaner .wbbild { display: grid; place-items: center; }
#teppichplaner .wbshow { display: grid; place-items: center; }
#teppichplaner .wbshow { min-height: 640px; }
#teppichplaner .wbshow { isolation: isolate; }
#teppichplaner .wbshow img { grid-area: 1 / 1; display: block; max-width: 100%; max-height: 640px; width: auto; height: auto; box-shadow: 0 14px 34px rgba(60,50,40,.22); opacity: 0; visibility: hidden; transform: translateZ(0); backface-visibility: hidden; will-change: opacity; transition: opacity .6s ease, visibility 0s linear .6s; }
#teppichplaner .wbshow img.war { opacity: 1; visibility: visible; z-index: 1; transition: none; }
#teppichplaner .wbshow img.an { opacity: 1; visibility: visible; z-index: 2; transition: opacity .6s ease, visibility 0s; }
#teppichplaner .wbshow img.erst { transition: none; }
#teppichplaner .bstart .bstitel { margin: 0 0 22px; font-size: 36px; line-height: 1.2; text-wrap: balance; }
#teppichplaner .bstart .bstl { margin-top: 0; }
@media (min-width: 901px) {
#teppichplaner .wbstart.bstart { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; gap: 56px; }
#teppichplaner .bstart .wbbild { position: relative; display: block; min-height: 420px; }
#teppichplaner .bstart .wbshow { position: absolute; inset: 0; min-height: 0; display: block; }
#teppichplaner .bstart .wbshow img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; }
 }
@media (max-width: 900px) {
#teppichplaner .wbstart { grid-template-columns: 1fr; gap: 26px; }
#teppichplaner .wbbild { order: -1; }
#teppichplaner .wbshow { min-height: 320px; }
#teppichplaner .wbshow img { max-height: 320px; }
#teppichplaner .wbschritte, #teppichplaner .wbpreise { grid-template-columns: 1fr; }
#teppichplaner .wbschritte li { grid-template-columns: 30px 1fr; column-gap: 12px; padding: 12px 14px; }
#teppichplaner .wbschritte li::before { grid-row: span 2; margin: 0; }
#teppichplaner .wbschritte { gap: 8px; }
#teppichplaner .wbstartknoepfe .knopf { width: 100%; min-width: 0; }
 }
#teppichplaner .wbmarke { background: var(--gold); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; padding: 3px 8px; }
#teppichplaner .formular .hak { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--text); }
#teppichplaner .formular .hak input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--gold-dunkel); }
#teppichplaner .wbteilen { display: block; width: 100%; max-width: 300px; margin: 6px auto 8px; box-shadow: 0 6px 18px rgba(0,0,0,.15); }
#teppichplaner .entwuerfe { margin: 4px 0 22px; }
#teppichplaner .entwuerfe .etikett { margin-top: 0; }
#teppichplaner .entw-reihe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
#teppichplaner .entw-karte { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px 8px; background: var(--weiss); border: 1px solid var(--linie-hell); color: var(--text); font-size: 13px; line-height: 1.3; text-align: center; min-height: 196px; }
#teppichplaner .entw-karte.akt { background: var(--gold-hell); border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
#teppichplaner .entw-karte:hover { border-color: var(--gold); }
#teppichplaner .entw-bild { height: 124px; display: grid; place-items: center; margin-bottom: 6px; }
#teppichplaner .entw-bild canvas { display: block; max-height: 120px; width: auto !important; height: auto; max-width: 100%; filter: drop-shadow(0 1px 2px rgba(60,50,40,0.12));   /* Schatten folgt der Form – rund ohne eckigen Rand (26.11.) */ }
#teppichplaner .entw-karte b { font-weight: 600; }
#teppichplaner .entw-karte em { font-style: normal; color: var(--gold-text); font-weight: 600; font-size: 12.5px; }
#teppichplaner .entw-karte small { color: var(--gedaempft); font-size: 11.5px; }
#teppichplaner .entw-karte.neu { border: 0; background: none; color: var(--gold-dunkel); justify-content: center; }
#teppichplaner .entw-karte.neu i { font-style: normal; font-size: 30px; line-height: 1; }
#teppichplaner .entw-vergl { width: 100%; margin-top: 10px; }
#teppichplaner .entw-zelle { position: relative; display: grid; }
#teppichplaner .entw-zelle > .entw-karte { height: 100%; }
#teppichplaner .entw-x { position: absolute; z-index: 2; top: -9px; right: -9px; width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border-radius: 50%; background: var(--weiss); border: 1px solid var(--linie); box-shadow: 0 1px 4px rgba(0,0,0,.25); color: #a5524d; font-size: 18px; line-height: 1; cursor: pointer; }
#teppichplaner .entw-x:hover { background: #fbeceb; border-color: #e3b7b4; }
@media (hover: hover) {
#teppichplaner .entw-x { opacity: 0; transition: opacity .15s; }
#teppichplaner .entw-zelle:hover .entw-x, #teppichplaner .entw-x:focus-visible { opacity: 1; }
 }
@media (hover: none) {
#teppichplaner .entw-x::after { content: ""; position: absolute; inset: -8px; }
 }
#teppichplaner .entw-menu { position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; width: 280px; max-width: calc(100vw - 32px); background: var(--weiss); border: 1px solid var(--linie); box-shadow: 0 10px 30px rgba(0,0,0,.18); display: grid; }
#teppichplaner .entw-menu.rechts { left: auto; right: 0; }
#teppichplaner .entw-menu button { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; padding: 12px 14px; background: none; border: 0; text-align: left; color: var(--text); cursor: pointer; font: inherit; }
#teppichplaner .entw-menu button + button { border-top: 1px solid var(--linie-hell); }
#teppichplaner .entw-menu button:hover, #teppichplaner .entw-menu button:focus-visible { background: var(--gold-hell); }
#teppichplaner .entw-menu svg { width: 26px; height: 26px; color: var(--gold-dunkel); }
#teppichplaner .entw-menu b { display: block; font-size: 14px; font-weight: 600; }
#teppichplaner .entw-menu small { display: block; font-size: 12px; color: var(--gedaempft); line-height: 1.35; }
#teppichplaner .vgl-fenster { max-width: 1180px !important; width: calc(100vw - 32px); }
#teppichplaner .vgl { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
#teppichplaner .vgl-sp { scroll-snap-align: start; background: #f7f5f2; padding: 14px; display: flex; flex-direction: column; gap: 10px; border: 1px solid transparent; }
#teppichplaner .vgl-sp.akt { border-color: var(--gold); }
#teppichplaner .vgl-bild { display: grid; place-items: center; min-height: 310px; }
#teppichplaner .vgl-bild canvas { display: block; max-width: 100%; height: auto; filter: drop-shadow(0 2px 3px rgba(60,50,40,0.12)); }
#teppichplaner .vgl-kopf { display: flex; justify-content: space-between; align-items: baseline; }
#teppichplaner .vgl-kopf b { font-weight: 600; font-size: 17px; }
#teppichplaner .vgl-kopf em { font-style: normal; color: var(--gold-text); font-weight: 600; }
#teppichplaner .vgl-z { display: grid; gap: 3px; font-size: 13px; color: var(--gedaempft); flex: 1; }
#teppichplaner .vgl-z div { padding: 3px 6px; }
#teppichplaner .vgl-z span { display: block; font-size: 11px; letter-spacing: .3px; text-transform: uppercase; color: #a8a199; }
#teppichplaner .vgl-z .anders { background: var(--gold-hell); color: var(--text); font-weight: 600; }
#teppichplaner .vgl-akt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#teppichplaner .vgl-akt .knopf:first-child { grid-column: 1 / -1; }
#teppichplaner .vgl-akt .weg { color: #a5574d; }
#teppichplaner .vgl-pdf { grid-column: 1 / -1; background: none; border: 0; color: var(--gedaempft); text-decoration: underline; font-size: 13px; padding: 4px; }
@media (max-width: 760px) {
#teppichplaner .vgl { grid-auto-columns: 78%; }
#teppichplaner .vgl-bild { min-height: 230px; }
#teppichplaner .entw-reihe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 }
#teppichplaner .fw-folge { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
#teppichplaner .fw-folge[hidden] { display: none; }
#teppichplaner .fwchip { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 3px 24px 3px 3px; border: 1px solid var(--linie); background: var(--weiss); font-size: 13px; color: var(--text); line-height: 1; }
#teppichplaner .fwchip i { width: 26px; height: 26px; background: center / cover; }
#teppichplaner .fwchip u { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); text-decoration: none; color: #a5574d; font-size: 16px; }
#teppichplaner .fwchip:hover { border-color: var(--gold); }
#teppichplaner .fw-mind { margin: 4px 0 2px; font-size: 14px; color: var(--text); background: var(--gold-hell); padding: 9px 12px; }
#teppichplaner .farbe i { position: relative; }
#teppichplaner .farbe.gew i em { position: absolute; top: 5px; right: 5px; min-width: 24px; height: 24px; padding: 0 7px; box-sizing: border-box; white-space: nowrap; border-radius: 12px; background: var(--gold); color: #fff; font-style: normal; font-size: 13px; font-weight: 600; display: grid; place-items: center; }
#teppichplaner .farbe.gew i { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--gold); }
#teppichplaner .chal-lage { background: var(--gold-hell); padding: 10px 12px; color: var(--text); }
#teppichplaner .wahl { display: grid; gap: 10px; margin-top: 18px; }
#teppichplaner .wahl .knopf { display: block; width: 100%; text-align: left; padding: 13px 16px; line-height: 1.35; }
#teppichplaner .wahl .knopf b { display: block; font-weight: 600; font-size: 15.5px; }
#teppichplaner .wahl .knopf small { display: block; font-size: 13px; opacity: .85; margin-top: 2px; }
#teppichplaner .formular { display: grid; gap: 10px; }
#teppichplaner .formular label { font-size: 13px; color: var(--gedaempft); display: grid; gap: 4px; }
#teppichplaner .formular input { font: inherit; padding: 9px 10px; border: 1px solid var(--linie); border-radius: 2px; width: 100%; }
#teppichplaner .rug { position: relative; line-height: 0; }
#teppichplaner .rug svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
#teppichplaner .zwei.frei .rug svg { pointer-events: auto; touch-action: pan-x pan-y; }
#teppichplaner .zwei.frei .rug svg [data-i]:not(.gross), #teppichplaner .zoombox.gross .rug svg, #teppichplaner .zoombox.gross .rug svg [data-i] { touch-action: none; }
#teppichplaner .rug svg .nr { cursor: pointer; }
#teppichplaner .zwei.freid .vorschau { --zps: 46px; }
#teppichplaner .rug svg .griff { cursor: ns-resize; }
#teppichplaner .rug svg .griff.gl, #teppichplaner .rug svg .griff.gr { cursor: ew-resize; }
#teppichplaner .rug svg .griff:hover rect + rect { fill: var(--gold-hell); }
#teppichplaner .modopanel { margin: 0 0 12px; }
#teppichplaner .modopanel .ukoerper { padding-top: 4px; }
#teppichplaner .modopanel .mp-feld { display: grid; grid-template-columns: repeat(2, 96px); gap: 12px 14px; touch-action: none; }
#teppichplaner .modopanel .mp-k { width: 96px; }
#teppichplaner .modopanel .mp-f { width: 96px; height: 96px; cursor: grab; font-size: 26px; transition: transform .15s, box-shadow .15s, opacity .15s, outline-color .15s; }
#teppichplaner .modopanel .mp-feld.zieht .mp-f:not(.zieht) { outline: 2px dashed var(--gold); outline-offset: 2px; }
#teppichplaner .modopanel .mp-f.zieht { opacity: .25; border: 2px dashed var(--gold-dunkel); }
#teppichplaner .modopanel .mp-f.ziel { outline: 3px solid var(--gold) !important; outline-offset: 3px; transform: scale(1.08); box-shadow: 0 6px 16px rgba(60,50,40,.28); }
#teppichplaner .mp-geist { position: fixed; z-index: 100000; pointer-events: none; background: center / cover no-repeat; border: 2px solid #fff; box-shadow: 0 14px 32px rgba(40,30,20,.45), 0 0 0 3px var(--gold, #c6b693); transform: scale(1.15) rotate(-3deg); cursor: grabbing; }
#teppichplaner .modopanel .mp-alle { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--gold-dunkel); cursor: pointer; }
#teppichplaner .rug svg .modogriff { cursor: move; }
#teppichplaner .rug svg .modogriff .ml, #teppichplaner .rug svg .modogriff .mk, #teppichplaner .rug svg .modogriff .mx { opacity: 0; transition: opacity .15s; }
#teppichplaner .rug svg .modogriff .ml { stroke: rgba(255,255,255,.9); }
#teppichplaner .rug svg .modogriff .mk { fill: #fff; stroke: #c6b693; }
#teppichplaner .rug svg .modogriff .mx { stroke: #8a8580; fill: none; }
#teppichplaner .rug:hover svg .modogriff .mk, #teppichplaner .rug:hover svg .modogriff .mx, #teppichplaner .rug svg .modogriff.an .ml, #teppichplaner .rug svg .modogriff.an .mk, #teppichplaner .rug svg .modogriff.an .mx { opacity: 1; }
#teppichplaner .rug svg .modogriff:hover .ml { opacity: 1; }
@media (hover: none) {
#teppichplaner .rug svg .modogriff .mk, #teppichplaner .rug svg .modogriff .mx { opacity: 1; }
 }
#teppichplaner .rug svg .treffer { fill: transparent; cursor: grab; }
#teppichplaner .rug svg .treffer:hover { fill: rgba(255,255,255,.18); }
#teppichplaner .grundzeile { display: flex; align-items: center; gap: 14px; padding: 8px 0 4px; }
#teppichplaner .grundzeile > span:first-child { font-weight: 600; min-width: 7em; }
#teppichplaner .fk { display: inline-flex; align-items: center; gap: 8px; background: var(--weiss); border: 1px solid var(--linie); border-radius: 2px; padding: 3px 10px 3px 3px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .3px; max-width: 100%; }
#teppichplaner .fk i { width: 30px; height: 30px; background-size: cover; flex: none; }
#teppichplaner .fk:hover { border-color: var(--gold); }
#teppichplaner .fk span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#teppichplaner .chip.klein { min-width: 0; padding: 6px 11px; font-size: 13.5px; }
#teppichplaner .knopf.klein { padding: 7px 14px; font-size: 14px; }
#teppichplaner .wz-tip { display: none; }
#teppichplaner .wz-i { display: none; }
#teppichplaner #addBar .wz { position: relative; }
#teppichplaner #addBar .wz-i { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-left: 7px; vertical-align: -6px; color: #6e6e73; cursor: help; border-radius: 50%; }
#teppichplaner #addBar .wz-i svg { width: 22px; height: 22px; display: block; }
#teppichplaner #addBar .wz-i:hover, #teppichplaner #addBar .wz-i:focus-visible, #teppichplaner #addBar .wz.info .wz-i { color: #3a3a3c; outline: none; }
#teppichplaner .ausf-i { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-left: 7px; vertical-align: -6px; color: #6e6e73; cursor: pointer; border-radius: 50%; }
#teppichplaner .ausf-i svg { width: 22px; height: 22px; display: block; }
#teppichplaner .ausf-i:hover, #teppichplaner .ausf-i:focus-visible { color: #3a3a3c; outline: none; }
#teppichplaner #addBar .wz-tip { position: absolute; z-index: 30; left: 44px; right: 44px; top: calc(100% - 4px); background: rgba(255,255,255,.97); color: #3a3a3c; font-size: 13px; line-height: 1.5; padding: 12px 14px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.16), 0 0 0 .5px rgba(0,0,0,.08); text-align: left; pointer-events: none; font-weight: 400; }
#teppichplaner #addBar .wz-tip b { display: block; font-size: 13.5px; font-weight: 600; color: #1d1d1f; margin-bottom: 2px; }
@media (hover: hover) {
#teppichplaner #addBar .wz:has(.wz-i:hover) .wz-tip { display: block; }
 }
#teppichplaner #addBar .wz:has(.wz-i:focus-visible) .wz-tip, #teppichplaner #addBar .wz.info .wz-tip { display: block; }
#teppichplaner #addBar .chip { min-width: 0; }
#teppichplaner .wz-ico, #teppichplaner .wz small, #teppichplaner .wz-p { display: none; }
#teppichplaner .wz:not(.zu) b::before { content: "+ "; }
#teppichplaner .wz b { font-weight: 400; }
#teppichplaner .freireiter { display: none; }
#teppichplaner .el { border: 1px solid var(--linie); border-radius: 2px; margin-bottom: 8px; background: var(--weiss); }
#teppichplaner .el.offen { border-color: var(--linie); }
#teppichplaner .el.akt { border-color: var(--gold); }
#teppichplaner .elkopf { display: flex; align-items: center; gap: 12px; padding: 7px 8px 7px 8px; cursor: pointer; }
#teppichplaner .eltxt { flex: 1; min-width: 0; }
#teppichplaner .eltxt b { display: block; font-weight: 600; font-size: 14px; }
#teppichplaner .eltxt span { display: block; font-size: 13px; color: var(--gedaempft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#teppichplaner .elkopf .fk span { display: none; }
#teppichplaner .elkopf .fk { padding: 3px; }
#teppichplaner .rfolge { display: flex; flex-direction: column; width: 38px; height: 38px; flex: none; gap: 1px; background: #e8e2d6; border: 1px solid var(--linie); }
#teppichplaner .rfolge i { display: block; background-size: cover; min-height: 2px; }
#teppichplaner .ik { background: none; border: 1px solid transparent; border-radius: 2px; width: 34px; height: 34px; display: inline-grid; place-items: center; color: var(--gedaempft); font-size: 16px; flex: none; }
#teppichplaner .ik:hover { border-color: var(--linie); color: var(--text); }
#teppichplaner .ik.weg:hover { color: #b2523a; }
#teppichplaner .ik:disabled { opacity: .35; cursor: default; }
#teppichplaner .elfelder { padding: 4px 12px 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
#teppichplaner .elfelder > .rapport, #teppichplaner .elfelder > .hinweis, #teppichplaner .elfelder > .elfarbe { grid-column: 1 / -1; }
#teppichplaner .stb, #teppichplaner .elfarbe { display: none; }
#teppichplaner .stufer { display: contents; }
#teppichplaner .stufer input::-webkit-inner-spin-button, #teppichplaner .stufer input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
#teppichplaner .stufer input { -moz-appearance: textfield; appearance: textfield; }
#teppichplaner .ik.weg { color: #a5574d; }
#teppichplaner .elfelder .hinweis { margin: 0; }
#teppichplaner .feld { display: grid; gap: 4px; font-size: 13px; color: var(--gedaempft); }
#teppichplaner .feld input, #teppichplaner .rtab input, #teppichplaner .vonbis input { font: inherit; font-size: 15px; color: var(--text); padding: 8px 9px; border: 1px solid var(--linie); border-radius: 2px; width: 100%; font-variant-numeric: tabular-nums; }
#teppichplaner .rtab { display: grid; grid-template-columns: 18px minmax(0, 1fr) 70px 70px 34px; gap: 6px; align-items: center; margin: 12px 0 8px; font-size: 12px; color: var(--gedaempft); }
#teppichplaner .rtab .fk span { font-size: 11.5px; }
#teppichplaner .rtab .nrk { text-align: center; }
#teppichplaner .zweif { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 12px; }
#teppichplaner .haken { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 14px; }
#teppichplaner .haken input { accent-color: var(--gold-dunkel); width: 18px; height: 18px; }
#teppichplaner .leer { border: 1px dashed var(--linie); padding: 18px; text-align: center; color: var(--gedaempft); font-size: 14px; }
#teppichplaner .zuleiste { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 12px; margin-bottom: 10px; background: var(--gold-hell); border: 1px solid #e8dfc8; }
#teppichplaner .zuleiste span { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
#teppichplaner .zuleiste b { font-weight: 600; margin-right: 4px; }
#teppichplaner .zuleiste i { width: 18px; height: 18px; background-size: cover; border: 1px solid rgba(0,0,0,.08); }
#teppichplaner .zuleiste > div { display: flex; gap: 6px; }
#teppichplaner .zugruppe .elnr.breit { width: auto; min-width: 22px; padding: 0 6px; border-radius: 11px; font-size: 11px; }
#teppichplaner .zugruppe .rfolge i { flex-grow: 1; }
#teppichplaner .zugruppe .elkopf .ik:not(.weg) { width: auto; padding: 0 8px; gap: 5px; }
#teppichplaner .zugruppe .elkopf .ik:not(.weg) span { font-size: 11px; }
#teppichplaner .zufelder { display: block; }
#teppichplaner .zufelder .zulab { margin: 12px 0 8px; }
#teppichplaner .zufelder .zulab:first-child { margin-top: 2px; }
#teppichplaner .zufarben2 { display: flex; flex-wrap: wrap; gap: 12px 10px; }
#teppichplaner .zuf2 { position: relative; display: flex; flex-direction: column; align-items: center; width: 64px; }
#teppichplaner .zuf2 small { font-size: 11px; color: var(--gedaempft); text-align: center; line-height: 1.25; margin-top: 4px; }
#teppichplaner .zusw2 { width: 56px; height: 56px; padding: 0; border: 1px solid var(--linie-hell); background: center / cover no-repeat; cursor: pointer; }
#teppichplaner .zusw2.zuplus { border: 1.5px dashed var(--linie); background: var(--weiss); font-size: 24px; color: var(--gold-dunkel); }
#teppichplaner .zuf2 .zux { top: -7px; right: -2px; width: 22px; height: 22px; font-size: 14px; }
#teppichplaner .zubereich { margin-top: 12px; }
#teppichplaner .zubereich .zuvbt { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
#teppichplaner .zufelder .stufer input, #teppichplaner .zufelder input[type=number] { background: var(--weiss) !important; color: var(--text) !important; }
#teppichplaner .zulos2 { width: 100%; margin-top: 16px; }
#teppichplaner .zufelder .zuinfo { margin: 8px 0 0; text-align: center; }
@media (max-width: 760px) {
#teppichplaner .zugruppe .elkopf .ik:not(.weg) span { display: none; }
#teppichplaner .zugruppe .elkopf .ik:not(.weg) { padding: 0; width: 40px; }
#teppichplaner .zugruppe .elnr.breit { padding: 0 4px; }
 }
#teppichplaner .ukoerper { display: block !important; padding: 4px 14px 16px; border-top: 1px solid var(--linie-hell); }
#teppichplaner .ulab { font-size: 15.5px; letter-spacing: 1.3px; text-transform: uppercase; font-weight: 700; color: var(--gold-text); margin: 24px 0 12px; padding-top: 14px; border-top: 1px solid var(--linie-hell); }
#teppichplaner .ukoerper > .ulab:first-child { border-top: 0; padding-top: 0; margin-top: 6px; }
#teppichplaner .ulab small { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--gedaempft); margin-left: 4px; }
#teppichplaner .ugrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
#teppichplaner .ugrid .feld { min-width: 0; }
#teppichplaner .elkopf.kc { display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 14px; row-gap: 4px; align-items: center; padding: 12px !important; }
#teppichplaner .elkopf.kc > .usw, #teppichplaner .elkopf.kc > .fk { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
#teppichplaner .elkopf.kc > .usw { width: 56px !important; height: 56px !important; }
#teppichplaner .elkopf.kc > .eltxt { grid-column: 2; grid-row: 1; min-width: 0; }
#teppichplaner .elkopf.kc > .elpfeil { grid-column: 3; grid-row: 1 / span 2; align-self: center; margin: 0; }
#teppichplaner .elkopf.kc .eltxt b { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #2f3337; }
#teppichplaner .elkopf.kc .eltxt b .elnr { flex: none; margin: 0; }
#teppichplaner .elkopf.kc .eltxt .zf, #teppichplaner .elkopf.kc .eltxt .efarbe { display: block; white-space: normal; }
#teppichplaner .elkopf.kc .eltxt .efarbe { font-size: 13px; color: var(--text); }
#teppichplaner .elkopf.kc .kca { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; gap: 4px 20px; }
#teppichplaner .elkopf.kc .kca .ik { display: inline-flex !important; align-items: center; gap: 6px; width: auto !important; min-width: 0 !important; height: 30px !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; color: var(--text); visibility: visible; }
#teppichplaner .elkopf.kc .kca .ik svg { width: 16px; height: 16px; }
#teppichplaner .elkopf.kc .kca .ik small, #teppichplaner .elkopf.kc .kca .ik span { display: inline !important; font-size: 13.5px; margin: 0; letter-spacing: 0; }
@media (max-width: 760px) {
#teppichplaner .elkopf.kc > .elpfeil { grid-row: 1; }
#teppichplaner .elkopf.kc .kca { grid-column: 2 / -1; gap: 4px 18px; }
 }
#teppichplaner .elkopf.kc .kca .ik.weg { color: #a5574d; }
#teppichplaner .elkopf.kc .kca .ik:hover small, #teppichplaner .elkopf.kc .kca .ik:hover span { text-decoration: underline; }
#teppichplaner .preishinweis { margin: -4px 0 18px; padding: 12px 16px; background: var(--grau-hell, #f7f5f1); border-left: 3px solid var(--gold); font-size: 14px; line-height: 1.5; max-width: none; }
#teppichplaner #fussInfo .preis-i { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-left: 6px; padding: 0; border: 0; background: none; color: #6e6e73; vertical-align: -5px; cursor: pointer; border-radius: 50%; }
#teppichplaner #fussInfo .preis-i svg { width: 22px; height: 22px; display: block; }
#teppichplaner #fussInfo .preis-i:hover, #teppichplaner #fussInfo .preis-i:focus-visible { color: #3a3a3c; outline: none; }
#teppichplaner .preisauf { margin: 14px 0 18px; border-top: 1px solid var(--linie-hell); }
#teppichplaner .preisauf > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--linie-hell); font-variant-numeric: tabular-nums; }
#teppichplaner .preisauf small { display: block; font-size: 12.5px; color: var(--gedaempft); margin-top: 1px; }
#teppichplaner .preisauf b { font-weight: 500; white-space: nowrap; }
#teppichplaner .preisauf .summe { border-bottom: 0; font-weight: 600; }
#teppichplaner .preisauf .summe b { font-weight: 600; color: var(--gold-dunkel); }
#teppichplaner .stufentoast { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 6px); max-width: min(520px, calc(100% - 32px)); background: #3c4348; color: #fff; font-size: 13.5px; line-height: 1.4; padding: 10px 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
#teppichplaner .stufentoast.an { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) {
#teppichplaner .stufentoast { transition: none; }
 }
#teppichplaner .rueckweg { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 26px 0 0; padding: 14px 16px; background: var(--grau-hell, #f7f5f1); font-size: 14.5px; }
#teppichplaner .rueckweg a { color: var(--gold-dunkel); text-decoration: none; border-bottom: 1px solid currentColor; font-weight: 500; }
#teppichplaner .schritt.mitte .rueckweg { max-width: 760px; margin-left: auto; margin-right: auto; }
#teppichplaner .fzeile { display: flex; align-items: center; gap: 14px; width: 100%; padding: 0; background: none; border: 0; text-align: left; cursor: pointer; font: inherit; }
#teppichplaner .fzeile i { width: 56px; height: 56px; flex: none; background-size: cover; border: 1px solid var(--linie-hell); }
#teppichplaner .fzeile.leer i { background: var(--tp-farblos, #fbfaf7) center / cover; border: 1px dashed #b9b1a6; }
#teppichplaner .fzeile b { font-size: 15px; font-weight: 500; color: #2f3337; }
#teppichplaner .fzeile u { margin-left: auto; color: var(--gold-dunkel); font-size: 14px; }
#teppichplaner .fzeile:hover i { border-color: var(--gold); }
#teppichplaner .umehr { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 18px; padding: 12px 2px; background: none; border: 0; border-top: 1px solid var(--linie-hell); font: inherit; font-size: 14.5px; color: var(--text); cursor: pointer; text-align: left; }
#teppichplaner .umehr small { color: var(--gedaempft); font-size: 13px; flex: 1; }
#teppichplaner .umehr:hover { color: var(--gold-dunkel); }
#teppichplaner .rwechsel { margin-top: 8px; }
#teppichplaner .rwechsel .seg { margin-top: 0 !important; }
@media (max-width: 560px) {
#teppichplaner .ugrid.rwechsel { grid-template-columns: 1fr; gap: 6px; }
 }
#teppichplaner .stufer input:focus, #teppichplaner .stufer input:focus-visible { position: relative; z-index: 2; outline: 2px solid var(--gold-dunkel); outline-offset: -2px; }
#teppichplaner .ukoerper .seg { margin-top: 10px; }
#teppichplaner .ulab + .seg { margin-top: 0; }
#teppichplaner .ukacheln { display: flex; flex-wrap: wrap; gap: 12px 10px; }
#teppichplaner .ukachel { position: relative; width: 64px; display: flex; flex-direction: column; align-items: center; text-align: center; }
#teppichplaner .ukachel small { font-size: 11px; color: var(--gedaempft); line-height: 1.25; margin-top: 4px; }
#teppichplaner .ukachel u { font-size: 11px; color: var(--gold-dunkel); cursor: pointer; }
#teppichplaner .ukq { position: relative; width: 56px; height: 56px; padding: 0; border: 1px solid var(--linie-hell); background: #fff center / cover no-repeat; cursor: pointer; font-size: 22px; color: var(--gold-dunkel); }
#teppichplaner .ukq.plus, #teppichplaner .ukq.leer { border: 1.5px dashed var(--linie); }
#teppichplaner .ukq:hover { outline: 2px solid var(--gold); outline-offset: 1px; }
#teppichplaner .ukq:not(.plus):not(.leer)::after { content: ""; position: absolute; inset: 0; background: rgba(42,37,33,.42) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l4-1 10.5-10.5a2.1 2.1 0 0 0-3-3L5 16l-1 4z'/%3E%3Cpath d='M14 7l3 3'/%3E%3C/svg%3E") center / 20px no-repeat; opacity: 0; transition: opacity .15s; pointer-events: none; }
#teppichplaner .ukq.klein:not(.plus):not(.leer)::after { background-size: 16px; }
@media (hover: hover) {
#teppichplaner .ukq:not(.plus):not(.leer):hover::after, #teppichplaner .ukq:not(.plus):not(.leer):focus-visible::after { opacity: 1; }
 }
#teppichplaner .ukq em { position: absolute; top: 3px; left: 3px; background: rgba(255,255,255,.92); font: 600 10px/14px var(--schrift); font-style: normal; color: var(--text); padding: 0 4px; }
#teppichplaner .ukachel .zux { position: absolute; top: -7px; right: -2px; width: 22px; height: 22px; font-size: 14px; }
#teppichplaner .ureihe { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: end; padding: 8px 0; border-top: 1px solid var(--linie-hell); }
#teppichplaner .ulab + .ureihe { border-top: 0; padding-top: 0; }
#teppichplaner .ukq.klein { width: 44px; height: 44px; }
#teppichplaner .uakt { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 16px; padding: 11px; border: 1px solid var(--linie); background: var(--weiss); color: var(--text); font: inherit; cursor: pointer; }
#teppichplaner .uakt:hover { border-color: var(--gold); background: var(--gold-hell); }
#teppichplaner .uhinweis { font-size: 12.5px; color: var(--gedaempft); text-align: center; margin: 8px 0 0; }
#teppichplaner .uhinweis.links { text-align: left; }
#teppichplaner .feld:has(.h10) { position: relative; }
#teppichplaner .h10 { position: absolute; left: 0; right: 0; top: 100%; z-index: 2; font-size: 12px; line-height: 1.3; color: var(--gold-text); margin-top: 3px; white-space: nowrap; pointer-events: none; }
#teppichplaner .h10[hidden] { display: none; }
#teppichplaner .usw:empty { border: 1.5px dashed #b9b1a6; background: var(--tp-farblos, #fbfaf7) center / cover; }
#teppichplaner .usw { display: flex; flex-direction: column; width: 44px; height: 44px; flex: none; overflow: hidden; border: 1px solid var(--linie-hell); }
#teppichplaner .usw i { flex: 1; background-size: cover; }
#teppichplaner .ukoerper .stufer input, #teppichplaner .ukoerper input[type=number] { background: var(--weiss) !important; color: var(--text) !important; }
#teppichplaner .ukoerper .dgs { margin-top: 10px; }
@media (max-width: 760px) {
#teppichplaner .elkopf .usw { width: 44px; height: 44px; }
#teppichplaner .ureihe { grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
#teppichplaner .ukq.klein { width: 40px; height: 40px; }
#teppichplaner .ugrid { gap: 10px; }
 }
#teppichplaner .zufall { margin-top: 14px; border: 1px solid var(--linie); background: var(--weiss); padding: 14px 16px 16px; display: grid; gap: 8px; }
#teppichplaner .zufall .zukopf b { font-size: 16px; }
#teppichplaner .zulab { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; color: var(--text); margin-top: 10px; }
#teppichplaner .seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
#teppichplaner .seg button { background: var(--weiss); border: 1px solid var(--linie); padding: 10px 0; font-size: 14.5px; color: var(--text); }
#teppichplaner .seg button[aria-pressed="true"] { background: var(--gold-hell); border: 1px solid var(--gold); box-shadow: inset 0 0 0 1px var(--gold); font-weight: 600; }
#teppichplaner .seg button:not([aria-pressed="true"]):hover { border-color: var(--gold); }
#teppichplaner .seg.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#teppichplaner .seg.drei button { padding-left: 4px; padding-right: 4px; }
#teppichplaner .zufarben { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 8px; padding-top: 8px; }
#teppichplaner .zufarben .zux { width: 22px; height: 22px; font-size: 15px; top: -5px; right: -5px; }
#teppichplaner .zufarben .zusw { width: 100%; height: auto; aspect-ratio: 1; }
#teppichplaner .zuf { display: block; }
#teppichplaner .zuf { position: relative; }
#teppichplaner .zusw { display: block; width: 72px; height: 72px; border: 0; padding: 0; background: var(--weiss) center / cover; }
#teppichplaner .zuplus, #teppichplaner .rsplus { position: relative; border: 0 !important; background: none; }
#teppichplaner .dash { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' fill='none' stroke='%23c4bfb8' stroke-width='3' stroke-dasharray='6 5'/%3E%3C/svg%3E"); display: flex; align-items: center; justify-content: center; pointer-events: none; }
#teppichplaner .zuplus { font-size: 26px; color: var(--gold-dunkel); }
#teppichplaner .zux { position: absolute; z-index: 2; top: -6px; right: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--weiss); border: 1px solid var(--linie); box-shadow: 0 1px 4px rgba(0,0,0,.25); border-color: transparent; color: #a5574d; font-size: 18px; line-height: 1; padding: 0; display: grid; place-items: center; }
#teppichplaner .zuvb { padding: 4px 0; }
#teppichplaner .zuvbt { font-size: 14.5px; margin-bottom: 6px; }
#teppichplaner .zuvb .seg { margin-bottom: 6px; }
#teppichplaner .rsw { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#teppichplaner .rsw .feld { min-width: 0; }
#teppichplaner .feld.aus { opacity: .45; }
#teppichplaner .zeilefeld { grid-template-columns: minmax(0, 1fr) 150px; align-items: center; color: var(--text); font-size: 14.5px; padding: 3px 0; }
#teppichplaner .rapport .zulab:first-of-type { margin-top: 14px; }
#teppichplaner .rs { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; border: 1px solid var(--linie-hell); padding: 10px; margin-top: 8px; }
#teppichplaner .rapport .rs { grid-template-columns: 48px minmax(0, 1fr); gap: 8px 12px; padding: 10px 12px; }
#teppichplaner .rapport .rs .rsfarbe { width: 48px; height: 48px; }
#teppichplaner .rs .rsw { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#teppichplaner .rsname { font-size: 14px; color: var(--text); line-height: 1.3; cursor: pointer; padding-right: 24px; }
#teppichplaner .rsname b { display: block; font-weight: 600; }
#teppichplaner .rsname u { font-size: 12px; color: var(--gedaempft); text-underline-offset: 2px; }
#teppichplaner .rsname:hover u { color: var(--gold-dunkel); }
#teppichplaner .rs .feld > span { font-size: 11.5px; }
#teppichplaner .rs .stufer { height: 32px; }
#teppichplaner .rs .stb { width: 30px; font-size: 16px; }
#teppichplaner .rs .stufer input { font-size: 14px; }
#teppichplaner .rsfarbe { position: relative; }
#teppichplaner .rsaendern { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(42,37,33,.38); color: #fff; opacity: 0; transition: opacity .15s; }
#teppichplaner .rsfarbe:hover .rsaendern, #teppichplaner .rsfarbe:focus-visible .rsaendern { opacity: 1; }
@media (hover: none) {
#teppichplaner .rsaendern { opacity: 1; background: none; place-items: end; }
#teppichplaner .rsaendern svg { background: var(--weiss); color: var(--text); border-radius: 50%; padding: 4px; width: 22px; height: 22px; margin: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
 }
#teppichplaner .rspiegel { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 8px; padding: 10px 14px; border: 1px solid var(--gold); background: var(--gold-hell); color: var(--text); text-align: left; font-size: 14px; }
#teppichplaner .rspiegel:hover { background: #efe7d6; }
#teppichplaner .rspiegel svg { flex: none; color: var(--gold-dunkel); }
#teppichplaner .rspiegel span { display: grid; gap: 2px; }
#teppichplaner .rspiegel small { color: var(--gedaempft); font-size: 12.5px; }
#teppichplaner .ik small { display: block; font-size: 10px; line-height: 1; margin-top: 2px; letter-spacing: .2px; }
#teppichplaner .elkopf .ik { width: auto; min-width: 46px; height: 42px; padding: 0 4px; align-content: center; gap: 0; }
#teppichplaner .rs .feld > span { font-size: 12px; }
#teppichplaner .zulab small { text-transform: none; letter-spacing: .2px; font-weight: 400; color: var(--gedaempft); }
#teppichplaner .seg button { padding: 10px 4px; line-height: 1.25; }
#teppichplaner .rsfarbe { width: 64px; height: 64px; border: 0; padding: 0; background: var(--weiss) center / cover; }
#teppichplaner .rsplus { width: 100%; height: 46px; margin-top: 8px; color: var(--gold-dunkel); font-size: 14px; }
#teppichplaner .einheit { position: relative; margin-top: 8px; border: 1px solid var(--linie-hell); background: #fff center / 20px repeat; touch-action: none; user-select: none; -webkit-user-select: none; }
#teppichplaner .eistr { position: absolute; left: 0; right: 0; background: #fff repeat; cursor: ns-resize; outline: 1px dashed rgba(120,112,104,.55); outline-offset: -1px; touch-action: none; }
#teppichplaner .eistr:hover, #teppichplaner .eistr.zieht { outline: 2px solid var(--gold); outline-offset: 0; z-index: 1; }
#teppichplaner .eigriff { position: absolute; left: -34px; top: 50%; transform: translateY(-50%); width: 26px; height: 22px; background: var(--weiss); border: 1px solid var(--linie); display: grid; align-content: center; gap: 3px; padding: 0 6px; box-sizing: border-box; }
#teppichplaner .eigriff i { display: block; height: 1.5px; background: #9a948e; }
#teppichplaner .eimass { position: absolute; right: -30px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--gedaempft); line-height: 1; }
#teppichplaner .rapport .einheit { margin-left: 36px; margin-right: 30px; }
#teppichplaner .ereihe { display: flex; gap: 8px; margin-top: 10px; margin-left: 36px; }
#teppichplaner .dgs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
#teppichplaner .dg { width: 52px; background: none; border: 0; padding: 0; text-align: center; font-size: 11.5px; color: var(--gedaempft); }
#teppichplaner .dg i { display: flex; flex-direction: column; height: 52px; box-sizing: border-box; padding: 6px 5px; border: 1px solid var(--linie-hell); margin-bottom: 3px; background: var(--weiss); }
#teppichplaner .dg i b { display: block; background-size: cover; flex: none; }
#teppichplaner .dg.sp i { border-color: var(--gold); background: var(--gold-hell); }
#teppichplaner .dg.sp { color: var(--gold-dunkel); }
#teppichplaner .zusl { padding: 4px 0 6px; }
#teppichplaner .zuk { display: flex; justify-content: space-between; font-size: 14.5px; margin-bottom: 4px; }
#teppichplaner .zuk b { font-weight: 600; }
#teppichplaner .dr { position: relative; height: 30px; margin: 0 2px; }
#teppichplaner .dr .bahn, #teppichplaner .dr .fuell { position: absolute; top: 13px; height: 4px; border-radius: 2px; }
#teppichplaner .dr .bahn { left: 0; right: 0; background: #e4dfd8; }
#teppichplaner .dr .fuell { background: var(--gold); }
#teppichplaner .dr input { position: absolute; inset: 0; width: 100%; height: 30px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
#teppichplaner .dr input::-webkit-slider-runnable-track { background: none; height: 30px; }
#teppichplaner .dr input::-moz-range-track { background: none; }
#teppichplaner .dr input::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%; background: var(--weiss); border: 1.5px solid var(--gold-dunkel); box-shadow: 0 1px 4px rgba(0,0,0,.18); cursor: grab; }
#teppichplaner .dr input::-moz-range-thumb { pointer-events: auto; width: 24px; height: 24px; border-radius: 50%; background: var(--weiss); border: 1.5px solid var(--gold-dunkel); box-shadow: 0 1px 4px rgba(0,0,0,.18); cursor: grab; }
#teppichplaner .zulos { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 10px; padding: 13px; font-size: 16px; }
#teppichplaner .zuinfo { text-align: center; margin: 2px 0 0; }
#teppichplaner .zukopf { display: flex; align-items: center; justify-content: space-between; }
#teppichplaner .zukopf b { font-weight: 600; }
#teppichplaner .zufall .etikett { margin: 4px 0 0; }
#teppichplaner .vonbis { display: grid; grid-template-columns: minmax(0, 1fr) 78px auto 78px; gap: 8px; align-items: center; font-size: 14px; }
#teppichplaner .vonbis em { font-style: normal; color: var(--gedaempft); font-size: 13px; }
#teppichplaner label.vonbis { grid-template-columns: minmax(0, 1fr) 78px; }
#teppichplaner .farbe.blass { opacity: .35; }
#teppichplaner .farbwahl .ppw { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
#teppichplaner .lauf { display: none; }
#teppichplaner .palette.klein.alle, #teppichplaner .schleier .farbwahl .palette.klein.alle { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 16px; height: auto; flex: 1 1 auto; }
#teppichplaner .palette.alle .pp-gruppe { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 18px 0 -2px; padding-bottom: 8px; border-bottom: 1px solid var(--linie-hell); }
#teppichplaner .palette.alle .pp-gruppe:first-child { margin-top: 0; }
#teppichplaner .palette.alle .pp-gruppe b { font-weight: 600; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
#teppichplaner .palette.alle .pp-gruppe small { font-size: 13px; color: var(--gold-text); }
#teppichplaner #palHinweis.aktiv, #teppichplaner #pgHinweis.aktiv { color: var(--gold-text); }
#teppichplaner .palette.klein { grid-template-columns: repeat(6, minmax(0, 1fr)); height: 52vh; min-height: 0 !important; overflow: auto; overscroll-behavior: contain; padding: 4px; }
#teppichplaner .fenster p { margin: 0 0 10px; }
#teppichplaner .testein { background: #4a4f55; color: #fff; font-size: 13px; }
#teppichplaner .testein .innen { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; padding-block: 8px; }
#teppichplaner .testein button { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; padding: 5px 12px; font-size: 13px; }
#teppichplaner .testein button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); }
#teppichplaner .tp-honig { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#teppichplaner .schritt[data-s="1"]:not([hidden]) { display: flex; flex-direction: column; }
#teppichplaner .schritt[data-s="1"] > * { order: 3; }
#teppichplaner .schritt[data-s="1"] > h1, #teppichplaner .schritt[data-s="1"] > .lead, #teppichplaner .schritt[data-s="1"] > .etikett, #teppichplaner .schritt[data-s="1"] > .masse, #teppichplaner .schritt[data-s="1"] > .fehler { order: 0; }
#teppichplaner #groessen { display: block; order: 2; border-top: 1px solid var(--linie-hell); }
#teppichplaner .schritt[data-s="1"] > #gaengig { order: 1; margin: 30px 0 4px; }
#teppichplaner #groessen .chip { display: flex; align-items: center; width: 100%; min-width: 0; border: 0; border-bottom: 1px solid var(--linie-hell); border-radius: 0; background: none; padding: 14px 4px; font-size: 16.5px; color: var(--text); }
#teppichplaner #groessen .chip small { display: inline; margin-left: auto; margin-right: 14px; font-size: 13.5px; }
#teppichplaner #groessen .chip::after { content: ""; flex: none; width: 22px; height: 22px; box-sizing: border-box; border: 1.5px solid var(--linie); border-radius: 50%; }
#teppichplaner #groessen .chip[aria-pressed="true"] { background: none; color: #2f3337; font-weight: 500; }
#teppichplaner #groessen .chip[aria-pressed="true"] small { color: var(--gedaempft); font-weight: 400; }
#teppichplaner #groessen .chip[aria-pressed="true"]::after { border-color: var(--gold); background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
#teppichplaner #ausfBox { order: 0; margin: 4px 0 30px; }
#teppichplaner :is(#ausfBox, #teppichplaner .mp-ausf) .wahltitel { font-size: 16px; color: var(--text); margin: 22px 0 10px; }
#teppichplaner :is(#ausfBox, #teppichplaner .mp-ausf) .wahltitel:first-child { margin-top: 0; }
#teppichplaner #ausfBox .ausfkarte { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; margin-top: 24px; padding: 16px 18px; background: var(--gold-hell); border: 1px solid var(--gold); border-radius: 3px; font: inherit; text-align: left; color: var(--text); cursor: pointer; transition: background .15s; }
#teppichplaner #ausfBox .ausfkarte span { font-family: var(--serif); font-size: 19px; line-height: 1.3; color: var(--titel); }
#teppichplaner #ausfBox .ausfkarte em { flex: none; display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 14px; font-weight: 600; color: #fff; background: var(--gold); padding: 9px 14px; border-radius: 3px; white-space: nowrap; }
#teppichplaner #ausfBox .ausfkarte em svg { width: 16px; height: 16px; }
@media (max-width: 560px) {
#teppichplaner #ausfBox .ausfkarte { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
#teppichplaner #ausfBox .ausfkarte em { justify-content: center; padding: 11px 14px; }
 }
#teppichplaner #ausfBox .ausfkarte:hover { background: #efe7d6; }
#teppichplaner #ausfBox .ausfkarte:hover em { background: var(--gold-dunkel); }
#teppichplaner :is(#ausfBox, #teppichplaner .mp-ausf) .wahl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 460px; }
#teppichplaner :is(#ausfBox, #teppichplaner .mp-ausf) .wahl button { border: 1px solid var(--linie); border-radius: 3px; background: #fff; color: var(--text); font: inherit; font-size: 16px; padding: 8px 6px; min-height: 40px; cursor: pointer; transition: background .15s, border-color .15s; }
#teppichplaner :is(#ausfBox, #teppichplaner .mp-ausf) .wahl button:hover { border-color: var(--gold); }
#teppichplaner :is(#ausfBox, #teppichplaner .mp-ausf) .wahl button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #fff; }
#teppichplaner #ausfBox .grundwahl .fk { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--linie); border-radius: 3px; background: #fff; padding: 5px 14px 5px 5px; font: inherit; font-size: 15px; color: var(--text); cursor: pointer; }
#teppichplaner #ausfBox .grundwahl .fk:hover { border-color: var(--gold); }
#teppichplaner #ausfBox .grundwahl .fk i { width: 44px; height: 44px; background-size: cover; background-position: center; }
#teppichplaner #ausfBox .grundwahl .fk.offen { padding-right: 18px; }
#teppichplaner #ausfBox .grundwahl .fk.offen span { color: var(--gold-text); }
#teppichplaner .fk i.nr, #teppichplaner .slot i.sw.nr { display: inline-flex; align-items: center; justify-content: center; background: var(--tp-farblos, #fbfaf7) center / cover; border: 1px solid var(--linie); font-style: normal; font-size: 13px; color: var(--gedaempft); }
#teppichplaner .slot i.sw { position: relative; }
#teppichplaner .slot i.sw em { position: absolute; right: -5px; bottom: -5px; min-width: 16px; height: 16px; padding: 0 3px; box-sizing: border-box; border-radius: 8px; background: #fff; border: 1px solid var(--linie); font-style: normal; font-size: 10.5px; line-height: 14px; text-align: center; color: var(--gedaempft); }
#teppichplaner .slot.leer { border: 1px solid var(--linie); padding: 7px 14px 7px 7px; text-align: left; font-size: inherit; color: inherit; }
#teppichplaner .elkopf .elnr { flex: none; align-self: center; min-width: 20px; height: 20px; padding: 0 4px; box-sizing: border-box; border-radius: 10px; border: 1px solid var(--linie); background: #fff; font-size: 11.5px; line-height: 18px; text-align: center; color: var(--gedaempft); margin-right: 8px; }
#teppichplaner .rundinfo { order: 5; margin-top: 22px; background: #faf9f7; border: 1px solid var(--linie-hell); padding: 16px 18px; font-size: 14.5px; line-height: 1.55; color: var(--text); }
#teppichplaner .rundinfo b { display: block; font-weight: 600; margin-bottom: 6px; }
#teppichplaner .rundinfo p { margin: 0 0 8px; }
#teppichplaner .rundinfo p.klein { margin: 0; font-size: 13.5px; color: var(--gedaempft); }
#teppichplaner #ausfBox .ausferkl { margin: 8px 0 0; max-width: 460px; font-size: 13.5px; line-height: 1.45; color: var(--gedaempft); }
#teppichplaner .masstipp { order: 4; margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--gedaempft); }
#teppichplaner .masstipp b { color: var(--text); font-weight: 600; }
#teppichplaner .bemhinweis { margin: -4px 0 8px; font-size: 13.5px; color: var(--gedaempft); }
#teppichplaner .aktionen .gross { grid-column: 1 / -1; }
#teppichplaner .teillink { width: 100%; font: inherit; font-size: 13.5px; padding: 10px; border: 1px solid var(--linie); border-radius: 2px; color: var(--text); background: #faf9f7; margin-top: 6px; }
#teppichplaner .fenster .reihe a.knopf { text-decoration: none; }
#teppichplaner .verlauf { display: inline-flex; gap: 0; margin-right: 14px; }
#teppichplaner .verlauf button { display: inline-grid; place-items: center; background: var(--weiss); border: 1px solid var(--linie); margin-left: -1px; height: 32px; min-width: 40px; padding: 0 10px; color: var(--text); }
#teppichplaner .verlauf button:first-child { border-radius: 2px 0 0 2px; margin-left: 0; }
#teppichplaner .verlauf button:last-child { border-radius: 0 2px 2px 0; }
#teppichplaner .verlauf button:disabled { color: #c3beb8; cursor: default; }
#teppichplaner .verlauf button:not(:disabled):hover { border-color: var(--gold); position: relative; }
#teppichplaner .vorschau .zoomleiste { display: inline-flex; }
#teppichplaner .vzeile { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
#teppichplaner .anleitung { border: 1px solid var(--gold); background: var(--gold-hell); padding: 14px 16px 12px; margin: 4px 0 16px; font-size: 14px; line-height: 1.5; color: var(--text); }
#teppichplaner .anleitung b { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
#teppichplaner .anleitung ol { margin: 0 0 10px; padding-left: 20px; }
#teppichplaner .anleitung li { margin: 3px 0; }
#teppichplaner .anleitung .anl-klein { display: block; color: var(--gedaempft); font-size: 13px; margin-top: 2px; }
#teppichplaner .anleitung .knopf { padding: 7px 16px; font-size: 14px; }
#teppichplaner .anleitungZeigen { background: none; border: 0; padding: 0; margin: 0 0 12px; font: inherit; font-size: 13.5px; color: var(--gold-text); text-decoration: underline; cursor: pointer; }
#teppichplaner :is(#ausfBox, #teppichplaner .mp-ausf) .ausfnote { margin: 0; font-size: 15px; color: var(--gedaempft); }
#teppichplaner .masse sup { font-size: .6em; }
#teppichplaner .masse .grundpreis, #teppichplaner .masse #flaeche, #teppichplaner .masse .aufpreis { grid-column: 2 / -1; }
#teppichplaner .vorschau { --zp: 24px; --zpu: 24px; background: transparent; gap: 12px; }
#teppichplaner .vorschau .vinfo { display: contents; }
@media (min-width: 761px) {
#teppichplaner .vorschau .zoombox { background: #f7f5f2; }
#teppichplaner .elkopf { padding: 10px 10px 10px 10px; gap: 16px; }
#teppichplaner .elkopf .fk { position: relative; padding: 0; border: 1px solid var(--linie); border-radius: 2px; transition: border-color .15s, box-shadow .15s; }
#teppichplaner .elkopf .fk i { width: 58px; height: 58px; }
#teppichplaner .elkopf .fk::after { content: ""; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(42,37,33,.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l4-1 10.5-10.5a2.1 2.1 0 0 0-3-3L5 16l-1 4z'/%3E%3Cpath d='M14 7l3 3'/%3E%3C/svg%3E") center / 18px no-repeat; color: #fff; font-size: 12.5px; letter-spacing: .4px; text-transform: none; opacity: 0; transition: opacity .15s; }
#teppichplaner .elkopf .fk:hover { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 2px 10px rgba(60,50,40,.18); }
#teppichplaner .elkopf .fk:hover::after { opacity: 1; }
#teppichplaner .eltxt .efarbe { color: var(--text); font-size: 14px; margin-top: 1px; }
#teppichplaner .elkopf .rfolge { width: 60px; height: 60px; }
#teppichplaner #addBar { display: block; }
#teppichplaner #addBar .wz { display: flex; align-items: center; gap: 14px; width: 100%; border: 0; border-bottom: 1px solid var(--linie-hell); border-radius: 0; background: none; padding: 11px 0; text-align: left; font-size: 15.5px; color: var(--text); }
#teppichplaner #addBar .wz .wz-ico { display: block; width: 30px; height: 40px; flex: none; }
#teppichplaner #addBar .wz b::before { content: none; }
#teppichplaner #addBar .wz small { display: block; font-size: 12.5px; color: var(--gedaempft); margin-top: 1px; }
#teppichplaner #addBar .wz-p { display: flex; margin-left: auto; flex: none; width: 32px; height: 32px; border: 1px solid var(--gold); border-radius: 50%; align-items: center; justify-content: center; color: var(--gold-dunkel); font-size: 19px; line-height: 1; }
#teppichplaner #addBar .wz.zu[aria-pressed="true"] .wz-p { background: var(--gold); color: #fff; }
#teppichplaner #addBar .wz:hover { background: #faf9f7; }
#teppichplaner #addBar .wz:hover .wz-p { background: var(--gold-hell); }
#teppichplaner .elfelder .feld { min-width: 0; }
#teppichplaner .stufer { display: flex; min-width: 0; height: 44px; border: 1px solid var(--linie); }
#teppichplaner .stufer input { flex: 1; min-width: 0; width: auto; height: 100%; border: 0; border-left: 1px solid var(--linie-hell); border-right: 1px solid var(--linie-hell); text-align: center; font-size: 16px; padding: 0; border-radius: 0; }
#teppichplaner .stb { display: flex; align-items: center; justify-content: center; width: 40px; flex: none; background: #faf9f7; border: 0; font-size: 20px; color: var(--text); padding: 0; }
#teppichplaner .stufer { height: 42px; }
#teppichplaner .stb:hover { background: var(--gold-hell); color: var(--gold-dunkel); }
#teppichplaner .stb { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
#teppichplaner .dgs { gap: 14px; margin-top: 12px; }
#teppichplaner .dg { width: 66px; font-size: 12.5px; }
#teppichplaner .dg i { height: 66px; padding: 8px 7px; margin-bottom: 5px; }
#teppichplaner .dg:hover i { border-color: var(--gold); }
#teppichplaner .fenster.farbwahl { height: auto; max-width: 860px; }
#teppichplaner .farbwahl .ppw { flex: 0 1 auto; }
#teppichplaner .farbwahl .palette.klein { flex: 0 1 auto; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px 14px; }
#teppichplaner .elkopf { transition: background .15s; }
#teppichplaner .elkopf:hover { background: #faf9f7; }
#teppichplaner .elpfeil { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border: 1px solid var(--linie); border-radius: 50%; color: var(--text); margin-left: 4px; transition: transform .2s, border-color .15s, background .15s; }
#teppichplaner .elkopf:hover .elpfeil { border-color: var(--gold); color: var(--gold-dunkel); }
#teppichplaner .el.offen .elpfeil { transform: rotate(180deg); background: var(--gold-hell); border-color: var(--gold); color: var(--gold-dunkel); }

  }
@media (max-width: 760px) {
#teppichplaner .elkopf { cursor: pointer; -webkit-tap-highlight-color: transparent; }
#teppichplaner .elkopf .usw { width: 52px; height: 52px; }
#teppichplaner .eltxt .efarbe { display: block; color: var(--text); font-size: 13.5px; margin-top: 1px; }
#teppichplaner .elpfeil { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border: 1px solid var(--linie); border-radius: 50%; color: var(--gold-dunkel); margin-left: auto; transition: transform .2s; }
#teppichplaner .el.offen .elpfeil { transform: rotate(180deg); background: var(--gold-hell); border-color: var(--gold); }
#teppichplaner .vorschau .vzeile { display: flex !important; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 6px; width: 100%; }
#teppichplaner .vorschau .vzeile .verlauf { margin: 0; flex: none; }
#teppichplaner .vorschau .vzeile .verlauf button { min-width: 44px; height: 44px; padding: 0 8px; }
#teppichplaner .vorschau .vzeile .rasterleiste span, #teppichplaner .vorschau .vzeile .rasterleiste button[data-r] { display: none; }
#teppichplaner .vorschau .vzeile .massknopf { height: 44px; min-width: 40px; padding: 0 6px; justify-content: center; flex: none; }
#teppichplaner .vorschau .vzeile .massknopf span { display: none; }
#teppichplaner .vorschau .vzeile .rasterleiste .rzyk { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 10px; min-width: 88px; justify-content: center; font-size: 14px; border-radius: 2px; margin: 0; }
#teppichplaner .vorschau .vzeile .rasterleiste .rzyk span { display: inline; margin: 0; font-size: 14px; color: var(--text); }
#teppichplaner .vorschau .vzeile .zoomleiste { flex: none; }
#teppichplaner .vorschau .vzeile .zoomleiste button { min-width: 40px; height: 44px; font-size: 20px; padding: 0 4px; }
#teppichplaner .vorschau .vzeile .zoomleiste #zWert { min-width: 54px; font-size: 14px; }
@media (max-width: 370px) {
#teppichplaner .vorschau .vzeile .verlauf button { min-width: 40px; }
#teppichplaner .vorschau .vzeile .rasterleiste .rzyk { min-width: 0; padding: 0 8px; }
 }
#teppichplaner .elfelder .ukacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 10px; }
#teppichplaner .elfelder .ukachel { width: auto; }
#teppichplaner .elfelder .ukachel .ukq { width: 100%; height: auto; aspect-ratio: 1; }
#teppichplaner .elfelder .ukachel small { font-size: 12px; }
#teppichplaner .fzeile i { width: calc((100vw - 32px - 24px - 30px) / 4); height: auto; aspect-ratio: 1; max-width: 90px; }
#teppichplaner .elaktion { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 6px 12px 14px; }
#teppichplaner .elaktion .ik { display: flex; align-items: center; justify-content: center; gap: 8px; width: auto; height: 44px; border: 1px solid var(--linie); background: #fff; color: var(--text); }
#teppichplaner .elaktion .ik small { font-size: 14px; margin: 0; letter-spacing: 0; }
#teppichplaner .elaktion .ik.weg { color: #a5574d; }

  }
#teppichplaner .vorschau canvas { filter: drop-shadow(0 2px 3px rgba(60,50,40,0.12)); }
#teppichplaner .vorschau .unter { order: -1; align-self: flex-start; text-align: left; padding: 2px 0 0; font-size: 24px; font-weight: 400; letter-spacing: .8px; color: var(--text); line-height: 1.25; }
#teppichplaner .vorschau .unter small { display: block; font-size: 15px; letter-spacing: .3px; color: var(--gedaempft); margin-top: 2px; }
#teppichplaner #groessen .chip:hover { background: #faf9f7; }
#teppichplaner #groessen .chip:hover::after { border-color: var(--gold); }
#teppichplaner .masse { grid-template-columns: 130px 140px minmax(0, 1fr); }
@media (max-width: 1050px) {
#teppichplaner .designs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
#teppichplaner .palette { grid-template-columns: repeat(5, minmax(0, 1fr)); }
#teppichplaner .zwei { gap: 28px; }
 }
@media (min-width: 761px) and (max-width: 1050px) {
#teppichplaner .masse { grid-template-columns: 120px 100px minmax(0, 1fr); gap: 16px 10px; }
#teppichplaner .masse .hilfe { font-size: 13px; }
 }
@media (max-width: 760px) {
#teppichplaner .kopf .innen { padding-block: 16px 14px; gap: 12px; }
#teppichplaner .kopf p.serif { font-size: 19px; }
#teppichplaner .augenbraue { font-size: 11px; }
#teppichplaner .zumShop { padding: 7px 10px; font-size: 12.5px; }
#teppichplaner .zumShop .lang { display: none; }
#teppichplaner .kopf .lang { display: none; }
#teppichplaner .leiste .innen { gap: 16px; justify-content: space-between; }
#teppichplaner .leiste button .nr { display: none; }
#teppichplaner .leiste button { font-size: 13.5px; letter-spacing: .8px; padding: 13px 0 10px; }
#teppichplaner .leiste .innen { gap: 10px; }
@media (max-width: 360px) {
#teppichplaner .leiste button { font-size: 12px; letter-spacing: .4px; }
 }
#teppichplaner .leiste button .nr { width: 18px; height: 18px; }
#teppichplaner .tp-main .innen { padding-block: 18px 150px; }
#teppichplaner h1 { font-size: 26px; }
#teppichplaner .designs { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(50% - 50vw + var(--sbw, 0px) / 2); padding: 0 6vw 4px; scroll-padding-inline: 0; }
#teppichplaner .designs::-webkit-scrollbar { display: none; }
#teppichplaner .designs .design { flex: 0 0 88vw; scroll-snap-align: center; }
#teppichplaner .dnav { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 14px 0 4px; }
#teppichplaner .dnav .dpf { appearance: none; border: 0; background: none; padding: 0; width: 44px; height: 44px; display: grid; place-items: center; color: var(--gold-text, #9a7d4c); cursor: pointer; }
#teppichplaner .dnav .dpf svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
#teppichplaner .dnav .dpf:disabled { color: #ddd5ca; cursor: default; }
#teppichplaner .dpunkte { display: inline-flex; gap: 9px; align-items: center; }
#teppichplaner .dpunkte i { display: block; width: 9px; height: 9px; border-radius: 5px; background: #d9d3cb; transition: width .2s, background .2s; }
#teppichplaner .dpunkte i.a { width: 24px; background: var(--gold, #b59a6a); }
#teppichplaner .dzahl { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8a8580; min-width: 58px; }
#teppichplaner .dzahl b { color: #4a4f55; }
#teppichplaner .design b { font-size: 24px; }
#teppichplaner .design .text { padding: 14px 16px 16px; }
#teppichplaner .design small { font-size: 12.5px; }
#teppichplaner .designs.liste { display: grid; grid-template-columns: 1fr; gap: 12px; overflow: visible; margin-inline: 0; padding: 0; }
#teppichplaner .designs.liste .design { flex-direction: row; }
#teppichplaner .designs.liste .design .bild { flex: none; width: 40%; aspect-ratio: 4 / 5; }
#teppichplaner .designs.liste .design .text { padding: 14px 14px 14px 16px; }
#teppichplaner .designs.liste .design b { font-size: 18px; }
#teppichplaner .designs.liste .design .preis-k { font-size: 14px; margin-top: 8px; }
#teppichplaner #dNav.aus { display: none; }
#teppichplaner .dzurueck { width: 100%; min-width: 0; margin-bottom: 18px; }
#teppichplaner .zwei { grid-template-columns: minmax(0, 1fr); gap: 18px; }
#teppichplaner .vorschau { position: static; top: auto; z-index: 4; flex-direction: column; gap: 0; padding: 0 0 12px; margin-inline: calc(50% - 44vw + var(--sbw, 0px) / 2); width: 88vw; max-width: none; box-sizing: border-box; --zp: 6px; --zps: 10px; --zpu: 12px; }
#teppichplaner .vorschau .zoombox { width: 100%; align-self: stretch; }
#teppichplaner .vorschau .vinfo { display: contents; }
#teppichplaner .vorschau { background: transparent; }
#teppichplaner .vorschau canvas { filter: drop-shadow(0 2px 3px rgba(60,50,40,0.12)); }
#teppichplaner .vorschau .unter { order: -1; align-self: flex-start; text-align: left; max-width: none; padding: 0 0 14px; font-size: 24px; font-weight: 400; letter-spacing: .8px; color: var(--text); line-height: 1.25; }
#teppichplaner .vorschau .unter small { display: block; font-size: 15px; letter-spacing: .3px; color: var(--gedaempft); margin-top: 2px; }
#teppichplaner .vorschau .zoomleiste { align-self: center; }
#teppichplaner .vorschau .vzeile { margin-top: 16px; }
#teppichplaner .verlauf button { height: 46px; min-width: 54px; padding: 0 10px; }
#teppichplaner .verlauf button svg { width: 22px; height: 22px; }
#teppichplaner .verlauf { margin-right: 10px; }
#teppichplaner .freireiter { display: flex; gap: 26px; border-bottom: 1px solid var(--linie-hell); margin: 20px -16px 6px; padding: 0 16px; }
#teppichplaner .freireiter button { background: none; border: 0; padding: 12px 0 10px; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--gedaempft); }
#teppichplaner .freireiter button[aria-selected="true"] { color: #2f3337; font-weight: 600; box-shadow: inset 0 -3px 0 var(--gold); }
#teppichplaner #frei[data-r="add"] #freiList, #teppichplaner #frei[data-r="liste"] #freiAdd { display: none; }
#teppichplaner #frei.vorlage .freireiter { display: none; }
#teppichplaner #freiAdd > .etikett, #teppichplaner #freiList > .etikett { display: none; }
#teppichplaner #addBar { display: block; }
#teppichplaner #addBar .wz { display: flex; align-items: center; gap: 14px; width: 100%; border: 0; border-bottom: 1px solid var(--linie-hell); border-radius: 0; background: none; padding: 11px 0; text-align: left; font-size: 15.5px; color: var(--text); }
#teppichplaner #addBar .wz .wz-ico { display: block; width: 30px; height: 40px; flex: none; }
#teppichplaner #addBar .wz b::before { content: none; }
#teppichplaner #addBar .wz small { display: block; font-size: 12.5px; color: var(--gedaempft); margin-top: 1px; }
#teppichplaner #addBar .wz-p { display: flex; margin-left: auto; flex: none; width: 32px; height: 32px; border: 1px solid var(--gold); border-radius: 50%; align-items: center; justify-content: center; color: var(--gold-dunkel); font-size: 19px; line-height: 1; }
#teppichplaner #addBar .wz.zu[aria-pressed="true"] .wz-p { background: var(--gold); color: #fff; }
#teppichplaner .grundzeile { display: grid; grid-template-columns: 44px 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; border: 1px solid var(--linie-hell); padding: 9px 12px; margin-top: 6px; cursor: pointer; }
#teppichplaner .grundzeile > span:first-child { grid-column: 2; grid-row: 1; min-width: 0; font-size: 15px; align-self: end; justify-self: start; }
#teppichplaner .grundzeile #grundFk, #teppichplaner .grundzeile .fk { display: contents; }
#teppichplaner .grundzeile .fk i { grid-column: 1; grid-row: 1 / 3; width: 44px; height: 44px; }
#teppichplaner .grundzeile .fk span { grid-column: 2; grid-row: 2; font-size: 13px; color: var(--gedaempft); align-self: start; justify-self: start; text-align: left; letter-spacing: .3px; }
#teppichplaner .grundzeile::after { content: "ändern"; grid-column: 3; grid-row: 1 / 3; color: var(--gold-text); font-size: 13.5px; }
#teppichplaner .elkopf { padding: 12px; gap: 12px; }
#teppichplaner .elkopf .fk { padding: 0; border: 0; }
#teppichplaner .elkopf .fk i { width: 46px; height: 46px; }
#teppichplaner .eltxt b { font-size: 15px; }
#teppichplaner .eltxt span { white-space: normal; font-size: 12.5px; }
#teppichplaner .elkopf .ik { width: auto; min-width: 46px; height: 44px; border: 1px solid var(--linie-hell); color: var(--text); }
#teppichplaner .elkopf .ik.weg { color: #a5574d; }
#teppichplaner .elkopf .ik + .ik { margin-left: -4px; }
#teppichplaner .elfelder { padding: 0 12px 12px; gap: 10px; }
#teppichplaner .elfelder .feld > span { font-size: 12px; color: var(--gedaempft); }
#teppichplaner .elfarbe { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 1px solid var(--linie-hell); padding: 8px 10px; font-size: 13.5px; color: var(--text); text-align: left; }
#teppichplaner .elfarbe i.leerfarbe, #teppichplaner .leerfarbe { background: #fff; border: 1px dashed #b9b1a6; }
#teppichplaner .elfarbe i { width: 26px; height: 26px; background-size: cover; flex: none; }
#teppichplaner .elfarbe u { margin-left: auto; color: var(--gold-text); text-decoration: none; }
#teppichplaner .elfelder .feld { min-width: 0; }
#teppichplaner .stufer { display: flex; min-width: 0; height: 44px; border: 1px solid var(--linie); }
#teppichplaner .stufer input { flex: 1; min-width: 0; width: auto; height: 100%; border: 0; border-left: 1px solid var(--linie-hell); border-right: 1px solid var(--linie-hell); text-align: center; font-size: 16px; padding: 0; border-radius: 0; }
#teppichplaner .stb { display: flex; align-items: center; justify-content: center; width: 40px; flex: none; background: #faf9f7; border: 0; font-size: 20px; color: var(--text); padding: 0; }
#teppichplaner .zoomleiste button { min-width: 54px; height: 46px; font-size: 22px; }
#teppichplaner .zoomleiste #zWert { min-width: 96px; font-size: 17px; }
#teppichplaner .zoomleiste span { display: none; }
#teppichplaner .rasterleiste button { height: 46px; padding: 0 12px; font-size: 15px; }
#teppichplaner .masse { grid-template-columns: 112px 86px minmax(0, 1fr); gap: 18px 8px; }
#teppichplaner .masse .hilfe { font-size: 13px; }
#teppichplaner .gruppen { display: flex; flex-wrap: nowrap; gap: 22px; overflow-x: auto; scrollbar-width: none; margin: 22px -16px 14px; padding: 0 16px; border-bottom: 1px solid var(--linie-hell); scroll-padding-inline: 16px; }
#teppichplaner .gruppen::-webkit-scrollbar { display: none; }
#teppichplaner .gruppen button, #teppichplaner .gruppen button[aria-pressed="true"] { flex: none; background: none; border: 0; border-radius: 0; padding: 12px 0 11px; font-size: 15.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gedaempft); box-shadow: none; }
#teppichplaner .gruppen button[aria-pressed="true"] { color: #2f3337; font-weight: 600; box-shadow: inset 0 -3px 0 var(--gold); }
#teppichplaner .gruppen .rpf { display: grid; align-items: center; position: sticky; z-index: 2; flex: 0 0 56px; align-self: stretch; color: var(--gold-text); cursor: pointer; }
#teppichplaner .gruppen .rpf.r { right: -16px; margin-left: -78px; padding-right: 14px; justify-items: end; background: linear-gradient(90deg, rgba(255,255,255,0), #fff 55%); }
#teppichplaner .gruppen .rpf.l { left: -16px; margin-right: -78px; padding-left: 14px; justify-items: start; background: linear-gradient(270deg, rgba(255,255,255,0), #fff 55%); }
#teppichplaner .gruppen .rpf.weg { visibility: hidden; pointer-events: none; }
#teppichplaner .gruppen .rpf svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
#teppichplaner .palette, #teppichplaner .palette.klein { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
#teppichplaner .palette.klein.alle, #teppichplaner .schleier .farbwahl .palette.klein.alle { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; }
#teppichplaner .schleier .fenster.farbwahl { height: calc(100vh - 32px); height: calc(100dvh - max(16px, env(safe-area-inset-top, 0px)) - max(16px, env(safe-area-inset-bottom, 0px))); }
#teppichplaner .farbwahl .ppw { flex: 1 1 0; min-height: 0; }
#teppichplaner .farbwahl #pp { flex: 1 1 0; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
#teppichplaner .farbwahl #pp { padding-right: 14px; scrollbar-width: none; }
#teppichplaner .farbwahl #pp::-webkit-scrollbar { display: none; }
#teppichplaner .farbwahl .lauf { display: block; position: absolute; right: -6px; top: 4px; bottom: 4px; width: 5px; border-radius: 3px; background: #eee8de; pointer-events: none; }
#teppichplaner .farbwahl .lauf[hidden] { display: none; }
#teppichplaner .farbwahl .lauf i { position: absolute; left: 0; right: 0; top: 0; border-radius: 3px; background: #b09c70; }
#teppichplaner .farbe { font-size: 13px; letter-spacing: 0; text-transform: none; text-align: left; }
#teppichplaner .farbe i { margin-bottom: 6px; outline: 0; position: relative; }
#teppichplaner .farbe:hover i { outline: 0; }
#teppichplaner .farbe[aria-pressed="true"] { color: var(--text); font-weight: 600; }
#teppichplaner .farbe[aria-pressed="true"] i { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--gold); }
#teppichplaner .farbe[aria-pressed="true"] i::after { content: ""; position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
#teppichplaner .zwei.frei .vorschau { position: static; flex-direction: column; }
#teppichplaner .rtab { grid-template-columns: 16px minmax(0, 1fr) 56px 56px 34px; }
#teppichplaner .vonbis { grid-template-columns: minmax(0, 1fr) 64px auto 64px; }
#teppichplaner .fuss .innen { flex-wrap: wrap; row-gap: 8px; padding-block: 8px 12px; }
#teppichplaner .fuss .info { order: -1; flex: 0 0 100%; font-size: 15px; }
#teppichplaner .fuss .info b { font-size: 17px; }
#teppichplaner .fuss .info { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; text-align: left; white-space: normal; line-height: 1.3; }
#teppichplaner .fuss .info .tz { display: none; }
#teppichplaner .fuss .info .fi-n { grid-column: 1; grid-row: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#teppichplaner .fuss .info .fi-m { grid-column: 1; grid-row: 2; font-size: 14px; color: var(--gedaempft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#teppichplaner .fuss .info .fi-p { grid-column: 2; grid-row: 1 / span 2; white-space: nowrap; }
#teppichplaner .fuss .info .fi-p b { font-size: 19px; }
#teppichplaner .fuss .knopf { flex: 1 1 0; min-width: 0; padding: 12px 10px; font-size: 16px; }
#teppichplaner .aktionen { grid-template-columns: minmax(0, 1fr); }

}
@media (prefers-reduced-motion: reduce) {
#teppichplaner * { transition: none !important; }
 }
#teppichplaner .vhinweis-unter { margin: -4px 0 0; font-size: 13px; color: var(--gedaempft); text-align: center; }
#teppichplaner .vorschau.wartet .vhinweis-unter { visibility: hidden; }
#teppichplaner .vorschau.k-a .zoombox, #teppichplaner .vorschau.k-b .zoombox { align-self: flex-end; }
#teppichplaner .vorschau.k-a .zoombox, #teppichplaner .vorschau.k-b .zoombox, #teppichplaner .vorschau.k-c .zoombox { background: #f7f5f2 !important; }
#teppichplaner .vorschau.k-a .vhinweis-unter, #teppichplaner .vorschau.k-b .vhinweis-unter { align-self: flex-end; }
@media (min-width: 760px) {
#teppichplaner .vorschau.k-b .vzeile { position: absolute; left: 0; width: 64px !important; flex-direction: column; justify-content: flex-start !important; align-items: stretch; gap: 8px; margin: 0; }
#teppichplaner .vorschau.k-b .vzeile > * { width: 64px; }
#teppichplaner .vorschau.k-b .vzeile .verlauf, #teppichplaner .vorschau.k-b .vzeile .zoomleiste { display: flex; flex-direction: column; gap: 8px; }
#teppichplaner .vorschau.k-b .vzeile .verlauf button, #teppichplaner .vorschau.k-b .vzeile .zoomleiste button, #teppichplaner .vorschau.k-b .vzeile .rasterleiste .rzyk, #teppichplaner .vorschau.k-b .vzeile .massknopf { width: 64px; min-width: 0; height: 52px; margin: 0; border-radius: 0; }
#teppichplaner .vorschau.k-b .vzeile .zoomleiste span { display: none; }
#teppichplaner .vorschau.k-b .vzeile .rasterleiste { display: flex; flex-direction: column; }
#teppichplaner .vorschau.k-b .vzeile .rasterleiste > span, #teppichplaner .vorschau.k-b .vzeile .rasterleiste button[data-r] { display: none !important; }
#teppichplaner .vorschau.k-b .vzeile .rasterleiste .rzyk { display: inline-flex !important; font-size: 12px; padding: 0 4px; flex-direction: column; justify-content: center; gap: 0; line-height: 1.2; }
#teppichplaner .vorschau.k-a .vzeile { align-self: flex-end; margin-right: -8px; }

}
#teppichplaner .vorschau.kopf-a #unterTxt, #teppichplaner .vorschau.kopf-b #unterTxt, #teppichplaner .vorschau.kopf-c #unterTxt { display: none !important; }
#teppichplaner .kopfinfo-a { position: absolute; z-index: 2; font-size: 13px; color: var(--gedaempft); background: rgba(247,245,242,.9); padding: 2px 6px; pointer-events: none; }
#teppichplaner .kopfinfo-a b { font-weight: 600; color: var(--text); letter-spacing: .5px; margin-right: 6px; }
#teppichplaner .kopfinfo-b { margin: -4px 0 0; font-size: 14px; color: var(--text); text-align: center; letter-spacing: .3px; }
#teppichplaner .kopfinfo-b span { color: var(--gedaempft); }
#teppichplaner .kopfinfo-c { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-text); margin: 0 0 6px; }
#teppichplaner .kopfinfo-c span { text-transform: none; letter-spacing: .3px; }
#teppichplaner .bodenleiste { position: absolute; right: 8px; z-index: 3; display: inline-flex; align-items: center; font-size: 12.5px; color: var(--text); background: rgba(255,255,255,.88); padding: 0 0 0 8px; border: 1px solid var(--linie); }
#teppichplaner .bodenleiste span { margin-right: 6px; }
#teppichplaner .vorschau.wartet .bodenleiste { visibility: hidden; }
#teppichplaner .bodenleiste select { height: 28px; border: 0; border-left: 1px solid var(--linie); border: 1px solid var(--linie); border-radius: 0; background: var(--weiss, #fff); color: var(--text); font: inherit; font-size: 13px; padding: 0 6px; }
#teppichplaner .vorschau.mitboden .rug svg .masse text { paint-order: stroke; stroke: rgba(255,255,255,.9); stroke-width: 3px; stroke-linejoin: round; }
#teppichplaner .vorschau.mitboden .rug svg .masse line { stroke: #fff; }
#teppichplaner .vorschau.mitboden .zinnen { background-repeat: repeat; }
#teppichplaner :is(#ausfBox, #teppichplaner .mp-ausf) .wahltitel, #teppichplaner .masse > label, #teppichplaner .masse > span:not(.hilfe):not(.wert):not(.mfeld) { font-weight: 600; }
#teppichplaner :is(#ausfBox, #teppichplaner .mp-ausf) .wahltitel { margin: 22px 0 10px; }
#teppichplaner :is(#ausfBox, #teppichplaner .mp-ausf) .wahltitel:first-child { margin-top: 0; }
#teppichplaner :is(#ausfBox, #teppichplaner .mp-ausf) .wahl { margin-top: 0; }
#teppichplaner #ausfBox .foto-hilfe { display: block; margin: 10px 0 0; max-width: 460px; color: var(--gold-text); font-size: 14px; line-height: 1.35; }
#teppichplaner .masse .hilfe { font-size: 14px; }
@media (min-width: 861px) {
#teppichplaner .masse { grid-template-columns: 130px 140px minmax(0, 1fr); gap: 16px; }
 }
@media (max-width: 860px) {
#teppichplaner .masse { grid-template-columns: 110px 150px minmax(0, 1fr); gap: 12px; }
#teppichplaner .masse .hilfe { font-size: 14px; }
 }
@media (max-width: 480px) {
#teppichplaner .masse { grid-template-columns: 100px 150px minmax(0, 1fr); row-gap: 10px; }
#teppichplaner .masse .hilfe { grid-column: 2 / -1; margin-top: -4px; }
 }
#teppichplaner .rueckweg { display: block; padding: 0; background: none; }
#teppichplaner .rueckweg .tp-hinweis { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; min-height: 72px; background: #f7f5f1; font-size: 14px; line-height: 1.45; color: var(--text); text-decoration: none; border: 0; }
#teppichplaner .rueckweg .tp-hinweis:hover { background: #f1ede6; }
#teppichplaner .rueckweg .tp-hinweis:focus-visible { outline: 2px solid var(--gold-dunkel); outline-offset: 2px; }
#teppichplaner .rueckweg .tp-hinweis-rug { display: block; width: 52px; height: 52px; background-size: cover; background-position: center; box-shadow: 0 0 0 1px #e6e1d8; }
#teppichplaner .rueckweg .tp-hinweis b { display: block; font-weight: 600; }
#teppichplaner .rueckweg .tp-link { color: var(--gedaempft); border: 0; }
#teppichplaner .rueckweg .tp-pfeil { font-style: normal; font-size: 26px; line-height: 1; color: var(--gold-dunkel); }
#teppichplaner .preishinweis.anl { margin: 0 0 16px; font-weight: 400; }
#teppichplaner .fuss .info { font-size: 18px; }
#teppichplaner .fuss .info b { font-size: 21px; }
@media (max-width: 760px) {
#teppichplaner .fuss .info { font-size: 15.5px; }
#teppichplaner .fuss .info b { font-size: 18px; }
 }
#teppichplaner .rueckweg .tp-hinweis, #teppichplaner .rueckweg .tp-txt { text-align: left; }
#teppichplaner #ausfBox .grundwahl { max-width: 460px; }
#teppichplaner .mfeld, #teppichplaner .mpf, #teppichplaner .kopfinfo-c { overflow-anchor: none; }


/* ---------- nur im Shop ---------- */
html { scrollbar-gutter: stable; }
#teppichplaner { position: relative; background: var(--weiss); color: var(--text); margin-bottom: 30px; }
#teppichplaner .innen { max-width: none; padding-left: 0; padding-right: 0; }
#teppichplaner .leiste .innen { padding-left: 16px; padding-right: 16px; }
#teppichplaner .leiste { top: var(--tp-oben, 0px); z-index: 6; }   /* über der Vorschau (z-index 4 am Handy) */
#teppichplaner .tp-main .innen { padding-block: 30px 24px; }
#teppichplaner .fuss { position: sticky; bottom: 0; z-index: 6; }
#teppichplaner .tp-main { min-height: 100vh; min-height: 100svh; }   /* Planer mindestens bildschirmhoch: Zurück/Weiter bleiben unten stehen */
#teppichplaner .fuss .innen { padding-left: 0; padding-right: 0; }
#teppichplaner .schleier { z-index: 2000; }
#teppichplaner .vorschau { top: calc(var(--tp-oben, 0px) + 56px); }
@media (min-width: 761px) {   /* 1.0.109: Schrittleiste von Anfang an direkt unter der grauen Leiste (kein Spalt, kein Überdecken der grauen Leiste wie in 1.0.108), Vorschau beim Scrollen 30 px darunter wie am Anfang (Johannes 27.11.2026) */
  #teppichplaner { margin-top: calc(-1 * var(--tp-spalt, 20px)); }
  #teppichplaner .vorschau { top: calc(var(--tp-oben, 0px) + 56px + 30px); }
}
#teppichplaner h1 { font-size: 34px; color: var(--titel); }
#teppichplaner button { line-height: 1.3; }
#teppichplaner label { margin-bottom: 0; }
@media (max-width: 760px) { #teppichplaner .fuss .innen { padding-right: 0; }   /* 1.0.145: Nach-oben-Knopf ist im Planer aus, Platz rechts frei (vorher 70px) */ #teppichplaner .vorschau { top: calc(var(--tp-oben, 0px) + 40px); } #teppichplaner h1 { font-size: 26px; } }

/* Shop-Theme setzt die Schrift direkt auf span/a/b – innerhalb der Serif-Überschriften die Schrift erben */
#teppichplaner :is(h1, h2, h3, .serif, blockquote) :is(span, a, b, em, i, u) { font-family: inherit; }
