@font-face {
  font-family: 'Open Sans';
  src: url('../schriften/OpenSans-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}


:root {
  --primary: ;
  --accent: #700046; /* Gold */
  --white: #ffffff;
  --gray: #f9f9f9;
  --text: #333;
}

body {
  margin: 0;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--white);
  color: var(--text);
  scroll-behavior: smooth;
}

/* Navigation */
.navbar {
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 1.2rem 2rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Logo ganz links */
.logo {
  flex-shrink: 0;
}

.logo img.logo-image {
  height: 50px;
  animation: slideInLeft 1.5s ease forwards;
  opacity: 0;
  transform: translateX(-40px);
}

@keyframes slideInLeft {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Rechtsbereich */
.nav-right {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 1.5rem;
}

/* Navigation */
.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--white--);
  text-decoration: none;
  font-weight: 500;
}

/* Sprachumschalter */
.language-switcher {
  display: flex;
  gap: 0.5rem;
}

.flag {
  width: 24px;
  height: auto;
  cursor: pointer;
}

/* Hamburger (nur auf Mobile sichtbar) */
.hamburger {
  font-size: 1.5rem;
  color: var(--white);
  display: none;
  cursor: pointer;
}

/* RESPONSIVE ------------------------------- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: var(--primary);
    position: absolute;
    top: 70px;
    right: 2rem;
    padding: 1rem;
    border-radius: 8px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}


/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background-color: var(--gray);
  padding: 6rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  color: var(--primary);
}

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

/* Sektionen */
.section {
  padding: 4rem 2rem;
  text-align: center;
}

.section h2 {
  color: var(--primary);
  font-size: 2.0rem;
  margin-bottom: 2rem;
  position: relative;
}

.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #888;
  margin: 1rem auto 0;
}

/* Karten */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.card {
  background: var(--gray);
  padding: 2rem;
  max-width: 1000px;
  max-height: 300px;
  border-top: 5px solid var(--accent);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.card-image {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  border-radius: 5px;
  margin-bottom: 1rem;
}

/* Kontakt */
.kontakt-button {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 1rem 2rem;
  margin-top: 2rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.kontakt-button:hover {
  background: #4a081e;
}

/* Kontaktformular */
.kontakt-form {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.kontakt-form input.error,
.kontakt-form textarea.error,
.kontakt-form select.error {
  border: 2px solid red;
  outline: none;
}

.checkbox-gruppe input[type="checkbox"].error {
  outline: 2px solid red;
  outline-offset: 4px;
}


.form-group {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

input, textarea {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  flex: 1;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

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

button[type="submit"] {
  background: var(--accent);
  border: none;
  color: var(--white);
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  padding: 1rem 2rem;
  border-radius: 5px;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background: #8d225f;
}

.form-success {
  color: green;
  font-weight: bold;
  margin-top: 1rem;
}

.detail-bereich {
  background-color: #fff;
  padding: 3rem 1rem;
  max-width: 900px;
  margin: 0 auto 2rem auto;
  border-left: 5px solid #700046;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Sprachumschalter */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.flag {
  width: 28px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s;
}

.flag:hover {
  transform: scale(1.1);
}

.hidden {
  display: none;
}

.language-dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
}

.dropdown-toggle img {
  width: 28px;
  height: auto;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  padding: 0.3rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 99;
}

.dropdown-menu img {
  width: 28px;
  margin: 0.3rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.dropdown-menu img:hover {
  transform: scale(1.1);
}

.language-dropdown.open .dropdown-menu {
  display: flex;
  flex-direction: column;
}

/* Mobile Menü */
.mobile-menu {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    background-color: var(--primary);
    padding: 1rem 2rem;
    position: absolute;
    top: 70px;
    width: 100%;
    z-index: 5;
  }

  .mobile-menu a {
    color: var(--white);
    padding: 0.8rem 0;
    text-decoration: none;
    font-weight: 500;
  }

  .nav-links.show {
    display: flex;
    flex-direction: column;
  }
}

/* Animationen */
@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero Bereich Stil */
.hero-animated {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* -------- Mobile-Fix -------- */
@media (max-width: 768px) {
  html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    background: black; /* wichtig, um Flimmern zu vermeiden */
  }

  .hero-animated {
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
  }

  .hero-img {
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* statt 'contain' */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }

  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
  }
}



.hero-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
  color: white;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin: 0;
  font-family: 'Georgia', serif;
  opacity: 0;
  animation: slideInLeft 1s ease-out forwards;
  animation-delay: 1.6s; /* nach Bild */
}

.hero-keywords {
  font-size: 1.2rem;
  margin-top: 1rem;
  font-family: 'Georgia', serif;
  opacity: 0;
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 1.8s; /* nach Bild + Titel */
}

/* Gradient-Effekt */
.hero-title,
.hero-keywords {
  font-weight: 600;
  color: white;
}

/* Animationen */
@keyframes slideUp {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeUp {
  0% {
    transform: translateY(40%);
    opacity: 0;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

.mehr-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  color: #c4b8b5;
  border: 2px solid #c4b8b5;
  background: transparent;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mehr-button:hover {
  background-color: #c4b8b5;
  color: #fff;
  border-color: #fff;
}

.bereich-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 4rem;
  overflow: hidden;
}

.bereich-bild,
.bereich-text {
  flex: 1 1 45%;
  opacity: 0; /* Startzustand für Animation */
}

.bereich-bild img {
  width: 50%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto;
}

.bereich-text h2 {
  color: #c4b8b5;
}

.bereich-text {
  background-color: rgba(255, 255, 255, 0.85); /* leicht milchig-weiß */
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
  .bereich-container {
    flex-direction: column;
    text-align: center;
  }

  .bereich-bild,
  .bereich-text {
    flex: 1 1 100%;
  }
}

.handshake-bg {
  position: relative;
  width: 100vw;
  height: 70vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.handshake-bg .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.buecher-bg .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.handshake-bg .hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slideUp 1.5s ease-out forwards;
  z-index: 1;
}

.handshake-bg .hero-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  width: 90%;
  max-width: 900px;
   color: #fff;
  z-index: 2;
}

.delay-title {
  opacity: 0;
  animation: slideInLeft 1s ease-out forwards;
  animation-delay: 1.6s;
}

.delay-text {
  opacity: 0;
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 2s;
}

/* Animation Keyframes */
@keyframes slideUp {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Drawer-Basisstil */
.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 300px;
  height: 100%;
  background-color: var(--primary);
  color: var(--white);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
  transition: right 0.3s ease;

  /* Scrollbar aktivieren */
  overflow-y: auto;
}

/* Wenn sichtbar */
.drawer.show {
  right: 0;
}

/* Optional: Schließen-Button im Drawer */
.drawer .close-drawer {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  margin-bottom: 1rem;
}

/* Menü-Punkte explizit weiß machen */
.drawer a,
.drawer li {
  color: var(--white);
  text-decoration: none; /* Falls Links */
}

/* Responsive: Drawer nur auf Mobil */
@media (min-width: 769px) {
  .drawer {
    display: none;
  }
}

.blocks-section {
  padding: 4rem 2rem;
  background-color: var(--gray);
  text-align: center;
}

.blocks-section h2 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  position: relative;
}

.blocks-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 1rem auto 0;
}

.block-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.block-card {
  position: relative;
  background-color: white;
  width: 550px !important;
  height: 300px !important;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

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

.block-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.block-content {
  padding: 1.0rem;
  text-align: left;
}

.block-date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.block-title {
  font-size: 1.7rem;
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* Hover Overlay */
.block-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #700046;
  color: white;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;         /* zentriert Text & Button vertikal */
  align-items: center;             /* zentriert Inhalte horizontal */
  text-align: center;              /* zentriert Textinhalt */
  transform: translateX(-100%);
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  box-sizing: border-box;
  gap: 1.2rem;                     /* Abstand zwischen Text und Button */
}


.block-card:hover .block-overlay {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}


.block-overlay p {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 6em; /* max. 4–5 Zeilen */
}

.block-overlay a {
  text-align: center;
  padding: 0.6rem 1.2rem;
  background-color: #c4b8b5;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.block-overlay a:hover {
  background-color: #c4b8b5;
}

.block-overlay .block-button {
  background-color: #8d225f;
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.block-overlay .block-button:hover {
  background-color: #c4b8b5;
}

/* Responsive */
@media (max-width: 768px) {
  .block-cards {
    flex-direction: column;
    align-items: center;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  color: #000;
  padding: 1.5rem;
  border-top: 2px solid #ccc;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  font-size: 0.95rem;
}

.cookie-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.cookie-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
}

.cookie-buttons button {
  margin: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  background: #333;
  color: #fff;
  cursor: pointer;
}

.cookie-buttons button:hover {
  background: #555;
}

.cookie-options {
  margin: 1rem 0;
}

.checkbox-label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.45;
  flex-wrap: wrap;
}

.checkbox-label span {
  flex: 1;
  display: block;
  word-break: break-word;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  transform: scale(0.85);
  cursor: pointer;
}

.checkbox-gruppe {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
}

.checkbox-text {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 600px) {
  .checkbox-gruppe {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkbox-text {
    font-size: 0.85rem;
    margin-top: 0.3rem;
  }
}

@media (max-width: 600px) {
  .checkbox-label {
    flex-direction: column;
    align-items: flex-start;
  }
}

.blocks-section {
  position: relative;
  padding: 2rem;
}

.block-scroll-wrapper {
  position: relative;
  overflow-x: auto;
  padding-bottom: 3rem;
}

.horizontal-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}

.block-card {
  flex: 0 0 auto;
  width: 300px;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  background: #fff;
  transition: transform 0.3s ease;
}

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

.block-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.block-content {
  padding: 0.5rem 1rem;
}

.block-date {
  font-size: 0.85rem;
  color: #999;
}

.block-title {
  font-weight: bold;
  margin-top: 0.3rem;
}

.block-overlay {
  padding: 1rem;
  background: #700046;
  font-size: 0.9rem;
}

.block-button {
  display: inline-block;
  margin-top: 0.5rem;
  background: #1f2937;
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 5px;
}

/* Alle Blogs Button */
.show-all-button {
  display: inline-block;
  margin: 2rem auto;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary); 
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  text-align: center;
}

.show-all-button:hover {
  background-color: var(--accent); /* Gold #d4af37 */
  color: #fff;
}

/* Falls die Eltern-Container scrollen oder verstecken */
.block-scroll-wrapper {
  overflow: visible !important;
}


/* Modal */
.all-blogs-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 2rem;
  z-index: 1000;
  overflow-y: auto;
}

.all-blogs-modal.hidden {
  display: none;
}

.all-blogs-modal h3 {
  color: white;
  margin-bottom: 1rem;
}

.all-blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
}

.blog-category {
  text-align: center;
  font-size: 1.6rem;
  color: var(--accent);
  margin: 3rem 0 1rem;
}

.block-overlay .block-button {
  display: none;
}

.block-card:hover .block-button {
  display: inline-block;
}

.block-cards.block-cards-multi {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 768px) {
  .block-cards.block-cards-multi {
    flex-direction: column;
    align-items: center;
  }
}


.close-all-button {
  margin-top: 2rem;
  background: #f87171;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.termin-container {
  text-align: center;
  margin-top: 20px;
}

.termin-button {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s;
}

.termin-button:hover {
  background-color: var(--white);
  color: var(--primary);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: var(--white);
  margin: 5% auto;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.close-modal {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary);
}

.modal-content h3 {
  color: var(--primary);
  margin-top: 0;
}

#terminForm label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

#terminForm input,
#terminForm textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid var(--primary);
  border-radius: 4px;
  font-size: 1rem;
}
.site-footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 40px 20px 20px;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left,
.footer-right {
  flex: 1 1 250px;
}

.footer-left h4,
.footer-right h4 {
  color: #b35681;
  margin-bottom: 10px;
}

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

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

.footer-links a,
.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.footer-links a:hover,
.site-footer a:hover {
  color: #b35681;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  font-size: 0.85rem;
}

.footer-container {
  display: flex;
  justify-content: space-between; /* links, mitte, rechts verteilt */
  align-items: center; /* vertikale Zentrierung aller drei Bereiche */
  padding: 2rem 1rem;  /* etwas Innenabstand */
  flex-wrap: wrap;    /* falls zu schmal, umbricht es */
  gap: 1rem;
}

.footer-left,
.footer-center,
.footer-icons {
  flex: 1 1 250px; /* Flexibler Basisbreite */
  min-width: 250px;
}

/* Footer Center: Icon und Text untereinander, Icon links vom Text */
.footer-center {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* linksbündig */
  gap: 0; /* kein Abstand zwischen den Zeilen */
}

/* Jede Icon-Zeile: Icon und Text nebeneinander */
.icon-row {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Abstand zwischen Icon und Text */
}

/* Icons Größe */
.telephone-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Footer links: Text linksbündig */
.footer-left h4,
.footer-left p {
  margin: 0 0 0.5rem 0;
  text-align: left;
}

/* Footer-Icons rechts: horizontal nebeneinander */
.footer-icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.footer-icons a img {
  width: 32px;
  height: 32px;
}

.footer-icon img:hover {
  transform: scale(1.1);
  filter: brightness(0.8) invert(1); /* leicht abgedunkelt beim Hover */
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .footer-center,
  .footer-icons {
    justify-content: center;
  }
}

.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
  transition: opacity 0.5s ease;
}

.floating-buttons.hide {
  opacity: 0;
  pointer-events: none;
}

.form-loading {
  margin-top: 1rem;
  font-weight: bold;
  color: #333;
}


/*Ladebalken für Termin-Feature*/
.form-loading::after {
  content: '';
  display: inline-block;
  margin-left: 10px;
  width: 14px;
  height: 14px;
  border: 2px solid #999;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

html, body {
  overflow-x: hidden;
}
