/* Marko Lorenz Kundengalerie – gemeinsame Grundlage (Farben, Schrift, Knöpfe) */
:root{
  --bg:#f5f6f2; --surface:#ffffff; --sunk:#eceee8; --ink:#1c211b; --muted:#5d665a; --line:#dde1d7;
  --accent:#5AAE28; --accent-deep:#3f7f1a; --on-accent:#0f1f07;
  --c-green:#2f9e44; --c-yellow:#e0a800; --c-red:#d6453b; --c-blue:#2f6fd6; --heart:#e0475b;
  --stage:#0e100e; --stage-ink:#eef0ea; --stage-muted:#a2a99e; --stage-line:#2a2f29; --stage-panel:#161915;
  --display:"Cormorant Garamond","Iowan Old Style",Georgia,serif;
  --body:"Figtree","Segoe UI",system-ui,-apple-system,sans-serif;
  --r:6px; --tile:210px;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){:root{
  --bg:#111410; --surface:#191d18; --sunk:#20251f; --ink:#ebeee7; --muted:#a1a99d; --line:#2b3129;
  --accent:#6cc23a; --accent-deep:#8fd65f; --on-accent:#0c1806; color-scheme:dark }}

*{box-sizing:border-box}
html,body{height:100%;margin:0}
body{background:var(--bg);color:var(--ink);font-family:var(--body);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}
img{max-width:100%}
[hidden]{display:none!important}
button{font:inherit;color:inherit;cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
svg{width:18px;height:18px;flex:none}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.muted{color:var(--muted)}

.brand{display:flex;align-items:center;gap:10px;font-weight:600;font-size:14px;letter-spacing:.02em}
.brand-mark{width:30px;height:30px;border-radius:50%;background:var(--accent);display:grid;place-items:center;color:var(--on-accent);flex:none}
.brand-mark svg{width:17px;height:17px}
.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:12px;color:var(--muted);font-weight:600}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 15px;border-radius:var(--r);border:1px solid var(--line);background:var(--surface);font-weight:500;font-size:14px;white-space:nowrap;text-decoration:none;color:var(--ink);line-height:1.3}
.btn:hover{border-color:var(--muted)}
.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent);font-weight:600}
.btn.primary:hover{filter:brightness(1.06)}
.btn.danger{color:var(--c-red);border-color:color-mix(in srgb,var(--c-red) 40%,var(--line))}
.btn.danger.solid{background:var(--c-red);border-color:var(--c-red);color:#fff}
.btn.small{padding:6px 10px;font-size:13px}
.btn[aria-disabled="true"],.btn:disabled{opacity:.5;cursor:not-allowed}
.ib{border:0;background:none;width:32px;height:32px;border-radius:50%;display:inline-grid;place-items:center;color:var(--muted)}
.ib:hover{background:var(--sunk);color:var(--ink)}

label{font-size:13px;font-weight:600;display:flex;flex-direction:column;gap:6px}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),textarea,select{font:inherit;font-weight:400;font-size:15px;padding:10px 12px;border-radius:var(--r);border:1px solid var(--line);background:var(--bg);color:var(--ink);width:100%;min-width:0}
textarea{resize:vertical;min-height:90px}
.err{color:var(--c-red);font-size:14px;margin:0}
.sw{width:10px;height:10px;border-radius:50%;flex:none;display:inline-block}
.sw.green{background:var(--c-green)} .sw.yellow{background:var(--c-yellow)} .sw.red{background:var(--c-red)} .sw.blue{background:var(--c-blue)} .sw.none{border:1.5px solid var(--muted)}

.toast{position:fixed;left:50%;bottom:calc(20px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);background:var(--ink);color:var(--bg);padding:10px 16px;border-radius:var(--r);font-size:14px;z-index:90;max-width:calc(100% - 32px);text-align:center}
.modal{position:fixed;inset:0;z-index:70;background:rgba(10,12,10,.55);display:grid;place-items:center;padding:16px}
.modal .box{background:var(--surface);color:var(--ink);border-radius:10px;width:min(560px,100%);max-height:100%;overflow-y:auto;padding:24px;display:flex;flex-direction:column;gap:16px}
.modal h3{font-family:var(--display);font-size:30px;font-weight:600;margin:0;line-height:1.1}
.modal .row{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
