/*
Theme Name: Denkwerk
Description: Eigenständiges, responsives Rätsel-Website-Theme. Dynamische Spiele kommen aus dem separaten Denkwerk Spiele Plugin.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: denkwerk
*/
 :root{--bg:#f6f5ef;--surface:#fff;--text:#20342c;--muted:#66736b;--line:#e4e7df;--green:#214d3a;--soft:#dcebdc;--shadow:0 18px 50px #1c35270d}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.65 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}.wrap{width:min(1180px,calc(100% - 44px));margin:auto}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;background:white;padding:10px;z-index:99}.site-header{border-bottom:1px solid var(--line)}.header-inner{min-height:85px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;align-items:center;gap:12px;color:var(--text);font-size:17px;font-weight:900;letter-spacing:2px;line-height:1.15}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--green);color:white;font-size:24px}.brand small{display:block;font-size:8px;letter-spacing:1.3px;color:var(--muted);margin-top:5px}.green{color:#86b957}.nav ul{display:flex;gap:clamp(15px,2.4vw,32px);list-style:none;margin:0;padding:0}.nav a{font-size:14px;font-weight:650;color:var(--muted)}.theme-toggle,.menu-toggle{border:1px solid var(--line);background:var(--surface);border-radius:99px;padding:9px 13px;cursor:pointer;font-size:13px;color:var(--text)}.menu-toggle{display:none}.hero{padding:clamp(55px,8vw,105px) 0;display:grid;grid-template-columns:1.05fr .95fr;gap:45px;align-items:center}.eyebrow{display:block;font-size:11px;letter-spacing:1.7px;font-weight:850;color:#66814f}.hero h1{font-size:clamp(40px,5.5vw,70px);line-height:1.07;letter-spacing:-2.7px;margin:20px 0}.hero h1 em{color:#6c9650}.hero-text{font-size:17px;line-height:1.8;color:var(--muted);max-width:600px}.hero-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:28px}.button{display:inline-flex;background:var(--green);color:#fff!important;padding:13px 18px;border-radius:10px;font-weight:750;font-size:14px}.button:hover{transform:translateY(-2px);text-decoration:none}.button.secondary{background:var(--surface);color:var(--text)!important;border:1px solid var(--line)}.text-link{font-size:14px;font-weight:750}.proof{font-size:12px;color:var(--muted);margin-top:25px}.hero-art{min-height:330px;position:relative;display:grid;place-items:center;isolation:isolate}.orbit{position:absolute;width:315px;height:315px;border:1px solid #dce5d5;border-radius:50%;z-index:-1}.back-card{position:absolute;right:5%;top:15%;width:190px;height:120px;border-radius:18px;background:#dcebd7;display:grid;place-items:center;color:#4b7650;font-size:24px;font-weight:850;transform:rotate(8deg);z-index:-1}.puzzle-card{width:min(310px,90%);padding:26px;background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);transform:rotate(-3deg)}.puzzle-card small{font-size:9px;letter-spacing:1.5px;color:var(--muted);font-weight:850}.puzzle-card strong{display:block;font-size:25px;line-height:1.25;margin:16px 0}.numbers{display:flex;gap:8px}.numbers b{display:grid;place-items:center;width:43px;height:43px;background:var(--bg);border:1px solid var(--line);border-radius:9px}.numbers b:last-child{background:#e1efce}.float-note{position:absolute;right:0;bottom:2%;padding:13px 16px;background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);font-size:12px}.float-note b,.float-note span{display:block}.float-note span{color:var(--muted);font-size:11px}.section{padding:35px 0 75px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.section-head h2,.how h2{font-size:clamp(28px,3vw,40px);line-height:1.18;letter-spacing:-1px;margin:8px 0}.section-head p{font-size:14px;color:var(--muted);margin:8px 0 0}.date-pill,.chip{display:inline-block;border:1px solid var(--line);border-radius:99px;padding:7px 12px;font-size:12px;color:var(--muted);background:var(--surface)}.feature{display:grid;grid-template-columns:1fr .85fr;gap:25px;padding:clamp(22px,4vw,40px);background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.feature h3{font-size:25px;margin:10px 0}.feature p{font-size:14px;color:var(--muted)}.feature-visual{background:#f6f8f1;border-radius:14px;min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center}.tiles{display:flex;gap:6px;margin:5px}.tiles span{width:clamp(32px,4vw,46px);height:clamp(36px,4vw,48px);display:grid;place-items:center;background:#fff;border:1px solid #d9dfd4;border-radius:7px;font-weight:850}.tiles span:first-child{background:#d8e9c7}.tiles span:nth-child(2){background:#f1e6bf}.feature-visual small{margin-top:13px;color:var(--muted);font-size:11px}.game-grid,.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.game-card,.post-card{padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:16px;transition:.2s}.game-card:hover,.post-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.game-icon{display:grid;place-items:center;width:47px;height:47px;border-radius:14px;font-size:23px;font-weight:850;margin-bottom:15px}.blue{background:#e0e9f5;color:#496d9e}.gold{background:#f7e9cf;color:#a57625}.purple{background:#ece3f6;color:#8061a1}.game-card h3{font-size:22px;margin:15px 0 7px}.game-card p,.post-card p{font-size:14px;color:var(--muted);min-height:65px}.card-link{display:block;border-top:1px solid var(--line);padding-top:14px;font-size:13px;font-weight:750}.how{margin-bottom:80px;padding:clamp(25px,5vw,55px);border-radius:18px;background:#e9efe3;display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.how p{font-size:14px;color:#5d6d60;line-height:1.8}.how ol{list-style:none;margin:0;padding:0}.how li{display:flex;gap:16px;padding:15px 0;border-bottom:1px solid #d5dfd0}.how li:last-child{border:0}.how li>b{font-size:12px;color:#77915e}.how li strong,.how li small{display:block}.how li small{font-size:12px;color:#66766a}.post-card h3,.post-card h2{font-size:20px;line-height:1.3}.post-card small,.meta{font-size:12px;color:var(--muted)}.ad-slot{margin:22px 0;padding:18px;border:1px dashed #cbd4c7;border-radius:10px;text-align:center;font-size:11px;color:#879087;letter-spacing:1px}.content{padding:55px 0 85px;min-height:55vh}.content.narrow{max-width:850px}.content h1{font-size:clamp(34px,4vw,52px);line-height:1.15;letter-spacing:-1.3px}.content p{line-height:1.85}.site-footer{border-top:1px solid var(--line);padding:30px 0 22px}.foot-top{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.foot-brand{font-weight:900;letter-spacing:2px}.foot-top p,.foot-links{font-size:12px;color:var(--muted)}.foot-links{display:flex;gap:15px}.foot-bottom{border-top:1px solid var(--line);padding-top:17px;margin-top:22px;font-size:11px;color:var(--muted)}.search-form{display:flex;gap:8px}.search-form input{padding:12px;border:1px solid var(--line);border-radius:8px}.search-form input[type=search]{min-width:0}.search-form input[type=submit]{background:var(--green);color:white;cursor:pointer}.dark{--bg:#17221c;--surface:#202d25;--text:#edf2e9;--muted:#aab8ac;--line:#34443a;--green:#a5ce80;--soft:#31452f;--shadow:0 18px 50px #0003}.dark .button{color:#17221c!important}.dark .hero h1 em{color:#b0d38d}.dark .orbit{border-color:#35473a}.dark .back-card{background:#2e4633;color:#c7e6b3}.dark .numbers b{background:#27352b;border-color:#3c4c3f}.dark .numbers b:last-child{background:#3b5334}.dark .feature-visual,.dark .how{background:#26372b}.dark .how p,.dark .how li small{color:#b7c4b8}.dark .how li{border-color:#3b4d3d}.dark .tiles span{background:#26352a;border-color:#3b4d3d;color:#dce8d8}.dark .tiles span:first-child{background:#38532f}.dark .tiles span:nth-child(2){background:#594d2c}.dw-ad-slot{color:var(--muted)}@media(max-width:900px){.header-inner{flex-wrap:wrap;padding:14px 0}.menu-toggle{display:block}.nav{display:none;width:100%;order:5}.nav.open{display:block}.nav ul{flex-wrap:wrap;padding:8px 0 12px}.hero{grid-template-columns:1fr;gap:20px}.hero-art{min-height:290px}.feature{grid-template-columns:1fr}.game-grid,.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.how{grid-template-columns:1fr;gap:20px}}@media(max-width:580px){.wrap{width:calc(100% - 36px)}.brand{font-size:14px}.brand-mark{width:37px;height:37px}.brand small{font-size:7px}.hero{padding:48px 0 35px}.hero h1{letter-spacing:-1.6px}.hero-text{font-size:15px}.hero-art{min-height:260px}.orbit{width:255px;height:255px}.puzzle-card{width:265px;padding:20px}.back-card{width:150px;height:95px}.section{padding:30px 0 50px}.section-head{align-items:flex-start;flex-direction:column}.feature{padding:20px}.game-grid,.post-grid{grid-template-columns:1fr}.game-card p,.post-card p{min-height:0}.how{margin-bottom:50px;padding:24px 20px}.foot-top{align-items:flex-start;flex-direction:column}.search-form{flex-direction:column}}