/* Global Styles */
:root {
  --background: #0a0a23;
  --accent: #f5c518;
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --button-gradient-start: #ff7e5f;
  --button-gradient-end: #feb47b;
  --border-color: #2e2e2e;
  --container-width: 1200px;
  --spacing: 20px;
  --radius: 8px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Arial", sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

section {
  padding: 80px 0;
}

section[id] {
  scroll-margin-top: 80px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  opacity: 0.8;
}

ul,
ol {
  list-style-position: inside;
  margin-bottom: 20px;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(
    to right,
    var(--button-gradient-start),
    var(--button-gradient-end)
  );
  color: var(--text-primary);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(10, 10, 35, 0.95);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--text-primary);
  text-transform: lowercase;
}

nav ul {
  display: flex;
  margin: 0;
}

nav ul li {
  margin-left: 30px;
  list-style: none;
}

nav ul li a {
  color: var(--text-primary);
  font-weight: 600;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
}

/* Mobile menu */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
  }

  .menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
  }

  .menu-icon span:nth-child(1) {
    top: 0px;
  }

  .menu-icon span:nth-child(2) {
    top: 8px;
  }

  .menu-icon span:nth-child(3) {
    top: 16px;
  }

  .menu-toggle:checked + .menu-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
  }

  .menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
  }

  .menu-toggle:checked + .menu-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--background);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .menu-toggle:checked ~ nav {
    max-height: 500px;
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
  }

  nav ul li {
    margin: 10px 0;
    width: 100%;
    text-align: center;
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-image: url("./img/2Jn9t.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 35, 0.8);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 40px;
}

.hero-content h1 {
  margin-bottom: 20px;
  font-size: 3.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 40px;
}

/* About Section */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.about-text {
  flex: 1 1 400px;
}

.about-values {
  flex: 1 1 400px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.value-item {
  background-color: rgba(46, 46, 46, 0.5);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

/* Services Section */
.services {
  background-color: rgba(46, 46, 46, 0.2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: rgba(46, 46, 46, 0.5);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-card h3 {
  color: var(--accent);
  padding: 20px 20px 0;
}

.service-card p,
.service-card ul {
  padding: 0 20px;
}

.service-card ul {
  list-style-type: disc;
  padding-left: 40px;
  margin-bottom: 20px;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.benefit-item {
  text-align: center;
  padding: 20px;
  border-radius: var(--radius);
  background-color: rgba(46, 46, 46, 0.5);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reviews Section */
.reviews {
  background-color: rgba(46, 46, 46, 0.2);
}

.reviews-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.review-controls {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.review-controls label {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border-color);
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}

.reviews-content {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.review-item {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding: 20px;
  background-color: rgba(46, 46, 46, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}

.review-text {
  margin-bottom: 20px;
  font-style: italic;
}

.review-author h4 {
  margin-bottom: 5px;
}

.review-author p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Review radio button functionality */
#review1:checked ~ .review-controls label:nth-child(1),
#review2:checked ~ .review-controls label:nth-child(2),
#review3:checked ~ .review-controls label:nth-child(3) {
  background-color: var(--accent);
  transform: scale(1.3);
}

#review1:checked ~ .reviews-content .review-item:nth-child(1),
#review2:checked ~ .reviews-content .review-item:nth-child(2),
#review3:checked ~ .reviews-content .review-item:nth-child(3) {
  opacity: 1;
  z-index: 1;
}

input[name="review"] {
  display: none;
}

/* FAQ Section */
.faq-items {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item input {
  display: none;
}

.faq-item label {
  display: block;
  padding: 20px;
  background-color: rgba(46, 46, 46, 0.5);
  cursor: pointer;
  position: relative;
  font-weight: bold;
}

.faq-item label::after {
  content: "+";
  font-size: 1.5rem;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: rgba(46, 46, 46, 0.3);
}

.faq-answer p {
  padding: 20px;
}

.faq-item input:checked + label::after {
  content: "-";
}

.faq-item input:checked ~ .faq-answer {
  max-height: 500px;
}

/* Contact Form Section */
.form-section {
  background-color: rgba(46, 46, 46, 0.2);
}

.form-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: rgba(46, 46, 46, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* Customize select option background */
.form-group select option {
  background-color: var(--background);
  color: var(--text-primary);
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}

.checkbox-group label {
  display: inline;
  margin-bottom: 0;
}

.form-submit {
  margin-top: 30px;
  text-align: center;
}

.error-message {
  padding: 15px;
  margin-bottom: 20px;
  background-color: rgba(255, 50, 50, 0.2);
  border: 1px solid #ff3232;
  color: #ff9191;
  border-radius: var(--radius);
  text-align: center;
}

/* Footer */
footer {
  background-color: rgba(10, 10, 35, 0.8);
  padding: 60px 0 20px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-info h3 {
  color: var(--accent);
  margin-bottom: 15px;
}

.footer-links h4,
.footer-nav h4 {
  color: var(--text-primary);
  margin-bottom: 15px;
}

.footer-links ul,
.footer-nav ul {
  list-style: none;
  margin: 0;
}

.footer-links ul li,
.footer-nav ul li {
  margin-bottom: 10px;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Cookie Consent Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background-color: rgba(46, 46, 46, 0.95);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-content p {
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-buttons button {
  background: linear-gradient(
    to right,
    var(--button-gradient-start),
    var(--button-gradient-end)
  );
  color: var(--text-primary);
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition);
}

.cookie-buttons button:hover {
  transform: translateY(-2px);
}

/* Danke page */
.thank-you {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 40px 0;
}
div {
  word-break: break-word;
  overflow-wrap: break-word;
}

.thank-you-content {
  background-color: rgba(46, 46, 46, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  max-width: 600px;
  margin: 9rem auto 3rem;
}

/* Legal pages */
.legal-page {
  max-width: 800px;
  margin: 120px auto 60px;
  background-color: rgba(46, 46, 46, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
}

.legal-page h1 {
  text-align: center;
  margin-bottom: 30px;
}

.legal-page p,
.legal-page ul {
  margin-bottom: 20px;
}

.legal-page ul {
  padding-left: 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .about-content,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .benefit-item {
    padding: 15px;
  }

  .reviews-content {
    height: 280px;
  }

  .legal-page {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .contact-form {
    padding: 20px;
  }

  .legal-page {
    padding: 20px;
    margin-top: 100px;
  }
}
