:root{--ink:#152f43;--teal:#165f5c;--paper:#faf9f5;--line:#cbd5cf;--gutter:clamp(1.15rem,5vw,5rem);--wide:78rem}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:1rem}
body{margin:0;color:var(--ink);background:var(--paper);font-family:"Trebuchet MS",Arial,sans-serif}
.wp-site-blocks{padding:0}
.wp-site-blocks>*+*,.wp-block-template-part,.fm-head-inner>*,.fm-head-links>*,.fm-header>*,.fm-footer>*,.fm-topics>*,.fm-topic-list>*,.fm-hero>*{margin-block:0!important}
h1,h2,h3,p{overflow-wrap:break-word}
a{color:var(--teal);text-underline-offset:.2em}
a:focus-visible,button:focus-visible{outline:3px solid #af4a35;outline-offset:4px}
.fm-header{border-top:4px solid var(--ink);border-bottom:1px solid var(--line);background:var(--paper)}
.fm-head-inner,.fm-hero,.fm-topics,.fm-footer{width:min(calc(100% - var(--gutter)*2),var(--wide));margin-inline:auto}
.fm-head-inner,.fm-head-links,.fm-footer{display:flex;align-items:center;justify-content:space-between}
.fm-head-inner{min-height:5.25rem;gap:1rem}
.fm-head-links{gap:clamp(.8rem,2.4vw,2.3rem)}
.fm-brand a{display:flex;align-items:center;gap:.7rem;font-size:1.04rem;line-height:1.18;font-weight:700;letter-spacing:-.025em;max-width:14rem;text-decoration:none;color:var(--ink)}
.fm-brand a::before{content:"";flex:none;width:2.8rem;height:2.8rem;background:url(assets/fm.svg) center/contain no-repeat}
.fm-head-links nav{font-size:.95rem;font-weight:600}
.fm-head-links nav ul{gap:clamp(1rem,2.2vw,2rem)}
.fm-head-links a:hover{text-decoration:underline}
.fm-access{display:inline-flex;align-items:center;gap:.55rem;border:1px solid #98ada7;border-radius:.32rem;padding:.53rem .91rem;min-height:2.7rem;color:var(--ink);font-weight:600;font-size:.94rem;text-decoration:none;white-space:nowrap;transition:background .18s}
.fm-access::before{content:"";width:1em;height:1.1em;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='9' width='14' height='11' rx='2'/%3E%3Cpath d='M6 9V6a4 4 0 0 1 8 0v3M10 13v3'/%3E%3C/svg%3E") center/contain no-repeat}
.fm-access:hover{background:#e2ede6}
.fm-hero{display:grid;grid-template-columns:1.04fr 1fr;align-items:center;gap:clamp(1.6rem,4vw,4.7rem);padding-block:clamp(2rem,4.6vw,4.4rem)}
.fm-hero::after{content:"";display:block;width:100%;aspect-ratio:600/438;background:#dceae3 url(assets/konstruktion.svg) center/cover no-repeat;border:1px solid #b2c8bc;border-radius:.3rem 2.4rem .3rem .3rem}
.fm-overline{display:flex;align-items:center;gap:.62rem;color:var(--teal);font-size:.86rem;font-weight:700;letter-spacing:.085em;text-transform:uppercase}
.fm-overline::before{content:"";width:1.85rem;height:2px;background:#c75440}
.fm-hero h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:clamp(2.4rem,4.8vw,5rem);line-height:1.04;letter-spacing:-.06em;margin:.32em 0}
.fm-hero h1 em{color:var(--teal);font-weight:400}
.fm-lead{font-size:clamp(1.02rem,1.35vw,1.22rem);max-width:38ch;color:#42565c;line-height:1.58;margin:.8rem 0 1.65rem}
.fm-hero .wp-block-buttons{margin-top:1.4rem}
.wp-block-button .wp-block-button__link{font:600 .99rem/1.35 "Trebuchet MS",Arial,sans-serif;color:white;background:var(--teal);border-radius:.32rem;padding:.84rem 1.22rem;transition:background .18s}
.wp-block-button .wp-block-button__link:hover{background:#104641}
.fm-topics{border-top:2px solid var(--ink);padding-block:clamp(2rem,4vw,3.8rem);display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:clamp(1.5rem,5vw,5rem)}
.fm-topics h2,.fm-article h1,.fm-article h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.12;letter-spacing:-.045em}
.fm-topics h2{font-size:clamp(2.1rem,3.4vw,3.2rem);margin:0}
.fm-topics .fm-intro{max-width:29ch;color:#485b62;margin:.8rem 0 0}
.fm-topic-list p{border-bottom:1px solid var(--line);margin:0}
.fm-topic-list p:first-child{border-top:1px solid var(--line)}
.fm-topic-list a{display:flex;align-items:center;gap:1rem;min-height:4.6rem;padding:.65rem .35rem;font-family:Georgia,serif;font-size:clamp(1.3rem,2vw,1.65rem);letter-spacing:-.025em;line-height:1.25;text-decoration:none;color:var(--ink);transition:background .2s,color .2s}
.fm-topic-list a:hover{color:var(--teal);background:#eff2eb}
.fm-topic-list a::before{content:"";flex:0 0 2.3rem;height:2.3rem;background:var(--motif) center/2rem auto no-repeat}
.fm-topic-list p:nth-child(3n+1){--motif:url("assets/kreis.svg")}
.fm-topic-list p:nth-child(3n+2){--motif:url("assets/dreieck.svg")}
.fm-topic-list p:nth-child(3n){--motif:url("assets/stufen.svg")}
.fm-footer{border-top:1px solid var(--line);gap:1rem;padding:1.5rem 0 2rem;color:#50626a;font-size:.9rem;flex-wrap:wrap}
.fm-footer a{text-decoration:none;font-weight:bold;color:var(--ink)}
.fm-article{width:min(calc(100% - var(--gutter)*2),56rem);margin-inline:auto;padding-block:clamp(3rem,7vw,6rem);min-height:58vh}
.fm-article h1{font-size:clamp(2.35rem,5vw,4.5rem);margin:0 0 1.4rem}
.fm-article h2{font-size:2rem;margin-top:2rem}
.fm-directory li,.wp-block-page-list li{margin:.5rem 0}
@media(max-width:850px){.fm-head-inner{min-height:4.5rem}.fm-hero{gap:1.6rem}.fm-brand a{max-width:12rem}.fm-head-links nav{font-size:.9rem}}
@media(max-width:700px){.fm-hero{grid-template-columns:1fr;padding-block:2rem 1.7rem;gap:1.8rem}.fm-hero::after{max-height:17rem;background-size:cover;background-position:center 45%}.fm-hero h1{font-size:clamp(2.45rem,9vw,4rem)}.fm-topics{grid-template-columns:1fr;gap:1.35rem}.fm-topic-list a{min-height:3.85rem}.fm-overline{font-size:.78rem}.fm-brand a{font-size:.94rem;max-width:11.2rem}.fm-access{font-size:.85rem;padding:.48rem .6rem}.fm-head-links{gap:.65rem}.fm-head-links nav{order:2}.fm-brand a::before{width:2.3rem;height:2.3rem}}
@media(min-width:600px) and (max-width:700px){.fm-head-links nav{order:0}}
@media(max-width:420px){.fm-head-inner{gap:.4rem}.fm-brand a{font-size:.84rem;max-width:9rem;gap:.4rem}.fm-head-links{gap:.45rem}.fm-access{font-size:.8rem;min-height:2.55rem}.fm-head-links .wp-block-navigation__responsive-container-open{min-height:2.7rem}.fm-head-links .wp-block-navigation__responsive-container-open svg{width:1.4rem}}
@media(max-width:350px){.fm-brand a::before{width:1.65rem;height:1.65rem}.fm-head-inner{width:calc(100% - 1rem)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
