@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
:root {
  --main-brand-color: #e63946;
  --primary-color: white;
  --secondary-color: grey;
  --light-secondary-color: lightgrey;
  --text-color: black;
  --text-color-ImpressumDatenschutz: #555;
  --secondary-text-color: #b3b4b6;
  --footer-background-color: #333;
}

* {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--primary-color);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: var(--text-color);
}

/* Back-to-Top Button */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1050;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background-color: var(--main-brand-color, #b12222);
  color: white;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#backToTop:hover {
  background-color: #8e1a1a; /* etwas dunkler */
}

/* moderner Hover-Lift für die Cards */
.card-hover {
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Card-Bilder responsiv: Mobile 10rem, Tablet 13rem, Desktop 10rem (4 Spalten → goldener Schnitt) */
.card-img-top {
  height: 10rem;
  object-fit: cover;
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .card-img-top {
    height: 13rem;
  }
}

.header-nav .nav-link {
  font-size: 28px;
}

a.text-reset:hover {
  text-decoration: underline;
}

.feature-check-icon {
  color: #e63946;
}

.feature-icon {
  color: #e63946; /* dein Rot */
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
