:root {
  /* Color Palette */
  --bg-color: #FFFFFF;      /* Lighter Background */
  --bg-alt: #F8F9F4;        /* Section Alternative Background */
  --line-color: #E5E7E0;    /* Hauchdünne Linien */
  --accent-color: #B08968;  /* Wood/Gold Accent */
  --sage-color: #84A59D;    /* Optional light green/blue */
  --dark-green: #3A5A40;    /* Contrast nature green */
  --text-color: #1A241E;    /* Dark Black/Green for text */

  /* Typography */
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Outfit', sans-serif;

  /* Font Sizes using clamp for fluid responsiveness */
  --fs-hero: clamp(2.5rem, 6vw, 5rem); /* Slightly smaller default */
  --fs-h1: clamp(2rem, 5vw, 4rem);
  --fs-h2: clamp(2rem, 4vw, 3.5rem);
  --fs-h3: clamp(1.25rem, 2.5vw, 2rem);
  --fs-body: clamp(1rem, 1.2vw, 1.2rem);
  --fs-small: clamp(0.85rem, 1vw, 1rem);

  /* Spacing */
  --section-padding-y: clamp(4rem, 10vw, 8rem);
  --content-padding-x: clamp(1.5rem, 5vw, 4rem);
  --header-height: 110px; /* Increased Header Height for bigger logo */
}

/* Wrapper that clips all rings to the top of the page — they scroll away as the user moves down */
.rings-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200vh; /* Increased height so rings don't cut off abruptly */
  overflow: hidden;
  pointer-events: none;
  z-index: -2;
}

/* Tree Rings Background (Polished, static organic structural background) */
.ring {
  position: absolute; /* absolute inside the fixed .rings-bg container */
  border-radius: 50%;
  pointer-events: none;
  z-index: -2;
  border: 1px solid var(--accent-color);
  opacity: 0.15; /* Elegant structure */
}

/* Concentric rings growing outwards from top right */
.ring-a {
  width: 140vw; height: 140vw;
  top: -50vw; right: -50vw;
  border-width: 2px;
}
.ring-b {
  width: 120vw; height: 120vw;
  top: -40vw; right: -40vw;
  border-style: dashed;
  border-width: 1px;
  opacity: 0.25;
}
.ring-c {
  width: 90vw; height: 90vw;
  top: -25vw; right: -25vw;
  border-width: 3px;
  border-color: var(--sage-color);
  opacity: 0.1;
}
.ring-d {
  width: 60vw; height: 60vw;
  top: -10vw; right: -10vw;
  border-style: dotted;
  border-width: 4px;
  border-color: var(--dark-green);
  opacity: 0.08;
}



/* 3D Depth Card Styles */
.card {
  background: var(--bg-color);
  padding: 3rem 2rem;
  border-radius: 8px; /* Slight rounding for modern feel */
  box-shadow: 0 10px 30px rgba(26, 36, 30, 0.05); /* Soft deep green shadow */
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  border: 1px solid var(--line-color);
  border-top: 4px solid var(--sage-color); /* Palette integration */
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(26, 36, 30, 0.08); /* Subtle green tinted shadow */
}

.image-wrapper {
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(26, 36, 30, 0.05);
  overflow: hidden;
  position: relative;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(26, 36, 30, 0.08); /* Soft deep green shadow */
}
.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}
.image-wrapper:hover img {
  transform: scale(1.05); /* Slight internal zoom */
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* Prevent horizontal scroll from oversized absolute elements (rings etc.) */
  position: relative;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  width: 100%;
  max-width: 100%;
  
  /* Kombiniertes Raster: Starke Punkte, sehr schwaches Raster */
  background-image: 
    radial-gradient(rgba(180, 190, 180, 0.45) 1.5px, transparent 1.5px),
    linear-gradient(rgba(180, 190, 180, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 190, 180, 0.08) 1px, transparent 1px);
  background-size: 30px 30px, 120px 120px, 120px 120px;
  background-position: 0 0, -1px -1px, -1px -1px;
  
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Cinematic Film Grain Noise Overlay */
.noise {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05; /* Subtle grain */
  background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400; /* Ganz dünn Cinzel */
  color: var(--dark-green); /* More green in headers */
  line-height: 1.1;
}

/* Forms */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1.4rem;
  border: 1px solid rgba(58, 90, 64, 0.15);
  background: rgba(255, 255, 255, 0.12) !important; /* Sophisticated Glass */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  font-family: var(--font-sans);
  color: var(--text-color);
  border-radius: 16px; /* Elegant rounded corners */
  font-size: 1rem;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(26, 36, 30, 0.5);
  font-weight: 300;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: var(--accent-color);
  box-shadow: 0 20px 40px rgba(58, 90, 64, 0.08), inset 0 2px 4px rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

/* Extreme typography contrast */
h1 {
  font-size: clamp(3rem, 7vw, 90px); /* Ikonisch aber nicht zu wuchtig */
  letter-spacing: 0.04em; 
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

/* Delicate underline for H2/Titles to add elegant design */
h2 {
  position: relative;
  font-size: var(--fs-h2);
  letter-spacing: 0.08em; /* Elegante Luft */
  padding-bottom: clamp(1rem, 3vw, 2rem);
  margin-bottom: clamp(4rem, 8vw, 6rem); 
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 120px; /* Fine line width */
  height: 1px;
  background-color: var(--accent-color); /* Elegant wood/gold color */
}

h3 {
  font-size: var(--fs-h3);
  letter-spacing: 0.08em; /* Mehr Luft */
  margin-bottom: clamp(2rem, 4vw, 3.5rem); /* Großer Abstand auch hier */
}

p {
  font-size: var(--fs-body);
  margin-bottom: 1.5rem;
  max-width: 65ch; /* Good reading measure */
  font-weight: 300;
}

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

/* Layout Utilities: Vertical Alignment Grid System */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--content-padding-x);
  padding-right: var(--content-padding-x);
  position: relative;
}

section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  position: relative;
  overflow: hidden; /* Contains the parallax line */
}

/* Parallax Horizontal Divider - hidden by default, only desktop */
.parallax-divider {
  display: none; /* off by default on all devices including mobile */
  position: absolute;
  bottom: 0;
  left: -10vw;
  width: 120vw;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--accent-color) 50%, transparent 95%);
  opacity: 0.4;
  pointer-events: none;
  z-index: 5;
}

/* Only show parallax lines on large desktop screens */
@media (min-width: 1200px) {
  .parallax-divider {
    display: block;
  }
}

/* Grid splits */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Creative Masonry Layout for Projects */
.masonry-creative {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  position: relative;
  padding-bottom: 4rem;
}

.masonry-creative .img-1 { grid-column: 1 / 8; height: 500px; margin-top: 50px; }
.masonry-creative .img-2 { grid-column: 8 / 13; height: 350px; }
.masonry-creative .img-3 { grid-column: 2 / 7; height: 450px; margin-top: -80px; z-index: 2; box-shadow: 0 30px 60px rgba(0,0,0,0.15); }
.masonry-creative .img-4 { grid-column: 7 / 12; height: 550px; }

@media (max-width: 900px) {
  .masonry-creative {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 2rem;
  }
  .masonry-creative > div {
    height: 350px !important;
    margin-top: 0 !important;
    width: 100% !important;
  }
}

/* Buttons and Links */
/* Elegant Buttons with Liquid Micro-Interactions */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 3rem;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dark-green);
  background-color: transparent;
  border: 1px solid var(--dark-green);
  border-radius: 50px; /* Modern Pill Shape */
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  top: 100%; /* Start fully below */
  left: 0; width: 100%; height: 100%;
  background-color: var(--dark-green);
  border-radius: 50% 50% 0 0; /* Dome shape rising up */
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), border-radius 0.6s ease;
  z-index: -1;
}

.btn:hover::before {
  transform: translateY(-100%);
  border-radius: 0; /* Squares out as it fills */
}

.btn:hover {
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(26, 36, 30, 0.15); /* Soft premium shadow */
}

/* Secondary Button Inverted logic */
.btn-outline {
  border-color: var(--sage-color);
  color: var(--sage-color);
}
.btn-outline::before {
  background-color: var(--sage-color);
}

/* Header & Nav Liquid Island */
header {
  position: fixed;
  top: 1rem;
  left: 2rem;
  width: calc(100% - 4rem);
  max-width: 1600px;
  height: clamp(80px, 12vh, 110px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background-color: rgba(245, 247, 245, 0.65); /* Sage/Cream Tint */
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 1000;
  border-radius: 16px; /* Elegant slightly rounded edges, not full pill */
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 50px rgba(58, 90, 64, 0.08); /* Green tinted premium shadow */
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  margin: 0 auto;
  right: 2rem;
}

/* Adjust logo size to fit perfectly */
.logo img {
  height: clamp(60px, 8vw, 90px); /* Larger refined logo */
  opacity: 0.9;
  width: auto;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
}
.logo:hover img {
  transform: scale(1.05);
  opacity: 1; /* Full visibility on hover */
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links li a {
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.3s ease;
}

/* Clean underline hover effect */
.nav-links li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-links li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Nav Link Click Animation */
.nav-link-clicked {
  animation: clickEffect 0.5s ease-out forwards;
}

@keyframes clickEffect {
  0% { color: var(--accent-color); transform: scale(0.9); }
  50% { color: var(--sage-color); }
  100% { color: inherit; transform: scale(1); }
}

/* Hamburger for Mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 30px;
  height: 1px;
  background-color: var(--text-color);
  transition: all 0.3s ease;
}

@media (max-width: 900px) {
  /* Fix header so it doesn't overflow on narrow screens */
  header {
    left: 1rem;
    right: 1rem;
    width: calc(100% - 2rem);
    padding: 0 1rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100vh;
    /* Denser Liquid Glass Effect for Mobile Menu */
    background-color: rgba(245, 247, 245, 0.92); /* Less transparent */
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
    opacity: 1;
    visibility: visible;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Optimized Background Rings for Mobile (Smaller and clipped) */
  .rings-bg {
    display: block !important;
    position: absolute !important;
    height: 150vh !important; /* increased for smooth transition on mobile */
    overflow: hidden !important;
  }
  .ring-a { width: 100vw; height: 100vw; top: -20vw; right: -20vw; transform: none !important; }
  .ring-b { width: 80vw; height: 80vw; top: -10vw; right: -10vw; transform: none !important; }
  .ring-c { width: 60vw; height: 60vw; top: 0; right: 0; transform: none !important; }
  .ring-d { width: 40vw; height: 40vw; top: 10vw; right: 10vw; transform: none !important; }

  /* Completely hide problematic decorative elements on mobile */
  .parallax-divider {
    display: none !important;
  }

  /* Center content horizontally on mobile for a better aesthetic */
  section, .hero, .container {
    text-align: center !important;
  }

  h1, h2, h3, h4, p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  h2::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .grid-2 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .btn, .image-wrapper {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Fixed Contact Banner (Small & Elegant) */
.fixed-contact-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(58, 90, 64, 0.85); /* Slightly transparent dark green */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 2rem;
  gap: 1.5rem;
  box-shadow: 0 -10px 40px rgba(26, 36, 30, 0.15);
  z-index: 1000;
  transform: translateY(100%);
  animation: slideUpBanner 1s 1.5s forwards cubic-bezier(0.19, 1, 0.22, 1);
}

.fixed-contact-banner span {
  font-family: var(--font-sans);
  font-size: 0.95rem; /* Reduced font size and changed to Outfit */
  letter-spacing: 0.05em;
}

.btn-banner {
  padding: 0.5rem 1.4rem; /* Adjusted button */
  font-size: 0.8rem;
  background-color: var(--bg-color);
  color: var(--dark-green);
  border-color: var(--bg-color);
  animation: pulseButton 2s infinite ease-in-out;
}

@keyframes pulseButton {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(248, 249, 244, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(248, 249, 244, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(248, 249, 244, 0); }
}

.btn-banner:hover {
  background-color: var(--sage-color);
  color: #FFFFFF;
  border-color: var(--sage-color);
}

@keyframes slideUpBanner {
  to { transform: translateY(0); }
}

@media (max-width: 600px) {
  .fixed-contact-banner {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    text-align: center;
  }
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px); /* Just 20px like a curtain */
  transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1), transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
}

.hero h1 {
  font-size: clamp(3.5rem, 9vw, 100px); /* Slightly smaller than before */
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.05em;
  line-height: 1.1;
  max-width: 1400px;
}

.hero p {
  font-size: clamp(1rem, 1.5vw, 1.25rem); /* reduced */
  color: var(--dark-green);
  max-width: 600px; /* Fine contrast next to huge title */
  font-weight: 300;
}

/* Parallax and Overlapping Utility Classes */
.parallax-wrapper {
  position: relative;
  height: clamp(500px, 70vh, 800px);
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(26, 36, 30, 0.06); /* Soft green shadow */
}

/* Specific size adjustment for the 'Über Uns' Parallax image to prevent it from being overwhelmingly large */
#ueber-uns .parallax-wrapper {
  height: clamp(300px, 45vh, 450px);
  max-width: 85%;
  margin: 0 auto;
  border-radius: 12px;
}

/* Base style for img, JS adjusts transform */
.parallax-wrapper .parallax-img {
  position: absolute;
  top: -20%; left: 0; 
  width: 100%; height: 140%; /* Needs extra height to move */
  object-fit: cover;
  transform-origin: center;
}

.overlapping-box {
  position: absolute;
  bottom: -40px; 
  left: -40px;
  background: var(--bg-color); /* Breaks the rigid grid */
  padding: 3rem;
  border: 1px solid var(--line-color);
  box-shadow: 0 20px 60px rgba(26, 36, 30, 0.1);
  z-index: 2;
  border-radius: 4px;
}

.overlapping-box h4 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  color: var(--accent-color);
  font-family: var(--font-serif);
}

.text-fine {
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--sage-color);
  text-transform: uppercase;
  margin-bottom: 0;
}

/* Masonry Creative Grid - Homepage Projects Preview */
.masonry-creative {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.masonry-creative .img-1 { grid-column: 1 / 3; height: 420px; }
.masonry-creative .img-2 { grid-column: 3 / 5; height: 320px; margin-top: 80px; }
.masonry-creative .img-3 { grid-column: 1 / 2; height: 280px; margin-top: -20px; }
.masonry-creative .img-4 { grid-column: 2 / 4; height: 340px; margin-top: -80px; }
.masonry-creative .mc-item {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(26, 36, 30, 0.06);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.5s ease;
}
.masonry-creative .mc-item:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 50px rgba(26, 36, 30, 0.12);
}
.masonry-creative .mc-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}
.masonry-creative .mc-item:hover img {
  transform: scale(1.06);
}

@media (max-width: 700px) {
  .masonry-creative {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }
  .masonry-creative .img-1,
  .masonry-creative .img-2,
  .masonry-creative .img-3,
  .masonry-creative .img-4 {
    grid-column: auto;
    height: 200px;
    margin-top: 0;
  }
}

/* Scatter Creative Grid - Asymmetrical Architecture */
.scatter-creative {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(60px, auto);
  gap: 14px;
  position: relative;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
}
.scatter-creative img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1); }
.scatter-creative .sc-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(26, 36, 30, 0.05);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.5s ease;
}
.scatter-creative .sc-item:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 50px rgba(26, 36, 30, 0.12);
  z-index: 10;
}
.scatter-creative .sc-item:hover img {
  transform: scale(1.06);
}

/* specific placements for the items */
.scatter-creative .img-1 { grid-column: 1 / 7; grid-row: 1 / span 4; margin-top: 80px; }
.scatter-creative .img-2 { grid-column: 6 / 13; grid-row: 2 / span 5; margin-top: -120px; z-index: 2; }
.scatter-creative .img-3 { grid-column: 1 / 5; grid-row: 5 / span 4; margin-top: -60px; z-index: 1; }
.scatter-creative .img-4 { grid-column: 4 / 9; grid-row: 7 / span 4; margin-top: 40px; z-index: 3;}
.scatter-creative .img-5 { grid-column: 9 / 13; grid-row: 6 / span 3; margin-top: 0px; z-index: 1; }
.scatter-creative .img-6 { grid-column: 2 / 12; grid-row: 11 / span 5; margin-top: 60px; z-index: 2; }
.scatter-creative .img-7 { grid-column: 2 / 7; grid-row: 16 / span 4; margin-top: 0px; z-index: 1; }
.scatter-creative .img-8 { grid-column: 6 / 13; grid-row: 15 / span 4; margin-top: -80px; z-index: 2; }
.scatter-creative .img-9 { grid-column: 1 / 8; grid-row: 20 / span 5; margin-top: -40px; z-index: 1; }
.scatter-creative .img-10 { grid-column: 7 / 13; grid-row: 19 / span 4; margin-top: 50px; z-index: 3; }

@media (max-width: 900px) {
  .scatter-creative {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .scatter-creative .sc-item {
    margin-top: 0 !important;
    height: 400px;
    grid-column: 1 / -1;
  }
}

/* Clean Minimal Footer */
.modern-footer {
  padding: 2.5rem var(--content-padding-x) 9rem var(--content-padding-x);
  background: transparent;
  position: relative;
  border-top: 1px solid var(--line-color);
  z-index: 10;
}
.modern-footer .container {
  max-width: 1400px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.footer-brand .footer-logo {
  height: clamp(45px, 5vw, 80px);
  max-width: 100%;
}
.footer-col h4 {
  margin-bottom: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sage-color);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-col a:hover {
  color: var(--sage-color);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--line-color);
  font-size: 0.85rem;
  color: var(--sage-color);
}

@media (max-width: 900px) {
  .footer-top { flex-direction: column; text-align: center; }
  .footer-top > div { text-align: center !important; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
