:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --text-color: #333;
  --light-bg: #f5f5f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

header {
  background-color: var(--primary-color);
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.logo-img {
  height: 50px;
  width: auto;
  margin-right: 1rem;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}

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

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.hero {
  height: 100vh;
  background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&q=80");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 2rem;
  position: relative;
}

.hero-logo {
  width: 300px;
  height: auto;
  margin-bottom: 3rem;
}

.hero-content {
  max-width: 900px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero a {
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.hero a:hover {
  transform: scale(1.02);
}

.cta-button {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #c0392b;
}

section {
  padding: 5rem 2rem;
}

.services {
  background-color: var(--light-bg);
}

.services h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.service-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: #666;
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}

.about {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.leistungen {
  padding: 4rem 2rem;
  background-color: var(--light-bg);
}

.leistung-container {
  max-width: 1200px;
  margin: 0 auto;
}

.leistung-item {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  margin-bottom: 6rem;
  padding: 0 1rem;
}

.leistung-item.reverse {
  flex-direction: reverse;
}

.leistung-content {
  flex: 1;
  /* padding-top: 2rem; */
}

.leistung-content h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.leistung-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.leistung-content li {
  color: var(--primary-color);
  padding: 0.75rem 0;
  font-size: 1.1rem;
  border-bottom: 1px solid #eee;
}

.leistung-content li:last-child {
  border-bottom: none;
}

.leistung-image {
  flex: 1;
  max-width: 550px;
}

.leistung-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact {
  background-color: var(--light-bg);
  padding: 5rem 2rem;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-header h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.fcontact-info {
  background-color: var(--primary-color);
  color: white;
}

.contact-info {
  background-color: var(--primary-color);
  padding: 3rem 2rem;
  color: white;
}

.contact-info h3 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  color: white;
}

.info-item i {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-right: 1rem;
  margin-top: 0.3rem;
}

.info-item p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 1.1rem;
  margin: 0;
}

.contact form {
  padding: 3rem;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #e1e1e1;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
  background-color: white;
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.contact textarea {
  height: 150px;
  resize: vertical;
  grid-column: 1 / -1;
}

.privacy-checkbox {
  margin: 1.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.privacy-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 5px;
}

.privacy-checkbox label {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

.privacy-link {
  color: var(--secondary-color);
  text-decoration: none;
}

.privacy-link:hover {
  text-decoration: underline;
}

.contact button[type="submit"] {
  width: 100%;
  padding: 1rem;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact button[type="submit"]:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info {
    padding: 2rem;
  }

  .contact form {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .contact {
    padding: 4rem 1rem;
  }

  .contact-header h2 {
    font-size: 2rem;
  }

  .form-group {
    grid-template-columns: 1fr;
  }

  .contact-info {
    text-align: center;
  }

  .info-item {
    justify-content: center;
  }
}

footer {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
}

.footer-section {
  padding: 0 1rem;
}

.footer-section.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  width: 180px;
  height: auto;
  margin-bottom: 1.5rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-section h3 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-links a:visited {
  color: rgba(255, 255, 255, 0.7);
}

.hours-info .hours-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.hours-info .day {
  font-weight: 500;
}

.hours-info .time {
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-section.brand {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 3rem 1rem 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-section {
    text-align: center;
    padding: 0;
  }

  .footer-logo {
    width: 150px;
    margin: 0 auto 1.5rem;
  }

  .contact-info .info-item {
    justify-content: center;
  }

  .hours-info .hours-item {
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
  }

  .hours-info .day {
    margin-bottom: 0.2rem;
  }

  .footer-links {
    align-items: center;
  }
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  padding: 0;
  background: transparent;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 100%;
    background-color: var(--primary-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    padding: 2rem;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 1.5rem 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.3s ease;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links li:nth-child(1) {
    transition-delay: 0.1s;
  }
  .nav-links li:nth-child(2) {
    transition-delay: 0.2s;
  }
  .nav-links li:nth-child(3) {
    transition-delay: 0.3s;
  }
  .nav-links li:nth-child(4) {
    transition-delay: 0.4s;
  }
  .nav-links li:nth-child(5) {
    transition-delay: 0.5s;
  }

  .nav-links a {
    font-size: 1.2rem;
    display: block;
    padding: 0.5rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .nav-links a:hover {
    color: var(--secondary-color);
  }

  /* Hamburger Animation */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Verhindere Scrollen wenn Menü offen ist */
  body.menu-open {
    overflow: hidden;
  }

  /* Fix für horizontales Scrollen */
  .service-grid,
  .leistung-container,
  .stats-container,
  .gallery-container,
  .contact-container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .service-card,
  .leistung-item,
  .stat-item,
  .gallery-item {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  /* Anpassungen für den Content */
  main {
    width: 100%;
    overflow-x: hidden;
  }

  section {
    width: 100%;
    padding: 3rem 1rem;
    box-sizing: border-box;
  }

  .hero {
    padding-top: 100px;
    height: auto;
    min-height: 100vh;
  }

  .hero-logo {
    width: 200px;
    margin-bottom: 2rem;
  }

  .hero h1 {
    font-size: 2rem;
    padding: 0;
  }

  .hero p {
    font-size: 1.1rem;
    padding: 0;
  }

  /* Footer Anpassungen */
  footer {
    width: 100%;
    box-sizing: border-box;
  }

  .footer-content {
    width: 100%;
    padding: 0 1rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .form-group {
    grid-template-columns: 1fr;
  }

  .leistung-item,
  .leistung-item.reverse {
    flex-direction: column;
    gap: 2rem;
  }

  .leistung-image {
    max-width: 100%;
    order: -1;
  }

  .leistung-content {
    padding-top: 0;
  }

  .leistung-content h3 {
    font-size: 1.5rem;
  }

  .stats-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .stat-item {
    padding: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-plus {
    font-size: 1.5rem;
  }

  .stat-item p {
    font-size: 1rem;
  }

  .gallery-container {
    padding: 0 1rem;
  }

  .gallery-item img {
    height: 200px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .contact-info {
    margin: 0 1rem;
  }

  .contact form {
    margin: 0 1rem;
  }

  .logo-img {
    height: 40px;
  }

  .footer-logo {
    width: 120px;
    margin: 0 auto 2rem;
  }
}

/* Kleine Mobilgeräte */
@media (max-width: 480px) {
  .hero-logo {
    width: 180px;
    margin-bottom: 1.5rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .service-card {
    margin: 0 1rem;
  }

  .contact-container {
    margin: 0;
    padding: 0 1rem;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  z-index: 1000;
}

.scroll-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Statistiken */
.stats {
  padding: 5rem 2rem;
  background-color: var(--primary-color);
  color: white;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-item i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  margin-right: 5px;
}

.stat-plus {
  font-size: 2rem;
  color: var(--secondary-color);
}

.stat-item p {
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

/* Galerie */
.gallery {
  padding: 5rem 2rem;
  background-color: var(--light-bg);
}

.gallery h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1100;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 30px;
  cursor: pointer;
  padding: 16px;
}

.prev {
  left: 20px;
}
.next {
  right: 20px;
}

/* Datenschutz Checkbox */
.privacy-checkbox {
  margin: 1rem 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.privacy-checkbox input[type="checkbox"] {
  margin-top: 5px;
}

.privacy-checkbox label {
  font-size: 0.9rem;
  color: #666;
}

.privacy-link {
  color: var(--secondary-color);
  text-decoration: none;
}

.privacy-link:hover {
  text-decoration: underline;
}

/* Privacy Settings */
.privacy-settings-btn {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.5rem;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.privacy-settings-btn:hover {
  color: var(--secondary-color);
}

.privacy-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.privacy-popup.active {
  display: flex;
}

.privacy-popup-content {
  background-color: white;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.privacy-popup-header {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.privacy-popup-header h2 {
  margin: 0;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.close-popup {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
}

.close-popup:hover {
  color: var(--accent-color);
}

.privacy-popup-body {
  padding: 1.5rem;
}

.privacy-option {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.privacy-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.privacy-option h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary-color);
}

/* Switch Styling */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: var(--secondary-color);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--secondary-color);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.privacy-popup-footer {
  padding: 1.5rem;
  border-top: 1px solid #eee;
  text-align: right;
}

.save-settings-btn {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.save-settings-btn:hover {
  background-color: #2980b9;
}

@media (max-width: 768px) {
  .privacy-popup-content {
    width: 95%;
    margin: 1rem;
  }

  .privacy-option-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .switch {
    align-self: flex-end;
  }
}

/* Notification */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 5px;
  background: white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transform: translateX(120%);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
}

.notification.show {
  transform: translateX(0);
}

.notification.success {
  border-left: 4px solid #4caf50;
}

.notification.error {
  border-left: 4px solid #f44336;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification-content i {
  font-size: 20px;
}

.notification.success i {
  color: #4caf50;
}

.notification.error i {
  color: #f44336;
}

.notification-content p {
  margin: 0;
  font-size: 14px;
}

/* Lade-Animation für den Submit-Button */
button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.why-us {
  background-color: var(--primary-color);
  color: white;
  padding: 6rem 2rem;
}

.why-us-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.why-us h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.why-us h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

.why-us-text {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.cta-container {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 15px;
  margin-top: 3rem;
}

.cta-text {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.why-us .cta-button {
  background-color: var(--secondary-color);
  color: white;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.why-us .cta-button:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .why-us {
    padding: 4rem 1.5rem;
  }

  .why-us h2 {
    font-size: 2rem;
  }

  .why-us-text {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .cta-container {
    padding: 2rem 1.5rem;
    margin: 2rem 1rem 0;
  }

  .cta-text {
    font-size: 1.1rem;
  }
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .service-grid {
    padding: 0 2rem;
  }

  .contact-container {
    margin: 0 2rem;
  }
}

@media (max-width: 992px) {
  .hero-logo {
    width: 250px;
    margin-bottom: 2.5rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 100px;
    height: auto;
    min-height: 100vh;
  }

  .hero-logo {
    width: 200px;
    margin-bottom: 2rem;
  }

  .hero h1 {
    font-size: 2rem;
    padding: 0;
  }

  .hero p {
    font-size: 1.1rem;
    padding: 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .contact {
    padding: 3rem 1rem;
  }

  .contact-container {
    margin: 0;
  }

  .contact-info,
  .contact form {
    padding: 2rem 1.5rem;
  }

  .form-group {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-section {
    padding: 0;
  }

  .info-item {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: 180px;
    margin-bottom: 1.5rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .contact-header h2 {
    font-size: 1.8rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

/* Styles für rechtliche Seiten (Impressum und Datenschutz) */
.legal-content {
  max-width: 1000px;
  margin: 120px auto 4rem;
  padding: 0 2rem;
}

.legal-content h1 {
  color: var(--primary-color);
  font-size: 2.8rem;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.legal-content h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--secondary-color);
}

.legal-content h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin: 2.5rem 0 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--secondary-color);
}

.legal-content h3 {
  color: var(--secondary-color);
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
}

.legal-content p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #444;
  font-size: 1.1rem;
}

.legal-content ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
  list-style-type: none;
}

.legal-content li {
  margin-bottom: 1rem;
  line-height: 1.8;
  position: relative;
  padding-left: 1.5rem;
}

.legal-content li::before {
  content: "•";
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.legal-content a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.legal-content a:hover {
  color: var(--primary-color);
  border-bottom: 1px solid var(--secondary-color);
}

.legal-content strong {
  color: var(--primary-color);
  font-weight: 600;
}

.legal-content .info-block {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-content .info-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.legal-content .contact-info {
  background: var(--primary-color);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.legal-content .contact-info p {
  color: white;
  margin: 0.8rem 0;
  font-size: 1.1rem;
}

.legal-content .contact-info a {
  color: var(--secondary-color);
  border-bottom: 1px solid var(--secondary-color);
}

.legal-content .contact-info a:hover {
  color: white;
  border-bottom: 1px solid white;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .legal-content {
    margin: 100px auto 3rem;
    padding: 0 1rem;
  }

  .legal-content h1 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }

  .legal-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
  }

  .legal-content h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
  }

  .legal-content p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .legal-content .info-block {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }

  .legal-content .contact-info {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .legal-content h1 {
    font-size: 1.8rem;
  }

  .legal-content h2 {
    font-size: 1.3rem;
  }

  .legal-content .info-block {
    padding: 1.2rem;
  }
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-links a:visited {
  color: rgba(255, 255, 255, 0.7);
}
