/* LOKALE SCHRIFTARTEN (DSGVO-Konform) */
@font-face {font-family:'Rajdhani';src:url('rajdhani.woff2') format('woff2'),url('rajdhani.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face {font-family:'Source Sans 3';src:url('sourcesans.woff2') format('woff2'),url('sourcesans.ttf') format('truetype');font-weight:400;font-display:swap}

:root{--bg:#0a0a0a;--bg-card:#111;--red:#c41e1e;--red-bright:#e63232;--red-dark:#8b1515;--text:#e0e0e0;--text-muted:#888;--text-heading:#fff;--border:#222}
*{margin:0;padding:0;box-sizing:border-box}html{scroll-behavior:smooth}
body{font-family:'Source Sans 3', system-ui, -apple-system, sans-serif;background:var(--bg);color:var(--text);line-height:1.6;overflow-x:hidden}
h1,h2,h3,h4{font-family:'Rajdhani', system-ui, -apple-system, sans-serif;color:var(--text-heading)}
a{color:var(--red-bright);text-decoration:none;transition:color .2s}a:hover{color:#ff5555}
.navbar{position:sticky;top:0;z-index:1000;background:rgba(10,10,10,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 2rem;height:60px}.navbar .logo-text{font-family:'Rajdhani',sans-serif;font-weight:700;font-size:1.3rem;letter-spacing:.08em}.navbar .logo-text span{color:var(--red)}.logo-wrap{display:flex;align-items:center;gap:.6rem;text-decoration:none}.logo-icon{height:36px;width:auto;border-radius:4px;opacity:.9;transition:opacity .2s}.logo-wrap:hover .logo-icon{opacity:1}.nav-links{display:flex;gap:1.1rem;list-style:none}.nav-links a{color:var(--text-muted);font-size:.9rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;transition:color .2s}.nav-links a:hover{color:var(--red-bright)}.nav-toggle{display:none;background:none;border:none;color:var(--text);font-size:1.5rem;cursor:pointer}

/* NEUES DESIGN FÜR SPRACH-BUTTONS */
.lang-btn { background: transparent; border: 1px solid var(--border); color: var(--text-muted); padding: 4px 8px; border-radius: 4px; cursor: pointer; font-family: inherit; font-size: 0.85rem; font-weight: 600; transition: color 0.2s, border-color 0.2s; }
.lang-btn:hover { color: var(--red-bright); border-color: var(--red); }
.login-box .lang-btn { position: absolute; top: 15px; right: 15px; font-size: 0.8rem; }

.hero{min-height:auto;display:flex;align-items:center;justify-content:center;padding:3rem 2rem 4rem;background:radial-gradient(ellipse at 30% 60%,rgba(196,30,30,.08)0%,transparent 60%);position:relative;overflow:hidden}.hero::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 49px,rgba(255,255,255,.015)50px);pointer-events:none}.hero-inner{display:flex;align-items:center;gap:3rem;max-width:1100px;width:100%;flex-wrap:wrap;justify-content:center;position:relative;z-index:1}.hero-photo{width:200px;height:200px;border-radius:50%;overflow:hidden;border:3px solid var(--red);box-shadow:0 0 40px rgba(196,30,30,.3),0 0 0 6px rgba(196,30,30,.1);flex-shrink:0;background:#fff}.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:top center}.hero-text{text-align:left}.hero-text h1{font-size:2.8rem;font-weight:700;line-height:1.1}.hero-text h1 span{color:var(--red)}.hero-text .subtitle{font-size:1.15rem;color:var(--text-muted);margin-top:.5rem}.hero-text .subtitle-note{font-size:.9rem;color:var(--text-muted);margin-top:.25rem;font-style:italic;max-width:520px}.hero-text .tagline{margin-top:1rem;font-size:.95rem;color:var(--text-muted);max-width:520px}.hero-badges{margin-top:1.2rem;display:flex;flex-wrap:wrap;gap:.5rem}.badge{display:inline-block;padding:.25rem .7rem;border:1px solid var(--red-dark);border-radius:3px;font-size:.78rem;color:var(--red-bright);background:rgba(196,30,30,.08)}
.section{padding:4rem 2rem;max-width:1100px;margin:0 auto}.section-title{font-size:1.8rem;text-transform:uppercase;letter-spacing:.12em;margin-bottom:2rem;position:relative;padding-bottom:.6rem}.section-title::after{content:'';position:absolute;bottom:0;left:0;width:50px;height:3px;background:var(--red)}

.motto-box { background: var(--bg-card); border-left: 4px solid var(--red); padding: 2rem; font-size: 1.15rem; line-height: 1.8; color: var(--text); border-radius: 0 8px 8px 0; font-style: italic; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.contact-card { background: var(--bg-card); border: 1px solid var(--border); padding: 1.5rem; border-radius: 8px; text-align: center; transition: transform 0.3s, border-color 0.3s; }
.contact-card:hover { transform: translateY(-5px); border-color: var(--red-dark); }
.contact-card .c-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.contact-card .c-title { font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-heading); }
.contact-card .c-val { color: var(--text-muted); font-size: 0.9rem; line-height: 1.4; word-break: break-word; }
.contact-card a.c-link { text-decoration: none; display: inline-block; transition: color 0.2s; }
.contact-card a.c-link:hover { color: var(--red-bright); text-decoration: underline; }

.edit-ctrls { display: inline-flex; gap: 4px; margin-left: 8px; vertical-align: middle; }
.edit-btn { background: var(--bg); border: 1px solid var(--border); color: var(--text-muted); cursor: pointer; padding: 2px 6px; font-size: 0.75rem; border-radius: 3px; font-family: system-ui, sans-serif; }
.edit-btn:hover { color: var(--red); border-color: var(--red); }
.add-btn-wrap { margin-top: 8px; text-align: left; }

.timeline{position:relative;padding-left:2rem}.timeline::before{content:'';position:absolute;left:6px;top:0;bottom:0;width:2px;background:var(--red-dark)}.tl-item{position:relative;margin-bottom:2rem;padding-left:1.5rem}.tl-item::before{content:'';position:absolute;left:-2rem;top:.35rem;width:14px;height:14px;border-radius:50%;background:var(--red);border:2px solid var(--bg);box-shadow:0 0 0 3px var(--red-dark)}.tl-date{font-family:'Rajdhani',sans-serif;font-weight:700;color:var(--red-bright);font-size:.9rem}.tl-title{font-size:1.15rem;font-weight:700;color:var(--text-heading);margin-top:.1rem}.tl-company{font-size:.95rem;color:var(--text-muted)}.tl-desc{font-size:.88rem;color:var(--text-muted);margin-top:.3rem;white-space:pre-line}
.skill-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.skill-card{background:var(--bg-card);border:1px solid var(--border);border-radius:6px;padding:1.2rem;transition:border-color .3s,transform .3s}.skill-card:hover{border-color:var(--red-dark);transform:translateY(-2px)}.skill-card h4{color:var(--red-bright);margin-bottom:.5rem;font-size:1rem;text-transform:uppercase;letter-spacing:.06em}.skill-card ul{list-style:none}.skill-card li{font-size:.88rem;padding:.2rem 0;color:var(--text-muted);position:relative;padding-left:1rem}.skill-card li::before{content:'›';position:absolute;left:0;color:var(--red);font-weight:700}
.services-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.service-col h3{color:var(--red-bright);font-size:1.2rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:1rem;border-bottom:1px solid var(--red-dark);padding-bottom:.4rem}.service-col ul{list-style:none}.service-col li{padding:.4rem 0;padding-left:1.2rem;position:relative;font-size:.9rem;color:var(--text-muted)}.service-col li::before{content:'■';position:absolute;left:0;color:var(--red);font-size:.6rem;top:.55rem}
.pub-card{background:var(--bg-card);border:1px solid var(--border);border-radius:6px;padding:1.5rem;display:flex;gap:1.5rem;align-items:flex-start;flex-wrap:wrap}.pub-card .pub-info h4{font-size:1.1rem}.pub-card .pub-meta{font-size:.85rem;color:var(--text-muted);margin-top:.3rem}
.personal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem}.personal-item{background:var(--bg-card);border:1px solid var(--border);border-radius:6px;padding:1rem}.personal-item .label{font-size:.75rem;text-transform:uppercase;color:var(--text-muted);letter-spacing:.08em}.personal-item .value{font-size:1rem;color:var(--text-heading);margin-top:.2rem}
.footer{text-align:center;padding:2rem;border-top:1px solid var(--border);font-size:.8rem;color:var(--text-muted)}
.disclaimer-banner{background:var(--red-dark);color:#fff;text-align:center;padding:.6rem 1rem;font-size:.78rem;position:relative;z-index:1}
section{scroll-margin-top:80px}
.admin-btn{display:none;position:fixed;bottom:1.5rem;right:1.5rem;z-index:2000;width:48px;height:48px;border-radius:50%;border:none;background:var(--red);color:#fff;font-size:1.2rem;cursor:pointer;box-shadow:0 4px 16px rgba(196,30,30,.4);transition:transform .2s}.admin-btn.visible{display:flex;align-items:center;justify-content:center}.admin-btn:hover{transform:scale(1.1)}
.admin-overlay{display:none;position:fixed;inset:0;z-index:100002;background:rgba(0,0,0,.8);backdrop-filter:blur(6px);align-items:center;justify-content:center;overflow-y:auto;padding:2rem 0;}.admin-overlay.open{display:flex}.admin-panel{background:var(--bg-card);border:1px solid var(--border);border-radius:8px;padding:2rem;width:90%;max-width:480px;position:relative;margin:auto;}.admin-panel h3{margin-bottom:1rem}.admin-panel label{display:block;margin-bottom:.3rem;font-size:.85rem;color:var(--text-muted)}.admin-panel input,.admin-panel textarea{width:100%;padding:.5rem;margin-bottom:1rem;background:var(--bg);border:1px solid var(--border);border-radius:4px;color:var(--text);font-family:inherit;font-size:.9rem}.admin-panel button{padding:.5rem 1.5rem;background:var(--red);color:#fff;border:none;border-radius:4px;cursor:pointer;font-weight:600;margin-right:.5rem}.admin-panel button.secondary{background:var(--border)}.admin-panel .close-btn{position:absolute;top:.8rem;right:1rem;background:none;border:none;color:var(--text-muted);font-size:1.5rem;cursor:pointer}.admin-msg{color:#4caf50;font-size:.85rem;margin-top:.5rem}
[contenteditable="true"]{outline:2px dashed var(--red-dark);outline-offset:2px;padding:2px 4px;border-radius:2px}
.section-with-visual{display:flex;gap:2.5rem;align-items:flex-start;flex-wrap:wrap}.section-with-visual .section-content{flex:1;min-width:300px}.section-visual{flex:0 0 220px;max-width:260px;border-radius:8px;overflow:hidden;border:1px solid var(--border);background:var(--bg-card);transition:border-color .3s,transform .3s}.section-visual:hover{border-color:var(--red-dark);transform:translateY(-3px)}.section-visual img{width:100%;height:auto;display:block}
.services-with-visual{display:flex;gap:2.5rem;align-items:flex-start;flex-wrap:wrap}.services-main{flex:1;min-width:300px}.services-visual{flex:0 0 280px;display:flex;flex-direction:column;gap:1.5rem;align-items:center}.hand-visual{width:240px;border-radius:12px;overflow:hidden;border:2px solid var(--red-dark);box-shadow:0 8px 32px rgba(196,30,30,.15)}.hand-visual img{width:100%;height:auto;display:block}.hand-caption{text-align:center;font-size:.72rem;color:var(--text-muted);font-style:italic;margin-top:.4rem}
.charts-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:start}.chart-card{background:var(--bg-card);border:1px solid var(--border);border-radius:8px;padding:1.5rem}.chart-card h3{font-size:1.1rem;margin-bottom:.3rem}.chart-card .chart-sub{font-size:.78rem;color:var(--text-muted);margin-bottom:1rem}.chart-card canvas{width:100%!important}
.data-section{margin-top:2rem}.data-controls{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem;align-items:center}.data-controls input,.data-controls select{padding:.4rem .6rem;background:var(--bg);border:1px solid var(--border);border-radius:4px;color:var(--text);font-size:.82rem;font-family:inherit}.data-controls input{flex:1;min-width:150px}.data-controls select{min-width:130px}
.data-table-wrap{overflow-x:auto;max-height:600px;overflow-y:auto;border:1px solid var(--border);border-radius:6px;background:var(--bg-card)}
.req-privacy{font-size:.78rem;color:var(--text-muted);margin:.2rem 0 1rem;line-height:1.45}.req-privacy a{color:var(--red-bright);text-decoration:underline}
.data-table{width:100%;border-collapse:collapse;font-size:.85rem}.data-table th{background:var(--red-dark);color:#fff;padding:.6rem .8rem;text-align:left;position:sticky;top:0;z-index:2;font-family:'Rajdhani',sans-serif;font-weight:600;text-transform:uppercase;letter-spacing:.04em;font-size:.8rem;cursor:pointer;user-select:none;white-space:nowrap}.data-table th:hover{background:var(--red)}.data-table th .sort-arrow{margin-left:.3rem;font-size:.7rem}.data-table td{padding:.6rem .8rem;border-bottom:1px solid var(--border);color:var(--text-muted)}.data-table tr.main-row{cursor:pointer;transition:background 0.2s}.data-table tr.main-row:hover td{background:rgba(196,30,30,.06)}.data-table .btn-del{background:none;border:1px solid var(--border);color:var(--text-muted);padding:.15rem .4rem;border-radius:3px;cursor:pointer;font-size:.75rem}.data-table .btn-del:hover{border-color:var(--red);color:var(--red)}
.wert-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:.3rem;vertical-align:middle}.w1{background:#555}.w2{background:#2196f3}.w3{background:#4caf50}.w4{background:#ff9800}.w5{background:var(--red)}

.expand-icon { display:inline-block; width:16px; font-size:0.7rem; color:var(--red-bright); transition:transform 0.2s; }
.expand-icon.open { transform:rotate(90deg); }
.detail-row td { background:rgba(196,30,30,.02); padding:1rem 1.5rem; border-bottom:1px solid var(--border); white-space:normal; }
.detail-grid { display:flex; flex-wrap:wrap; gap:1.5rem; }
.detail-item { flex:1; min-width:120px; }
.detail-item span { display:block; font-family:'Rajdhani',sans-serif; font-size:.75rem; color:var(--red); text-transform:uppercase; letter-spacing:.05em; margin-bottom:.2rem; }

.data-stats{display:flex;gap:1.5rem;flex-wrap:wrap;margin-bottom:1.5rem}.stat-box{text-align:center}.stat-box .stat-val{font-family:'Rajdhani',sans-serif;font-size:2rem;font-weight:700;color:var(--red-bright);line-height:1}.stat-box .stat-label{font-size:.72rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em}
.add-form{background:var(--bg-card);border:1px solid var(--border);border-radius:6px;padding:1.2rem;margin-top:1rem;display:none}.add-form.open{display:block}.add-form h4{margin-bottom:.8rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:.5rem .8rem}.form-grid label{font-size:.78rem;color:var(--text-muted)}.form-grid input,.form-grid select{width:100%;padding:.4rem .5rem;background:var(--bg);border:1px solid var(--border);border-radius:4px;color:var(--text);font-family:inherit;font-size:.85rem}.form-actions{margin-top:.8rem;display:flex;gap:.5rem}
.btn{padding:.45rem 1rem;border:none;border-radius:4px;cursor:pointer;font-weight:600;font-size:.85rem}.btn-primary{background:var(--red);color:#fff}.btn-secondary{background:var(--border);color:var(--text)}.btn-outline{background:none;border:1px solid var(--red-dark);color:var(--red-bright)}
.save-bar{position:fixed;bottom:0;left:0;right:0;z-index:1500;background:rgba(139,21,21,.95);backdrop-filter:blur(8px);padding:.7rem 2rem;display:none;align-items:center;justify-content:center;gap:1rem}.save-bar.visible{display:flex}.save-bar button{padding:.4rem 1.2rem;border:none;border-radius:4px;font-weight:600;cursor:pointer;font-size:.85rem}.save-bar .btn-save{background:#fff;color:var(--red)}.save-bar .btn-discard{background:transparent;border:1px solid rgba(255,255,255,.4);color:#fff}.save-bar span{color:#fff;font-size:.85rem}
.context-menu { display: none; position: absolute; z-index: 10000; background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,0.8); min-width: 160px; overflow: hidden; padding: 0.3rem 0; }
.context-menu div { padding: 0.6rem 1rem; cursor: pointer; font-size: 0.85rem; color: var(--text); transition: background 0.2s; }
.context-menu div:hover { background: var(--red-dark); color: #fff; }

body.locked { overflow: hidden; }
#login-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: var(--bg); z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; }
.login-box { position: relative; background-color: var(--bg-card); border-top: 4px solid var(--red); padding: 40px; max-width: 600px; width: 100%; text-align: center; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.login-box h2 { color: var(--red); margin-top: 0; margin-bottom: 20px; }
.login-box p { color: #ccc; line-height: 1.5; margin-bottom: 20px; font-size: 0.95rem; }
.login-box input { width: 100%; max-width: 300px; padding: 12px; background: #222; border: 1px solid #444; color: white; border-radius: 4px; margin-bottom: 15px; font-family: inherit; font-size: 1rem; }
.login-box input:focus { border-color: var(--red); outline: none; }
.login-box button.btn-login-submit { padding: 12px 24px; background-color: var(--red); color: white; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 1rem; transition: background 0.2s; }
.login-box button.btn-login-submit:hover { background-color: var(--red-bright); }
#site-login-error { color: var(--red); margin-top: 15px; margin-bottom: 0; font-weight: bold; display: none; }

.login-footer { position: absolute; bottom: 2rem; left: 0; right: 0; text-align: center; font-size: 0.85rem; }
.login-footer a { color: #666; margin: 0 1rem; text-decoration: none; transition: color 0.2s; }
.login-footer a:hover { color: var(--red); }

.legal-modal { display: none; position: fixed; inset: 0; z-index: 100001; background: rgba(0,0,0,0.9); backdrop-filter: blur(5px); padding: 2rem 1rem; overflow-y: auto; }
.legal-modal.open { display: block; }
.legal-content { background: var(--bg-card); border: 1px solid var(--border); border-top: 4px solid var(--red); max-width: 800px; margin: 2rem auto; padding: 2.5rem; border-radius: 8px; position: relative; color: #ccc; line-height: 1.6; font-size: 0.95rem; }
.legal-content h2 { color: var(--red); margin-bottom: 1.5rem; font-family: 'Rajdhani', sans-serif; font-size: 1.8rem; }
.legal-content h3 { color: var(--text-heading); margin: 1.5rem 0 0.8rem; font-size: 1.2rem; }
.legal-content p, .legal-content div { margin-bottom: 1rem; }
.close-legal { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: #888; font-size: 2rem; cursor: pointer; line-height: 1; }
.close-legal:hover { color: #fff; }

@media(max-width:768px){.hero-text h1{font-size:2rem}.hero-inner{flex-direction:column;text-align:center}.hero-text{text-align:center}.hero-badges{justify-content:center}.services-grid{grid-template-columns:1fr}.charts-grid{grid-template-columns:1fr}.section-visual{flex:0 0 100%;max-width:200px;margin:0 auto}.services-visual{flex:0 0 100%;flex-direction:row;justify-content:center}.hand-visual{width:180px}}
@media(max-width:1400px){.nav-links{display:none}.nav-toggle{display:block}.nav-links.open{display:flex;flex-direction:column;position:absolute;top:60px;left:0;right:0;background:rgba(10,10,10,.97);padding:1rem 2rem;gap:1rem}}

/* --- Publikations-Scans & Lightbox --- */
.publication-scans { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 20px; }
.scan-item { position: relative; width: 120px; height: 170px; cursor: pointer; border: 1px solid rgba(0,255,255,0.2); transition: transform 0.2s; overflow: hidden; }
.scan-item:hover { transform: translateY(-5px); border-color: var(--red); }
.scan-item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.zeugnis-scans { display: none; }
.btn-zeugnis { display: inline-flex; align-items: center; gap: .35rem; margin-top: .7rem; padding: .4rem .9rem; background: rgba(196,30,30,.08); border: 1px solid var(--red-dark); color: var(--red-bright); border-radius: 5px; font-family: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn-zeugnis:hover { background: var(--red); color: #fff; border-color: var(--red); }
.btn-zeugnis-pages { color: var(--text-muted); font-weight: 400; font-size: .78rem; }
.btn-zeugnis:hover .btn-zeugnis-pages { color: rgba(255,255,255,.85); }
.protection-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; background: transparent; user-select: none; -webkit-touch-callout: none; }
.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 9999; justify-content: center; align-items: center; backdrop-filter: blur(10px); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; cursor: pointer; user-select: none; color: #fff; font-size: 3rem; line-height: 1; padding: .3rem 1rem; opacity: .55; transition: opacity .2s, background .2s; border-radius: 8px; }
.lb-nav:hover { opacity: 1; background: rgba(255,255,255,.08); }
.lb-prev { left: 1.2rem; } .lb-next { right: 1.2rem; }
.lightbox:not(.has-multiple) .lb-nav { display: none; }
@media (max-width: 600px) { .lb-nav { font-size: 2.2rem; padding: .3rem .5rem; } .lb-prev { left: .2rem; } .lb-next { right: .2rem; } }
.lightbox-content { position: relative; max-width: 90%; max-height: 90vh; }
.lightbox img { max-width: 100%; max-height: 90vh; pointer-events: none; border: 1px solid #444; }
.close-lightbox { position: absolute; top: -40px; right: 0; color: #fff; font-size: 35px; cursor: pointer; }

/* --- Zugang beantragen --- */
.login-sep { display: flex; align-items: center; text-align: center; color: #666; max-width: 320px; margin: 1.6rem auto 1.1rem; font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; }
.login-sep::before, .login-sep::after { content: ""; flex: 1; border-top: 1px solid #444; }
.login-sep span { padding: 0 .8rem; }
.btn-request-access { display: inline-block; padding: 14px 30px; background: transparent; border: 2px solid var(--red); color: var(--red-bright); border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 1.05rem; font-family: inherit; transition: all .2s; }
.btn-request-access:hover { background: var(--red); color: #fff; }
.have-code-link { display: block; width: fit-content; margin: 1.6rem auto 0; color: #777; font-size: .85rem; text-decoration: underline; cursor: pointer; }
.have-code-link:hover { color: var(--red-bright); }
.code-entry { margin-top: 1.2rem; }
#code-error { color: var(--red-bright); font-size: .85rem; min-height: 1em; margin: .3rem 0 0; }

/* Anfrage-Modal */
.access-overlay { display: none; position: fixed; inset: 0; z-index: 100000; background: rgba(0,0,0,.85); backdrop-filter: blur(6px); align-items: center; justify-content: center; padding: 2rem 1rem; overflow-y: auto; }
.access-overlay.open { display: flex; }
.access-box { position: relative; background: var(--bg-card); border-top: 4px solid var(--red); border-radius: 8px; padding: 2.5rem; max-width: 460px; width: 100%; margin: auto; text-align: left; }
.access-box h2 { color: var(--red); margin-top: 0; }
.access-box .close-btn { position: absolute; top: .8rem; right: 1rem; background: none; border: none; color: var(--text-muted); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.req-row { margin-bottom: 1rem; }
.req-row label { display: block; font-size: .85rem; color: var(--text-muted); margin-bottom: .3rem; }
.req-row input, .req-row textarea { width: 100%; padding: .6rem; background: #222; border: 1px solid #444; color: #fff; border-radius: 4px; font-family: inherit; font-size: .95rem; box-sizing: border-box; }
.req-row input:focus, .req-row textarea:focus { border-color: var(--red); outline: none; }
.access-box .btn-login-submit { width: 100%; margin-top: .4rem; padding: 12px 24px; background: var(--red); color: #fff; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 1rem; }
.access-box .btn-login-submit:hover { background: var(--red-bright); }
#req-error { color: var(--red-bright); font-size: .85rem; min-height: 1em; margin: .5rem 0 0; }
.req-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req-result { font-size: .95rem; line-height: 1.55; color: #ccc; }

/* Admin-Panel: offene Anfragen */
.req-admin-list { margin-top: .8rem; }
.req-item { background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: .7rem .9rem; margin-bottom: .7rem; }
.req-head { font-size: .95rem; color: var(--text-heading); }
.req-mail { font-size: .8rem; color: var(--text-muted); margin-top: .15rem; word-break: break-all; }
.req-komment { font-size: .82rem; color: #bbb; margin-top: .4rem; white-space: pre-wrap; border-left: 2px solid var(--border); padding-left: .6rem; }
.req-actions { margin-top: .6rem; display: flex; gap: .5rem; }
.admin-panel .req-actions button { margin: 0; padding: .35rem 1rem; font-size: .82rem; }
.admin-panel .btn-req-ok { background: #1a8a1a; }
.admin-panel .btn-req-no { background: var(--red); }
.req-badge { display: inline-block; margin-top: .5rem; font-size: .75rem; padding: .2rem .6rem; border-radius: 10px; background: var(--border); color: var(--text); }
.req-badge.req-approved { background: #1a5c1a; color: #d6f5d6; }
.req-badge.req-rejected { background: #5c1a1a; color: #f5d6d6; }
.req-badge.req-used { background: #333; color: #aaa; }
.req-badge.req-pending { background: #5c4a1a; color: #f5ecd6; }

/* Veröffentlichungs-Editor */
.pub-card { position: relative; }
.scan-item { position: relative; }
.scan-edit { position: absolute; top: 6px; right: 6px; display: flex; gap: 4px; z-index: 20; }
.scan-edit .edit-btn { padding: 2px 6px; font-size: .8rem; line-height: 1; }
.scan-cap { font-size: .75rem; color: var(--text-muted); text-align: center; margin-top: 4px; }

/* ── Projekte ── */
#projectsWrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.project-card { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--red); border-radius: 8px; padding: 1.2rem 1.3rem; }
.project-head { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: .1rem; }
.project-title { font-family: 'Rajdhani', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--text-heading); margin: 0; letter-spacing: .03em; }
.project-status { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--red-bright); border: 1px solid var(--red-dark); border-radius: 20px; padding: .12rem .6rem; white-space: nowrap; }
.project-role { font-size: .8rem; color: var(--text-muted); margin-bottom: .6rem; }
.project-desc { font-size: .9rem; color: var(--text); line-height: 1.55; white-space: pre-line; }
.project-tech { font-size: .78rem; color: var(--red-bright); margin-top: .7rem; letter-spacing: .02em; }
.project-card .proj-link { display: inline-block; margin-top: .9rem; font-size: .85rem; font-weight: 600; color: #fff; background: var(--red); padding: .35rem .9rem; border-radius: 5px; text-decoration: none; transition: background .2s; }
.project-card .proj-link:hover { background: var(--red-bright); }
.proj-link-edit { margin-top: .7rem; font-size: .8rem; color: var(--text-muted); }
.proj-url { color: var(--red-bright); }

/* ── Auszeichnungen ── */
#awardsWrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.award-card { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 1.1rem 1.2rem; }
.award-head { display: flex; justify-content: space-between; gap: .6rem; align-items: baseline; }
.award-title { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.12rem; color: var(--text-heading); }
.award-date { font-size: .8rem; color: var(--red-bright); white-space: nowrap; }
.award-issuer { font-size: .85rem; color: var(--text-muted); margin-top: .15rem; }
.award-desc { font-size: .85rem; color: var(--text); margin-top: .5rem; line-height: 1.5; white-space: pre-line; }

/* ── Featured Certifications (Erfahrungs-Sektion) ── */
.featured-certs { margin: 0 0 1.8rem; }
.featured-label { font-family: 'Rajdhani', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; color: var(--red-bright); margin-bottom: .7rem; }
.featured-badges { display: flex; flex-wrap: wrap; gap: .6rem; }
.fc-badge { display: inline-flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--red); border-radius: 6px; padding: .45rem .8rem; }
.fc-name { font-weight: 600; font-size: .82rem; color: var(--text-heading); }
.fc-issuer { font-size: .72rem; color: var(--text-muted); margin-top: .1rem; }

/* ── Stärken & Schwächen ── */
.sw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 760px) { .sw-grid { grid-template-columns: 1fr; } }
.sw-col-title { font-family: 'Rajdhani', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 1.05rem; margin-bottom: 1rem; }
.sw-col-str { color: var(--red-bright); }
.sw-col-wk { color: var(--text-muted); }
.sw-col-sub { font-size: .8rem; font-style: italic; color: var(--text-muted); margin: -.6rem 0 1rem; }
#strengthsWrap, #weaknessesWrap { display: flex; flex-direction: column; gap: .9rem; }
.sw-card { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 1rem 1.1rem; }
#strengthsWrap .sw-card { border-left: 3px solid var(--red); }
#weaknessesWrap .sw-card { border-left: 3px solid var(--text-muted); }
.sw-title { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--text-heading); margin-bottom: .3rem; }
.sw-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.5; white-space: pre-line; }

