/*
Theme Name: Sonnenklasse 2024a
Description: Warme, illustrierte Elternseite mit Blockeditor, Terminen und Downloads. Ausschließlich für 2024a.klarerauftritt.de eingerichtet.
Version: 1.2.3
Author: Elternvertretung 2024a
Text Domain: sonnenklasse
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
*/
@font-face{font-family:Nunito;src:url('assets/nunito.ttf') format('truetype');font-weight:200 1000;font-style:normal;font-display:swap}
:root{--paper:#fbf8ef;--ink:#263e32;--muted:#526456;--line:#e7e3d7;--honey:#fff0c7;--sage:#edf0d9;--peach:#ffe7d0;--blue:#e4eef3;--radius:22px;--wide:1840px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--paper);color:var(--ink);font:18px/1.55 Nunito,system-ui,sans-serif;overflow-wrap:break-word}body:before,body:after{content:"";position:absolute;z-index:-1;pointer-events:none;width:260px;height:350px;background:radial-gradient(ellipse at 20% 30%,#e5eacb 0,transparent 65%),radial-gradient(ellipse at 80% 60%,#fff0c5 0,transparent 65%);opacity:.6;border-radius:40% 60% 55% 45%}body:before{left:0;top:80px}body:after{right:0;top:420px;transform:rotate(140deg)}
h1,h2,h3,h4{font-family:Nunito,system-ui,sans-serif;font-weight:900;line-height:1.18;color:var(--ink);margin:0 0 .5em;letter-spacing:-.025em}h1{font-size:clamp(34px,4.2vw,58px)}h2{font-size:30px}h3{font-size:23px}p{margin:0 0 1em}a{color:#32582e;text-underline-offset:4px}a:hover{color:#7b5618}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #876014;outline-offset:5px;border-radius:5px}button{font:inherit;cursor:pointer}img{max-width:100%;height:auto}figure{margin:0}ul,ol{padding-left:1.35em}li{margin-bottom:.35em}a.button,.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;border:1px solid #9ca789;background:#edf0d9;color:var(--ink);border-radius:13px;padding:11px 19px;font:800 16px/1.35 Nunito,system-ui,sans-serif;text-decoration:none;min-height:44px;gap:8px}a.button:hover,.wp-block-button__link:hover{background:#dde6c7}.button-honey .wp-block-button__link{background:var(--honey)}
.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}.skip-link{position:fixed;top:-200px;left:20px;z-index:10000;background:white;padding:15px}.skip-link:focus{top:15px}.site-header{background:rgba(251,248,239,.97);border-bottom:1px solid var(--line)}.header-inner{max-width:1660px;min-height:88px;padding:5px 24px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--ink);flex-shrink:0}.brand .art{width:77px;height:77px}.brand strong{display:block;font-size:31px;line-height:1.13;font-weight:950;letter-spacing:-.6px}.brand small{display:block;font-size:18px;color:#587247}.nav-list{display:flex;gap:10px;align-items:center;list-style:none;margin:0;padding:0}.nav-list li{margin:0}.nav-list a{display:block;padding:11px 16px;font-size:17px;font-weight:750;text-decoration:none;color:var(--ink);white-space:nowrap;border-radius:17px}.nav-list .current-menu-item>a,.nav-list a[aria-current=page]{background:#ffdf89;position:relative}.nav-list .current-menu-item>a:after{content:"";position:absolute;bottom:6px;left:30%;right:30%;height:2px;background:#6b732c}.nav-list a:hover{background:#f2eaca}.menu-toggle{display:none}.art{display:block;flex-shrink:0;width:110px;height:110px;background-image:url('assets/illustrationen.png');background-size:400% 300%;background-repeat:no-repeat;mix-blend-mode:multiply}.art-sun{background-position:0 0}.art-calendar{background-position:33.333333% 0}.art-book{background-position:66.666667% 0}.art-people{background-position:100% 0}.art-download{background-position:0 50%}.art-care{background-position:33.333333% 50%}.art-chat{background-position:66.666667% 50%}.art-seedling{background-position:100% 50%}.art-math{background-position:0 100%}.art-english{background-position:33.333333% 100%}.art-nature{background-position:66.666667% 100%}.art-literacy{background-position:100% 100%}
.home-main{max-width:var(--wide);padding:0 28px;margin:0 auto}.hero-title{display:flex;align-items:center;justify-content:center;gap:18px;text-align:center;position:relative;z-index:1;padding-top:17px}.hero-title h1{font-size:64px;line-height:1.08;margin:0;font-weight:1000;letter-spacing:-1.5px}.hero-title p{font-size:24px;line-height:1.3;margin:1px 0 0}.leaf-mark{font-family:Georgia,serif;font-size:74px;color:#879763;line-height:1}.flipped{transform:scaleX(-1)}.hero-art{display:block;width:100%;height:380px;object-fit:cover;object-position:50% 54%;margin-top:0;mix-blend-mode:multiply;mask-image:linear-gradient(to bottom,transparent 0,#000 5%,#000 95%,transparent 100%)}.home-content>p:empty{display:none}.primary-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:8px 0 18px}.primary-card{display:flex;position:relative;align-items:center;gap:16px;padding:18px 21px;border-radius:24px;border:1px solid #d3ceba55;min-height:165px;text-decoration:none;color:var(--ink);transition:transform .15s,box-shadow .15s}.primary-card:hover{transform:translateY(-3px);box-shadow:0 6px 18px #43573413;color:var(--ink)}.primary-card h2{font-size:29px;margin:0 0 7px}.primary-card p{font-size:19px;line-height:1.28;margin:0 5px 8px 0;color:#465b43}.primary-card .art{width:134px;height:134px;margin-left:-7px}.arrow{position:absolute;right:21px;bottom:9px;font-size:35px;line-height:1}.tint-honey{background:var(--honey)}.tint-sage{background:var(--sage)}.tint-peach{background:var(--peach)}.tint-blue{background:var(--blue)}
.home-panels{display:grid;grid-template-columns:1.15fr 1fr .92fr;gap:17px}.panel{background:#fffdf8b8;border:1px solid var(--line);border-radius:20px;padding:24px 26px;box-shadow:0 2px 8px #263e3203}.section-top{display:flex;align-items:center;gap:15px;justify-content:space-between;margin-bottom:12px}.section-top h2{font-size:27px;margin:0}.section-top>a{font-size:15px;white-space:nowrap}.event-row{display:flex;gap:20px;padding:10px 0;align-items:center;border-bottom:1px solid var(--line)}.event-row:last-child{border:0;padding-bottom:0}.event-row:first-child{padding-top:0}.date-box{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f8f0d9;border:1px solid #ede5ce;border-radius:12px;width:65px;min-width:65px;height:66px;line-height:1.05}.date-box b{font-size:29px;font-weight:950}.date-box span{font-size:14px;margin-top:3px}.event-row h3,.news-row h3{font-size:19px;margin:0 0 3px;line-height:1.25}.event-row h3 a,.news-row h3 a{color:var(--ink);text-decoration:none}.event-row h3 a:hover,.news-row h3 a:hover{text-decoration:underline}.event-row p,.news-row p{font-size:16px;margin:0;color:var(--muted);line-height:1.35}.badge{display:inline-block;background:#ffebb0;color:#665019;font-size:12px;padding:2px 9px;border-radius:10px;line-height:1.5;margin-top:5px}.news-row{display:flex;gap:14px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center}.news-row:first-child{padding-top:0}.news-row:last-child{border:0;padding-bottom:0}.news-row .art{width:58px;height:58px}.news-row .meta{font-size:12px;margin-bottom:3px;color:#74806f}.home-side{display:grid;gap:14px;grid-template-rows:1.1fr .9fr}.feature-card{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:19px 24px;border-radius:20px;border:1px solid var(--line);text-decoration:none;color:var(--ink);min-width:0}.feature-card h2{font-size:25px;margin:0 0 6px}.feature-card p{font-size:16px;margin:0 0 5px}.feature-card .art{width:111px;height:111px;margin:-10px -8px -10px 0}.feature-card .text-link{font-size:16px;text-decoration:underline;text-underline-offset:4px}.faq-teaser{justify-content:flex-start;background:#fffdf8b8}.faq-teaser .art{width:100px;height:76px}.site-footer{max-width:1650px;margin:22px auto 0;padding:0 24px 23px}.site-footer>div{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:17px;gap:20px}.site-footer p{font-size:13px;color:#788075;margin:0;line-height:1.55}.site-footer nav{display:flex;gap:28px;flex-shrink:0}.site-footer nav a{font-size:14px;color:#6e7669;text-decoration:none}
.page-main{max-width:1420px;margin:0 auto;padding:26px 34px 60px;min-height:70vh}.breadcrumb{font-size:14px;color:var(--muted);margin-bottom:18px}.breadcrumb a{text-decoration:none}.page-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:40px;min-height:244px;padding:33px 58px;border-radius:45px 24px 55px 25px;background:linear-gradient(110deg,#f7edcf,#eef0da 65%,#f6f2df);overflow:hidden;margin-bottom:32px}.page-hero h1{margin:0 0 9px;font-size:clamp(37px,4vw,60px)}.page-hero p{font-size:21px;margin:0;color:#536344}.page-hero .eyebrow{font-size:13px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;margin:0 0 14px}.page-illustration{width:235px;height:235px;margin:-23px 0;transform:rotate(-4deg)}.page-content{max-width:100%}.page-content>h2{margin:38px 0 18px}.page-content>p{max-width:920px}.page-content .wp-block-columns{gap:23px;margin:24px 0}.wp-block-column{min-width:0}.info-card,.subject-card{border:1px solid var(--line);border-radius:22px;padding:28px;height:100%}.info-card h2,.info-card h3{margin-top:0}.info-card p:last-child{margin-bottom:0}.subject-card{position:relative;min-height:250px}.subject-card .art{width:115px;height:115px;float:right;margin:-12px -8px 8px 12px}.subject-card h2{padding-top:8px}.subject-card p{font-size:17px;max-width:290px}.subject-card .wp-block-button{margin-top:10px}.notice{background:#fff0c5;border-left:4px solid #ddb75c;border-radius:0 14px 14px 0;padding:17px 22px;font-size:16px;max-width:none!important}.source-line{font-size:14px!important;color:#667060;margin:25px 0}.source-line a{overflow-wrap:anywhere}.eyebrow{font-size:13px;letter-spacing:.1em;text-transform:uppercase;font-weight:850}.prose{max-width:920px;margin:0 auto}.prose h2{margin-top:35px}.prose p{max-width:none}.prose img{border-radius:22px}.page-content>.event-list{border:1px solid var(--line);border-radius:20px;padding:20px 28px;background:#fffdf8}.page-content>.event-list .event-row{padding:16px 0}.page-content>.news-list{display:grid;grid-template-columns:1fr 1fr;gap:20px}.page-content>.news-list .news-row{border:1px solid var(--line);border-radius:20px;padding:22px;background:#fffdf8}.page-content>.news-list .art{width:90px;height:90px}.page-content .wp-block-details{border:1px solid var(--line);border-radius:18px;margin:13px 0;background:#fffdf8;padding:0 24px}.wp-block-details summary{font-weight:850;padding:20px 0;cursor:pointer;line-height:1.4;font-size:19px}.wp-block-details[open] summary{border-bottom:1px solid var(--line);margin-bottom:18px}.wp-block-details>p{font-size:17px;line-height:1.65}.wp-block-details>p:last-child{padding-bottom:10px}.filters{display:flex;flex-wrap:wrap;gap:9px;margin:23px 0}.filters button{border:1px solid #d7ddc5;background:#fffdf8;color:var(--ink);border-radius:30px;padding:10px 17px;font-size:15px;font-weight:800;min-height:44px}.filters button.active{background:#ffdf89;border-color:#d4ad48}.download-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.download-card{display:flex;flex-direction:column;align-items:flex-start;min-height:360px}.download-card .art{width:100px;height:100px;margin:-7px 0 12px}.download-card h3{font-size:24px}.download-card p{font-size:17px;margin-bottom:13px}.download-card .meta{font-size:12px;color:var(--muted);margin-bottom:10px}.download-card .badge{margin-bottom:17px}.download-card .button{margin-top:auto}.download-card[hidden]{display:none}.empty-note{padding:20px;background:#f4efd9;border-radius:15px}.wp-block-separator{border:0;border-top:1px solid var(--line);margin:32px 0}.contact-note{font-size:15px;color:var(--muted)}.wp-block-table{overflow:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table td,.wp-block-table th{padding:12px;border:1px solid var(--line)}
@media(min-width:1500px){.home-panels .panel{padding:20px 26px}.home-panels .news-row{padding:8px 0}.home-panels .news-row:last-child{padding-bottom:0}.home-panels .news-row .meta{display:none}}
@media(max-width:1450px){.header-inner{gap:10px}.brand strong{font-size:26px}.brand small{font-size:15px}.nav-list{gap:2px}.nav-list a{padding:10px 12px;font-size:15px}.primary-card{gap:6px;padding:17px}.primary-card .art{width:95px;height:110px}.primary-card h2{font-size:24px}.primary-card p{font-size:16px}.home-panels{grid-template-columns:1fr 1fr}.home-side{grid-column:1/-1;grid-template-columns:1fr 1fr;grid-template-rows:auto}.hero-art{height:340px}.hero-title h1{font-size:55px}.panel{padding:23px}.primary-card{min-height:153px}.feature-card .art{width:115px;height:90px}}
@media(max-width:1050px){.header-inner{min-height:78px}.brand .art{width:65px;height:65px}.brand strong{font-size:25px}.brand small{font-size:14px}.menu-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;width:58px;height:58px;border:0;border-radius:50%;background:#ffedbc;color:var(--ink);font-size:12px;line-height:1.05}.hamburger{font-size:25px;line-height:1.1}.header-inner{position:relative;flex-wrap:wrap;gap:0}.main-navigation{display:none;width:100%;padding:12px 0 20px}.main-navigation.open{display:block}.nav-list{flex-wrap:wrap;gap:8px}.nav-list li{flex:1 1 28%}.nav-list a{padding:13px;font-size:17px;text-align:center;background:#f2ecd9}.primary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.primary-card .art{width:125px;height:125px}.primary-card h2{font-size:27px}.primary-card p{font-size:18px}.primary-card{min-height:160px}.page-hero{padding:30px}.page-illustration{width:190px;height:190px}.download-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){body{font-size:17px;line-height:1.55}.header-inner{padding:5px 14px;min-height:69px}.brand{gap:3px}.brand .art{width:56px;height:56px}.brand strong{font-size:22px;letter-spacing:-.7px}.brand small{font-size:12px;line-height:1.6}.menu-toggle{width:48px;height:48px;font-size:11px}.hamburger{font-size:25px}.nav-list li{flex-basis:42%}.main-navigation{padding-bottom:12px}.nav-list a{font-size:16px}.home-main{padding:0 14px}.hero-title{padding-top:13px;gap:5px}.hero-title h1{font-size:43px;letter-spacing:-1px}.hero-title p{font-size:16px;white-space:nowrap;line-height:1.5}.leaf-mark{font-size:31px}.hero-art{height:230px;width:calc(100% + 28px);max-width:none;margin-left:-14px;object-position:50% 52%;margin-top:1px;mask-image:linear-gradient(to bottom,transparent,#000 4%,#000 96%,transparent)}.primary-cards{gap:12px;margin:3px 0 15px}.primary-card{display:block;min-height:164px;padding:10px 13px 23px;border-radius:19px}.primary-card .art{width:88px;height:77px;margin:-4px auto 0}.primary-card h2{font-size:23px;margin-bottom:5px;line-height:1.18}.primary-card p{font-size:15px;line-height:1.28;margin:0}.primary-card .arrow{font-size:28px;right:13px;bottom:4px}.home-panels{grid-template-columns:1fr;gap:14px}.home-panels .panel{padding:18px 16px}.section-top{gap:8px;margin-bottom:13px}.section-top h2{font-size:23px}.section-top>a{font-size:13px}.event-row{gap:14px;padding:13px 0}.event-row h3{font-size:17px}.event-row p{font-size:14px}.date-box{width:53px;min-width:53px;height:57px;border-radius:11px}.date-box b{font-size:27px}.date-box span{font-size:12px}.badge{font-size:10px;padding:1px 8px}.news-row{gap:11px}.news-row h3{font-size:18px}.news-row p{font-size:15px}.news-row .art{width:61px;height:61px}.home-side{grid-column:auto;grid-template-columns:1fr;gap:14px}.feature-card{padding:19px 21px}.feature-card h2{font-size:25px}.feature-card .art{width:115px;height:104px}.feature-card p{font-size:15px}.faq-teaser .art{width:77px;height:77px}.site-footer{padding:0 20px 24px;margin-top:26px}.site-footer>div{display:block}.site-footer p{font-size:12px;margin-bottom:17px}.site-footer nav{gap:24px}.site-footer nav a{font-size:14px}.page-main{padding:18px 16px 35px}.breadcrumb{font-size:13px;margin-bottom:13px}.page-hero{gap:5px;padding:23px 22px;min-height:180px;border-radius:30px 17px 35px 17px;margin-bottom:23px}.page-hero h1{font-size:35px;overflow-wrap:normal;word-break:normal}.page-hero p{font-size:16px;line-height:1.4}.page-hero .eyebrow{font-size:10px;letter-spacing:.07em;margin-bottom:9px}.page-illustration{width:100px;height:120px;margin:0 -8px 0 0}.page-hero>div{min-width:0;flex:1}.page-content>h2{font-size:28px;margin-top:28px}.page-content .wp-block-columns{display:block;margin:18px 0}.page-content .wp-block-column{margin-bottom:16px}.info-card,.subject-card{padding:24px}.subject-card{min-height:240px}.subject-card h2{font-size:28px}.subject-card .art{width:100px;height:100px}.notice{font-size:14px;padding:15px 17px}.page-content>.news-list{grid-template-columns:1fr;gap:13px}.page-content>.news-list .news-row{padding:18px}.page-content>.event-list{padding:14px 16px}.download-grid{grid-template-columns:1fr;gap:16px}.download-card{min-height:300px}.download-card .art{width:92px;height:92px}.filters{gap:7px}.filters button{font-size:13px;padding:9px 12px}.page-content .wp-block-details{padding:0 18px}.wp-block-details summary{font-size:17px;padding:18px 0}.wp-block-details>p{font-size:16px}.source-line{font-size:12px!important}.article-main .page-hero{align-items:flex-start}.article-main h1{font-size:31px}.article-main .page-illustration{width:72px;height:92px}.article-main .page-hero p{font-size:15px}}
@media(max-width:380px){.brand strong{font-size:19px}.brand small{font-size:11px}.brand .art{width:48px;height:48px}.hero-title h1{font-size:39px}.hero-title p{font-size:14px}.leaf-mark{font-size:26px}.primary-card h2{font-size:21px}.primary-card p{font-size:14px}.primary-card{padding:10px 11px 24px}.hero-art{height:214px}.page-illustration{width:78px;height:100px}.page-hero h1{font-size:29px}.section-top h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.primary-card{transition:none}}
@media print{.main-navigation,.menu-toggle,.site-footer nav,.filters{display:none}.site-header{border:0}.hero-art{height:220px}.page-main{max-width:none}.panel,.info-card,.primary-card{break-inside:avoid}.site-footer{margin-top:30px}}
/* Feinschliff nach Prüfung bei 1920 x 1080 und 432 x 912. */
body:after{transform:none}
.leaf-mark{display:block;width:58px;height:55px;background:url('assets/illustrationen.png') 100% 50%/400% 300% no-repeat;mix-blend-mode:multiply;clip-path:inset(0 0 30% 0);transform:rotate(-35deg);margin-top:14px}
.leaf-mark.flipped{transform:rotate(35deg) scaleX(-1)}
.hero-art{height:340px;object-position:50% 50%}
.hero-title{padding-top:12px}.hero-title h1{font-size:60px}.hero-title p{font-size:22px}
@media(min-width:1500px){.primary-card{min-height:153px}.primary-card .art{width:123px;height:123px}.home-panels .event-row{gap:17px;padding-top:8px;padding-bottom:8px}.home-panels .event-row:last-child{padding-bottom:0}}
@media(min-width:601px) and (max-width:1450px){.hero-art{height:285px}.hero-title h1{font-size:53px}}
@media(max-width:600px){.hero-art{height:230px;object-position:50% 52%}.hero-title h1{font-size:43px}.hero-title p{font-size:16px}.leaf-mark{width:30px;height:32px;margin-top:10px}.hero-title{gap:2px}}
@media(max-width:380px){.hero-art{height:214px}.hero-title h1{font-size:39px}.hero-title p{font-size:14px}.leaf-mark{width:24px;height:28px}}
