/*
 * Kleintierpraxis Straßgang – custom styles
 * Modern refresh of the Start Bootstrap "Agency" look, on Bootstrap 5.
 */

:root {
  --brand: #fed136;
  --brand-dark: #e6b800;
  --ink: #212529;
  --scroll-offset: 84px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
}

a {
  color: #c79b00;
}

a:hover,
a:focus {
  color: #a37f00;
}

section {
  padding: 6rem 0;
  scroll-margin-top: var(--scroll-offset);
}

.bg-soft {
  background-color: #f8f6f1;
}

.section-heading {
  text-transform: uppercase;
  font-size: 2.5rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.section-subheading {
  font-family: Lora, Georgia, serif;
  font-style: italic;
  font-size: 1.125rem;
  color: #6c757d;
  margin-bottom: 4rem;
}

/* Buttons */
.btn-brand {
  background-color: var(--brand);
  border-color: var(--brand);
  color: var(--ink);
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.9rem 2.5rem;
  border-radius: 0.5rem;
}

.btn-brand:hover,
.btn-brand:focus {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
  color: var(--ink);
}

/* Navbar */
#mainNav {
  background-color: rgba(33, 37, 41, 0);
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

#mainNav.navbar-scrolled,
#mainNav.navbar-expanded {
  background-color: rgba(33, 37, 41, 0.97);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
}

#mainNav .navbar-brand {
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--brand);
}

#mainNav .nav-link {
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}

#mainNav .nav-link:hover,
#mainNav .nav-link:focus,
#mainNav .nav-link.active {
  color: var(--brand);
}

@media (max-width: 991.98px) {
  #mainNav {
    background-color: rgba(33, 37, 41, 0.97);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

/* Hero */
.hero {
  color: #fff;
  text-align: center;
  background: linear-gradient(rgba(33, 37, 41, 0.35), rgba(33, 37, 41, 0.55)),
    url("../img/header-bg.jpg") center / cover no-repeat;
}

.hero-text {
  padding: 11rem 0 8rem;
}

.hero-lead {
  font-family: Lora, Georgia, serif;
  font-style: italic;
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-heading {
  text-transform: uppercase;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

@media (min-width: 768px) {
  .hero-text {
    padding: 15rem 0 12rem;
  }
}

/* News */
.news-heading {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.news-img {
  max-height: 420px;
  border-radius: 1rem;
}

.news-divider {
  margin: 4rem auto;
  max-width: 640px;
  opacity: 0.15;
}

/* Über uns */
.value-card {
  height: 100%;
}

.value-card img {
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1.5rem rgba(33, 37, 41, 0.12);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.value-card h4 {
  font-size: 1.15rem;
  margin-top: 1.25rem;
  text-transform: none;
}

/* Ordination */
.ordi-card {
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1.5rem rgba(33, 37, 41, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ordi-card:hover {
  transform: translateY(-0.35rem);
  box-shadow: 0 1rem 2rem rgba(33, 37, 41, 0.16);
}

.ordi-card .card-img-top {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.ordi-card .card-title {
  font-size: 1.2rem;
  text-transform: none;
}

.ordi-card .card-body {
  padding: 1.5rem;
}

.ordi-card .card-text {
  color: #6c757d;
}

/* Leistungen */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: Montserrat, sans-serif;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 1.35rem;
  height: 1.35rem;
  background-color: var(--brand);
  border-radius: 50%;
  /* check mark */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3E%3Cpath d='M12.736 3.97a.733.733 0 0 1 1.047 0c.286.289.29.756.01 1.05L7.88 12.01a.733.733 0 0 1-1.065.02L3.217 8.384a.757.757 0 0 1 0-1.06.733.733 0 0 1 1.047 0l3.052 3.093 5.4-6.425a.247.247 0 0 1 .02-.022z'/%3E%3C/svg%3E");
  background-size: 0.85rem;
  background-position: center;
  background-repeat: no-repeat;
}

/* Anfahrt */
.map-frame {
  box-shadow: 0 0.5rem 1.5rem rgba(33, 37, 41, 0.12);
}

@media (min-width: 992px) {
  .ratio-lg-21x9 {
    --bs-aspect-ratio: 42.85%;
  }
}

/* Team */
.team-member img {
  width: 230px;
  height: 230px;
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: 0 0.5rem 1.5rem rgba(33, 37, 41, 0.15);
}

.team-member h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
  text-transform: none;
}

.team-member p {
  color: #6c757d;
}

/* Kontakt */
.contact-section {
  background-color: #212529;
  color: #f8f9fa;
}

.contact-section .section-subheading {
  color: #adb5bd;
}

.contact-card {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
}

.contact-card h5 {
  color: var(--brand);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.contact-card a {
  color: var(--brand);
  text-decoration: none;
}

.contact-card a:hover {
  color: #fff;
}

.contact-card .small {
  color: #adb5bd;
}

/* Footer */
footer {
  padding: 1.5rem 0;
  background-color: #1a1d20;
  color: #adb5bd;
  font-size: 0.9rem;
}

footer a {
  color: var(--brand);
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

/* Selection color, kept from the old theme */
::selection {
  background: var(--brand);
  text-shadow: none;
}
