/*
Theme Name: Linkfaden Clean Orange
Version: 1.0.1
Author: Linkfaden
Description: Softwareportal mit durchgehendem Header und Sidebar.
Requires PHP: 7.4
*/
:root{--orange:#c44900;--cream:#fff3e5;--line:#eaded3;--dark:#252525}
*{box-sizing:border-box}
body{margin:0;background:#faf9f7;color:var(--dark);font:16px/1.65 system-ui,Arial,sans-serif}
a{color:var(--orange);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto}
.wrap{width:min(1440px,94%);margin:auto}
.brandbar{background:white;padding:18px 0}
.brand{font-size:36px;font-weight:800;letter-spacing:-1.5px;color:var(--orange)}
.tagline{font-size:14px;color:#666}
nav.primary{background:#c44900}
.primary ul{display:flex;flex-wrap:wrap;gap:4px 24px;list-style:none;margin:0;padding:12px 0}
.primary a{color:white;font-weight:650}
.hero{background:#fff0df url('assets/header.svg') right center/auto 100% no-repeat;padding:36px 0;border-bottom:1px solid var(--line)}
.hero-inner{max-width:58%}
.hero-title{font-size:clamp(26px,3vw,43px);line-height:1.15;font-weight:800;margin:0 0 12px}
.hero p{margin:0 0 18px}
.hero form{display:flex;max-width:650px}
.hero input{flex:1;min-width:0;padding:14px;border:1px solid #d9c9ba;border-radius:7px 0 0 7px;font:inherit}
button,.button{background:var(--orange);color:white;border:0;border-radius:6px;padding:12px 18px;font:inherit;cursor:pointer}
.hero button{border-radius:0 7px 7px 0}
.layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px;padding:28px 0 45px;align-items:start}
main{min-width:0}
h1,h2,h3{line-height:1.25}
h1{font-size:clamp(26px,3vw,36px);margin-top:0}
.panel,.entry,.sidebar-box{background:white;border:1px solid var(--line);border-radius:10px;padding:22px;margin-bottom:20px}
.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.category-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:130px;text-align:center;background:white;border:1px solid var(--line);border-radius:10px;padding:16px;font-weight:700}
.category-tile:hover{background:var(--cream);border-color:var(--orange)}
.category-icon{font-size:32px;display:block;margin-bottom:8px}
.category-count{font-size:12px;color:#666;font-weight:400}
.sidebar-title{background:var(--orange);color:white;margin:-22px -22px 15px;padding:11px 18px;border-radius:9px 9px 0 0;font-size:17px}
.sidebar-box ul{list-style:none;margin:0;padding:0}
.sidebar-box li{padding:8px 0;border-bottom:1px solid var(--line)}
.site-footer{background:#292929;color:#eee;padding:32px 0}
.site-footer a{color:#ffd5b5}
.footer-links{display:flex;gap:18px;flex-wrap:wrap}
.entry table{max-width:100%;border-collapse:collapse}
.entry td,.entry th{padding:10px;border:1px solid var(--line)}
.entry{overflow-wrap:anywhere}
@media(max-width:950px){.layout{grid-template-columns:1fr}.hero-inner{max-width:70%}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hero{background-image:none;padding:24px 0}.hero-inner{max-width:100%}.brand{font-size:30px}.primary ul{gap:8px 16px}.panel,.entry{padding:16px}.category-tile{min-height:110px}}
