/*
Theme Name: St. Hubertus Schule
Description: Präsentationsnahes, redaktionell einfach pflegbares Schul-Theme.
Version: 0.1.2
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: st-hubertus
License: GPL-2.0-or-later
*/
:root{--green:#005044;--cream:#f5f1e8;--sage:#dce8d1;--aqua:#57b7ab;--ink:#15342f;--muted:#536963;--line:#cbd6cf;--hand:'Hubertus Hand','Bradley Hand','Segoe Print',cursive}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font:18px/1.65 'Hubertus Avenir','Avenir Next',Avenir,system-ui,sans-serif}img{max-width:100%;height:auto}a{color:var(--green);text-underline-offset:.2em}a:hover{text-decoration-thickness:2px}button,input{font:inherit}h1,h2,h3{color:var(--green);line-height:1.15;letter-spacing:-.035em}h1{font-size:clamp(2.6rem,5.6vw,5rem);margin:0 0 1.5rem;font-weight:900}h2{font-size:clamp(1.9rem,3vw,2.65rem);margin:0 0 1.2rem}h3{font-size:1.3rem}p{margin:0 0 1.2rem}:focus-visible{outline:3px solid #b85a1a;outline-offset:5px}.wrap{width:min(1240px,calc(100% - 64px));margin-inline:auto}.skip{position:fixed;left:12px;top:-100px;background:#fff;padding:12px;z-index:100}.skip:focus{top:12px}.site-header{background:var(--cream)}.header-inner{display:flex;justify-content:space-between;align-items:center;gap:32px;min-height:170px}.brand{display:flex;align-items:center;text-decoration:none;max-width:260px}.brand img{width:250px;display:block;mix-blend-mode:multiply}.brand .custom-logo{width:250px}.brand-text{font-size:24px;font-weight:800;line-height:1.2}.nav-list{display:flex;list-style:none;gap:clamp(16px,2vw,32px);margin:0;padding:0}.nav-list>li>a{display:flex;flex-direction:column;align-items:center;gap:8px;text-decoration:none;font-size:13px;font-weight:800}.icon-circle{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--sage);color:var(--green);transition:background .15s}.icon{width:27px;height:27px;display:block}.nav-list a[aria-current=page] .icon-circle,.nav-list a:hover .icon-circle{background:var(--green);color:white}.nav-toggle{display:none}.wave{position:relative;height:78px;background:white}.wave svg{display:block;width:100%;height:100%}.wave-note{position:absolute;right:max(32px,calc((100% - 1240px)/2));top:10px;display:flex;align-items:center;gap:13px;background:var(--green);color:white;border-radius:0 0 18px 18px;padding:8px 20px 12px;max-width:calc(100% - 32px);font:clamp(16px,1.7vw,22px)/1.35 var(--hand)}.wave-note .icon{width:22px;flex-shrink:0}.home-content{max-width:none!important;margin:0!important}.hero{display:grid;grid-template-columns:1fr 1fr;background:var(--cream);overflow:hidden}.hero-copy{padding:64px max(32px,calc((100vw - 1240px)/2));padding-right:44px}.hero-copy h1{max-width:600px}.hero-subtitle{font-size:clamp(19px,2vw,25px);margin-bottom:26px}.hero-photo{margin:0;height:100%;min-height:530px}.hero-photo img{display:block;width:100%;height:100%;object-fit:cover}.hero-links{border-top:1px solid #b5cba7;padding-top:20px;display:grid;gap:18px}.hero-links a{display:flex;align-items:center;gap:16px;text-decoration:none;font-weight:800}.hero-links .icon-circle{background:var(--green);color:white;flex-shrink:0}.handwritten{font-family:var(--hand);font-size:1.4rem;color:var(--green)}.section{padding-block:64px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:24px}.eyebrow{color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.14em}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.card{border:1px solid var(--line);border-radius:18px;padding:26px;background:#faf8f2;overflow-wrap:anywhere}.card h3{margin:5px 0 12px}.card time{font-size:14px;color:var(--muted)}.card a{font-weight:700}.event{display:flex;gap:20px}.event-date{min-width:55px;color:var(--green);font-weight:900;line-height:1.15}.event-date b{display:block;font-size:34px}.event-date span{font-size:13px}.event h3{font-size:18px;margin:0 0 12px}.event p{font-size:14px;margin:0}.school-intro{background:var(--cream)}.intro-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;align-items:center}.intro-grid img{border-radius:20px;aspect-ratio:4/3;object-fit:cover}.button,.wp-block-button__link{display:inline-block;background:var(--green);color:white;border-radius:30px;padding:13px 25px;text-decoration:none;font-weight:700}.button:hover{background:#0b6a5a}.page-heading{background:var(--cream);padding:40px 0 48px}.page-heading h1{font-size:clamp(2.4rem,4.5vw,4rem);margin:8px 0}.content{max-width:860px;margin:48px auto 72px;padding:0 28px;min-height:210px}.content h2{margin-top:2rem}.content li{margin-bottom:.65rem}.content .wp-block-image img{border-radius:14px}.content .wp-block-table table{border-collapse:collapse;width:100%}.content td,.content th{padding:12px;border:1px solid var(--line)}.post-image{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px;margin:0 0 30px}.post-list{list-style:none;padding:0;display:grid;gap:24px}.pagination{margin:32px 0}.page-numbers{padding:8px 12px;display:inline-block}.site-footer{background:var(--green);color:white;padding:45px 0 24px}.footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.site-footer h2{color:white;font-size:24px}.site-footer a{color:white}.footer-links{display:flex;flex-wrap:wrap;gap:20px;list-style:none;padding:0;font-size:15px}.footer-bottom{border-top:1px solid #ffffff38;margin-top:30px;padding-top:20px;display:flex;justify-content:space-between;gap:25px;font-size:13px}.search-form{display:flex;gap:12px;flex-wrap:wrap}.search-field{padding:12px 16px;border:1px solid var(--line);border-radius:8px;max-width:100%;background:white}.search-submit{background:var(--green);color:white;border:0;border-radius:8px;padding:12px 20px}.site-footer .search-submit{border:1px solid white}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.editor-styles-wrapper{color:var(--ink);font-family:'Avenir Next',system-ui,sans-serif}.wp-block{max-width:860px}.alignwide{max-width:1240px}.alignfull{max-width:none}.status-note{border-left:4px solid var(--aqua);padding:16px;background:var(--cream)}
.hero-photo{position:relative;height:auto;min-height:560px}.hero-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-links p{margin:0}.hero-links p a::before{content:'';display:block;width:56px;height:56px;flex:0 0 56px;border-radius:50%;background:var(--green) url(assets/images/people.svg) center/27px no-repeat}.hero-links p:nth-child(2) a::before{background-image:url(assets/images/calendar.svg)}.home-content>.wp-block-group{max-width:none}.intro-grid .wp-block-image{margin:0}.intro-grid .wp-block-image img{display:block;width:100%}
@media(min-width:1000px){body.home .hero-copy{padding-left:max(32px,calc((100vw - 1240px)/2))}}
@media(max-width:1000px){.wrap{width:calc(100% - 40px)}.header-inner{min-height:125px;flex-wrap:wrap;padding-block:20px}.brand{max-width:220px}.brand img{width:220px}.nav-toggle{display:inline-block;background:var(--green);border:0;border-radius:26px;color:white;padding:12px 20px}.site-nav{width:100%}.nav-list{justify-content:space-between;gap:12px}.js .site-nav[data-collapsed=true]{display:none}.hero-copy{padding:40px 28px}.hero-photo{min-height:470px}.intro-grid{gap:35px}.wave-note{right:20px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){body{font-size:17px}.header-inner{min-height:105px}.brand img{width:190px}.nav-list{display:grid;grid-template-columns:repeat(3,1fr);gap:24px 12px;padding:14px 0 22px}.wave{height:74px}.wave-note{font-size:16px;right:12px;padding:9px 12px;top:8px}.wave-note .icon{width:17px}.hero{grid-template-columns:1fr}.hero-copy{padding:36px 24px}.hero-photo{min-height:0;height:300px}.hero h1{font-size:48px}.hero-links{gap:15px}.hero-links a{font-size:16px}.hero-links .icon-circle{width:46px;height:46px}.section{padding-block:40px}.section-heading{align-items:flex-start;flex-direction:column;gap:0;margin-bottom:20px}.cards,.intro-grid,.footer-grid{grid-template-columns:1fr}.card{padding:22px}.footer-bottom{flex-direction:column;gap:10px}.page-heading{padding:28px 0}.content{margin-top:30px}.intro-grid{gap:24px}.icon-circle{width:50px;height:50px}}
.team-grid,.school-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.team-grid>.wp-block-group{margin:0;min-width:0}.team-member h3{margin:0 0 10px;overflow-wrap:anywhere}.team-member p{margin:0}.school-rule{margin:24px 0}.school-rule h2{margin-top:0;font-size:1.6rem}.school-rule p{margin-bottom:0}.school-page-link{display:block;text-decoration:none;min-width:0}.school-page-link:hover{border-color:var(--green);background:var(--cream)}.school-page-link h3{margin-top:18px}.school-page-link p{font-weight:400;font-size:16px;margin:0}.team-grid .card{padding:24px}.school-page-grid h3{overflow-wrap:anywhere}
@media(max-width:650px){.team-grid,.school-page-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
