/*
Theme Name: Dionytec
Description: Deutschsprachiges Dionytec-Theme mit Startseite, WordPress-Journal und öffentlicher Portal-Demo mit Home-Assistant-Link.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Author: Dionytec
Text Domain: dionytec
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--bg:#131715;--panel:#1d2420;--green:#c4f582;--ink:#eef2e9;--muted:#9da79f;--line:#353c36}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,'Segoe UI',sans-serif}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--green);outline-offset:5px}header{height:104px;max-width:1440px;padding:0 6%;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;font-size:27px;font-weight:700;letter-spacing:-1px}.mark{background:var(--green);color:#182017;display:inline-flex;align-items:center;justify-content:center;width:37px;height:37px;border-radius:9px;font-size:31px;font-weight:800;line-height:1}.brand-dot{font-size:11px;align-self:flex-start;margin-top:4px}nav{display:flex;align-items:center;gap:35px;font-size:14px}nav a:hover,.text-link:hover{color:var(--green)}.portal-link{background:transparent;border:1px solid #697367;border-radius:6px;color:var(--ink);padding:13px 19px}.portal-link span{margin-left:24px}.hero{max-width:1440px;margin:auto;padding:83px 6% 0;display:grid;grid-template-columns:1.3fr 1fr;column-gap:25px;overflow:hidden}.eyebrow{font-size:11px;font-weight:600;letter-spacing:2px;margin:0 0 30px;display:flex;align-items:center;gap:10px}.status{width:7px;height:7px;background:var(--green);border-radius:50%;display:inline-block}h1,h2,h3{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;letter-spacing:-2px}h1{font-size:clamp(38px,4.5vw,67px);font-weight:500;line-height:1.14;margin:0 0 27px}em{font-style:normal;color:var(--green)}.intro{font-size:17px;line-height:1.8;color:#b5bdb5;max-width:490px}.hero-actions{display:flex;align-items:center;gap:26px;margin-top:35px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:32px;padding:17px 22px;border:0;border-radius:5px;font-size:13px;font-weight:600}.primary{background:var(--green);color:#172015}.primary:hover{background:#d5ffa1}.text-link{font-size:13px}.text-link span{margin-left:10px}.small-note{color:#808c82;font-size:11px;margin-top:30px}.hero-art{position:relative;min-height:450px;isolation:isolate}.art-grid{position:absolute;inset:0;background-image:linear-gradient(#a1bf8910 1px,transparent 1px),linear-gradient(90deg,#a1bf8910 1px,transparent 1px);background-size:39px 39px;mask-image:radial-gradient(ellipse,#000,transparent 70%)}.orb{position:absolute;left:14%;top:13%;width:75%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 31% 25%,#e6ffd1 0%,#acd983 20%,#537d44 46%,#1a2c1d 68%,#0d130e 80%);box-shadow:inset -15px -17px 30px #080e09,0 0 95px #91c36e16;display:flex;align-items:center;justify-content:center;transform:rotate(-14deg)}.orb span{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:clamp(100px,18vw,240px);font-weight:800;color:#182a17b0;text-shadow:1px 2px 1px #cbffaf66;margin-top:-20px}.orbit{position:absolute;top:36%;left:-5%;width:111%;height:27%;border:1px solid #b7d89b6b;border-radius:50%;transform:rotate(-35deg);z-index:2}.orbit.two{transform:rotate(40deg);border-color:#b7d89b22;z-index:-1}.art-tag{position:absolute;z-index:3;font-size:9px;letter-spacing:1.3px;padding:12px;background:#273027c9;border:1px solid #5e74544d;border-radius:4px;backdrop-filter:blur(10px)}.tag-one{top:19%;right:0}.tag-one i{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--green);margin-right:6px}.tag-two{bottom:23%;left:0}.art-coordinate{position:absolute;bottom:8%;right:1%;font:9px/1.8 monospace;color:#798475;letter-spacing:1px}.hero-bottom{grid-column:1/-1;border-top:1px solid var(--line);display:flex;justify-content:space-between;padding:23px 0;margin-top:55px;color:#89958a;font-size:9px;letter-spacing:1.6px}.section{padding:92px 6%;max-width:1440px;margin:auto}.about{display:grid;grid-template-columns:1fr 1fr;gap:80px;border-bottom:1px solid var(--line)}h2{font-size:40px;line-height:1.22;font-weight:500;margin:0}.about-copy>p:first-child{font-size:20px;line-height:1.65;margin-top:0}.muted{color:var(--muted);font-size:14px;line-height:1.8}.principles{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:25px;margin-top:30px;gap:10px}.principles span{font-size:10px;color:var(--green)}.principles b{font-size:12px;font-weight:400;margin-left:9px;color:var(--ink)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px}.section-head .eyebrow{margin-bottom:18px}.filters{display:flex;gap:9px;margin:35px 0 30px;flex-wrap:wrap}.filters button{border:1px solid var(--line);color:#acb5aa;background:transparent;padding:9px 17px;border-radius:30px;font-size:12px}.filters button.active{background:var(--green);border-color:var(--green);color:#182017}.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:27px}.post-open{border:0;background:none;color:inherit;padding:0;text-align:left;width:100%}.post-art{height:225px;position:relative;overflow:hidden;border-radius:5px}.art-a{background:#d1dfba;color:#273922}.art-b{background:#333c34;color:#dfebca}.art-c{background:#9baba0;color:#25332b}.art-number{position:absolute;top:17px;left:20px;font-size:11px}.art-caption{position:absolute;bottom:19px;left:20px;font-size:9px;letter-spacing:1.5px}.mini-orb{position:absolute;width:160px;height:160px;border-radius:50%;background:radial-gradient(circle at 30% 20%,#f0ffd5,#8baf6d 40%,#263d28 80%);left:28%;top:14%;box-shadow:20px 14px 20px #203c2738}.lines{position:absolute;width:200px;height:200px;border:1px solid #b4d28c;border-radius:50%;left:27%;top:20%;box-shadow:12px -12px 0 -1px #333c34,12px -12px #b4d28c,24px -24px 0 -1px #333c34,24px -24px #b4d28c,36px -36px 0 -1px #333c34,36px -36px #b4d28c,48px -48px 0 -1px #333c34,48px -48px #b4d28c}.squares{position:absolute;left:32%;top:25%;width:110px;height:110px;border:1px solid #e3f0cc;transform:rotate(-25deg);box-shadow:22px 22px #56735e,-22px -22px #c1d1ae}.post-open:hover .post-art{filter:brightness(1.08)}.post-meta{display:flex;justify-content:space-between;gap:6px;color:var(--green);font-size:8px;letter-spacing:1px;margin:22px 0 14px}.post-meta span{color:#869184;font-size:8px;letter-spacing:0}h3{font-size:23px;font-weight:500;line-height:1.35;letter-spacing:-.7px;margin:0 0 12px}.post-open p{color:var(--muted);font-size:13px;line-height:1.8;margin:0}.read{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:23px 0 16px;font-size:12px}.read b{font-size:18px;color:var(--green);font-weight:400}.demo-note{font-size:11px;color:#8e9a8d;line-height:1.7;margin-top:23px}.portal-section{background:#20281f;display:grid;grid-template-columns:1fr 1fr;gap:90px}.portal-section>div>p:not(.eyebrow):not(.demo-note){color:#b2bcae;max-width:420px;font-size:14px;line-height:1.8;margin:25px 0}.portal-preview{align-self:center;background:#151c16;border:1px solid #414e3a;border-radius:10px;padding:28px;box-shadow:0 30px 60px #0002;transform:rotate(-2deg)}.preview-top{display:flex;align-items:center;gap:12px;font-size:8px;letter-spacing:1px;border-bottom:1px solid var(--line);padding-bottom:23px;margin-bottom:25px}.preview-top .mark{width:26px;height:26px;font-size:23px}.pill{font-size:9px;padding:6px 8px;background:#38462e;color:var(--green);border-radius:4px;margin-left:auto;letter-spacing:.7px}.stats{display:flex;margin:25px 0 30px;gap:10px}.stats div{flex:1;border:1px solid #35402f;border-radius:5px;padding:15px 10px;display:flex;flex-direction:column;gap:10px}.stats b{font-size:26px;font-weight:400}.stats span{font-size:9px;color:#a0af97}.project-line{display:flex;justify-content:space-between;font-size:11px;gap:20px}.project-line .status{margin-right:6px}.project-line>span:last-child{font-size:9px;color:var(--green)}.progress{background:#36432c;height:4px;border-radius:3px;margin:16px 0}.progress i{display:block;width:65%;background:var(--green);height:100%}.preview-foot{font-size:9px;color:#9aaa90;display:flex;justify-content:space-between}footer{max-width:1440px;margin:auto;padding:38px 6%;display:flex;align-items:center;gap:25px}footer .brand{font-size:21px}footer .mark{height:29px;width:29px;font-size:25px}footer p{font-size:11px;color:var(--muted);margin-right:auto}footer>span,footer button{font-size:10px;color:#9da79f}footer button{border:0;background:none;padding:0}dialog{background:#1b231d;color:var(--ink);border:1px solid #53604b;border-radius:12px;width:min(800px,92vw);max-height:88vh;padding:46px;box-shadow:0 20px 100px #0008}dialog::backdrop{background:#080e0bce;backdrop-filter:blur(7px)}dialog h2{font-size:32px;margin:25px 0}dialog p{line-height:1.8;color:#b4bfb0}.close{position:absolute;right:16px;top:12px;background:none;color:var(--ink);border:0;font-size:28px}.portal-dialog-head{display:flex;align-items:center;gap:15px;margin-top:8px}.portal-dialog-head .brand{font-size:21px}.demo-card{padding:20px;border:1px solid #3b4934;border-radius:6px;margin:14px 0}.demo-card h3{font-size:19px}.demo-card p{font-size:13px}.doc-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 0;border-bottom:1px solid var(--line);font-size:13px}.doc-row button{background:#34442b;color:var(--green);border:0;padding:9px;border-radius:4px;font-size:11px}label{display:block;font-size:13px;margin:18px 0 7px}input,textarea{display:block;width:100%;border:1px solid #56614d;background:#141b15;color:var(--ink);border-radius:4px;padding:12px}textarea{min-height:95px;resize:vertical}form .button{margin-top:17px}.support-feedback{color:var(--green)!important}body:has(dialog[open]){overflow:hidden}[hidden]{display:none!important}@media(min-width:1600px){.hero{padding-top:100px}.hero-art{min-height:490px}}@media(max-width:900px){header{height:85px}nav{gap:18px}.hero{padding-top:55px;grid-template-columns:1fr 0.8fr}.hero-art{min-height:360px}.hero-actions{align-items:flex-start;flex-direction:column;gap:18px}h1{font-size:43px}.section{padding-top:65px;padding-bottom:65px}.about,.portal-section{gap:35px}h2{font-size:32px}.posts{gap:18px}.post-art{height:185px}.post-meta{flex-direction:column;gap:7px}.principles{flex-direction:column;gap:15px}footer{flex-wrap:wrap}}@media(max-width:600px){header{padding:0 6%;height:80px}.brand{font-size:23px}nav>a{display:none}.portal-link{padding:10px 12px;font-size:12px}.portal-link span{margin-left:8px}.hero{display:flex;flex-direction:column;padding-top:43px}h1{font-size:41px;letter-spacing:-1.8px}.intro{font-size:15px}.hero-art{min-height:340px;width:100%;max-width:400px;margin:10px auto 0}.hero-actions{flex-direction:row;align-items:center;gap:16px}.button{font-size:12px;padding:15px;gap:18px}.text-link{font-size:11px}.hero-bottom{margin-top:5px;font-size:7px;gap:20px;width:100%}.about,.portal-section{grid-template-columns:1fr;gap:30px}.section{padding-top:52px;padding-bottom:52px}.eyebrow{margin-bottom:20px;font-size:10px}.about-copy>p:first-child{font-size:18px}.principles{flex-direction:row;flex-wrap:wrap}.section-head{display:block}.section-head>.muted{margin-top:22px}.posts{grid-template-columns:1fr;gap:35px}.post-art{height:240px}.post-meta{flex-direction:row}.mini-orb{left:33%}.post-open h3 br{display:none}.filters{gap:7px}.filters button{font-size:11px;padding:8px 11px}.portal-preview{transform:none;padding:20px}.portal-section h2{font-size:37px}footer{gap:18px}footer p{width:50%;margin-right:0}dialog{padding:32px 20px}.portal-dialog-head{flex-wrap:wrap}.portal-dialog-head .pill{margin-left:0}.doc-row{font-size:11px}dialog h2{font-size:27px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.home-assistant-card{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#222e22}
.home-assistant-card h3{margin-bottom:6px}
.home-assistant-card p{margin:0;font-size:12px}
.home-assistant-card .button{flex-shrink:0}
.home-assistant-card button:disabled{cursor:not-allowed;background:#3c4935;color:#bdc9b4;opacity:.8}
@media(max-width:600px){.home-assistant-card{align-items:flex-start;flex-direction:column;gap:16px}.home-assistant-card .button{width:100%}}

.main-menu,.footer-menu{display:flex;align-items:center;gap:25px;list-style:none;padding:0;margin:0}
.main-menu li,.footer-menu li{margin:0}.main-menu a{display:block}
.site-footer>a:not(.brand),.footer-menu a{font-size:11px;color:var(--muted)}
.post-open{display:block}.post-art img{width:100%;height:100%;object-fit:cover}
.post-meta time{color:var(--muted)}.journal-card{min-width:0}
.filters a{display:inline-block;border:1px solid var(--line);color:#acb5aa;padding:9px 17px;border-radius:30px;font-size:12px}
.filters a:hover,.filters a.active{background:var(--green);color:#182017}
.reading{max-width:1000px;min-height:55vh}.reading h1{font-size:clamp(35px,5vw,58px);overflow-wrap:anywhere}
.entry-content{font-size:17px;line-height:1.85;overflow-wrap:anywhere}.entry-content>*{max-width:100%}
.entry-content h2,.entry-content h3{margin:1.4em 0 .6em}.entry-content p{margin:1.2em 0}
.entry-content a,.comments-area a{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.entry-content img,.featured-image{max-width:100%;height:auto;border-radius:6px}.featured-image{margin:20px 0}
.entry-content iframe,.entry-content video{max-width:100%}.entry-content table{border-collapse:collapse;width:100%;display:block;overflow:auto}.entry-content td,.entry-content th{border:1px solid var(--line);padding:10px}
.entry-content pre{overflow:auto;padding:20px;background:var(--panel)}.entry-content blockquote{border-left:3px solid var(--green);padding-left:22px;margin-left:0;color:#bac8b3}
.alignleft{float:left;margin:0 20px 15px 0}.alignright{float:right;margin:0 0 15px 20px}.aligncenter{display:block;margin:auto}.entry-content:after{content:'';display:table;clear:both}
.wp-caption-text,.gallery-caption{font-size:13px;color:var(--muted)}.bypostauthor{border-left:2px solid var(--green);padding-left:15px}
.portal-page{max-width:1100px;min-height:60vh}.portal-page>h1{font-size:clamp(35px,5vw,55px)}
.home-assistant-card h2{font-size:23px;letter-spacing:-.6px}.portal-page .pill{margin-left:0}
.pagination{margin-top:40px}.pagination .nav-links{display:flex;flex-wrap:wrap;gap:15px}.pagination .page-numbers{padding:8px 12px;border:1px solid var(--line);border-radius:4px}.pagination .current{background:var(--green);color:var(--bg)}
.comments-area{margin-top:50px;border-top:1px solid var(--line);padding-top:30px}.comment-list{padding-left:25px}.comment-body{padding:20px 0}.comment-author .avatar{border-radius:50%;vertical-align:middle}.comment-meta{font-size:13px}.comment-form-cookies-consent input{width:auto;display:inline}.comment-form-cookies-consent label{display:inline}.submit,.search-submit{padding:12px 20px;background:var(--green);color:var(--bg);border:0;border-radius:5px;width:auto;cursor:pointer}
.screen-reader-text,.skip-link{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{clip:auto;width:auto;height:auto;left:15px;top:15px;padding:15px;background:var(--green);color:var(--bg);z-index:100000}
@media(max-width:600px){.site-header{height:auto;min-height:80px;gap:18px;flex-wrap:wrap;padding-top:20px;padding-bottom:20px}.site-header nav{width:100%;flex-wrap:wrap;justify-content:space-between;gap:14px}.site-header nav>a{display:block}.main-menu{flex-wrap:wrap;gap:14px;font-size:12px}.site-footer .footer-menu{flex-wrap:wrap}.entry-content{font-size:16px}.home-assistant-card .button{width:100%}.alignleft,.alignright{float:none;margin:15px 0}}
