@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;900&display=swap');

:root {
  --color-splash: #C7F464; /* Lime green */
  --color-text: #1a1a1a;
  --color-bg: #FFFFFF;
  --color-overlay: rgba(255, 255, 255, 0.95);
  --grid-size: 30px;
  --transition-fast: 0.3s ease;
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-family: 'Outfit', sans-serif; color: var(--color-text); scroll-behavior: smooth; background-color: var(--color-bg); }
body { overflow-x: hidden; }

h1, h2, h3, h4 { font-weight: 500; margin-bottom: 1rem; }
h2 { font-size: 2.25rem; letter-spacing: -0.02em; }
p { font-size: 1.25rem; line-height: 1.6; font-weight: 300; margin-bottom: 1rem; }
a { color: inherit; text-decoration: none; transition: opacity 0.3s ease; }
a:hover { opacity: 0.5; }

/* Main Grid Properties */
.main-content { position: relative; z-index: 20; background-color: var(--color-bg); }
.content-section { max-width: 1400px; margin: 0 auto; padding: 6rem 3rem 2rem 3rem; }
.grid-container { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; }
.grid-item { grid-column: 3 / 11; opacity: 0; transform: translateY(40px); transition: opacity 1s var(--transition-slow), transform 1s var(--transition-slow); }
.grid-item.in-view { opacity: 1; transform: translateY(0); }

/* Header */
.site-header { position: fixed; top: 0; left: 0; width: 100%; padding: 2rem 3rem; display: flex; justify-content: space-between; align-items: center; z-index: 100; pointer-events: none; mix-blend-mode: exclusion; color: #fff; }
.logo { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.05em; pointer-events: auto; }
.desktop-menu { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; pointer-events: auto; text-transform: uppercase; font-size: 0.95rem; }

/* Menu Options */
.burger-menu { display: none; background: none; border: none; cursor: pointer; pointer-events: auto; width: 40px; height: 24px; position: relative; z-index: 101; }
.burger-menu .bar { position: absolute; width: 100%; height: 2px; background-color: #fff; left: 0; transition: transform 0.4s ease, top 0.4s ease, opacity 0.4s ease; }
.burger-menu .bar:nth-child(1) { top: 0; }
.burger-menu .bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger-menu .bar:nth-child(3) { top: 100%; transform: translateY(-100%); }
.burger-menu.open .bar:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); background-color: var(--color-text); }
.burger-menu.open .bar:nth-child(2) { opacity: 0; }
.burger-menu.open .bar:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); background-color: var(--color-text); }

.menu-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: var(--color-overlay); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); z-index: 99; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity var(--transition-slow); }
.menu-overlay.active { opacity: 1; pointer-events: auto; }
.menu-content { display: flex; flex-direction: column; gap: 2rem; text-align: center; }
.menu-link { font-size: 6vw; font-weight: 900; transform: translateY(40px); opacity: 0; transition: transform 0s, opacity 0s; color: var(--color-text); }
.menu-overlay.active .menu-link { transform: translateY(0); opacity: 1; transition: transform 0.8s var(--transition-slow), opacity 0.8s ease; }

/* Hero */
.hero { height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; background-color: var(--color-splash); z-index: 10; padding: 0 3rem; text-align: left; }
.hero-content { width: 100%; max-width: 1400px; display: grid; grid-template-columns: repeat(12, 1fr); opacity: 0; animation: fadeIn 1.5s var(--transition-slow) forwards; }
.hero-content h2 { grid-column: 3 / 11; font-size: 3.5vw; font-weight: 400; line-height: 1.4; letter-spacing: -0.01em; color: var(--color-text); margin: 0; }

.scroll-hint { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); animation: bounce 2s infinite; pointer-events: none;}
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); } 40% { transform: translate(-50%, -10px); } 60% { transform: translate(-50%, -5px); } }
@keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }

/* Section: Intro Images */
.image-pair { display: flex; gap: 2rem; margin-bottom: 2rem; }
.img-box { flex: 1; aspect-ratio: 4/3; background-color: #eee; border-radius: 4px; border: 1px solid #ddd; }
.large-p { font-size: 1.75rem; font-weight: 400; line-height: 1.5; margin-bottom: 2rem; letter-spacing: -0.01em; }

/* Section: Services */
.services-list { list-style: none; margin-top: 2rem; border-top: 1px solid rgba(0,0,0,0.1); padding: 0; }
.services-list li { font-size: 2.2rem; font-weight: 700; padding: 2rem 0; border-bottom: 1px solid rgba(0,0,0,0.1); letter-spacing: -0.02em; }

/* Section: Process */
.subtitle { color: #888; font-size: 1.25rem; font-weight: 500; margin-bottom: 4rem; text-transform: uppercase; }
.timeline { display: flex; justify-content: space-between; position: relative; padding-top: 2rem; margin-bottom: 2rem; }
.timeline-line { position: absolute; top: 0; left: 0; width: 100%; height: 1px; background-color: #1a1a1a; z-index: 1; }
.timeline-item { position: relative; z-index: 2; width: 18%; }
.circle { width: 30px; height: 30px; background-color: #1a1a1a; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-top: -35px; margin-bottom: 1.5rem; }
.timeline-item h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.timeline-item p { font-size: 1rem; color: #666; margin: 0; }

/* Section: Competencies with Dot Grid */
.dot-grid-bg { background-image: radial-gradient(circle at 1.5px 1.5px, #d0d0d0 1.5px, transparent 0); background-size: var(--grid-size) var(--grid-size); padding-top: 1rem; padding-bottom: 4rem; }
.comp-title { display: flex; align-items: center; gap: 1rem; margin-top: 4rem; margin-bottom: 2rem; font-size: 1.5rem; font-weight: 500; }
.comp-title span { width: 30px; height: 30px; border: 1px solid #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.icon-item { text-align: center; background: #fff; padding: 2rem; border: 1px solid #eee; border-radius: 8px; transition: box-shadow 0.3s ease; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.icon-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.icon-box { width: 80px; height: 80px; margin: 0 auto 1.5rem auto; display: flex; align-items: center; justify-content: center; color: var(--color-text); }
.icon-svg { width: 100%; height: 100%; }
.icon-item p { font-size: 1.1rem; font-weight: 500; margin: 0; line-height: 1.4; color: #333; }

/* Section: Awards */
.awards-row { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 4rem; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2rem; }
.award-item { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; text-align: center; }

/* Iconic Awards */
.iconic { position: relative; padding-bottom: 2rem; }
.iconic-card { width: 90px; height: 120px; background: #fff; border: 1px solid #000; padding: 10px; display: flex; flex-direction: column; justify-content: space-between; font-size: 14px; line-height: 1; font-weight: 900; letter-spacing: 0.1em; position: relative; }
.award-banner { position: absolute; bottom: 10px; left: -10px; width: calc(100% + 20px); background: #000; color: #fff; transform: rotate(-8deg); padding: 4px; font-size: 8px; font-weight: 700; letter-spacing: 0; }
.winner-tag { margin-top: 15px; font-size: 10px; font-weight: 900; text-transform: uppercase; }

/* GDA */
.gda { flex-direction: row; gap: 1rem; text-align: left; }
.gda-svg { width: 60px; height: 60px; }
.gda-text { font-size: 11px; line-height: 1.1; font-weight: 700; text-transform: uppercase; }
.gda-text span { font-size: 18px; font-weight: 900; }

/* Design Plus */
.design-plus { align-items: flex-start; text-align: left; line-height: 1.2; }
.dp-title { font-size: 1.5rem; font-weight: 400; letter-spacing: -0.02em; }
.dp-title strong { font-weight: 900; font-size: 1.8rem; vertical-align: middle; margin: 0 2px; }
.dp-sub { font-size: 12px; }
.dp-year { font-size: 16px; font-weight: 300; margin-top: 5px; }

/* Hessen */
.hessen { align-items: flex-start; text-align: left; }
.hessen-text { font-size: 1.5rem; font-weight: 300; line-height: 1; }
.hessen-text span { font-weight: 500; font-style: italic; }
.hessen-text strong { display: block; font-size: 1.2rem; margin-top: 8px; }

/* Section: Contact Cards */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; margin-bottom: 4rem; }
.card { background: #fff; padding: 2.5rem; border: 1px solid #eee; border-radius: 8px; display: flex; flex-direction: column; gap: 0.5rem; transition: transform 0.3s ease; }
.card:hover { transform: translateY(-5px); }
.card h4 { font-size: 0.9rem; color: #888; margin-bottom: 0.5rem; }
.card a { font-size: 1.2rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.card a:hover { color: var(--color-splash); background-color: var(--color-text); text-decoration: none; }

/* Lime Footer */
.site-footer { background-color: var(--color-splash); padding: 6rem 3rem 4rem 3rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1400px; margin: 0 auto; gap: 2rem; font-size: 1rem; line-height: 1.8; color: var(--color-text); }
.footer-grid strong { font-weight: 900; }
.footer-grid a { display: inline-block; margin-bottom: 0.25rem; font-weight: 500; text-underline-offset: 2px; }
.footer-grid a:hover { text-decoration: underline; }

/* About Page Specifics */
.about-hero { min-height: 50vh; display: flex; align-items: center; justify-content: center; text-align: left; }
.about-intro-wrapper { display: flex; align-items: flex-start; gap: 3rem; max-width: 1200px; padding: 0 2rem; }
.intro-icon { color: #000; flex-shrink: 0; margin-top: 0.5rem; }
.about-intro-wrapper h2 { font-size: 2.5rem; line-height: 1.3; font-weight: 700; margin: 0; letter-spacing: -0.01em; }

.section-title { font-size: 2rem; font-weight: 700; margin-bottom: 3rem; margin-top: 5rem; }
.section-title-small { font-size: 2rem; font-weight: 700; margin-bottom: 2rem; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; margin-bottom: 4rem; }
.contact-links { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; align-items: center; gap: 1.5rem; font-size: 1.1rem; font-weight: 500; }
.icon-small { font-size: 1.5rem; width: 30px; text-align: center; }
.contact-item a { color: #000; text-decoration: none; border-bottom: 1px solid #000; }

.address-block { display: flex; align-items: flex-start; gap: 1.5rem; font-size: 1.1rem; line-height: 1.6; }
.address-block strong { font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

.map-wrapper { width: 100%; height: 450px; border-radius: 0; overflow: hidden; filter: grayscale(1); transition: filter 0.5s ease; border: 1px solid #eee; margin-top: 2rem; }
.map-wrapper:hover { filter: grayscale(0); }

.jobs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; margin-top: 2rem; padding-bottom: 10rem; }
.job-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.job-col p { color: #333; font-size: 0.95rem; line-height: 1.6; margin-bottom: 1rem; max-width: 450px; }
.job-link { font-weight: 500; color: #000; text-decoration: underline; font-size: 0.95rem; }

/* Site Footer Re-styling */
.site-footer { background-color: var(--color-splash); padding: 5rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; max-width: 1400px; margin: 0 auto; gap: 2rem; font-size: 0.95rem; line-height: 1.6; color: #000; }
.footer-col strong { font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; display: inline-block; }
.footer-col a { display: inline-block; margin-bottom: 0.4rem; color: #000; text-decoration: none; font-weight: 500; letter-spacing: 0.05em; }
.footer-col a:hover { text-decoration: underline; }
.footer-col.copyright { text-align: left; align-self: flex-start; font-weight: 400; color: #333; }

.flex-center { display: flex; justify-content: center; }
.grid-item-full { grid-column: 2 / 12; }
.nav-link.active { font-weight: 800; border-bottom: 2px solid #000; padding-bottom: 2px; }

@media (max-width: 1024px) {
  .grid-item-full { grid-column: 1 / -1; }
  .info-grid, .jobs-row { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-intro-wrapper { flex-direction: column; gap: 1.5rem; }
  .about-intro-wrapper h2 { font-size: 2rem; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Projects Page Specifics */
.projects-header { padding-top: 10rem; padding-bottom: 2rem; max-width: 1400px; margin: 0 auto; padding-left: 3rem; padding-right: 3rem; }
.projects-title { font-size: 5rem; font-weight: 700; letter-spacing: -0.04em; margin-bottom: 2rem; }
.projects-filters { display: flex; gap: 2rem; border-top: 1px solid rgba(0,0,0,0.1); padding-top: 1.5rem; flex-wrap: wrap; }
.filter-item { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; color: #888; transition: color 0.3s ease; text-decoration: none; }
.filter-item:hover, .filter-item.active { color: #000; opacity: 1; }

.projects-grid-section { padding-top: 0; padding-bottom: 8rem; max-width: 1400px; margin: 0 auto; padding-left: 3rem; padding-right: 3rem; }
.projects-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4rem 2rem; align-items: start; }
.project-card { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--transition-slow), transform 1s var(--transition-slow); }
.project-card.in-view { opacity: 1; transform: translateY(0); }

.project-card .img-wrapper { overflow: hidden; border-radius: 2px; background-color: #f5f5f5; margin-bottom: 1.25rem; }
.project-card img { width: 100%; height: auto; display: block; transition: transform 0.8s var(--transition-slow); }
.project-card:hover img { transform: scale(1.05); }

.project-info h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.25rem; letter-spacing: -0.01em; color: var(--color-text); }
.project-info p { font-size: 1.1rem; color: #666; margin: 0; font-weight: 300; }

/* Grid Spans for Projects */
.large-left { grid-column: 1 / 9; }
.small-top-right { grid-column: 9 / 13; margin-top: 0; }
.small-bottom-right { grid-column: 9 / 13; margin-top: -15rem; } /* Staggered effect */
.medium-left { grid-column: 1 / 7; margin-top: 0rem; }
.small-right { grid-column: 7 / 11; margin-top: 0rem; }

@media (max-width: 1024px) {
  .projects-title { font-size: 3.5rem; }
  .large-left, .small-top-right, .small-bottom-right, .medium-left, .small-right { grid-column: 1 / -1; margin-top: 0; }
  .projects-grid { gap: 4rem 1rem; }
  .projects-header, .projects-grid-section { padding-left: 2rem; padding-right: 2rem; }
}
