/* ===== BASIS STYLES ===== */
:root {
  --first-color: #b01b2e;
  --second-color: #231f20;
  --text-color: #f5f5f5;
  --bg-color: #ffffff;
  --overlay-color: rgba(0, 0, 0, 0.6);
  
  --body-font: "Poppins", sans-serif;
  --big-font: 2.5rem;
  --medium-font: 1.5rem;
  --normal-font: 1rem;
  --tiny-font: 0.625rem;
  
  --fo-reg: 400;
  --fo-semi: 600;
  --fo-bo: 700;
  
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Responsive Typografie */
@media screen and (min-width: 1150px) {
  :root {
    --big-font: 3.5rem;
    --medium-font: 2rem;
  }
    .services__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 0 4rem;
  }
  
  .service-card__content {
    padding: 0 2rem 2rem;
  }
  
  .services__cta {
    padding: 5rem 3rem;
  }
}

/* ===== BASE ===== */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  background-color: var(--bg-color);
  color: var(--second-color);
  position: relative;
  padding-bottom: 80px; /* Platz für die feste Navbar */
  min-height: 100vh;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ===== NAVBAR ===== */
.nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  background-color: var(--second-color);
  box-shadow: 0 -2px 16px hsla(228, 95%, 4%, 0.5);
  padding: 1rem 1.75rem;
  border-radius: 1.5rem 1.5rem 0 0;
  z-index: var(--z-fixed);
}

.nav_list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav_link {
  color: var(--text-color);
  font-size: 1.5rem;
  transition: color 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav_link:hover {
  color: var(--first-color);
}

.nav_link span {
  font-size: var(--tiny-font);
  margin-top: 0.25rem;
  display: none;
}

/* Erweiterte Navbar */
.nav_expand {
  border: none;
  outline: none;
  width: 40px;
  height: 40px;
  background-color: var(--first-color);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav_expand-icon {
  color: #fff;
  font-size: 1.5rem;
  transition: transform 0.4s;
}

.nav_expand-list {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background-color: var(--second-color);
  box-shadow: 0 2px 16px hsla(228, 95%, 4%, 0.5);
  width: max-content;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  border-radius: 1.5rem 1.5rem 0 0;
  display: flex;
  column-gap: 2rem;
  z-index: -1;
  overflow: hidden;
  transform: translateY(100%) scale(0.1);
  transform-origin: bottom;
  transition: transform 0.5s cubic-bezier(0.5, 1.8, 0.4, 0.8);
}

.nav_expand-list li {
  transform: translateY(1rem);
  transition: transform 0.4s;
}

.nav_expand-list li:nth-child(1) {
  transition-delay: 0.2s;
}

.nav_expand-list li:nth-child(2) {
  transition-delay: 0.3s;
}

.nav_expand-list li:nth-child(3) {
  transition-delay: 0.4s;
}

.nav_expand-link {
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: color 0.4s;
}

.nav_expand-link i {
  font-size: 1.5rem;
}

.tiny_text {
  font-size: var(--tiny-font);
  font-weight: var(--fo-semi);
  margin-top: 0.25rem;
}

.nav_expand-link:hover {
  color: var(--first-color);
}

/* Aktive States */
.show-list,
.show-list li {
  transform: translateY(0);
}

.rotate-icon {
  transform: rotate(135deg);
}

/* ===== HEADER ===== */
.header {
  width: 100%;
  position: relative;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

/* Preheader Styles (Kontaktleiste) */
.preheader {
  background-color: #fff;
  padding: 0.5rem 0;
}

.preheader_content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.preheader_items {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.preheader_link {
  color: #231f20;
  font-size: var(--tiny-font);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.3s ease;
}

.preheader_link:hover {
  color: var(--first-color);
}

.preheader_link i {
  font-size: 0.8rem;
}

/* Haupt Header Styles */
.header_nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.nav_logo img {
  max-height: 80px;
  width: auto;
}

.header_content h2 {
  color: var(--second-color);
  font-size: var(--medium-font);
  font-weight: var(--fo-semi);
  text-align: right;
  position: relative;
  padding-bottom: 0.5rem;
}

.header_content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 3px;
  background-color: var(--first-color);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header_nav {
  animation: fadeIn 0.8s ease-out forwards;
}

.preheader {
  animation: fadeIn 0.5s ease-out forwards;
}



/* ===== HERO SECTION ===== */
.home {
  position: relative;
  width: 100%;
  margin-top: 120px; /* Platz für den Header */
  margin-bottom: 80px; /* Platz für die Navbar */
}

.home_page {
  position: relative;
}

.hero_img {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 300px;
  max-height: 800px;
}

.hero_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.home_description {
  position: absolute;
  bottom: 80px;
  left: 5%;
  right: auto;
  width: 85%;
  max-width: 300px;
  padding: 1rem;
  margin: 0;
  background-color: rgba(255, 255, 255, 0.95);
  border-left: 3px solid var(--first-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.home_description h2 {
  color: var(--first-color);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.home_description h1 {
  color: var(--second-color);
  font-size: 1.4rem;
  line-height: 1.25;
  margin-bottom: 0.6rem;
  font-weight: var(--fo-bo);
}

.home_description p {
  color: var(--second-color);
  font-size: 0.85rem;
  line-height: 1.4;
}

.home_buttons {
  position: absolute;
  bottom: 20px;
  left: 5%;
  right: auto;
  width: auto;
  display: flex;
  flex-direction: row;
  gap: 0.8rem;
}

.button {
  display: inline-block;
  padding: 0.5rem 0.8rem;
  background-color: var(--first-color);
  color: white;
  font-weight: var(--fo-semi);
  font-size: 0.8rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(176, 27, 46, 0.3);
}

.button:hover {
  background-color: var(--second-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(35, 31, 32, 0.4);
}

.button_link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  background-color: white;
  color: var(--first-color);
  font-weight: var(--fo-semi);
  font-size: 0.8rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.button_link:hover {
  background-color: var(--first-color);
  color: white;
}

.button_link i {
  transition: transform 0.3s ease;
}

.button_link:hover i {
  transform: translateX(3px);
}

/* ===== ABOUT SECTION ===== */
.about {
  position: relative;
  width: 100%;
  padding: 2rem 0;
  margin: 2rem 0;
}

.about_page {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.about_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.about_bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.1)
  );
}

.about_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  position: relative;
  z-index: 1;
}

.about_header {
  text-align: center;
  margin-bottom: 2rem;
}

.about_title {
  color: #fff;
  font-size: 2rem;
  font-weight: var(--fo-bo);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about_divider {
  width: 80px;
  height: 3px;
  background-color: var(--first-color);
  margin: 0 auto;
}

.about_content {
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about_image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.about_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about_image:hover {
  transform: scale(1.05);
}

.about_text {
  padding: 1.5rem;
}

.about_subtitle {
  color: var(--second-color);
  font-size: 1.5rem;
  font-weight: var(--fo-semi);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.about_description {
  color: var(--second-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.about_description p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.about_cta {
  text-align: center;
}

.about_button {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.5rem;
  background-color: var(--first-color);
  color: white;
  font-weight: var(--fo-semi);
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(176, 27, 46, 0.3);
  font-size: 0.9rem;
}

.about_button:hover {
  background-color: var(--second-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(35, 31, 32, 0.4);
}

.about_button i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.about_button:hover i {
  transform: translateX(5px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 576px) {
  .nav {
    max-width: 350px;
    border-radius: 2rem;
    bottom: 1.5rem;
  }
  
  
  .nav_expand-list {
    bottom: calc(100% + 1rem);
    border-radius: 2rem;
  }
  
  .home_description {
    max-width: 400px;
    padding: 1.5rem;
  }
  
  .home_description h1 {
    font-size: 1.6rem;
  }
  
  .home_description p {
    font-size: 0.9rem;
  }
  
  .button,
  .button_link {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  .about_image-container {
    height: 300px;
  }
}

@media (min-width: 768px) {

  
  .home {
    margin-top: 140px;
  }
  
  .home_description {
    max-width: 500px;
    padding: 2rem;
  }
  
  .home_description h1 {
    font-size: 2rem;
  }
  
  .home_description p {
    font-size: 1rem;
  }
  
  .about_content {
    flex-direction: row;
  }
  
  .about_image-container {
    width: 40%;
    height: auto;
  }
  
  .about_text {
    width: 60%;
    padding: 2rem;
  }
  
  .about_title {
    font-size: 2.5rem;
  }
  
  .about_subtitle {
    font-size: 1.8rem;
  }
  
  .about_description p {
    font-size: 1rem;
  }
  
  .about_button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

    .services__grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 2rem;
  }
  
  .services__title {
    font-size: 3rem;
  }
  
  .services__subtitle {
    font-size: 1.8rem;
  }
  
  .services__intro {
    font-size: 1.1rem;
  }
  
  .service-card__title {
    font-size: 1.4rem;
  }
  
  .service-card__content p {
    font-size: 1rem;
  }

  
}

@media (min-width: 992px) {

  

  
  .home_description {
    max-width: 600px;
  }
  
  .home_description h1 {
    font-size: 2.5rem;
  }
  
  .about_title {
    font-size: 3rem;
  }
}

@media (max-width: 576px) {
    .preheader_items {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .nav_logo img {
    max-height: 60px;
  }
  
  .header_content h2 {
    font-size: 0.9rem;
  }
  
  .home {
    margin-top: 100px;
  }
  
  .hero_img {
    height: 50vh;
  }
  
  .about {
    padding: 1rem 0;
  }
  
  .about_container {
    padding: 1rem;
  }
  
  .about_title {
    font-size: 1.8rem;
    margin-top: 0.5rem;
  }
  
  .about_subtitle {
    font-size: 1.3rem;
  }
  
  .about_image-container {
    height: 200px;
  }
  
  .about_text {
    padding: 1rem;
  }
  
  .about_description p {
    font-size: 0.85rem;
  }
  
  .about_button {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* ===== SERVICES SECTION ===== */
.services {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 4rem 0;
  background-color: #f9f9f9;
}

.services__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

/* Hero Header */
.services__hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  max-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  margin-bottom: 3rem;
}

.services__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.services__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  z-index: 2;
}

.services__header {
  position: relative;
  z-index: 3;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.services__title {
  font-size: 2.5rem;
  font-weight: var(--fo-bo);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.services__divider {
  width: 80px;
  height: 3px;
  background-color: var(--first-color);
  margin: 0 auto 1.5rem;
}

.services__subtitle {
  font-size: 1.5rem;
  font-weight: var(--fo-semi);
  margin-bottom: 1.5rem;
  line-height: 1.4;
  color: white;
}

.services__intro {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

/* Services Grid */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 1.5rem;
  margin-bottom: 3rem;
}

.service-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--first-color);
  z-index: 2;
}

.service-card__icon {
  width: 60px;
  height: 60px;
  background-color: var(--first-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem auto 1.5rem;
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-card__icon {
  background-color: var(--second-color);
  transform: scale(1.1) rotate(5deg);
}

.service-card__title {
  font-size: 1.3rem;
  font-weight: var(--fo-semi);
  text-align: center;
  margin: 0 1.5rem 1rem;
  color: var(--second-color);
}

.service-card__content {
  padding: 0 1.5rem 2rem;
  text-align: center;
}

.service-card__content p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #555;
}

.service-card__btn {
  background-color: transparent;
  border: 2px solid var(--first-color);
  color: var(--first-color);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-weight: var(--fo-semi);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.service-card__btn:hover {
  background-color: var(--first-color);
  color: white;
  transform: translateY(-2px);
}

/* CTA Section */
.services__cta {
  background-color: var(--second-color);
  padding: 3rem 1.5rem;
  text-align: center;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.services__cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--first-color);
}

.services__cta-title {
  font-size: 1.8rem;
  font-weight: var(--fo-semi);
  color: white;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.services__cta-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.services__cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 2rem;
  background-color: var(--first-color);
  color: white;
  font-weight: var(--fo-semi);
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(176, 27, 46, 0.3);
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.services__cta-btn:hover {
  background-color: white;
  color: var(--first-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.services__cta-btn i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.services__cta-btn:hover i {
  transform: translateX(5px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}

.service-card:nth-child(2) {
  animation-delay: 0.2s;
}

.service-card:nth-child(3) {
  animation-delay: 0.3s;
}

.service-card:nth-child(4) {
  animation-delay: 0.4s;
}

.service-card:nth-child(5) {
  animation-delay: 0.5s;
}


/* ===== PROJECTS SECTION ===== */
.projects {
  padding: 3rem 1rem;
  background-color: var(--bg-color);
}

.projects__container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header Section */
.projects__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.projects__title {
  font-size: var(--medium-font);
  color: var(--second-color);
  margin-bottom: 0.5rem;
  font-weight: var(--fo-bo);
}

.projects__divider {
  width: 80px;
  height: 3px;
  background-color: var(--first-color);
  margin: 0 auto 1rem;
}

.projects__subtitle {
  color: var(--second-color);
  font-size: var(--normal-font);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* City Filter Buttons */
.city-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.city-btn {
  padding: 0.5rem 1rem;
  background-color: transparent;
  color: var(--second-color);
  border: 1px solid var(--second-color);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.city-btn:hover {
  background-color: var(--second-color);
  color: var(--text-color);
}

.city-btn.active {
  background-color: var(--first-color);
  border-color: var(--first-color);
  color: var(--text-color);
}

/* Projects Gallery */
.projects-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.project-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-images {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.main-image {
  width: 100%;
  height: 100%;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .main-image img {
  transform: scale(1.05);
}

.thumbnail-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.thumbnail {
  width: 50px;
  height: 50px;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail:hover {
  border-color: var(--text-color);
}

.thumbnail.active {
  border-color: var(--first-color);
}

.project-details {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.25rem;
  color: var(--second-color);
  margin-bottom: 0.5rem;
  font-weight: var(--fo-bo);
}

.project-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--first-color);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.project-description {
  margin-bottom: 1.5rem;
}

.project-description p {
  color: var(--second-color);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-services {
  list-style-type: none;
}

.project-services li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.project-services i {
  color: var(--first-color);
  margin-top: 0.2rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--second-color);
}

.meta-item i {
  color: var(--first-color);
}

/* Responsive Design */
@media screen and (min-width: 768px) {
  .projects {
    padding: 4rem 2rem;
  }
  
  .projects-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .project-images {
    height: 300px;
  }
}

@media screen and (min-width: 992px) {
  .project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  
  .project-images {
    height: auto;
  }
  
  .project-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
} 

/* ===== CONTACT SECTION ===== */
.contact {
  position: relative;
  padding: 3rem 1rem;
  background-color: var(--bg-color);
  overflow: hidden;
}

.contact_page {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.contact_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.contact_bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}

.contact_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 
              rgba(255,255,255,0.9) 0%, 
              rgba(255,255,255,0.95) 100%);
}

.contact_container {
  position: relative;
  z-index: 1;
}

.contact_header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact_title {
  font-size: var(--medium-font);
  color: var(--second-color);
  margin-bottom: 0.5rem;
  font-weight: var(--fo-bo);
}

.contact_divider {
  width: 80px;
  height: 3px;
  background-color: var(--first-color);
  margin: 0 auto 1rem;
}

.contact_content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact_description {
  text-align: center;
  margin-bottom: 1rem;
}

.contact_subtitle {
  font-size: 1.25rem;
  color: var(--second-color);
  margin-bottom: 1rem;
  font-weight: var(--fo-semi);
}

.contact_description p {
  color: var(--second-color);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.contact_card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact_icon {
  font-size: 2rem;
  color: var(--first-color);
  margin-bottom: 1rem;
}

.contact_card-title {
  font-size: 1.1rem;
  color: var(--second-color);
  margin-bottom: 0.5rem;
  font-weight: var(--fo-semi);
}

.contact_card-data {
  color: var(--second-color);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.contact_button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--first-color);
  color: white;
  border-radius: 4px;
  font-weight: var(--fo-semi);
  transition: all 0.3s ease;
}

.contact_button:hover {
  background-color: var(--second-color);
  color: white;
}

.contact_button i {
  transition: transform 0.3s ease;
}

.contact_button:hover i {
  transform: translateX(3px);
}

/* Contact Form Styles */
.contact_form {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact_form-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact_form-div {
  position: relative;
  margin-bottom: 1rem;
}

.contact_form-input {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  outline: none;
  background: none;
  color: var(--second-color);
  transition: border 0.3s ease;
}

.contact_form-input:focus {
  border-color: var(--first-color);
}

.contact_form-label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: #777;
  background-color: white;
  padding: 0 0.25rem;
  transition: all 0.3s ease;
  pointer-events: none;
}

.contact_form-input:focus + .contact_form-label,
.contact_form-input:not(:placeholder-shown) + .contact_form-label {
  top: -0.6rem;
  left: 0.8rem;
  font-size: 0.8rem;
  color: var(--first-color);
}

.contact_form-area {
  height: 150px;
}

.contact_form-area textarea {
  resize: none;
  height: 100%;
  padding-top: 1rem;
}

.contact_checkbox {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.contact_checkbox-input {
  margin-right: 0.5rem;
}

.contact_checkbox-label {
  font-size: 0.85rem;
  color: var(--second-color);
}

.contact_privacy-link {
  color: var(--first-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.contact_privacy-link:hover {
  color: var(--second-color);
}

.contact_button-submit {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact_button-submit i {
  font-size: 1.2rem;
}

.contact_message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 4px;
  text-align: center;
  display: none;
}

.contact_message.success {
  background-color: rgba(46, 204, 113, 0.2);
  color: #27ae60;
  display: block;
}

.contact_message.error {
  background-color: rgba(231, 76, 60, 0.2);
  color: #c0392b;
  display: block;
}

/* Responsive Design */
@media screen and (min-width: 768px) {
  .contact {
    padding: 4rem 2rem;
  }
  
  .contact_content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact_description {
    grid-column: 1 / -1;
  }
  
  .contact_form {
    grid-column: 1 / -1;
  }
  
  .contact_form-group {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 992px) {
  .contact_content {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact_description {
    grid-column: 1 / 3;
    text-align: left;
  }
  
  .contact_form {
    grid-column: 3 / 4;
    grid-row: 2 / 4;
  }
}

/* ===== FOOTER STYLES ===== */
.footer {
  background-color: var(--second-color);
  color: var(--text-color);
  padding: 3rem 0 0;
  position: relative;
  z-index: var(--z-fixed);
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer__company {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__logo img {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__slogan {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  opacity: 0.8;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-color);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer__social-link:hover {
  background-color: var(--first-color);
  transform: translateY(-3px);
}

.footer__title {
  font-size: 1.2rem;
  font-weight: var(--fo-semi);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--first-color);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer__link {
  color: var(--text-color);
  opacity: 0.8;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer__link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--first-color);
  transition: width 0.3s ease;
}

.footer__link:hover {
  opacity: 1;
  color: var(--first-color);
  padding-left: 8px;
}

.footer__link:hover::before {
  width: 100%;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer__contact-item i {
  color: var(--first-color);
  font-size: 1.1rem;
}

.footer__contact-item a {
  color: var(--text-color);
  transition: color 0.3s ease;
}

.footer__contact-item a:hover {
  color: var(--first-color);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__copyright {
  font-size: 0.8rem;
  opacity: 0.7;
  text-align: center;
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal-link {
  font-size: 0.8rem;
  color: var(--text-color);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer__legal-link:hover {
  opacity: 1;
  color: var(--first-color);
}

/* Responsive Anpassungen */
@media screen and (min-width: 768px) {
  .footer__top {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer__bottom {
    flex-direction: row;
  }
}

@media screen and (max-width: 600px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer__company {
    align-items: center;
    text-align: center;
  }
  
  .footer__social {
    justify-content: center;
  }
  
  .footer__title {
    margin-bottom: 1rem;
  }
  
  .footer__title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer__list {
    align-items: center;
  }
  
  .footer__contact {
    text-align: center;
  }
  
  .footer__contact-item {
    justify-content: center;
  }
}

/* ===== Datenschutz-Section Styles ===== */
.privacy-page {
  background-color: var(--bg-color);
  color: var(--second-color);
}
.privacy-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.privacy-header {
  text-align: center;
  margin-bottom: 2rem;
}
.privacy-title {
  font-size: var(--big-font);
  font-weight: var(--fo-bo);
  color: var(--first-color);
}
.privacy-divider {
  width: 60px;
  height: 4px;
  background-color: var(--first-color);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}
.privacy-update {
  font-size: var(--tiny-font);
  margin-top: 0.5rem;
  color: var(--second-color);
}

.privacy-article {
  margin-bottom: 1.5rem;
}
.privacy-subtitle {
  font-size: var(--medium-font);
  font-weight: var(--fo-semi);
  margin-bottom: 0.5rem;
  color: var(--second-color);
}
.privacy-subsubtitle {
  font-size: 1.125rem;
  font-weight: var(--fo-semi);
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}
.privacy-article p,
.privacy-article ul {
  font-size: var(--normal-font);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.privacy-list {
  list-style: disc inside;
  margin-left: 1rem;
}
.privacy-list li {
  margin-bottom: 0.25rem;
}
.privacy-address {
  font-style: normal;
  line-height: 1.5;
  margin-top: 0.5rem;
}
.privacy-address a {
  color: var(--first-color);
  transition: color 0.3s;
}
.privacy-address a:hover {
  color: var(--second-color);
}

/* Responsive Adjustments */
@media screen and (min-width: 600px) {
  .privacy-section {
    padding: 3rem 2rem;
  }
  .privacy-article {
    margin-bottom: 2rem;
  }
}
@media screen and (min-width: 1024px) {
  .privacy-page {
    padding: 4rem 0;
  }
  .privacy-section {
    padding: 4rem;
  }
  .privacy-title {
    font-size: calc(var(--big-font) + 0.5rem);
  }
  .privacy-subtitle {
    font-size: calc(var(--medium-font) + 0.25rem);
  }
}
