/* WWS RE Leuchtet v3.37.0 · Kunde (read-only) · Night Ops Glass */
.customer-portal{max-width:1250px;margin-inline:auto;padding-bottom:40px}
.customer-hero{position:relative;overflow:hidden;border-radius:24px;border:1px solid rgba(114,188,235,.25);background:radial-gradient(circle at 88% 10%,rgba(45,176,228,.23),transparent 39%),radial-gradient(circle at 5% 110%,rgba(217,55,98,.13),transparent 45%),linear-gradient(130deg,#101b2d,#17293a 72%,#102035);color:#f4faff;padding:clamp(22px,4vw,43px);box-shadow:0 20px 54px rgba(0,0,0,.2)}
.customer-hero h1{font-size:clamp(26px,4.3vw,43px);line-height:1.12;letter-spacing:-.04em;margin:10px 0 10px;color:#fff}
.customer-hero p{max-width:690px;color:#b9cddd;margin:0 0 20px;line-height:1.6}
.customer-eyebrow{font:800 11px/1.5 system-ui,sans-serif;letter-spacing:.15em;text-transform:uppercase;color:#67d3fc}
.customer-readonly{display:inline-flex;border:1px solid #4a7791;background:#163344;border-radius:999px;padding:8px 13px;color:#bfeeff;font-size:11px;font-weight:800;letter-spacing:.12em}
.customer-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:18px 0;padding:14px;border:1px solid var(--line,rgba(99,120,143,.26));border-radius:18px;background:var(--card,rgba(28,43,60,.72))}
.customer-toolbar label{font-size:12px;font-weight:800;min-width:150px;display:grid;gap:6px;color:var(--text,#edf4fb)}
.customer-toggle{display:flex;background:rgba(72,107,132,.16);border:1px solid rgba(94,130,152,.3);padding:4px;border-radius:12px;gap:4px;flex-wrap:wrap}
.customer-toggle button{border:0;border-radius:9px;padding:12px 15px;background:transparent;color:var(--text,#edf4fb);font-weight:750;cursor:pointer}
.customer-toggle button[aria-pressed=true]{color:#fff;background:#205d7d;box-shadow:inset 0 0 0 1px #348fb6}
.customer-toolbar .btn{min-height:42px}
.customer-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.customer-kpis article{border:1px solid rgba(93,144,181,.28);border-radius:17px;padding:21px 18px;background:linear-gradient(155deg,rgba(36,63,83,.92),rgba(20,32,49,.96));color:#fff;min-width:0}
.customer-kpis span,.customer-kpis small{display:block;color:#b5c9d8;font-size:12px;line-height:1.45}
.customer-kpis strong{display:block;color:#f8fcff;font-size:clamp(27px,3.2vw,43px);font-weight:850;font-variant-numeric:tabular-nums;line-height:1.5}
.customer-sites{margin-top:15px}
.customer-site-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.customer-site{padding:17px;border:1px solid rgba(100,139,171,.3);border-radius:16px;background:linear-gradient(145deg,rgba(56,82,104,.14),rgba(12,38,53,.05));min-width:0}
.customer-site-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.customer-site-heading strong{display:block;font-size:16px;line-height:1.4;color:var(--text,#f2f6fa)}
.customer-site-heading small{display:block;margin-top:5px;font-size:11px;color:var(--muted,#8aa0b4);line-height:1.4}
.customer-site-count{font-size:28px;font-weight:850;line-height:1.1;text-align:right;color:#36c7db;white-space:nowrap}
.customer-site-count small{font-size:10px;color:var(--muted,#9aabba);margin-top:5px}
.customer-site p{font-size:12px;line-height:1.4;margin:13px 0 0;color:var(--muted,#96aabd)}
.customer-photo-label{font-size:11px;font-weight:750;color:var(--text,#f2f5f9)}
.customer-gallery{margin-top:13px;padding-top:13px;border-top:1px solid rgba(130,150,164,.15);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.customer-gallery .btn{min-height:36px;white-space:normal;text-align:left}
.customer-no-photos{display:block;margin-top:14px;color:var(--muted,#8799a8);font-size:11px}
.customer-legal{margin:18px 3px;color:var(--muted,#9daebe);line-height:1.6;font-size:12px}
.customer-lightbox{position:fixed;inset:0;z-index:10002;background:rgba(4,12,22,.96);display:flex;align-items:center;justify-content:center;flex-direction:column;padding:24px;gap:15px;backdrop-filter:blur(9px)}
.customer-lightbox img{max-height:calc(100dvh - 110px);max-width:100%;object-fit:contain;border-radius:12px}
.customer-lightbox button{align-self:flex-end}
@media(max-width:850px){.customer-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-site-list{grid-template-columns:1fr}}
@media(max-width:520px){.customer-hero{border-radius:18px;padding:22px}.customer-toolbar{flex-direction:column;align-items:stretch}.customer-toggle{width:100%}.customer-toggle button{flex:1;padding:12px 7px;font-size:12px}.customer-toolbar label,.customer-toolbar .btn{width:100%}.customer-kpis{gap:8px}.customer-kpis article{padding:16px 12px}.customer-kpis span,.customer-kpis small{font-size:10px}.customer-site{padding:14px}.customer-site-heading strong{font-size:14px}}
/* Helle Darstellung bleibt zugänglich, ohne Glasflächen unlesbar zu machen. */
html[data-theme="light"] .customer-portal .customer-kpis article{background:linear-gradient(145deg,#19354a,#26475e)}
html[data-theme="light"] .customer-toolbar label,
html[data-theme="light"] .customer-toggle button:not([aria-pressed="true"]),
html[data-theme="light"] .customer-site-heading strong,
html[data-theme="light"] .customer-photo-label{color:#1c3044}
html[data-theme="light"] .customer-site p,
html[data-theme="light"] .customer-site-heading small,
html[data-theme="light"] .customer-site-count small,
html[data-theme="light"] .customer-no-photos{color:#506579}
html[data-theme="light"] .customer-toggle button[aria-pressed="true"]{color:#fff}
@media print{
 body{background:white!important;color:#171d27!important}
 .topbar,.customer-toolbar,.customer-lightbox,.foot,#rel-support-fab,#rel-special-reminder{display:none!important}
 .customer-portal{padding:0;max-width:none}
 .customer-hero{padding:12px 0;border:0;box-shadow:none;background:white!important;color:#172439!important}
 .customer-hero h1{color:#172439!important;font-size:26px}
 .customer-hero p,.customer-eyebrow,.customer-legal{color:#425568!important}
 .customer-kpis article{box-shadow:none;background:#eef4f9!important;color:#172439!important;border-color:#b8c8d2!important;break-inside:avoid}
 .customer-kpis article strong,.customer-kpis article span,.customer-kpis article small{color:#172439!important}
 .customer-site{background:#fff!important;break-inside:avoid;border-color:#ccd7df!important}
 .customer-site-heading strong,.customer-site p,.customer-photo-label{color:#172439!important}
 .customer-gallery button{display:none!important}
 .customer-sites{box-shadow:none!important;border:0!important;padding:0!important}
}
