:root {
    --black: #000000;
    --white: #f5f4f0;
    --gray: #ffffff;
    --accent: #e8e0d0;
    --yellow: #d4b84a;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { 
    scroll-behavior: smooth;
    
   }

  body {
    background: var(--black);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    cursor: none;
    overflow-y: scroll;
  }

  img {
    pointer-events: none;
    filter: none;
  }

  .impressum {
    height: 200vh;
  }

  /* Custom cursor */
  .cursor {
    width: 8px; height: 8px;
    background: var(--white);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
    mix-blend-mode: difference;
  }
  .cursor.large { width: 40px; height: 40px; }

  /* Nav */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 28px 48px;
    display: flex; align-items: center; justify-content: space-between;
    mix-blend-mode: difference;
  }
  .nav-logo {
    font-family: 'Unbounded', sans-serif;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
  }
  .nav-links { display: flex; gap: 36px; }
  .nav-links a {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s;
  }
  .nav-links a:hover { opacity: 1; }

  /* Hero */
  .hero {
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    position: relative;
  }
  .hero-image {
    background: #1a2035;
    position: relative;
    overflow: hidden;
  }
  .hero-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.85;
  }
  .hero-image-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #1a2035 0%, #0d1520 50%, #1a2035 100%);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    position: relative;
  }
  /* Scooter SVG illustration */
  .hero-svg { position: absolute; width: 100%; height: 100%; }

  .hero-text {
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 64px 64px 80px;
    background: var(--black);
  }
  .hero-year {
    font-family: 'Unbounded', sans-serif;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 24px;
  }
  .hero-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(52px, 7vw, 96px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
  }
  .hero-sub {
    font-size: 13px;
    line-height: 1.7;
    color: var(--gray);
    max-width: 320px;
  }
  .hero-counter {
    position: absolute; bottom: 48px; right: 48px;
    font-family: 'Unbounded', sans-serif;
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--gray);
  }

  /* Section base */
  section {
    min-height: 100vh;
    padding: 120px 48px;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.08);

  }

  .section-label {
    font-family: 'Unbounded', sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 80px;
    display: flex; align-items: center; gap: 16px;
  }
  .section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.1);
  }

  /* Project layout — alternating */
  .project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 2px;
    overflow: hidden;
    position: relative;

    min-height: 100vh;
    max-height: 100vh
    
  }
  .project.reverse { direction: rtl; }
  .project.reverse > * { direction: ltr; }

  .project-visual {
    background: #111;
    overflow: hidden;
    position: relative;
    min-height: 500px;
  }
  .project-visual-inner {
    width: 100%; height: 100%;
    min-height: 500px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .project-visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25,0,0,1);
  }
  .project:hover .project-visual img { transform: scale(1.04); }

  .project-info {
    padding: 80px 72px;
    display: flex; flex-direction: column; justify-content: center;
    background: var(--black);
  }
  .project-number {
    font-family: 'Unbounded', sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--gray);
    margin-bottom: 32px;
  }
  .project-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
  }
  .project-year {
    font-family: 'Unbounded', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: var(--gray);
    margin-bottom: 40px;
  }
  .project-desc {
    font-size: 14px;
    line-height: 1.8;
    color:var(--white);
    max-width: 420px;
  }
  .project-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-top: 40px;
  }

  .tag {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--gray);
    border-radius: 2px;
  }

  .vis-modular {
    overflow: visible;
  }

  .mvis {display: block;}

  .modular {display:flex;flex-direction:column;align-items:center;gap:16px;width:70%; }

  #ferien{width: 80%;}


  /* Rendering grid */
  .render-grid {
    width: 50%;
    
  }

  .slides {
    height: 100%;
    display: flex;
  }
  .render-cell {
    aspect-ratio: 1;
    border-radius: 2px;
  }
  .render-cell:nth-child(1) { background: linear-gradient(135deg, #2a2a2a, #111); }
  .render-cell:nth-child(2) { background: linear-gradient(135deg, #1a2035, #0d1520); grid-row: span 2; }
  .render-cell:nth-child(3) { background: linear-gradient(135deg, #2a1a1a, #1a0a0a); }
  .render-cell:nth-child(4) { background: linear-gradient(135deg, #1a1a2a, #0a0a1a); }
  .render-cell:nth-child(5) { background: linear-gradient(135deg, #1a2a1a, #0a1a0a); }



  /* Credits */
  .project-credits {
    margin-top: 32px;
    font-size: 11px;
    line-height: 1.9;
    color: rgba(245,244,240,0.3);
  }
  .project-credits strong {
    color: rgba(245,244,240,0.5);
    font-weight: 400;
  }

  .some-container {
    overflow-x: auto;
    scroll-marker-group: after;
}

.carousel-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0, 0, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  align-self: flex-start;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
  z-index: 10;
  opacity: 0;
}

.carousel-wrap:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover { background: rgba(0, 0, 0, 0.7); }

.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.dot.active {
  background: #fff;
  transform: scale(1.3);
}

  /* Footer */
  footer {
    padding: 80px 48px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: flex-end; justify-content: space-between;
  }
  .footer-name {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(28px, 5vw, 64px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .footer-info {
    font-size: 12px;
    color: var(--gray);
    text-align: right;
    line-height: 2;
  }
  .footer-line {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 40px 0 0;
  }



.s1 { background: #ff6b6b; }
.slide:nth-child(2) { background: #4ecdc4; }
.slide:nth-child(3) { background: #ffe66d; }

/* Navigation dots */
.navigation {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.navigation label {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
}

/* Slide control */
#slide1:checked ~ .slides {
  transform: translateX(0);
}
#slide2:checked ~ .slides {
  transform: translateX(-100%);
}
#slide3:checked ~ .slides {
  transform: translateX(-200%);
}

/* Hide radio buttons */
input[type="radio"] {
  display: none;
}

  /* Scroll indicator */
  .scroll-hint {
    position: fixed;
    bottom: 40px;
    left: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray);
    z-index: 50;
    transition: opacity 0.4s;
  }
  .scroll-line {
    width: 32px;
    height: 1px;
    background: var(--gray);
    transform-origin: left;
    animation: scrollAnim 2s ease-in-out infinite;
  }
  @keyframes scrollAnim {
    0%, 100% { transform: scaleX(1); opacity: 0.5; }
    50% { transform: scaleX(0.3); opacity: 1; }
  }

  /* Fade in animation */
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25,0,0,1), transform 0.8s cubic-bezier(0.25,0,0,1);
  }
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Hero animated elements */
  @keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
  }
  .hero-scooter-wrap {
    width: 100%;
  }

  /* Light trail SVG */
  @keyframes dash {
    to { stroke-dashoffset: 0; }
  }

  @media (max-width: 900px) {
    .cursor {display: none;}
    nav { padding: 20px 24px; }
    .impressum {overflow: visible;}
    .hero { grid-template-columns: 1fr; }
    .hero-image { height: 50vh; }
    .hero-text { padding: 40px 24px; height: 100%;}
    .project { grid-template-columns: 1fr; max-height: none; min-height: auto; overflow: visible;}
    .project.reverse { direction: ltr; }
    .project-info { padding: 48px 24px;  }
    section { padding: 80px 24px;  }
    footer { flex-direction: column; gap: 24px; }
    #contact { display: block;}
    .footer-name {font-size: 4vw; text-align: left;}
    .footer-info { text-align: left; padding-top: 24px;}
    .carousel-slide {flex-shrink: 1;}
    .mvis{display: none;}
    #ferien {width: 120%;}
  }