/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* syncopate-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Syncopate';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/syncopate-v23-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* syncopate-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Syncopate';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/syncopate-v23-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* league-script-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'League Script';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/league-script-v29-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: white;
  color: #4d4d4d;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, #ece2db, #e9ecef); /* Soft rose beige gradient */
  color: #4d4d4d;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: adds subtle shadow */
  transition: background-color 0.3s ease, opacity 0.3s ease; /* Smooth transition */
  border-radius: 0; /* Square corners by default */
}

.site-header.sticky {
  border-bottom-left-radius: 30px; /* Round bottom-left corner when sticky */
  border-bottom-right-radius: 30px; /* Round bottom-right corner when sticky */
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h1, h3, .logo {
  font-family: 'Syncopate', sans-serif;
  font-weight: lighter;
}

h2 {
  font-family: 'Syncopate', sans-serif;
  font-weight: bolder;
}

h3 {
  font-size: 2rem;
}

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

.nav-links a {
  color: #3d3d3d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #1a1a1a;
  font-weight: lighter;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  z-index: 999;
  position: absolute;
  top: 50%; /* Vertically centered */
  right: 20px; /* Positioned on the right side */
  transform: translateY(-50%); /* Center the hamburger vertically */
}

.hamburger .bar {
  width: 30px;
  height: 3px;
  background-color: #fff;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: url("img/wheel.jpg") no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 10rem 1rem; /* Increase the height */
  transition: all 0.3s ease-in-out;
}

.hero h2 {
  padding-top: 1.5rem;
  font-size: 3rem;
  margin-bottom: 1rem;
  transition: opacity 0.5s ease-in-out;
}

.hero p {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  font-family: "League Script", cursive;
  font-weight: 500;
  font-style: normal;
}

.hero .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: #C59CA2FF;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero .btn:hover {
  background: #fff9f9;
  transform: scale(1.05);
}

/* Content Sections */
.content-section {
  padding: 6rem 1rem; /* Increased section height for visibility */
  background-color: #fff; /* Make section background transparent to see gradient */
  opacity: 1; /* Ensure sections are visible */
  transform: translateY(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.content-section.alt {
  background: linear-gradient(135deg, #e9ecef, #ece2db); /* Ensure sections still have transparency */
  border-radius: 30px;
  width: 94%;
  margin-left: 3%;
  margin-right: 3%;
}

.content-section h3 {
  margin-bottom: 1rem;
  color: #C59CA2FF;
}

.content-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Flexbox Layout for Image & Text */
.content-row {
  display: flex;
  align-items: center;
  gap: 2rem; /* Space between the image and text */
  justify-content: flex-start; /* Align content to the left */
}

.round-image {
  width: 350px; /* Size of the image */
  height:350px; /* Size of the image */
  object-fit: cover; /* Ensures the image fits the round shape */
  border-radius: 50%; /* Makes the image round */
  opacity: 0; /* Initially hidden */
  transform: scale(0.6); /* Initially scaled down */
  transition: opacity 0.9s ease, transform 0.9s ease; /* Smooth transition for opacity and scaling */
}

/* Animation for visible images */
.round-image.visible {
  opacity: 1; /* Fade-in when visible */
  transform: scale(1); /* Scale image to normal size */
}

/* Class Boxen */
.services-boxes {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.service-box {
  flex: 1 1 45%;
  flex-direction: column;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  transform: translateY(50px);
}

.service-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-text {
  padding: 2rem 2rem 0 2rem;
}

.service-box img {
  width: 100%; /* Bild füllt die gesamte Breite der Box */
  height: 150px; /* Höhe des Bildes automatisch anpassen, um das Verhältnis zu wahren */
  border-radius: 0 0 10px 10px;
  /* margin-top: 1rem;  Abstand zwischen Text und Bild */
}

.service-text h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #c59ca2;
}

.service-text p, li {
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  color: #4d4d4d;
}

.listing {
  margin-left: 1.5rem;
}

ul li {
  margin-bottom: 0; /* kein Abstand zwischen den Listenelementen */
}

.strong-text {
  font-weight: bold;
  color: #C59CA2FF;
  margin-top: 0.6rem;
}

.elegant {
  font-size: 1rem !important;
  margin-bottom: 0.25rem;
  font-family: "League Script", cursive;
  font-weight: 500;
  font-style: normal;
}

#contact-elegant {
  font-size: 1.5rem !important;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #ece2db, #e9ecef); /* Soft rose beige gradient */
  display: flex;
  justify-content: center;
  gap: 2rem; /* gleichmäßiger Abstand zwischen den Elementen */
  flex-wrap: wrap;
  padding: 2rem 1rem;
  border-top-left-radius: 30px; /* Round top-left corner */
  border-top-right-radius: 30px; /* Round top-right corner */
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
}

.site-footer p, a {
  font-size: 1rem;
  color: rgb(77, 77, 77) !important;  /* Adjusting text color for readability */
  text-decoration: none !important;
}

.site-footer a:hover {
  text-decoration: underline;
}

#quote p {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  font-family: "League Script", cursive;
  font-weight: 500;
  font-style: normal;
  color: #c59ca2;
}

.mail {
  text-decoration: underline !important;
  font-size: inherit !important;
}

.desktop {
  display: block;
}

.tablet {
  display: none;
}

.mobile {
  display: none;
}



/* Responsive Styles */

@media (max-width: 1024px) {

  .desktop {
    display: none;
  }

  .tablet {
    display: block;
  }

  .mobile {
    display: none;
  }

}

@media (max-width: 768px) {


  .desktop {
    display: block;
  }

  .tablet {
    display: none;
  }

  .mobile {
    display: none;
  }

  .site-header.open { /* for hamburger < 768 px */
    height: 230px; /* Increase the header height when menu is open */
  }

  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    background: url("img/wheel_small.jpg") no-repeat center center/cover;

  }

  .hero h2 {
    font-size: 2rem;
  }

  .content-row {
    flex-direction: column; /* Stack image and text vertically on smaller screens */
    align-items: center; /* Center content */
    text-align: center; /* Center the text */
  }

  .round-image {
    margin-bottom: 1rem; /* Space between the image and the text */
  }

  .services-boxes {
    flex-direction: column;
  }

  .service-box {
    flex-direction: column;
    text-align: center;
  }

  .service-box .round-image {
    margin-bottom: 1rem;
  }

  .listing {
    list-style-position: inside;
    font-weight: lighter;
  }

  .nav-links {
    gap: 0.5rem;
    margin-top: 1rem;
    position: absolute;
    top: 60px; /* Position below the header */
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: none;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    padding: 1rem 0;
  }

  .nav-links.open {
    display: flex;
    transform: translateY(0);
  }

  .hamburger {
    display: flex;
    position: absolute;
    top: 50px; /* Adjust for top spacing */
    right: 20px; /* Right alignment of the hamburger icon */
  }

  .hamburger .bar {
    transition: 0.3s;
  }

  p {
    font-size: larger;
    font-weight: lighter;
  }

  h3 {
    font-size: 1.5rem;
  }

  a {
    font-weight: lighter;
  }

}

/* Smartphones: 320px bis 480px */
@media (max-width: 415px) {

  .desktop {
    display: none;
  }

  .tablet {
    display: none;
  }

  .mobile {
    display: block;
  }

  .site-header {
    height: 130px;
  }

  .site-header.open { /* for hamburger < 400 px */
    height: 280px; /* Increase the header height when menu is open */
  }

  .site-header .container {
    flex-direction: column;
    align-items: center;
  }

  .hamburger {
    position: static;         /* remove absolute positioning */
    margin: 1rem auto;      /* center horizontally */
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
  }

  nav {
    order: 3;
    width: 100%;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    display: none;
    margin-top: 50px;
  }

  .nav-links.open {
    display: flex;
  }
}

