/*
Theme Name: TenBits
Theme URI: https://tenbits.de
Author: TenBits IT Solutions
Author URI: https://tenbits.de
Description: Professionelles IT-Dienstleistungstheme für tenbits.de
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: tenbits
*/

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&family=Share+Tech+Mono&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --bg-dark:     #090D1A;
  --bg-card:     #0D1525;
  --accent-cyan: #00E5FF;
  --accent-blue: #0072FF;
  --text-white:  #F0F4FF;
  --text-muted:  #4A6580;
  --text-dim:    #8AA0B8;
  --border:      #1A2D45;
  --font-display: 'Rajdhani', sans-serif;
  --font-mono:    'Share Tech Mono', monospace;
  --font-body:    'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--accent-cyan); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: 0.8; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HEADER ── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s, border-color .3s, padding .3s;
}
#site-header.scrolled {
  background: rgba(9,13,26,0.95);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  backdrop-filter: blur(12px);
}
#site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-bits {
  display: grid;
  grid-template-columns: repeat(5, 10px);
  gap: 4px;
}
.bit {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.bit.on {
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
}
.logo-text {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-white);
}
.logo-text span { color: var(--accent-cyan); }
.logo-tld {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  padding: 2px 6px;
  border-radius: 4px;
}
.site-nav ul { list-style: none; display: flex; gap: 36px; }
.site-nav a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color .2s;
}
.site-nav a:hover { color: var(--accent-cyan); opacity: 1; }
.nav-cta {
  background: var(--accent-cyan) !important;
  color: var(--bg-dark) !important;
  padding: 8px 20px !important;
  border-radius: 4px;
  font-weight: 600 !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-white);
}

/* ── GRID BACKGROUND ── */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
  pointer-events: none;
}
.glow-bg {
  position: absolute;
  top: 10%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,114,255,0.2) 0%, transparent 70%);
  pointer-events: none;
}

/* ── SECTIONS ── */
.section { padding: 100px 0; position: relative; }
.section-alt {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-desc {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 520px;
  margin-bottom: 48px;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
  border: 1px solid rgba(0,229,255,0.3);
  background: rgba(0,229,255,0.06);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 32px;
  letter-spacing: 2px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; box-shadow: 0 0 0 0 rgba(0,229,255,.4); }
  50%      { opacity:.6; box-shadow: 0 0 0 6px rgba(0,229,255,0); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 48px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: var(--bg-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 6px;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,229,255,.3);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: border-color .2s, transform .2s;
}
.btn-secondary:hover {
  opacity: 1;
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* ── STATS ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 48px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── CARDS (Services, Features, etc.) ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  opacity: 0;
  transition: opacity .3s;
}
.card:hover { border-color: rgba(0,229,255,.3); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card-icon { font-size: 32px; margin-bottom: 20px; }
.card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.card p { color: var(--text-dim); font-size: 15px; }
.card-num {
  position: absolute;
  bottom: 24px; right: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--border);
}

/* ── TWO-COL LAYOUT ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ── BIT MATRIX ── */
.bit-matrix {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 10px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.bm {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--border);
  transition: background .4s, box-shadow .4s;
}
.bm.active {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

/* ── FEATURE LIST ── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-dim);
}
.feature-list li::before {
  content: '›';
  color: var(--accent-cyan);
  font-size: 20px;
  line-height: 1.4;
  flex-shrink: 0;
}

/* ── CONTACT ── */
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: center; gap: 16px; }
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item-text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.contact-item-text a,
.contact-item-text span { color: var(--text-white); font-size: 15px; }

/* ── FORM ── */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .2s;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0,229,255,.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg-card); }

/* ── FOOTER ── */
#site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 24px;
}
.footer-nav ul { list-style: none; display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer-nav a:hover { color: var(--accent-cyan); opacity: 1; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.footer-legal a:hover { color: var(--accent-cyan); opacity: 1; }

/* ── WORDPRESS CONTENT ── */
.entry-content h1, .entry-content h2, .entry-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 1.5em 0 .5em;
}
.entry-content p { color: var(--text-dim); margin-bottom: 1em; }
.entry-content a { color: var(--accent-cyan); }
.aligncenter { margin: 0 auto; display: block; }
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(9,13,26,.97);
    padding: 24px;
    border-bottom: 1px solid var(--border);
  }
  .site-nav.open ul { flex-direction: column; gap: 20px; }
  .nav-toggle { display: flex; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 40px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
