/*
Theme Name: Haermanz One
Theme URI: https://haermanz.de/
Author: Aventuro Media / Helmuth Weers
Description: Schlankes, eigenständiges WordPress-Theme für Haermanz.de. Ohne Elementor-, LMS- oder WooCommerce-Abhängigkeit.
Version: 1.5.0
Requires at least: 6.2
Requires PHP: 8.0
Text Domain: haermanz-one
*/

:root{
 --hm-green:#A8C419;
 --hm-green-hover:#689A19;
 --hm-orange:#E78C00;
 --hm-orange-hover:#CC7900;
 --hm-blue:#295A9F;
 --hm-blue-hover:#3A75A5;
 --ink:#26364a;--paper:#fff;--soft:#f7f8fb;
 --max:1600px;--shadow:0 14px 34px rgba(33,52,82,.14)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:"Source Sans Pro","Source Sans 3",Arial,sans-serif;font-size:18px;line-height:1.6}img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}.screen-reader-text{position:absolute;left:-9999px}.hm-wrap{width:min(calc(100% - 44px),var(--max));margin-inline:auto}
.site-header{position:relative;z-index:50;background:#fff;border-bottom:1px solid rgba(35,61,91,.10)}.header-inner{min-height:98px;display:flex;align-items:center;gap:34px}.site-branding{margin-right:auto}.custom-logo{display:block;max-height:76px;width:auto}.site-title img{display:block;max-height:76px;width:auto}.main-nav ul{display:flex;gap:4px;align-items:center;list-style:none;padding:0;margin:0}.main-nav a{display:block;padding:12px 13px;color:#314156;font-weight:700;font-size:15px;letter-spacing:.01em;border-radius:999px}.main-nav a:hover,.main-nav .current-menu-item>a{color:#fff;background:var(--hm-blue);text-decoration:none}.menu-toggle{display:none;border:0;background:var(--hm-blue);color:#fff;border-radius:10px;padding:9px 12px;font-size:22px}
.hero{min-height:300px;display:grid;place-items:center;text-align:center;color:#fff;background-size:cover;background-position:center}.hero-inner{padding:70px 20px 20px}.hero h1{margin:0;font-size:clamp(46px,6.1vw,80px);font-weight:600;line-height:.95;letter-spacing:-.025em;text-shadow:4px 3px 4px rgba(0,0,0,.58)}.hero p{margin:16px 0 0;font-size:clamp(23px,3vw,33px);font-weight:600;line-height:1.05;text-shadow:4px 3px 5px rgba(0,0,0,.65)}
.home-stage{position:relative;padding:0 0 72px;overflow:hidden;background:#fff}.home-stage:before{content:"";position:absolute;inset:0;background:url('https://haermanz.aventuro-media.com/wp-content/uploads/2025/02/shapes-bg-color.png') top center/cover no-repeat;opacity:0;pointer-events:none}.home-columns{position:relative;width:84%;max-width:none;margin:0 auto;display:grid;grid-template-columns:20fr 60fr 20fr;gap:0;align-items:stretch;background:transparent;overflow:visible;box-shadow:none;border-radius:0}.home-column{min-width:0;display:flex;flex-direction:column;background:#fff}.column-business,.column-family{border-radius:0}.column-news{margin:0 7px;border-radius:7px;overflow:hidden;box-shadow:7px 7px 21px -18px #000}.column-heading{min-height:58px;padding:5px 17px;display:flex;align-items:center;gap:.5rem;color:#fff;box-shadow:2px 2px 3px rgba(0,0,0,.15);position:relative;z-index:2}.column-news .column-heading{padding-left:12px}.column-family .column-heading{padding-left:13px}.column-heading h2{margin:0;font-size:clamp(17px,1.45vw,24px);font-weight:700;line-height:1.1;text-transform:uppercase;letter-spacing:0}.column-dot{width:1.4rem;height:1.4rem;border:2px solid #fff;border-radius:50%;position:relative;flex:0 0 auto}.column-dot:after{content:"i";position:absolute;inset:0;display:grid;place-items:center;font:700 13px/1 Arial;color:#fff}.column-business .column-heading{background:var(--hm-green)}.column-news .column-heading{background:var(--hm-blue)}.column-family .column-heading{background:var(--hm-orange)}.column-body{flex:1;padding:12px 0 0;position:relative;background:#fff}.column-news .column-body{padding:14px}.home-link-list{display:grid;gap:12px}.home-link-list a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:0 14px 0 43px;border-radius:0;background:var(--hm-green);color:#fff;box-shadow:2px 2px 3px rgba(0,0,0,.15);font-size:clamp(16px,1.15vw,21px);font-weight:600;transition:background .18s ease}.column-family .home-link-list a{background:var(--hm-orange)}.home-link-list a:hover{background:var(--hm-blue-hover);transform:none;box-shadow:2px 2px 3px rgba(0,0,0,.15)}.home-link-list b{font-size:27px;line-height:1;color:#fff;font-weight:400}.concept-tile{display:block;margin:30px 18px 0;padding:0;background:transparent;box-shadow:none;border-radius:0;color:#000;text-align:left}.concept-tile img{display:block;width:min(149px,75%);margin:10px auto 0}.concept-tile strong{display:block;color:#000;font-size:16px;line-height:1.25}.concept-tile small{display:block;margin-top:3px;color:#000;font-size:14px;line-height:1.25}.family-illustration{display:none}.news-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.news-card{overflow:hidden;border-radius:0;background:#fff;box-shadow:0 2px 3px rgba(0,0,0,.35)}.news-thumb{display:block}.news-thumb img{display:block;width:100%;aspect-ratio:16/8.8;object-fit:cover}.news-card-copy{padding:13px 15px 16px}.news-date{font-size:12px;font-weight:600;letter-spacing:0;text-transform:none;color:#555}.news-card h3{margin:3px 0 7px;font-size:20px;line-height:1.14;color:#252525}.news-card h3 a:hover{color:var(--hm-orange)}.news-card p{margin:0;color:#555;font-size:14px;line-height:1.42}.read-more{display:none}.news-empty{padding:24px;background:#fff;text-align:center}.home-footer-note{grid-column:1/-1;text-align:center;padding:24px 0 0;color:#111}
.content-area{padding:56px 0 84px}.page-header{background:var(--hm-blue);color:#fff;padding:54px 0}.page-header h1{margin:0;font-size:clamp(36px,5vw,62px);line-height:1.05}.entry-content{max-width:920px;margin:0 auto}.entry-content h2,.entry-content h3{color:var(--hm-blue);line-height:1.15}.entry-content h2{font-size:36px}.entry-content h3{font-size:27px}.entry-content p{margin:0 0 1.25em}.entry-content ul{padding-left:24px}.entry-content .elementor{display:none}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.post-card{background:#fff;border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}.post-card img{width:100%;aspect-ratio:16/10;object-fit:cover}.post-card-content{padding:23px}.post-card h2{font-size:24px;line-height:1.15;margin:0 0 8px}.post-card .meta{font-size:14px;color:#6c7789}.pagination{margin-top:35px}
.page-template-default .page-header{background:linear-gradient(115deg,var(--hm-blue),#4d87c5)}.page-id-0 .page-header{background:var(--hm-blue)}
.site-footer{position:relative;background:#183f73;color:#fff;padding:54px 0 25px;overflow:hidden}.site-footer:before{content:"";position:absolute;right:-130px;bottom:-180px;width:420px;height:420px;border-radius:50%;background:rgba(255,255,255,.05)}.footer-grid{position:relative;display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:42px}.site-footer a{color:#fff}.footer-title{font-size:22px;font-weight:800;margin-bottom:12px}.footer-menu{list-style:none;padding:0;margin:0}.footer-menu li+li{margin-top:7px}.footer-bottom{position:relative;margin-top:35px;padding-top:22px;border-top:1px solid rgba(255,255,255,.2);font-size:14px}
@media(max-width:1040px){.menu-toggle{display:block}.main-nav{display:none;position:absolute;left:0;right:0;top:97px;background:#fff;padding:18px 22px;border-bottom:1px solid #ddd;box-shadow:0 12px 30px rgba(0,0,0,.10)}.main-nav.is-open{display:block}.main-nav ul{display:block}.main-nav li{border-bottom:1px solid #edf0f5}.main-nav a{display:block;padding:12px}.home-columns{width:94%;grid-template-columns:1fr 1fr}.column-news{grid-column:1/-1;grid-row:2;margin:14px 0 0}.news-list{grid-template-columns:repeat(2,1fr)}.post-grid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){body{font-size:17px}.hm-wrap{width:min(calc(100% - 26px),var(--max))}.header-inner{min-height:80px}.custom-logo,.site-title img{max-height:58px}.main-nav{top:79px}.hero{min-height:270px}.hero-inner{padding:42px 10px}.home-stage{padding-bottom:45px}.home-columns{display:block;width:100%}.home-column{margin:0 0 14px}.column-news{margin:0 0 14px;border-radius:0}.column-heading{min-height:54px}.column-body,.column-news .column-body{padding-top:12px}.column-news .column-body{padding-left:12px;padding-right:12px}.news-list{grid-template-columns:1fr}.home-link-list a{min-height:50px;font-size:19px}.post-grid,.footer-grid{grid-template-columns:1fr}.page-header{padding:38px 0}.content-area{padding-top:35px}}


/* Exact Haermanz section pages */
.hm-subpage{padding:10px 0 70px;background:#fff url('https://haermanz.aventuro-media.com/wp-content/uploads/2025/02/shapes-bg-color.png') center top/cover no-repeat;background-blend-mode:soft-light}
.hm-subpage-shell{width:84%;margin:0 auto;display:grid;grid-template-columns:20rem minmax(0,60rem);gap:14px;justify-content:center;align-items:start}
.hm-section-nav{background:#fff;box-shadow:7px 7px 21px -18px #000}
.hm-section-nav-title{padding:8px 17px;color:#fff;font-size:20px;font-weight:600;line-height:1.25;box-shadow:2px 2px 3px rgba(0,0,0,.15)}
.hm-subpage-business .hm-section-nav-title{background:var(--hm-green)}
.hm-subpage-family .hm-section-nav-title{background:var(--hm-orange)}
.hm-section-nav a{display:flex;min-height:48px;align-items:center;justify-content:space-between;padding:0 14px 0 43px;margin-top:12px;color:#fff;font-size:20px;font-weight:600;box-shadow:2px 2px 3px rgba(0,0,0,.15)}
.hm-subpage-business .hm-section-nav a{background:var(--hm-green)}
.hm-subpage-family .hm-section-nav a{background:var(--hm-orange)}
.hm-section-nav a:hover,.hm-section-nav a.is-current{background:var(--hm-blue-hover)}
.hm-section-nav a span{font-size:28px;font-weight:400}
.hm-page-card{background:#fff;border-radius:7px;overflow:hidden;box-shadow:7px 7px 21px -18px #000;min-width:0}
.hm-page-card-head{padding:8px 16px;background:var(--hm-blue);color:#fff;box-shadow:2px 2px 3px rgba(0,0,0,.15)}
.hm-page-card-head h1{margin:0;font-size:20px;line-height:1.25;font-weight:600;text-transform:uppercase}
.hm-page-card-body{padding:24px 28px 36px;color:#323333;font-size:18px;font-weight:400;line-height:1.55}
.hm-page-card-body h2,.hm-page-card-body h3,.hm-page-card-body h4{color:#204A85;font-family:'Source Sans 3','Source Sans Pro',Arial,sans-serif;font-weight:600;line-height:1.2}
.hm-page-card-body h2{font-size:26px;margin:1.2em 0 .5em}.hm-page-card-body h3{font-size:22px;margin:1.1em 0 .45em}
.hm-page-card-body p{margin:0 0 1em}.hm-page-card-body img{height:auto;max-width:100%}.hm-content-image{text-align:center;margin:20px 0}.hm-content-list{padding-left:22px}.hm-button{display:inline-block;padding:9px 18px;background:var(--hm-orange);color:#fff;border-radius:4px;font-weight:600}.hm-button:hover{background:var(--hm-blue-hover);color:#fff}
@media(max-width:1040px){.hm-subpage-shell{width:94%;grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:760px){.hm-subpage{padding-top:0}.hm-subpage-shell{width:100%;display:block}.hm-section-nav{box-shadow:none}.hm-section-nav a{margin-top:0;border-top:1px solid rgba(255,255,255,.35)}.hm-page-card{border-radius:0;box-shadow:none}.hm-page-card-body{padding:22px 18px 32px}}
.column-rocket{display:inline-grid;place-items:center;width:1.4rem;height:1.4rem;color:#fff;font-size:15px;transform:rotate(45deg)}

/* v1.4 – fixed three-column section pages; geometry never changes between menu targets */
html{overflow-y:scroll;scrollbar-gutter:stable}
.hm-subpage-section{padding:0 0 72px;background:#fff}
.hm-fixed-columns{width:84%;margin:0 auto;display:grid;grid-template-columns:20fr 60fr 20fr;gap:0;align-items:start}
.hm-fixed-side,.hm-fixed-content{min-width:0;background:#fff}
.hm-fixed-content{margin:0 7px;border-radius:7px;overflow:hidden;box-shadow:7px 7px 21px -18px #000}
.hm-fixed-title,.hm-fixed-content-title{min-height:58px;display:flex;align-items:center;padding:5px 17px;color:#fff;box-shadow:2px 2px 3px rgba(0,0,0,.15)}
.hm-fixed-side-left .hm-fixed-title{background:var(--hm-green)}
.hm-fixed-side-right .hm-fixed-title{background:var(--hm-orange)}
.hm-fixed-content-title{background:var(--hm-blue);padding-left:12px}
.hm-fixed-title,.hm-fixed-content-title h1{margin:0;font-size:clamp(17px,1.45vw,24px);font-weight:700;line-height:1.1;text-transform:uppercase}
.hm-fixed-links{display:grid;gap:12px;padding-top:12px}
.hm-fixed-links a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:0 14px 0 43px;color:#fff;box-shadow:2px 2px 3px rgba(0,0,0,.15);font-size:clamp(16px,1.15vw,21px);font-weight:600;line-height:1.15}
.hm-fixed-side-left .hm-fixed-links a{background:var(--hm-green)}
.hm-fixed-side-right .hm-fixed-links a{background:var(--hm-orange)}
.hm-fixed-links a:hover,.hm-fixed-links a.is-current{background:var(--hm-blue-hover)}
.hm-fixed-links b{font-size:27px;line-height:1;font-weight:400}
.hm-fixed-content-body{min-height:620px;padding:24px 28px 40px;color:#323333;font-size:18px;line-height:1.55;background:#fff}
.hm-fixed-content-body h2,.hm-fixed-content-body h3,.hm-fixed-content-body h4{color:#204A85;font-weight:600;line-height:1.2}
.hm-fixed-content-body h2{font-size:28px;margin:1.15em 0 .5em}.hm-fixed-content-body h3{font-size:23px;margin:1.05em 0 .45em}
.hm-fixed-content-body p{margin:0 0 1em}.hm-fixed-content-body img{max-width:100%;height:auto}
.hm-standard-page{padding:18px 0 70px}.hm-standard-page .hm-page-card{max-width:1080px;margin:0 auto}
@media(max-width:1040px){.hm-fixed-columns{width:94%;grid-template-columns:24fr 52fr 24fr}.hm-fixed-links a{padding-left:20px}.hm-fixed-content-body{padding:22px}}
@media(max-width:760px){html{overflow-y:auto}.hm-subpage-section{padding-bottom:36px}.hm-fixed-columns{width:100%;display:flex;flex-direction:column}.hm-fixed-content{order:1;width:100%;margin:0;border-radius:0;box-shadow:none}.hm-fixed-side-left{order:2;width:100%}.hm-fixed-side-right{order:3;width:100%}.hm-fixed-content-body{min-height:0;padding:22px 18px 30px}.hm-fixed-links{gap:0;padding-top:0}.hm-fixed-links a{min-height:50px;border-top:1px solid rgba(255,255,255,.3)}.hm-fixed-title,.hm-fixed-content-title{min-height:54px}}


/* v1.5 – screenshot-accurate master layout */
:root{--hm-green:#a8c80f;--hm-orange:#f29100;--hm-blue:#2f63a1;--hm-news:#a9cbe2;--hm-frame:1776px;--hm-grid:1548px}
html{scroll-behavior:auto}
body{border-top:3px solid #202020;background:#fff;color:#121212;font-family:"Source Sans 3","Arial Narrow",Arial,sans-serif;font-size:16px;line-height:1.45}
.hm-wrap{width:100%;max-width:none;margin:0}
.site-header{height:97px;border:0;background:#fff}
.header-inner{height:97px;min-height:97px;padding:0 20px;display:grid;grid-template-columns:390px 1fr 290px;align-items:end;gap:0}
.site-branding{align-self:center;margin:0}.custom-logo,.site-title img{max-height:78px;max-width:210px;width:auto;object-fit:contain;display:block}
.main-nav{align-self:end;justify-self:start}.main-nav ul{gap:14px}.main-nav a{padding:10px 13px 11px;border-radius:0;background:var(--hm-blue);color:#fff;font-size:15px;font-weight:800;box-shadow:1px 2px 3px rgba(0,0,0,.22)}
.main-nav a:hover,.main-nav .current-menu-item>a,.main-nav .current_page_item>a{background:var(--hm-orange);color:#fff}
.header-phone{display:flex;align-items:center;gap:10px;align-self:center;justify-self:end;color:#123f72;font-size:20px;font-weight:600;border-left:1px solid #9aa5b1;padding-left:19px;white-space:nowrap}.header-phone-icon{font-size:28px;font-weight:400;line-height:1}
.hero{margin:0 6px;min-height:290px;height:290px;background-size:cover;background-position:center center;display:block;color:transparent}.hero-inner{display:none}
.home-stage,.hm-subpage-section{padding:19px 0 40px;background:#fff;overflow:visible}
.home-columns,.hm-fixed-columns{width:calc(100% - 240px);max-width:var(--hm-grid);margin:0 auto;display:grid;grid-template-columns:292px minmax(0,1fr) 292px;gap:16px;align-items:stretch}
.home-column,.hm-fixed-side,.hm-fixed-content{background:#fff;min-width:0}
.column-news,.hm-fixed-content{margin:0;border-radius:0;overflow:visible;box-shadow:7px 9px 20px rgba(0,0,0,.13)}
.column-heading,.hm-fixed-title,.hm-fixed-content-title{height:34px;min-height:34px;padding:0 16px;display:flex;align-items:center;gap:8px;background:var(--hm-blue)!important;color:#fff;box-shadow:2px 3px 4px rgba(0,0,0,.22)}
.column-heading h2,.hm-fixed-title,.hm-fixed-content-title h1{margin:0;font-size:19px;font-weight:800;line-height:1;text-transform:uppercase;letter-spacing:0}
.column-dot{width:21px;height:21px;border:0;background:#fff}.column-dot:after{color:var(--hm-blue);font-size:14px}.column-rocket{font-size:19px;color:#fff;transform:rotate(-45deg);display:inline-block}
.column-body{padding-top:25px}.column-news .column-body{padding:17px 0 0;background:#fff}
.home-link-list,.hm-fixed-links{gap:12px;padding:0;display:grid}
.home-link-list a,.hm-fixed-links a{height:32px;min-height:32px;padding:0 12px;justify-content:center;margin:0;color:#fff;font-size:18px;font-weight:800;line-height:1;background:var(--hm-green);box-shadow:2px 3px 4px rgba(0,0,0,.22)}
.column-family .home-link-list a,.hm-fixed-side-right .hm-fixed-links a{background:var(--hm-orange)}
.home-link-list b,.hm-fixed-links b{display:none}
.home-link-list a:hover,.hm-fixed-links a:hover,.hm-fixed-links a.is-current{background:var(--hm-blue)}
.concept-tile{margin:31px 32px 0;padding:0;text-align:left;color:#111}.concept-tile strong{font-size:16px;font-weight:800}.concept-tile small{font-size:16px;margin-top:7px}.concept-tile img{width:auto;max-width:150px;max-height:76px;margin:12px auto 0;object-fit:contain}
.news-list{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#fff;padding:0!important}
.news-card{min-height:194px;border-radius:0;background:var(--hm-news);box-shadow:none;overflow:hidden}.news-thumb{display:none}.news-card-copy{padding:29px 29px 20px}.news-card h3{margin:0 0 10px;font-size:20px;line-height:1.1;font-weight:800;color:#111}.news-date{font-size:11px;color:#4a5661;margin-bottom:14px}.news-card p{font-size:15px;line-height:1.45;color:#111;margin:0}.news-card:nth-child(n+5){display:none}
.hm-fixed-columns{align-items:start}.hm-fixed-side{box-shadow:7px 9px 20px rgba(0,0,0,.10);padding-bottom:26px}.hm-fixed-content{min-height:430px}.hm-fixed-links{padding-top:25px}.hm-fixed-content-body{min-height:390px;padding:28px 30px 42px;background:#fff;font-size:16px;line-height:1.5}.hm-fixed-content-body h2{font-size:27px}.hm-fixed-content-body h3{font-size:22px}
.site-footer{margin-top:0;padding:32px 0 22px;background:#234f88}.footer-grid,.footer-bottom{width:calc(100% - 240px);max-width:var(--hm-grid);margin-left:auto;margin-right:auto}
@media(max-width:1300px){.home-columns,.hm-fixed-columns,.footer-grid,.footer-bottom{width:calc(100% - 60px);grid-template-columns:250px minmax(0,1fr) 250px}.header-inner{grid-template-columns:300px 1fr 250px}}
@media(max-width:1040px){.header-inner{display:flex;align-items:center;padding:0 16px}.main-nav{top:97px;align-self:auto}.header-phone{margin-left:auto}.home-columns,.hm-fixed-columns{width:94%;grid-template-columns:1fr 2fr 1fr;gap:10px}.column-heading h2,.hm-fixed-title,.hm-fixed-content-title h1{font-size:15px}.home-link-list a,.hm-fixed-links a{font-size:15px;padding:0 5px}.news-card-copy{padding:20px}.footer-grid,.footer-bottom{width:94%}}
@media(max-width:760px){.site-header{height:80px}.header-inner{height:80px;min-height:80px}.header-phone{display:none}.hero{height:190px;min-height:190px;margin:0;background-position:center}.home-stage,.hm-subpage-section{padding-top:12px}.home-columns,.hm-fixed-columns{display:flex;width:100%;flex-direction:column;gap:12px}.column-news,.hm-fixed-content{order:1}.column-business,.hm-fixed-side-left{order:2}.column-family,.hm-fixed-side-right{order:3}.news-list{grid-template-columns:1fr}.news-card:nth-child(n+5){display:none}.column-heading,.hm-fixed-title,.hm-fixed-content-title{height:38px;min-height:38px}.home-link-list a,.hm-fixed-links a{height:42px;min-height:42px}.column-body{padding-top:12px}.concept-tile{margin-bottom:20px}.main-nav{top:80px}}
