/*
Theme Name: VB IT Theme
Theme URI: https://bovsunovskyy.de
Author: Vladyslav Bovsunovskyi
Author URI: https://bovsunovskyy.de
Description: Professionelle IT-Dienstleistungen Website — Dark Tech Design. Speziell entwickelt für Vladyslav Bovsunovskyi, IT-Experte seit 2009.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: vbit
*/

/* === DESIGN SYSTEM === */

/* ─────────────────────────────────────────────────────────
   TYPOGRAPHY SYSTEM
   Headings : Space Grotesk — weight 600/700, tracking -0.02em, lh 1.1–1.2
   Body      : Inter         — weight 400/500,  tracking 0,      lh 1.7–1.8
   Labels    : Inter         — weight 500/600,  uppercase + 0.06–0.1em tracking
   Buttons   : Inter         — weight 500,      no uppercase,    tracking 0
   ───────────────────────────────────────────────────────── */
:root {
  --bg:        #080c14;
  --bg2:       #0d1322;
  --bg3:       #111827;
  --surface:   #161e2e;
  --border:    #1e2d45;
  --accent:    #00d4ff;
  --accent2:   #0088cc;
  --accent3:   #00ffaa;
  --text:      #e2eaf7;
  --muted:     #6b83a4;
  --heading:   #f0f6ff;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --mono:         'Space Grotesk', sans-serif; /* legacy alias */
  --sans:         'Inter', sans-serif;          /* legacy alias */
  --radius:    6px;
  --radius-lg: 16px;
  --shadow:    0 4px 32px rgba(0,212,255,0.08);
  --glow:      0 0 40px rgba(0,212,255,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* TYPOGRAPHY */
/*
  H1 / Hero   : Space Grotesk 600–700, tracking -0.03em, lh 1.08–1.1
  H2 / Sektion: Space Grotesk 600,     tracking -0.02em, lh 1.15
  Body        : Inter 400,              tracking 0,       lh 1.75
  Akzente     : Inter 500
  Buttons     : Inter 500–600
*/
h1,h2,h3,h4 {
  font-family: var(--font-heading);
  color: var(--heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}
h1 { font-size: clamp(2rem,5vw,3.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem,3vw,2.25rem); font-weight: 600; line-height: 1.15; }
h3 { font-size: clamp(1.05rem,2vw,1.375rem); font-weight: 600; line-height: 1.25; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--text); font-weight: 400; line-height: 1.75; }
a { text-decoration: none; color: inherit; }
.mono { font-family: var(--mono); }
.accent { color: var(--accent); }
.muted  { color: var(--muted); }

/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* BADGE */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(0,212,255,0.3);
  background: rgba(0,212,255,0.05); padding: 6px 14px; border-radius: 100px;
  margin-bottom: 24px;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }

/* BUTTONS — Inter 500 default, primary 600 */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0;
  padding: 13px 26px; border-radius: var(--radius);
  cursor: pointer; border: none; transition: all 0.22s ease; text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--bg); box-shadow: 0 0 20px rgba(0,212,255,0.25); font-weight: 600; }
.btn-primary:hover { background: #33dcff; box-shadow: 0 0 30px rgba(0,212,255,0.45); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--accent); border: 1px solid rgba(0,212,255,0.4); font-weight: 500; }
.btn-outline:hover { background: rgba(0,212,255,0.08); border-color: var(--accent); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--text); border: 1px solid var(--border); font-weight: 500; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

/* CARDS */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; transition: all 0.3s ease;
}
.card:hover { border-color: rgba(0,212,255,0.3); box-shadow: var(--glow); transform: translateY(-4px); }

/* SECTION LABEL */
.section-label {
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.divider { width: 48px; height: 2px; background: linear-gradient(90deg,var(--accent),transparent); margin: 20px 0 32px; }

/* FEATURE LIST */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem;
  padding: 12px 16px; background: rgba(0,212,255,0.03);
  border: 1px solid rgba(0,212,255,0.08); border-radius: var(--radius);
}
.feature-list li::before {
  content: '✓'; color: var(--accent3); font-family: var(--font-body); font-size: 0.75rem;
  font-weight: 700; flex-shrink: 0; width: 20px; height: 20px;
  background: rgba(0,255,170,0.1); display: grid; place-items: center; border-radius: 4px;
}

/* TAGS */
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tag {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0;
  color: var(--accent); background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2); padding: 4px 10px; border-radius: 4px;
}

/* TIMELINE */
.timeline { list-style: none; position: relative; padding-left: 24px; margin-top: 32px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(var(--accent),transparent); }
.timeline li { position: relative; padding: 0 0 24px 24px; font-size: 0.9rem; }
.timeline li::before { content: ''; position: absolute; left: -4px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.timeline-year { font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; color: var(--accent); margin-bottom: 4px; letter-spacing: 0.04em; }

/* PAGE HEADER */
.page-header { padding: 140px 0 80px; background: var(--bg2); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle,rgba(0,212,255,0.05),transparent 70%); }
.breadcrumb { font-family: var(--font-body); font-size: 0.72rem; color: var(--muted); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; font-weight: 400; }
.breadcrumb a { color: var(--accent); }

/* CTA SECTION */
.cta-box { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 64px; text-align: center; position: relative; overflow: hidden; margin-top: 64px; }
.cta-box::before { content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 600px; height: 300px; background: radial-gradient(ellipse,rgba(0,212,255,0.07),transparent 70%); }
.cta-box h2 { margin-bottom: 16px; position: relative; }
.cta-box p { color: var(--muted); max-width: 520px; margin: 0 auto 40px; position: relative; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* TRUST BAR */
.trust-bar { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.trust-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-right: 1px solid var(--border); }
.trust-item:last-child { border-right: none; }
.trust-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.2); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.trust-text strong { display: block; font-family: var(--font-body); font-size: 0.875rem; color: var(--heading); font-weight: 600; }
.trust-text span { font-size: 0.75rem; color: var(--muted); }

/* SERVICE CARD */
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 36px; transition: all 0.3s ease; position: relative; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,transparent,var(--accent),transparent); opacity: 0; transition: opacity 0.3s; }
.service-card:hover::before { opacity: 1; }
.service-card:hover { border-color: rgba(0,212,255,0.25); box-shadow: var(--glow); transform: translateY(-6px); }
.service-number { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 700; color: rgba(0,212,255,0.07); position: absolute; top: 20px; right: 24px; line-height: 1; letter-spacing: -0.04em; }
.service-icon { width: 56px; height: 56px; border-radius: 12px; background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.2); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 24px; }
.service-card h3 { margin-bottom: 14px; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.service-card > p { font-size: 0.9rem; color: var(--muted); margin-bottom: 24px; line-height: 1.75; font-weight: 400; }

/* PROCESS */
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 32px; left: 12.5%; right: 12.5%; height: 1px; background: linear-gradient(90deg,var(--accent),rgba(0,212,255,0.2),transparent); }
.process-step { padding: 0 20px; text-align: center; }
.step-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; margin: 0 auto 24px; font-family: var(--font-heading); font-size: 0.875rem; font-weight: 600; color: var(--accent); position: relative; z-index: 1; transition: all 0.3s; letter-spacing: -0.01em; }
.process-step:hover .step-circle { background: rgba(0,212,255,0.1); border-color: var(--accent); box-shadow: 0 0 20px rgba(0,212,255,0.2); }
.process-step h4 { margin-bottom: 8px; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.process-step p { font-size: 0.8rem; color: var(--muted); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.form-group input,
.form-group textarea,
.form-group select { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; color: var(--text); font-family: var(--font-body); font-size: 0.95rem; transition: border-color 0.2s; outline: none; width: 100%; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,212,255,0.08); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select option { background: var(--surface); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.contact-method { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-method:last-child { border-bottom: none; }
.contact-method-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.2); display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }


.contact-method strong { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 2px; }
.contact-method a { color: var(--accent); font-size: 0.9rem; font-weight: 400; }
.contact-method a:hover { text-decoration: underline; }

/* ANIMATIONS */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.5;transform:scale(.85);} }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px);} to{opacity:1;transform:translateY(0);} }
.hero-content > * { animation: fadeUp 0.7s ease both; }
.hero-content > *:nth-child(1){animation-delay:.1s;}
.hero-content > *:nth-child(2){animation-delay:.2s;}
.hero-content > *:nth-child(3){animation-delay:.3s;}
.hero-content > *:nth-child(4){animation-delay:.4s;}
.hero-content > *:nth-child(5){animation-delay:.5s;}
.hero-content > *:nth-child(6){animation-delay:.6s;}

/* STAT */
.stat-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 4px; letter-spacing: -0.03em; }
.stat-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; font-family: var(--font-body); font-weight: 500; }

/* HERO */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: 70px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 60% 50% at 70% 50%,rgba(0,136,204,0.12) 0%,transparent 70%), radial-gradient(ellipse 40% 60% at 10% 80%,rgba(0,255,170,0.05) 0%,transparent 60%); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,212,255,0.03) 1px,transparent 1px), linear-gradient(90deg,rgba(0,212,255,0.03) 1px,transparent 1px); background-size: 60px 60px; }
.hero-content { position: relative; z-index: 1; padding: 96px 0; }
.hero-eyebrow { font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--accent); }
.hero-title { font-size: clamp(2.4rem,6vw,4.25rem); margin-bottom: 16px; font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
.hero-title .name { color: var(--accent); text-shadow: 0 0 30px rgba(0,212,255,0.25); }
.hero-subtitle { font-family: var(--font-body); font-size: clamp(1rem,1.8vw,1.2rem); color: var(--muted); margin-bottom: 28px; font-weight: 400; letter-spacing: 0; line-height: 1.6; }
.hero-desc { font-size: 1.05rem; max-width: 580px; color: var(--text); margin-bottom: 44px; font-weight: 400; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; padding-top: 48px; border-top: 1px solid var(--border); }

/* RESPONSIVE */


/* ── SPACING UPGRADES — more breathing room between sections ── */



/* ── AI SECTION CARD STYLE ── */
.card h3 { letter-spacing: -0.01em; }

/* ── CTA BOX UPGRADE ── */
.cta-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 72px;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 280px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.07), transparent 70%);
}
.cta-box h2 { margin-bottom: 14px; position: relative; }
.cta-box p  { color: var(--muted); max-width: 500px; margin: 0 auto 36px; position: relative; font-size: 0.95rem; line-height: 1.75; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── PROCESS STEP TEXT ── */
.process-step p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

/* ── HERO STATS GAP ── */

/* ── TRUST ICON SUBTLE GLOW ON HOVER ── */
.trust-item:hover .trust-icon {
  border-color: rgba(0,212,255,0.4);
  background: rgba(0,212,255,0.15);
  transition: all 0.25s ease;
}






/* ═══════════════════════════════════════════════════════════════
   CASE STUDIES
═══════════════════════════════════════════════════════════════ */

/* Case card hover — top accent line */
#referenzen .card {
  transition: all 0.28s ease;
  position: relative;
}
#referenzen .card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.35), transparent);
  opacity: 0; transition: opacity 0.28s ease; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
#referenzen .card:hover::before { opacity: 1; }
#referenzen .card:hover {
  border-color: rgba(0,212,255,0.25) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,212,255,0.08);
}

/* Micro cases — inline arrow */
#referenzen .card[style*="rgba(0,212,255,0.03)"] { transition: border-color 0.28s ease; }
#referenzen .card[style*="rgba(0,212,255,0.03)"]:hover { transform: none; }

/* CTA strip below cases */
#referenzen > .container > div:last-child {
  transition: border-color 0.28s ease;
}
#referenzen > .container > div:last-child:hover {
  border-color: rgba(0,212,255,0.3) !important;
}





/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET ≤ 900px
═══════════════════════════════════════════════════════════════ */


/* ── ALL GRIDS — equal height cards everywhere ── */
.grid-2, .grid-3, .grid-4, .services-grid { align-items: stretch !important; }
.grid-2 > *, .grid-3 > *, .grid-4 > * { display: flex; flex-direction: column; }
.card, .service-card { height: 100%; box-sizing: border-box; align-self: stretch; }
/* CTA / last action always pushed to bottom */
.service-card > div:last-of-type { margin-top: auto; }
/* Services grid — force equal row heights */
.services-grid { grid-auto-rows: 1fr; gap: 24px !important; }

/* ── OVERRIDE: layouts that need align-items:start ── */
.trust-person-grid,
.about-main-grid { align-items: start !important; }
