:root{color-scheme:dark;--bg:#07111e;--panel:#101e30;--panel2:#15263b;--line:#263c53;--muted:#91a3b9;--text:#eff5fc;--gold:#e7bc62;--blue:#70a9ed;--purple:#bb9cf5}*{box-sizing:border-box}body{margin:0;background:var(--bg);font:14px/1.5 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--text)}.ambient{position:fixed;pointer-events:none;z-index:-1;filter:blur(90px);opacity:.16;border-radius:50%}.ambient-a{width:550px;height:550px;background:#17508c;top:-270px;left:-150px}.ambient-b{width:450px;height:450px;background:#253c7d;right:-180px;top:500px}.shell{max-width:1600px;margin:auto;padding:24px 30px 40px}.frame{position:relative;background:linear-gradient(115deg,#102135 0%,#101c2a 65%,#0b1725 100%);border:1px solid var(--line);border-radius:25px;overflow:hidden;box-shadow:0 16px 40px #0002}.frame:before,.frame:after{content:"";position:absolute;pointer-events:none;border-color:#3b5571;opacity:.65;width:100px;height:65px}.frame:before{left:17px;top:17px;border-left:1px solid;border-top:1px solid;clip-path:polygon(0 0,100% 0,100% 5%,5% 5%,5% 100%,0 100%)}.frame:after{right:17px;bottom:17px;border-right:1px solid;border-bottom:1px solid;clip-path:polygon(95% 0,100% 0,100% 100%,0 100%,0 95%,95% 95%)}.hero{margin-bottom:28px;background:radial-gradient(ellipse at 70% 15%,#1d2931 0,transparent 54%),linear-gradient(105deg,#112238,#0b1521)}.hero-inner{padding:34px 42px 38px}.hero-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;align-items:center;gap:13px;font-size:11px;letter-spacing:1.5px;font-weight:750;color:#b3c3d6}.brand-emblem{width:43px;height:43px;display:grid;place-items:center;border:1px solid #876f41;border-radius:50%;color:var(--gold);font-size:23px;box-shadow:0 0 0 5px #d7b96b0d}.brand strong{color:var(--gold)}.brand-sep{height:14px;border-left:1px solid #496079}.admin-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.admin-actions form{margin:0}.header-button{display:inline-block;background:#1b3045;border:1px solid #3d5268;border-radius:9px;padding:10px 15px;color:#e8f1fa;text-decoration:none;font:600 13px system-ui;cursor:pointer}.header-button:hover{background:#2a4058}.header-button.quiet{background:transparent}.admin-pill{color:#8ee0ba;font-size:12px}.hero-main{display:flex;justify-content:space-between;align-items:center;min-height:200px}.eyebrow{font-size:10px;letter-spacing:2px;color:#c4aa75;font-weight:750}.hero h1{font-size:clamp(43px,5vw,74px);font-weight:760;letter-spacing:-4px;line-height:1.1;margin:12px 0}.hero h1 span{color:#f0c86f}.hero p{color:#9fb1c5;font-size:14px}.court-illustration{width:360px;color:#bda471;opacity:.8;flex:none}.court-illustration svg{width:100%;height:auto}.hero-toolbar{display:flex;gap:12px;align-items:center;border-top:1px solid #293e52;padding-top:20px}.search-wrap{display:flex;gap:12px;align-items:center;flex:1;min-width:100px;background:#07111c;border:1px solid #34465a;border-radius:12px;padding:0 17px}.search-wrap span{font-size:27px;color:#9fb3c6}.search-wrap input{background:transparent;border:0;outline:0;color:white;padding:16px 0;width:100%;font:inherit}.search-wrap input::placeholder{color:#7f94ac}.refresh{background:linear-gradient(135deg,#f4d47e,#d5a746);color:#101722;border:0;border-radius:11px;font:700 13px system-ui;padding:16px 21px;cursor:pointer}.refresh:hover{filter:brightness(1.1)}#last-update{color:#8c9fb3;white-space:nowrap}.registry{--accent:var(--gold);margin:25px 0;padding:14px}.registry.blue{--accent:var(--blue)}.registry.purple{--accent:var(--purple)}.registry:before{border-color:var(--accent)}.registry-head{height:135px;display:flex;align-items:center;justify-content:space-between;padding:14px 27px;position:relative;border-bottom:1px solid #293b4f;color:var(--accent)}.registry-title{display:flex;align-items:center;gap:13px;z-index:1}.registry-title h2{font-size:25px;letter-spacing:-1px;color:#e8f0f9}.category-symbol{display:grid;place-items:center;width:43px;height:43px;border:1px solid currentColor;border-radius:50%;font-size:21px}.head-arrow{font-size:15px}.registry-art{position:absolute;width:310px;left:55%;transform:translateX(-50%);opacity:.6}.registry-art svg{width:100%}.count{display:flex;align-items:center;gap:9px;color:#9eacc0;font-size:12px;z-index:1}.count b{border:1px solid #38506a;color:var(--accent);width:35px;height:35px;display:grid;place-items:center;border-radius:50%;font-size:14px}.registry-table{padding-top:13px}.table-head,.entry{display:grid;grid-template-columns:1.2fr 1.15fr .95fr 1.15fr 1.35fr .65fr;align-items:center;gap:8px}.table-head{padding:15px 20px;background:#182c41;border:1px solid #344d67;border-radius:12px;margin-bottom:12px;min-height:73px}.table-head>div{display:flex;flex-direction:column;gap:7px;font-size:10px;font-weight:800;letter-spacing:.25px;color:#d4dfed}.table-head small{font-size:10px;color:#8197b2;letter-spacing:1.6px}.entry{width:100%;text-align:left;background:#102034;color:var(--text);border:1px solid #263c52;border-radius:12px;padding:11px 20px;margin:9px 0;min-height:66px;font:inherit;cursor:pointer}.entry:nth-child(even){background:#14263a}.entry:hover{border-color:var(--accent);background:#1a3047}.person{display:flex;align-items:center;gap:13px;min-width:0}.person strong{font-weight:700;overflow-wrap:anywhere}.person-icon{width:34px;height:34px;flex:none;border:1px solid var(--accent);color:var(--accent);border-radius:50%;font-style:normal;display:grid;place-items:center;box-shadow:0 0 0 4px #ffffff05}.secondary{color:#c4d0de}.cell{min-width:0;overflow-wrap:anywhere}.valid{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;border:1px solid;font-size:12px;font-weight:650;padding:8px 12px;white-space:nowrap}.valid.green{color:#85e9b3;background:#113d31;border-color:#2c7055}.valid.orange{color:#ffd286;background:#4a391d;border-color:#8a6328}.valid.red{color:#ff9e9e;background:#4b2028;border-color:#9a3d48}.last{display:flex;justify-content:space-between;gap:8px;align-items:center}.last b{font-size:24px;color:var(--accent);font-weight:400}.extra-preview{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:110px;color:#9caec2}.empty{padding:30px;text-align:center;color:#90a4bb}.entry[hidden],.empty[hidden]{display:none}footer{display:flex;justify-content:space-between;color:#6d829a;font-size:11px;letter-spacing:1px;padding:25px 10px}dialog{color:#eef4fb;border:1px solid #6a6049;border-radius:22px;background:linear-gradient(135deg,#122439,#0b1522);box-shadow:0 30px 100px #000a;max-height:90vh;overflow:auto}dialog::backdrop{background:#030913d9;backdrop-filter:blur(6px)}.detail-dialog{width:min(770px,94vw);padding:32px}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:25px;border-bottom:1px solid #304258}.modal-head h2{font-size:38px;color:#f1d18b;letter-spacing:-1.7px;margin:8px 0 14px}.close-modal{background:#182d43;border:1px solid #344a60;border-radius:50%;color:white;font-size:23px;cursor:pointer;width:38px;height:38px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:23px}.detail-box{background:#17293c;border:1px solid #354a60;border-radius:12px;min-height:104px;padding:20px;display:flex;flex-direction:column;gap:11px}.detail-box small{font-size:11px;letter-spacing:.5px;color:#b1c0d0;font-weight:750}.detail-box strong{font-size:17px}.detail-box.full{grid-column:1/-1}.copy-phone{width:fit-content;background:#2d3b42;border:1px solid #7a6c4e;border-radius:8px;padding:9px 14px;color:#f2c86e;font:700 17px system-ui;cursor:pointer}.copy-phone:after{content:'  KOPIEREN';font-size:10px;color:#aab8c7;margin-left:10px}.modal-admin{display:flex;justify-content:space-between;gap:10px;margin-top:22px;flex-wrap:wrap}.danger{padding:14px 18px;background:#542831;border:1px solid #99525b;border-radius:10px;color:#ffc6c6;cursor:pointer}.add-dialog{width:min(560px,94vw);padding:28px}.form-top{display:flex;align-items:flex-start;justify-content:space-between}.form-top h2{font-size:28px;margin:7px 0 25px}.add-dialog form>label{display:flex;flex-direction:column;gap:7px;margin-bottom:15px;font-weight:600}.add-dialog input,.add-dialog select,.add-dialog textarea{width:100%;border-radius:9px;border:1px solid #42576d;background:#0b1928;padding:13px 14px;color:#eef4fb;font:inherit}.add-dialog input:disabled{opacity:.65}.full-button{width:100%;margin-top:9px}#toast{position:fixed;bottom:25px;right:25px;background:#225d47;color:white;padding:12px 20px;border-radius:10px;opacity:0;pointer-events:none;transition:opacity .2s}#toast.show{opacity:1}@media(max-width:1150px){.table-head,.entry{grid-template-columns:1.1fr 1fr 1fr 1fr 1.1fr .4fr}.court-illustration{width:250px}.registry-art{opacity:.25}}@media(max-width:850px){.shell{padding:12px}.hero-inner{padding:22px}.hero-top,.hero-toolbar{flex-wrap:wrap}.hero h1{letter-spacing:-2px}.court-illustration{display:none}.registry-head{padding:12px;height:100px}.registry-art{display:none}.table-head{display:none}.entry{grid-template-columns:1fr 1fr;gap:11px;padding:15px}.entry .person{grid-column:1/-1}.entry .cell.last{display:none}.entry .cell:nth-child(4){display:none}.registry-title h2{font-size:21px}.count{font-size:10px}.valid{white-space:normal;text-align:center}#last-update{display:none}.search-wrap{flex-basis:100%}.detail-grid{grid-template-columns:1fr}.detail-dialog{padding:20px}.modal-head h2{font-size:28px}}@media(max-width:500px){.brand{font-size:9px;letter-spacing:.5px}.brand-sep,.brand strong{display:none}.hero-main{min-height:150px}.hero h1{font-size:47px}.registry{padding:9px}.registry-head{padding:10px}.registry-title{gap:8px}.registry-title h2{font-size:19px}.count{flex-direction:column}.entry{font-size:12px}.valid{font-size:10px;padding:7px}.header-button{padding:8px 10px}}

.expired-section{--accent:#e78e8e}.expired-list{padding:8px}.expired-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 20px;border:1px solid #34445a;border-radius:11px;margin:8px;background:#122034}.expired-row div{display:flex;flex-direction:column;gap:4px}.expired-row small{color:#9cafc5}.expired-row .refresh{padding:11px 15px}@media(max-width:600px){.expired-row{flex-direction:column;align-items:stretch}}


/* V9 – Eigenständiges StatePortal Redesign: keine Architekturzeichnungen, keine Blueprint-Linien */
:root{--bg:#07111f;--panel:#0f2032;--panel2:#182a3c;--line:#243b50;--gold:#eac36d;--muted:#9caec2}
body{background:radial-gradient(ellipse at 75% -18%,#1b3450 0,transparent 47%),linear-gradient(180deg,#081422,#07111d 65%,#060e18);font-size:14px}
.ambient{opacity:.11}.shell{max-width:1550px;padding:24px 30px 46px}
.frame{border-radius:24px;background:linear-gradient(145deg,#122538,#0c1929 72%);border:1px solid #273b4d;box-shadow:0 15px 45px #00000027}
.frame:before,.frame:after{display:none!important}
.hero{border:0;background:radial-gradient(ellipse at 95% 0,#273a47 0,transparent 45%),linear-gradient(125deg,#10243b,#0b1929);margin-bottom:20px;overflow:hidden}
.hero:after{display:block!important;content:'';position:absolute;width:440px;height:440px;right:-210px;top:-290px;border:75px solid #d5aa5830;border-radius:50%;pointer-events:none;opacity:.45}
.hero-inner{padding:25px 38px 30px;position:relative;z-index:1}
.brand{letter-spacing:0;font-size:16px;gap:11px;color:#f1f5fa;font-weight:750}.brand-emblem{border:0;background:linear-gradient(135deg,#f6d98b,#ba8939);color:#101b29;border-radius:13px;width:39px;height:39px;font-size:23px;font-weight:900;box-shadow:0 7px 20px #d7ac4d1e}.brand-dot{color:#e8c47d}.brand strong{font-size:12px;letter-spacing:.2px;color:#9eb1c6;font-weight:500}.brand-sep{height:20px;border-color:#496075}
.hero-main{min-height:175px}.hero h1{font-size:clamp(43px,5vw,68px);letter-spacing:-3.2px;margin:13px 0 7px}.hero p{font-size:15px;margin:0;color:#aec0d1}.eyebrow{color:#e6c477;font-size:10px;letter-spacing:2px}
.header-button{border-radius:12px;background:#1a3045;border-color:#39536a}.admin-actions>a.header-button{color:#e9c477;border-color:#b58d46;background:#152337}.admin-actions>a.header-button:hover{background:#2a3542}
.hero-toolbar{border-top:0;padding-top:12px}.search-wrap{background:#071321;border-color:#385068;border-radius:13px}.search-wrap:focus-within{border-color:#d8b36a;box-shadow:0 0 0 3px #e2b95e19}.search-wrap input{padding:15px 0}.refresh{background:linear-gradient(135deg,#f7d88a,#d3a349);border-radius:12px}.hero-toolbar .refresh{padding:16px 20px}
.registry{margin:18px 0;padding:20px 22px 16px;--accent:var(--gold)}.registry.blue,.registry.purple{--accent:var(--gold)}
.registry-head{height:auto;min-height:61px;padding:0 3px 16px;border-bottom:0;color:var(--gold)}.registry-title{gap:12px}.registry-title h2{font-size:22px;letter-spacing:-.6px;margin:0}.category-symbol{width:45px;height:45px;border:0;border-radius:13px;background:linear-gradient(140deg,#3b4140,#1e2d38);font-size:20px;box-shadow:inset 0 0 0 1px #e3bf6840}.count{font-size:12px;color:#b6c6d5;background:#152638;padding:8px 12px;border:1px solid #2d4357;border-radius:30px}.count b{width:auto;height:auto;border:0;color:var(--gold);font-size:14px}.registry-table{padding-top:0}
.table-head,.entry{grid-template-columns:1.16fr 1.17fr .83fr 1.14fr 1.28fr .5fr;gap:10px}.table-head{margin:0;padding:13px 16px;min-height:40px;background:#192c40;border:0;border-radius:11px 11px 0 0}.table-head>div{font-size:10px;color:#a9bdd0;letter-spacing:.6px}.table-head small{display:none}
.entry,.entry:nth-child(even){margin:0;min-height:62px;border:0;border-top:1px solid #25394a;border-radius:0;background:#102136;padding:11px 16px}.entry:last-of-type{border-radius:0 0 12px 12px}.entry:hover{background:#1b3249;box-shadow:inset 3px 0 0 var(--gold)}.person-icon{display:none}.person strong{font-size:13px}.secondary{color:#cad6e2}.valid{border-radius:22px;padding:7px 12px;font-size:11px}.last b{color:#caa55c}.extra-preview{max-width:90px}.empty{background:#102136;border-radius:0 0 12px 12px}
footer{letter-spacing:.3px;color:#8195aa;padding:24px 7px}
dialog{border:1px solid #405267;background:linear-gradient(150deg,#14293e,#0b1929);border-radius:24px}.detail-dialog{width:min(730px,94vw)}.modal-head h2{color:#f3f6fa}.detail-box{border:1px solid #30495e;background:#162c41;border-radius:14px}.detail-box small{color:#a5b7c8}.close-modal{border:1px solid #40566d}.expired-section{--accent:#e78e8e}
@media(max-width:850px){.shell{padding:12px}.hero-inner{padding:21px}.registry{padding:14px}.registry-head{padding-bottom:14px}.entry{border-radius:0!important}.hero:after{right:-350px}.hero-main{min-height:150px}}
@media(max-width:500px){.brand{font-size:14px}.brand strong,.brand-sep{display:none}.hero h1{font-size:45px}.registry-title h2{font-size:19px}.count{padding:5px 9px}.hero-toolbar .refresh{padding:13px}}
