/*
Theme Name: Schmitz Elektrotechnik (editierbar)
Theme URI: https://example.com/
Author: Sascha Schmitz
Description: Editierbares WordPress-Theme basierend auf deiner HTML-Seite (Gutenberg-freundlich).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
License: GPLv2 or later
Text Domain: schmitz-elektro
*/


  :root {
    --bg: #0b0b0b;
    --card: rgba(24,24,27,0.7);
    --text: #f5f5f5;
    --muted: #d4d4d8;
    --muted2: #a1a1aa;
    --border: #2a2a2e;
    --accent: #FFDC14;
  }
  * {box-sizing: border-box}
  html, body {margin:0; padding:0; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif; line-height: 1.5;}
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  .container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
  .topbar { position: sticky; top:0; z-index: 40; backdrop-filter: saturate(180%) blur(8px); background: rgba(10,10,10,0.9); border-bottom: 1px solid var(--border);}
  .row { display:flex; align-items: center; justify-content: space-between; height:56px; gap: 16px; }
  .brand { display:flex; align-items:center; gap:12px; }
  .brand img.icon { width:24px; height:24px; }
  .nav { display:none; gap: 20px; font-size: 14px; align-items: center; }
  .nav a:hover { opacity: .85; }
  .chip { border:1px solid #3a3a3a; padding: 6px 10px; border-radius: 999px; }
  @media (min-width: 768px) { .nav { display:flex; } }
  .hero { position: relative; overflow:hidden; padding: 64px 0 40px; text-align:center; }
  .glow { position:absolute; inset:-30% -10% auto -10%; width:1400px; height:600px; margin:auto; background: radial-gradient(closest-side, rgba(255,220,20,.15), transparent 65%); z-index: 0; }
  h1 { font-weight: 700; font-size: 38px; letter-spacing: -0.02em; margin: 0; }
  @media (min-width:640px) { h1 { font-size: 48px; } }
  .accent { color: var(--accent); }
  .lead { margin-top: 16px; color: var(--muted); font-size: 18px; }
  section { position:relative; z-index:1; }
  .section { padding: 28px 0; }
  .section h2 { font-size: 28px; margin: 0 0 10px; font-weight: 700; letter-spacing: -0.01em; }
  .muted2 { color: var(--muted2); font-size: 14px; }
  .grid-2 { display:grid; grid-template-columns: 1fr; gap: 16px; }
  .grid-3 { display:grid; grid-template-columns: 1fr; gap: 16px; }
  @media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 992px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
  .card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
  .pad { padding: 24px; }
  .btn { display:inline-block; border-radius: 12px; padding: 10px 14px; font-weight: 600; }
  .btn-accent { background: var(--accent); color: #111; }
  .btn-ghost { border: 1px solid #454545; }
  .btn + .btn { margin-left: 8px; }
  .list { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
  .list li { margin: 4px 0; }
  .flex { display:flex; align-items: center; gap: 10px; }
  .center { display:flex; align-items:center; justify-content:center; }
  .split { display:grid; grid-template-columns: 1fr; }
  @media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; } }
  .border-l { border-left: 1px solid var(--border); }
  .border-t { border-top: 1px solid var(--border); }
  .sticky-cta { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; width: calc(100% - 24px); max-width: 1100px; z-index: 50; }
  .sticky-cta > .card { display:flex; flex-direction: column; gap: 10px; padding: 12px; }
  @media (min-width: 640px) { .sticky-cta > .card { flex-direction: row; align-items: center; justify-content: space-between; } }
  input, select, textarea { background: transparent; color: var(--text); border: 1px solid #4b4b4b; border-radius: 12px; padding: 12px 14px; width: 100%; outline: none; }
  input:focus, select:focus, textarea:focus { border-color: #666; }
  textarea { min-height: 120px; resize: vertical; }
  .footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted2); font-size: 14px; }
  /* Simple utility spacing */
  .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mb-4 { margin-bottom: 16px; } .pb-6 { padding-bottom: 24px; }
  .hidden-sm { display:none; } @media (min-width:640px) { .hidden-sm { display:block; } }
  .only-sm { display:block; } @media (min-width:640px) { .only-sm { display:none; } }
  .title-row { display:flex; align-items: flex-end; justify-content: space-between; }
  .badge { font-size: 12px; border-radius: 999px; padding: 4px 8px; border: 1px solid rgba(255,220,20,.3); background: rgba(255,220,20,.1); color: var(--accent); }
  .svgbox { padding: 24px; height: 100%; }

  /* --- hero media helpers --- */
  .hero-media{position:relative;width:100%;aspect-ratio:16/10;overflow:hidden;border-bottom:1px solid var(--border);background:#0a0a0a;}
  .hero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;filter:brightness(0.9);}
  .hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.25),rgba(0,0,0,.25));pointer-events:none;}

