/*
Theme Name: OldMan3D
Theme URI: https://example.com/
Author: OldMan3D
Author URI: https://example.com/
Description: Ein schlankes, dunkles Maker-Theme für 3D-Druck Tipps & Tricks.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oldman3d
Tags: blog, custom-logo, custom-menu, one-column, two-columns, dark
*/

/* ---- CSS Variables ---- */
:root{
  --om-bg:#0b0d12;
  --om-surface:#121625;
  --om-surface2:#0f1320;
  --om-text:#f4f6ff;
  --om-muted:#b8c0ffcc;
  --om-line:#ffffff1a;
  --om-accent1:#00d4ff;
  --om-accent2:#ff4fd8;
  --om-accent3:#ffd54a;
  --om-radius: 22px;
}

*{box-sizing:border-box}
html,body{padding:0;margin:0}
body{
  background:var(--om-bg);
  color:var(--om-text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height:1.65;
}
a{color:inherit}
img{max-width:100%;height:auto}

.om-container{max-width:1100px;margin:0 auto;padding:0 20px}
.om-skip{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.om-skip:focus{left:20px;top:20px;width:auto;height:auto;padding:10px 12px;background:#fff;color:#000;border-radius:12px;z-index:100000}

/* ---- Header ---- */
.om-header{
  position:sticky;top:0;z-index:50;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(11,13,18,.85), rgba(11,13,18,.60));
  border-bottom:1px solid var(--om-line);
}
.om-header-inner{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:14px 0;
}
.om-brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.om-brand .custom-logo{width:44px;height:44px;border-radius:14px}
.om-site-title{font-weight:900;letter-spacing:.3px}
.om-site-desc{color:var(--om-muted);font-size:13px;margin-top:-2px}

.om-nav ul{list-style:none;display:flex;gap:14px;padding:0;margin:0;flex-wrap:wrap}
.om-nav a{text-decoration:none;color:var(--om-muted);padding:8px 10px;border-radius:12px;border:1px solid transparent}
.om-nav a:hover{color:var(--om-text);border-color:#ffffff2a;background:#ffffff08}
.om-nav .current-menu-item > a,
.om-nav .current_page_item > a{color:var(--om-text);border-color:#ffffff33;background:#ffffff10}

/* ---- Hero ---- */
.om-hero{
  padding:72px 0;
  background:
    radial-gradient(900px 400px at 15% 15%, rgba(0,212,255,.20), transparent 60%),
    radial-gradient(800px 400px at 85% 20%, rgba(255,79,216,.18), transparent 60%),
    radial-gradient(700px 380px at 60% 90%, rgba(255,213,74,.10), transparent 60%),
    var(--om-bg);
  border-bottom:1px solid var(--om-line);
}
.om-hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:26px;align-items:center}
@media (max-width:900px){.om-hero-grid{grid-template-columns:1fr}}
.om-badge{
  display:inline-block;padding:8px 12px;border:1px solid var(--om-line);
  border-radius:999px;background:#ffffff0f;color:var(--om-text);font-size:14px;margin:0 0 14px;
}
.om-hero h1{font-size:48px;line-height:1.05;margin:0 0 14px}
@media (max-width:900px){.om-hero h1{font-size:38px}}
.om-sub{color:var(--om-muted);font-size:18px;margin:0 0 18px}

.om-cta{display:flex;gap:12px;flex-wrap:wrap}
.om-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 16px;border-radius:14px;text-decoration:none;font-weight:800;border:1px solid var(--om-line);
}
.om-btn-primary{background:linear-gradient(90deg,var(--om-accent1),var(--om-accent2));color:#061018;border:none}
.om-btn-ghost{background:#ffffff10;color:var(--om-text)}
.om-btn:hover{transform:translateY(-1px)}

.om-card{
  border:1px solid var(--om-line);
  background:linear-gradient(180deg,#ffffff0d,#ffffff07);
  border-radius:var(--om-radius);
  padding:18px;
}
.om-card h3{margin:0 0 8px}
.om-card p{margin:0;color:var(--om-muted)}

/* ---- Content ---- */
main{padding:36px 0}
.om-grid{display:grid;grid-template-columns: 1fr 320px;gap:18px}
@media (max-width:980px){.om-grid{grid-template-columns:1fr}}
.om-post{
  border:1px solid var(--om-line);
  background:linear-gradient(180deg,#ffffff0d,#ffffff07);
  border-radius:var(--om-radius);
  padding:20px;
  margin:0 0 16px;
}
.om-post h2,.om-post h1{margin:0 0 10px}
.om-meta{color:var(--om-muted);font-size:14px;margin:0 0 14px}
.om-post a{color:var(--om-text);text-decoration:none}
.om-post a:hover{text-decoration:underline}

.om-sidebar .widget{
  border:1px solid var(--om-line);
  background:#ffffff08;
  border-radius:var(--om-radius);
  padding:18px;
  margin:0 0 16px;
}
.om-sidebar .widget-title{margin:0 0 10px}
.om-sidebar a{color:var(--om-muted);text-decoration:none}
.om-sidebar a:hover{color:var(--om-text);text-decoration:underline}

/* ---- Footer ---- */
.om-footer{
  padding:26px 0;background:#070913;border-top:1px solid var(--om-line);
}
.om-footer-inner{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}
.om-footer small{color:var(--om-muted)}

/* ---- Hero background image ---- */
.om-hero.has-hero-img{
  position:relative;
  overflow:hidden;
}
.om-hero.has-hero-img::before{
  content:"";
  position:absolute;inset:0;
  background-image: var(--om-hero-img);
  background-size: cover;
  background-position: center;
  filter: blur(14px);
  transform: scale(1.06);
  opacity:.55;
}
.om-hero.has-hero-img::after{
  content:"";
  position:absolute;inset:0;
  background: linear-gradient(180deg, rgba(11,13,18,.35), rgba(11,13,18,.88));
}
.om-hero.has-hero-img .om-container{position:relative;z-index:1}

.om-kicker{color:var(--om-muted);margin:10px 0 0;font-size:14px}

/* Category cards grid */
.om-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:18px;
}
@media (max-width:900px){.om-cards{grid-template-columns:1fr}}
.om-cardlink{
  display:block;
  padding:18px;
  border-radius:var(--om-radius);
  border:1px solid var(--om-line);
  background:linear-gradient(180deg,#ffffff0d,#ffffff07);
  text-decoration:none;
}
.om-cardlink h3{margin:0 0 8px;font-size:18px}
.om-cardlink p{margin:0;color:var(--om-muted)}
.om-cardlink:hover{border-color:#ffffff33;transform:translateY(-2px)}
