/* Zentrale UI-Verfeinerung: Benachrichtigungen, Seitenraster und öffentliche Startseite. */
.notification-center{position:relative}.notification-center>summary{list-style:none}.notification-center>summary::-webkit-details-marker{display:none}.notification-trigger{position:relative;display:grid;width:38px;height:38px;place-items:center;border:1px solid var(--app-border,#2b3039);border-radius:8px;background:#15181e;color:#aeb6c0;cursor:pointer;transition:.16s}.notification-trigger:hover,.notification-center[open] .notification-trigger{border-color:#48515d;background:#20242b;color:#fff}.notification-trigger svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.notification-count{position:absolute;top:-6px;right:-7px;display:grid;min-width:19px;height:19px;place-items:center;padding:0 5px;border:2px solid #0b0d10;border-radius:99px;background:#d71920;color:#fff;font-size:.6rem;font-weight:800;line-height:1}.notification-popover{position:absolute;z-index:80;top:47px;right:0;width:min(410px,calc(100vw - 24px));overflow:hidden;border:1px solid #303640;border-radius:11px;background:#15181e;box-shadow:0 24px 70px rgba(0,0,0,.58)}.notification-popover>header{display:flex;min-height:67px;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid #282e36}.notification-popover>header>div{display:flex;flex-direction:column}.notification-popover>header span:first-child{color:#737d89;font-size:.59rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}.notification-popover>header strong{margin-top:2px;font-size:.88rem}.notification-unread-label{padding:4px 7px;border-radius:99px;background:rgba(215,25,32,.11);color:#f17378!important;font-size:.62rem!important;letter-spacing:0!important;text-transform:none!important}.notification-menu-list{max-height:390px;overflow-y:auto}.notification-menu-item{margin:0;border-bottom:1px solid #242a31}.notification-menu-item:last-child{border-bottom:0}.notification-menu-item button{display:grid;width:100%;grid-template-columns:37px minmax(0,1fr);gap:10px;padding:12px 14px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.notification-menu-item button:hover{background:#1c2026}.notification-menu-item.is-unread button{background:linear-gradient(90deg,rgba(215,25,32,.08),transparent 72%)}.notification-menu-item.is-unread button:hover{background:#20242b}.notification-type{display:grid;width:36px;height:36px;place-items:center;border:1px solid #353c46;border-radius:8px;background:#20252c;color:#aeb7c2}.notification-type svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.notification-type-appointment{border-color:rgba(94,147,216,.32);background:rgba(94,147,216,.1);color:#83afe8}.notification-type-order{border-color:rgba(226,168,71,.32);background:rgba(226,168,71,.1);color:#e6b75f}.notification-type-invoice{border-color:rgba(61,187,127,.32);background:rgba(61,187,127,.1);color:#6bcf9d}.notification-type-message{border-color:rgba(191,113,220,.32);background:rgba(191,113,220,.1);color:#ca8ce1}.notification-menu-copy{display:flex;min-width:0;flex-direction:column}.notification-menu-copy strong{overflow:hidden;font-size:.73rem;text-overflow:ellipsis;white-space:nowrap}.notification-menu-copy>span{display:-webkit-box;margin-top:2px;overflow:hidden;color:#9ca5b0;font-size:.67rem;line-height:1.4;-webkit-line-clamp:2;-webkit-box-orient:vertical}.notification-menu-copy small{margin-top:5px;color:#68727e;font-size:.59rem}.notification-menu-empty{display:flex;min-height:180px;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#77818d}.notification-menu-empty>span{margin-bottom:4px}.notification-menu-empty strong{color:#c8ced5;font-size:.78rem}.notification-menu-empty small{font-size:.65rem}.notification-popover>footer{display:flex;min-height:48px;align-items:center;justify-content:space-between;gap:12px;padding:9px 14px;border-top:1px solid #282e36;background:#111419}.notification-popover>footer a,.notification-popover>footer button{padding:0;border:0;background:none;color:#c7cdd4;font:700 .66rem Manrope,Arial,sans-serif;cursor:pointer}.notification-popover>footer a:hover,.notification-popover>footer button:hover{color:#fff}

/* Einheitliches Seitenraster im Portal. */
.app-shell .portal-main{padding-top:24px}.app-shell .portal-main>.portal-head,.app-shell .portal-main>*>.portal-head,.app-shell .portal-main>*>*>.portal-head,.app-shell .dashboard-toolbar{position:relative;min-height:92px;align-items:center;margin-bottom:16px;padding:17px 19px;overflow:visible;border:1px solid var(--app-border);border-radius:9px;background:linear-gradient(110deg,#191d23,#15181d 72%)}.app-shell .portal-main>.portal-head:before,.app-shell .portal-main>*>.portal-head:before,.app-shell .portal-main>*>*>.portal-head:before,.app-shell .dashboard-toolbar:before{position:absolute;top:0;bottom:0;left:0;width:3px;background:var(--app-red);content:""}.app-shell .portal-head h1,.app-shell .dashboard-toolbar h1{margin:2px 0 0;line-height:1.2}.app-shell .portal-head p,.app-shell .dashboard-toolbar p{margin:5px 0 0;font-size:.74rem}.app-shell .portal-head>.actions,.app-shell .dashboard-toolbar>.actions{margin-top:0}.app-shell .portal-main .panel>h2:first-child,.app-shell .portal-main .work-panel>header h2{letter-spacing:-.01em}.app-shell .portal-main .panel>h2:first-child{padding-bottom:12px;border-bottom:1px solid var(--app-border-soft)}.app-shell .portal-main .tabs{gap:4px;padding:4px;border:1px solid var(--app-border);border-radius:8px;background:#111419}.app-shell .portal-main .tabs button{min-height:35px;padding:7px 11px;border:0;border-radius:5px;background:transparent}.app-shell .portal-main .tabs button.active{background:#272c34;color:#fff}.app-shell .portal-main .search-panel{box-shadow:none}.app-shell .portal-main .table-wrap{overflow:auto}.app-shell .portal-main .table-wrap thead{position:sticky;z-index:2;top:0}.app-shell .standalone-workspace{width:100%}.app-shell .standalone-workspace>*,.app-shell .portal-main>*{width:100%}

/* Aufklappformulare bleiben vor Tabellen und nachfolgenden Seitenbereichen sichtbar. */
.app-shell .portal-head:has(.create-dropdown[open]){z-index:50}.app-shell .portal-head .create-dropdown{z-index:51}.app-shell .portal-head .create-dropdown[open]>.panel{z-index:60;max-height:calc(100vh - 150px);overflow-y:auto;overscroll-behavior:contain}

.notification-filters{display:flex;gap:5px;margin-bottom:12px;padding:4px;border:1px solid var(--app-border);border-radius:8px;background:#111419}.notification-filters a{padding:7px 12px;border-radius:5px;color:#919ba6;font-size:.72rem;font-weight:700}.notification-filters a:hover,.notification-filters a.active{background:#252a32;color:#fff}.notification-page-list{overflow:hidden;border:1px solid var(--app-border);border-radius:9px;background:var(--app-surface)}.notification-page-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;min-height:88px;padding:13px 15px;border-bottom:1px solid var(--app-border-soft)}.notification-page-item:last-child{border-bottom:0}.notification-page-item.is-unread{background:linear-gradient(90deg,rgba(215,25,32,.07),transparent 65%)}.notification-copy{min-width:0}.notification-copy>div{display:flex;align-items:center;gap:8px}.notification-copy strong{font-size:.78rem}.notification-copy p{margin:3px 0 0;color:var(--app-muted);font-size:.72rem;line-height:1.45}.notification-copy small{display:block;margin-top:5px;color:#66717d;font-size:.62rem}.notification-new{padding:2px 6px;border-radius:99px;background:#d71920;color:#fff;font-size:.55rem;font-weight:800;text-transform:uppercase}.notification-empty{display:flex;min-height:260px;align-items:center;justify-content:center;flex-direction:column;gap:7px;padding:30px;color:var(--app-muted);text-align:center}.notification-empty>span{margin-bottom:5px}.notification-empty strong{color:#d7dce2}.notification-empty p{margin:0;font-size:.75rem}

/* Öffentliche Startseite. */
.home-page{background:#080a0d}.home-page .site-header{background:rgba(8,10,13,.9)}.home-hero{position:relative;overflow:hidden;padding:82px 0 66px;background:radial-gradient(circle at 78% 18%,rgba(215,25,32,.19),transparent 31%),radial-gradient(circle at 8% 88%,rgba(67,77,91,.18),transparent 32%),#090b0e}.home-hero:before{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.022) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px);background-size:54px 54px;mask-image:linear-gradient(to bottom,black,transparent 86%);content:""}.home-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.03fr) minmax(420px,.97fr);align-items:center;gap:65px}.home-status{display:inline-flex;align-items:center;gap:9px;padding:7px 11px;border:1px solid #303640;border-radius:99px;background:rgba(19,23,29,.78);color:#b8c0ca;font-size:.67rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.home-status span{width:7px;height:7px;border-radius:50%;background:#48c98a;box-shadow:0 0 0 4px rgba(72,201,138,.11)}.home-hero h1{margin:22px 0 22px;font-size:clamp(3.2rem,6.4vw,6.3rem);line-height:.92;letter-spacing:-.065em}.home-hero h1 em{color:#e51b23;font-style:normal}.home-hero-copy>p{max-width:650px;margin:0;color:#aab3be;font-size:1.06rem;line-height:1.75}.home-hero-actions{display:flex;align-items:center;gap:24px;margin-top:31px}.home-primary-action{min-width:176px}.home-primary-action span,.home-text-link span{margin-left:7px}.home-text-link{display:inline-flex;align-items:center;color:#d8dde3;font-size:.78rem;font-weight:800}.home-text-link:hover{color:#fff}.home-confidence{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:48px;overflow:hidden;border:1px solid #252b33;border-radius:9px;background:#252b33}.home-confidence>span{display:flex;min-height:72px;justify-content:center;flex-direction:column;padding:11px 14px;background:#111419}.home-confidence strong{font-size:.75rem}.home-confidence small{margin-top:3px;color:#77818d;font-size:.62rem}.home-hero-visual{position:relative;overflow:hidden;min-height:480px;border:1px solid #2a3038;border-radius:18px;background:linear-gradient(145deg,#171b21,#0d1014);box-shadow:0 34px 100px rgba(0,0,0,.45)}.home-hero-visual:before{position:absolute;top:-90px;right:-110px;width:320px;height:320px;border:60px solid rgba(255,255,255,.024);border-radius:50%;content:""}.home-visual-top{display:flex;align-items:center;justify-content:space-between;padding:19px 21px;border-bottom:1px solid #292f37}.home-visual-top span{color:#737e8a;font-size:.62rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}.home-visual-top strong{font-size:.7rem}.home-car-stage{position:relative;display:grid;height:282px;place-items:center;overflow:hidden}.home-car-stage:after{position:absolute;right:9%;bottom:33px;left:9%;height:1px;background:linear-gradient(90deg,transparent,#535d69,transparent);content:""}.home-car-glow{position:absolute;width:75%;height:44%;border-radius:50%;background:rgba(215,25,32,.16);filter:blur(45px)}.home-car{position:relative;z-index:1;width:88%;fill:rgba(255,255,255,.025);stroke:#929ca7;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.home-car circle{fill:#11151a;stroke:#d71920;stroke-width:4}.home-service-pulse{display:flex;align-items:center;gap:11px;margin:0 20px;padding:14px;border:1px solid #2c323a;border-radius:9px;background:#111419}.pulse-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:7px;background:rgba(61,187,127,.1);color:#6ed2a1;font-size:.8rem;font-weight:900}.home-service-pulse>span:last-child{display:flex;flex-direction:column}.home-service-pulse small{color:#717c88;font-size:.58rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.home-service-pulse strong{margin-top:2px;font-size:.72rem}.home-visual-chips{display:flex;gap:7px;padding:15px 20px}.home-visual-chips span{padding:5px 8px;border:1px solid #303740;border-radius:99px;color:#8f99a5;font-size:.58rem;font-weight:700}.home-service-strip{border-top:1px solid #20252c;border-bottom:1px solid #20252c;background:#0c0f13}.home-service-strip .container{display:flex;align-items:center;justify-content:space-between;gap:26px;min-height:64px;overflow-x:auto;color:#707a86;font-size:.61rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;scrollbar-width:none}.home-service-strip span{flex:0 0 auto}.home-section-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,.6fr);align-items:end;gap:55px;margin-bottom:38px}.home-kicker{color:#e8484e;font-size:.67rem;font-weight:800;letter-spacing:.17em;text-transform:uppercase}.home-section-head h2,.home-about-copy h2,.home-contact-card h2{margin:8px 0 0;font-size:clamp(2.1rem,4vw,3.8rem);line-height:1.05;letter-spacing:-.045em}.home-section-head>p{margin:0;color:#929ca8;font-size:.9rem;line-height:1.7}.home-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.home-service-card{position:relative;display:flex;min-height:280px;flex-direction:column;padding:23px;overflow:hidden;border:1px solid #282f37;border-radius:11px;background:linear-gradient(145deg,#161a20,#111419);transition:.2s}.home-service-card:after{position:absolute;right:-38px;bottom:-80px;color:rgba(255,255,255,.025);font-size:9rem;font-weight:800;content:attr(data-number)}.home-service-card:hover{transform:translateY(-3px);border-color:#505a67;background:#191e24}.home-service-number{color:#5f6874;font-family:Consolas,monospace;font-size:.68rem}.home-service-category{margin-top:36px;color:#e8484e;font-size:.59rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.home-service-card h3{margin:7px 0 8px;font-size:1.05rem}.home-service-card p{margin:0;color:#8f99a5;font-size:.78rem;line-height:1.65}.home-card-link{margin-top:auto;padding-top:22px;color:#ced4db;font-size:.69rem;font-weight:800}.home-card-link b{margin-left:6px;color:#e8484e}.home-process-section{background:#0d1014}.home-process-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden;border:1px solid #292f37;border-radius:12px;background:#292f37;gap:1px}.home-process-grid article{display:grid;grid-template-columns:45px 1fr;gap:16px;min-height:180px;padding:28px;background:#14181d}.home-process-grid article>span{display:grid;width:42px;height:42px;place-items:center;border:1px solid #353d47;border-radius:8px;color:#e84a50;font-family:Consolas,monospace;font-size:.7rem}.home-process-grid small{color:#68737f;font-size:.6rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.home-process-grid h3{margin:5px 0 7px;font-size:1rem}.home-process-grid p{margin:0;color:#8d97a3;font-size:.75rem;line-height:1.55}.home-about-grid{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(0,1.1fr);align-items:center;gap:78px}.home-about-visual{position:relative;display:grid;min-height:480px;place-items:center;overflow:hidden;border:1px solid #2b323b;border-radius:16px;background:radial-gradient(circle at 45% 42%,rgba(215,25,32,.23),transparent 35%),linear-gradient(145deg,#171b21,#0c0f13)}.home-about-visual:before,.home-about-visual:after{position:absolute;width:290px;height:290px;border:45px solid rgba(255,255,255,.025);border-radius:50%;content:""}.home-about-visual:before{top:-130px;right:-105px}.home-about-visual:after{bottom:-155px;left:-95px}.home-about-mark{color:rgba(255,255,255,.055);font-size:12rem;font-weight:900;letter-spacing:-.08em}.home-about-badge{position:absolute;right:20px;bottom:20px;display:flex;min-width:230px;flex-direction:column;padding:17px;border:1px solid #343b45;border-radius:9px;background:rgba(13,16,20,.92)}.home-about-badge small{color:#e84a50;font-size:.57rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.home-about-badge strong{margin-top:5px;font-size:.78rem;line-height:1.5}.home-about-copy>p{color:#9ca6b1;line-height:1.75}.home-about-copy ul{display:grid;gap:11px;margin:28px 0;padding:0;list-style:none}.home-about-copy li{display:flex;align-items:flex-start;gap:10px;color:#c5cbd2;font-size:.8rem}.home-about-copy li span{display:grid;width:21px;height:21px;flex:0 0 21px;place-items:center;border-radius:5px;background:rgba(61,187,127,.1);color:#67cc9a;font-size:.63rem}.home-contact-section{padding-top:38px}.home-contact-card{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:60px;padding:46px;border:1px solid #373e48;border-radius:16px;background:radial-gradient(circle at 15% 10%,rgba(215,25,32,.22),transparent 34%),#15191f}.home-contact-card>div>p{max-width:560px;color:#a5aeb9}.home-contact-actions{display:flex;gap:9px;margin-top:24px}.home-contact-card dl{display:grid;margin:0;border:1px solid #303740;border-radius:10px;background:#101318}.home-contact-card dl>div{display:grid;grid-template-columns:105px 1fr;gap:14px;padding:13px 15px;border-bottom:1px solid #282e36}.home-contact-card dl>div:last-child{border-bottom:0}.home-contact-card dt{color:#737e8a;font-size:.61rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.home-contact-card dd{margin:0;color:#d3d8de;font-size:.72rem;overflow-wrap:anywhere}.home-contact-card dd a:hover{color:#fff}

@media(max-width:1100px){.home-hero-grid{grid-template-columns:1fr;gap:44px}.home-hero-copy{max-width:820px}.home-hero-visual{width:min(680px,100%);min-height:440px}.home-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-about-grid{gap:45px}}
@media(max-width:820px){.notification-center{width:100%;order:-1}.notification-trigger{width:100%;display:flex;justify-content:flex-start;gap:9px;padding:0 12px}.notification-trigger:after{content:"Benachrichtigungen";font-size:.78rem;font-weight:700}.notification-count{position:static;margin-left:auto;border:0}.notification-popover{position:static;width:100%;margin-top:6px;box-shadow:none}.app-shell .portal-main>.portal-head,.app-shell .portal-main>*>.portal-head,.app-shell .portal-main>*>*>.portal-head,.app-shell .dashboard-toolbar{min-height:0;align-items:stretch;padding:15px 16px}.notification-page-item{grid-template-columns:38px minmax(0,1fr)}.notification-page-item>form{grid-column:2}.home-hero{padding-top:58px}.home-section-head{grid-template-columns:1fr;gap:16px}.home-about-grid,.home-contact-card{grid-template-columns:1fr}.home-contact-card{gap:32px}.home-about-visual{min-height:370px}}
@media(max-width:620px){.home-hero{padding:44px 0 46px}.home-hero h1{font-size:clamp(2.65rem,14vw,4.1rem)}.home-hero-copy>p{font-size:.92rem}.home-hero-actions{align-items:stretch;flex-direction:column;gap:16px}.home-hero-actions .btn{width:100%}.home-confidence{grid-template-columns:1fr}.home-confidence>span{min-height:58px}.home-hero-visual{min-height:365px;border-radius:13px}.home-car-stage{height:215px}.home-service-pulse{margin-inline:12px}.home-visual-chips{padding-inline:12px;overflow-x:auto}.home-service-strip .container{min-height:54px}.home-service-grid,.home-process-grid{grid-template-columns:1fr}.home-service-card{min-height:235px}.home-process-grid article{min-height:145px;padding:22px}.home-about-grid{grid-template-columns:1fr}.home-about-visual{min-height:300px}.home-about-mark{font-size:8rem}.home-about-badge{right:12px;bottom:12px;left:12px;min-width:0}.home-contact-card{padding:25px 20px}.home-contact-actions{flex-direction:column}.home-contact-actions .btn{width:100%}.home-contact-card dl>div{grid-template-columns:1fr;gap:3px}.notification-page-item{padding:12px}.notification-page-item>form .btn{width:100%}}
