/*
Theme Name: Nachtschaffen
Version: 1.0.0
Description: Eigenständiges, barrierearmes Editorial-Theme für Menschen in Nachtarbeit.
Author: Nachtschaffen
Requires at least: 6.6
Requires PHP: 8.0
*/
:root{--ink:#152d40;--night:#102535;--muted:#536775;--paper:#faf8f2;--line:#d9dfdf;--copper:#a34d29;--gold:#efbd75;--soft:#edf2f1;--white:#fff;--max:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.75 'Segoe UI',system-ui,sans-serif}a{color:inherit;text-underline-offset:.22em}a:hover{color:var(--copper)}a,button,input{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #a34d29;outline-offset:5px}h1,h2,h3,p{margin:0 0 1em}h1,h2,h3{line-height:1.16;letter-spacing:-.025em}h1{font-size:clamp(2.15rem,4.9vw,4.6rem);font-weight:650}h2{font-size:clamp(1.65rem,3vw,2.5rem);font-weight:600}h3{font-size:1.35rem;font-weight:650}img{max-width:100%;height:auto;display:block}button,input{font:inherit}button,.button{cursor:pointer}.wrap{width:min(var(--max),calc(100% - 64px));margin:auto}.skip{position:fixed;top:-100px;left:1rem;background:#fff;z-index:99;padding:1rem}.skip:focus{top:1rem}.site-header{border-bottom:1px solid var(--line);background:var(--paper)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:104px}.brand{text-decoration:none;display:inline-flex;align-items:center;gap:11px;flex-shrink:0;font-size:1.34rem;font-weight:750;letter-spacing:.04em}.brand svg{width:40px;height:40px}.brand small{font-size:.68rem;display:block;letter-spacing:.08em;font-weight:400;line-height:1.4}.navigation{display:flex;gap:25px;align-items:center;font-size:.92rem;font-weight:600}.navigation a{text-decoration:none}.menu-toggle{display:none;background:none;border:1px solid var(--line);border-radius:3px;padding:7px 12px}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:.73rem;font-weight:700;color:var(--copper);margin-bottom:1.4rem}.hero{padding:66px 0 0}.hero-grid{display:grid;grid-template-columns:1.02fr 1fr;gap:55px;align-items:center}.hero-copy{padding:18px 0 44px}.hero h1 span{font-family:Georgia,serif;font-style:italic;font-weight:400;color:var(--copper)}.hero-lead{font-size:1.15rem;color:var(--muted);max-width:510px}.hero-media{position:relative;align-self:stretch;min-height:430px}.hero-media img{width:100%;height:100%;object-fit:cover;object-position:45% center;border-radius:2px}.hero-caption{position:absolute;bottom:20px;left:22px;right:22px;color:#fff;background:#102535e8;padding:13px 18px;font-size:.87rem}.button{display:inline-block;padding:13px 22px;background:var(--ink);color:#fff;text-decoration:none;border:0;border-radius:3px;font-weight:600}.button:hover{background:#25475e;color:#fff}.text-link{display:inline-block;margin-left:20px;font-size:.95rem;font-weight:600}.promise{display:flex;gap:36px;border-block:1px solid var(--line);padding:20px 0;margin-top:44px;font-size:.87rem;color:var(--muted)}.promise span:before{content:'·';color:var(--copper);padding-right:12px;font-weight:900}.section{padding:65px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}.section-head h2{margin:0}.section-head p{margin:0;color:var(--muted)}.topics{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}.topic{background:var(--paper);padding:30px;display:block;text-decoration:none}.topic .number{color:var(--copper);font-size:.8rem}.topic h3{margin:12px 0}.topic p{color:var(--muted);font-size:.95rem;margin-bottom:10px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:34px 26px;list-style:none;padding:0;margin:0}.card a{text-decoration:none}.card img{width:100%;aspect-ratio:800/333;object-fit:cover;margin-bottom:18px;border-radius:2px}.card .category{font-size:.73rem;letter-spacing:.08em;text-transform:uppercase;color:var(--copper);font-weight:700}.card h3{margin-top:9px;font-size:1.35rem}.card p{font-size:.92rem;color:var(--muted);line-height:1.65}.card .read{font-size:.87rem;font-weight:650}.editorial-band{background:var(--ink);color:#fff;padding:58px 0}.editorial-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px}.editorial-band .eyebrow{color:var(--gold)}.editorial-band p{color:#dae2e6}.editorial-band a{color:var(--gold)}.site-footer{background:var(--night);color:#fff;padding:44px 0 30px}.footer-top{display:flex;justify-content:space-between;gap:35px;align-items:start}.footer-top p{font-size:.9rem;color:#c2cfd5}.footer-nav{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:.88rem}.footer-bottom{border-top:1px solid #ffffff30;padding-top:23px;margin-top:32px;font-size:.78rem;color:#c2cfd5;display:flex;justify-content:space-between;gap:20px}.site-footer a:hover{color:var(--gold)}.article-header{max-width:950px;margin:58px auto 32px;text-align:center}.article-header h1{font-size:clamp(2rem,4vw,3.5rem)}.article-header .dek{font-size:1.15rem;color:var(--muted);max-width:770px;margin:0 auto 20px}.meta{color:var(--muted);font-size:.82rem}.breadcrumbs{font-size:.78rem;color:var(--muted);margin-bottom:24px}.featured{max-width:1050px;margin:0 auto 42px}.featured img{width:100%;aspect-ratio:16/9;object-fit:cover}.featured figcaption{font-size:.76rem;color:var(--muted);margin-top:8px}.prose{max-width:760px;margin:auto;font-size:1.06rem;overflow-wrap:anywhere}.prose h2{font-size:1.8rem;margin:2em 0 .8em;scroll-margin-top:20px}.prose h3{margin-top:1.5em}.prose li{margin:.45em 0}.prose a{color:#89401f}.prose table{border-collapse:collapse;width:100%;font-size:.91rem;min-width:460px}.table-scroll{overflow:auto;margin:25px 0;max-width:100%}th,td{padding:13px 15px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}th{background:var(--soft)}.article-note{margin-top:42px;padding:24px 27px;background:var(--soft);border-left:4px solid var(--copper);border-radius:10px;font-size:16px}.article-note h2{font-size:22px;margin:0 0 10px}.article-note p:last-child{margin-bottom:0}.sources{border-top:1px solid var(--line);margin-top:32px;padding-top:16px;font-size:.88rem}.sources h2{font-size:1.4rem;margin-top:12px}.sources ul{padding-left:20px}.related{margin:65px auto}.related h2{margin-bottom:30px}.search-form{display:flex;gap:10px;max-width:620px;margin:25px 0}.search-form input{min-width:0;flex:1;border:1px solid #778995;border-radius:3px;padding:12px;background:#fff}.search-form button{flex-shrink:0}.page-title{padding-top:58px;margin-bottom:35px}.page-title p{max-width:720px;color:var(--muted)}.pagination{margin:40px 0}.pagination .page-numbers{padding:9px 14px;border:1px solid var(--line);text-decoration:none}.pagination .current{background:var(--ink);color:#fff}.empty{padding:35px;background:var(--soft)}.screen-reader-text{clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;overflow:hidden;position:absolute!important;white-space:nowrap}.error-page{padding:90px 0}.wp-block-image img{max-width:100%}
@media(max-width:1000px){.header-inner{min-height:85px;flex-wrap:wrap;padding-block:20px}.menu-toggle{display:block}.navigation{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0}.navigation.open{display:flex}.navigation a{padding:10px;border-top:1px solid var(--line)}.hero-grid{gap:30px}.hero-media{min-height:390px}.topics{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:repeat(2,1fr)}.hero{padding-top:35px}.hero h1{font-size:3rem}.footer-top{flex-direction:column}}
@media(max-width:650px){.wrap{width:calc(100% - 36px)}.brand{font-size:1.08rem;gap:7px}.brand svg{width:33px;height:33px}.brand small{font-size:.6rem}.hero-grid,.editorial-grid{grid-template-columns:1fr;gap:20px}.hero-copy{padding-bottom:0}.hero h1{font-size:2.7rem}.hero-media{min-height:0;height:280px;margin-top:12px}.hero-caption{font-size:.78rem;bottom:15px;left:15px;right:15px}.promise{flex-direction:column;gap:7px;margin-top:28px}.section{padding:42px 0}.section-head{display:block}.section-head p{margin-top:12px}.topics,.cards{grid-template-columns:1fr}.topic{padding:24px}.card h3{font-size:1.45rem}.article-header{margin-top:32px;text-align:left}.article-header .dek{font-size:1.05rem}.featured{margin-bottom:25px}.article-note{padding:20px}.prose{font-size:1rem}.footer-bottom{flex-direction:column;gap:6px}.text-link{margin:15px 0 0;display:block}.search-form{gap:7px}.search-form button{padding:10px 13px}.related{margin-top:42px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.hero-caption{bottom:35px}.hero-caption small{display:block;font-size:.7rem;color:#dae2e6}@media(max-width:650px){.hero-caption{bottom:30px}}

h1,h2,h3{overflow-wrap:anywhere;hyphens:auto}.header-inner,.hero-grid,.editorial-grid{min-width:0}

@media(min-width:1001px){.topics{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}}
