body {
  margin: 0;
  font-family: "Brygada 1918", sans-serif;
  line-height: 1.5;
  color: #222;
}
p,
ul,
li {
  font-size: 18px;
}
h1 {
  font-size: 50px;
  font-weight: normal;
  line-height: 1.15;
}
h3,
h4 {
  font-weight: normal;
}

/* =========================================
   HEADER / NAVIGATION
   ========================================= */
.Tnav {
  background: #c9b59cd0;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);

  /* --- STICKY CODE START --- */
  position: sticky; /* Make it sticky */
  top: 0; /* Stick exactly to the top edge */
  z-index: 1000; /* Ensure it sits on top of all other images/text */
  /* --- STICKY CODE END --- */
}

/* This container constrains the content width */
.navContainer {
  max-width: 1400px; /* Same width as other sections */
  margin: 0 auto; /* Centers the container */
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Logo Left, Links Right */
}

nav img {
  width: 100px;
  display: block; /* Removes weird image spacing */
}

.navLinks {
  display: flex;
  gap: 40px; /* Space between the links */
}

.navigation {
  color: #333; /* Changed from white to dark grey for readability */
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: color 0.3s ease; /* Smooth hover effect */
  padding-bottom: 5px;
  border-bottom: 2px solid transparent; /* Invisible border for hover effect */
}

.navigation:hover {
  color: #819067; /* Green brand color on hover */
  border-bottom: 2px solid #819067;
}

/* --- CTA BUTTON --- */
.cta-button {
  display: inline-block; /* Allows padding and margins on a link */
  background-color: #819067; /* Your brand green */
  color: #ffffff; /* White text */
  padding: 15px 30px; /* Size of the button */
  text-decoration: none; /* Removes the underline */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px;
  font-weight: bold;
  margin-top: 25px; /* Space between text and button */
  transition: background-color 0.3s ease; /* Smooth hover effect */
}

.cta-button:hover {
  background-color: #6a7853; /* Slightly darker green on hover */
}

/* =========================================
   SECTIONS
   ========================================= */

/* --- ABOUT US SECTION --- */
.aboutUsSection {
  background-color: #f6ecd5;
}
.aboutUs {
  display: flex;
  align-items: center;
  margin: 0px auto;
  padding: 40px 30px;
  gap: 40px;
  max-width: 1400px;
}
.aboutUsText {
  flex: 1;
}
.aboutUs img {
  border-radius: 20px;
}

/* --- APPROACH SECTION --- */
.approachSection::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #f6ebd4d9;
}
.approachSection {
  width: 100%;
  min-height: 400px;
  position: relative;
  background-image: url("../img/bg-header.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.approach {
  display: flex;
  margin: 0px auto;
  padding: 40px 30px;
  gap: 40px;
  max-width: 1400px;
  position: relative;
  z-index: 1;
}
.approachText {
  flex: 1;
}

/* --- ADDED VALUE SECTION --- */
.addedValueSection {
  width: 100%;
  min-height: 400px;
  position: relative;
  background-color: #e5d9c1;
}
.addedValueSection a {
  text-decoration: none;
}

.addedValueList {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 40px;
}

.addedValueItem {
  display: flex;
  align-items: center;
  gap: 50px;
}

.addedValueItem.reverse {
  flex-direction: row-reverse;
}

.addedValueImage {
  flex: 1;
}

.addedValueImage img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
}

.addedValueText {
  flex: 1;
}

.addedValueText h3 {
  font-size: 26px;
  margin-top: 0;
  margin-bottom: 15px;
  color: #2c3e50;
}

.addedValueText p {
  font-size: 18px;
  line-height: 1.6;
}

/* Links inside Added Value */
.addedValueText a {
  color: #819067;
  font-weight: bold;
  text-decoration: none;
}

.addedValueText a:hover {
  text-decoration: underline;
}

/* --- MOBILE FIX --- */
@media screen and (max-width: 768px) {
  .addedValueItem,
  .addedValueItem.reverse {
    flex-direction: column;
    gap: 25px;
  }

  .addedValueImage img {
    height: 240px;
  }
}

/* --- VISION SECTION STYLES --- */
.visionSection {
  background-color: #f6ecd5;
  padding: 60px 0;
}
.visionContainer {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
}
.visionHeader {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
/* Timeline Vertical Line */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background-color: #c9b59c;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}
/* Container around content */
.timelineItem {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  box-sizing: border-box;
}
/* The circles on the timeline */
.timelineItem::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: #faeeda;
  border: 4px solid #79924e;
  top: 20px;
  border-radius: 50%;
  z-index: 1;
}
/* Place items left and right */
.left {
  left: 0;
  text-align: right;
}
.right {
  left: 50%;
  text-align: left;
}
.left::after {
  right: -14px;
}
.right::after {
  left: -14px;
}

/* Content Box Styling */
.timelineItem .content {
  padding: 20px 30px;
  background-color: #f9f8f6;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.timelineItem h2 {
  color: #819067;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 30px;
  font-weight: bold;
}
.timelineItem h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 22px;
}

/* --- CONTACT SECTION --- */
.contactSectionSection {
  background-color: #f9f8f6;
}
.contactSection {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 30px;
}
.contactSection h2 {
  margin-bottom: 30px;
}
.contactForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contactForm textarea {
  grid-column: 1 / -1;
  height: 200px;
  resize: vertical;
  border-width: 2px;
}
.contactForm button {
  background-color: #819067;
  grid-column: 1 / -1;
  padding: 15px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 10px;
}
.contactForm input,
.contactForm textarea {
  padding: 15px;
  font-size: 18px;
  box-sizing: border-box;
  border-radius: 10px;
}

/* --- FOOTER --- */
footer {
  background-color: #c9b59c;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  position: static;
}
footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}
footer a:hover {
  text-decoration: underline;
}

/* =========================================
   RESPONSIVE STYLES (MOBILE)
   ========================================= */
@media screen and (max-width: 768px) {
  /* 1. Header Fix */
  .navContainer {
    flex-direction: column; /* Stack Logo on top of links */
    padding: 20px 10px;
  }

  .navLinks {
    flex-direction: column; /* Stack links vertically */
    gap: 15px;
    margin-top: 20px;
    width: 100%;
    text-align: center;
  }

  nav img {
    width: 120px; /* Slightly larger logo on mobile */
  }

  /* 2. About Us Fix */
  .aboutUs {
    flex-direction: column;
    text-align: center;
  }
  .aboutUs img {
    margin-top: 20px;
    width: 100%;
    height: auto;
    max-width: 450px;
  }

  .aboutUs h1,
  .unsProdukteText h1,
  .visionHeader h1,
  .contactContent h1 {
    font-size: 32px;
    font-weight: bold;
  }

  .aboutUs h2,
  .unsProdukteText h2,
  .visionHeader h2,
  .contactContent h2 {
    font-size: 26px;
    font-weight: normal;
  }

  /* 3. Vision Timeline Fix */
  .timeline::after {
    left: 31px;
  }
  .timelineItem {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .left,
  .right {
    left: 0;
    text-align: left;
  }
  .left::after,
  .right::after {
    left: 19px;
  }

  /* 4. Contact Form Fix */
  .contactForm {
    grid-template-columns: 1fr; /* Stack inputs vertically on mobile */
  }
}

/* =========================================
   FOOTER & LEGAL OVERLAY STYLES
   ========================================= */

footer {
  background-color: #c9b59c;
  color: #fff;
  text-align: center;
  padding: 30px 0;
  font-size: 14px;
}

footer nav {
  margin-top: 10px;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  cursor: pointer; /* Shows it is clickable */
}

footer a:hover {
  text-decoration: underline;
  color: #819067; /* Green hover effect */
}

/* --- MODAL (OVERLAY) STYLES --- */

/* The Background (black with opacity) */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 2000; /* Sits on top of everything, including sticky header */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.6); /* Black w/ opacity */
  backdrop-filter: blur(5px); /* Optional: Blurs background for modern look */
}

/* The White Content Box */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto; /* 5% from top and centered */
  padding: 40px;
  border-radius: 15px;
  width: 80%;
  max-width: 800px; /* Maximum width on large screens */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  max-height: 80vh; /* Prevents box from being taller than screen */
  overflow-y: auto; /* Scroll INSIDE the box if text is long */
}

/* The Close Button (X) */
.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 15px;
  right: 25px;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover,
.close-btn:focus {
  color: #819067;
  text-decoration: none;
  cursor: pointer;
}

/* Typography inside the modal */
.legal-text h2 {
  color: #819067;
  margin-top: 0;
}

.legal-text hr {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 40px 0;
}

/* Mobile Adjustment for Modal */
@media screen and (max-width: 768px) {
  .modal-content {
    width: 90%;
    margin: 10% auto;
    padding: 20px;
  }
}

/* =========================================
   MODERN CONTACT SECTION (Updated)
   ========================================= */

.contactSectionSection {
  background-color: #f9f8f6;
  padding: 80px 20px;
}

.contactContainer {
  max-width: 1100px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex; /* Side-by-side layout on Desktop */
}

/* --- Left Side: Image --- */
.contactImage {
  flex: 1; /* Takes up 50% width */
  position: relative;
  min-height: 500px;
}

.contactImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Right Side: Form Content --- */
.contactContent {
  flex: 1; /* Takes up 50% width */
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contactContent h2 {
  color: #2c3e50;
  font-size: 36px;
  margin-top: 0;
  margin-bottom: 15px;
}

.contactContent p {
  color: #666;
  margin-bottom: 30px;
  font-size: 18px;
  line-height: 1.6;
}

/* --- Form Elements --- */
.contactForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.formGroup {
  display: flex;
  flex-direction: column;
}

.formGroup label {
  font-size: 14px;
  font-weight: bold;
  color: #444;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contactForm input,
.contactForm textarea {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  background-color: #fdfdfd;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.contactForm textarea {
  height: 150px;
  resize: vertical;
}

.contactForm input:focus,
.contactForm textarea:focus {
  outline: none;
  border-color: #819067;
  background-color: #fff;
}

/* --- Submit Button --- */
.contactForm button {
  background-color: #819067;
  color: white;
  padding: 18px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s;
  margin-top: 10px;
}

.contactForm button:hover {
  background-color: #6a7853;
  transform: translateY(-2px);
}

/* --- RESPONSIVE MOBILE FIX --- */
@media screen and (max-width: 768px) {
  .contactContainer {
    flex-direction: column; /* Stack vertically */
    width: 100%;
    max-width: 100%;
  }

  .contactImage {
    display: none; /* <--- THIS HIDES THE IMAGE ON MOBILE */
  }

  .contactContent {
    padding: 30px 20px; /* Give the form nice padding */
    width: 100%; /* Ensure form uses full width */
    box-sizing: border-box;
  }
}

/* =========================================
   RESPONSIVE STYLES (MOBILE)
   ========================================= */
@media screen and (max-width: 768px) {
  .Tnav {
    position: relative;
  }

  /* 1. Header Fix - HIDE LINKS */
  .navContainer {
    padding: 15px 20px;
    justify-content: center; /* Centers the logo since links are gone */
  }

  .navLinks {
    display: none; /* <--- THIS HIDES THE LINKS ON MOBILE */
  }

  nav img {
    width: 120px; /* Adjust logo size if needed */
  }

  /* 2. About Us Fix */
  .aboutUs {
    flex-direction: column;
    text-align: center;
  }
  .aboutUs img {
    margin-top: 20px;
    width: 100%;
    height: auto;
    max-width: 450px;
  }

  /* 3. Vision Timeline Fix */
  .timeline::after {
    left: 31px;
  }
  .timelineItem {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .left,
  .right {
    left: 0;
    text-align: left;
  }
  .left::after,
  .right::after {
    left: 19px;
  }

  /* 4. Contact Section Fix */
  .contactContainer {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }
  .contactImage {
    display: none; /* Hides contact image on mobile */
  }
  .contactContent {
    padding: 30px 20px;
    width: 100%;
    box-sizing: border-box;
  }

  /* 5. Legal Modal Fix */
  .modal-content {
    width: 90%;
    margin: 20% auto; /* More top margin on mobile */
    padding: 20px;
  }
}
