:root {
  --qmate: #0e8a6e;
  --qmate-dark: #0b6f59;
  --text-dark: #3a3c3e;
  --bg-soft: #f8f9fa;
}

/* Basis */
html,
body {
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--qmate);
}

/* Navigation */
.navbar {
  background-color: rgba(248, 249, 250, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--qmate);
}

/* Buttons */
.btn-qmate {
  background: var(--qmate);
  border: none;
}

.btn-qmate:hover,
.btn-qmate:focus {
  background: var(--qmate-dark);
}

/* Footer */
.footer-langs,
.footer-langs a,
.footer-langs a:hover,
.footer-langs a:focus {
  color: var(--qmate-dark);
}

.footer-langs a {
  text-decoration: none;
  font-weight: 400;
}

.footer-langs a:hover,
.footer-langs a:focus {
  font-weight: 600;
}

footer a {
  color: inherit;
  text-decoration: none;
}

footer a:hover,
footer a:focus {
  text-decoration: underline;
}

/* Textumbruch */
.hyphens {
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  overflow-wrap: break-word;
}

/* Feature-Animation */
.feature-zoom {
  transform: scale(0.98);
  opacity: 0;
  transition: transform 500ms ease, opacity 500ms ease;
  will-change: transform, opacity;
}

.feature-zoom.is-inview {
  transform: scale(1);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .feature-zoom,
  .feature-zoom.is-inview {
    transform: none;
    opacity: 1;
    transition: none;
  }
}

/* Features */
#features figure {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
}

#features figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  #features figure {
    height: 300px;
  }
}

@media (min-width: 992px) {
  .navbar-toggler {
    display: none;
  }

  #features figure {
    height: 350px;
  }

  #features .col-lg-5 {
    display: flex;
    align-items: center;
  }
}

/* Module */
#modules .card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#modules .card p {
  font-size: 1rem;
}

@media (hover: hover) and (pointer: fine) {
  #modules .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
  }
}

/* Preise */
#prices .card {
  background-color: var(--bg-soft);
}

#prices .card ul li {
  color: var(--text-dark);
  line-height: 1.3;
  font-size: 1.18em;
}

#prices .badge {
  letter-spacing: 0.2px;
}

/* About */
#about img.rounded-circle {
  object-fit: cover;
}