html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  padding-top: 70px;
  /* space for fixed navbar */
}

.navbar-brand {
  font-weight: 700;
}

.content {
  padding-top: 40px;
}

.logo {
  height: 50px;
  width: auto;
}

ul {
  margin: 0;
  padding: 0
}

ul>li {
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 10px
}

.bold {
  font-weight: 800
}

.f-12 {
  font-size: 12px
}

.f-14 {
  font-size: 14px
}

.f-16 {
  font-size: 16px
}

.f-18 {
  font-size: 18px
}

.f-20 {
  font-size: 20px
}

.btn-custom {
  font-size: 18px;
  margin: 8px 16px 8px 0;
  min-width: 176px;
  padding: 15px 16px 17px
}

.btn-custom,
.btn-primary,
.btn-primary:focus,
.btn-primary:hover {
  background-color: #0055b8;
  color: #fff
}

.bg {
  background: #f2f5f7
}

p {
  margin: 0;
  padding: 0
}

a {
  text-decoration: none
}

.slider {
  background-image: url('../images/bg-2.jpeg');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 65vw
}

.social-icons a .btn-outline-primary:hover {
  color: #fff !important;
}

.card-img-fixed {
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card-title-fixed {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.feature-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card:hover .card-img-fixed {
  transform: scale(1.05);
}

.condition-card {
  border: none;
  border-radius: 16px;
  padding: 30px 25px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  background: #fff;
  height: 100%;
}

.condition-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px auto;
  background: rgba(0, 123, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.condition-title {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Cards hover and shadow */
.contact-card,
.office-card {
  transition: all 0.3s ease;
}

.contact-card:hover,
.office-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Office photo hover zoom */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Responsive: stack form and offices on mobile */
@media (max-width: 991px) {
  .office-card {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .office-photo {
    margin-top: 15px !important;
    max-width: 100% !important;
  }

  .office-photo img {
    display: none;
  }
}

.form-control {
  border-radius: 10px;
}

.btn-primary {
  border-radius: 10px;
}

.section-subtitle {
  opacity: 0.75;
}

.impressum-card {
  border: none;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  background: #fff;
  height: 100%;
}

.impressum-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.impressum-title {
  min-height: 60px;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.impressum-icon {
  width: 32px;
  max-width: 32px;
  margin-top: 5px;
}

.contact-info img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.lang-switch a {
  border-radius: 8px;
}

.f-12 {
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .logo {
    height: 40px;
    width: auto;
  }


  .navbar_contact {
    width: 100% !important;
    padding: 8px;
  }
}
