/*
Theme Name: ALEXIS – Alex IT Service
Theme URI: https://example.com
Author: ALEXIS
Description: Dunkles IT-Theme für ALEXIS – Alex IT Service. Platinen-Optik, animierter Chip, X-Logo. Ohne externe Schriften (DSGVO-freundlich). Legt beim Aktivieren automatisch die Seiten Startseite, Über mich, Leistungen, Kontakt, Impressum und das Menü an.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: Alle Rechte vorbehalten
Text Domain: alexis
*/

:root{
  --bg:#0b0d12; --bg2:#11141b; --card:#151922; --line:#232a37;
  --text:#e8ebf1; --muted:#9aa3b2; --orange:#e8572a; --orange2:#ff7a45;
  --green:#3ddc97; --radius:14px; --max:1180px;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, "Liberation Mono", monospace;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--bg); color:var(--text); font-family:var(--sans);
  font-size:17px; line-height:1.65; -webkit-font-smoothing:antialiased;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' fill='none' stroke='%23ffffff' stroke-opacity='.045' stroke-width='1.5'%3E%3Cpath d='M0 40h40l20 20h40l20-20h40M40 160v-40l20-20V60M120 0v30l-20 20M100 160v-30l30-30h30M0 110h30l20 20'/%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3Ccircle cx='120' cy='30' r='3'/%3E%3Ccircle cx='60' cy='60' r='3'/%3E%3Ccircle cx='130' cy='100' r='3'/%3E%3Ccircle cx='30' cy='110' r='3'/%3E%3C/svg%3E"),
    radial-gradient(1200px 600px at 80% -10%, rgba(232,87,42,.10), transparent 60%);
  background-attachment: fixed;
}
a{color:var(--orange2); text-decoration:none}
a:hover{color:#fff}
img{max-width:100%; height:auto}
.wrap{max-width:var(--max); margin:0 auto; padding:0 24px}
.screen-reader-text{position:absolute!important; clip:rect(1px,1px,1px,1px); width:1px; height:1px; overflow:hidden}

/* ---------- Logo ---------- */
.xmark line{stroke-width:15; stroke-linecap:butt}
.xmark .xw{stroke:#fff}
.xmark .xo{stroke:var(--orange)}
.wordmark{display:inline-flex; align-items:center; font-weight:800; letter-spacing:.06em; line-height:1; color:var(--text)}
.wordmark .xmark{height:.78em; width:.78em; margin:0 .04em; overflow:visible}
.wordmark .xmark line{stroke-width:17}

/* ---------- Header ---------- */
.site-header{position:sticky; top:0; z-index:50; background:rgba(11,13,18,.82); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex; align-items:center; justify-content:space-between; height:72px}
.brand{display:flex; align-items:center; gap:12px; color:var(--text)}
.brand .wordmark{font-size:26px}
.brand .tag{font-family:var(--mono); font-size:11px; color:var(--muted); letter-spacing:.12em; text-transform:uppercase; border-left:1px solid var(--line); padding-left:12px}
.nav ul{list-style:none; margin:0; padding:0; display:flex; gap:6px}
.nav a{display:block; padding:8px 14px; border-radius:8px; color:var(--muted); font-size:15px; font-weight:600}
.nav a:hover,.nav .current-menu-item>a,.nav .current_page_item>a{color:#fff; background:var(--card)}
.nav .current-menu-item>a,.nav .current_page_item>a{box-shadow:inset 0 -2px 0 var(--orange)}
.nav-toggle{display:none; background:none; border:1px solid var(--line); border-radius:8px; width:44px; height:44px; color:#fff; cursor:pointer}
.nav-toggle span{display:block; width:20px; height:2px; background:currentColor; margin:4px auto; transition:.2s}

/* ---------- Hero ---------- */
.hero{position:relative; overflow:hidden; padding:72px 0 56px}
.hero .wrap{display:grid; grid-template-columns:1.05fr .95fr; gap:40px; align-items:center}
.kicker{font-family:var(--mono); color:var(--green); font-size:13px; letter-spacing:.14em; text-transform:uppercase; display:inline-flex; gap:10px; align-items:center}
.kicker::before{content:""; width:8px; height:8px; border-radius:50%; background:var(--green); box-shadow:0 0 12px var(--green); animation:blink 2s infinite}
.hero h1{margin:14px 0 6px; font-size:clamp(56px,10vw,118px)}
.hero h1 .wordmark{letter-spacing:.04em}
.hero .sub{font-size:clamp(18px,2.2vw,24px); font-weight:700; color:#fff; margin:0 0 14px}
.hero .lead{color:var(--muted); max-width:34em; margin:0 0 28px}
.btns{display:flex; flex-wrap:wrap; gap:12px}
.btn{display:inline-flex; align-items:center; gap:8px; padding:13px 22px; border-radius:10px; font-weight:700; font-size:15px; border:1px solid var(--line); color:#fff; background:var(--card); transition:.2s}
.btn:hover{border-color:var(--orange); color:#fff; transform:translateY(-1px)}
.btn.primary{background:var(--orange); border-color:var(--orange)}
.btn.primary:hover{background:var(--orange2)}
.chip{width:100%; max-width:520px; margin:0 auto; display:block; filter:drop-shadow(0 30px 60px rgba(0,0,0,.5))}
.chip .traces path,.chip .pulses path{fill:none; stroke-width:2.2; stroke-linejoin:round}
.chip .traces path{stroke:#2b3445}
.chip .pulses path{stroke:var(--orange); stroke-dasharray:8 92; stroke-dashoffset:100; animation:pulse 4s linear infinite; filter:drop-shadow(0 0 4px var(--orange))}
.chip .vias circle{fill:var(--bg); stroke:#3a4558; stroke-width:2}
.chip .pins rect{fill:#8b93a3}
.chip .die{fill:#141820; stroke:#2f3848; stroke-width:2}
.chip .die-inner{fill:none; stroke:#232a37; stroke-dasharray:3 4}
.chip .dot{fill:#2f3848}
.chip .chip-x line{stroke-width:13}
.chip .chip-x .xw{stroke:#fff}
.chip .chip-x .xo{stroke:var(--orange); filter:drop-shadow(0 0 6px rgba(232,87,42,.7))}

/* ---------- Status bar ---------- */
.statusbar{border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--bg2); font-family:var(--mono); font-size:13px; color:var(--muted)}
.statusbar .wrap{display:flex; flex-wrap:wrap; gap:8px 32px; padding-top:14px; padding-bottom:14px}
.statusbar b{color:var(--green); font-weight:400}

/* ---------- Sections / Cards ---------- */
.section{padding:72px 0}
.section-head{margin-bottom:32px}
.section-head .kicker{color:var(--orange)}
.section-head .kicker::before{background:var(--orange); box-shadow:0 0 12px var(--orange)}
.section-head h2{font-size:clamp(28px,4vw,40px); margin:8px 0 0; line-height:1.2}
.cards{display:grid; grid-template-columns:repeat(4,1fr); gap:18px}
.card{position:relative; background:linear-gradient(180deg,var(--card),var(--bg2)); border:1px solid var(--line); border-radius:var(--radius); padding:26px 22px; transition:.25s; overflow:hidden}
.card::after{content:""; position:absolute; inset:auto 0 0 0; height:2px; background:linear-gradient(90deg,transparent,var(--orange),transparent); opacity:0; transition:.25s}
.card:hover{transform:translateY(-4px); border-color:#33405a}
.card:hover::after{opacity:1}
.card .ico{width:46px; height:46px; border-radius:10px; display:grid; place-items:center; background:rgba(232,87,42,.12); color:var(--orange); margin-bottom:16px}
.card .ico svg{width:24px; height:24px}
.card h3{margin:0 0 6px; font-size:19px}
.card p{margin:0; color:var(--muted); font-size:15px}

/* ---------- Page header + content ---------- */
.page-hero{padding:64px 0 40px; border-bottom:1px solid var(--line); background:linear-gradient(180deg,rgba(232,87,42,.06),transparent)}
.page-hero .path{font-family:var(--mono); font-size:13px; color:var(--muted)}
.page-hero .path span{color:var(--green)}
.page-hero h1{font-size:clamp(34px,5vw,54px); margin:8px 0 0; line-height:1.15}
.content{padding:48px 0 80px}
.entry{max-width:820px}
.entry h2,.entry h3{line-height:1.25; margin:1.8em 0 .5em}
.entry h2{font-size:30px} .entry h3{font-size:22px}
.entry p,.entry li{color:#cdd3de}
.entry blockquote{border-left:3px solid var(--orange); margin:1.5em 0; padding:.2em 1.2em; color:var(--muted)}
.entry code{font-family:var(--mono); background:var(--card); padding:2px 6px; border-radius:5px}
.entry table{width:100%; border-collapse:collapse} .entry td,.entry th{border:1px solid var(--line); padding:10px}
.placeholder{border:1px dashed #3a4558; border-radius:var(--radius); padding:28px; color:var(--muted); font-family:var(--mono); font-size:14px; background:rgba(255,255,255,.02)}
.placeholder::before{content:"// "; color:var(--orange)}

/* Gutenberg-Anpassungen für dunkles Design */
.wp-block-button__link{background:var(--orange); color:#fff; border-radius:10px; font-weight:700}
.wp-block-columns{gap:18px}
.wp-block-column.is-style-card,.wp-block-group.is-style-card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:24px}
.wp-block-separator{border-color:var(--line)}
input,textarea,select{font:inherit; background:var(--bg2); color:var(--text); border:1px solid var(--line); border-radius:8px; padding:10px 12px; width:100%}
input:focus,textarea:focus{outline:2px solid var(--orange); border-color:transparent}
button,input[type=submit]{background:var(--orange); color:#fff; border:0; border-radius:10px; padding:12px 20px; font-weight:700; cursor:pointer; width:auto}

/* ---------- Footer ---------- */
.site-footer{border-top:1px solid var(--line); background:var(--bg2); padding:44px 0 28px; color:var(--muted); font-size:15px}
.site-footer .grid{display:flex; flex-wrap:wrap; justify-content:space-between; gap:24px; align-items:flex-start}
.site-footer .wordmark{font-size:30px}
.site-footer ul{list-style:none; margin:0; padding:0; display:flex; gap:20px; flex-wrap:wrap}
.site-footer a{color:var(--muted)} .site-footer a:hover{color:#fff}
.site-footer .copy{margin-top:28px; padding-top:18px; border-top:1px solid var(--line); font-family:var(--mono); font-size:12px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px}

@keyframes pulse{to{stroke-dashoffset:0}}
@keyframes blink{50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){*{animation:none!important; transition:none!important}}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .cards{grid-template-columns:repeat(2,1fr)}
  .hero .wrap{grid-template-columns:1fr}
  .hero{padding-top:40px}
  .chip{max-width:380px}
}
@media (max-width:760px){
  .brand .tag{display:none}
  .nav-toggle{display:block}
  .nav{position:absolute; top:72px; left:0; right:0; background:var(--bg); border-bottom:1px solid var(--line); display:none}
  .nav.open{display:block}
  .nav ul{flex-direction:column; padding:12px 16px}
  .nav a{padding:14px}
  .nav-open .nav-toggle span:nth-child(1){transform:translateY(6px) rotate(45deg)}
  .nav-open .nav-toggle span:nth-child(2){opacity:0}
  .nav-open .nav-toggle span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
}
@media (max-width:520px){
  body{font-size:16px}
  .cards{grid-template-columns:1fr}
  .section{padding:52px 0}
}
