/* ==========================================
   dnls-design.de — Main Stylesheet
   ========================================== */

/* ---- Reset ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---- Variables ---- */
:root {
  --black: #0a0a0a;
  --white: #f5f5f0;
  --lemon: #d4ff00;
  --orange: #ff6b2b;
  --grey: #1a1a1a;
  --grey-light: #2a2a2a;
  --text-muted: #888;

  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Mono', monospace;
  --font-hand: 'Caveat', cursive;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* ---- Base ---- */
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--lemon) var(--black);
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: default;
}

a { color: inherit; text-decoration: none; }

/* ---- Noise Overlay ---- */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* ---- Custom Cursor ---- */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--lemon);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transition: transform 0.1s;
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--lemon);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transition: transform 0.15s ease-out, width 0.3s, height 0.3s;
}

/* ---- Page Transition ---- */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--lemon);
  z-index: 2000;
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}


/* ==========================================
   Navigation
   ========================================== */

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: difference;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--lemon);
}

/* Hamburger */
.hamburger {
  width: 35px;
  height: 24px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  position: absolute;
  transition: all 0.4s var(--ease-bounce);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 22px; }

.hamburger.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* Fullscreen Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.nav-menu {
  text-align: center;
  list-style: none;
}

.nav-menu li {
  overflow: hidden;
  margin: 10px 0;
}

.nav-menu a {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 800;
  color: var(--white);
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.6s var(--ease-out-expo), color 0.3s;
  letter-spacing: -2px;
}

.nav-overlay.active .nav-menu a {
  transform: translateY(0);
}

.nav-menu li:nth-child(1) a { transition-delay: 0.1s; }
.nav-menu li:nth-child(2) a { transition-delay: 0.15s; }
.nav-menu li:nth-child(3) a { transition-delay: 0.2s; }
.nav-menu li:nth-child(4) a { transition-delay: 0.25s; }
.nav-menu li:nth-child(5) a { transition-delay: 0.3s; }

.nav-menu a:hover { color: var(--lemon); }

.nav-menu a .num {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--orange);
  vertical-align: super;
  margin-right: 8px;
}


/* ==========================================
   Shared Components
   ========================================== */

/* Section Label */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--orange);
}

/* CTA Button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 45px;
  background: var(--lemon);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}

.cta-btn:hover {
  background: var(--orange);
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(255, 107, 43, 0.3);
}

.cta-btn .arrow { transition: transform 0.3s; }
.cta-btn:hover .arrow { transform: translateX(5px); }

/* CTA Section */
.cta-section {
  padding: 120px 60px;
  text-align: center;
  position: relative;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 30px;
}

/* Photo Placeholder */
.photo-placeholder {
  aspect-ratio: 4/5;
  background: var(--grey);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-placeholder::after {
  content: 'FOTO';
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 5px;
  color: var(--grey-light);
}

/* Form */
.form-group {
  margin-bottom: 30px;
  position: relative;
}

.form-group label {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--grey-light);
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--lemon);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Paint Splash (decorative) */
.paint-splash {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}


/* ==========================================
   Hero (Startseite)
   ========================================== */

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212, 255, 0, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(255, 107, 43, 0.06) 0%, transparent 50%);
  z-index: 1;
}

.logo-anim {
  font-family: var(--font-display);
  font-size: clamp(8rem, 25vw, 20rem);
  font-weight: 800;
  letter-spacing: -8px;
  position: relative;
  z-index: 2;
  animation: logoShift 8s ease-in-out infinite;
}

@keyframes logoShift {
  0%, 100% {
    color: var(--white);
    text-shadow: 0 0 80px rgba(212, 255, 0, 0.3);
    -webkit-text-stroke: 0px transparent;
  }
  25% {
    color: transparent;
    -webkit-text-stroke: 2px var(--lemon);
    text-shadow: 0 0 60px rgba(212, 255, 0, 0.5);
  }
  50% {
    color: var(--orange);
    text-shadow: 0 0 100px rgba(255, 107, 43, 0.4);
    -webkit-text-stroke: 0px transparent;
  }
  75% {
    color: transparent;
    -webkit-text-stroke: 2px var(--white);
    text-shadow: none;
  }
}

.hero-subtitle {
  font-family: var(--font-hand);
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--lemon);
  position: relative;
  z-index: 2;
  margin-top: -20px;
  opacity: 0;
  animation: fadeUp 1s 1.5s forwards;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1s 2s forwards;
}

.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--lemon), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

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


/* ==========================================
   Marquee
   ========================================== */

.marquee-section {
  padding: 30px 0;
  border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 20s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  white-space: nowrap;
  padding: 0 40px;
  color: var(--text-muted);
}

.marquee-track span.highlight { color: var(--lemon); }
.marquee-track span.highlight-orange { color: var(--orange); }

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ==========================================
   About Intro (Startseite)
   ========================================== */

.about-intro {
  padding: 120px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 40px;
  letter-spacing: -1px;
}

.about-intro h2 .accent { color: var(--lemon); }
.about-intro h2 .hand { font-family: var(--font-hand); color: var(--orange); font-weight: 500; }

.about-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
}


/* ==========================================
   Services Grid (Startseite)
   ========================================== */

.services-section {
  padding: 100px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  margin-top: 60px;
}

.service-card {
  background: var(--grey);
  padding: 50px 35px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--lemon), var(--orange));
  opacity: 0;
  transition: opacity 0.5s;
}

.service-card:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-5px); }
.service-card:hover * { color: var(--black) !important; }

.service-card .num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--grey-light);
  position: relative;
  z-index: 1;
  transition: color 0.5s;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 20px 0 15px;
  position: relative;
  z-index: 1;
  transition: color 0.5s;
}

.service-card p {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  transition: color 0.5s;
}


/* ==========================================
   Story Section (Startseite)
   ========================================== */

.story-section {
  padding: 120px 60px;
  position: relative;
}

.story-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--grey-light), transparent);
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.story-content .big-quote {
  font-family: var(--font-hand);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.3;
  margin: 40px 0;
}

.story-content .big-quote span { color: var(--lemon); }

.story-content .quote-author {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-hand);
  font-size: 1.3rem;
}


/* ==========================================
   Contact Form Section (Startseite)
   ========================================== */

.contact-form-section {
  padding: 80px 60px;
  max-width: 700px;
  margin: 0 auto;
}


/* ==========================================
   About Page
   ========================================== */

.about-hero {
  height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 60px;
  position: relative;
}

.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: -4px;
  line-height: 0.9;
}

.about-hero h1 .stroke {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}

.about-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-bio {
  padding: 100px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.about-bio p {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.about-bio p .hl { color: var(--lemon); }


/* ==========================================
   What I Do Page
   ========================================== */

.whatido-hero {
  height: 50vh;
  display: flex;
  align-items: flex-end;
  padding: 60px;
}

.whatido-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 0.95;
}

.whatido-hero h1 span { color: var(--orange); }

.services-detailed {
  padding: 80px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-detail-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  padding: 60px 0;
  border-bottom: 1px solid var(--grey-light);
  align-items: start;
}

.service-detail-item .svc-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  position: sticky;
  top: 100px;
}

.service-detail-item .svc-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.service-detail-item .svc-tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--grey-light);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 5px 5px 0 0;
}


/* ==========================================
   Creative Work Page
   ========================================== */

.work-hero {
  height: 50vh;
  display: flex;
  align-items: flex-end;
  padding: 60px;
}

.work-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 800;
  letter-spacing: -3px;
}

.work-hero h1 .lemon { color: var(--lemon); }

.projects-grid {
  padding: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project-thumb {
  aspect-ratio: 16/10;
  background: var(--grey);
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ease-out-expo);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-thumb::after {
  content: 'MOCKUP';
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 5px;
  color: var(--grey-light);
}

.project-card:hover .project-thumb { transform: scale(1.03); }

.project-thumb .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent 60%);
  z-index: 1;
}

.project-info { padding: 20px 0; }

.project-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.project-info .project-type {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.project-info .project-year {
  font-family: var(--font-hand);
  color: var(--lemon);
  font-size: 1.1rem;
  float: right;
  margin-top: -25px;
}


/* ==========================================
   Contact Page
   ========================================== */

.contact-hero {
  height: 50vh;
  display: flex;
  align-items: flex-end;
  padding: 60px;
}

.contact-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 800;
  letter-spacing: -3px;
}

.contact-hero h1 .hand {
  font-family: var(--font-hand);
  color: var(--orange);
}

.contact-content {
  padding: 60px;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.contact-info a {
  color: var(--lemon);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.contact-info a:hover { color: var(--orange); }


/* ==========================================
   Footer
   ========================================== */

footer {
  border-top: 1px solid var(--grey-light);
  padding: 40px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

footer .footer-cta {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

footer .footer-cta a {
  color: var(--lemon);
  transition: color 0.3s;
}

footer .footer-cta a:hover { color: var(--orange); }

.social-links {
  display: flex;
  gap: 25px;
}

.social-links a {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}

.social-links a:hover { color: var(--white); }

footer .copy {
  font-size: 0.7rem;
  color: var(--text-muted);
  width: 100%;
  text-align: center;
  margin-top: 20px;
}


/* ==========================================
   Scroll Reveal Animations
   ========================================== */

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s var(--ease-out-expo);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}


/* ==========================================
   Easter Egg Game
   ========================================== */

.game-trigger {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--grey-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  font-size: 0.6rem;
  color: var(--text-muted);
  transition: all 0.3s;
}

.game-trigger:hover {
  border-color: var(--lemon);
  color: var(--lemon);
  transform: rotate(180deg);
}

.game-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.game-overlay.active { display: flex; }
.game-overlay canvas { border: 1px solid var(--grey-light); }

.game-close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: none;
  border: none;
  transition: color 0.3s;
}

.game-close:hover { color: var(--lemon); }

.game-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--lemon);
  margin-bottom: 20px;
  letter-spacing: 3px;
}

.game-score {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 15px;
}


/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 768px) {
  .nav-bar { padding: 15px 20px; }

  .about-intro,
  .services-section,
  .story-section,
  .about-hero,
  .whatido-hero,
  .work-hero,
  .contact-hero,
  .about-bio,
  .services-detailed,
  .contact-form-section,
  .cta-section {
    padding-left: 25px;
    padding-right: 25px;
  }

  .projects-grid { grid-template-columns: 1fr; padding: 30px 25px; }
  .contact-content { grid-template-columns: 1fr; padding: 30px 25px; gap: 40px; }
  .service-detail-item { grid-template-columns: 1fr; gap: 20px; }
  .about-photo-grid { grid-template-columns: 1fr; padding: 4px 25px; }
  footer { padding: 30px 25px; }

  .cursor-dot,
  .cursor-ring { display: none; }
}
