:root {
  --color-primary: #82485c;
  --color-bg: #fbf1f2;
  --color-secondary: #f0d3d7;
  --color-neutral: #757061;
}

/* --- Globales Smooth Scrolling & Anti-Wackel-Schutz --- */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;

  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: sans-serif;
  background-color: var(--color-bg);
  color: var(--color-primary);

  position: relative;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* --- Globales Smooth Scrolling & Anti-Wackel-Schutz --- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* --- Header Styling: Modern Glassmorphism --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background-color: rgba(251, 241, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 30px rgba(130, 72, 92, 0.05);

  padding: 15px 0;
  transition: all 0.3s ease;
}

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

/* --- Header Right Section (Menü, Insta, Hamburger) --- */
.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-socials-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-social {
  color: var(--color-primary);
  display: flex;
  align-items: center;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
  z-index: 101;
}

.header-social:hover {
  transform: scale(1.1);
  color: var(--color-secondary);
}

@media (max-width: 768px) {
  .header-right {
    gap: 20px;
  }
}
/* --- Header Right Section (Menü, Insta, Hamburger) --- */

.logo {
  text-decoration: none;
}

.logo img {
  max-height: 80px;
  width: auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.logo:hover img {
  transform: scale(1.03);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-neutral);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--color-primary);
  transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.main-nav a:hover {
  color: var(--color-primary);
}

.main-nav a:hover::after {
  width: 100%;
}
/* --- Header Styling Ende: Modern Glassmorphism --- */

.module-section {
  scroll-margin-top: 100px;
  padding: 60px 0;
}

/* --- Mobile Menu Toggle (Hamburger Button) --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.menu-toggle .bar {
  height: 2px;
  width: 100%;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Footer Styling --- */
.site-footer {
  background-color: var(--color-secondary);
  padding: 30px 0;
  margin-top: 60px;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.page-content p {
  line-height: 1.6;
  color: var(--color-neutral);
  margin-bottom: 1.5rem;
}
/* --- Footer Styling Ende --- */

/* --- Modul: Hero (Startbereich) --- */
.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  background-color: var(--color-bg);
  overflow: hidden;

  margin-top: -110px;
  padding-top: 110px;
}

.hero-container {
  width: 100%;
  position: static;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 650px;
}

.hero-title {
  font-size: 4rem;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 25px;
  font-family: serif;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-neutral);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 550px;
}

.hero-btn {
  font-size: 1.1rem;
  padding: 18px 40px;
  position: relative;
  z-index: 10;
}

/* --- DAS ECHTE HINTERGRUNDBILD --- */
.hero-image-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 65vw;
  height: 100%;
  z-index: 1;

  border-bottom-right-radius: 16px;

  overflow: hidden;
}

.hero-image-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    var(--color-bg) 0%,
    rgba(251, 241, 242, 0.9) 25%,
    rgba(251, 241, 242, 0) 70%
  );
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
@media (max-width: 900px) {
  .section-hero {
    min-height: auto;
    display: block;
    margin-top: 0;
    padding-top: 100px;
  }

  .hero-content {
    padding: 0 20px 20px 20px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    margin-left: -40px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-image-wrapper {
    position: relative;

    width: 100%;
    margin-left: -20px;

    margin-top: -60px;

    height: 60vh;

    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }

  .hero-image-wrapper::after {
    background: linear-gradient(
      to bottom,
      var(--color-bg) 0%,
      rgba(251, 241, 242, 0.9) 15%,
      rgba(251, 241, 242, 0) 50%
    );
  }
}
/* --- Modul: Hero (Startbereich) Ende --- */

/* --- Modul: About Me --- */
.section-about {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* --- Parallax Setup --- */
.about-image-wrapper {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(130, 72, 92, 0.1);

  transform: scale(1.05);
  will-change: transform;
}
.about-image-wrapper::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 40px;
  width: 100%;
  height: 100%;
  background-color: var(--color-secondary);
  z-index: -1;
  border-radius: 12px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-image-wrapper:hover::before {
  transform: translate(5px, 5px);
}

.subheadline {
  display: block;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.about-content h2 {
  font-size: 2.8rem;
  margin-top: 0;
  margin-bottom: 30px;
  line-height: 1.1;
  color: var(--color-primary);
}

.about-text {
  color: var(--color-neutral);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-block;
  background-color: var(--color-primary);
  color: #fff;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(130, 72, 92, 0.2);
}

.btn-primary:hover {
  background-color: #6a3a4b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(130, 72, 92, 0.3);
}

/* --- Responsive Anpassung für Mobile (< 768px) --- */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-content h2 {
    font-size: 2.2rem;
  }
}
/* --- Modul: About Me --- */

/* --- Modul: Galerie --- */
.section-gallery {
  padding: 100px 0;
  background-color: #ffffff;
}

.gallery-header {
  text-align: center;
  margin-bottom: 60px;
}

.gallery-header h2 {
  font-size: 2.8rem;
  color: var(--color-primary);
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 4px 15px rgba(130, 72, 92, 0.05);
  background-color: var(--color-bg);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(130, 72, 92, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
}

.zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  color: #fff;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item:hover .zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* --- Responsive Anpassungen für Mobile --- */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .gallery-header h2 {
    font-size: 2.2rem;
  }
}
/* --- Modul: Galerie --- */

/* --- Modul: Training & Kurse --- */
.section-training {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.training-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: center;
}

.training-headline {
  color: var(--color-primary);
  font-size: 3.2rem;
  margin: 0;
  line-height: 1.1;
  font-family: serif;
}

.training-intro-right {
  color: var(--color-neutral);
  font-size: 1.15rem;
  line-height: 1.7;
  padding-left: 50px;
  border-left: 1px solid var(--color-secondary);
}

.training-intro-right ul {
  margin-top: 20px;
  padding-left: 20px;
  list-style: none;
}

.training-intro-right li {
  margin-bottom: 12px;
  position: relative;
}

.training-intro-right li::before {
  content: "✦";
  position: absolute;
  left: -25px;
  color: var(--color-secondary);
  font-size: 1.2rem;
  top: -2px;
}

@media (max-width: 900px) {
  .training-intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
  }

  .training-headline {
    font-size: 2.5rem;
  }

  .training-intro-right {
    padding-left: 0;
    border-left: none;
  }
}

/* --- Karten Anpassungen --- */
.course-description {
  margin-bottom: 25px;
  color: var(--color-neutral);
  font-size: 0.95rem;
  line-height: 1.5;
}

.course-target {
  background-color: var(--color-bg);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 25px;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.course-target strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .training-header-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .header-left h2 {
    font-size: 2.2rem;
    font-weight: 600;
  }
}

.training-intro {
  color: var(--color-neutral);
  font-size: 1.1rem;
  line-height: 1.6;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

.course-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(130, 72, 92, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-card-header {
  background-color: var(--color-primary);
  color: #fff;
  padding: 30px;
  text-align: center;
}

.course-card-header h3 {
  margin: 0 0 10px 0;
  font-size: 1.8rem;
  font-family: serif;
}

.course-subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.course-card-body {
  padding: 30px;
  flex-grow: 1;
}

.course-features strong {
  color: var(--color-primary);
  display: block;
  margin-bottom: 10px;
}

.course-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--color-neutral);
  font-size: 0.95rem;
}

.course-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: bold;
}

.included-features {
  margin-top: 25px;
}

.included-features li::before {
  content: "+";
  color: var(--color-primary);
  font-size: 1.1rem;
  left: 2px;
}

.course-price-wrapper {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.course-price-sub {
  font-size: 0.75rem;
  color: var(--color-neutral);
  font-weight: normal;
  margin-top: 2px;
  letter-spacing: 0.02em;
}

.course-card-footer {
  padding: 20px 30px;
  background-color: #fafafa;
  border-top: 1px solid #eee;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: var(--color-primary);
}

.course-price {
  font-size: 1.2rem;
}

.training-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(130, 72, 92, 0.08);
}

/* --- Formular Styling (Die inneren Elemente) --- */
.training-form {
  margin-top: 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.training-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--color-primary);
  font-weight: 500;
}

.training-form input,
.training-form select,
.training-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-primary);
  background-color: #fcfcfc;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.training-form input:focus,
.training-form select:focus,
.training-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(130, 72, 92, 0.1);
}

.custom-select {
  position: relative;
}

.training-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2382485c%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px auto;
  padding-right: 40px;
  cursor: pointer;
}

.training-form button {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  margin-top: 10px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .form-group.row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .col {
    padding-top: 20px;
  }
  .course-grid {
    grid-template-columns: 1fr;
  }
  .training-form-wrapper {
    padding: 30px 20px;
  }
}

/* --- Modul: Anfahrt & Location --- */
.section-location {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(130, 72, 92, 0.08);
}

.location-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.location-content h2 {
  color: var(--color-primary);
  font-size: 2.2rem;
  margin-top: 0;
  margin-bottom: 30px;
}

.location-details {
  margin-bottom: 40px;
}

.detail-block {
  margin-bottom: 25px;
}

.detail-block strong {
  display: block;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--color-secondary);
  padding-bottom: 5px;
}

.detail-block .text-formatted p {
  margin: 0;
  color: var(--color-neutral);
  line-height: 1.6;
}

.btn-external {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-external svg {
  transition: transform 0.3s ease;
}

.btn-external:hover svg {
  transform: translate(3px, -3px);
}

@media (max-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 30px;
  }
}
/* --- Modul: Anfahrt & Location --- */

/* --- Modul: Marken & Partner --- */
.section-brands {
  min-height: auto;
  padding: 30px 0;
  background-color: #ffffff;
  overflow: hidden;
}

.brands-headline {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  color: var(--color-neutral);
  margin-bottom: 40px;
  font-weight: 600;
}

/* --- Variante A: Bild-Logos --- */
.brands-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.brand-logo-item img {
  max-height: 45px;
  width: auto;
  display: block;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.4s ease;
}

.brand-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- Variante B: Text-Ticker (Marquee) --- */
.brands-marquee-wrapper {
  display: flex;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.brands-marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
}

.brands-marquee-wrapper:hover .brands-marquee-track {
  animation-play-state: paused;
}

.brand-text-item {
  font-size: 3rem;
  font-family: serif;
  color: var(--color-primary);
  padding: 0 30px;
  display: flex;
  align-items: center;
}

.brand-separator {
  color: var(--color-secondary);
  font-size: 1.5rem;
  margin-left: 60px;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .brands-logo-grid {
    gap: 30px;
  }
  .brand-logo-item img {
    max-height: 35px;
  }
  .brand-text-item {
    font-size: 2rem;
    padding: 0 15px;
  }
  .brand-separator {
    margin-left: 30px;
  }
}
/* --- Modul: Marken & Partner --- */

/* --- Modul: FAQ Akkordeon --- */
.section-faq {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-headline {
  text-align: center;
  color: var(--color-primary);
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(130, 72, 92, 0.05);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  font-family: inherit;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-secondary);
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-primary);
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

.faq-icon::before {
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-answer-inner {
  overflow: hidden;
  padding: 0 30px;
}

/* --- Der Aufgeklappte Zustand (.is-open) --- */
.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer-inner {
  padding: 0 30px 25px 30px;
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-item.is-open .faq-question {
  color: var(--color-secondary);
}

@media (max-width: 768px) {
  .faq-question {
    padding: 20px;
    font-size: 1rem;
  }
  .faq-answer-inner {
    padding: 0 20px;
  }
  .faq-item.is-open .faq-answer-inner {
    padding: 0 20px 20px 20px;
  }
}
/* --- Modul: FAQ Akkordeon --- */

/* --- Responsive Design (Mobile Ansicht unter 768px) --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 100%;
    height: 100vh;
    background-color: rgba(251, 241, 242, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 100;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .main-nav a {
    font-size: 1.5rem;
  }

  .menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  body.menu-open {
    overflow: hidden;
  }
}
/* --- Responsive Design Ende (Mobile Ansicht unter 768px) --- */

/* --- Standard-Seiten (Impressum, Datenschutz) --- */
.page-standard {
  padding: 150px 0 100px 0;
  min-height: 70vh;
  background-color: #ffffff;
}

.page-standard h1 {
  color: var(--color-primary);
  font-size: 2.5rem;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--color-bg);
  padding-bottom: 20px;
}

.legal-text {
  color: var(--color-neutral);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 800px;
}

.legal-text h2,
.legal-text h3 {
  color: var(--color-primary);
  margin-top: 40px;
  margin-bottom: 15px;
}

/* --- Der Premium Footer --- */
.site-footer {
  background-color: var(--color-primary);
  color: #fff;
  padding: 80px 0 30px 0;
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 60px;
}

.footer-logo {
  font-family: serif;
  font-size: 2rem;
  margin: 0 0 20px 0;
  color: var(--color-bg);
}

.footer-headline {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 25px 0;
  color: var(--color-secondary);
}

.footer-text {
  color: #e0d5d8;
  line-height: 1.6;
  font-size: 0.95rem;
  max-width: 350px;
}

.footer-text p {
  margin: 0 0 10px 0;
}

.footer-text a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-socials {
  margin-top: 25px;
  display: flex;
  gap: 15px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #fff;
  color: var(--color-primary);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #e0d5d8;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .site-footer {
    padding: 60px 0 20px 0;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
    margin-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
/* --- Ende Premium Footer --- */

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(130, 72, 92, 0.3);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: #6a3a4b;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(130, 72, 92, 0.4);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* --- Der Footer --- */

/* --- Custom Lightbox --- */
#custom-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 10, 12, 0.95);
  z-index: 9999;

  display: block;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(5px);
}

#custom-lightbox.is-active {
  opacity: 1;
  pointer-events: auto;
}

#custom-lightbox img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);

  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 90vh;

  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  object-fit: contain;
}

#custom-lightbox.is-active img {
  transform: translate(-50%, -50%) scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #dfcdb5;
  font-size: 50px;
  cursor: pointer;
  z-index: 10000;
  line-height: 1;
  transition: transform 0.3s ease;
}

.lightbox-close:hover {
  transform: scale(1.1);
}

/* --- Mobile Anpassungen für die Lightbox --- */
@media (max-width: 768px) {
  #custom-lightbox img {
    max-width: 95vw;
    max-height: 85vh;
  }

  .lightbox-close {
    top: 15px;
    right: 20px;
    font-size: 40px;
  }
}
/* --- Custom Lightbox Ende --- */
