/* Global styles */
:root {
  --bg-color: #f6f5f3;
  --dark-blue: #264653;
  --coral-red: #e76f51;
  --text-color: #1c1c1c;
  --light-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

section[id] {
  scroll-margin-top: 80px;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: var(--dark-blue);
  transition: var(--transition);
}

a:hover {
  color: var(--coral-red);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--dark-blue);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: bold;
  text-align: center;
}

.btn:hover {
  background-color: var(--coral-red);
  color: white;
  transform: translateY(-3px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--dark-blue);
  color: var(--dark-blue);
}

.btn-outline:hover {
  background-color: var(--dark-blue);
  color: white;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark-blue);
  position: relative;
  margin-bottom: 20px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--coral-red);
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Header styles */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: var(--light-shadow);
  z-index: 1000;
  padding: 10px 0;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav li {
  margin-left: 20px;
}

.main-nav a {
  font-weight: 600;
  padding: 10px;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
}

/* Mobile menu */
@media (max-width: 768px) {
  .nav-toggle-label {
    display: block;
    position: relative;
    z-index: 2;
    height: 30px;
    width: 30px;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    position: absolute;
    height: 3px;
    width: 30px;
    background-color: var(--dark-blue);
    border-radius: 2px;
    transition: var(--transition);
  }

  .nav-toggle-label span {
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: "";
  }

  .nav-toggle-label span::before {
    top: -10px;
  }

  .nav-toggle-label span::after {
    bottom: -10px;
  }

  .nav-toggle:checked + .nav-toggle-label span {
    background-color: transparent;
  }

  .nav-toggle:checked + .nav-toggle-label span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label span::after {
    bottom: 0;
    transform: rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: white;
    transition: height 0.3s ease;
    z-index: 1;
  }

  .nav-toggle:checked ~ .main-nav {
    height: 300px;
  }

  .main-nav ul {
    flex-direction: column;
    padding-top: 70px;
  }

  .main-nav li {
    margin: 0;
    text-align: center;
  }

  .main-nav a {
    display: block;
    padding: 15px;
  }
}

/* Hero section */
.hero {
  height: 100vh;
  min-height: 600px;
  background-image: linear-gradient(
      rgba(38, 70, 83, 0.7),
      rgb(194 194 194 / 70%)
    ),
    url(./img/kt6Eu.jpg);
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }
}

/* About us section */
.about-us {
  background-color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--light-shadow);
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--dark-blue);
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: 1;
  }

  .about-content {
    order: 2;
  }
}

/* Services section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--light-shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  color: var(--dark-blue);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* Benefits section */
.benefits {
  background: linear-gradient(
    to right,
    rgba(38, 70, 83, 0.05),
    rgba(231, 111, 81, 0.05)
  );
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.benefit-item {
  text-align: center;
  padding: 20px;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: var(--dark-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
}

.benefit-item h3 {
  margin-bottom: 15px;
  color: var(--dark-blue);
}

/* Process section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.process-step {
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: var(--light-shadow);
  position: relative;
}

.step-number {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 50px;
  height: 50px;
  background-color: var(--coral-red);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.process-step h3 {
  color: var(--dark-blue);
  margin-bottom: 15px;
  padding-left: 15px;
}

/* Testimonials section */
.testimonials {
  background-color: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: linear-gradient(
    to bottom right,
    rgba(38, 70, 83, 0.05),
    rgba(231, 111, 81, 0.05)
  );
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--light-shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 5rem;
  color: var(--coral-red);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.client-info {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.client-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.client-name {
  font-weight: bold;
  color: var(--dark-blue);
}

/* Contact form section */
.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--light-shadow);
  padding: 40px;
}

form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: grid;
  gap: 5px;
}

label {
  font-weight: bold;
  color: var(--dark-blue);
}

input,
select,
textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input {
  margin-top: 5px;
}

.form-submit {
  margin-top: 20px;
}

/* FAQ section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: 5px;
  margin-bottom: 15px;
  box-shadow: var(--light-shadow);
}

.faq-question {
  display: block;
  width: 100%;
  padding: 20px;
  background-color: var(--dark-blue);
  color: white;
  cursor: pointer;
  position: relative;
  border: none;
  text-align: left;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
}

.faq-question:after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

input[type="checkbox"].faq-toggle {
  display: none;
}

input[type="checkbox"].faq-toggle:checked + .faq-question:after {
  content: "−";
}

input[type="checkbox"].faq-toggle:checked + .faq-question + .faq-answer {
  max-height: 1000px;
  padding: 20px;
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  transition: bottom 0.3s ease-in-out;
}

.cookie-popup.active {
  bottom: 0;
}

.cookie-popup p {
  margin-right: 20px;
}

.cookie-popup button {
  padding: 10px 20px;
  background-color: var(--dark-blue);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-popup button:hover {
  background-color: var(--coral-red);
}

@media (max-width: 768px) {
  .cookie-popup {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Footer styles */
.main-footer {
  background-color: var(--dark-blue);
  color: white;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--coral-red);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #ddd;
}

.footer-column a:hover {
  color: var(--coral-red);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

/* Danke page */
.thank-you-container {
  margin: 8rem auto 5rem;
  max-width: 600px;
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--light-shadow);
  padding: 40px;
  text-align: center;
}

.thank-you-container h1 {
  color: var(--dark-blue);
  margin-bottom: 20px;
}
.thank-you-container img {
  margin: 0 auto;
}
/* Policy pages */
.policy-container {
  max-width: 900px;
  margin: 120px auto 60px;
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--light-shadow);
  padding: 40px;
}

.policy-container h1 {
  color: var(--dark-blue);
  margin-bottom: 30px;
  text-align: center;
}

.policy-container h2 {
  color: var(--dark-blue);
  margin: 30px 0 15px;
}

.policy-container p,
.policy-container ul,
.policy-container ol {
  margin-bottom: 15px;
}

.policy-container ul,
.policy-container ol {
  margin-left: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .contact-form-container,
  .policy-container {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .btn {
    padding: 10px 20px;
  }
}
