:root { --primary:#1d4ed8; --dark:#0f2942; --accent:#d97706; --bg:#f8fafc; --surface:#ffffff; --alt:#f1f5f9; --border:#cbd5e1; --text:#0f172a; --muted:#334155; }
html[data-contrast="high"] { --bg:#ffffff; --surface:#ffffff; --alt:#f1f5f9; --primary:#002b80; --dark:#000000; --border:#000000; --text:#000000; --muted:#000000; }
html[data-fontscale="115"] { font-size:18.4px; }
* { box-sizing:border-box; }
body { margin:0; font-family:system-ui,-apple-system,sans-serif; background:var(--bg); color:var(--text); line-height:1.6; }
.container { max-width:1180px; margin:0 auto; padding:0 1.25rem; }
.topbar { background:#0b1c2e; color:#f8fafc; font-size:0.84rem; padding:0.45rem 0; border-bottom:1px solid #1e334d; }
.topbar-inner { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:0.5rem; }
.topbar-btn { background:rgba(255,255,255,0.1); color:#fff; border:1px solid rgba(255,255,255,0.25); border-radius:5px; padding:0.26rem 0.65rem; font-size:0.79rem; font-weight:600; cursor:pointer; }
.topbar-btn.active { background:var(--accent); color:#09111e; border-color:var(--accent); }
.site-header { background:var(--surface); border-bottom:3px solid var(--dark); position:sticky; top:0; z-index:900; box-shadow:0 2px 6px rgba(15,41,66,0.06); }
.header-bar { display:flex; justify-content:space-between; align-items:center; padding:0.9rem 0; flex-wrap:wrap; gap:1rem; }
.brand { display:inline-flex; align-items:center; gap:0.85rem; text-decoration:none; color:var(--text); }
.nav-bar { background:var(--alt); border-top:1px solid var(--border); }
.nav-list { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:0.15rem; }
.nav-list a { display:inline-block; padding:0.8rem 0.95rem; text-decoration:none; font-weight:700; color:var(--dark); font-size:0.9rem; border-bottom:4px solid transparent; }
.nav-list a:hover, .nav-list a.active { background:var(--surface); color:var(--primary); border-bottom-color:var(--accent); }
.hero { background-color:#061424; background-image:radial-gradient(rgba(148,163,184,0.16) 1px, transparent 1px); background-size:20px 20px; color:#fff; padding:3.25rem 0 3.75rem 0; margin-bottom:2.75rem; border-bottom:1px solid #162c46; }
.hero-grid { display:grid; grid-template-columns:1.35fr 1fr; gap:2rem; align-items:stretch; }
@media(max-width:860px){ .hero-grid{ grid-template-columns:1fr; } }
.hero-top-pill { display:inline-flex; align-items:center; gap:0.45rem; background:#102338; border:1px solid #223b59; color:#e2e8f0; font-size:0.72rem; font-weight:800; text-transform:uppercase; letter-spacing:0.05em; padding:0.35rem 0.85rem; border-radius:999px; margin-bottom:1rem; }
.hero-card { background:#162638; border:1px solid #253b54; border-radius:16px; padding:1.75rem; box-shadow:0 12px 28px rgba(0,0,0,0.25); margin-bottom:1.25rem; }
.hero-slide-badge { display:inline-block; background:#0d3b4c; border:1px solid #155e75; color:#2dd4bf; font-size:0.72rem; font-weight:800; letter-spacing:0.05em; text-transform:uppercase; padding:0.3rem 0.75rem; border-radius:999px; }
.hero-arrow-btn { width:32px; height:32px; border-radius:8px; background:#1f334a; border:1px solid #334e6d; color:#e2e8f0; font-weight:800; cursor:pointer; }
.hero-dot { width:8px; height:8px; border-radius:999px; background:#475569; border:none; padding:0; cursor:pointer; }
.hero-dot.active { width:24px; background:#f59e0b; }
.hero-profile-card { background:#1c2c3e; border:1px solid #2b4058; border-radius:18px; padding:1.85rem 1.65rem; text-align:center; display:flex; flex-direction:column; align-items:center; box-shadow:0 14px 32px rgba(0,0,0,0.3); }
.hero-portrait-ring { width:112px; height:112px; border-radius:50%; background:linear-gradient(135deg,#0d5c75,#1d4ed8); border:3px solid #f59e0b; box-shadow:0 0 0 4px rgba(245,158,11,0.18); display:flex; align-items:center; justify-content:center; margin-bottom:0.9rem; overflow:hidden; }
.hero-rat-pill { background:#0d1926; border:1px solid #253b54; color:#fbbf24; font-size:0.74rem; font-weight:700; padding:0.28rem 0.85rem; border-radius:999px; margin-bottom:0.75rem; }
.hero-committee-box { width:100%; background:#132030; border:1px solid #24384f; border-radius:12px; padding:0.95rem 1rem; margin:1.1rem 0; text-align:left; font-size:0.83rem; color:#e2e8f0; display:flex; flex-direction:column; gap:0.55rem; }
.hero-direct-row { width:100%; padding-top:0.85rem; border-top:1px solid #2b4058; display:flex; justify-content:space-between; align-items:center; font-size:0.84rem; color:#cbd5e1; margin-top:auto; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:1.15rem; margin:1.5rem 0 2.25rem 0; }
@media(max-width:960px){ .grid-4{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ .grid-4{ grid-template-columns:1fr; } }
.pillar-icon { width:42px; height:42px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:1.2rem; margin-bottom:1rem; }
.grid-3 { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:1rem; margin-bottom:1.25rem; }
.grid-2 { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:1.35rem; margin-bottom:2.25rem; }
.card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:1.4rem; box-shadow:0 2px 6px rgba(15,41,66,0.06); }
.ov-item { background:var(--alt); border:1px solid var(--border); border-radius:12px; padding:0.95rem 1.1rem; display:flex; justify-content:space-between; align-items:center; gap:0.85rem; margin-bottom:0.75rem; }
.gallery-showcase { background:var(--surface); border:1px solid var(--border); border-radius:16px; display:grid; grid-template-columns:1.15fr 1fr; overflow:hidden; box-shadow:0 2px 6px rgba(15,41,66,0.06); margin-bottom:2.75rem; }
@media(max-width:820px){ .gallery-showcase{ grid-template-columns:1fr; } }
.gallery-stage { background:#f8fafc; border-right:1px solid var(--border); padding:1.5rem; display:flex; align-items:center; justify-content:center; min-height:340px; }
.gallery-pane { padding:1.85rem; display:flex; flex-direction:column; justify-content:space-between; }
.btn { display:inline-flex; align-items:center; gap:0.4rem; background:var(--primary); color:#fff; padding:0.58rem 1.1rem; border-radius:8px; text-decoration:none; font-weight:700; border:none; cursor:pointer; font-size:0.88rem; white-space:nowrap; }
.btn-accent { background:var(--accent); color:#09111e; }
.btn-dark { background:var(--dark); color:#fff; }
.btn-teal { background:#0e5a71; color:#fff; border:1px solid #167996; }
.btn-outline { background:var(--surface); color:var(--dark); border:1px solid #64748b; }
.btn-del { background:#fee2e2; color:#b91c1c; border:1px solid #fecaca; padding:0.36rem 0.65rem; font-size:0.78rem; }
.btn-edit { background:#e0f2fe; color:#0369a1; border:1px solid #bae6fd; padding:0.36rem 0.65rem; font-size:0.78rem; }
.btn-ok { background:#dcfce7; color:#15803d; border:1px solid #bbf7d0; padding:0.36rem 0.65rem; font-size:0.78rem; }
.btn-row { display:inline-flex; align-items:center; gap:0.4rem; flex-wrap:nowrap; white-space:nowrap; }
.badge { display:inline-block; background:#e0f2fe; color:#0369a1; font-size:0.74rem; font-weight:800; padding:0.18rem 0.55rem; border-radius:999px; }
/* Vollständiger 4-Spalten-Footer auf jeder öffentlichen Seite */
.site-footer { background:#06111e; color:#e2e8f0; padding:3.5rem 0 1.75rem 0; margin-top:3.5rem; border-top:3px solid #d97706; display:block; width:100%; }
.footer-grid { display:grid; grid-template-columns:1.35fr 1.15fr 1fr 1.05fr; gap:2.25rem; padding-bottom:2.5rem; border-bottom:1px solid #13253a; }
@media(max-width:960px){ .footer-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:600px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid a { color:#e2e8f0; text-decoration:none; display:block; margin-bottom:0.55rem; font-size:0.88rem; }
.footer-grid a:hover { color:#38bdf8; }
.footer-socials { display:flex; gap:0.55rem; margin-bottom:1.1rem; }
.footer-socials a { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:8px; background:#132234; border:1px solid #1e334d; color:#e2e8f0; font-weight:800; margin-bottom:0; }
.footer-socials a:hover { background:#1d3552; color:#fff; }
.footer-pill { display:inline-flex !important; align-items:center; gap:0.5rem; background:#d97706; color:#09111e !important; font-weight:800; font-size:0.88rem; padding:0.65rem 1.25rem; border-radius:999px; text-decoration:none; margin-top:0.5rem; }
.footer-pill:hover { background:#f59e0b; color:#09111e !important; }
.floating-top { position:fixed; right:1.25rem; bottom:1.25rem; background:#132234; color:#e2e8f0; border:1px solid #284263; border-radius:10px; padding:0.55rem 0.9rem; font-size:0.78rem; font-weight:800; text-decoration:none; z-index:950; }
.cms-shell { display:grid; grid-template-columns:268px 1fr; min-height:100vh; }
@media(max-width:900px){ .cms-shell{ grid-template-columns:1fr; } }
.cms-sidebar { background:#071422; color:#cbd5e1; padding:1rem 0.75rem 2rem 0.75rem; }
.cms-group { font-size:0.68rem; font-weight:800; letter-spacing:0.06em; color:#f59e0b; padding:0.85rem 0.65rem 0.3rem 0.65rem; text-transform:uppercase; }
.cms-group.teal { color:#2dd4bf; }
.cms-group.sky { color:#38bdf8; }
.cms-nav-link { display:flex; align-items:center; justify-content:space-between; padding:0.5rem 0.75rem; border-radius:8px; text-decoration:none; font-size:0.84rem; color:#cbd5e1; font-weight:600; margin-bottom:0.15rem; }
.cms-nav-link:hover, .cms-nav-link.active { background:#0d5c75; color:#fff; }
.cms-pill { background:#d97706; color:#09111e; font-size:0.7rem; font-weight:800; padding:0.08rem 0.45rem; border-radius:999px; }
.cms-pill-green { background:#064e3b; color:#34d399; border:1px solid #059669; font-size:0.66rem; font-weight:800; padding:0.06rem 0.4rem; border-radius:999px; }
.cms-topbar { background:#091727; color:#fff; padding:0.95rem 1.5rem; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; }
.cms-main { padding:1.5rem 1.75rem; max-width:1380px; }
.cms-top-hint { background:#fff; border:1px solid #cbd5e1; border-left:4px solid #0284c7; border-radius:10px; padding:0.8rem 1.1rem; margin-bottom:1.15rem; font-size:0.88rem; }
.cms-card { background:#fff; border:1px solid #cbd5e1; border-top:4px solid #0284c7; border-radius:14px; padding:1.5rem; margin-bottom:1.25rem; box-shadow:0 4px 12px rgba(15,41,66,0.05); }
.cms-card.amber { border-top-color:#d97706; background:linear-gradient(180deg,#fffbeb 0%,#fff 65px); }
.cms-card.teal { border-top-color:#0d9488; background:linear-gradient(180deg,#f0fdfa 0%,#fff 65px); }
.cms-card.indigo { border-top-color:#4f46e5; background:linear-gradient(180deg,#eef2ff 0%,#fff 65px); }
.cms-head-row { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:0.75rem; border-bottom:1px solid #e2e8f0; padding-bottom:0.85rem; margin-bottom:1.15rem; }
.cms-head-row h2 { margin:0; font-size:1.22rem; color:#0f2942; }
.form-input, .form-textarea, .form-select { width:100%; padding:0.62rem 0.85rem; border:1px solid #64748b; border-radius:8px; font-family:inherit; font-size:0.94rem; }
.table-wrap { overflow-x:auto; border:1px solid #cbd5e1; border-radius:10px; }
table { width:100%; border-collapse:collapse; text-align:left; font-size:0.88rem; }
th, td { padding:0.78rem 0.95rem; border-bottom:1px solid #e2e8f0; vertical-align:middle; }
th { background:#f1f5f9; font-weight:700; color:#0f2942; }
td.col-act, th.col-act { width:1%; white-space:nowrap; text-align:right; }
.pro-editor { border:1px solid #94a3b8; border-radius:10px; overflow:hidden; background:#fff; }
.pro-toolbar { background:#f1f5f9; border-bottom:1px solid #cbd5e1; padding:0.45rem 0.65rem; display:flex; flex-wrap:wrap; gap:0.3rem; }
.ed-btn { background:#fff; border:1px solid #cbd5e1; border-radius:5px; padding:0.25rem 0.55rem; font-size:0.78rem; font-weight:700; cursor:pointer; }
.gemini-bar { background:linear-gradient(90deg,#1e1b4b 0%,#312e81 55%,#0f766e 100%); color:#fff; padding:0.5rem 0.75rem; display:flex; flex-wrap:wrap; align-items:center; gap:0.45rem; font-size:0.78rem; }
.gem-btn { background:rgba(255,255,255,0.18); color:#fff; border:1px solid rgba(255,255,255,0.35); border-radius:999px; padding:0.22rem 0.65rem; font-size:0.75rem; font-weight:700; cursor:pointer; }
.pro-textarea { width:100%; border:none; padding:0.8rem; font-family:inherit; font-size:0.94rem; min-height:125px; }
.chart-bars { display:grid; grid-template-columns:repeat(7,1fr); gap:0.65rem; align-items:end; height:165px; padding:0.9rem 0.6rem 0.45rem 0.6rem; border:1px solid #e2e8f0; border-radius:10px; background:#f8fafc; }
.bar-col { display:flex; flex-direction:column; align-items:center; justify-content:flex-end; height:100%; }
.bar-fill { width:28px; border-radius:6px 6px 3px 3px; background:linear-gradient(180deg,#0d9488 0%,#0f2942 100%); }
.alert-ok { background:#dcfce7; color:#14532d; border:1px solid #86efac; padding:0.85rem 1rem; border-radius:8px; margin-bottom:1rem; font-weight:600; }
.alert-err { background:#fee2e2; color:#7f1d1d; border:1px solid #fca5a5; padding:0.85rem 1rem; border-radius:8px; margin-bottom:1rem; font-weight:600; }
.thumb-webp { width:52px; height:52px; border-radius:8px; object-fit:cover; border:1px solid #cbd5e1; background:#f8fafc; }
.modal-backdrop { position:fixed; inset:0; background:rgba(6,20,36,0.78); display:flex; align-items:center; justify-content:center; padding:1rem; z-index:2000; }
.modal-backdrop[hidden] { display:none; }
.modal-box { background:#ffffff; border:2px solid #334155; border-top:5px solid #d97706; border-radius:16px; max-width:740px; width:100%; max-height:88vh; overflow-y:auto; padding:1.75rem; box-shadow:0 24px 48px rgba(0,0,0,0.4); }
.modal-head { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; border-bottom:1px solid #e2e8f0; padding-bottom:0.9rem; margin-bottom:1.15rem; }