/* ═══════════════════════════════════════
   HOME PAGE — home.css
═══════════════════════════════════════ */

/* ── HERO ── */
#hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 48px 64px;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 40%, transparent 100%);
  animation: gridAnim 22s linear infinite;
  pointer-events: none;
}
@keyframes gridAnim {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 72px 72px, 72px 72px; }
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,6,19,.1) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
  animation: glowPulse 7s ease-in-out infinite;
  transition: transform .1s;
}
@keyframes glowPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.08); opacity: .75; }
}
.hero-scroll {
  position: absolute; left: 48px; bottom: 68px;
  display: flex; flex-direction: column;
  align-items: center; gap: 10px; z-index: 3;
  opacity: 0; animation: fadeUp .9s 1.8s ease forwards;
}
.scroll-track {
  width: 1px; height: 64px; background: var(--border);
  position: relative; overflow: hidden;
}
.scroll-thumb {
  position: absolute; top: 0; left: 0;
  width: 1px; background: var(--red);
  animation: scrollAnim 2.5s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { height: 0; top: 0; }
  50%  { height: 64px; top: 0; }
  100% { height: 0; top: 64px; }
}
.scroll-label {
  font-family: 'DM Mono', monospace; font-size: 9px;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted2); writing-mode: vertical-rl;
}
.hero-side {
  position: absolute; right: 48px; top: 50%;
  transform: translateY(-50%); z-index: 3;
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 24px;
  opacity: 0; animation: fadeUp .9s 2s ease forwards;
}
.side-link {
  font-family: 'DM Mono', monospace; font-size: 9px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted2); writing-mode: vertical-rl;
  transition: color .2s;
}
.side-link:hover { color: var(--white); }

.hero-content {
  display: flex; flex-direction: column;
  justify-content: flex-end; padding-top: 80px;
  position: relative; z-index: 2;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp .8s 1s ease forwards;
}
.eyebrow-line { width: 44px; height: 1px; background: var(--red); }
.eyebrow-text {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 3px; text-transform: uppercase; color: var(--red);
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(68px, 11vw, 156px);
  line-height: .88; letter-spacing: -2px; color: var(--white);
  opacity: 0; animation: fadeUp .9s 1.2s ease forwards;
}
.hero-title .accent { color: var(--red); }
.hero-desc {
  margin-top: 28px; max-width: 480px;
  font-size: 15px; font-weight: 300;
  color: var(--text); line-height: 1.8;
  opacity: 0; animation: fadeUp .9s 1.4s ease forwards;
}
.hero-actions {
  margin-top: 44px; display: flex;
  align-items: center; gap: 32px;
  opacity: 0; animation: fadeUp .9s 1.6s ease forwards;
}
.hero-stats {
  display: flex; gap: 48px; align-items: flex-end;
  position: relative; z-index: 2;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 48px;
  opacity: 0; animation: fadeUp .9s 2s ease forwards;
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 52px;
  color: var(--white); line-height: 1; letter-spacing: 2px;
}
.stat-num span { color: var(--red); font-size: 30px; }
.stat-label {
  font-family: 'DM Mono', monospace; font-size: 9px;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted2); margin-top: 6px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ── HOME SERVICES ── */
.home-services { background: var(--gray); border-top: 1px solid var(--border); }
.hs-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; margin-bottom: 56px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--gray); padding: 36px 28px;
  position: relative; overflow: hidden;
  transition: background .3s;
}
.service-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--red); transition: width .4s var(--ease);
}
.service-card:hover { background: var(--gray2); }
.service-card:hover::after { width: 100%; }
.sc-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 64px;
  color: rgba(255,255,255,.04); line-height: 1;
  position: absolute; top: 20px; right: 20px;
  transition: color .3s; pointer-events: none;
}
.service-card:hover .sc-num { color: rgba(227,6,19,.07); }
.sc-icon {
  width: 44px; height: 44px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: border-color .3s;
}
.service-card:hover .sc-icon { border-color: var(--red); }
.sc-name {
  font-family: 'Bebas Neue', sans-serif; font-size: 22px;
  letter-spacing: .5px; color: var(--white); margin-bottom: 10px;
}
.sc-desc {
  font-size: 13px; font-weight: 300; color: var(--text);
  line-height: 1.7; margin-bottom: 20px;
}
.sc-link {
  font-family: 'DM Mono', monospace; font-size: 9px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 6px;
  transition: color .2s;
}
.sc-link svg { transition: transform .2s; }
.service-card:hover .sc-link { color: var(--red); }
.service-card:hover .sc-link svg { transform: translateX(4px); }

/* ── HOME PROJECTS ── */
.home-projects { background: var(--black); }
.hp-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; margin-bottom: 56px;
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
}
.project-card {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; background: var(--gray2);
}
.project-card.large { grid-column: 1 / -1; aspect-ratio: 21/9; }
.pc-visual {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform .7s var(--ease);
}
.project-card:hover .pc-visual { transform: scale(1.04); }
.pv-1 { background: linear-gradient(135deg, #0d0003 0%, #1a0000 100%); }
.pv-2 { background: linear-gradient(135deg, #06060d 0%, #0f0f1a 100%); }
.pv-3 { background: linear-gradient(135deg, #080310 0%, #12001a 100%); }
.pc-art { width: 55%; height: 55%; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.pc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,.95) 0%, rgba(8,8,8,.3) 55%, transparent 100%);
  opacity: 0; transition: opacity .4s;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 36px;
}
.project-card:hover .pc-overlay { opacity: 1; }
.pc-cat {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 3px; text-transform: uppercase; color: var(--red);
  margin-bottom: 8px;
  transform: translateY(8px); transition: transform .35s .05s;
}
.project-card:hover .pc-cat { transform: none; }
.pc-name {
  font-family: 'Bebas Neue', sans-serif; font-size: 30px;
  letter-spacing: 1px; color: var(--white); margin-bottom: 14px;
  transform: translateY(8px); transition: transform .35s .1s;
}
.project-card.large .pc-name { font-size: 44px; }
.project-card:hover .pc-name { transform: none; }
.pc-link {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--white);
  display: flex; align-items: center; gap: 6px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s .15s, transform .35s .15s, color .2s;
}
.pc-link:hover { color: var(--red); }
.project-card:hover .pc-link { opacity: 1; transform: none; }

/* ── CTA BANDE ── */
.home-cta-band {
  background: var(--red);
  padding: 80px 48px;
  position: relative; overflow: hidden;
}
.home-cta-band::before {
  content: 'KONCEPTE';
  position: absolute; right: -40px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 180px; letter-spacing: -4px;
  color: rgba(0,0,0,.1); pointer-events: none;
  line-height: 1;
}
.cta-band-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px;
  position: relative; z-index: 1;
}
.cta-band-label {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,255,255,.65); margin-bottom: 12px;
}
.cta-band-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  line-height: .95; letter-spacing: -1px; color: #fff;
}
.cta-band-title span { -webkit-text-stroke: 1px rgba(255,255,255,.5); color: transparent; }
.home-cta-band .btn-primary {
  background: #fff; color: var(--red); white-space: nowrap; flex-shrink: 0;
}
.home-cta-band .btn-primary:hover { background: var(--black); color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  #hero { padding: 0 32px 48px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .hero-side { display: none; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.large { aspect-ratio: 4/3; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  #hero { padding: 0 20px 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .hs-header, .hp-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-stats { gap: 28px; }
  .home-cta-band { padding: 60px 20px; }
}
