.customer-body header .logout-button{margin-left:auto}.customer-hero{background:var(--ink);color:white;border-radius:14px;padding:30px;margin:24px 0}.customer-hero p{color:#c1cad6}.customer-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0}.customer-kpi{background:white;border:1px solid var(--line);border-radius:10px;padding:19px}.customer-kpi span,.customer-kpi small{display:block}.customer-kpi strong{display:block;font-size:28px}.customer-card{display:grid;grid-template-columns:1fr auto;gap:16px;padding:18px 0;border-top:1px solid var(--line);align-items:center}.customer-card p{margin:4px 0;color:var(--muted)}.customer-actions{display:flex;gap:8px;flex-wrap:wrap}.document-type{font-size:11px;letter-spacing:1px;color:var(--accent);font-weight:700}.weather{display:flex;align-items:center;gap:12px;background:#eef6fb;border-radius:8px;padding:12px 14px;margin:12px 0}.weather b{font-size:25px}.customer-report .photos img{width:150px;height:110px}.appointment-counter{border-left:3px solid #d97706;padding-left:12px}.customer-empty{text-align:center;color:var(--muted);padding:35px}.customer-body dialog input[type=date],.customer-body dialog input[type=time]{width:100%;border:1px solid #cbd5e1;border-radius:6px;padding:12px}.logout-button{border:0;background:transparent;color:var(--accent);min-height:40px}.customer-body #toast{bottom:28px}
@media(max-width:680px){.customer-kpis{grid-template-columns:1fr}.customer-card{grid-template-columns:1fr}.customer-actions button{flex:1}.customer-report .photos img{width:calc(50% - 5px);height:120px}.customer-body nav{grid-template-columns:repeat(4,1fr)}.customer-body header .logout-button{font-size:0}.customer-body header .logout-button:after{content:'Abmelden';font-size:11px}}
.appointment-choice-card{align-items:start}.customer-appointment-options{display:grid;gap:8px;margin-top:14px}.customer-appointment-options>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}.customer-appointment-options span,.customer-appointment-options b{display:block}.customer-appointment-options span{font-size:13px}.customer-appointment-options button{min-height:40px;padding:8px 12px}.appointment-customer-state{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.appointment-office-note{padding:10px 12px;border-left:3px solid #2875ba;background:#eef6fb}.appointment-counter.rejected{border-left-color:#b42318;background:#fff1f1;padding:10px 12px}
@media(max-width:760px){.customer-appointment-options>div{align-items:stretch;flex-direction:column}.customer-appointment-options button{width:100%}.appointment-customer-state{align-items:flex-start}}

.counter-proposal-button{
  width:100%;
  min-height:44px;
  padding:10px 14px;
  border:1px solid #e5222a;
  border-radius:9px;
  background:linear-gradient(145deg,#fff8f8,#ffe8e9);
  color:#d9232a;
  font-weight:750;
  box-shadow:0 5px 14px rgba(227,35,42,.12),inset 0 1px 0 #fff;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease;
}
.counter-proposal-button:hover{
  transform:translateY(-1px);
  background:linear-gradient(105deg,#d9232a,#ee343a);
  color:#fff;
  border-color:#d9232a;
  box-shadow:0 8px 18px rgba(227,35,42,.22);
}
.counter-proposal-button:focus-visible{
  outline:3px solid rgba(227,35,42,.24);
  outline-offset:2px;
}
.next-appointment-kpi strong{font-size:21px;line-height:1.25;margin:5px 0}.calendar-actions{display:grid;gap:9px;margin-top:15px}.calendar-button{display:flex;align-items:center;gap:10px;min-height:54px;padding:8px 11px;border-radius:11px;border:1px solid #d5dce5;background:linear-gradient(145deg,#fff,#f6f8fb);color:var(--ink);text-align:left;cursor:pointer;box-shadow:0 5px 13px rgba(15,23,42,.09),inset 0 1px 0 #fff;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.calendar-button span:last-child{display:grid;gap:1px}.calendar-button b{font-size:13px;line-height:1.2}.calendar-button small{font-size:10px;color:#687386;font-weight:600}.calendar-provider-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;filter:drop-shadow(0 3px 4px rgba(15,23,42,.16))}.calendar-provider-icon svg{width:100%;height:100%;display:block}.calendar-button:hover{transform:translateY(-2px);box-shadow:0 9px 19px rgba(15,23,42,.15)}.apple-calendar{border-color:#bcc3cc}.google-calendar{border-color:#bdd4fb}.apple-calendar:hover{border-color:#111827}.google-calendar:hover{border-color:#4285f4}.calendar-button:focus-visible{outline:3px solid rgba(40,117,186,.22);outline-offset:2px}
@media(max-width:760px){.calendar-actions{display:grid;grid-template-columns:1fr 1fr}.calendar-button{width:100%}}

/* Einheitliche moderne Kundenbereiche */
.customer-kpis{gap:13px}.customer-kpi{position:relative;overflow:hidden;border:1px solid #dce4ea;border-radius:15px;padding:20px;background:linear-gradient(145deg,#fff,#f8fafb);box-shadow:0 9px 24px rgba(16,37,54,.075)}.customer-kpi:after{content:'';position:absolute;inset:auto 0 0;height:4px;background:linear-gradient(90deg,#e3232a,#ff696f)}.customer-kpi:nth-child(2):after{background:linear-gradient(90deg,#2875ba,#59a6df)}.customer-kpi:nth-child(3):after{background:linear-gradient(90deg,#188c83,#48baad)}.customer-kpi strong{color:#132838}.next-appointment-kpi{background:linear-gradient(145deg,#fff,#f2f8fc)}
.customer-card{margin:9px 0;padding:16px;border:1px solid #e1e7ec;border-radius:12px;background:linear-gradient(145deg,#fff,#f8fafb);box-shadow:0 6px 17px rgba(16,37,54,.055)}.customer-card:first-of-type{border-top:1px solid #e1e7ec}.customer-card:hover{border-color:#cbd8e1;box-shadow:0 10px 22px rgba(16,37,54,.085)}
.customer-actions button{border-radius:9px}.weather{border:1px solid #cde2ee;border-radius:11px;background:linear-gradient(145deg,#eaf6fc,#f8fcfe)}.customer-report{overflow:hidden}.customer-report:before{content:'';position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#188c83,#4ab9ad)}
.customer-appointment-options>div{border-color:#dce4ea;border-radius:11px;background:linear-gradient(145deg,#fff,#f5f8fa);box-shadow:0 5px 14px rgba(16,37,54,.045)}.appointment-office-note{border-radius:9px;background:linear-gradient(145deg,#eaf5fb,#f7fbfd)}.appointment-counter{border-radius:9px;background:#fff9ed;padding:11px 13px}
.customer-empty{border:1px dashed #cbd6df;border-radius:13px;background:#f8fafb}.document-type{display:inline-flex;padding:4px 7px;border-radius:999px;background:#fff1f1;color:#d52029}
@media(max-width:680px){.customer-kpi{padding:16px}.customer-card{padding:14px}.customer-kpis{gap:9px}}

/* Laufendes Projekt und klickbare Fotodokumentation */
.project-overview-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;margin:20px 0 28px;padding:27px 30px;border-radius:17px;background:radial-gradient(circle at 77% 15%,#386078 0,transparent 27%),linear-gradient(125deg,#102433,#19384b);color:#fff;box-shadow:0 16px 36px rgba(16,37,54,.2)}.project-overview-hero:after{content:'';position:absolute;right:-60px;bottom:-95px;width:270px;height:190px;border:28px solid rgba(255,255,255,.045);border-radius:45px;transform:rotate(-18deg)}.project-overview-hero>div{position:relative;z-index:1}.project-overview-hero>div:first-child>span{color:#ff9ca1;font-size:10px;font-weight:850;letter-spacing:1.4px}.project-overview-hero h1{margin:7px 0 3px;color:#fff}.project-overview-hero p{margin:0;color:#d4dfe6}.project-progress-ring{display:flex;align-items:center;gap:10px;min-width:180px;padding-left:22px;border-left:1px solid rgba(255,255,255,.25)}.project-progress-ring strong{display:grid;place-items:center;width:58px;height:58px;border:5px solid #39b6a8;border-radius:50%;background:#ffffff0b;font-size:24px}.project-progress-ring span{font-size:12px;color:#dce5ea}.project-history-title{margin-bottom:17px}
.project-timeline{position:relative;display:grid;gap:17px;padding-left:32px}.project-timeline:before{content:'';position:absolute;left:14px;top:20px;bottom:20px;width:2px;background:linear-gradient(#e3232a,#2c83bd,#2ba295)}.project-day-card{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr);gap:18px;padding:20px;border:1px solid #dce4ea;border-radius:16px;background:linear-gradient(145deg,#fff,#f8fafb);box-shadow:0 10px 27px rgba(16,37,54,.075)}.project-day-card:before{content:'';position:absolute;left:-25px;top:30px;width:13px;height:13px;border:4px solid #fff;border-radius:50%;background:#e3232a;box-shadow:0 0 0 2px #e3232a}.project-day-marker{display:flex;flex-direction:column;align-items:center;justify-content:center;width:60px;height:66px;border-radius:14px;background:linear-gradient(145deg,#e3232a,#ff4d54);color:#fff;box-shadow:0 8px 18px rgba(227,35,42,.24)}.project-day-marker span{font-size:9px;font-weight:800;letter-spacing:1px}.project-day-marker strong{font-size:25px;line-height:1.1}.project-day-content{min-width:0}.project-day-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:14px;border-bottom:1px solid #e7ecef}.project-day-head small{font-weight:750;color:#e3232a}.project-day-head h2{margin:3px 0}.project-day-weather{display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid #cde2ee;border-radius:11px;background:#eef8fc}.project-day-weather>b{font-size:25px}.project-day-weather span,.project-day-weather strong,.project-day-weather small{display:block}.project-day-weather strong{font-size:12px}.project-day-weather small{font-size:10px}.project-day-report{padding:15px 0 8px}.project-day-report p{margin:8px 0}.project-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;margin:8px 0}.customer-photo-button{overflow:hidden;min-height:112px;height:112px;padding:0;border:0;border-radius:11px;background:#e8edf1;box-shadow:0 6px 14px rgba(16,37,54,.1)}.customer-photo-button img{width:100%!important;height:100%!important;object-fit:cover;transition:transform .22s ease}.customer-photo-button:hover img{transform:scale(1.04)}.customer-photo-lightbox img{display:block;max-width:100%;max-height:70vh;margin:auto;border-radius:12px}.customer-photo-lightbox p{text-align:center;color:var(--muted)}
@media(max-width:680px){.customer-body nav{grid-template-columns:repeat(5,1fr)}.project-overview-hero{align-items:flex-start;flex-direction:column;padding:23px 21px}.project-progress-ring{min-width:0;padding:15px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.2)}.project-timeline{padding-left:17px}.project-day-card{grid-template-columns:1fr;padding:16px}.project-day-card:before{left:-11px}.project-day-marker{width:54px;height:54px}.project-day-head{flex-direction:column}.project-day-weather{width:100%}.project-photo-grid{grid-template-columns:1fr 1fr}.customer-photo-button{height:100px;min-height:100px}}
