/* Betriebe: Ladenfronten und gemeinsame Bausteine; die Ansicht der Seite steht in betriebe.css, der Franchise-Reiter am Ende dieser Datei. Ohne flex-gap (Chrome 80).
   Jeder Ladentyp hat seine Farbe: --fc Fassade und Hintergrund (Farben der früheren Seite), --sc Leuchtschild und Vordach; dazu sein Hintergrundbild (--art, img/biz).
   Den Zustand zeigt die Front: geöffnet = helles Licht mit Schein und „OFFEN“; geschlossen = dunkles Fenster mit Fensterkreuz. */
.lf-manav{--fc:47,112,62;--sc:120,224,150;--art:url(../img/biz/manav.svg)}
.lf-kasap{--fc:132,44,50;--sc:255,128,128;--art:url(../img/biz/kasap.svg)}
.lf-kafe{--fc:112,74,44;--sc:240,172,100;--art:url(../img/biz/kafe.svg)}
.lf-kozmetik{--fc:136,46,110;--sc:255,140,210;--art:url(../img/biz/kozmetik.svg)}
.lf-giyim{--fc:80,52,142;--sc:180,150,255;--art:url(../img/biz/giyim.svg)}
.lf-ayakkabi{--fc:156,90,32;--sc:255,190,96;--art:url(../img/biz/ayakkabi.svg)}
.lf-mobilya{--fc:122,100,58;--sc:236,206,150;--art:url(../img/biz/mobilya.svg)}
.lf-hirdavat{--fc:72,94,120;--sc:160,190,222;--art:url(../img/biz/hirdavat.svg)}
.lf-elektronik{--fc:36,86,146;--sc:96,212,255;--art:url(../img/biz/elektronik.svg)}
.lf-otomotiv{--fc:30,114,114;--sc:90,226,196;--art:url(../img/biz/otomotiv.svg)}
.lf-ihracat{--fc:140,114,34;--sc:240,200,90;--art:url(../img/biz/ihracat.svg)}
.lf-tankstelle{--fc:150,56,34;--sc:255,214,96;--art:none}

/* Ladenfront: Fassade in Typfarbe mit Licht von oben, dünne Kanten, Leuchtschild mit Schein, Glas mit warmem Licht innen */
.ldefs{position:absolute;width:0;height:0;overflow:hidden}
.lfront{display:block;width:100%;height:auto;overflow:visible}
.lfront .lc{fill:#131a35;stroke:rgba(var(--sc),.45);stroke-width:.6}
.lfront .lb{fill:rgb(var(--fc));stroke:#050914;stroke-width:.8}
.lfront .lpil{stroke:rgba(0,0,0,.16);stroke-width:3}
.lfront .ll{stroke:rgba(0,0,0,.45);stroke-width:.8}
.lfront .ls{fill:#060a16}
.lfront .ln{fill:none;stroke:rgb(var(--sc));stroke-width:.7}
.lfront .ln2{fill:none;stroke:rgba(var(--sc),.3);stroke-width:3.2;animation:lneon 5s ease-in-out infinite}
.lfront .lsg{stroke:rgba(var(--sc),.85);stroke-width:1.7;stroke-linecap:round;stroke-dasharray:5 1.6 3 1.6 7 1.6 4 1.6}
.lfront .lname,.lfront .lname2{font-family:var(--fd);font-size:5.6px;letter-spacing:.02em}
.lfront .lname{fill:rgb(var(--sc))}.lfront .lname2{fill:none;stroke:rgba(var(--sc),.35);stroke-width:1.3}
.lfront .la{fill:rgba(var(--sc),.3);stroke:rgba(var(--sc),.5);stroke-width:.5}
.lfront .lled{stroke:rgb(var(--sc));stroke-width:.9;stroke-linecap:round}
.lfront .la1{fill:rgb(var(--sc))}.lfront .la2{fill:#eef2fa}
.lfront .lg{stroke:#050914;stroke-width:.8}
.lfront .lsl{stroke:rgba(255,255,255,.13);stroke-width:.6}
.lfront .lh{stroke:rgba(255,255,255,.55);stroke-width:.8;stroke-linecap:round}
.lfront .lgo.off{opacity:.22;filter:grayscale(1)}
.lfront .lscr{fill:rgba(var(--sc),.3)}.lfront .lscl{stroke:rgba(255,255,255,.08);stroke-width:.5}
.lfront .lgd{stroke:rgba(255,255,255,.16);stroke-width:.8}
.lfront .lan{stroke:#4a5578;stroke-width:.8}.lfront .lbe{fill:#ff5a72;animation:lbeacon 2.6s ease-in-out infinite}
/* geöffnet: Fenster leuchten deutlich (Schein, OFFEN-Schild, Licht auf dem Boden) */
.lfront .lg.lon{fill:#ffcf86}.lfront.open .lsl{stroke:rgba(120,70,20,.25)}
.lfront .lhalo{fill:none;stroke:rgba(255,204,120,.55);stroke-width:3.4;animation:lglow 3.2s ease-in-out infinite}
.lfront .lopen{fill:#0a1020;stroke:#7dffb0;stroke-width:.5}.lfront .lopent{fill:#9dffc4;font-family:var(--fd);font-size:3.6px;letter-spacing:.06em}
.lfront .lspill{opacity:.95}
/* geschlossen: Licht aus, Schild schwach, dunkles Glas mit Fensterkreuz; das Zeichen im Fenster bleibt erkennbar */
.lfront.closed .ln{stroke:rgba(var(--sc),.3)}.lfront.closed .ln2,.lfront.closed .lled,.lfront.closed .lname2{display:none}
.lfront.closed .lsg,.lfront.closed .lname{opacity:.4}.lfront.closed .la,.lfront.closed .la1,.lfront.closed .la2{opacity:.6}
.lfront.closed .lgo{opacity:.6}
.lfront .lfr{fill:none;stroke:#0a0f1e;stroke-width:1.4}.lfront .lrf{stroke:rgba(255,255,255,.1);stroke-width:1.6;stroke-linecap:round}
@keyframes lneon{0%,100%{opacity:1}48%{opacity:.75}50%{opacity:.35}52%{opacity:.8}}
@keyframes lbeacon{50%{opacity:.2}}
@keyframes lglow{50%{opacity:.6}}
@media (prefers-reduced-motion:reduce){.lfront .ln2,.lfront .lbe,.lfront .lhalo{animation:none}}
/* Hintergrund je Ladentyp: Bild des Typs über einem Verlauf in der Typfarbe */
.lbox{display:block;background:var(--art) center top/115% auto no-repeat,linear-gradient(160deg,rgba(var(--fc),.95),#101731 85%)}

/* Kennzahlen im Kopf einer Karte und als Reihe darunter (Wohnmodule, Logistik) */
.lz-rate{flex:none;text-align:right;margin-left:8px}.lz-rate small{display:block;font-size:10px;color:var(--mut);font-weight:800}
.lz-rate b{display:block;font-family:var(--fd);font-weight:400;font-size:17px;white-space:nowrap;line-height:1.15}
.lz-stats{display:grid;grid-template-columns:1fr 1fr;margin-top:12px;border-top:1px dashed var(--sep);padding-top:8px}
.lz-stats>div{text-align:center}.lz-stats>div+div{border-left:1px solid var(--sep)}
.lz-stats small{display:block;font-size:10.5px;color:var(--mut);font-weight:800}.lz-stats b{font-size:14px}

/* Klappkarte (Zu erledigen, beendete Verträge, Versand im Lager): Kopfzeile zum Auf- und Zuklappen, mit Zähler */
.card.lz-todo{padding:0}
.lz-tbar{display:flex;align-items:center;width:100%;padding:10px 12px;background:none;border:0;color:var(--text);cursor:pointer;text-align:left;font:inherit}
.lz-tbar b{font-family:var(--fd);font-weight:400;font-size:16px}
.lz-tbar small{font-size:12px;color:var(--mut);font-weight:700;margin-left:6px;white-space:nowrap}
.lz-badge{display:inline-block;min-width:22px;height:22px;line-height:18px;margin-left:9px;padding:0 6px;box-sizing:border-box;border-radius:11px;background:var(--red);border:2px solid var(--line);
  color:#fff;font-size:12px;font-weight:900;text-align:center}
.lz-fold{margin-left:auto;flex:none;width:28px;height:28px;border-radius:50%;border:2px solid var(--line);background:rgba(11,17,36,.6);font-weight:800;font-size:16px;line-height:24px;text-align:center}

/* Laden als Zeile (Franchise-Reiter): Front links, Name und Zahl rechts, Balken unten */
.card.lr{display:grid;grid-template-columns:116px minmax(0,1fr);grid-column-gap:11px;padding:10px}
.lr-front{display:block;width:116px;padding:0;border:2px solid var(--line);border-radius:12px;overflow:hidden;cursor:pointer;background:#0b1124}
.lr-front .lbox{padding:5px 6px 0}
.lr-main{min-width:0;display:flex;flex-direction:column}
.lr-name{display:block;width:100%;padding:0;margin:0;background:none;border:0;color:var(--text);cursor:pointer;text-align:left;
  font-family:var(--fd);font-weight:400;font-size:16px;line-height:1.2;overflow-wrap:anywhere}
.lr-name span{color:var(--mut);margin-left:5px}
.lr-sub{font-size:11.5px;color:var(--mut);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lr-till{display:flex;align-items:flex-end;justify-content:space-between;margin-top:auto;padding-top:4px}
.lr-till>div{min-width:0;margin-right:8px}.lr-till small{display:block;font-size:10.5px;color:var(--mut);font-weight:800}
.lr-till b{display:block;font-family:var(--fd);font-weight:400;font-size:20px;line-height:1.1;color:var(--greenL);overflow-wrap:anywhere}
.lr-till .btn{flex:none}
.lr-foot{grid-column:1/-1;margin-top:9px}.lr-foot .bar-text{font-size:11.5px}.lr-foot .bar-text span+span{text-align:right}

/* Ladenseite: Kopfzeile über der Front (Planet, Zustand); Leiste der Betriebsrechte und Plätze */
.lh-top{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 0}
.lh-top .eyebrow{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.6)}
.lh-chip{font-size:11px;font-weight:800;border-radius:999px;padding:2px 10px;border:1.5px solid rgba(255,214,150,.6);color:#ffe0ad;background:rgba(10,15,31,.65)}
.lh-chip.shut,.lh-chip.empty{border-color:var(--sep);color:var(--mut)}.lh-chip.krise{border-color:#ff9d8f;color:#ff9d8f}
.lh-stage{max-width:270px;margin:0 auto;padding:2px 14px 0}
.lpips{display:flex;flex-wrap:wrap;margin:0 0 8px}
.lpips i{width:22px;height:9px;border-radius:4px;margin:0 5px 5px 0;border:1.5px solid var(--sep)}
.lpips i.on{background:var(--cyan);border-color:var(--cyan);box-shadow:0 0 6px rgba(86,194,230,.5)}
.lpips i.free{border-color:var(--cyan)}.lpips i.next{border:1.5px dashed var(--gold)}

/* Franchise (franchise.js): dritter Reiter der Betriebe-Seite. Gold ist die Farbe des Geschenks: Kopf, Schritte, Angebot und gewählter Ladentyp. */
.tab .tb-ic svg{display:block;width:27px;height:27px;margin:0 auto}
.fr-h{font-family:var(--fd);font-weight:400;font-size:17px;margin:4px 2px -4px}
.fr-top .fr-head{display:flex;align-items:center;margin:calc(-1 * var(--pad)) calc(-1 * var(--pad)) 16px;padding:10px var(--pad);border-radius:14px 14px 0 0;border-bottom:2px solid var(--line);
  box-sizing:border-box;min-height:74px;background:radial-gradient(circle at 90% 20%,rgba(232,191,79,.3),transparent 48%),linear-gradient(135deg,#5a4318,#1c2747 72%)}
.fr-head .grow{flex:1;min-width:0}.fr-head b{font-family:var(--fd);font-weight:400;font-size:19px}
.fr-head .fold{position:static;flex:none;margin-left:8px}
.fr-top.folded .fr-head{margin-bottom:calc(-1 * var(--pad));border-bottom:0;border-radius:14px}
.fr-steps{list-style:none;margin:0 0 10px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px}
.fr-steps li{position:relative;background:var(--card2);border:2px solid var(--line);border-radius:12px;padding:15px 6px 8px;text-align:center}
.fr-steps i{position:absolute;top:-10px;left:50%;margin-left:-11px;width:22px;height:22px;box-sizing:border-box;border-radius:50%;background:var(--gold);color:#2a1d02;border:2px solid var(--line);font:400 12px/18px var(--fd)}
.fr-steps b{display:block;font-family:var(--fd);font-weight:400;font-size:14px;line-height:1.15}
.fr-steps span{display:block;font-size:11px;color:var(--mut);font-weight:700;line-height:1.25;margin-top:3px}
.fr-steps li+li::before{content:"";position:absolute;left:-10px;top:50%;margin-top:-5px;border:5px solid transparent;border-left-color:var(--gold)}
.fr-top>p{margin:0;font-size:12px}
/* Angebot an mich: Laden groß wie auf der Ladenseite, goldener Rand */
.card.fr-offer{padding:0;overflow:hidden;box-shadow:0 4px 0 var(--line),0 0 0 2.5px var(--gold),0 0 16px rgba(232,191,79,.28)}
.lbox.fr-front{padding:10px 12px 0;border-bottom:2px solid var(--line)}.fr-front .lfront{max-width:200px;margin:0 auto}
.fr-body{padding:10px 12px 12px}
.fr-name{display:block;font-family:var(--fd);font-weight:400;font-size:22px;line-height:1.15;margin:1px 0 8px}
.fr-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;margin-bottom:8px}.fr-facts.n3{grid-template-columns:repeat(3,minmax(0,1fr))}
.fr-facts>div{background:var(--card2);border:2px solid var(--line);border-radius:12px;padding:6px 6px 5px;min-width:0;text-align:center}
.fr-facts small{display:block;font-size:9.5px;color:var(--mut);font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.fr-facts b{display:block;font-family:var(--fd);font-weight:400;font-size:16px;line-height:1.25;overflow-wrap:anywhere}
.fr-body p{margin:0 0 8px;font-size:12px}.fr-body .notice{margin-bottom:8px;font-size:12.5px}.fr-body .notice .btn{display:block;margin-top:7px}
.fr-btns{display:grid;grid-template-columns:2fr 1fr;grid-gap:8px}.fr-btns .btn{padding:9px 4px;font-size:16px}
/* Mein Franchise-Laden (Zeile wie in der Ladenzeile) */
.fr-mine .lr-till b{color:var(--text);font-size:18px}
.fr-flag{color:var(--gold);font-weight:800}
/* Vergeben: Plätze, Ladentypen zum Antippen, Formular */
.fr-slots{display:flex;align-items:center;padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid var(--sep)}
.fr-slots .grow{flex:1;min-width:0}.fr-slots .grow b{font-family:var(--fd);font-weight:400;font-size:16px}.fr-slots .mute{font-size:11.5px}
.fr-slots .lpips{flex:none;margin:0 4px 0 8px}.fr-slots .lpips i{margin-bottom:0}
.fr-n{flex:none;font-family:var(--fd);font-weight:400;font-size:17px}
.fr-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;margin:6px 0 10px}
.fr-type{display:flex;flex-direction:column;min-width:0;padding:0 0 6px;background:var(--card2);border:2.5px solid var(--line);border-radius:12px;overflow:hidden;color:var(--text);cursor:pointer;font:inherit;text-align:center;
  box-shadow:0 3px 0 var(--line);transition:transform .12s}
.fr-type .lbox{padding:5px 6px 0;border-bottom:2px solid var(--line);margin-bottom:5px}
.fr-type b{display:flex;align-items:center;justify-content:center;min-height:2.3em;padding:0 3px;font-family:var(--fd);font-weight:400;font-size:12.5px;line-height:1.15}
.fr-type small{display:block;padding:0 3px;font-size:11px;font-weight:800;color:var(--gold)}
.fr-type.on{transform:translateY(-2px);box-shadow:0 5px 0 var(--line),0 0 0 2.5px var(--gold)}
.fr-type.no{opacity:.55;box-shadow:none}.fr-type.no small{color:var(--mut)}
.sub-box.fr-form{margin-top:0}.fr-form .field{margin:0 0 10px}.fr-form p{margin:0 0 10px;font-size:12px}.fr-form .btn.wide{padding:10px;font-size:16px}
.fr-give>p{margin:0;font-size:12px}
/* Verträge als Geber: kleine Front, Name, Balken mit Marke in der Mitte (Einsatz zurück) */
.card.fr-list{padding:2px 12px}
.fr-row{display:flex;align-items:flex-start;padding:10px 0;border-bottom:1.5px solid var(--sep)}.fr-row:last-child{border-bottom:0}
.fr-thumb{flex:none;width:66px;margin-right:10px;border:2px solid var(--line);border-radius:10px;overflow:hidden;background:#0b1124}.fr-thumb .lbox{padding:3px 4px 0}
.fr-main{flex:1;min-width:0}
.fr-line{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.fr-line b{min-width:0;margin-right:8px;font-family:var(--fd);font-weight:400;font-size:15px;line-height:1.2;overflow-wrap:anywhere}.fr-line .tag{flex:none}
.fr-who{padding:0;border:0;background:none;color:var(--cyan);font:inherit;cursor:pointer;text-decoration:underline;text-decoration-color:rgba(86,194,230,.45);text-underline-offset:2px}
.fr-bar{position:relative}.fr-bar i{position:absolute;left:50%;top:-3px;bottom:-3px;width:3px;margin-left:-1.5px;border-radius:2px;background:var(--gold);box-shadow:0 0 0 1px var(--line)}
.fr-main .bar-text{font-size:11.5px}.fr-main .bar-text span+span{text-align:right}
.fr-main small{display:block;font-size:11.5px;margin-top:2px}
.fr-act{margin-top:7px}
.fr-row.done{opacity:.85}
.fr-done .lz-tbar small{margin-left:8px}.fr-done .fr-rows{padding:0 12px;border-top:1px solid var(--sep)}
/* Vertrag auf der Ladenseite */
.fr-contract .fr-chead{display:flex;align-items:center;margin-bottom:9px}
.fr-ic{flex:none;width:40px;height:40px;margin-right:9px}.fr-ic svg{display:block;width:100%;height:100%}
.fr-chead .grow{flex:1;min-width:0}.fr-chead b{font-family:var(--fd);font-weight:400;font-size:16px}.fr-chead .tag{flex:none;margin-left:8px}
.fr-contract .bar-text span+span{text-align:right}.fr-contract>.mute{font-size:11.5px;margin-top:6px}
