/* =============================================================
   LEHMBAUKOLLEKTIV – Static Website Stylesheet
   Translated from React/Tailwind to plain CSS
   ============================================================= */

/* 1. Custom Properties */
:root {
  --clay-orange: #f09f4b;
  --clay-brown: #865a2c;
  --clay-cream: #fef5ed;
  --clay-dark: #39363e;
  --clay-light: #f6f6f6;
  --white: #ffffff;

  --shadow: 0 4px 20px rgba(57, 54, 62, 0.08), 0 2px 8px rgba(57, 54, 62, 0.04);
  --shadow-lg: 0 20px 60px rgba(57, 54, 62, 0.12), 0 8px 24px rgba(57, 54, 62, 0.06);

  --radius-sm: 0.5rem;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --transition: all 0.3s ease;
}

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

/* 3. Base */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--clay-cream);
  color: var(--clay-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

img {
  max-width: 100%;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  font-family: inherit;
  border: none;
}

input, textarea, select {
  font-family: inherit;
}

/* 4. Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--clay-cream); }
::-webkit-scrollbar-thumb { background: var(--clay-orange); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--clay-brown); }

/* 5. Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container { padding: 0 3rem; }
}

.section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .section { padding: 8rem 0; }
}

/* 6. Shared Utilities */

.label-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: rgba(240, 159, 75, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clay-brown);
  margin-bottom: 1.5rem;
}

/* Variant for dark backgrounds */
.label-badge--light {
  background: rgba(240, 159, 75, 0.2);
  color: var(--clay-orange);
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--clay-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-title .highlight { color: var(--clay-orange); }
.section-title--white { color: var(--white); }

.section-subtitle {
  font-size: 1rem;
  color: rgba(57, 54, 62, 0.7);
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .section-subtitle { font-size: 1.125rem; }
}

.text-center { text-align: center; }

/* Grain texture overlay */
.grain-overlay {
  position: relative;
}
.grain-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  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.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

/* 7. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--clay-orange);
  color: var(--white);
  border-color: var(--clay-orange);
}
.btn-primary:hover {
  background: var(--clay-brown);
  border-color: var(--clay-brown);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.3);
}

.btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.btn:hover svg { transform: translateX(3px); }

/* 8. Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

.nav--solid {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav--transparent {
  background: transparent;
}

.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

@media (min-width: 1024px) {
  .nav__inner { padding: 0 3rem; }
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav__logo img {
  height: 2.5rem;
  width: auto;
  transition: opacity 0.3s;
}

.nav__logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clay-dark);
  transition: color 0.3s;
}
.nav__logo-text .highlight { color: var(--clay-orange); }
.nav--transparent .nav__logo-text { color: var(--white); }

.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav__links { display: flex; }
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clay-dark);
  text-decoration: none;
  transition: color 0.3s;
  background: none;
  padding: 0;
}
.nav__link:hover { color: var(--clay-orange); }
.nav--transparent .nav__link { color: var(--white); }
.nav--transparent .nav__link:hover { color: var(--clay-orange); }

.nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--clay-dark);
  transition: color 0.3s;
  background: none;
  padding: 0;
}
.nav--transparent .nav__toggle { color: var(--white); }

@media (min-width: 768px) {
  .nav__toggle { display: none; }
}

.nav__toggle svg { width: 1.5rem; height: 1.5rem; }
.nav__toggle .icon-close { display: none; }

.nav__mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  flex-direction: column;
}

.nav__mobile.is-open { display: flex; }

.nav__mobile-link {
  display: block;
  padding: 0.75rem 0;
  color: var(--clay-dark);
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(57, 54, 62, 0.06);
  transition: color 0.3s;
  background: none;
  width: 100%;
}
.nav__mobile-link:last-child { border-bottom: none; }
.nav__mobile-link:hover { color: var(--clay-orange); }

/* 9. Hero */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 5rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(57, 54, 62, 0.85) 0%,
    rgba(57, 54, 62, 0.6) 50%,
    rgba(57, 54, 62, 0.3) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 5rem);
  padding: 0 1.5rem 5rem;
}

@media (min-width: 1024px) {
  .hero__content { padding: 0 3rem 5rem; }
}

.hero__inner { max-width: 48rem; }

.hero__title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero__title .highlight { color: var(--clay-orange); }

.hero__text {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 36rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__stats {
  position: absolute;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 20;
  display: none;
  gap: 1.5rem;
}

@media (min-width: 768px) { .hero__stats { display: flex; } }
@media (min-width: 1024px) { .hero__stats { right: 3rem; } }

.hero__stat {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
}

.hero__stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--clay-orange);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.25rem;
}

/* 10. About */
.about { background: var(--clay-cream); }

.about__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  margin-bottom: 6rem;
}

@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-bottom: 8rem;
  }
}

.about__image-wrap { position: relative; }

.about__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__image img {
  width: 100%;
  height: 30rem;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .about__image img { height: 37.5rem; }
}

.about__badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
}

@media (min-width: 1024px) { .about__badge { right: -3rem; } }

.about__badge-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--clay-orange);
  line-height: 1;
}

.about__badge-label {
  font-size: 0.875rem;
  color: rgba(57, 54, 62, 0.7);
  margin-top: 0.25rem;
}

.about__decor {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 6rem;
  height: 6rem;
  background: rgba(240, 159, 75, 0.2);
  border-radius: 50%;
  filter: blur(2rem);
}

.about__content-col { padding-top: 1rem; }

.about__desc {
  font-size: 1rem;
  color: rgba(57, 54, 62, 0.7);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) { .about__desc { font-size: 1.125rem; } }

.about__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.about__benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about__benefit svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--clay-orange);
  flex-shrink: 0;
}

.about__benefit-text {
  font-size: 0.875rem;
  color: rgba(57, 54, 62, 0.8);
}

/* Team */
.team-header {
  text-align: center;
  margin-bottom: 3rem;
}

.team-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.5s ease;
}
.team-card:hover { box-shadow: var(--shadow-lg); }

.team-card__image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.team-card:hover .team-card__image img { transform: scale(1.05); }

.team-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(57, 54, 62, 0.6), transparent 50%);
}

.team-card__body {
  padding: 1.5rem;
}
@media (min-width: 1024px) { .team-card__body { padding: 2rem; } }

.team-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clay-dark);
  margin-bottom: 0.25rem;
}
@media (min-width: 1024px) { .team-card__name { font-size: 1.5rem; } }

.team-card__role {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clay-orange);
  margin-bottom: 1rem;
}

.team-card__desc {
  font-size: 0.875rem;
  color: rgba(57, 54, 62, 0.7);
  line-height: 1.6;
}

.team-card__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clay-orange);
}
.team-card__link:hover { text-decoration: underline; }

/* 11. Services */
.services { background: var(--white); }

.services__bg-deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 33%;
  height: 100%;
  background: rgba(254, 245, 237, 0.5);
  transform: skewX(-12deg) translateX(25%);
}

.services__header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.services__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.services__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Service Cards */
.service-card {
  border: 2px solid rgba(240, 159, 75, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--white);
}
.service-card:hover { border-color: rgba(240, 159, 75, 0.35); }
.service-card.active {
  background: var(--clay-orange);
  border-color: var(--clay-orange);
  box-shadow: var(--shadow-lg);
}

.service-card__inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.service-card__icon-wrap {
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(240, 159, 75, 0.1);
  color: var(--clay-orange);
  flex-shrink: 0;
  transition: all 0.3s;
}
.service-card__icon-wrap svg { width: 2rem; height: 2rem; }
.service-card.active .service-card__icon-wrap {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.service-card__body { flex: 1; }

.service-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--clay-dark);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.service-card.active .service-card__title { color: var(--white); }

.service-card__desc {
  font-size: 0.875rem;
  color: rgba(57, 54, 62, 0.7);
  line-height: 1.6;
  transition: color 0.3s;
}
.service-card.active .service-card__desc { color: rgba(255, 255, 255, 0.9); }

.service-card__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}
.service-card.active .service-card__features {
  max-height: 10rem;
  opacity: 1;
}

.service-card__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-card__feature::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}
.service-card__feature-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.service-card__arrow {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--clay-orange);
  opacity: 0;
  transition: all 0.3s;
  margin-top: 0.25rem;
}
.service-card.active .service-card__arrow { color: var(--white); opacity: 1; transform: translateX(2px); }
.service-card:hover .service-card__arrow { opacity: 1; }

/* Service image panel */
.services__image-panel {
  position: relative;
}
@media (min-width: 1024px) {
  .services__image-panel {
    position: sticky;
    top: 8rem;
  }
}

.services__image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.service-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transform: scale(1.05);
}
.service-image.active {
  opacity: 1;
  transform: scale(1);
}

.services__image-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(57, 54, 62, 0.3), transparent);
}

.services__image-info {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

.services__image-label {
  font-size: 0.7rem;
  color: rgba(57, 54, 62, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.services__image-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--clay-dark);
}

/* 12. Baubiologie */
.baubiologie { background: var(--clay-dark); }

.baubiologie__dot-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
  background-size: 40px 40px;
}

.baubiologie__deco-1 {
  position: absolute;
  top: 5rem;
  right: 5rem;
  width: 16rem;
  height: 16rem;
  background: rgba(240, 159, 75, 0.1);
  border-radius: 50%;
  filter: blur(3rem);
}

.baubiologie__deco-2 {
  position: absolute;
  bottom: 5rem;
  left: 5rem;
  width: 12rem;
  height: 12rem;
  background: rgba(240, 159, 75, 0.05);
  border-radius: 50%;
  filter: blur(2rem);
}

.baubiologie__header {
  display: grid;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

@media (min-width: 1024px) {
  .baubiologie__header {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.baubiologie__text-col p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
@media (min-width: 1024px) {
  .baubiologie__text-col p { font-size: 1.125rem; }
}

.baubiologie__image-col { position: relative; }

.baubiologie__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.baubiologie__image img {
  width: 100%;
  height: 25rem;
  object-fit: cover;
}
@media (min-width: 1024px) { .baubiologie__image img { height: 31.25rem; } }

.baubiologie__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(57, 54, 62, 0.5), transparent);
}

.baubiologie__expert-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--clay-orange);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.baubiologie__expert-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  flex-shrink: 0;
}

.baubiologie__expert-name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.9375rem;
}

.baubiologie__expert-role {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Baubiologie services grid */
.baubiologie__services-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 2.5rem;
}
.baubiologie__services-title .highlight { color: var(--clay-orange); }
@media (min-width: 768px) { .baubiologie__services-title { font-size: 1.5rem; } }

.baubiologie__services-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 4rem;
}
@media (min-width: 640px) {
  .baubiologie__services-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .baubiologie__services-grid { grid-template-columns: repeat(3, 1fr); }
}

.bio-service-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}
.bio-service-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(240, 159, 75, 0.3);
}

.bio-service-card__icon {
  display: inline-flex;
  padding: 0.75rem;
  background: rgba(240, 159, 75, 0.2);
  border-radius: 0.75rem;
  color: var(--clay-orange);
  margin-bottom: 1rem;
  transition: all 0.3s;
}
.bio-service-card__icon svg { width: 1.5rem; height: 1.5rem; }
.bio-service-card:hover .bio-service-card__icon {
  background: var(--clay-orange);
  color: var(--white);
}

.bio-service-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.bio-service-card__desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Baubiologie benefits */
.baubiologie__benefits {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.baubiologie__benefits-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 2rem;
}
.baubiologie__benefits-title .highlight { color: var(--clay-orange); }
@media (min-width: 768px) { .baubiologie__benefits-title { font-size: 1.5rem; } }

.baubiologie__benefits-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) { .baubiologie__benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .baubiologie__benefits-grid { grid-template-columns: repeat(3, 1fr); } }

.baubiologie__benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.baubiologie__benefit svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--clay-orange);
  flex-shrink: 0;
}
.baubiologie__benefit-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
}

/* 13. Projects */
.projects { background: var(--clay-cream); }

.projects__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .projects__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.projects__header-desc {
  font-size: 1rem;
  color: rgba(57, 54, 62, 0.7);
  max-width: 28rem;
}

.projects__grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .projects__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.project-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: box-shadow 0.5s ease;
}
.project-card:hover { box-shadow: var(--shadow-lg); }

.project-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.project-card:hover .project-card__image img { transform: scale(1.05); }

.project-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(57, 54, 62, 0.6) 0%, rgba(57, 54, 62, 0.2) 50%, transparent 100%);
}

.project-card__category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--clay-dark);
}

.project-card__arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--clay-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.project-card__arrow svg { width: 1.25rem; height: 1.25rem; color: var(--white); }
.project-card:hover .project-card__arrow { opacity: 1; }

.project-card__body { padding: 1.5rem; }

.project-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--clay-dark);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.project-card:hover .project-card__title { color: var(--clay-orange); }

.project-card__desc {
  font-size: 0.875rem;
  color: rgba(57, 54, 62, 0.7);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.project-card__meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: rgba(57, 54, 62, 0.5);
}
.project-card__meta-item svg { width: 0.875rem; height: 0.875rem; }

/* Stats row */
.projects__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
}
@media (min-width: 768px) {
  .projects__stats { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.stat-card__value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--clay-orange);
  line-height: 1;
  margin-bottom: 0.25rem;
}
@media (min-width: 1024px) { .stat-card__value { font-size: 2.5rem; } }

.stat-card__label {
  font-size: 0.75rem;
  color: rgba(57, 54, 62, 0.6);
}

/* 14. Contact */
.contact { background: var(--white); }

.contact__bg-deco {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 50%;
  border-radius: 0 6rem 0 0;
}

.contact__header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 4rem;
}

.contact__grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
  }
}

.contact__info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(254, 245, 237, 0.6);
  border-radius: 0.75rem;
}

.contact__info-icon {
  padding: 0.75rem;
  background: rgba(240, 159, 75, 0.1);
  border-radius: 0.5rem;
  color: var(--clay-orange);
  flex-shrink: 0;
}
.contact__info-icon svg { width: 1.25rem; height: 1.25rem; }

.contact__info-label {
  font-size: 0.875rem;
  color: rgba(57, 54, 62, 0.6);
  margin-bottom: 0.25rem;
}

.contact__info-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--clay-dark);
}

.contact__hours {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--clay-dark);
  border-radius: var(--radius-lg);
  color: var(--white);
}

.contact__hours-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact__hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}
.contact__hours-row span:first-child { color: rgba(255, 255, 255, 0.7); }

.contact__hours-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Contact Form */
.contact__form-wrap {
  background: rgba(254, 245, 237, 0.3);
  border-radius: var(--radius-xl);
  padding: 2rem;
}
@media (min-width: 1024px) { .contact__form-wrap { padding: 2.5rem; } }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clay-dark);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(240, 159, 75, 0.25);
  border-radius: 0.75rem;
  background: var(--white);
  font-size: 0.9375rem;
  color: var(--clay-dark);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-input { height: 3rem; }
.form-input:focus,
.form-textarea:focus {
  border-color: var(--clay-orange);
  box-shadow: 0 0 0 3px rgba(240, 159, 75, 0.15);
}
.form-textarea {
  resize: none;
  min-height: 8rem;
  line-height: 1.6;
}

.form-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--clay-orange);
  color: var(--white);
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
.form-submit:hover {
  background: var(--clay-brown);
  box-shadow: var(--shadow-lg);
}
.form-submit svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s;
}
.form-submit:hover svg { transform: translateX(3px); }

.form-note {
  font-size: 0.75rem;
  color: rgba(57, 54, 62, 0.5);
  text-align: center;
}
.form-note a { color: var(--clay-orange); }
.form-note a:hover { text-decoration: underline; }

/* 15. Footer */
.footer {
  background: var(--clay-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer__logo img { height: 2.5rem; width: auto; }

.footer__logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}
.footer__logo-text .highlight { color: var(--clay-orange); }

.footer__brand-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 28rem;
  margin-bottom: 0.75rem;
}
.footer__brand-text strong { color: var(--white); }

.footer__nav-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.3s;
  background: none;
  padding: 0;
  text-align: left;
  width: auto;
}
.footer__nav-link:hover { color: var(--clay-orange); }

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__made {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__heart {
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}
.footer__legal a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s;
}
.footer__legal a:hover { color: var(--white); }

/* 16. Impressum / Datenschutz pages */
.page-wrapper {
  min-height: 100vh;
  background: var(--clay-cream);
}

.page-main {
  padding-top: 7rem;
  padding-bottom: 5rem;
}

.page-container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) { .page-container { padding: 0 3rem; } }

.page-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 2rem;
}
@media (min-width: 1024px) { .page-card { padding: 3rem; } }

.page-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--clay-dark);
  margin-bottom: 2rem;
}

.page-section {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(240, 159, 75, 0.08);
}
.page-section:last-child { border-bottom: none; }

.page-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--clay-dark);
  margin-bottom: 1rem;
}

.page-section h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--clay-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.page-section p {
  color: rgba(57, 54, 62, 0.7);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.page-section p:last-child { margin-bottom: 0; }
.page-section p.uppercase { text-transform: uppercase; }

.page-section a {
  color: var(--clay-orange);
}
.page-section a:hover { text-decoration: underline; }

.page-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: rgba(57, 54, 62, 0.7);
  line-height: 1.8;
}
.page-section ul li { margin-bottom: 0.5rem; }

.address-box {
  padding: 1rem 1.25rem;
  background: rgba(254, 245, 237, 0.6);
  border-radius: 0.75rem;
  color: rgba(57, 54, 62, 0.7);
  line-height: 1.9;
  margin: 1rem 0;
}
.address-box strong { color: var(--clay-dark); }

.page-footer-note {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(240, 159, 75, 0.1);
  font-size: 0.875rem;
  color: rgba(57, 54, 62, 0.5);
}

/* 17. Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-3rem);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(3rem);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}
