/* ===== Basis (gemeinsam) ===== */
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Inter',sans-serif;background:#f7f9fc;color:#111827;min-height:100vh;display:flex;flex-direction:column}
a{text-decoration:none;color:inherit}
button{cursor:pointer;font-family:inherit;border:none;background:none}
input,textarea,select{font-family:inherit}
img{display:block;max-width:100%}

/* ===== Portal-Layout (Header oben, gemeinsam) ===== */

.topbar{background:#BC123D;padding:6px 20px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:rgba(255,255,255,.85)}
.topbar-left{display:flex;align-items:center;gap:16px}.topbar-right{display:flex;align-items:center;gap:8px}
.user-avatar{width:20px;height:20px;border-radius:50%;background:rgba(255,255,255,.2);color:#fff;font-size:9px;font-weight:700;display:flex;align-items:center;justify-content:center}
.role-badge{background:rgba(255,255,255,.2);color:#fff;font-size:10px;font-weight:600;padding:2px 8px;border-radius:99px}
.logout-btn{color:rgba(255,255,255,.7);font-size:11px;padding:4px 8px;border-radius:4px;display:inline-flex;align-items:center;gap:4px}
.site-header{background:#002D5E;padding:0 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.08)}
.site-header nav{display:flex;align-items:center;gap:4px}
.nav-btn{color:rgba(255,255,255,.65);font-size:13px;padding:8px 12px;border-radius:8px;border-bottom:2px solid transparent;display:flex;align-items:center;gap:6px}
.nav-btn:hover{color:#fff}
.nav-btn.active{color:#fff;background:rgba(255,255,255,.12);border-bottom-color:#BC123D;font-weight:600}
.new-order-btn{background:#BC123D;color:#fff;font-size:13px;font-weight:600;padding:10px 16px;border-radius:8px;display:inline-flex;align-items:center;gap:6px}
main{flex:1}
.page-hero{padding:48px 24px;background:linear-gradient(120deg,#002D5E 0%,#001229 100%)}
.page-hero-inner{max-width:1100px;margin:0 auto}
.hero-eyebrow{font-size:11px;letter-spacing:.08em;font-weight:600;color:#8EA5C4;text-transform:uppercase;margin-bottom:4px}
.hero-title{color:#fff;font-size:clamp(22px,4vw,32px);font-weight:800;letter-spacing:-.3px;margin-bottom:8px}
.hero-sub{color:rgba(255,255,255,.55);font-size:15px}
.container{max-width:1100px;margin:0 auto;padding:32px 24px}
.card{background:#fff;border:1px solid #e5eaf0;border-radius:16px;box-shadow:0 4px 20px rgba(0,45,94,.06);overflow:hidden}
.card-header{padding:16px 24px;border-bottom:1px solid #f0f3f8}
.card-title{font-size:14px;font-weight:700;color:#111827}
.card-sub{font-size:11px;color:#9CA3AF;margin-top:2px}
.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
@media(max-width:900px){.kpi-grid{grid-template-columns:repeat(2,1fr)}}
.kpi{padding:18px 20px;background:#fff;border-radius:14px;border:1px solid #e5eaf0;box-shadow:0 4px 20px rgba(0,45,94,.06)}
.kpi-card{background:#fff;border:1px solid #e5eaf0;border-radius:16px;padding:20px;box-shadow:0 4px 20px rgba(0,45,94,.06)}
.kpi-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:16px;font-size:20px}
.kpi .kpi-icon{width:38px;height:38px;border-radius:10px;margin-bottom:14px;font-size:18px}
.kpi-val{font-size:24px;font-weight:700;color:#111827}
.kpi-value{font-size:28px;font-weight:700;color:#111827;margin-bottom:2px}
.kpi-lbl{font-size:11px;color:#6B7280;margin-top:2px}
.kpi-label{font-size:11px;color:#6B7280;margin-bottom:4px}
.kpi-sub{font-size:11px;margin-top:4px}
.badge{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:99px;font-size:11px;font-weight:500;white-space:nowrap}
.badge .dot{width:6px;height:6px;border-radius:50%}
.b-offen{background:#fef9c3;color:#854d0e}.b-offen .dot{background:#eab308}
.b-vergeben{background:#dbeafe;color:#1e40af}.b-vergeben .dot{background:#3b82f6}
.b-abgeschlossen{background:#dcfce7;color:#166534}.b-abgeschlossen .dot{background:#22c55e}
.b-angenommen{background:#dcfce7;color:#166534}
.b-pruefung{background:#fef9c3;color:#854d0e}
.b-abgelehnt{background:#fee2e2;color:#991b1b}
.btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:10px;font-size:12px;font-weight:600}
.btn-r{background:#BC123D;color:#fff}
.btn-d{background:#002D5E;color:#fff}
.btn-g{background:#f5f7fa;color:#374151;border:1px solid #e5e7eb}
.btn-primary{background:#BC123D;color:#fff;padding:10px 18px;border-radius:10px;font-weight:600;font-size:13px;display:inline-flex;align-items:center;gap:6px}
.btn-outline{border:1.5px solid #e5eaf0;color:#374151;padding:10px 18px;border-radius:10px;font-size:13px;background:#fff;display:inline-flex;align-items:center;gap:6px}
.input{border:1.5px solid #e5eaf0;border-radius:10px;padding:9px 13px;font-size:13px;outline:none;background:#fff;color:#111827;width:100%}
.input:focus{border-color:#BC123D}
table{width:100%;border-collapse:collapse}
th{text-align:left;padding:10px 16px;font-size:11px;font-weight:500;color:#9CA3AF;background:#fafbfc}
td{padding:11px 16px;font-size:12px;color:#374151;border-top:1px solid #f0f3f8}
.logo-text{display:inline-flex;align-items:center;font-size:22px;font-weight:800;letter-spacing:-.5px}
.logo-text .a{color:#fff}.logo-text .b{color:#BC123D}
.site-footer{background:#000;margin-top:auto}
.footer-main{max-width:1100px;margin:0 auto;padding:40px 24px}
.footer-grid{display:grid;grid-template-columns:auto auto auto;gap:48px;justify-content:space-between}
@media(max-width:768px){.footer-grid{grid-template-columns:1fr}}
.footer-logo-desc{color:rgba(255,255,255,.45);font-size:13px;line-height:1.75;max-width:260px;margin-top:12px}
.footer-col h6{font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.35);margin-bottom:12px}
.footer-col-links{display:flex;flex-direction:column;gap:8px}
.footer-col-links a{color:rgba(255,255,255,.5);font-size:13px}
.footer-col-links a:hover{padding-left:6px;color:rgba(255,255,255,.8)}
.footer-bottom{background:#BC123D;padding:10px 24px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:rgba(255,255,255,.75)}
.footer-bottom-links{display:flex;gap:16px}

/* ===== Startseite (gekapselt unter .home) ===== */
.home header.site-header{position:fixed;top:0;left:0;right:0;z-index:50;transition:box-shadow .3s;display:block;background:transparent;padding:0;border-bottom:none}
.home header.site-header.scrolled{box-shadow:0 4px 24px rgba(0,45,94,.18)}
.home .site-header nav{gap:0}
.home .topbar{background:#BC123D;padding:8px 24px;display:flex;align-items:center;justify-content:space-between}
.home .topbar-contact{display:flex;align-items:center;gap:20px;color:rgba(255,255,255,.85);font-size:12px}
.home .topbar-actions{display:flex;align-items:center;gap:16px}
.home .topbar-actions a{color:#fff;font-size:12px;opacity:.85}
.home .topbar-actions a.btn-reg{border:1px solid rgba(255,255,255,.4);padding:3px 10px;border-radius:4px}
.home .main-nav{background:#002D5E;padding:0 24px;display:flex;align-items:center;justify-content:space-between}
.home .main-nav nav{display:flex;align-items:center}
.home .main-nav nav a{color:rgba(255,255,255,.75);font-size:14px;padding:20px 16px;position:relative;transition:color .2s;display:block}
.home .main-nav nav a:hover{color:#fff}
.home .main-nav nav a::after{content:'';position:absolute;bottom:0;left:16px;right:16px;height:2px;background:#BC123D;transform:scaleX(0);transition:transform .2s;border-radius:2px;transform-origin:left}
.home .main-nav nav a:hover::after{transform:scaleX(1)}
.home .nav-cta{background:#BC123D;color:#fff!important;font-size:14px;padding:10px 20px;border-radius:4px;display:flex;align-items:center;gap:8px;transition:opacity .2s;font-weight:600}
.home .hamburger{display:none;background:none;border:none;cursor:pointer;color:#fff;padding:16px 0;font-size:22px}
@media(max-width:1024px){.home .main-nav nav,.home .nav-cta-wrap{display:none!important}.home .hamburger{display:block}}
.home .mobile-menu{display:none;background:#002D5E;border-top:1px solid rgba(255,255,255,.1)}
.home .mobile-menu.open{display:block}
.home .mobile-menu a{display:block;padding:14px 24px;color:rgba(255,255,255,.8);font-size:14px;border-bottom:1px solid rgba(255,255,255,.1)}
.home .m-cta{margin:16px 24px;background:#BC123D;color:#fff;text-align:center;padding:12px;border-radius:4px;display:block}
.home .hero{min-height:100vh;padding-top:132px;position:relative;display:flex;align-items:center}
.home .hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.home .hero-overlay{position:absolute;inset:0;background:linear-gradient(105deg,rgba(0,45,94,.88) 0%,rgba(0,45,94,.65) 60%,rgba(0,0,0,.4) 100%)}
.home .hero-content{position:relative;max-width:1200px;margin:0 auto;padding:80px 24px;width:100%}
.home .hero-inner{max-width:580px}
.home .eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:20px}
.home .eyebrow-line{height:1px;width:32px;background:#BC123D}
.home .eyebrow-text{font-size:11px;letter-spacing:.1em;font-weight:600;color:#8EA5C4;text-transform:uppercase}
.home h1.hero-title{color:#fff;font-size:clamp(32px,5vw,58px);line-height:1.1;font-weight:700;letter-spacing:-.5px;margin-bottom:24px}
.home .hero-sub{color:rgba(255,255,255,.75);font-size:clamp(15px,2vw,18px);line-height:1.7;max-width:520px;margin-bottom:32px}
.home .hero-btns{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:40px}
.home .btn-primary{background:#BC123D;color:#fff;font-size:14px;padding:16px 28px;border-radius:4px;display:inline-flex;align-items:center;gap:8px;box-shadow:0 6px 20px rgba(188,18,61,.4);transition:opacity .2s}
.home .btn-primary:hover{opacity:.9}
.home .btn-outline{color:#fff;font-size:14px;padding:16px 28px;border-radius:4px;border:2px solid rgba(255,255,255,.4);display:inline-flex;align-items:center;gap:8px;background:transparent}
.home .btn-outline:hover{background:rgba(255,255,255,.1)}
.home .trust-badges{display:flex;flex-wrap:wrap;align-items:center;gap:24px;padding-top:32px;border-top:1px solid rgba(255,255,255,.12)}
.home .trust-num{color:#BC123D;font-size:20px;font-weight:700}
.home .trust-label{color:rgba(255,255,255,.6);font-size:12px}
.home .section-eyebrow{font-size:11px;letter-spacing:.1em;font-weight:600;color:#BC123D;text-transform:uppercase}
.home .section-title{margin-top:12px;margin-bottom:16px;color:#002D5E;font-size:clamp(26px,4vw,38px);font-weight:700;line-height:1.2}
.home .section-desc{color:#555;font-size:16px;line-height:1.7}
.home .vorteile{background:#fff;padding:96px 24px}
.home .vorteile-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
@media(max-width:768px){.home .vorteile-grid{grid-template-columns:1fr}}
.home .vorteil-card{background:#fff;border:1px solid #e5eaf0;box-shadow:0 4px 20px rgba(0,45,94,.06);border-radius:12px;padding:36px;position:relative;overflow:hidden;transition:all .3s;cursor:default}
.home .vorteil-card:hover{box-shadow:0 12px 40px rgba(0,45,94,.14);transform:translateY(-6px);border-color:#8EA5C4}
.home .vorteil-icon{width:56px;height:56px;border-radius:12px;background:rgba(188,18,61,.08);color:#BC123D;display:flex;align-items:center;justify-content:center;margin-bottom:24px;font-size:24px}
.home .vorteil-title{color:#002D5E;font-size:18px;font-weight:700;margin-bottom:12px}
.home .vorteil-text{color:#555;font-size:15px;line-height:1.65}
.home .leistungen{background:#f7f9fc;padding:96px 24px}
.home .leistungen-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
@media(max-width:1024px){.home .leistungen-inner{grid-template-columns:1fr}}
.home .service-card{background:#fff;border:1px solid #e5eaf0;border-radius:12px;padding:20px;display:flex;align-items:flex-start;gap:16px;transition:all .2s;cursor:default;margin-bottom:16px}
.home .service-card:last-child{margin-bottom:0}
.home .service-icon{width:48px;height:48px;border-radius:8px;background:rgba(188,18,61,.08);color:#BC123D;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:20px}
.home .service-title{color:#002D5E;font-size:15px;font-weight:600;margin-bottom:4px}
.home .service-text{color:#666;font-size:14px;line-height:1.6}
.home .ueber-uns{background:#fff;padding:96px 24px}
.home .ueber-uns-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
@media(max-width:1024px){.home .ueber-uns-inner{grid-template-columns:1fr}}
.home .team-img-wrap{position:relative}
.home .team-img{border-radius:12px;width:100%;height:420px;object-fit:cover}
.home .team-badge{position:absolute;bottom:-20px;right:-16px;background:#002D5E;border-radius:12px;padding:20px;box-shadow:0 8px 24px rgba(0,0,0,.2)}
.home .team-badge-num{color:#fff;font-size:32px;font-weight:700}
.home .team-badge-text{color:rgba(255,255,255,.7);font-size:12px;margin-top:4px}
.home .stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:16px}
.home .stat-num{color:#BC123D;font-size:26px;font-weight:700}
.home .stat-label{color:#555;font-size:14px;margin-top:4px}
.home .stats-bar{background:linear-gradient(135deg,#002D5E 0%,#003d7a 100%);padding:80px 24px}
.home .stats-bar-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:32px}
@media(max-width:768px){.home .stats-bar-grid{grid-template-columns:repeat(2,1fr)}}
.home .stat-col{text-align:center}
.home .stat-col:not(:last-child){border-right:1px solid rgba(255,255,255,.1)}
.home .big-num{font-size:clamp(36px,5vw,52px);font-weight:700;color:#BC123D;line-height:1}
.home .stat-lbl{color:rgba(255,255,255,.7);font-size:14px;margin-top:12px}
.home .testimonials{background:#f7f9fc;padding:96px 24px}
.home .testimonials-inner{max-width:800px;margin:0 auto}
.home .testimonial-card{background:#fff;border:1px solid #e5eaf0;box-shadow:0 8px 40px rgba(0,45,94,.09);border-radius:20px;padding:40px;position:relative}
.home .testi-body{display:flex;gap:32px;align-items:flex-start}
@media(max-width:640px){.home .testi-body{flex-direction:column;align-items:center}}
.home .testi-avatar{width:72px;height:72px;border-radius:50%;object-fit:cover;border:3px solid #BC123D;flex-shrink:0}
.home .testi-quote{color:#444;font-size:clamp(15px,2vw,17px);line-height:1.75;font-style:italic;margin-bottom:24px}
.home .testi-name{color:#002D5E;font-size:15px;font-weight:700}
.home .testi-role{color:#BC123D;font-size:14px}
.home .testi-nav{display:flex;align-items:center;justify-content:space-between;margin-top:32px;padding-top:24px;border-top:1px solid #e5eaf0}
.home .testi-dots{display:flex;gap:8px}
.home .testi-dot{border:none;border-radius:99px;height:8px;width:8px;background:#8EA5C4;cursor:pointer;transition:all .2s}
.home .testi-dot.active{width:24px;background:#BC123D}
.home .testi-arrow{width:40px;height:40px;border-radius:50%;border:1px solid #e5eaf0;background:#f7f9fc;color:#002D5E;cursor:pointer;display:flex;align-items:center;justify-content:center}
.home .testi-arrow.next-btn{background:#002D5E;color:#fff;border:none}
.home .cta-section{background:#BC123D;padding:64px 24px;position:relative;overflow:hidden}
.home .cta-inner{max-width:1200px;margin:0 auto;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:32px}
.home .cta-title{color:#fff;font-size:clamp(22px,3.5vw,32px);font-weight:700;line-height:1.2;margin-bottom:12px}
.home .cta-sub{color:rgba(255,255,255,.85);font-size:16px;line-height:1.6;max-width:480px}
.home .cta-btns{display:flex;flex-wrap:wrap;gap:16px}
.home .btn-white{background:#fff;color:#BC123D;font-size:14px;font-weight:700;padding:16px 32px;border-radius:4px;display:inline-flex;align-items:center;gap:8px}
.home .btn-outline-white{color:#fff;font-size:14px;padding:16px 32px;border-radius:4px;border:2px solid rgba(255,255,255,.5);display:inline-flex;align-items:center;gap:8px}
.home .kontakt{background:#fff;padding:96px 24px}
.home .kontakt-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:64px}
@media(max-width:1024px){.home .kontakt-inner{grid-template-columns:1fr}}
.home .kontakt-info-item{display:flex;align-items:flex-start;gap:16px;margin-bottom:20px}
.home .kontakt-icon{width:44px;height:44px;border-radius:8px;background:rgba(188,18,61,.08);color:#BC123D;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:18px}
.home .kontakt-lbl{font-size:11px;letter-spacing:.08em;font-weight:600;color:#8EA5C4;text-transform:uppercase;margin-bottom:2px}
.home .kontakt-val{font-size:14px;color:#002D5E}
.home .office-img{border-radius:12px;width:100%;height:200px;object-fit:cover;margin-top:40px}
.home .contact-form{background:#f7f9fc;border:1px solid #e5eaf0;border-radius:20px;padding:32px;display:flex;flex-direction:column;gap:20px}
.home .form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media(max-width:640px){.home .form-row{grid-template-columns:1fr}}
.home .field label{font-size:12px;font-weight:600;color:#002D5E;display:block;margin-bottom:6px}
.home .field input,.home .field textarea{width:100%;padding:12px 16px;border:1px solid #e5eaf0;border-radius:8px;font-size:14px;color:#002D5E;outline:none;transition:border .2s;background:#fff}
.home .field input:focus,.home .field textarea:focus{border-color:#002D5E}
.home .field textarea{resize:none}
.home .form-submit{background:#BC123D;color:#fff;width:100%;padding:16px;border-radius:8px;font-size:14px;font-weight:600;border:none;cursor:pointer}
.home .site-footer{background:#000;padding-top:64px}
.home .footer-grid{max-width:1200px;margin:0 auto;padding:0 24px 64px;display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px}
@media(max-width:900px){.home .footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.home .footer-grid{grid-template-columns:1fr}}
.home .footer-brand-desc{color:rgba(255,255,255,.5);font-size:14px;line-height:1.75;margin:20px 0 24px}
.home .footer-col h5{font-size:11px;letter-spacing:.1em;font-weight:700;text-transform:uppercase;color:#fff;margin-bottom:20px}
.home .footer-col ul{list-style:none}
.home .footer-col ul li{margin-bottom:8px}
.home .footer-col ul li a{color:rgba(255,255,255,.55);font-size:14px;transition:all .2s}
.home .footer-col ul li a:hover{color:#fff;padding-left:6px}
.home .footer-bottom{background:#BC123D;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.home .footer-copy{color:rgba(255,255,255,.85);font-size:14px}
.home .footer-links{display:flex;gap:20px}
.home .footer-links a{color:rgba(255,255,255,.75);font-size:12px}
.home .footer-links a:hover{color:#fff}
/* ===== Druck / PDF (gemeinsam) ===== */
@media print{
*{-webkit-print-color-adjust:exact !important;print-color-adjust:exact !important}
@page{size:A4;margin:10mm}
html,body{background:#fff !important}
.container,.page-hero-inner,.footer-main,.footer-grid,.home .footer-grid,.home .hero-content,.home .vorteile-grid,.home .leistungen-inner,.home .ueber-uns-inner,.home .stats-bar-grid,.home .kontakt-inner{max-width:none !important;width:auto !important}
.topbar,.site-header,.home header.site-header{position:static !important}
.card,.kpi,.kpi-card,table,tr,section,.badge{break-inside:avoid;page-break-inside:avoid}
.site-footer{break-inside:avoid}
a{text-decoration:none !important}
}

/* ===== Auth-Seiten (Login / Registrieren / Warteseite) ===== */
.auth-page{display:flex;min-height:100vh;flex:1}
.auth-left{width:400px;flex-shrink:0;background:linear-gradient(160deg,#002D5E 0%,#001a3a 100%);color:#fff;padding:40px;display:flex;flex-direction:column;justify-content:space-between;gap:32px}
@media(max-width:920px){.auth-left{display:none}}
.auth-pill{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:99px;font-size:12px;background:rgba(255,255,255,.08);color:#8EA5C4}
.auth-pill .pdot{width:6px;height:6px;border-radius:50%;background:#4ade80;display:inline-block}
.auth-left h2{font-size:24px;font-weight:700;line-height:1.3;margin-bottom:12px}
.auth-left .sub{font-size:14px;color:#8EA5C4;line-height:1.75;margin-bottom:24px}
.auth-feature{display:flex;align-items:center;gap:10px;font-size:14px;color:rgba(255,255,255,.8);margin-bottom:10px}
.auth-feature .chk{color:#22c55e}
.auth-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.auth-stat{background:rgba(255,255,255,.06);border-radius:12px;padding:16px}
.auth-stat .v{font-size:20px;font-weight:700;color:#fff}
.auth-stat .l{font-size:12px;color:#8EA5C4;margin-top:4px}
.auth-right{flex:1;background:#f8fafc;display:flex;align-items:flex-start;justify-content:center;padding:40px 24px;overflow-y:auto}
.auth-card-wrap{width:100%;max-width:430px}
.role-toggle{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}
.role-opt{border:2px solid #e5e7eb;background:#fff;border-radius:16px;padding:18px 12px;display:flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer;text-align:center;transition:all .15s}
.role-opt .ric{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:20px;background:#f3f4f6;color:#9CA3AF}
.role-opt .rt{font-size:14px;color:#374151;font-weight:500}
.role-opt .rs{font-size:12px;color:#9CA3AF}
.role-opt[data-role="firma"].active{border-color:#002D5E;background:#eef3fa;box-shadow:0 4px 16px rgba(0,45,94,.12)}
.role-opt[data-role="firma"].active .ric{background:#002D5E;color:#fff}
.role-opt[data-role="firma"].active .rt{color:#002D5E;font-weight:700}
.role-opt[data-role="freelancer"].active{border-color:#BC123D;background:#fff0f3;box-shadow:0 4px 16px rgba(188,18,61,.12)}
.role-opt[data-role="freelancer"].active .ric{background:#BC123D;color:#fff}
.role-opt[data-role="freelancer"].active .rt{color:#BC123D;font-weight:700}
.auth-tabs{display:flex;background:#e9ecef;border-radius:12px;padding:4px;margin-bottom:24px}
.auth-tab{flex:1;text-align:center;padding:10px;border-radius:8px;font-size:13px;color:#6B7280}
.auth-tab.active{background:#fff;color:#111827;font-weight:600;box-shadow:0 1px 4px rgba(0,0,0,.1)}
.auth-head h1{font-size:20px;font-weight:700;color:#111827}
.auth-head p{font-size:12px;color:#9CA3AF;margin-top:4px}
.auth-form{background:#fff;border:1px solid #e8edf2;border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:16px;margin-top:20px}
.fld label{display:block;font-size:12px;color:#374151;font-weight:500;margin-bottom:6px}
.fld .wrap{position:relative}
.fld .ic{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#9CA3AF;font-size:14px;pointer-events:none}
.fld input,.fld select{width:100%;border:1.5px solid #e5e7eb;border-radius:12px;padding:11px 14px 11px 38px;font-size:13px;color:#111827;background:#fff;outline:none;transition:border-color .15s}
.fld input:focus,.fld select:focus{border-color:#BC123D}
.fld .eye{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#9CA3AF;cursor:pointer}
.fld-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.auth-submit{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px;border-radius:12px;color:#fff;font-weight:600;font-size:14px;background:#002D5E;border:none;cursor:pointer;transition:opacity .2s}
.auth-submit:hover{opacity:.92}
.auth-switch{font-size:12px;color:#9CA3AF;text-align:center}
.auth-switch a{color:#BC123D;font-weight:500}
.auth-check{display:flex;align-items:flex-start;gap:10px;font-size:12px;color:#6B7280;line-height:1.6}
.auth-check a{color:#BC123D}
.auth-foot-link{display:block;text-align:center;margin-top:20px;font-size:12px;color:#9CA3AF}

/* Warteseite */
.wait-wrap{flex:1;min-height:100vh;background:linear-gradient(160deg,#002D5E 0%,#001229 100%);display:flex;align-items:center;justify-content:center;padding:24px;position:relative;overflow:hidden}
.wait-wrap .glow{position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,#BC123D 0%,transparent 70%);opacity:.18}
.wait-card{position:relative;background:#fff;border-radius:24px;max-width:500px;width:100%;padding:44px 40px;text-align:center;box-shadow:0 24px 60px rgba(0,0,0,.35)}
.wait-phone{width:88px;height:88px;border-radius:50%;background:#fff0f3;color:#BC123D;display:flex;align-items:center;justify-content:center;font-size:38px;margin:0 auto 24px;position:relative}
.wait-phone::before,.wait-phone::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid #BC123D;opacity:0;animation:waitpulse 2.2s infinite}
.wait-phone::after{animation-delay:1.1s}
@keyframes waitpulse{0%{transform:scale(1);opacity:.6}100%{transform:scale(1.6);opacity:0}}
.wait-card h1{font-size:24px;font-weight:800;color:#002D5E;margin-bottom:10px}
.wait-card .lead{font-size:14px;color:#555;line-height:1.7;margin-bottom:28px}
.wait-steps{text-align:left;display:flex;flex-direction:column;gap:14px;margin-bottom:28px}
.wait-step{display:flex;align-items:flex-start;gap:14px}
.wait-step .sn{width:30px;height:30px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.wait-step.done .sn{background:#dcfce7;color:#166534}
.wait-step.active .sn{background:#BC123D;color:#fff}
.wait-step.todo .sn{background:#f3f4f6;color:#9CA3AF}
.wait-step .st{font-size:14px;font-weight:600;color:#111827}
.wait-step .sd{font-size:12px;color:#9CA3AF;margin-top:2px}
.wait-box{background:#f7f9fc;border:1px solid #e5eaf0;border-radius:14px;padding:18px;margin-bottom:24px}
.wait-box .bl{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#8EA5C4;font-weight:600;margin-bottom:4px}
.wait-box .bv{font-size:16px;font-weight:700;color:#002D5E}
.wait-actions{display:flex;flex-direction:column;gap:10px}
.wait-actions a{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px;border-radius:12px;font-size:13px;font-weight:600}
/* ===== Rechtliche Seiten ===== */
.legal-page{
  background:#f7f9fc;
  color:#111827;
}

.legal-header{
  background:#002D5E;
  min-height:74px;
  padding:14px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  border-bottom:4px solid #BC123D;
}

.legal-logo-link{
  display:inline-flex;
  align-items:center;
}

.legal-logo{
  height:50px;
  width:auto;
  display:block;
}

.legal-nav{
  display:flex;
  align-items:center;
  gap:18px;
}

.legal-nav a{
  color:rgba(255,255,255,.78);
  font-size:14px;
  font-weight:500;
}

.legal-nav a:hover{
  color:#fff;
}

.legal-main{
  width:100%;
  max-width:980px;
  margin:0 auto;
  padding:48px 24px;
}

.legal-card{
  background:#fff;
  border:1px solid #e5eaf0;
  border-radius:20px;
  box-shadow:0 10px 32px rgba(0,45,94,.08);
  padding:44px;
}

.legal-kicker{
  color:#BC123D;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:8px;
}

.legal-card h1{
  color:#002D5E;
  font-size:clamp(30px,5vw,44px);
  line-height:1.1;
  margin-bottom:18px;
}

.legal-card h2{
  color:#002D5E;
  font-size:20px;
  margin-top:34px;
  margin-bottom:10px;
}

.legal-card h3{
  color:#002D5E;
  font-size:17px;
  margin-top:26px;
  margin-bottom:8px;
}

.legal-card h4{
  color:#002D5E;
  font-size:15px;
  margin-top:20px;
  margin-bottom:6px;
}

.legal-card ul{
  margin:8px 0 18px 20px;
  color:#374151;
  font-size:15px;
  line-height:1.8;
}

.legal-card li{
  margin-bottom:6px;
}

.legal-card p{
  color:#374151;
  font-size:15px;
  line-height:1.8;
  margin-bottom:14px;
}

.legal-card a{
  color:#BC123D;
  font-weight:600;
}

.legal-note{
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#7c2d12!important;
  border-radius:14px;
  padding:14px 16px;
  margin:18px 0 28px!important;
}

.legal-footer{
  background:#000;
  color:rgba(255,255,255,.7);
  padding:16px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  font-size:12px;
}

.legal-footer div{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}

.legal-footer a{
  color:rgba(255,255,255,.75);
}

.legal-footer a:hover{
  color:#fff;
}

@media(max-width:720px){
  .legal-header{
    align-items:flex-start;
    flex-direction:column;
  }

  .legal-nav{
    flex-wrap:wrap;
    gap:12px;
  }

  .legal-card{
    padding:28px 20px;
    border-radius:16px;
  }

  .legal-footer{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* Lucide icon system */
.lucide-inline{display:inline-flex;align-items:center;justify-content:center;width:1em;height:1em;vertical-align:-.16em;line-height:1;color:currentColor;flex-shrink:0}
.lucide-inline svg{width:1em;height:1em;display:block;stroke-width:2.15}
.kpi-icon .lucide-inline,.auth-feature .lucide-inline,.wait-phone .lucide-inline{font-size:1em}
.eye{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:#6B7280}
.eye .lucide-inline{font-size:18px}
.badge .lucide-inline,.btn-primary .lucide-inline,.btn-outline .lucide-inline,.btn-r .lucide-inline,.btn-g .lucide-inline{margin-right:4px}
.auth-feature .chk{display:inline-flex;align-items:center;justify-content:center}
