
/* ===== styles.css ===== */
:root{
  --bg:#f7f7f4;
  --paper:#fff;
  --ink:#101010;
  --muted:#686868;
  --line:#e7e5df;
  --dark:#0c0d0d;
  --gold:#c79116;
  --gold2:#e1ad2e;
  --danger:#b42318;
  --success:#137333;
  --radius:24px;
  --shadow:0 20px 60px rgba(0,0,0,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,sans-serif;background:var(--bg);color:var(--ink)}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.site-header{height:76px;display:flex;align-items:center;gap:28px;padding:0 max(24px,calc((100vw - 1180px)/2));background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.brand{display:inline-flex;flex-direction:column;line-height:.85;min-width:82px}
.brand-main{font-family:Montserrat,sans-serif;font-weight:800;font-size:30px;letter-spacing:.04em}
.brand-sub{font-family:Montserrat,sans-serif;font-weight:800;font-size:11px;color:var(--gold);letter-spacing:.34em;padding-left:2px;margin-top:7px}
.desktop-nav{display:flex;gap:30px;margin-left:auto;font-size:14px;font-weight:600}
.desktop-nav a:hover{color:var(--gold)}
.header-cta{margin-left:18px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:12px;padding:13px 20px;font-weight:700;transition:.2s}
.btn:hover{transform:translateY(-1px)}
.btn-gold{background:linear-gradient(135deg,var(--gold2),var(--gold));color:#fff;box-shadow:0 8px 24px rgba(199,145,22,.22)}
.btn-dark{background:#111;color:#fff}
.btn-light{background:#fff;border:1px solid #d8d6d0;color:#111}
.btn-danger{background:#fff1f0;color:var(--danger);border:1px solid #fecaca}
.btn-sm{padding:9px 12px;border-radius:10px;font-size:13px}
.hero{background:radial-gradient(circle at 75% 30%,#383838 0,#171818 25%,#090a0a 70%);color:white;overflow:hidden}
.hero-inner{max-width:1180px;margin:auto;min-height:540px;padding:76px 24px;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:54px}
.eyebrow{color:#e8b63b;font-weight:800;font-size:13px;letter-spacing:.12em;text-transform:uppercase}
.hero h1{font-family:Montserrat,sans-serif;font-size:clamp(42px,5vw,70px);line-height:1.02;margin:18px 0 22px;letter-spacing:-.04em}
.hero p{color:#d0d0d0;font-size:19px;line-height:1.7;max-width:640px}
.hero-actions{display:flex;gap:14px;margin-top:30px;flex-wrap:wrap}
.psm-brand-meaning{margin-top:24px;padding-top:15px;border-top:1px solid rgba(232,182,59,.22);max-width:640px;color:#aeb0b2;display:flex;flex-direction:column;gap:4px;font-size:12px;line-height:1.5;letter-spacing:.015em}
.psm-brand-meaning span{color:#c9cacc}
.psm-brand-meaning strong{color:#e8b63b;font-weight:800;letter-spacing:.08em}
.psm-brand-meaning small{font-size:11px;color:#8f9295}
.feature-row{display:flex;gap:28px;margin-top:48px;flex-wrap:wrap}
.mini-feature{display:flex;gap:11px;align-items:flex-start;color:#e9e9e9;font-size:13px}
.mini-feature b{display:block;color:#fff;margin-bottom:4px}
.icon-dot{width:36px;height:36px;border:1px solid #ba8b26;color:#e9b83f;border-radius:12px;display:grid;place-items:center;font-weight:800}
.hero-visual{position:relative;height:390px}
.phone{width:210px;height:390px;border-radius:38px;background:#050505;border:6px solid #262626;box-shadow:var(--shadow);position:absolute;right:30px;top:0;padding:28px 14px;color:#fff}
.phone-notch{width:82px;height:20px;background:#151515;border-radius:0 0 14px 14px;margin:-28px auto 25px}
.avatar{width:62px;height:62px;border-radius:50%;background:#e9e9e9;color:#111;display:grid;place-items:center;font-size:26px;margin:10px auto}
.phone-name{text-align:center;font-weight:700}
.phone-role{text-align:center;color:#aaa;font-size:11px;margin:4px 0 20px}
.phone-link{background:#111;border:1px solid #1f1f1f;padding:10px 12px;border-radius:10px;margin:8px 0;font-size:12px}
.nfc-card{position:absolute;width:285px;height:178px;border-radius:20px;padding:24px;box-shadow:0 25px 55px rgba(0,0,0,.35);display:flex;flex-direction:column;justify-content:flex-end}
.nfc-card.black{left:2px;top:38px;background:linear-gradient(135deg,#2b2b2b,#050505);transform:rotate(-7deg);color:#fff}
.nfc-card.white{left:50px;top:205px;background:linear-gradient(135deg,#fff,#dedede);transform:rotate(-7deg);color:#111}
.card-logo{font-family:Montserrat;font-weight:800;font-size:31px;letter-spacing:.03em}
.card-logo small{display:block;color:var(--gold);font-size:9px;letter-spacing:.35em;margin-left:2px}
.section{max-width:1180px;margin:auto;padding:86px 24px}
.section-title{text-align:center;margin-bottom:36px}
.section-title h2{font-family:Montserrat;margin:8px 0 10px;font-size:38px;letter-spacing:-.03em}
.section-title p{color:var(--muted);margin:0}
.product-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.product{background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;display:grid;grid-template-columns:210px 1fr;gap:24px;align-items:center;box-shadow:0 10px 30px rgba(0,0,0,.04)}
.product-card-preview{height:132px;border-radius:15px;display:flex;align-items:flex-end;padding:20px;transform:rotate(-4deg);box-shadow:0 16px 30px rgba(0,0,0,.16)}
.product-card-preview.black{background:#0d0d0e;color:white}
.product-card-preview.white{background:#eee;color:#111;border:1px solid #ddd}
.product h3{margin:0;font-size:20px}
.price{font-family:Montserrat;font-size:30px;font-weight:800;margin:6px 0 14px}
.checks{list-style:none;padding:0;margin:0 0 18px;color:#585858;font-size:13px;line-height:1.8}
.checks li:before{content:"✓";color:var(--gold);font-weight:800;margin-right:8px}
.steps{background:#efefec}
.step-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.step{background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px}
.step-num{width:42px;height:42px;border-radius:14px;background:#111;color:#fff;display:grid;place-items:center;font-weight:800;margin-bottom:18px}
.step h3{margin:0 0 10px}
.step p{color:var(--muted);line-height:1.65;font-size:14px}
.contact-wrap{display:grid;grid-template-columns:.8fr 1.2fr;gap:44px;align-items:start}
.contact-copy h2{font-family:Montserrat;font-size:40px;margin:10px 0 16px}
.contact-copy p{color:var(--muted);line-height:1.7}
.form-card,.admin-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:0 10px 35px rgba(0,0,0,.04)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{display:flex;flex-direction:column;gap:7px}
.field.full{grid-column:1/-1}
label{font-size:13px;font-weight:700}
input,select,textarea{width:100%;border:1px solid #d9d7d0;background:#fff;border-radius:12px;padding:12px 13px;outline:none}
input:focus,select:focus,textarea:focus{border-color:#c28d18;box-shadow:0 0 0 3px rgba(194,141,24,.12)}
textarea{min-height:100px;resize:vertical}
.color-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.color-option input{display:none}
.color-option label{border:2px solid var(--line);border-radius:15px;padding:16px;display:flex;align-items:center;gap:12px;cursor:pointer}
.color-option input:checked+label{border-color:var(--gold);background:#fffaf0}
.swatch{width:34px;height:23px;border-radius:7px;border:1px solid #d0d0d0}
.swatch.black{background:#111}
.swatch.white{background:#fff}
.note{font-size:12px;color:#777}
.toast{position:fixed;right:24px;top:92px;background:#111;color:#fff;padding:14px 18px;border-radius:12px;z-index:100;opacity:0;transform:translateY(-10px);pointer-events:none;transition:.2s;max-width:330px}
.toast.show{opacity:1;transform:translateY(0)}
.toast.error{background:#7f1d1d}
.footer{max-width:1180px;margin:auto;padding:40px 24px 56px;display:flex;justify-content:space-between;gap:30px;color:#676767;border-top:1px solid var(--line)}
.brand-footer .brand-main{color:#111}
.footer-links{display:flex;gap:20px;align-items:flex-start}
.admin-shell{max-width:1180px;margin:auto;padding:54px 24px 90px}
.admin-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.admin-top h1{font-family:Montserrat;margin:0}
.tabs{display:flex;gap:9px;margin-bottom:22px;flex-wrap:wrap}
.tab{border:1px solid var(--line);background:#fff;padding:10px 14px;border-radius:11px;font-weight:700}
.tab.active{background:#111;color:#fff}
.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.item{border:1px solid var(--line);background:#fff;border-radius:16px;padding:17px}
.item-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.item h3{margin:0 0 5px}
.item-meta{color:#777;font-size:12px;line-height:1.6}
.item-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.empty{text-align:center;color:#777;padding:55px 15px}
.login-wrap{max-width:480px;margin:70px auto;padding:0 20px}
.login-wrap h1{font-family:Montserrat;margin-bottom:6px}
.login-wrap .sub{color:#777;margin-bottom:24px}
.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:80;display:grid;place-items:center;padding:20px}
.modal{background:#fff;border-radius:24px;width:min(780px,100%);max-height:90vh;overflow:auto;padding:26px}
.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.modal-head h2{margin:0}
.close{border:0;background:#f0f0ed;width:38px;height:38px;border-radius:11px}
.profile-page{min-height:calc(100vh - 76px);background:linear-gradient(180deg,#121313 0,#202020 45%,#ecece8 45%,#ecece8 100%);padding:52px 20px 90px}
.profile-card{max-width:520px;margin:auto;background:#fff;border-radius:30px;box-shadow:var(--shadow);overflow:hidden}
.profile-cover{height:168px;background:linear-gradient(135deg,#131313,#363636);position:relative}
.profile-cover.white-card{background:linear-gradient(135deg,#f7f7f7,#d8d8d8)}
.profile-avatar{width:108px;height:108px;border-radius:50%;background:#eee;border:6px solid #fff;position:absolute;left:50%;bottom:-54px;transform:translateX(-50%);overflow:hidden;display:grid;place-items:center;font-size:38px}
.profile-avatar img{width:100%;height:100%;object-fit:cover}
.profile-body{padding:72px 24px 28px;text-align:center}
.profile-body h1{margin:0 0 7px;font-family:Montserrat;font-size:30px}
.profile-company{color:#777;margin-bottom:14px}
.profile-bio{color:#555;line-height:1.55;font-size:14px}
.profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0}
.profile-actions a,.profile-actions button{border:1px solid var(--line);background:#fafafa;border-radius:13px;padding:13px 10px;font-weight:700;font-size:13px}
.profile-actions .primary{grid-column:1/-1;background:#111;color:#fff}
.profile-socials{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:16px}
.profile-socials a{padding:8px 10px;background:#f2f2ef;border-radius:10px;font-size:12px;font-weight:700}
.profile-brand{margin-top:30px;color:#999;font-size:11px}
.badge{display:inline-block;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:800;background:#f2f2ef}
.badge.green{background:#e9f7ed;color:#176b36}
.badge.gold{background:#fff5d9;color:#8a5a00}
@media(max-width:900px){
  .desktop-nav{display:none}.header-cta{margin-left:auto}
  .hero-inner{grid-template-columns:1fr;padding-top:54px}
  .hero-visual{height:330px;max-width:520px;width:100%;margin:auto}
  .phone{height:330px;width:178px}.nfc-card{width:240px;height:150px}.nfc-card.white{top:175px}
  .product-grid,.contact-wrap,.admin-grid{grid-template-columns:1fr}
  .product{grid-template-columns:180px 1fr}
}
@media(max-width:620px){
  .site-header{padding:0 16px;height:68px}.brand-main{font-size:25px}.header-cta{padding:10px 12px;font-size:12px}
  .hero-inner{padding:46px 18px}.hero h1{font-size:42px}.hero p{font-size:16px}
  .hero-visual{height:285px}.phone{right:2px;height:285px;width:155px;padding:22px 10px}.phone-link{padding:7px;font-size:10px}
  .nfc-card{width:205px;height:128px;padding:16px}.nfc-card.white{left:20px;top:150px}.card-logo{font-size:25px}
  .section{padding:62px 18px}.section-title h2{font-size:30px}
  .product{grid-template-columns:1fr}.product-card-preview{max-width:260px;width:100%}
  .step-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}
  .color-options{grid-template-columns:1fr 1fr}
  .footer{flex-direction:column;padding-inline:18px}
  .profile-actions{grid-template-columns:1fr}.profile-actions .primary{grid-column:auto}
}


/* PSM Info-Ticker unter dem Hauptmenü */
.psm-info-ticker{display:none;overflow:hidden;background:#111214;border-bottom:1px solid rgba(210,166,45,.55);color:#f6f1e6;min-height:38px;box-shadow:0 5px 18px rgba(0,0,0,.06);position:sticky;top:76px;z-index:19}
body.p8-home-page .psm-info-ticker{display:block}
.psm-info-ticker-track{display:flex;width:max-content;will-change:transform;animation:psmTickerScroll var(--psm-ticker-duration,28s) linear infinite}
.psm-info-ticker-group{display:flex;align-items:center;flex:0 0 auto;min-height:38px;white-space:nowrap}
.psm-info-ticker-item{display:inline-flex;align-items:center;gap:7px;padding:0 18px;font-size:.78rem;font-weight:650;letter-spacing:.01em}
.psm-info-ticker-item b{color:#d9b34a;font-size:.69rem;letter-spacing:.12em}
.psm-info-ticker-sep{color:#d9b34a;font-size:.56rem;opacity:.9;padding:0 3px}
@keyframes psmTickerScroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:760px){
  .psm-info-ticker{min-height:35px}
  .psm-info-ticker-group{min-height:35px}
  .psm-info-ticker-item{font-size:.72rem;padding:0 13px}
}
@media(max-width:620px){
  .psm-info-ticker{top:68px}
}
@media(prefers-reduced-motion:reduce){
  .psm-info-ticker-track{animation:none}
  .psm-info-ticker{overflow-x:auto}
}


/* Dezenter Social-Link im Footer */
.footer-right{display:flex;flex-direction:column;align-items:flex-end;gap:14px}
.footer-social{display:inline-flex;align-items:center;gap:8px;color:#777;text-decoration:none;font-size:.82rem;font-weight:700;padding:7px 10px;border-radius:999px;transition:.18s ease}
.footer-social:hover{color:#111;background:#f7f3ea}
.footer-social-icon{width:24px;height:24px;border:1px solid #d8c58f;border-radius:8px;display:grid;place-items:center;color:#b68b24}
.footer-social-icon svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}
@media(max-width:760px){
  .footer-right{align-items:flex-start;width:100%}
  .footer-social{padding-left:0}
}



/* ===== phase1.css ===== */
/* Phase 1: multilingual cards, modular profile layout and admin controls */
.profile-page{--profile-accent:#cfa64a;--profile-hero:#111214}
.profile-cover{background:linear-gradient(135deg,var(--profile-hero),#363636)}
.profile-card-v2{position:relative}
.lang-switch{position:absolute;top:16px;right:16px;display:flex;gap:4px;padding:4px;background:rgba(0,0,0,.28);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.15);border-radius:999px;z-index:3}
.lang-switch button{border:0;background:transparent;color:rgba(255,255,255,.72);font-size:10px;font-weight:800;letter-spacing:.04em;border-radius:999px;padding:7px 9px}
.lang-switch button.active{background:var(--profile-accent);color:#111}
.profile-cover.white-card .lang-switch{background:rgba(255,255,255,.66);border-color:rgba(0,0,0,.08)}
.profile-cover.white-card .lang-switch button{color:#555}
.profile-cover.white-card .lang-switch button.active{color:#111}
.profile-header-logo{position:absolute;left:18px;top:18px;max-width:128px;max-height:54px;object-fit:contain;object-position:left center;filter:drop-shadow(0 3px 12px rgba(0,0,0,.22))}
.profile-modules{margin-top:22px;text-align:left}
.profile-module{margin-top:12px}
.profile-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.profile-action-grid a,.profile-action-grid button{border:1px solid var(--line);background:#fafafa;color:#111;border-radius:13px;padding:13px 10px;font-weight:700;font-size:13px;text-align:center}
.profile-main-action{width:100%;border:0;border-radius:14px;padding:15px 14px;background:#111;color:#fff;font-weight:800;font-size:14px;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.profile-main-action.secondary{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--profile-accent),#b98515);color:#111}
.profile-feature-link{display:grid;grid-template-columns:30px 1fr 18px;gap:10px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:15px;padding:14px 15px;box-shadow:0 5px 18px rgba(0,0,0,.035)}
.profile-feature-link>span:first-child{width:30px;height:30px;border-radius:10px;background:#fff6da;color:#8a5a00;display:grid;place-items:center;font-weight:900}
.profile-feature-link strong{display:block;font-size:13px}
.profile-feature-link small{display:block;margin-top:3px;color:#777;font-size:11px;font-weight:500;line-height:1.35}
.profile-section{border:1px solid var(--line);background:#fff;border-radius:16px;padding:17px}
.profile-section h2,.profile-module>h2{font-size:13px;margin:0 0 11px;color:#555;text-transform:uppercase;letter-spacing:.08em}
.profile-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.profile-list li{position:relative;padding:10px 12px 10px 32px;background:#f7f7f4;border-radius:11px;font-size:13px;line-height:1.4}
.profile-list li:before{content:"✓";position:absolute;left:12px;color:var(--profile-accent);font-weight:900}
.opening-grid{display:grid;gap:8px}
.opening-grid div{display:flex;justify-content:space-between;gap:16px;padding-bottom:8px;border-bottom:1px solid #f0eee8;font-size:12px}
.opening-grid div:last-child{padding-bottom:0;border-bottom:0}
.opening-grid span{color:#777}
.profile-stack-links{display:grid;gap:8px}
.profile-stack-links a{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#f7f7f4;border-radius:11px;padding:11px 12px;font-size:13px;font-weight:700}
.share-grid button{cursor:pointer}
.form-section-title{margin-top:8px;padding-top:18px;border-top:1px solid var(--line)}
.form-section-title h3{margin:0 0 5px;font-family:Montserrat,sans-serif;font-size:18px}
.form-section-title p{margin:0;color:#777;font-size:12px;line-height:1.5}
.module-editor{display:grid;gap:8px}
.module-row{display:grid;grid-template-columns:1fr 82px;gap:12px;align-items:center;border:1px solid var(--line);background:#fafafa;border-radius:12px;padding:10px 12px}
.module-row label{display:flex;align-items:center;gap:10px;cursor:pointer}
.module-row label input{width:auto;margin:0}
.module-row>input{padding:8px 9px;text-align:center}
.modal-wide{width:min(900px,100%)}
@media(max-width:620px){.profile-action-grid{grid-template-columns:1fr 1fr}.share-grid{grid-template-columns:1fr}.lang-switch{top:12px;right:12px}.profile-header-logo{left:14px;top:14px;max-width:100px;max-height:42px}.module-row{grid-template-columns:1fr 70px}}



/* ===== phase2.css ===== */
/* Phase 2 — Elegant Dark premium profile + admin live preview */
:root{--p2-gold:#cfa64a;--p2-gold-bright:#edc76b;--p2-dark:#0c0d0f;--p2-panel:#141619;--p2-panel2:#1a1d20;--p2-line:rgba(255,255,255,.09);--p2-text:#f7f4ed;--p2-muted:#a7a9ad}
body.psm-profile-view{background:#08090a;color:var(--p2-text)}
body.psm-profile-view .site-header,body.psm-profile-view .footer{display:none}
body.psm-profile-view #app{min-height:100vh}
body.psm-profile-view .profile-page{min-height:100vh;padding:34px 16px 56px;background:radial-gradient(circle at 50% -10%,#32302a 0,#151618 27%,#090a0b 66%,#060708 100%);display:flex;align-items:flex-start;justify-content:center}
body.psm-profile-view .profile-card{width:min(100%,540px);max-width:540px;margin:0;background:linear-gradient(180deg,#121416,#0d0f11);color:var(--p2-text);border:1px solid rgba(255,255,255,.08);border-radius:32px;box-shadow:0 30px 90px rgba(0,0,0,.52),0 0 0 1px rgba(207,166,74,.035);overflow:hidden}
body.psm-profile-view .profile-card-v2{isolation:isolate;animation:p2CardIn .42s ease-out both}
body.psm-profile-view .profile-cover{height:220px;background:linear-gradient(135deg,var(--profile-hero,#111214),#2a2d2f);overflow:visible;position:relative}
body.psm-profile-view .profile-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,5,6,.08),rgba(4,5,6,.22) 50%,rgba(4,5,6,.72));z-index:1;pointer-events:none}
body.psm-profile-view .profile-header-logo{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center;filter:none;z-index:0;opacity:.92}
body.psm-profile-view .profile-avatar{width:118px;height:118px;bottom:-59px;z-index:4;background:#17191c;color:#fff;border:4px solid #0e1012;box-shadow:0 12px 36px rgba(0,0,0,.5),0 0 0 1px rgba(207,166,74,.38);font-family:Montserrat,sans-serif;font-weight:800}
body.psm-profile-view .profile-avatar img{background:#151719}
body.psm-profile-view .lang-switch{top:16px;right:16px;z-index:5;background:rgba(8,9,10,.62);border-color:rgba(255,255,255,.11);box-shadow:0 8px 24px rgba(0,0,0,.22)}
body.psm-profile-view .lang-switch button{color:#c7c8ca;padding:7px 10px;transition:.18s ease}
body.psm-profile-view .lang-switch button:hover{color:#fff}
body.psm-profile-view .lang-switch button.active{background:var(--profile-accent,#cfa64a);color:#17130b;box-shadow:0 4px 14px rgba(207,166,74,.24)}
body.psm-profile-view .profile-body{padding:82px 24px 30px;text-align:center;background:linear-gradient(180deg,#121416,#0d0f11)}
body.psm-profile-view .profile-body h1{font-family:Montserrat,sans-serif;font-size:clamp(27px,7vw,34px);letter-spacing:-.035em;color:#fff;margin-bottom:7px}
body.psm-profile-view .profile-company{color:var(--profile-accent,#cfa64a);font-size:13px;font-weight:700;letter-spacing:.015em;margin-bottom:15px}
body.psm-profile-view .profile-bio{max-width:430px;margin:0 auto;color:#b7b9bc;font-size:14px;line-height:1.65}
body.psm-profile-view .profile-modules{margin-top:25px;text-align:left;display:grid;gap:11px}
body.psm-profile-view .profile-module{margin:0;animation:p2ModuleIn .35s ease-out both}
body.psm-profile-view .profile-action-grid{gap:9px}
body.psm-profile-view .profile-action-grid a,body.psm-profile-view .profile-action-grid button{min-height:48px;background:#17191c;color:#f1f2f3;border:1px solid var(--p2-line);border-radius:14px;font-size:12px;font-weight:700;transition:.18s ease}
body.psm-profile-view .profile-action-grid a:hover,body.psm-profile-view .profile-action-grid button:hover{border-color:rgba(207,166,74,.42);background:#1c1f22;transform:translateY(-1px)}
body.psm-profile-view .profile-main-action{min-height:54px;border-radius:15px;border:1px solid rgba(255,255,255,.1);background:linear-gradient(135deg,var(--profile-accent,#cfa64a),#b58420);color:#17130b;font-size:14px;font-weight:850;letter-spacing:.01em;box-shadow:0 12px 30px rgba(0,0,0,.24),0 8px 28px color-mix(in srgb,var(--profile-accent,#cfa64a) 18%,transparent);transition:.18s ease}
body.psm-profile-view .profile-main-action:hover{transform:translateY(-1px);filter:brightness(1.04)}
body.psm-profile-view .profile-main-action.secondary{background:#181b1e;color:#fff;border:1px solid rgba(207,166,74,.38);box-shadow:none}
body.psm-profile-view .profile-feature-link{min-height:62px;grid-template-columns:36px 1fr 18px;gap:11px;background:#15181a;color:#f5f5f5;border:1px solid var(--p2-line);border-radius:16px;padding:13px 14px;box-shadow:none;transition:.18s ease}
body.psm-profile-view .profile-feature-link:hover{background:#1a1d20;border-color:rgba(207,166,74,.34);transform:translateY(-1px)}
body.psm-profile-view .profile-feature-link>span:first-child{width:36px;height:36px;border-radius:11px;background:rgba(207,166,74,.12);color:var(--profile-accent,#cfa64a)}
body.psm-profile-view .profile-feature-link strong{font-size:13px;color:#fff}
body.psm-profile-view .profile-feature-link small{color:#96999d;font-size:11px;white-space:normal;overflow-wrap:anywhere}
body.psm-profile-view .profile-section{background:#131619;border:1px solid var(--p2-line);border-radius:17px;padding:17px}
body.psm-profile-view .profile-section h2,body.psm-profile-view .profile-module>h2{color:#8f9296;font-size:11px;letter-spacing:.12em;margin-bottom:12px}
body.psm-profile-view .profile-list{gap:7px}
body.psm-profile-view .profile-list li{background:#191c1f;color:#e8e9ea;border:1px solid rgba(255,255,255,.04);border-radius:11px;padding:11px 12px 11px 33px;font-size:12px}
body.psm-profile-view .profile-list li:before{color:var(--profile-accent,#cfa64a)}
body.psm-profile-view .opening-grid div{border-bottom-color:rgba(255,255,255,.07);font-size:12px}
body.psm-profile-view .opening-grid span{color:#989b9f}
body.psm-profile-view .opening-grid strong{color:#f4f4f4}
body.psm-profile-view .profile-stack-links{gap:8px}
body.psm-profile-view .profile-stack-links a{background:#191c1f;color:#f1f2f2;border:1px solid rgba(255,255,255,.05);border-radius:12px;padding:12px 13px;transition:.18s ease}
body.psm-profile-view .profile-stack-links a:hover{border-color:rgba(207,166,74,.35);background:#1e2124}
body.psm-profile-view .profile-socials{margin-top:0;justify-content:flex-start;gap:7px}
body.psm-profile-view .profile-socials a{background:#191c1f;color:#dedfe1;border:1px solid rgba(255,255,255,.06);border-radius:999px;padding:9px 11px;font-size:11px}
body.psm-profile-view .profile-brand{margin-top:27px;color:#6f7276;font-size:10px;letter-spacing:.035em}
body.psm-profile-view a:focus-visible,body.psm-profile-view button:focus-visible{outline:2px solid var(--profile-accent,#cfa64a);outline-offset:3px}
.phase2-modal{width:min(1180px,100%);max-height:94vh;padding:0;overflow:hidden}
.phase2-modal>.modal-head{padding:22px 24px 17px;margin:0;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:8}
.phase2-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;max-height:calc(94vh - 78px);overflow:hidden}
.phase2-editor-layout>#card-form{overflow:auto;padding:22px 24px 34px}
.phase2-editor-layout>#card-form>.form-grid{gap:15px}
.phase2-preview-pane{background:#101214;border-left:1px solid #24272a;padding:22px 18px;overflow:auto;--p2-accent:#cfa64a;--p2-hero:#111214}
.phase2-preview-sticky{position:sticky;top:0}
.phase2-preview-label{display:flex;justify-content:space-between;align-items:baseline;color:#fff;margin:0 auto 14px;max-width:286px;font-weight:800}
.phase2-preview-label small{color:#85898e;font-size:10px;text-transform:uppercase;letter-spacing:.1em}
.phase2-phone-frame{width:286px;margin:auto;padding:8px;border-radius:35px;background:linear-gradient(145deg,#3b3e41,#090a0b);box-shadow:0 28px 60px rgba(0,0,0,.4)}
.phase2-phone-screen{overflow:hidden;border-radius:28px;background:#0e1012;min-height:548px;border:1px solid rgba(255,255,255,.06)}
.phase2-preview-header{height:154px;background:linear-gradient(135deg,var(--p2-hero),#272a2c);background-size:cover;background-position:center;position:relative}
.phase2-preview-header:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent,rgba(0,0,0,.5))}
.phase2-preview-lang{position:absolute;z-index:2;right:10px;top:10px;background:rgba(0,0,0,.5);color:#ddd;border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:5px 8px;font-size:7px;font-weight:800}
.phase2-preview-avatar{position:absolute;z-index:3;left:50%;bottom:-38px;transform:translateX(-50%);width:78px;height:78px;border-radius:50%;border:3px solid #0e1012;background:#1b1e20;overflow:hidden;box-shadow:0 8px 22px rgba(0,0,0,.42),0 0 0 1px color-mix(in srgb,var(--p2-accent) 45%,transparent)}
.phase2-preview-avatar span,.phase2-preview-avatar img{width:100%;height:100%;place-items:center;color:#fff;font-family:Montserrat,sans-serif;font-size:26px;font-weight:800}
.phase2-preview-avatar span{display:grid}.phase2-preview-avatar img{display:none}
.phase2-preview-body{padding:51px 14px 18px;text-align:center;color:#fff}
.phase2-preview-body h3{font-family:Montserrat,sans-serif;font-size:19px;margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.phase2-preview-role{color:var(--p2-accent);font-size:9px;font-weight:700;margin:0 0 9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.phase2-preview-bio{color:#9da0a4;font-size:9px;line-height:1.45;margin:0 auto 13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.phase2-preview-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-bottom:7px}
.phase2-preview-actions span{height:32px;display:grid;place-items:center;border-radius:9px;background:#191c1f;border:1px solid rgba(255,255,255,.07);font-size:11px}.phase2-preview-actions span.phase2-muted{opacity:.28}
.phase2-preview-save{height:36px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(135deg,var(--p2-accent),#b58420);color:#17130b;font-size:9px;font-weight:850;margin-bottom:7px}
.phase2-preview-row{min-height:36px;display:grid;grid-template-columns:20px 1fr 10px;align-items:center;text-align:left;border-radius:10px;background:#171a1d;border:1px solid rgba(255,255,255,.07);padding:6px 8px;margin-top:6px;font-size:9px;color:var(--p2-accent)}
.phase2-preview-row b{color:#eee;font-size:9px}.phase2-preview-row em{font-style:normal;color:#777}.phase2-preview-row[hidden]{display:none}
.phase2-preview-mini{display:flex;gap:5px;justify-content:center;margin-top:9px}.phase2-preview-mini span{border-radius:999px;background:#191c1f;border:1px solid rgba(255,255,255,.06);padding:5px 7px;color:#aaa;font-size:7px}
.phase2-preview-help{max-width:286px;margin:12px auto 0;color:#7e8287;font-size:10px;line-height:1.45;text-align:center}
.phase2-section-title{border-top:1px solid var(--line);margin-top:8px}
.phase2-section-title strong{color:#8a620d}
.phase2-color-row{display:grid;grid-template-columns:48px 1fr;gap:8px}.phase2-color-row input[type=color]{height:44px;padding:4px;cursor:pointer}
.phase2-upload-field{align-self:end}.phase2-upload-box{min-height:76px;border:1px dashed #c8c4bb;border-radius:14px;padding:12px;display:flex;gap:11px;align-items:center;background:#fbfaf7;cursor:pointer;transition:.18s ease}.phase2-upload-box:hover{border-color:#c99b31;background:#fffaf0}.phase2-upload-box input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}.phase2-upload-box span:last-child{display:flex;flex-direction:column;gap:3px}.phase2-upload-box strong{font-size:12px}.phase2-upload-box small{color:#7b7b78;font-size:10px;font-weight:500;line-height:1.35}.phase2-upload-icon{flex:0 0 34px;height:34px;border-radius:10px;background:#17191b;color:#e4b84f;display:grid;place-items:center}.phase2-error{color:#b42318!important}
.phase2-url-field input{font-size:11px;color:#777}
@keyframes p2CardIn{from{opacity:0;transform:translateY(10px) scale(.992)}to{opacity:1;transform:none}}
@keyframes p2ModuleIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:900px){.phase2-modal{width:min(760px,100%)}.phase2-editor-layout{grid-template-columns:1fr;max-height:calc(94vh - 78px);overflow:auto}.phase2-editor-layout>#card-form{overflow:visible}.phase2-preview-pane{border-left:0;border-top:1px solid #24272a}.phase2-preview-sticky{position:relative}}
@media(max-width:620px){body.psm-profile-view .profile-page{padding:0;background:#0a0b0c;align-items:stretch}body.psm-profile-view .profile-card{width:100%;max-width:none;min-height:100vh;border:0;border-radius:0;box-shadow:none}body.psm-profile-view .profile-cover{height:205px}body.psm-profile-view .profile-body{padding:80px 16px 28px}body.psm-profile-view .profile-action-grid{grid-template-columns:1fr 1fr}body.psm-profile-view .profile-feature-link{padding-inline:12px}.phase2-modal>.modal-head{padding:17px 16px}.phase2-editor-layout>#card-form{padding:17px 16px 26px}.phase2-preview-pane{padding:20px 12px}.phase2-phone-frame{width:272px}.phase2-phone-screen{min-height:520px}}
@media(prefers-reduced-motion:reduce){body.psm-profile-view .profile-card-v2,body.psm-profile-view .profile-module{animation:none!important}body.psm-profile-view *{scroll-behavior:auto!important;transition:none!important}}



/* ===== phase3.css ===== */
/* Phase 3: content modules, scheduled offers, gallery, documents and media */
.p3-admin-section{margin-top:4px;padding-top:2px}
.p3-title{margin-bottom:14px}
.p3-subsection{border:1px solid var(--line);background:#fbfbf8;border-radius:16px;padding:16px;margin-top:12px}
.p3-subhead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.p3-subhead strong{display:block;font-size:14px}
.p3-subhead small{display:block;color:#777;font-size:11px;line-height:1.45;margin-top:3px}
.p3-hours-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px 12px}
.p3-hours-grid label{display:grid;grid-template-columns:90px 1fr;align-items:center;gap:8px;font-size:12px}
.p3-hours-grid input{padding:9px 10px}
.p3-lines{min-height:86px}
.p3-inline-add{display:grid;grid-template-columns:.7fr 1.3fr auto;gap:8px;margin-bottom:10px}
.p3-upload{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px dashed #cfc9b9;background:#fffdf7;border-radius:13px;padding:13px 14px;cursor:pointer;margin-bottom:10px}
.p3-upload input{display:none}
.p3-upload span{font-size:13px;font-weight:800}
.p3-upload small{font-size:11px;color:#777;text-align:right}
.p3-asset-list{display:grid;gap:8px}
.p3-asset{display:grid;grid-template-columns:38px 1fr 30px;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:9px 10px}
.p3-asset>span{width:38px;height:38px;border-radius:10px;background:#fff2cc;color:#7c5811;display:grid;place-items:center;font-size:10px;font-weight:900}
.p3-asset strong,.p3-gallery-item strong{display:block;font-size:12px}
.p3-asset small{display:block;color:#888;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:420px}
.p3-asset button,.p3-gallery-item button,.p3-remove{border:0;background:#f2f0eb;color:#555;border-radius:9px;width:30px;height:30px;font-size:18px;line-height:1}
.p3-gallery-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.p3-gallery-item{position:relative;background:#fff;border:1px solid var(--line);border-radius:12px;padding:7px;overflow:hidden}
.p3-gallery-item img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;display:block;margin-bottom:7px;background:#eee}
.p3-gallery-item button{position:absolute;top:10px;right:10px;background:rgba(0,0,0,.68);color:#fff}
.p3-empty{font-size:11px;color:#888;padding:10px 2px}
.p3-offers{display:grid;gap:10px}
.p3-offer-row{border:1px solid var(--line);background:#fff;border-radius:14px;padding:12px}
.p3-offer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.p3-offer-row label{display:grid;gap:5px;font-size:11px;color:#666}
.p3-offer-row input,.p3-offer-row textarea{padding:9px 10px}
.p3-offer-row textarea{min-height:68px}
.p3-two{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:9px}
.p3-module-grid{display:grid;gap:8px}
.p3-module-row{display:grid;grid-template-columns:1fr 78px;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:11px;padding:9px 11px}
.p3-module-row label{display:flex;align-items:center;gap:8px}
.p3-module-row label input{width:auto}
.p3-module-row>input{padding:8px;text-align:center}
.p3-status{margin-top:10px;min-height:16px}

/* Elegant Dark public modules */
.psm-profile-view .p3-profile-section{background:#151719;border-color:rgba(255,255,255,.08);box-shadow:0 10px 28px rgba(0,0,0,.15)}
.psm-profile-view .p3-profile-section h2{color:#c8c8c8}
.p3-offer-cards{display:grid;gap:10px}
.p3-offer-card{border:1px solid rgba(207,166,74,.28);background:linear-gradient(145deg,rgba(207,166,74,.10),rgba(255,255,255,.025));border-radius:15px;padding:15px}
.p3-offer-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.p3-offer-top strong{font-size:15px;color:#fff}
.p3-offer-top span{flex:0 0 auto;background:var(--profile-accent,#cfa64a);color:#111;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:900}
.p3-offer-card p{color:#c6c6c6;font-size:12px;line-height:1.55;margin:10px 0}
.p3-offer-card small{display:block;color:#888;font-size:10px;margin:8px 0}
.p3-offer-card a{display:inline-flex;margin-top:6px;color:var(--profile-accent,#cfa64a);font-size:12px;font-weight:800}
.p3-gallery-view{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.p3-gallery-view button{border:0;padding:0;background:transparent;border-radius:11px;overflow:hidden;aspect-ratio:1/1}
.p3-gallery-view img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .22s ease}
.p3-gallery-view button:hover img{transform:scale(1.04)}
.p3-media-view{display:grid;gap:10px}
.p3-video{border:1px solid rgba(255,255,255,.07);background:#0d0f10;border-radius:13px;overflow:hidden}
.p3-video iframe{width:100%;aspect-ratio:16/9;border:0;display:block;background:#000}
.p3-video strong{display:block;color:#ddd;font-size:12px;padding:10px 11px}
.p3-media-link{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid rgba(255,255,255,.08);background:#111315;border-radius:12px;padding:12px 13px;color:#e8e8e8;font-size:12px;font-weight:700}
.p3-media-link b{color:var(--profile-accent,#cfa64a)}
.p3-lightbox{position:fixed;inset:0;background:rgba(0,0,0,.88);z-index:9999;display:grid;place-items:center;padding:24px;backdrop-filter:blur(8px)}
.p3-lightbox>button{position:fixed;right:20px;top:20px;width:42px;height:42px;border:1px solid rgba(255,255,255,.16);background:#171717;color:#fff;border-radius:50%;font-size:24px}
.p3-lightbox figure{margin:0;max-width:min(960px,94vw);max-height:88vh;display:grid;gap:10px;justify-items:center}
.p3-lightbox img{max-width:100%;max-height:80vh;border-radius:16px;box-shadow:0 24px 80px rgba(0,0,0,.5)}
.p3-lightbox figcaption{color:#ddd;font-size:12px}

@media(max-width:760px){
  .p3-hours-grid{grid-template-columns:1fr}
  .p3-inline-add{grid-template-columns:1fr}
  .p3-gallery-editor{grid-template-columns:repeat(2,minmax(0,1fr))}
  .p3-upload{align-items:flex-start;flex-direction:column}
  .p3-upload small{text-align:left}
  .p3-two{grid-template-columns:1fr}
}
@media(max-width:430px){
  .p3-gallery-view{grid-template-columns:repeat(2,1fr)}
  .p3-gallery-editor{grid-template-columns:1fr 1fr}
  .p3-hours-grid label{grid-template-columns:82px 1fr}
}
@media(prefers-reduced-motion:reduce){.p3-gallery-view img{transition:none}}



/* ===== phase4.css ===== */
/* Phase 4: admin workflow and comfort tools */
.admin-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 18px}
.admin-toolbar input,.admin-toolbar select{width:auto;min-width:180px;background:#fff}
.admin-toolbar .admin-search{flex:1;min-width:240px}
.workflow-card{border:1px solid var(--line);border-radius:16px;background:#fff;padding:14px;margin-top:12px}
.workflow-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.workflow-row .btn{flex:0 0 auto}
.workflow-note{margin-top:10px}
.workflow-note textarea{min-height:84px}
.workflow-meta{font-size:12px;color:#777;margin-top:8px;line-height:1.5}
.qr-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.qr-preview{width:160px;height:160px;padding:10px;background:#fff;border:1px solid var(--line);border-radius:14px;display:none;place-items:center}
.qr-preview img,.qr-preview canvas{max-width:100%;height:auto}
.translation-tools{display:grid;gap:10px;border:1px solid var(--line);background:#fafafa;border-radius:14px;padding:14px;margin-top:12px}
.translation-tools .translation-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.translation-tools .status{font-size:12px;color:#777}
.translation-tools .status.error{color:#b42318}
.admin-empty-filter{padding:28px;text-align:center;color:#777;border:1px dashed var(--line);border-radius:14px}
@media(max-width:620px){
  .admin-toolbar{align-items:stretch}.admin-toolbar input,.admin-toolbar select,.admin-toolbar .admin-search{width:100%;min-width:0}
  .translation-tools .translation-grid{grid-template-columns:1fr}
}



/* ===== phase5.css ===== */
.p5-dashboard{display:grid;gap:18px}.p5-dashboard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.p5-dashboard-head h2{margin:4px 0 6px}.p5-dashboard-head p{margin:0;color:#6b7280;max-width:720px}.p5-kpis{display:grid;gap:12px}.p5-kpis-main{grid-template-columns:repeat(4,minmax(0,1fr))}.p5-kpis-secondary{grid-template-columns:repeat(3,minmax(0,1fr))}.p5-kpi{background:#fff;border:1px solid rgba(17,17,17,.1);border-radius:18px;padding:17px;box-shadow:0 8px 24px rgba(0,0,0,.035)}.p5-kpi span{display:block;color:#6b7280;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.p5-kpi strong{display:block;font-size:1.8rem;line-height:1.1;margin:8px 0 5px}.p5-kpi small{display:block;color:#777}.p5-dashboard-grid{display:grid;grid-template-columns:minmax(280px,.75fr) minmax(0,1.75fr);gap:14px}.p5-panel{background:#fff;border:1px solid rgba(17,17,17,.1);border-radius:18px;padding:16px;min-width:0}.p5-panel-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.p5-panel-title h3{margin:0;font-size:1rem}.p5-panel-title span{color:#777;font-size:.78rem}.p5-action-list{display:grid;gap:13px}.p5-action-row>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:.83rem}.p5-action-row span{color:#6b7280}.p5-bar{height:7px;background:#f1f1f1;border-radius:999px;overflow:hidden;margin-top:6px}.p5-bar i{display:block;height:100%;background:linear-gradient(90deg,#111,#b68d28);border-radius:inherit}.p5-card-table{display:grid;gap:9px}.p5-card-row{display:grid;grid-template-columns:minmax(160px,1.5fr) .7fr .85fr .85fr 1.15fr;align-items:center;gap:12px;padding:12px;border:1px solid rgba(17,17,17,.08);border-radius:14px;background:#fafafa}.p5-card-row>div{min-width:0}.p5-card-name strong,.p5-card-name span,.p5-card-row b,.p5-card-row small{display:block}.p5-card-name strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.p5-card-name span,.p5-card-row small{font-size:.75rem;color:#737373;margin-top:3px}.p5-small-label{display:block;font-size:.67rem;color:#8b8b8b;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}.p5-status{display:inline-block!important;width:max-content;padding:4px 8px;border-radius:999px;font-size:.72rem}.p5-status.online{background:#ecfdf3;color:#157347}.p5-status.draft{background:#f2f2f2;color:#555}.p5-date{font-size:.8rem}.p5-empty,.p5-loading{padding:20px;text-align:center;color:#777}.p5-inline-stats{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:7px;color:#555;font-size:.75rem}.p5-inline-stats span{padding:4px 7px;background:#f5f5f5;border-radius:8px}@media(max-width:1050px){.p5-kpis-main{grid-template-columns:repeat(2,minmax(0,1fr))}.p5-dashboard-grid{grid-template-columns:1fr}.p5-card-row{grid-template-columns:1.4fr .7fr .8fr .8fr}.p5-card-row>div:last-child{grid-column:1/-1;border-top:1px dashed #ddd;padding-top:9px}}@media(max-width:680px){.p5-dashboard-head{display:block}.p5-dashboard-head button{margin-top:12px}.p5-kpis-main,.p5-kpis-secondary{grid-template-columns:1fr 1fr}.p5-card-row{grid-template-columns:1fr 1fr}.p5-card-name{grid-column:1/-1}.p5-card-row>div:last-child{grid-column:1/-1}.p5-kpi strong{font-size:1.45rem}}@media(max-width:430px){.p5-kpis-main,.p5-kpis-secondary{grid-template-columns:1fr}.p5-card-row{grid-template-columns:1fr}.p5-card-name,.p5-card-row>div:last-child{grid-column:auto}}


/* ===== homepage-options.css ===== */
.psm-card-options-section{margin-top:6px}.psm-options-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}.psm-options-heading strong{display:block;font-size:1rem;line-height:1.35}.psm-options-heading p{margin:5px 0 0;color:var(--muted,#6b7280);font-size:.9rem;line-height:1.45}.psm-options-badge{flex:0 0 auto;border:1px solid rgba(184,134,11,.28);background:rgba(212,175,55,.08);color:#9c7717;border-radius:999px;padding:6px 9px;font-size:.72rem;font-weight:700}.psm-options-note{margin:0 0 12px;padding:10px 12px;border-radius:12px;background:rgba(20,20,20,.045);font-size:.82rem;color:var(--muted,#6b7280)}.psm-options-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.psm-option-card{border:1px solid rgba(18,18,18,.12);border-radius:14px;background:#fff;overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.psm-option-card:hover{border-color:rgba(184,134,11,.35)}.psm-option-card.selected{border-color:rgba(184,134,11,.62);box-shadow:0 0 0 2px rgba(212,175,55,.09)}.psm-option-toggle{display:flex;align-items:center;gap:10px;min-height:48px;padding:11px 12px;cursor:pointer;font-weight:650}.psm-option-toggle input{position:absolute;opacity:0;pointer-events:none}.psm-option-check{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px;border-radius:7px;border:1px solid rgba(18,18,18,.2);font-size:.75rem;color:transparent;background:#fff;transition:.18s ease}.psm-option-card.selected .psm-option-check{background:#111;border-color:#111;color:#d8b34c}.psm-option-detail{padding:0 12px 12px}.psm-option-detail input{width:100%;box-sizing:border-box}.psm-option-detail[hidden]{display:none!important}@media(max-width:680px){.psm-options-grid{grid-template-columns:1fr}.psm-options-heading{display:block}.psm-options-badge{display:inline-block;margin-top:9px}.psm-option-toggle{min-height:50px}}


/* ===== phase6.css ===== */
/* Phase 6 – Hauptseite & Anfragefluss */
#karten .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.p6-trust-strip{max-width:1120px;margin:-24px auto 38px;padding:0 22px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;position:relative;z-index:3}.p6-trust-card{background:#fff;border:1px solid rgba(18,18,18,.08);border-radius:18px;padding:16px 18px;box-shadow:0 12px 30px rgba(0,0,0,.05)}.p6-trust-card strong{display:block;font-size:.95rem;color:#151515;margin-bottom:4px}.p6-trust-card span{font-size:.82rem;color:#707070;line-height:1.45}.p6-gold-dot{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#111;color:#d8b34c;margin-right:8px;font-weight:800}
.p6-review-product{position:relative;overflow:hidden}.p6-review-product::before{content:"GOOGLE";position:absolute;top:14px;right:-31px;transform:rotate(38deg);background:#111;color:#d8b34c;font-size:.68rem;font-weight:800;letter-spacing:.09em;padding:7px 34px}.p6-review-preview{min-height:210px;border-radius:22px;background:linear-gradient(145deg,#101010,#252525);display:grid;place-items:center;padding:24px;position:relative;overflow:hidden}.p6-review-sign{width:min(280px,84%);aspect-ratio:1.55/1;background:#fff;border-radius:14px;box-shadow:0 18px 45px rgba(0,0,0,.28);padding:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px}.p6-google-g{font-weight:900;font-size:2.15rem;line-height:1}.p6-stars{letter-spacing:.12em;color:#b18825;font-size:1.2rem}.p6-review-sign strong{font-size:1rem;color:#141414}.p6-review-sign small{color:#777;line-height:1.35}
.p6-value-section{padding:54px 22px 70px;background:#0f1011;color:#fff}.p6-value-inner{max-width:1120px;margin:auto}.p6-value-head{text-align:center;max-width:720px;margin:0 auto 28px}.p6-value-head .eyebrow{color:#d8b34c}.p6-value-head h2{margin:8px 0 10px;font-size:clamp(1.7rem,4vw,2.5rem)}.p6-value-head p{color:#b8b8b8;line-height:1.65}.p6-value-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.p6-value-card{border:1px solid rgba(216,179,76,.18);background:rgba(255,255,255,.035);border-radius:18px;padding:19px}.p6-value-card b{display:block;margin-bottom:7px}.p6-value-card span{display:block;color:#aaa;font-size:.86rem;line-height:1.5}
.p6-faq{max-width:920px;margin:0 auto;padding:58px 22px}.p6-faq h2{text-align:center;margin:0 0 25px;font-size:clamp(1.6rem,4vw,2.2rem)}.p6-faq details{border-bottom:1px solid rgba(20,20,20,.1);padding:0}.p6-faq summary{cursor:pointer;list-style:none;padding:18px 4px;font-weight:750;display:flex;justify-content:space-between;gap:16px}.p6-faq summary::-webkit-details-marker{display:none}.p6-faq summary::after{content:"+";font-size:1.3rem;color:#9f7b1d}.p6-faq details[open] summary::after{content:"−"}.p6-faq details p{margin:0;padding:0 4px 18px;color:#666;line-height:1.6;font-size:.92rem}
.p6-product-choice{grid-column:1/-1}.p6-product-choice>label{display:block;margin-bottom:9px;font-weight:700}.p6-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.p6-product-radio{position:relative}.p6-product-radio input{position:absolute;opacity:0;pointer-events:none}.p6-product-radio label{display:block;height:100%;border:1px solid rgba(18,18,18,.13);border-radius:15px;padding:14px;background:#fff;cursor:pointer;transition:.18s}.p6-product-radio label strong{display:block;font-size:.91rem;margin-bottom:4px}.p6-product-radio label span{display:block;color:#777;font-size:.78rem}.p6-product-radio input:checked+label{border-color:#b78a22;box-shadow:0 0 0 2px rgba(216,179,76,.12);background:#fffdf7}.p6-product-radio input:checked+label::after{content:"✓";position:absolute;right:10px;top:10px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#111;color:#d8b34c;font-size:.72rem;font-weight:900}.p6-step-kicker{grid-column:1/-1;margin:4px 0 -2px;padding-top:5px;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:#9b7620;font-weight:800}.p6-order-summary{grid-column:1/-1;border:1px solid rgba(183,138,34,.25);background:#fffaf0;border-radius:15px;padding:14px 15px;display:flex;align-items:center;justify-content:space-between;gap:16px}.p6-order-summary small{display:block;color:#756c59;margin-bottom:3px}.p6-order-summary strong{font-size:.95rem}.p6-order-price{font-size:1.15rem;font-weight:850;white-space:nowrap}.p6-color-hidden{display:none!important}.p6-form-note{grid-column:1/-1;background:#f7f7f6;border-radius:13px;padding:11px 13px;color:#676767;font-size:.8rem;line-height:1.5}
.p6-mobile-cta{display:none}
@media(max-width:900px){#karten .product-grid{grid-template-columns:1fr 1fr}.p6-value-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#karten .product-grid{grid-template-columns:1fr}.p6-trust-strip{grid-template-columns:1fr;margin-top:-14px;padding:0 15px}.p6-value-grid{grid-template-columns:1fr}.p6-product-grid{grid-template-columns:1fr}.p6-review-preview{min-height:185px}.p6-faq{padding-left:16px;padding-right:16px}.p6-mobile-cta{display:block;position:fixed;left:12px;right:12px;bottom:12px;z-index:50}.p6-mobile-cta a{display:flex;align-items:center;justify-content:center;background:#111;color:#fff;text-decoration:none;border:1px solid rgba(216,179,76,.55);border-radius:15px;padding:13px 16px;font-weight:800;box-shadow:0 12px 35px rgba(0,0,0,.2)}.p6-home{padding-bottom:68px}.p6-order-summary{align-items:flex-start}}


/* Back-to-top mobile action */
@media(max-width:700px){
  .p6-mobile-cta.p6-back-top{
    display:block;
    opacity:0;
    transform:translateY(18px);
    pointer-events:none;
    transition:opacity .2s ease,transform .2s ease;
  }
  .p6-mobile-cta.p6-back-top.p6-back-top-visible{
    display:block!important;
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
  }
  .p6-mobile-cta.p6-back-top button{
    width:100%;
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    border:1px solid rgba(216,179,76,.62);
    border-radius:15px;
    background:#111;
    color:#fff;
    font:inherit;
    font-weight:800;
    box-shadow:0 12px 35px rgba(0,0,0,.24);
    cursor:pointer;
  }
  body.p8-home-page:not([data-p8-view="home"]) .p6-mobile-cta.p6-back-top{
    display:none!important;
  }
}


/* Compact back-to-top control: keep the mobile swipe area free */
@media(max-width:700px){
  .p6-mobile-cta.p6-back-top{
    left:auto!important;
    right:14px!important;
    bottom:14px!important;
    width:52px!important;
    height:52px!important;
  }
  .p6-mobile-cta.p6-back-top button{
    width:52px!important;
    min-height:52px!important;
    height:52px!important;
    padding:0!important;
    border-radius:50%!important;
    box-shadow:0 10px 28px rgba(0,0,0,.22)!important;
  }
  .p6-mobile-cta.p6-back-top button span:last-child{
    display:none!important;
  }
  .p6-mobile-cta.p6-back-top button span:first-child{
    font-size:1.25rem!important;
    line-height:1!important;
  }
}



/* ===== phase7.css ===== */
/* Phase 7 – Produktanfrage und Kontakt sauber trennen */
.p7-hidden{display:none!important}
.p7-request-section{scroll-margin-top:88px}
.p7-contact-section{scroll-margin-top:88px;padding-top:28px;padding-bottom:74px}
.p7-contact-wrap{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:.9fr 1.35fr;gap:34px;align-items:start}
.p7-contact-copy{padding:16px 4px}.p7-contact-copy h2{margin:8px 0 12px;font-size:clamp(1.7rem,4vw,2.35rem)}.p7-contact-copy p{color:#686868;line-height:1.65}.p7-contact-note{margin-top:18px;border-left:3px solid #b68a28;background:#fffaf0;border-radius:0 12px 12px 0;padding:12px 14px;color:#5f5849;font-size:.86rem;line-height:1.5}.p7-contact-note a{color:#171717;font-weight:750}
.p7-review-only{border:1px solid rgba(183,138,34,.22);background:#fffaf0;border-radius:14px;padding:14px}.p7-review-only label{font-weight:750}.p7-review-only .note{margin-top:6px}
.p7-inquiry-kind{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:10px}.p7-inquiry-kind strong{font-size:.85rem}.p7-inquiry-kind small{width:100%;font-size:.75rem;color:#777}.p7-badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:.7rem;font-weight:800;letter-spacing:.02em}.p7-badge.product{background:#f5edd7;color:#6b5010}.p7-badge.review{background:#111;color:#d8b34c}.p7-badge.contact{background:#e9f3ff;color:#1d4f82}
.p7-type-filter{min-width:165px}
.p7-delete-inquiry{margin-top:10px;background:#fff!important;color:#a01818!important;border:1px solid #d9a7a7!important}.p7-delete-inquiry:hover{background:#fff4f4!important}.p7-delete-inquiry:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:760px){.p7-contact-wrap{grid-template-columns:1fr;gap:14px}.p7-contact-section{padding-left:15px;padding-right:15px}.p7-contact-copy{padding:0}.p7-type-filter{width:100%;min-width:0}.p7-delete-inquiry{width:100%}}



/* ===== phase8.css ===== */
/* Phase 8 – kompakte Hauptnavigation / Off-Canvas-Menü */
body.p8-home-page{overflow-x:hidden}
.p8-menu-button{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border:1px solid #e5e1d7;border-radius:14px;background:#fff;color:#111;cursor:pointer;flex:0 0 auto;box-shadow:0 5px 18px rgba(0,0,0,.05)}
.p8-menu-button span,.p8-menu-button::before,.p8-menu-button::after{content:"";display:block;width:20px;height:2px;border-radius:999px;background:#111;position:absolute;transition:.2s ease}
.p8-menu-button{position:relative}.p8-menu-button span{transform:translateY(0)}.p8-menu-button::before{transform:translateY(-6px)}.p8-menu-button::after{transform:translateY(6px)}
.p8-menu-button[aria-expanded="true"] span{opacity:0}.p8-menu-button[aria-expanded="true"]::before{transform:rotate(45deg)}.p8-menu-button[aria-expanded="true"]::after{transform:rotate(-45deg)}
body.p8-home-page .site-header{display:flex;align-items:center;gap:12px;padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
body.p8-home-page .site-header .brand{margin-right:auto}
body.p8-home-page .desktop-nav{display:none!important}
body.p8-home-page .header-cta{white-space:nowrap}
.p8-drawer-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.48);z-index:1198;opacity:0;pointer-events:none;transition:opacity .22s ease}
.p8-drawer-backdrop.open{opacity:1;pointer-events:auto}
.p8-drawer{position:fixed;left:0;top:0;bottom:0;width:min(86vw,340px);z-index:1199;background:#0e0f10;color:#fff;transform:translateX(-104%);transition:transform .24s ease;box-shadow:20px 0 55px rgba(0,0,0,.28);display:flex;flex-direction:column;padding:calc(24px + env(safe-area-inset-top)) 18px calc(20px + env(safe-area-inset-bottom));overflow-y:auto}
.p8-drawer.open{transform:translateX(0)}
.p8-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 4px 22px;border-bottom:1px solid rgba(255,255,255,.1)}
.p8-drawer-brand strong{display:block;font-family:Montserrat,Inter,sans-serif;font-size:1.55rem;line-height:1}.p8-drawer-brand span{display:block;color:#d2a62d;font-size:.68rem;font-weight:800;letter-spacing:.32em;margin-top:7px}
.p8-drawer-close{width:42px;height:42px;border:1px solid rgba(255,255,255,.14);border-radius:13px;background:rgba(255,255,255,.06);color:#fff;font-size:1.35rem;cursor:pointer}
.p8-menu-label{margin:22px 10px 8px;color:#8f9297;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.13em}
.p8-drawer-nav{display:grid;gap:6px}
.p8-drawer-link{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:13px;color:#f8f8f8;text-decoration:none;font-weight:720;transition:.15s ease}
.p8-drawer-link:hover,.p8-drawer-link.active{background:rgba(210,166,45,.14);color:#e2bb51}.p8-drawer-link .p8-icon{width:28px;height:28px;border-radius:9px;background:rgba(255,255,255,.07);display:grid;place-items:center;font-size:.86rem}.p8-drawer-link.active .p8-icon{background:#d2a62d;color:#111}
.p8-drawer-admin{margin-top:auto;padding-top:18px;border-top:1px solid rgba(255,255,255,.1)}.p8-drawer-admin a{color:#aeb1b5;font-size:.9rem}
.p8-view-hidden{display:none!important}
.p8-home-shortcuts{max-width:1120px;margin:0 auto;padding:34px 24px 64px}.p8-home-shortcuts-head{text-align:center;max-width:700px;margin:0 auto 22px}.p8-home-shortcuts-head h2{font-size:clamp(1.65rem,4vw,2.45rem);margin:8px 0}.p8-home-shortcuts-head p{color:#696969;line-height:1.6}
.p8-shortcut-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.p8-shortcut-card{display:flex;flex-direction:column;min-height:180px;padding:22px;border:1px solid #e9e5db;border-radius:20px;background:#fff;text-decoration:none;color:#151515;box-shadow:0 9px 28px rgba(0,0,0,.045);transition:transform .16s ease,box-shadow .16s ease}.p8-shortcut-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.075)}.p8-shortcut-icon{width:42px;height:42px;border-radius:13px;background:#111;color:#d8ad3c;display:grid;place-items:center;font-weight:900;margin-bottom:18px}.p8-shortcut-card strong{font-size:1.06rem;margin-bottom:8px}.p8-shortcut-card span{color:#747474;line-height:1.5;font-size:.9rem}.p8-shortcut-card em{font-style:normal;font-weight:800;color:#9c7619;margin-top:auto;padding-top:16px}
body[data-p8-view="request"] .p6-mobile-cta,body[data-p8-view="contact"] .p6-mobile-cta{display:none!important}
body[data-p8-view]:not([data-p8-view="home"]) main{min-height:calc(100vh - 210px)}
body[data-p8-view]:not([data-p8-view="home"]) #karten,body[data-p8-view]:not([data-p8-view="home"]) #anfrage,body[data-p8-view]:not([data-p8-view="home"]) #kontakt,body[data-p8-view]:not([data-p8-view="home"]) .steps{padding-top:54px}

/* Digitale Karte: Rückweg + stabiles einspaltiges Profil-Layout */
body.psm-profile-view .profile-page{flex-direction:column;justify-content:flex-start;align-items:center}
.p8-profile-return{width:min(100%,540px);box-sizing:border-box;margin:0 auto 10px;padding:0 4px;flex:0 0 auto}.p8-profile-return a{display:inline-flex;align-items:center;gap:7px;color:#d9b34a;text-decoration:none;font-size:.83rem;font-weight:800;letter-spacing:.01em}.p8-profile-return a:hover{text-decoration:underline}
.p8-profile-promo{margin:22px 0 10px;padding:18px;border:1px solid rgba(207,166,74,.28);border-radius:18px;background:linear-gradient(145deg,rgba(207,166,74,.08),rgba(255,255,255,.02));display:flex;flex-direction:column;gap:8px}.p8-profile-promo strong{font-size:1rem;color:#fff}.p8-profile-promo span{font-size:.84rem;line-height:1.55;color:#b8b8b8}.p8-profile-promo a{margin-top:4px;display:flex;align-items:center;justify-content:center;min-height:46px;padding:11px 15px;border-radius:13px;background:var(--profile-accent,#cfa64a);color:#111;text-decoration:none;font-weight:850;text-align:center}.p8-profile-promo a:hover{filter:brightness(1.05)}

@media(max-width:760px){body.p8-home-page .site-header{gap:8px}.p8-menu-button{width:42px;height:42px;border-radius:12px}.p8-menu-button span,.p8-menu-button::before,.p8-menu-button::after{width:18px}.p8-home-shortcuts{padding:24px 15px 92px}.p8-shortcut-grid{grid-template-columns:1fr}.p8-shortcut-card{min-height:145px}.p8-drawer{width:min(88vw,330px)}body.p8-home-page .header-cta{font-size:.78rem;padding:11px 13px}body.psm-profile-view .profile-page{align-items:stretch}.p8-profile-return{width:100%;padding:14px 18px 6px;margin:0}.p8-profile-promo{margin-top:18px}}
@media(max-width:390px){body.p8-home-page .site-header .brand-sub{letter-spacing:.18em}body.p8-home-page .header-cta{display:none}}



/* ===== phase38-public-sections.css ===== */
/* Phase 38 – Warum PSM Karten / Über uns */
.p38-view{padding:0 24px 76px}.p38-inner{width:min(1120px,100%);margin:0 auto;padding-top:58px}.p38-heading{max-width:790px;margin:0 auto 34px;text-align:center}.p38-heading h2{font-family:Montserrat,Inter,sans-serif;font-size:clamp(2rem,4vw,3.25rem);letter-spacing:-.035em;margin:9px 0 14px}.p38-heading p{margin:0;color:#696969;line-height:1.75;font-size:1rem}.p38-heading strong{color:#1d1d1d}

.p38-compare{display:grid;grid-template-columns:1.1fr repeat(3,1fr);border:1px solid #e5e0d6;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 14px 42px rgba(0,0,0,.045)}.p38-compare-head,.p38-row-label,.p38-cell{padding:16px;border-right:1px solid #ece8df;border-bottom:1px solid #ece8df}.p38-compare>*:nth-child(4n){border-right:0}.p38-compare-head{min-height:98px;display:flex;flex-direction:column;justify-content:center;gap:5px;background:#faf9f6}.p38-compare-head strong{font-size:.9rem}.p38-compare-head em{font-size:.67rem;color:#9f7821;font-style:normal;font-weight:800}.p38-label-col{color:#8d8d8d;text-transform:uppercase;letter-spacing:.1em;font-size:.7rem;font-weight:850}.p38-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#efeee9;color:#806116;font-weight:900}.p38-psm{background:linear-gradient(180deg,#fffaf0,#fffdf9)}.p38-compare-head.p38-psm{box-shadow:inset 0 3px 0 #d5a32d}.p38-compare-head.p38-psm .p38-icon{background:#111;color:#e1b846}.p38-row-label{font-size:.78rem;font-weight:850;display:flex;align-items:center;background:#fbfbfa}.p38-cell{display:flex;flex-direction:column;gap:5px;justify-content:center;min-height:83px}.p38-cell b{font-size:1rem;color:#9e7b24}.p38-cell span{color:#727272;font-size:.76rem;line-height:1.45}.p38-cell.p38-psm span{color:#544b3c}

.p38-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:22px}.p38-benefits article{padding:21px;border:1px solid #e8e3d9;background:#fff;border-radius:18px}.p38-benefits article>span{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#111;color:#ddb449;font-size:.7rem;font-weight:900;margin-bottom:14px}.p38-benefits strong{display:block;margin-bottom:8px}.p38-benefits p{margin:0;color:#737373;line-height:1.55;font-size:.82rem}

.p38-cta{margin-top:24px;padding:22px 24px;border:1px solid #ded7c6;border-radius:19px;background:#fffaf0;display:flex;align-items:center;justify-content:space-between;gap:18px}.p38-cta>div:first-child{display:grid;gap:4px}.p38-cta strong{font-size:1rem}.p38-cta span{font-size:.8rem;color:#756d5b}.p38-cta>div:last-child{display:flex;gap:9px;flex-wrap:wrap}

.p38-about-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.p38-story,.p38-service-list{border:1px solid #e4dfd5;border-radius:21px;background:#fff}.p38-story{padding:26px;display:grid;grid-template-columns:auto 1fr;gap:20px}.p38-story-mark{width:74px;height:74px;border-radius:20px;background:#111;color:#e0b64b;display:grid;place-items:center;font-family:Montserrat,Inter,sans-serif;font-weight:900;font-size:1.25rem}.p38-kicker{font-size:.68rem;color:#9b7826;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.p38-story h3{font-family:Montserrat,Inter,sans-serif;font-size:1.45rem;line-height:1.25;margin:8px 0 12px}.p38-story p{color:#6d6d6d;line-height:1.65;font-size:.85rem}.p38-service-list{padding:8px}.p38-service-list article{display:grid;grid-template-columns:auto 1fr;gap:13px;padding:16px;border-bottom:1px solid #efebe3}.p38-service-list article:last-child{border-bottom:0}.p38-service-list article>span{width:32px;height:32px;border-radius:10px;background:#f2eee3;color:#8c6819;display:grid;place-items:center;font-size:.66rem;font-weight:900}.p38-service-list strong{display:block;margin-bottom:5px;font-size:.88rem}.p38-service-list p{margin:0;color:#777;font-size:.76rem;line-height:1.5}

.p38-service-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}.p38-service-bar>div{padding:15px;border:1px solid #e7e2d9;border-radius:15px;background:#fff;display:flex;gap:10px;align-items:flex-start}.p38-service-bar b{color:#a37b1d}.p38-service-bar span{display:grid;gap:3px}.p38-service-bar strong{font-size:.78rem}.p38-service-bar small{font-size:.67rem;color:#8a8a8a}.p38-dark-cta{background:#111;color:#fff;border-color:#222}.p38-dark-cta span{color:#aaa}

@media(max-width:860px){.p38-compare{grid-template-columns:1fr}.p38-compare>*{border-right:0!important}.p38-label-col{display:none}.p38-compare-head{min-height:auto;border-bottom:0;padding:14px 16px}.p38-compare-head:not(.p38-psm){display:none}.p38-row-label{background:#f4f1e8;border-top:1px solid #e1dbce;border-bottom:0;min-height:auto;padding:10px 14px}.p38-cell{min-height:auto;padding:12px 14px}.p38-cell:before{font-size:.64rem;font-weight:850;color:#999;text-transform:uppercase;letter-spacing:.06em}.p38-cell:nth-of-type(4n+2):before{content:"Papierkarte"}.p38-cell:nth-of-type(4n+3):before{content:"Link-Seite"}.p38-cell.p38-psm:before{content:"PSM Karten"}.p38-benefits{grid-template-columns:1fr}.p38-about-grid{grid-template-columns:1fr}.p38-service-bar{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.p38-view{padding:0 15px 90px}.p38-inner{padding-top:38px}.p38-heading{text-align:left;margin-bottom:23px}.p38-heading h2{font-size:2rem}.p38-story{grid-template-columns:1fr;padding:20px}.p38-story-mark{width:60px;height:60px;border-radius:17px}.p38-service-bar{grid-template-columns:1fr}.p38-cta{display:grid;padding:18px}.p38-cta>div:last-child{display:grid}.p38-cta .btn{width:100%}}


/* ===== phase9.css ===== */
/* Phase 9 – Admin-Rubriken & Selbstverwaltung */
.p9-source-tabs{display:none!important}
.p9-admin-nav{margin:0 0 22px;padding:20px;border:1px solid #e8e3d8;border-radius:20px;background:linear-gradient(145deg,#fff,#fbfaf7);box-shadow:0 10px 30px rgba(0,0,0,.04)}
.p9-admin-nav-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}.p9-admin-nav-head h2{margin:5px 0 0;font-size:clamp(1.35rem,3vw,1.8rem)}
.p9-open-site{font-weight:800;color:#8c6814;text-decoration:none;white-space:nowrap}.p9-open-site:hover{text-decoration:underline}
.p9-admin-nav-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.p9-admin-nav-grid button{appearance:none;border:1px solid #e7e2d7;border-radius:16px;background:#fff;padding:16px;text-align:left;cursor:pointer;display:grid;grid-template-columns:40px 1fr;grid-template-rows:auto auto;column-gap:11px;transition:.16s ease;color:#171717}.p9-admin-nav-grid button>span{grid-row:1/3;width:40px;height:40px;border-radius:12px;background:#f3f0e8;display:grid;place-items:center;font-weight:900}.p9-admin-nav-grid button strong{align-self:end;font-size:.94rem}.p9-admin-nav-grid button small{color:#777;line-height:1.35;margin-top:3px}.p9-admin-nav-grid button:hover{border-color:#cfaa4a;transform:translateY(-1px)}.p9-admin-nav-grid button.active{background:#111;color:#fff;border-color:#111;box-shadow:0 8px 22px rgba(0,0,0,.13)}.p9-admin-nav-grid button.active>span{background:#d2a62d;color:#111}.p9-admin-nav-grid button.active small{color:#c9c9c9}
.p9-settings-page{display:grid;gap:18px}.p9-settings-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.p9-settings-intro h2{margin:6px 0 5px;font-size:clamp(1.55rem,3vw,2.1rem)}.p9-settings-intro p{margin:0;color:#6c6c6c;line-height:1.55}.p9-saved-state{font-size:.8rem;color:#39724a;font-weight:800;white-space:nowrap}.p9-settings-loading{padding:28px;border:1px solid #eee7d9;border-radius:18px;background:#fff;color:#777}
#p9-settings-form{display:grid;gap:16px}.p9-settings-card{background:#fff;border:1px solid #e8e3d8;border-radius:20px;padding:20px;box-shadow:0 9px 26px rgba(0,0,0,.035)}.p9-settings-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #eeeae2}.p9-settings-card-head>div{display:flex;align-items:center;gap:10px}.p9-settings-card-head>div>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#111;color:#d9b24a;font-size:.72rem;font-weight:900}.p9-settings-card-head h3{margin:0;font-size:1.08rem}.p9-settings-card-head p{margin:2px 0 0;color:#777;font-size:.84rem;line-height:1.45;max-width:440px;text-align:right}
.p9-product-editors{display:grid;gap:12px}.p9-product-editor{border:1px solid #ebe6db;border-radius:16px;padding:15px;background:#fcfbf8}.p9-product-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.p9-product-editor-head strong{font-size:.92rem}.p9-two-col,.p9-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.p9-form-grid .p9-full,.p9-two-col .p9-full{grid-column:1/-1}
.p9-field{display:grid;gap:7px}.p9-field>span{font-size:.78rem;font-weight:800;color:#3c3c3c}.p9-field input,.p9-field textarea{width:100%;box-sizing:border-box;border:1px solid #dcd8cf;border-radius:12px;background:#fff;padding:12px 13px;font:inherit;color:#151515;outline:none}.p9-field textarea{resize:vertical;min-height:95px;line-height:1.5}.p9-field input:focus,.p9-field textarea:focus{border-color:#bd9330;box-shadow:0 0 0 3px rgba(189,147,48,.11)}.p9-field small{font-size:.72rem;color:#898989}
.p9-switch{display:inline-flex;align-items:center;gap:8px;cursor:pointer}.p9-switch input{position:absolute;opacity:0;pointer-events:none}.p9-switch span{width:38px;height:22px;border-radius:999px;background:#c8c8c8;position:relative;transition:.18s}.p9-switch span:after{content:"";position:absolute;width:16px;height:16px;border-radius:50%;background:#fff;left:3px;top:3px;box-shadow:0 1px 4px rgba(0,0,0,.2);transition:.18s}.p9-switch input:checked+span{background:#b58a22}.p9-switch input:checked+span:after{transform:translateX(16px)}.p9-switch em{font-style:normal;font-size:.75rem;color:#666;font-weight:700}
.p9-settings-actions{display:flex;gap:10px;justify-content:flex-end;position:sticky;bottom:14px;z-index:5;padding:12px;border-radius:16px;background:rgba(255,255,255,.92);border:1px solid #ebe5d9;backdrop-filter:blur(8px)}
.p9-product-hidden{display:none!important}
@media(max-width:900px){.p9-admin-nav-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.p9-settings-card-head{display:block}.p9-settings-card-head p{margin-top:9px;text-align:left;max-width:none}}
@media(max-width:620px){.p9-admin-nav{padding:15px;border-radius:16px}.p9-admin-nav-head{align-items:flex-start}.p9-open-site{font-size:.78rem}.p9-admin-nav-grid{grid-template-columns:1fr}.p9-admin-nav-grid button{padding:13px}.p9-two-col,.p9-form-grid{grid-template-columns:1fr}.p9-settings-card{padding:15px;border-radius:16px}.p9-settings-intro{display:block}.p9-saved-state{display:block;margin-top:8px}.p9-settings-actions{display:grid;grid-template-columns:1fr;bottom:8px}.p9-settings-actions .btn{text-align:center}}


/* Laufender Infostreifen – Admin Editor */
.p9-ticker-editor{display:grid;gap:14px}
.p9-ticker-list{display:grid;gap:10px}
.p9-ticker-row{border:1px solid #e8e1d2;border-radius:16px;background:#fcfbf8;padding:13px}
.p9-ticker-row-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.p9-ticker-row-head>strong{font-size:.82rem;color:#7e631e}
.p9-ticker-row-actions{display:flex;gap:6px}
.p9-ticker-row-actions button{width:34px;height:34px;border:1px solid #ddd5c4;border-radius:10px;background:#fff;color:#333;font-weight:900;cursor:pointer}
.p9-ticker-row-actions button:disabled{opacity:.3;cursor:not-allowed}
.p9-ticker-row-actions button.danger{color:#9c2d2d;border-color:#eccaca;background:#fff8f8}
.p9-ticker-row-grid{display:grid;grid-template-columns:minmax(120px,.35fr) minmax(0,1.65fr);gap:10px}
.p9-ticker-text textarea{min-height:72px}
.p9-ticker-controls{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(240px,1.2fr);gap:12px;align-items:end;padding-top:3px}
.p9-ticker-speed select{width:100%;box-sizing:border-box;border:1px solid #dcd8cf;border-radius:12px;background:#fff;padding:12px 13px;font:inherit;color:#151515;outline:none}
.p9-ticker-speed select:focus{border-color:#bd9330;box-shadow:0 0 0 3px rgba(189,147,48,.11)}
@media(max-width:700px){.p9-ticker-row-grid,.p9-ticker-controls{grid-template-columns:1fr}.p9-ticker-controls .btn{width:100%}}



/* ===== phase9-products.css ===== */
/* Phase 9 – dynamischer Produktkatalog */
.p9p-simple-preview{min-height:180px;border-radius:22px;background:linear-gradient(145deg,#101112,#1f2022);color:#fff;display:grid;place-items:center;align-content:center;gap:8px;padding:24px;text-align:center}.p9p-simple-preview>span{width:48px;height:48px;border-radius:15px;background:#d2a62d;color:#111;display:grid;place-items:center;font-size:1.2rem;font-weight:900}.p9p-simple-preview strong{font-size:1.05rem}.p9p-simple-preview small{color:#b8b8b8}.p9p-product-description{color:#696969;line-height:1.55;min-height:58px}.p9p-empty-public{grid-column:1/-1;padding:30px;border:1px dashed #d8d0bf;border-radius:18px;text-align:center;color:#777;background:#fff}
.p9p-admin-page{display:grid;gap:18px}.p9p-admin-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.p9p-admin-head h2{margin:6px 0 4px;font-size:clamp(1.55rem,3vw,2.1rem)}.p9p-admin-head p{margin:0;color:#6f6f6f;line-height:1.5}.p9p-admin-list{display:grid;gap:12px}.p9p-admin-product{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 18px;background:#fff;border:1px solid #e7e2d7;border-radius:18px;padding:17px;box-shadow:0 8px 24px rgba(0,0,0,.035)}.p9p-admin-product-main{display:grid;grid-template-columns:46px minmax(0,1fr);gap:13px;align-items:start}.p9p-product-icon{width:46px;height:46px;border-radius:14px;background:#111;color:#d6ae42;display:grid;place-items:center;font-weight:900}.p9p-admin-product-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.p9p-admin-product-title strong{font-size:1rem}.p9p-admin-product-title span{font-size:.68rem;font-weight:800;padding:4px 8px;border-radius:999px}.p9p-admin-product-title span.visible{background:#eaf6ee;color:#327244}.p9p-admin-product-title span.hidden{background:#f1f1f1;color:#737373}.p9p-admin-product-main p{margin:6px 0;color:#686868;line-height:1.45;font-size:.86rem}.p9p-admin-product-main small{color:#8a8a8a}.p9p-admin-product-price{font-size:1.18rem;font-weight:900;align-self:start;white-space:nowrap}.p9p-admin-product-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap;padding-top:10px;border-top:1px solid #eee9df}.p9p-danger{border:1px solid #efcccc;background:#fff5f5;color:#9d2d2d}.p9p-danger:hover{background:#ffeaea}
.p9p-editor{border:1px solid #dfd5be;background:#fffdf8;border-radius:20px;padding:18px;box-shadow:0 10px 30px rgba(0,0,0,.045)}.p9p-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid #eee5d2}.p9p-editor-head strong{display:block;font-size:1.08rem}.p9p-editor-head small{display:block;margin-top:5px;color:#858585}.p9p-editor-close{width:38px;height:38px;border-radius:12px;border:1px solid #ded7c8;background:#fff;font-size:1.25rem;cursor:pointer}.p9p-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.p9p-editor-grid .p9p-full{grid-column:1/-1}.p9p-editor-grid select{width:100%;box-sizing:border-box;border:1px solid #dcd8cf;border-radius:12px;background:#fff;padding:12px 13px;font:inherit;color:#151515;outline:none}.p9p-visible-check{display:flex;align-items:center;gap:9px;align-self:end;padding:12px 0;font-weight:750;font-size:.84rem}.p9p-visible-check input{width:18px;height:18px}.p9p-editor-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px;padding-top:14px;border-top:1px solid #eee5d2}.p9p-inquiry-price{width:100%;color:#8b6a19!important;font-weight:800}
.p9-admin-nav-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:1080px){.p9-admin-nav-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.p9p-admin-head{align-items:stretch;display:grid}.p9p-admin-head .btn{width:100%;text-align:center}.p9p-admin-product{grid-template-columns:1fr}.p9p-admin-product-price{grid-row:auto}.p9p-editor-grid{grid-template-columns:1fr}.p9p-editor-grid .p9p-full{grid-column:auto}.p9p-editor-actions{display:grid;grid-template-columns:1fr}.p9p-editor-actions .btn{text-align:center}.p9-admin-nav-grid{grid-template-columns:1fr}}


/* Kompakte Produktstruktur: digital, NFC-Komplett, Zusatzkarte */
.p29-digital-preview{min-height:180px;border-radius:22px;background:linear-gradient(145deg,#111214,#202124);display:grid;place-items:center;padding:20px}
.p29-phone{width:112px;min-height:154px;border:2px solid #d1a638;border-radius:22px;background:#090a0b;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:16px 10px;box-shadow:0 14px 30px rgba(0,0,0,.24)}
.p29-phone-top{width:34px;height:5px;border-radius:99px;background:#d1a638;margin-bottom:14px}
.p29-avatar{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;background:#d1a638;color:#111;font-size:.72rem;font-weight:900;margin-bottom:10px}
.p29-phone strong{font-size:.78rem;line-height:1.25}
.p29-phone span{margin-top:8px;color:#bbb;font-size:.6rem;line-height:1.35}
.p29-nfc-pair{min-height:180px;position:relative;display:grid;place-items:center}
.p29-nfc-pair .product-card-preview{position:absolute;width:175px;height:105px;box-sizing:border-box}
.p29-nfc-pair .product-card-preview.black{transform:translate(-18px,-12px) rotate(-6deg);z-index:2}
.p29-nfc-pair .product-card-preview.white{transform:translate(22px,18px) rotate(5deg);z-index:1}
.p29-extra-card-note{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr;align-items:start;gap:16px;padding:18px 20px;border:1px solid rgba(183,138,34,.24);border-radius:18px;background:#fffaf0}
.p29-extra-card-note strong{display:block;font-size:1rem;color:#171717}
.p29-extra-card-note p{margin:6px 0;color:#666;line-height:1.55;font-size:.86rem}
.p29-extra-card-note small{color:#887042}
.p29-extra-badge{white-space:nowrap;border-radius:999px;background:#111;color:#d7b14a;padding:7px 10px;font-size:.72rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
@media(max-width:700px){
  .p29-extra-card-note{grid-template-columns:1fr;gap:10px}
  .p29-extra-badge{justify-self:start}
  .p29-nfc-pair .product-card-preview{width:165px;height:102px}
}



/* ===== phase18-inventory.css ===== */
/* Phase 18 – Bestand & Produktbilder */
.p18-product-image{min-height:180px;border-radius:22px;overflow:hidden;background:#f6f3ec;display:grid;place-items:center}.p18-product-image img{display:block;width:100%;height:220px;object-fit:contain;background:#fff}.p18-sold-out{opacity:.55;cursor:not-allowed}.p18-public-stock{display:block;margin-top:5px;color:#8e2c2c;font-weight:850;font-size:.72rem}.p18-admin-stock{margin-top:8px}.p18-stock-badge{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:850}.p18-stock-badge.ok{background:#eaf6ee;color:#2e7043}.p18-stock-badge.warning{background:#fff3d8;color:#875f0b}.p18-stock-badge.danger{background:#fff0ef;color:#a62d27}.p18-stock-badge.neutral{background:#f1f1f1;color:#6d6d6d}.p9p-product-icon img{width:100%;height:100%;object-fit:cover;border-radius:14px}.p18-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:14px;border:1px solid #e6dcc8;border-radius:16px;background:#fff}.p18-editor-fields small{display:block;margin-top:5px;color:#858585;font-size:.72rem;line-height:1.4}.p18-image-field{grid-column:1/-1}.p18-image-preview{grid-column:1/-1;display:flex;align-items:center;gap:12px;min-height:72px;padding:10px;border:1px dashed #ddd3bf;border-radius:14px;color:#777;font-size:.8rem}.p18-image-preview img{width:96px;height:72px;object-fit:contain;border-radius:10px;background:#fff;border:1px solid #eee}.p18-image-preview label{display:flex;align-items:center;gap:7px;font-weight:750}.p18-image-preview input{width:auto}@media(max-width:760px){.p18-editor-fields{grid-template-columns:1fr}.p18-image-field,.p18-image-preview{grid-column:auto}.p18-product-image img{height:200px}}


/* ===== phase19-catalog.css ===== */
/* Phase 19 – product categories and scalable catalog */
.p19-product-category{display:none;margin:0 0 7px;padding:4px 8px;border-radius:999px;background:#f2eee5;color:#6d582b;font-size:.68rem;font-weight:850}#karten:has(.p19-category-filter) .p19-product-category{display:inline-flex}.p19-category-filter{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 16px}.p19-category-filter button{border:1px solid #ded7ca;background:#fff;border-radius:999px;padding:8px 11px;font-size:.76rem;font-weight:800;cursor:pointer}.p19-category-filter button.active{background:#111315;color:#fff;border-color:#111315}.p19-product-hidden{display:none!important}.p19-editor-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.p19-editor-fields .p19-full{grid-column:1/-1}.p19-editor-fields textarea{min-height:86px}.p19-admin-category{display:inline-flex;margin-top:7px;padding:4px 7px;border-radius:999px;background:#f2eee5;color:#6f5b31;font-size:.68rem;font-weight:850}.p19-variants-note{color:#888;font-size:.72rem;margin-top:4px}.p19-smart-hidden{display:none!important}
@media(max-width:760px){.p19-editor-fields{grid-template-columns:1fr}.p19-editor-fields .p19-full{grid-column:auto}.p19-category-filter{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.p19-category-filter button{white-space:nowrap}}
