/* ===================================================================
   EliteCare Richtpreis-Rechner, Stand 04.11.2026 – nur auf /preise
   Links die Regler, rechts entsteht der Reinigungsplan wie ein echtes
   Blatt auf Fliesen: Wochenplan, vier Hygienezonen, Leistungsumfang und
   der Richtpreis als Summe. Alle Regeln haengen an #kalkulator.ecr, damit
   sie die Seitenregeln (section, input[type=range] …) sicher uebersteuern.
   =================================================================== */
#kalkulator.ecr{
  --r-ink:#0a1128;--r-ink-2:#2c3546;--r-muted:#5f6878;--r-line:#e3e6ec;--r-line-2:#cdd3dc;
  --r-gold:#c28135;--r-gold-hell:#e9c48d;--r-bronze:#7a5120;--r-stempel:#9a5c20;--r-gruen:#356b52;
  --r-tisch:#edf0f4;--r-fuge:#dde2ea;--r-glas:#f4f6f9;
  --r-z1:#c34d44;--r-z2:#c79a35;--r-z3:#45689c;--r-z4:#468468;
  --r-font:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  --r-ease:cubic-bezier(.16,1,.3,1);
  position:relative;padding:104px max(24px,5%) 96px !important;background:#fff !important;color:var(--r-ink);font-family:var(--r-font);text-align:left}
#kalkulator.ecr *,#kalkulator.ecr *::before,#kalkulator.ecr *::after{box-sizing:border-box}
#kalkulator.ecr .ecr-wrap{max-width:1180px;margin:0 auto}
#kalkulator.ecr .ecr-sr{position:absolute !important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* --- Kopf --- */
#kalkulator.ecr .ecr-kopf{max-width:680px;margin:0 0 44px}
#kalkulator.ecr .ecr-kopf h2{margin:0 0 14px;font:700 clamp(30px,3.6vw,46px)/1.08 var(--r-font);letter-spacing:-.03em;color:var(--r-ink);text-align:left}
#kalkulator.ecr .ecr-kopf p{margin:0;max-width:60ch;font:400 17px/1.6 var(--r-font);color:var(--r-muted)}
#kalkulator.ecr .ecr-raster{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:start}

/* --- Regler --- */
#kalkulator.ecr .ecr-regler{display:flex;flex-direction:column;gap:36px;min-width:0;margin:0}
#kalkulator.ecr .ecr-feld{min-width:0;margin:0;padding:0;border:0}
#kalkulator.ecr .ecr-feld>legend,#kalkulator.ecr .ecr-legende{display:block;float:none;width:auto;margin:0 0 14px;padding:0;font:600 17px/1.35 var(--r-font);letter-spacing:-.01em;color:var(--r-ink)}
#kalkulator.ecr .ecr-hilfe{margin:10px 0 0;font:400 13.5px/1.5 var(--r-font);color:var(--r-muted)}
/* Echte Radio-Knoepfe und Checkboxen, nur optisch ersetzt – Tastatur und Screenreader bleiben nativ */
#kalkulator.ecr :is(.ecr-chip,.ecr-tarif,.ecr-schalter){position:relative}
#kalkulator.ecr :is(.ecr-obj,.ecr-t,.ecr-chip,.ecr-tarif,.ecr-schalter) input{position:absolute;width:1px;height:1px;margin:0;padding:0;opacity:0;pointer-events:none}
#kalkulator.ecr :is(.ecr-obj,.ecr-t,.ecr-tarif):has(input:focus-visible),
#kalkulator.ecr .ecr-chip:has(input:focus-visible) span,
#kalkulator.ecr .ecr-schalter:has(input:focus-visible) .ecr-schalter-bahn{outline:3px solid var(--r-gold);outline-offset:2px}

/* Objekt */
#kalkulator.ecr .ecr-objekte{display:grid;gap:8px}
#kalkulator.ecr .ecr-obj{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) 20px;align-items:center;gap:14px;margin:0;padding:11px 14px 11px 11px;border:1px solid var(--r-line-2);border-radius:14px;background:#fff;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}
#kalkulator.ecr .ecr-obj::after{content:"";width:20px;height:20px;border:1.5px solid var(--r-line-2);border-radius:50%;transition:border-width .2s var(--r-ease),border-color .2s ease}
#kalkulator.ecr .ecr-obj:hover{border-color:#9aa3b2}
#kalkulator.ecr .ecr-obj:has(input:checked){border-color:var(--r-ink);box-shadow:inset 0 0 0 1px var(--r-ink);background:#f8f9fb}
#kalkulator.ecr .ecr-obj:has(input:checked)::after{border:6px solid var(--r-ink)}
#kalkulator.ecr .ecr-obj-ic{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#f0f2f6;color:var(--r-ink);transition:background-color .2s ease,color .2s ease}
#kalkulator.ecr .ecr-obj:has(input:checked) .ecr-obj-ic{background:var(--r-ink);color:var(--r-gold-hell)}
#kalkulator.ecr .ecr-obj-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#kalkulator.ecr .ecr-obj-txt{min-width:0}
#kalkulator.ecr .ecr-obj-txt b{display:block;font:600 15.5px/1.3 var(--r-font);color:var(--r-ink)}
#kalkulator.ecr .ecr-obj-txt small{display:block;margin-top:2px;font:400 13.5px/1.4 var(--r-font);color:var(--r-muted)}

/* Flaeche: die Zahl selbst ist das Eingabefeld */
#kalkulator.ecr .ecr-qm-zeile{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px;border:1px solid var(--r-line-2);border-radius:18px;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}
#kalkulator.ecr .ecr-qm-zeile:has(input:focus){border-color:var(--r-gold);box-shadow:0 0 0 4px rgba(194,129,53,.16)}
#kalkulator.ecr .ecr-schritt{flex:none;display:grid;place-items:center;width:52px;height:52px;margin:0;padding:0;border:0;border-radius:12px;background:#f0f2f6;color:var(--r-ink);cursor:pointer;transition:background-color .2s ease;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
#kalkulator.ecr .ecr-schritt:hover{background:#e3e7ee}
#kalkulator.ecr .ecr-schritt:focus-visible{outline:3px solid var(--r-gold);outline-offset:2px}
#kalkulator.ecr .ecr-schritt svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
#kalkulator.ecr .ecr-qm{display:flex;align-items:baseline;justify-content:center;gap:6px;min-width:0}
#kalkulator.ecr .ecr-qm input{width:4.4ch;min-width:0;height:auto;margin:0;padding:0;border:0 !important;border-radius:0;background:transparent !important;box-shadow:none !important;outline:none;
  font:650 44px/1.1 var(--r-font) !important;font-variant-numeric:tabular-nums;letter-spacing:-.03em;color:var(--r-ink);text-align:right;-moz-appearance:textfield;appearance:textfield}
#kalkulator.ecr .ecr-qm input::-webkit-outer-spin-button,#kalkulator.ecr .ecr-qm input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
#kalkulator.ecr .ecr-qm>span{font:500 19px/1 var(--r-font);color:var(--r-muted)}
/* Schieberegler mit Lineal: Teilstriche alle 50 m², Beschriftung genau unter dem Wert */
#kalkulator.ecr .ecr-range{-webkit-appearance:none;appearance:none;display:block;width:100%;height:30px;margin:18px 0 0;padding:0;border:0;background:transparent;cursor:pointer;touch-action:pan-y}
#kalkulator.ecr .ecr-range:focus{outline:none}
#kalkulator.ecr .ecr-range::-webkit-slider-runnable-track{height:6px;border-radius:6px;background:linear-gradient(to right,var(--r-ink) 0 var(--ecr-pos,15.8%),#dde2ea var(--ecr-pos,15.8%) 100%)}
#kalkulator.ecr .ecr-range::-webkit-slider-thumb{-webkit-appearance:none;width:28px;height:28px;margin-top:-11px;border:2px solid var(--r-ink);border-radius:50%;background:#fff;box-shadow:0 5px 12px -5px rgba(10,17,40,.55)}
#kalkulator.ecr .ecr-range::-moz-range-track{height:6px;border:0;border-radius:6px;background:#dde2ea}
#kalkulator.ecr .ecr-range::-moz-range-progress{height:6px;border-radius:6px;background:var(--r-ink)}
#kalkulator.ecr .ecr-range::-moz-range-thumb{width:24px;height:24px;border:2px solid var(--r-ink);border-radius:50%;background:#fff;box-shadow:0 5px 12px -5px rgba(10,17,40,.55)}
#kalkulator.ecr .ecr-lineal{position:relative;height:30px;margin:4px 14px 0;
  background:repeating-linear-gradient(to right,var(--r-line-2) 0 1px,transparent 1px calc(100% / 19)) top left/100% 7px no-repeat;
  font:500 12px/1 var(--r-font);font-variant-numeric:tabular-nums;color:var(--r-muted)}
#kalkulator.ecr .ecr-lineal::before{content:"";position:absolute;top:0;right:0;width:1px;height:7px;background:var(--r-line-2)}
#kalkulator.ecr .ecr-lineal>span{position:absolute;top:13px;transform:translateX(-50%);white-space:nowrap}
#kalkulator.ecr .ecr-lineal>span:nth-child(1){left:0;transform:none}
#kalkulator.ecr .ecr-lineal>span:nth-child(2){left:21.05%}
#kalkulator.ecr .ecr-lineal>span:nth-child(3){left:47.37%}
#kalkulator.ecr .ecr-lineal>span:nth-child(4){left:73.68%}
#kalkulator.ecr .ecr-lineal>span:nth-child(5){right:0;left:auto;transform:none}
#kalkulator.ecr .ecr-fehler{margin:10px 0 0;padding:10px 12px;border-radius:10px;background:#fbefed;color:#7a2a20;font:400 13.5px/1.5 var(--r-font)}
#kalkulator.ecr .ecr-fehler[hidden]{display:none}
#kalkulator.ecr .ecr-fehler a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px}

/* Turnus: jede Option zeigt ihren Richtpreis – der Vergleich steckt in der Auswahl */
#kalkulator.ecr .ecr-turnusse{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#kalkulator.ecr .ecr-t{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:0;padding:13px 12px 12px;border:1px solid var(--r-line-2);border-radius:14px;background:#fff;cursor:pointer;transition:border-color .2s ease,background-color .2s ease}
#kalkulator.ecr .ecr-t:hover{border-color:#9aa3b2}
#kalkulator.ecr .ecr-t-n{font:650 25px/1 var(--r-font);letter-spacing:-.02em;color:var(--r-ink)}
#kalkulator.ecr .ecr-t-p{font:500 13px/1.25 var(--r-font);font-variant-numeric:tabular-nums;color:var(--r-muted);white-space:nowrap}
#kalkulator.ecr .ecr-t::after{content:"";width:var(--ecr-anteil,40%);max-width:100%;height:3px;margin-top:2px;border-radius:3px;background:#d3d9e2;transition:width .35s var(--r-ease)}
#kalkulator.ecr .ecr-t:has(input:checked){border-color:var(--r-ink);background:var(--r-ink)}
#kalkulator.ecr .ecr-t:has(input:checked) .ecr-t-n{color:#fff}
#kalkulator.ecr .ecr-t:has(input:checked) .ecr-t-p{color:var(--r-gold-hell)}
#kalkulator.ecr .ecr-t:has(input:checked)::after{background:var(--r-gold)}

/* Turnus-Hilfe */
#kalkulator.ecr .ecr-hilfe-turnus{min-width:0;margin:20px 0 0;padding:16px 16px 14px;border:0;border-radius:16px;background:var(--r-glas)}
#kalkulator.ecr .ecr-hilfe-turnus>legend{float:left;width:100%;margin:0 0 10px;padding:0;font:600 14.5px/1.4 var(--r-font);color:var(--r-ink)}
#kalkulator.ecr .ecr-chips{clear:both;display:flex;flex-wrap:wrap;gap:6px}
#kalkulator.ecr .ecr-chip{margin:0;cursor:pointer}
#kalkulator.ecr .ecr-chip span{display:inline-flex;align-items:center;min-height:40px;padding:0 15px;border:1px solid var(--r-line-2);border-radius:999px;background:#fff;font:500 14px/1 var(--r-font);color:var(--r-ink);transition:background-color .2s ease,border-color .2s ease,color .2s ease}
#kalkulator.ecr .ecr-chip:hover span{border-color:#9aa3b2}
#kalkulator.ecr .ecr-chip:has(input:checked) span{border-color:var(--r-ink);background:var(--r-ink);color:#fff}
#kalkulator.ecr .ecr-schalter{display:flex;align-items:center;gap:10px;margin:12px 0 0;font:400 14px/1.4 var(--r-font);color:var(--r-ink-2);cursor:pointer}
#kalkulator.ecr .ecr-schalter-bahn{position:relative;flex:none;width:40px;height:24px;border-radius:999px;background:#c5ccd6;transition:background-color .2s ease}
#kalkulator.ecr .ecr-schalter-bahn::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(10,17,40,.3);transition:transform .25s var(--r-ease)}
#kalkulator.ecr .ecr-schalter input:checked+.ecr-schalter-bahn{background:var(--r-ink)}
#kalkulator.ecr .ecr-schalter input:checked+.ecr-schalter-bahn::after{transform:translateX(16px)}
#kalkulator.ecr .ecr-empfehlung:empty{display:none}
#kalkulator.ecr .ecr-empfehlung{margin:14px 0 0;padding:14px 0 0;border-top:1px solid #e0e4ea}
#kalkulator.ecr .ecr-empfehlung p{margin:0;font:400 14px/1.55 var(--r-font);color:var(--r-ink-2)}
#kalkulator.ecr .ecr-empfehlung p b{display:block;margin-bottom:2px;font-weight:600;color:var(--r-ink)}
#kalkulator.ecr .ecr-uebernehmen{display:inline-flex;align-items:center;min-height:40px;margin:10px 0 0;padding:0 16px;border:1px solid var(--r-ink);border-radius:10px;background:#fff;color:var(--r-ink);font:600 14px/1 var(--r-font);cursor:pointer;transition:background-color .2s ease,color .2s ease}
#kalkulator.ecr .ecr-uebernehmen:hover{background:var(--r-ink);color:#fff}
#kalkulator.ecr .ecr-uebernehmen:focus-visible{outline:3px solid var(--r-gold);outline-offset:2px}
#kalkulator.ecr .ecr-passt{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font:600 13.5px/1.4 var(--r-font);color:var(--r-gruen)}
#kalkulator.ecr .ecr-passt svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* Abrechnung */
#kalkulator.ecr .ecr-tarife{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:14px;background:#eef1f5}
#kalkulator.ecr .ecr-tarif{margin:0;border-radius:10px;cursor:pointer}
#kalkulator.ecr .ecr-tarif span{display:flex;align-items:center;justify-content:center;min-height:46px;padding:6px 10px;border-radius:10px;font:500 14px/1.25 var(--r-font);color:var(--r-ink-2);text-align:center;transition:background-color .2s ease,box-shadow .2s ease}
#kalkulator.ecr .ecr-tarif:has(input:checked) span{background:#fff;color:var(--r-ink);font-weight:600;box-shadow:0 1px 2px rgba(10,17,40,.08),0 6px 14px -8px rgba(10,17,40,.35)}

/* Wissen */
#kalkulator.ecr .ecr-wissen{padding:18px 0 0;border-top:1px solid var(--r-line)}
#kalkulator.ecr .ecr-wissen summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;list-style:none;font:600 15.5px/1.4 var(--r-font);color:var(--r-ink);cursor:pointer}
#kalkulator.ecr .ecr-wissen summary::-webkit-details-marker{display:none}
#kalkulator.ecr .ecr-wissen summary::after{content:"";flex:none;width:12px;height:12px;border-right:2px solid var(--r-ink);border-bottom:2px solid var(--r-ink);transform:translateY(-3px) rotate(45deg);transition:transform .25s var(--r-ease)}
#kalkulator.ecr .ecr-wissen[open] summary::after{transform:translateY(2px) rotate(225deg)}
#kalkulator.ecr .ecr-wissen summary:focus-visible{outline:3px solid var(--r-gold);outline-offset:4px;border-radius:4px}
#kalkulator.ecr .ecr-wissen p{max-width:62ch;margin:10px 0 0;font:400 14.5px/1.65 var(--r-font);color:var(--r-ink-2)}

/* --- Tisch mit Fliesenraster, darauf das Blatt --- */
#kalkulator.ecr .ecr-tisch{position:relative;isolation:isolate;padding:clamp(18px,3.2vw,44px);border-radius:26px;background-color:var(--r-tisch);
  background-image:linear-gradient(var(--r-fuge) 1px,transparent 1px),linear-gradient(90deg,var(--r-fuge) 1px,transparent 1px);background-size:34px 34px;background-position:-1px -1px}
#kalkulator.ecr .ecr-blatt{position:relative;max-width:600px;margin:0 auto;padding:0 30px 26px;border-radius:6px;background:#fff;color:var(--r-ink);
  box-shadow:0 0 0 1px rgba(10,17,40,.07),0 2px 3px rgba(10,17,40,.04),0 30px 60px -34px rgba(10,17,40,.55);-webkit-print-color-adjust:exact;print-color-adjust:exact}
/* Kopflinie in den vier Hygienefarben, darunter ein zweites Blatt */
#kalkulator.ecr .ecr-blatt::before{content:"";display:block;height:5px;margin:0 -30px 24px;border-radius:6px 6px 0 0;background:linear-gradient(90deg,var(--r-z1) 0 25%,var(--r-z2) 25% 50%,var(--r-z3) 50% 75%,var(--r-z4) 75% 100%)}
#kalkulator.ecr .ecr-blatt::after{content:"";position:absolute;z-index:-1;left:12px;right:12px;bottom:-9px;height:24px;border-radius:0 0 6px 6px;background:#fafbfc;box-shadow:0 0 0 1px rgba(10,17,40,.06),0 18px 30px -22px rgba(10,17,40,.5)}
#kalkulator.ecr .ecr-blatt-kopf{padding:0 0 20px}
#kalkulator.ecr .ecr-blatt-titelzeile{display:flex;align-items:center;justify-content:space-between;gap:12px}
#kalkulator.ecr .ecr-blatt h3{margin:0;font:650 23px/1.2 var(--r-font);letter-spacing:-.02em;color:var(--r-ink)}
#kalkulator.ecr .ecr-stempel{flex:none;padding:5px 11px 6px;border:1.5px solid var(--r-stempel);border-radius:7px;color:var(--r-stempel);font:600 13px/1 var(--r-font);transform:rotate(-5deg);opacity:.92}
#kalkulator.ecr .ecr-blatt-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;margin:8px 0 0;font:400 14px/1.45 var(--r-font);color:var(--r-muted)}
#kalkulator.ecr .ecr-blatt-meta [data-ecr="profil"]{font-weight:600;color:var(--r-ink-2)}
#kalkulator.ecr .ecr-abschnitt{padding:20px 0;border-top:1px solid var(--r-line)}
#kalkulator.ecr .ecr-blatt h4{margin:0 0 12px;font:600 14px/1.35 var(--r-font);color:var(--r-ink)}
#kalkulator.ecr .ecr-klein{margin:10px 0 0;font:400 13px/1.55 var(--r-font);color:var(--r-muted)}
/* Wochenplan */
#kalkulator.ecr .ecr-woche{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:0;padding:0;list-style:none}
#kalkulator.ecr .ecr-woche li{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:56px;margin:0;border:1px solid var(--r-line);border-radius:10px;background:#fff;font:600 13px/1 var(--r-font);color:var(--r-muted);transition:background-color .3s ease,border-color .3s ease,color .3s ease}
#kalkulator.ecr .ecr-woche li::after{content:"";width:6px;height:6px;border-radius:50%;background:var(--r-line);transition:background-color .3s ease}
#kalkulator.ecr .ecr-woche li.ecr-an{border-color:var(--r-ink);background:var(--r-ink);color:#fff}
#kalkulator.ecr .ecr-woche li.ecr-an::after{background:var(--r-gold-hell)}
/* Zonen in den Hygienefarben */
#kalkulator.ecr .ecr-zonen{margin:0;padding:0;list-style:none}
#kalkulator.ecr .ecr-zonen li{display:grid;grid-template-columns:4px minmax(108px,30%) minmax(0,1fr);gap:2px 14px;align-items:start;margin:0;padding:10px 0;border-bottom:1px dashed var(--r-line)}
#kalkulator.ecr .ecr-zonen li:last-child{border-bottom:0}
#kalkulator.ecr .ecr-zonen li::before{content:"";grid-row:1 / span 2;align-self:stretch;width:4px;min-height:20px;border-radius:2px;background:var(--z)}
#kalkulator.ecr .ecr-z1{--z:var(--r-z1)}#kalkulator.ecr .ecr-z2{--z:var(--r-z2)}#kalkulator.ecr .ecr-z3{--z:var(--r-z3)}#kalkulator.ecr .ecr-z4{--z:var(--r-z4)}
#kalkulator.ecr .ecr-zonen b{font:600 14px/1.45 var(--r-font);color:var(--r-ink)}
#kalkulator.ecr .ecr-zonen span{font:400 14px/1.45 var(--r-font);color:var(--r-ink-2)}
#kalkulator.ecr .ecr-hinweis{margin:12px 0 0;padding:12px 14px;border-radius:10px;background:var(--r-glas);font:400 13.5px/1.55 var(--r-font);color:var(--r-ink-2)}
/* Umfang */
#kalkulator.ecr .ecr-umfang{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:20px}
#kalkulator.ecr .ecr-liste{display:grid;gap:7px;margin:0;padding:0;list-style:none}
#kalkulator.ecr .ecr-liste li{position:relative;margin:0;padding:0 0 0 25px;font:400 14px/1.45 var(--r-font);color:var(--r-ink-2)}
#kalkulator.ecr .ecr-liste li::before{content:"";position:absolute;left:0;top:1px;width:17px;height:17px;background:no-repeat center/17px 17px}
#kalkulator.ecr .ecr-liste-ja li::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23356b52' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E")}
#kalkulator.ecr .ecr-liste-extra li::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6878' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E")}
/* Summe direkt unter dem Kopf – beim Einstellen links immer im Blick. Nach jeder Aenderung laeuft ein Glanzstrich darueber */
#kalkulator.ecr .ecr-summe{position:relative;overflow:hidden;margin:0 -30px;padding:20px 30px 20px;border-top:2px solid var(--r-ink);background:var(--r-glas)}
#kalkulator.ecr .ecr-summe+.ecr-abschnitt{border-top:0}
#kalkulator.ecr .ecr-summe::after{content:"";position:absolute;top:-40%;bottom:-40%;left:0;width:28%;pointer-events:none;
  background:linear-gradient(100deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.55) 38%,rgba(255,255,255,.95) 50%,rgba(255,255,255,.55) 62%,rgba(255,255,255,0) 100%);transform:translateX(-180%) skewX(-18deg)}
#kalkulator.ecr .ecr-summe.ecr-glanz::after{animation:ecr-glanz .95s cubic-bezier(.45,.05,.2,1) both}
@keyframes ecr-glanz{0%{transform:translateX(-180%) skewX(-18deg)}100%{transform:translateX(480%) skewX(-18deg)}}
#kalkulator.ecr .ecr-summe-zeile{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:6px 16px}
#kalkulator.ecr .ecr-summe-label{padding-bottom:9px;font:600 15px/1.3 var(--r-font);color:var(--r-ink)}
#kalkulator.ecr .ecr-preis{display:inline-flex;align-items:baseline;gap:7px;color:var(--r-ink);font-variant-numeric:tabular-nums;white-space:nowrap}
#kalkulator.ecr .ecr-ca{font:500 18px/1 var(--r-font);color:var(--r-muted)}
#kalkulator.ecr .ecr-zahl{font:700 clamp(46px,5.4vw,62px)/1 var(--r-font);letter-spacing:-.04em}
#kalkulator.ecr .ecr-eur{font:600 27px/1 var(--r-font);color:var(--r-stempel)}
#kalkulator.ecr .ecr-summe .ecr-klein{margin-top:8px}
#kalkulator.ecr .ecr-detail{margin:8px 0 0;font:500 14px/1.5 var(--r-font);color:var(--r-ink-2)}
#kalkulator.ecr .ecr-detail[hidden]{display:none}
#kalkulator.ecr .ecr-jahr{color:var(--r-gruen)}

/* Aktionen */
#kalkulator.ecr .ecr-aktionen{padding:22px 0 0;border-top:1px solid var(--r-line)}
#kalkulator.ecr .ecr-cta{display:flex;align-items:center;justify-content:center;min-height:56px;padding:0 22px;border-radius:12px;background:var(--r-ink);color:#fff !important;font:600 16px/1.2 var(--r-font);text-align:center;text-decoration:none !important;transition:background-color .2s ease}
#kalkulator.ecr .ecr-cta:hover{background:#1d2952}
#kalkulator.ecr .ecr-cta:focus-visible{outline:3px solid var(--r-gold);outline-offset:3px}
#kalkulator.ecr .ecr-cta-info{text-align:center}
#kalkulator.ecr .ecr-werkzeuge{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 22px;margin:16px 0 0;padding:12px 0 0;border-top:1px solid var(--r-line)}
#kalkulator.ecr .ecr-werkzeuge button{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0;padding:0 2px;border:0;background:none;color:var(--r-ink);font:500 14px/1.2 var(--r-font);cursor:pointer;transition:color .2s ease}
#kalkulator.ecr .ecr-werkzeuge button:hover{color:var(--r-bronze)}
#kalkulator.ecr .ecr-werkzeuge button:focus-visible{outline:3px solid var(--r-gold);outline-offset:2px;border-radius:4px}
#kalkulator.ecr .ecr-werkzeuge button:disabled{opacity:.45;cursor:not-allowed}
#kalkulator.ecr .ecr-werkzeuge svg{width:18px;height:18px;fill:none;stroke:var(--r-bronze);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#kalkulator.ecr .ecr-link-feld{margin:12px 0 0}
#kalkulator.ecr .ecr-link-feld[hidden]{display:none}
#kalkulator.ecr .ecr-link-feld label{display:block;margin:0 0 6px;font:600 13px/1.3 var(--r-font);color:var(--r-ink)}
#kalkulator.ecr .ecr-link-feld input{width:100%;height:44px;padding:0 12px;border:1px solid var(--r-line-2);border-radius:10px;background:#fff;font:400 14px/1 var(--r-font);color:var(--r-ink)}
#kalkulator.ecr .ecr-druck-fuss{display:none}
#kalkulator.ecr .ecr-ohne{margin:30px 0 0;font:400 15px/1.55 var(--r-font);color:var(--r-muted)}
#kalkulator.ecr .ecr-ohne a{color:var(--r-bronze);font-weight:600;text-decoration:underline;text-decoration-color:rgba(122,81,32,.4);text-underline-offset:3px}
#kalkulator.ecr .ecr-ohne a:hover{text-decoration-color:currentColor}

/* Ungueltige Flaeche: Plan zeigt keinen Preis, nur den Weg zur Anfrage */
#kalkulator.ecr.ecr-ungueltig .ecr-t-p,#kalkulator.ecr.ecr-ungueltig .ecr-t::after{visibility:hidden}
#kalkulator.ecr.ecr-ungueltig .ecr-zahl{font-size:clamp(30px,3.6vw,38px);letter-spacing:-.02em}

/* --- Kleinere Bildschirme --- */
@media (max-width:1020px){
  #kalkulator.ecr .ecr-raster{grid-template-columns:minmax(0,1fr);gap:40px}
}
/* Schmale Desktops: Turnus-Kacheln 2 × 2, sonst wird der Preis in der Kachel zu eng */
@media (min-width:1021px) and (max-width:1199px){
  #kalkulator.ecr .ecr-turnusse{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Tablet: Objekte nebeneinander, damit die Breite genutzt wird */
@media (min-width:700px) and (max-width:1020px){
  #kalkulator.ecr .ecr-objekte{grid-template-columns:repeat(3,minmax(0,1fr))}
  #kalkulator.ecr .ecr-obj{grid-template-columns:40px minmax(0,1fr) 20px;gap:12px}
  #kalkulator.ecr .ecr-obj-ic{width:40px;height:40px}
}
@media (max-width:600px){
  #kalkulator.ecr{padding:72px 16px 64px !important}
  #kalkulator.ecr .ecr-kopf{margin-bottom:32px}
  #kalkulator.ecr .ecr-kopf p{font-size:16px}
  #kalkulator.ecr .ecr-regler{gap:32px}
  #kalkulator.ecr .ecr-tisch{margin:0 -16px;padding:22px 12px 30px;border-radius:0}
  #kalkulator.ecr .ecr-blatt{padding:0 18px 22px}
  #kalkulator.ecr .ecr-blatt::before{margin:0 -18px 20px}
  #kalkulator.ecr .ecr-summe{margin:0 -18px;padding:20px 18px 18px}
  #kalkulator.ecr .ecr-zonen li{grid-template-columns:4px minmax(0,1fr)}
  #kalkulator.ecr .ecr-zonen span{grid-column:2}
  #kalkulator.ecr .ecr-umfang{grid-template-columns:minmax(0,1fr)}
  #kalkulator.ecr .ecr-blatt h3{font-size:20px}
}
@media (max-width:400px){
  #kalkulator.ecr .ecr-turnusse{grid-template-columns:repeat(2,minmax(0,1fr))}
  #kalkulator.ecr .ecr-schritt{width:46px;height:46px}
  #kalkulator.ecr .ecr-qm input{font-size:38px !important}
  #kalkulator.ecr .ecr-woche li{height:50px}
  #kalkulator.ecr .ecr-lineal-einheit{display:none}
}
@media (prefers-reduced-motion:reduce){
  #kalkulator.ecr *,#kalkulator.ecr *::before,#kalkulator.ecr *::after{transition-duration:.01ms !important;animation:none !important}
}

/* --- "Als PDF sichern": nur das Blatt drucken --- */
@media print{
  html.ecr-druck body>:not(main){display:none !important}
  html.ecr-druck main>:not(#kalkulator){display:none !important}
  html.ecr-druck #kalkulator.ecr{padding:0 !important}
  html.ecr-druck #kalkulator.ecr :is(.ecr-kopf,.ecr-regler,.ecr-ohne,.ecr-werkzeuge,.ecr-cta,.ecr-cta-info,.ecr-link-feld){display:none !important}
  html.ecr-druck #kalkulator.ecr .ecr-raster{display:block}
  html.ecr-druck #kalkulator.ecr .ecr-tisch{padding:0;margin:0;background:none;border-radius:0}
  html.ecr-druck #kalkulator.ecr .ecr-blatt{max-width:none;box-shadow:none;border:1px solid #cfd5de}
  html.ecr-druck #kalkulator.ecr .ecr-blatt::after,html.ecr-druck #kalkulator.ecr .ecr-summe::after{display:none}
  html.ecr-druck #kalkulator.ecr .ecr-aktionen{padding-top:6px}
  html.ecr-druck #kalkulator.ecr .ecr-druck-fuss{display:block;margin:10px 0 0;font:400 11px/1.5 var(--r-font);color:#5f6878}
  html.ecr-druck,html.ecr-druck body{background:#fff !important}
  /* Kompakter, damit der Plan auf eine A4-Seite passt */
  html.ecr-druck #kalkulator.ecr .ecr-blatt::before{margin-bottom:16px}
  html.ecr-druck #kalkulator.ecr .ecr-blatt-kopf{padding-bottom:14px}
  html.ecr-druck #kalkulator.ecr .ecr-summe{padding:14px 30px}
  html.ecr-druck #kalkulator.ecr .ecr-abschnitt{padding:14px 0;break-inside:avoid}
  html.ecr-druck #kalkulator.ecr .ecr-woche li{height:44px}
  html.ecr-druck #kalkulator.ecr .ecr-zonen li{padding:7px 0}
  html.ecr-druck #kalkulator.ecr .ecr-liste{gap:4px}
  html.ecr-druck #kalkulator.ecr .ecr-aktionen{padding-top:0;border-top:0}
  @page{margin:12mm}
}
