:root {
  /* Enhanced Color Palette */
  --bg-light: #f8f5f0;
  --bg-white: #ffffff;
  --text-main: #2a2a2a;
  --text-muted: #6b7280;
  --accent: #f4c582;
  --accent-hover: #e6b370;
  --border-light: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);

  /* Enhanced Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  
  /* Spacing */
  --section-padding: 5rem 2rem;
  --container-max-width: 1200px;

  /* Font Loading - Keep your existing @font-face declarations */
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/inter-regular.woff2') format('woff2');
    font-display: swap;
  }

  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/inter-medium.woff2') format('woff2');
    font-display: swap;
  }

  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/inter-bold.woff2') format('woff2');
    font-display: swap;
  }

  @font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/playfair-display-regular.woff2') format('woff2');
    font-display: swap;
  }

  @font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/playfair-display-bold.woff2') format('woff2');
    font-display: swap;
  }
}

/* ========== BASE RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========== BODY ========== */

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

/* Enhanced Body */
body {
  font-family: var(--font-body);
  font-size: 16px;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

/* ========== HEADER ========== */

/* Enhanced Header */
body > header {
  background-color: rgba(248, 248, 248, 0.95);
  backdrop-filter: blur(10px);
  width: 100%;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  transition: color 0.2s ease;
}

header h1:hover {
  color: var(--text-main);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-left: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s ease;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--accent);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.language-toggle {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.language-toggle a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0 0.25rem;
  transition: color 0.2s ease;
}

.language-toggle a:hover {
  color: var(--accent);
}

/* ========== NAVIGATION ========== */


/* ========== MAIN ========== */
main {
  width: 100%;
}

/* ========== FOOTER ========== */

/* Enhanced Footer */
footer {
  background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
  width: 100%;
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  margin-top: 6rem;
  box-sizing: border-box;
}

footer nav {
  margin-top: 1rem;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 0.75rem;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ========== WORK PAGE ========== */
.work-page {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

.work-header h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.work-categories {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.work-categories button {
  color: #2e2e2e; /* Your preferred text color */
  text-decoration: none;
  background: none;
  border: 1px solid var(--border-light);
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  cursor: pointer;
  border-radius: 4px;
  transition: 0.2s;
}

.work-categories button:hover,
.work-categories button.active {
  background-color: var(--accent);
  color: white;
  border-color: var(--accent);
}

a.button, a.work-filter, a.category-button {
  color: inherit;
  text-decoration: none;
}

a {
  -webkit-tap-highlight-color: transparent;
}

.work-categories button:focus,
.work-categories button:active {
  color: #2e2e2e;
  outline: none;
  text-decoration: none;
  background: #fff;
}

/* ========== PROJECT GRID ========== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.project-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

.project-card:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: bold;
}

.overlay p {
  font-size: 0.9rem;
  margin: 0;
}

/* ========== WORK PAGE ========== */
.work-page {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

.work-header h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.work-categories {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.work-categories button {
  background: none;
  border: 2px solid var(--border-light);
  padding: 0.8rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.2s;
}

.work-categories button:hover,
.work-categories button.active {
  background-color: var(--accent);
  color: white;
  border-color: var(--accent);
}

button {
  -webkit-tap-highlight-color: transparent;
}


/* ========== PROJECT GRID ========== */

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.project-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

.project-card:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: bold;
}

.overlay p {
  font-size: 0.9rem;
  margin: 0;
}

/* Filter helper */
.project-card.is-hidden {
  display: none;
}
/* ========== PROJECT PAGES ========== */

.project-page {
  padding: 4rem 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--bg-light);
  min-height: 100vh;
}

.project-breadcrumb {
  margin-bottom: 2rem;
}

.project-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.project-breadcrumb a:hover {
  color: var(--accent-hover);
}

.project-hero {
  background-color: transparent;
  padding: 2rem 0 1rem 0;
  margin-bottom: 1.5rem;
}

.project-hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.project-hero h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.project-meta {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent);
  font-weight: 500;
}

.project-intro {
  background-color: transparent;
  padding: 0;
  margin-bottom: 3rem;
  margin-top: 0;
}
.project-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-main);
  margin: 0;
}

.project-hero-image {
  margin: 3rem 0;
}

.project-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
}

.project-hero-image figcaption {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  margin-top: 1rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .project-page {
    padding: 2rem 1rem;
  }
  
  .project-hero {
    padding: 1rem 0;
  }
  
  .project-hero h1 {
    font-size: 2.2rem;
  }
  
  .project-hero h2 {
    font-size: 2rem;
  }
  
  .project-intro {
    padding: 0.5rem 0;
  }
}

/* ========== HOME PAGE ========== */

/* Hero section layout */

/* Enhanced Hero Section */
.hero-section {
  padding: 8rem 2rem 6rem;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-light) 100%);
  /* ... keep all other styles the same ... */
  background-color: #f8f5f0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 40%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(244, 197, 130, 0.1));
  transform: rotate(15deg);
  pointer-events: none;
}

.hero-content {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 2rem;
}

.hero-heading h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  letter-spacing: 0.05em;
  animation: slideInUp 0.8s ease-out;
}

.hero-heading h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  animation: slideInUp 0.8s ease-out 0.1s both;
}

.hero-text {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: slideInUp 0.8s ease-out 0.2s both;
}

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

/* Enhanced Construction Banner */
.site-banner {
  background: linear-gradient(135deg, var(--text-main), #404040);
  color: white;
  text-align: center;
  padding: 1rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.site-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.site-banner strong {
  font-weight: 700;
  color: var(--accent);
}

/* ========== ABOUT PAGE ========== */

.about {
  padding: 3rem 2rem;
  background-color: var(--bg-light);
}

.about-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.about-image {
  flex: 0 0 auto;
  width: auto;
  height: 100%;
  max-height: 500px;
  display: block;
  border-radius: 0%;
  box-shadow: 0%;
  object-fit: cover;
}

.about-text {
  flex: 1;
  max-width: 600px;
  text-align: left;
  min-width: 350px;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

/* Mobile responsive */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .about-image {
    width: 100%;
    max-width: 400px;
    height: auto;
  }
  
  .about-text {
    text-align: left;
    min-width: auto;
  }
}

@media (max-width: 600px) {
  .about-text {
    text-align: center;
  }
}

/* ========== LANGUAGE TOGGLE ========== */

.language-toggle {
  margin-left: 1rem;
  font-size: 0.9rem;
  font-weight: normal;
  color: #333333;
  white-space: nowrap;
}

.language-toggle a {
  color: #333333;
  text-decoration: none;
  padding: 0 0.25rem;
}

.language-toggle a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {

  .language-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    padding: 0.5rem;
    margin-right: 1rem;
    white-space: nowrap;
  }

  header {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1rem;
  }

  nav {
    flex: 1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Nav + Language on the same row (desktop/base) */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;               /* space between Contact and EN/DE */
  margin-left: auto;       /* pushes group to the right next to the logo */
}
.nav-wrapper nav ul {
  display: flex;
  gap: 1.5rem;
}
}
/* ========== CONTACT PAGE ========== */

.contact-section {
  padding: 6rem 2rem;
  background-color: #f8f5f0;
  text-align: left;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-content h1 {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  color: #f4c582;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.contact-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  color: #2e2e2e;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.contact-content p {
  font-size: 1.25rem;
  font-weight: 400;
  color: #444;
  margin-bottom: 2rem;
}

/* Enhanced Buttons */
.contact-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  animation: slideInUp 0.8s ease-out 0.3s both;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background-color: transparent;
  border: 2px solid var(--border-light);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 160px;
  justify-content: flex-start;  /* <-- Changed from center to flex-start */
}

.contact-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.contact-button:hover::before {
  left: 100%;
}

.contact-button.filled {
  background-color: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: var(--shadow-md);
}

.contact-button:hover {
  background-color: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.contact-button.filled:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.contact-button i {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

/* ========== HERO PAGE BUTTONS ========== */
.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: slideInUp 0.8s ease-out 0.3s both;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background-color: transparent;
  border: 2px solid var(--border-light);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 160px;
  justify-content: center;
}

.hero-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.hero-button:hover::before {
  left: 100%;
}

.hero-button.filled {
  background-color: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: var(--shadow-md);
}

.hero-button:hover {
  background-color: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-button.filled:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.hero-button i {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

/* ========== Responsive for Mobile ========== */

@media (max-width: 768px) {
  .contact-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-button {
    width: 100%;
  }

  .contact-content h2 {
    font-size: 2rem;
    line-height: 1.4;
  }

  .contact-content p {
    font-size: 1.2rem;
  }
  
.nav-wrapper {
    width: 100%;
    justify-content: space-between; /* menu left, toggle right on one line */
    flex-wrap: wrap;                 /* wrap if too tight */
    gap: 1rem 2rem;
  }
  .nav-wrapper nav ul { gap: 1rem 1.25rem; }
}

/* Language toggle stays inline */
.language-toggle {
  white-space: nowrap;
  font-size: 0.9rem;
}

/* Hero responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 6rem 1.5rem 4rem;
  }
}

/* ========== Videos Responsive for Mobile ========== */

.project-detail video,
.project-detail .video-container video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px; /* optional, match your images */
}

/* ========== SERVICES PAGE ========== */
.services-page {
  padding: 6rem 2rem;
  background-color: var(--bg-light);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.services-content h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.services-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-style: italic;
}