/*
Theme Name: Steuerstudio · horak Rechtsanwälte
Version: 1.0
Text Domain: steuerstudio
*/
:root{--ink:#102343;--paper:#faf8f2;--line:#d6cbb6;--accent:#795a19}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.65 "Source Sans 3",Arial,sans-serif}h1,h2,h3,.brand{font-family:"Source Serif 4",Georgia,serif;line-height:1.12}h1,h2,h3,p{overflow-wrap:anywhere}h1{font-size:clamp(2.4rem,5vw,5.4rem);font-weight:400;letter-spacing:-.048em;margin:.35em 0}h2{font-size:clamp(1.65rem,3.4vw,3.1rem);font-weight:400;letter-spacing:-.035em}a{color:inherit;text-underline-offset:.22em}a:hover{text-decoration-thickness:2px}a:focus-visible,summary:focus-visible,button:focus-visible{outline:3px solid #b18a3e;outline-offset:4px}header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:3}.bar,main,footer{max-width:1500px;margin:auto}.bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:20px 5%}.brand{display:flex;align-items:center;gap:.65rem;font-size:1.55rem;text-decoration:none}.brand small{display:block;font:12px Arial,sans-serif;letter-spacing:.1em;margin-top:4px}.cta,.formbox button{background:var(--ink);color:white;padding:.7em 1.1em;text-decoration:none;border:0;border-radius:2px}nav{display:flex;gap:1.4rem;font-size:15px}summary{cursor:pointer}nav details div{position:absolute;top:100%;left:5%;right:5%;padding:20px 30px;background:white;box-shadow:0 8px 15px #10234322;columns:3}nav details a,aside a,footer a{display:block;padding:.35em 0}nav details a{break-inside:avoid}.hero{display:grid;grid-template-columns:1.1fr 1fr;background:var(--ink);color:var(--paper)}.hero>div{padding:clamp(30px,5.4vw,86px)}.hero>img{width:100%;height:100%;min-height:300px;object-fit:cover}.hero p{max-width:39ch;font-size:1.13rem}.hero a{display:inline-block;margin-top:1em}.hero small,.formbox small,.tiles small,.crumb{font:600 .76rem/1.4 Arial,sans-serif;letter-spacing:.095em;text-transform:uppercase}.homebody,.sheet,.formbox,footer{padding:clamp(24px,5vw,80px)}.homebody>p,.sheet>p,.sheet>ul,.sheet>ol{max-width:78ch}.homebody>p:first-child,.sheet>p:first-of-type{font-size:1.22rem}.tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block-start:1px solid var(--line);border-inline-start:1px solid var(--line)}.tiles a{background:#fffdf8;position:relative;text-decoration:none;padding:1.35em 1.4em 2.8em;min-height:170px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.tiles strong{display:block;font:normal 1.5rem/1.15 Georgia,serif;margin-top:.65em}.tiles span{position:absolute;bottom:10px;right:18px;font-size:1.25rem}.tiles small{color:var(--accent)}.tiles a:hover{background:#f4eddc}.sheet{max-width:1050px;margin:auto}.sheet>h1{max-width:22ch}.sheet h2{font-size:2rem;margin-top:1.4em}.sheet aside{border-top:1px solid var(--line);margin-top:2.3em}.formbox{display:grid;grid-template-columns:1fr 1fr;background:#f1e9d7;gap:7%;align-items:start}.formbox h2{margin:.35em 0}.formbox label{display:block;font-size:.9rem;margin-bottom:12px}.formbox input,.formbox textarea{display:block;background:#fffefa;border:1px solid #9e927d;width:100%;padding:11px;font:inherit}.formbox button{font:inherit;cursor:pointer}footer{display:flex;justify-content:space-between;gap:2rem;background:#102343;color:#fff}footer>div:nth-child(2){columns:2;column-gap:2rem}.skip{position:absolute;left:-9999px}.skip:focus{left:1em;z-index:9;background:white}@media(max-width:960px){.bar{flex-wrap:wrap}nav{order:3;width:100%;justify-content:space-between}.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.hero,.formbox{grid-template-columns:1fr}.hero>img{min-height:0;height:190px}.bar{padding:14px 5%}.brand{font-size:1.2rem}.brand img{width:36px;height:36px}.cta{font-size:.8rem}nav{gap:.6em;flex-wrap:wrap}nav details div{columns:1;max-height:60vh;overflow:auto}.tiles a{padding:1em 1em 2.4em;min-height:140px}.tiles strong{font-size:1.15rem}.formbox{gap:1em}footer{display:block}footer>div:nth-child(2){margin-top:1em}}

.hero small,.hero a,footer a{color:#e8c77f}.hero{border-bottom:5px solid #d5ae61}.tiles span{color:#795a19}.formbox button,.cta{background:#d5ae61;color:#102343;font-weight:700}.brand small{color:#795a19}
nav details>.mega{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));columns:auto;gap:1.2rem;padding:1.4rem 2rem;max-height:72vh;overflow:auto;border-top:3px solid #d5ae61}nav details:not([open])>.mega{display:none}.mega section>strong{display:block;border-bottom:1px solid #d6cbb6;padding-bottom:.5rem;margin-bottom:.4rem;color:#785915}.mega section a{line-height:1.32;padding:.4rem 0}.team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr));gap:1.25rem;margin:1.4rem 0 2.4rem}.team-grid a{text-decoration:none;display:block}.team-grid img,.person img{display:block;object-fit:cover;object-position:center 25%;border-bottom:3px solid #d5ae61}.team-grid img{width:100%;height:auto;aspect-ratio:5/6}.team-grid strong,.team-grid span{display:block;margin-top:.4em}.team-grid strong{line-height:1.2}.team-grid span{font-size:.88rem}.person{display:flex;align-items:center;gap:2rem;margin:2rem 0}.person img{width:min(38%,240px);height:auto;max-height:340px}.person p{margin:.45rem 0}.mega a:hover,.team-grid a:hover strong{text-decoration:underline}@media(max-width:640px){nav details>.mega{grid-template-columns:repeat(2,minmax(0,1fr));padding:1rem;gap:1rem;font-size:.86rem}.person{gap:1rem}.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.year-links{display:flex;flex-wrap:wrap;gap:.35rem}.year-links a{border:1px solid var(--line);padding:.25rem .65rem}.archivliste{list-style:none;padding:0}.archivliste li{display:flex;align-items:baseline;gap:1rem;padding:.6rem 0;border-top:1px solid var(--line)}.archivliste time,.archive-meta,.archive-tax{font-size:.9rem}.archivliste time{white-space:nowrap}.archive-tax{margin:.25rem 0}

.editorial-photo{display:block;width:100%;height:auto;aspect-ratio:60/13;object-fit:cover;margin:1.6rem 0;border-bottom:3px solid #caa75f}
.hero>div{background:linear-gradient(125deg,#0e203c,#223e61)}
.sheet{background:#fffefa}
.sheet section[id^="jahr-"]{padding:.3rem clamp(1rem,3vw,2rem) 1rem;margin:1.5rem 0;background:#eef2f6}
.sheet section[id^="jahr-"]:nth-of-type(even){background:#f7f1e4}
.tiles a:nth-child(4n+2),.tiles a:nth-child(4n+3){background:#eef2f6}
.tiles a:hover,.tiles a:focus-visible{background:#f2e5c9}
.single .sheet h2+p{padding:1em 1.3em;background:#eff3f6;border-left:3px solid #8c9db1}
.single .sheet h2:nth-of-type(even)+p{background:#f7f0df;border-color:#b88d42}
@media(max-width:640px){.editorial-photo{aspect-ratio:3.2}}
.language-bar{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:.3rem 1.1rem;background:#102343;color:#fff;padding:.3rem 5%;font-size:.84rem}.language-bar a{padding:.12rem 0;text-decoration:none}.language-bar a[aria-current],.language-bar a:hover{text-decoration:underline;text-underline-offset:.25em;color:#f2d69c}
.strk-contents{display:block;border-left:3px solid #b89a55;padding:.7rem 1.25rem;background:#f1f4f7;margin:1.25rem 0}.strk-contents ul{margin:.35rem 0;padding-inline-start:1.1rem}.strk-contents li{margin:.1em 0}
