/*  firm color:       #009676 (Zomp)
    secondary color:  #E2F2ED (Mint cream)
    Rich black:       #0D1321
    Oxford Blue:      #1B263B
    YInMn Blue:       #415A77

    background white: #FAFDFC (brighter Mint cream)

    generated with: https://coolors.co/009676-e2f2ed-0d1b2a-1b263b-415a77
*/

/*
  BASIC PROPERTIES
*/

:root {
  --firm-color:   #009676;
  --sec-color:    #E2F2ED;
  --Rich-Black:   #0D1321;
  --Oxford-Blue:  #1B263B;
  --YInMn-Blue:   #415A77;
  --bckg-white:   #FAFDFC;
  --fq-accordion-item-border-radius: 4px;
}


.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.items-centered {
  display: flex;
  align-items: center;
  justify-content: center;
}

  .items-centered hr {
    color: rgba(0,0,0);
    width: 92%;
    height: 1px;
  }


.background-header {
  min-height: 32vh;
  background-color: #172f35e1;
  /*background-color: #EEF6F8;*/
}

.background1 {
  background-color:#f4f4ecc7;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.background2 {
  background-color: #ffffff;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-basis .navbar {
  background-color: #7e9a90 !important;
}


/* Filter to color svgs that are nested in img tags; see for conversion: https://codepen.io/sosuke/pen/Pjoqqp */
.filter-c1 {
  color: #190545;
  filter: invert(8%) sepia(93%) saturate(3410%) hue-rotate(256deg) brightness(59%) contrast(108%);
}

.filter-c2 {
  /*color: #316E5B; */
  filter: invert(33%) sepia(33%) saturate(568%) hue-rotate(110deg) brightness(104%) contrast(93%);
}

.filter-c3 {
  /*color: #388e99; */
  filter: invert(44%) sepia(56%) saturate(423%) hue-rotate(139deg) brightness(99%) contrast(92%);
}

.filter-c4 {
  /*color: #8a7e44; */
  filter: invert(46%) sepia(56%) saturate(354%) hue-rotate(12deg) brightness(94%) contrast(86%);
}

.filter-c5 {
  color: #165353; 
  filter: invert(24%) sepia(11%) saturate(2675%) hue-rotate(131deg) brightness(98%) contrast(87%);
}

.filter-c6 {
  color: #a87b21; 
  filter: invert(43%) sepia(87%) saturate(424%) hue-rotate(2deg) brightness(96%) contrast(84%);
}

.filter-c7 {
  color: #222222; 
  filter: invert(0%) sepia(57%) saturate(12%) hue-rotate(316deg) brightness(98%) contrast(73%);
}

.filter-c8 {
  color: #134444; 
  filter: invert(18%) sepia(36%) saturate(982%) hue-rotate(131deg) brightness(91%) contrast(85%);
}

.filter-c9 {
  color: #092121; 
  filter: invert(9%) sepia(13%) saturate(2141%) hue-rotate(131deg) brightness(97%) contrast(96%);
}


/* ------------------------------ */

/*
  NAVBAR STYLING
*/

/* Full-screen overlay for collapsed menu on small screens */
/*
@media (max-width: 991px) {
  #navbarTogglerDemo02 {
      position: fixed;
      top: 52px;
      right: 0;
      bottom: 0;
      padding-left: 20px;
      width: 100vw;
      height: 100vh;
      background-color: white;
      color: black;
  }

  #navbarTogglerDemo02.collapsing {
      transition: none;
  }

  #navbarTogglerDemo02.show {
      transform: translateX(0); 
  }

  .nav-link {
    color: black !important;
  }
  
  .nav-link:hover {
    color: black !important;;
  }
}
*/


.navbar {
  background-color: #ffffff00 !important;
  transition: background-color 0.75s ease;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  text-size-adjust: 100%;
  box-shadow: 0 0px 0px 0 rgba(0,0,0,.2);
}

@media (min-width: 992px) {
  .navbar {
      height: 82px; 
  }
}

.navbar img {
  margin-top: -3px;
  border-radius: 8px;
  margin-right: 20px;
}

.navbar-brand {
  text-transform: capitalize;
  font-size: 1rem;
  letter-spacing: 1.25px;
}

.external-link:hover {
  font-weight: 400;
}

.nav-link {
  color: white;
}

/* ensures that the text STAYS white on hover - otherwise it woud turn black*/
.nav-link:hover {
  color: white;
}

/* responsible for the underline effect on hover */
.nav-item:hover {
  border-bottom: 1.25px solid #ffffff;
  margin-bottom: -1.25px;
}

/* Spacing between menu points */
#navbarTogglerDemo02 .navbar-nav .nav-item:not(:last-child) {
  margin-right: 1rem; /* Adjust the spacing as needed */
}

.navbar .container {
    display: flex;
    justify-content: space-between; /* This ensures elements are spaced out */
    align-items: center; /* This ensures vertical alignment is centered */
    width: 100%; /* Ensure the container spans the full width */
}

.scrolled {
  background-color: #689b8af4 !important;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,.2);
}

@media (max-width: 991px) {
  .scrolled {
    background-color: #689b8a !important;
  }
  .navbar {
    background-color: #689b8a !important;
  }
  .navbar-collapse {
    width: 100vw !important;
    padding-top: 2vh;
    padding-left: 3vw;
    align-items: center !important;
    justify-content: center !important;
  }
  .navbar-collapse::after {
    content: "Öffnungszeiten: Mo-Do 8-17 Uhr | Fr 8-16 Uhr \A Kontakt: info@steuerberatung-quernheim.de";
    color: white;
    margin-bottom: 5vh !important;
    font-size: small;
    white-space: pre-wrap; /* Respects the line break in content */
  }
}


.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.navbar-toggler {
  border: none;
  position: absolute;
  top: 10px; /* Adjust as needed for vertical alignment */
  right: 15px; /* Adjust as needed for horizontal alignment */
  z-index: 1030; /* Ensure it's above other elements */
}

@media (min-width: 992px) {
  .navbar-toggler {
      display: none; /* Hide it on larger screens where it's not needed */
  }
}

/* Ensuring icons are centered and have consistent size */
.navbar-toggler .fas {
  font-size: 1.4rem; /* Adjust size as needed */
}


#offcanvasNavbar {
  background-color: #689b8a;
  color: #fff;
  --bs-offcanvas-width: 75vw;
}

/* Links readable + no truncation */
#offcanvasNavbar .nav-link {
  color: #fff;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Touch-friendly sizing (phones) */
@media (max-width: 767px) {
  #offcanvasNavbar .nav-link {
    padding: 0.9rem 0.9rem;
    font-size: 1.1rem;
  }
}

/* Disable your global underline/border hover effect inside offcanvas */
#offcanvasNavbar .nav-item:hover {
  border-bottom: none !important;
  margin-bottom: 0 !important;
}

/* Horizontal line above Mandanten-Login */
#offcanvasNavbar .offcanvas-divider {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

/* Info block directly under Mandanten-Login */
#offcanvasNavbar .offcanvas-info {
  margin-top: 0.8rem;
}

#offcanvasNavbar .offcanvas-info-inner {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .navbar-toggler.d-md-none:focus { box-shadow: none !important; outline: 0 !important; }
  .navbar-toggler.d-md-none:focus-visible { box-shadow: 0 0 0 .2rem rgba(255,255,255,.35) !important; }
}


@media (max-width: 991px) {

  /* Use a 3-column grid: icon | centered title | toggler */
  #navbar .container {
    display: grid !important;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Left icon */
  #navbar .navbar-mobile-icon {
    grid-column: 1;
    justify-self: start;
    padding: 0;
    margin: 0;
  }
  #navbar .navbar-mobile-icon img {
    border-radius: 8px;
    margin: 0 !important;          /* override your .navbar img margins */
    display: block;
    margin-left: 4px !important;   /* Controls the left-margin of favicon in responsive menu */
  }

  /* Centered title */
  #navbar .navbar-mobile-title {
    grid-column: 2;
    justify-self: center;
    text-align: center;
    padding: 0;
    margin: 0;
    white-space: nowrap;
  }

  /* Right controls */
  #navbar .navbar-menu-container {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;           /* vertical alignment fixed */
    gap: 0.25rem;
    margin-right: -8px;            /* Controls the right-margin of hamburger icon in responsive menu */
  }

  /* Make BOTH togglers "normal flow" (no absolute positioning) */
  #navbar .navbar-toggler {
    position: static !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 0;
  }
}


/************************************************/


/*
  LANDING PAGE
*/

.index-text-centered{
  padding-left: 14rem;
  padding-right: 14rem;
}

@media (max-width: 991px) {
  .index-text-centered{
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.layer-index {
  position: relative; /* add position relative */
  margin-top: -85px;
  min-height: 70vh;
  background-image: url('../images/calculation_on_desk.jpg');
  background-size: cover; /* change to cover */
  background-repeat: no-repeat;
  background-position: center;
}

.layer-index .crossfade-index {
  position: absolute; /* add position absolute */
  top: 0; /* full cover */
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(
    to right, 
    rgba(8, 3, 0, 0.85) 0%, 
    rgba(8, 3, 0, 0.85) 50%
  ),
  linear-gradient(
      to right, 
      rgba(8, 3, 0, 0.1) 0%, 
      rgba(8, 3, 0, 0.4) 25%, 
      rgba(8, 3, 0, 0.6) 35%, 
      rgba(8, 3, 0, 0.6) 55%, 
      rgba(8, 3, 0, 0.1) 75%, 
      rgba(8, 3, 0, 0) 100%
  );


  /*background: linear-gradient(to left, #333, #333 50%, #eee 75%, #333 75%);
  background-color: rgba(8, 3, 0, 0.8)  hange to rgba */
}

.landingpage-banner {
  margin-top: 5rem; /* make the banner text appear a little above centered position */
  display: block;
  font-size: 3.4375rem;
  font-weight: 900;
  line-height: 1.2;
  box-sizing: border-box;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  letter-spacing: .2rem;
  text-align: center;
}

.landingpage-banner .banner-wrapper {
  margin-right: 1rem;
}

.landingpage-banner .banner-wrapper strong {
  font-weight: 500;
}

@media (max-width: 575px) {
  .landingpage-banner .banner-wrapper {
    margin-top: 2rem !important;
  }
  
}

.landingpage-banner .subline1 {
  margin-top: 0.8rem;
  line-height: -1.5;
  font-size: 1.05rem;
  font-weight: 200;
}

.landingpage-banner .subline2 {
  text-align: justify;
  line-height: 2;
  font-size: medium;
}

.landingpage-banner a {
  font-weight: 200;
}

.landingpage-banner .btn {
  background-color: #689b8af4;
  border: none;
  color:#ffffff;
  font-family: 'Inter', sans-serif;
  font-size: large;
  font-weight: 300 !important;
  border-radius: 25px;
  width: 210px; /* Set equal widths */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; 
}

.landingpage-banner .btn:hover {
  background-color: #689b8a;
}

.landingpage-banner .btn .bi-arrow-right-circle {
  transition: all 0.4s ease;
  opacity: 0; /* Hide by default */
  width: 20px; /* Fixed width */
  margin-left: -20px; /* Negative margin to move outside button */
}

.landingpage-banner .btn:hover .bi-arrow-right-circle {
  opacity: 1; /* Show on hover */
  margin-left: 10px; /* Positive margin to move inside button */
}

.landingpage-banner .my-4 {
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media (max-width: 575px) {
  .landingpage-banner .my-4 {
    flex-direction: column;
    gap: 10px;
    align-items: center; /* Horizontally center buttons on collapsed screen */
  }
  .landingpage-banner .btn {
    width: 70%;
    margin-top: 10px;
  }
  .landingpage-banner .btn:first-of-type {
    margin-top: 30px;
  }
}


/* general layout styling on index-html */
.home-banner { 
  background-color: #e6efee;/*#e8f4f4;*/
  padding-top: 2.5rem;
  padding-bottom: 2rem;
  letter-spacing: -0.5px;
  line-height: 3rem;
  font-weight: 100;
  font-size: 2.5rem;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

.home-banner .container .row div {
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: left;
}

.home-banner h3 {
  text-align: center;
  font-weight: 100;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.home-banner strong{
  font-weight: 300;
}

.home-banner h5 {
  font-weight: 200;
  font-size: 1.2rem;
}

.home-banner h4 {
  margin-top: 3rem;
  text-align: center;
  letter-spacing: 0.5px;
  font-size: 1.3rem;
  font-weight: 200;
}

.home-banner a {
  text-decoration: none;
  color: rgb(73, 73, 73);
}

.home-banner a:hover {
  color: rgb(0,0,0);
  font-weight: 200;
}


/* overview on services on index.html */
.index-text-left {
  text-align: left;
}

.index-text-left p {
  padding-right: 5  rem;
  line-height: 1.65rem;
  letter-spacing: -0.2px;
  text-decoration: underline;
  margin-bottom: 2.3rem;
}

.index-text-left p:first-of-type {
  margin-top: -0.5rem;
}

.index-text-left p strong {
  font-weight: 500;
}

.index-text-left a {
  color: black;
}

.home-body {
  background-color: rgba(241, 237, 230, 0.402);
  /*background-color: #e8f4f4;*/
  letter-spacing: -0.2px;
  line-height: 2rem;
  font-weight: 300;
  font-size: large;
  font-family: 'Inter', sans-serif;
  text-align: center;
  padding-bottom: 8dvh;
}

.home-body h1 {
  padding-top: 5rem;
  letter-spacing: -1px;
  font-weight: 100;
  font-size: 3.2rem;
}

.home-body h1 strong {
  font-weight: 300;
}

.home-body h2{
  padding-top: 0rem;
  letter-spacing: -1px;
  font-weight: 100;
  font-size: 3.5rem
}

.home-body h2 strong {
  font-weight: 300;
}

.home-body p {
  font-weight: 300;
}

@media (max-width: 991px) {
  .home-body h1 {
    padding-top: 1.5rem;
    font-size: 2.5rem;
  }
  .home-body h2 {
    font-size: 2.8rem;
  }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .home-body h1 {
      padding-top: 3rem;
    }
}

.index-services-a .flex-column {
  font-style: italic;
}

.index-services-a img {
  object-fit: cover; 
  width: 85%; 
  height: 80%;
  border-radius: 2px;
  margin-right: 7dvh;
}

@media (max-width: 991px) {
  .index-services-a img {
    width: 0%;
  }
}

.index-services-b .card-rounded {
  border-radius: 4px;
  border: none;
  box-shadow: 0 3px 6px 0 rgba(0,0,0,.2);
}

@media (max-width: 991px) {
  .index-services-b .card-rounded {
    margin-right: 3.5%;
    margin-left: 3.5%;
  }
}

.index-services-b .card-inner-content {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  text-align: center;
  letter-spacing: 0.05px;
  line-height: 1.5rem;
  font-weight: 300;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}

.index-services-b .card-inner-content img {
  margin-top: 1.2rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;  
  width: 3.5rem;
  height: 3.5rem;
}

.index-services-b .card-inner-text {
  text-align: justify;
  display: flex;
  flex-direction: column;
}

.index-services-b .card-inner-text h3 {
  letter-spacing: 0px;
  margin-top: 0.5rem;
  margin-left: 0;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 300;
  font-size: x-large;
}

.index-services-b .card-inner-content p {
  padding-left: 0;
  padding-right: 0;
  flex: 1 1 auto;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  overflow-wrap: break-word;
}

.index-services-b .card hr {
  width: 100%;
  margin-top: 1.75rem;
  margin-bottom: 1.5rem;
}

.index-services-b .card-subtitle {
  line-height: 2.2rem;
  text-align: left;
}

/* 4-across layout: keep the tag block a uniform height so the hr lines up
   across all four cards (cards differ by 2 vs 3 wrapped tag lines) */
@media (min-width: 1400px) {
  .index-services-b .card-subtitle {
    min-height: 6.6rem;
  }
}

/* Forced line break inside the tag block: off by default, only active across
   the tablet width range so the last tag (and its "+N" pill) start on a clean
   new line instead of breaking awkwardly */
.index-services-b .tag-break {
  display: none;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .index-services-b .tag-break {
    display: block;
    width: 100%;
    height: 0;
    margin: 0;
    border: 0;
  }
}

.index-services-b .service-tag {
  color: #4a7064;
  margin-right: 0.25rem;
  background-color: #689b8a20;
  border-radius: 12px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  padding-left: 0.55rem;
  padding-right: 0.55rem;
  font-size: 0.85rem;
  font-weight: 400;
}

.index-services-b .service-tag-inverted {
  color: #316E5B;
  border-style: solid;
  background-color: #ecf6f300;
  border-color: #147272;
  border-radius: 12px;
  border-width: 1px;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 0.55rem;
  padding-right: 0.55rem;
  font-size: 0.85rem;
  font-weight: 400;
}

/* Number badges link to the matching section on services2.html.
   Only the link underline is removed so they look identical to the
   original span — no hover or color change. */
.index-services-b a.service-tag-inverted,
.index-services-b a.service-tag-inverted:hover,
.index-services-b a.service-tag-inverted:focus {
  text-decoration: none;
  color: #316E5B;
  background-color: #ecf6f300;
}

.index-services-b .btn-service-card {
  font-size: 1rem;
  font-weight: 400;
  border-style: solid;
  color:#316E5B;
  border-radius: 4px;
  border-width: 1px;
  border-color: #316E5B;
  background-color: #ffffff00;
}

.index-services-b .btn-service-card:hover {
  border-style: solid;
  color:#316E5B;
  border-radius: 3px;
  border-width: 1px;
  border-color: #7fa498;
  background-color: #689b8a40;
}

.index-services-b .btn-service-card:active {
  color:#316E5B !important;
  background-color: #d7ece6 !important;
}

.index-services-b .btn-service-card:focus {
  color:#316E5B !important;
  background-color: #d7ece6 !important;
}

.index-services-b .card-footer {
  background-color: #ffffff00;
  border: none;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.index-services-b .card-footer button {
  width: 100%;
  max-width: 30vh !important;
}

.index-serices-b .tip-right {
  transform: rotate(15deg);
}




/* reviews on index.html */
.index-reviews {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  letter-spacing: 0.1px;
}

.index-reviews .row:nth-of-type(2) .col-lg-6:nth-of-type(2) {
  margin-top: 1rem;
}

.index-reviews .row .col-lg-6:first-of-type{
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.index-reviews .row .col-lg-6:first-of-type img {
  object-fit: cover; 
  width: 70%;
  height: 85%;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
  .index-reviews .row .col-lg-6:first-of-type img {
   width: 85%;
   height: 80%;
   border-top-left-radius: 15px;
   border-top-right-radius: 15px;
   border-bottom-left-radius: 15px;
   border-bottom-right-radius: 15px;
  }
}

@media (max-width: 991px) {
  .index-reviews .row .col-lg-6:first-of-type img {
   width: 0px;
   height: 0px;
   margin-top: 0;
   margin-bottom: 0;
  }
}

.review-card {
  background: none;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  margin-right: 8vh;
  margin-left: 0vh;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-card a{
  text-decoration: none;
  color:rgb(15, 14, 14);
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
  .review-card {
   margin-right: 2vh;
   margin-bottom: 0;
  }
}

@media (max-width: 991px) {
  .review-card {
    margin-right: 1.2rem;
    margin-left: 1.2rem;
  }
}

.review-card p {
  line-height: 1.5;
  font-style: italic;
  /*quotes: "\201C""\201D""\2018""\2019";*/
}

.review-card .logo-star {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.review-card .bi-star-fill {
  color: #ffc107;
}

.review-card .rating {
  margin-right: 7vh !important;
}





/* team on index.html*/
.index-team {
  background-color: white !important;
  padding-top: 0dvh;
  padding-bottom: 7dvh;
  letter-spacing: -0.2px;
  line-height: 1.85rem;
  font-weight: 400;
  font-size: large;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

.index.team .row:first-of-type div {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.img-outer {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.index-team .row:first-of-type img {
  object-fit: cover; 
  width: 60%; 
}

.index-team .index-team-carousel{
  margin-top: 3rem;
  margin-left: 3rem;
  margin-right: 3rem;
}

@media (max-width: 991px) {
  .index-team .index-team-carousel{
    margin-top: 0.5rem !important;
  }
} 

@media (min-width: 1200px) and (max-width: 1399px) {
  .index-team .index-team-carousel{
    margin-top: 2rem;
    margin-left: -1rem;
    margin-right: -1rem;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .index-team .index-team-carousel{
    margin-top: 2rem;
    margin-left: 0rem;
    margin-right: 0rem;
  }
}

.index-team .index-team-carousel .preview-card{
  border: none;
}

.index-team .index-team-carousel .preview-card a{
  text-decoration: none;
  color:rgb(15, 14, 14);
}

.index-team .index-team-carousel .preview-card-img-top{
  object-fit: cover;
  width: 70%;
  border: 0.5px solid rgba(0, 0, 0, 0.25);
  border-radius: 5px;
}

/* nice hover-effect on images, however, does not work well with carousel
.index-team .index-team-carousel .preview-card-body {
  margin-bottom: 0rem;
}
*/

.index-team .index-team-carousel h3:first-of-type {
  margin-top: 1rem;
  margin-bottom: 0.2rem;
  font-weight: 500;
  font-size: 1.1rem;
}

.index-team .index-team-carousel h3 {
  font-weight: 400;
  letter-spacing: -0.2px;
  font-size: 1.2rem;
}

.index-team .index-team-carousel h4 {
  text-align: center;
  color: rgb(59, 59, 59);
  padding: 0;
  margin-top: 0.2rem;
  margin-bottom: 0.6rem;  
}

.index-team .index-team-carousel h4 .job-tag {
  font-weight: 300;
  letter-spacing: -0.2px;
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .index-team .index-team-carousel h3:first-of-type {
    font-size: 0.9rem !important;
  }

  .index-team .index-team-carousel h3 {
    font-size: 1rem !important;
  }

  .index-team .index-team-carousel h4 .job-tag {
    font-size: 0.8rem !important;
  }
}


.index-team .btn {
  background-color: #7eb9a6f4;
  border: none;
  color:#ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 300 !important;
  border-radius: 25px;
  width: 220px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; 
}

.index-team .btn:hover {
  background-color: #71a895;
}

.index-team .btn .bi-arrow-right-circle {
  padding-top: 2px;
  transition: all 0.5s ease;
  opacity: 0; /* Hide by default */
  width: 20px; /* Fixed width */
  margin-left: -20px; /* Negative margin to move outside button */
}

.index-team .btn:hover .bi-arrow-right-circle {
  padding-top: 2px;
  opacity: 1; /* Show on hover */
  margin-left: 15px; /* Positive margin to move inside button */
}

@media (max-width: 991px) {
  .index-team .index-team-carousel{
    margin-top: 2rem;
    margin-left: 0rem;
    margin-right: 0rem;
  }

  .index-team .index-team-carousel .preview-card-img-top{
    width: 80%;
  }
  
  .index-team .index-team-carousel .col-lg-3:nth-of-type(1) {
    margin-top: 1.5rem;
  }

  .index-team .index-team-carousel .col-lg-3:nth-of-type(2) {
    margin-top: 1.5rem;
  }

  .index-team .index-team-carousel .col-lg-3:nth-of-type(3) {
    margin-top: 2.5rem;
  }

  .index-team .index-team-carousel .col-lg-3:nth-of-type(4) {
    margin-top: 2.5rem;
  }

  .index-team .index-team-carousel h3 {
    font-size: 1.3rem;
  }

  .index-team .index-team-carousel h4 .job-tag {
    font-size: 0.95rem;
  }
}

/* ===== Team carousel (row is the scroll container) ===== */
.index-team .index-team-carousel{
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;

  align-items: flex-start;   /* keep cards on same vertical level */
  position: relative;        /* anchor arrows to left/right edges */

  /* hide scrollbar (Firefox/old Edge/IE) */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* hide scrollbar (Chrome/Safari/Edge) */
.index-team .index-team-carousel::-webkit-scrollbar{
  width: 0;
  height: 0;
}

/* snap per card */
.index-team .index-team-carousel > [class*="col-"]{
  scroll-snap-align: start;
}

/* your old mobile nth-of-type margin-top hacks would break nowrap -> force 0 */
@media (max-width: 991px){
  .index-team .index-team-carousel > [class*="col-"]{
    margin-top: 0 !important;
  }
}

/* ===== Team carousel navigation arrows (clickable) ===== */
.index-team .index-team-carousel-wrap{
  position: relative;
}

.index-team .carousel-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;

  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #316E5B;
  font-size: 1.9rem;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);

  /* visible by default; JS hides the relevant arrow at each edge */
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .2s ease, visibility .2s ease,
              background-color .2s ease, color .2s ease;
}

.index-team .carousel-nav:hover,
.index-team .carousel-nav:focus-visible{
  background: #316E5B;
  color: #ffffff;
  outline: none;
}

.index-team .carousel-nav span{
  display: block;
  margin-top: -3px; /* optically centre the chevron glyph */
}

.index-team .carousel-nav-prev{ left: 0.25rem; }
.index-team .carousel-nav-next{ right: 0.25rem; }

/* arrows are visible by default; the rules below hide the relevant one
   once we reach an edge (and both when there is nothing to scroll) */
.index-team .index-team-carousel.at-start ~ .carousel-nav-prev,
.index-team .index-team-carousel.at-end ~ .carousel-nav-next{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


/* ---------------------------------------- */

/*******************
    SERVICES
********************/

.layer-services {
  position: relative;
  min-height: 60vh;
  background-image: url('../images/bckg_service_1.jpg');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
}

.layer-services .crossfade-index {
  position: relative; /* was absolute */
  /* remove top/right/bottom/left */
}

.layer-services::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;

  background-image: linear-gradient(
    to right,
    rgba(8, 3, 0, 0.2) 0%,
    rgba(8, 3, 0, 0.2) 50%
  ),
  linear-gradient(
    to right,
    rgba(8, 3, 0, 0.7) 0%,
    rgba(8, 3, 0, 0.7) 25%,
    rgba(8, 3, 0, 0.65) 35%,
    rgba(8, 3, 0, 0.55) 55%,
    rgba(8, 3, 0, 0.3) 75%,
    rgba(8, 3, 0, 0.1) 100%
  );

  pointer-events: none;
  z-index: 0;
}

.layer-services .crossfade-index {
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 992px) {
  .layer-services {
    margin-top: -85px;
    min-height: 70vh; /* previously 70vh for a smooth bottom fading */
  }
}

@media (max-width: 600px) {
  .layer-services {
    min-height: 45vh;      /* stop forcing 60vh */
    padding-bottom: 1.5rem;/* keep a controlled bottom spacing */
  }
}

.services-banner-a {
  background-color: #efefef;
  border-radius: 2%;
  margin-top: 3rem;
  padding-bottom: 2rem;
  padding-right: 1rem;
}

.services-banner-quote {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 2.3rem;
  text-align: left;
  text-size-adjust: 100%;
  letter-spacing: .15rem;
  padding-top: 2rem;
  padding-left: 4rem;
  padding-bottom: 2rem;
  padding-right: 1rem;
}

.quote1 {
  padding-left: 4rem;
  height: min-content;
}

.quote-img {
  border-radius: 50%;
  border: 1px solid #83838350;
  max-width: 100px;
  max-height: 100px;
}

.section-sign {
  padding-left: 7%;
  font-size: 18rem;
  color: #3f3f3fc2;
}

.card-horizontal {
  display: flex;
  overflow: hidden !important;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

.card-horizontal img{
  border-radius: 5px;
  border-bottom-right-radius: 0px;
  object-fit: cover;
}

@media screen and (min-width: 481px) {
  .card-horizontal-img img {
    min-width: 300px !important;
  }
}


.service-body {
  background: #fff;
  letter-spacing: -0.3px;
  line-height: 1.85rem;
  font-weight: 300;
  font-size: 1.075rem;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

.service-body p {
  font-weight: 300;
}

.body-spacing {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

@media screen and (max-width: 768px) {
  .body-spacing {
    padding-left: 1rem;   /* small side gap so accordions/cards
                             don't run into the screen edges */
    padding-right: 1rem;
  }
}

.separator-right {
  border-right: 1px solid black;
}

.separator-left {
  border-left: 1px solid black;
}

.service-body h1 {
  padding-top: 2.5rem;
  letter-spacing: -1px;
  font-weight: 200;
  font-size: 3.2rem;
  text-align: center;
}

.service-body h1 strong {
  font-weight: 400;
}

.outer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 50dvh;
  min-height: 20dvh;
  margin-top: 10vh; 
}

@media screen and (max-width: 768px) {
  .outer {
    height: auto;        /* overrides 45dvh */
    min-height: 0;       /* overrides 20dvh */
    margin-top: 4vh;     /* smaller top spacing on mobile */
    padding-bottom: 2rem;/* gives space so it doesn't crash into next section */
    align-items: flex-start;
  }
}

/* Tablet range (hamburger shown, <992px) but above the mobile override:
   let the hero grow with the quote so the fixed 50dvh height no longer
   clips the box at the bottom. */
@media screen and (min-width: 769px) and (max-width: 991px) {
  .outer {
    height: auto;        /* overrides 50dvh so the box can't be cut off */
    min-height: 0;       /* overrides 20dvh */
    padding-bottom: 2rem;/* breathing room before the next section */
  }
}

@media (max-width: 600px) {
  .outer { justify-content: center; }
}



.quote-box {
  opacity: 1;
  background-color: #eeeeeecf;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  max-width: 80%;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 600px) {
  .quote-box {
    max-width: 95%;   /* was 80% -> more room on mobile */
    padding: 16px;    /* slightly tighter but same look */
  }

  .author-info {
    margin-left: 0;   /* removes the 3vh left offset */
    flex-direction: column;
    align-items: flex-start; /* keeps the “text-left” feel */
  }

  .author-details {
    text-align: left; /* preserves your current styling intention */
  }

  .author-img {
    height: 72px;     /* smaller avatar on mobile */
    width: 72px;
  }
}



@media screen and (min-width: 992px){
  .quote-box {
    margin-top: 6vh; /*previously 17vh for fullscreen */
  }
}

.quote-author {
  display: flex;
  flex-direction: column;
}

.quote {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.35rem, 1.05rem + 1.4vw, 2.1rem); /* fluid */
  font-weight: 300;
  font-style: italic;
  margin: 0 0 3vh 0;
  overflow-wrap: anywhere; 
  hyphens: auto;
}


.quote b {
  font-weight: 500;
}

.author-info {
  display: flex;
  align-items: center;
  margin-left: 3vh;
  margin-bottom: 1vh;
}

.author-img {
  height: 90px;
  width: 90px;
  border-radius: 50%;
  margin-right: 10px;
}

.author-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.author {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  margin: 0;
  text-align: center;
}

.author-desc {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  margin: 0;
  text-align: center;
  color: #666666;
}

.services-overview {
  color: rgba(255, 255, 255, 0.94);
}

.services-overview .card-inner-content {
  border:none;
  background-color: #fcfcfa00;
}

.services-overview h1 strong {
  font-weight: 200;
}

.services-overview h4 {
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.35rem;
}

.services-overview h4:first-of-type{
  margin-top: 1.2rem;
}

.services-overview .btn {
  display: flex;
  justify-content: space-between; /* Aligns content to each end */
  align-items: center;
  background-color: #00000060;
  border: none;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: large;
  font-weight: 300 !important;
  letter-spacing: 0.5px;
  border-radius: 1px;
  width: 260px;
  height: 4.3rem;
  padding-left: 1rem; /* Add some padding to the left */
  padding-right: 1rem; /* Add some padding to the right */
  /* Other styles */
}

.services-overview .btn:hover {
  background-color: #00000040;
}

.services-overview .btn .bi-arrow-right-circle {
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0; /* Keep it hidden initially */
  transform: translateX(-7px); /* Start translated to the left */
}

.services-overview .btn:hover .bi-arrow-right-circle {
  opacity: 1; /* Show on hover */
  transform: translateX(0); /* Move to default position */
}

/* ---- Leistungsübersicht hero: intro + anchor chips ---- */
.services-overview .services-intro {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1.7rem;
  max-width: 760px;
  margin: 1.25rem auto 0;
  color: rgba(255, 255, 255, 0.88);
}

.service-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* a little breathing room below the chips so they don't touch the colour break */
.services-buttons-section {
  padding-bottom: 2rem;
}

.service-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 25px;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: large;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.service-chip:hover,
.service-chip:focus-visible {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.service-chip .bi-arrow-down-circle {
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

.service-chip:hover .bi-arrow-down-circle,
.service-chip:focus-visible .bi-arrow-down-circle {
  opacity: 1;
}

/* Smooth scroll + offset so the sticky navbar doesn't cover section headings */
html {
  scroll-behavior: smooth;
}

#privatpersonen,
#unternehmen,
#existenzgruender,
#vereine {
  scroll-margin-top: 80px;
}

@media (max-width: 576px) {

  .services-overview .services-intro {
    font-size: 1rem;
    line-height: 1.55rem;
    margin-top: 1rem;
  }

  .service-chips {
    gap: 0.65rem;
    margin-top: 1.5rem;
  }

  .service-chip {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 0.7rem 1rem;
  }


  /* (A) Ensure the buttons section fills the rest of the screen */
  .background-header {
    min-height: 52svh; /* pairs with your 45vh hero -> ~100% screen */
    padding-bottom: max(1.75rem, env(safe-area-inset-bottom)); /* breathing room + avoids iPhone bottom gap */
  }

  /* (B) Smaller heading + more space under it */
  .background-header .services-overview h1 {
    font-size: clamp(2.0rem, 7.5vw, 2.8rem);
    line-height: 1.05;
    padding-top: 1.5rem;     /* overrides .service-body h1 padding-top */
    margin: 0 0 2rem 0;    /* MORE space to first button */
    text-align: center;       /* keep it centered like in your screenshot */
  }

  /* (C) Keep your button spacing, and add a touch more separation */
  .background-header .services-overview .row {
    row-gap: 1.5rem;         /* a bit more than before */
    margin-top: 0;            /* avoid accidental extra margins */
  }

  /* (D) Don’t let Bootstrap mb utilities interfere on mobile */
  .background-header .services-overview .row > [class*="col-"] {
    margin-bottom: 0 !important;
  }
}




/* Styling for Services for Private People */

.service-private img {
  margin-top: 0rem;
  display: block;
  margin-left: 0rem;
  margin-right: 1rem;
  width: 50%;  
  width: 2rem;
  height: 2rem;  
}


/*
.accordion-item:first-of-type .accordion-button {
  border-radius: var(--fq-accordion-item-border-radius);
}

.accordion-item:last-of-type .accordion-button {
  border-radius: var(--fq-accordion-item-border-radius);
}

.accordion-button {
  border-radius: var(--fq-accordion-item-border-radius);
}

.accordion-item {
  border-radius: var(--fq-accordion-item-border-radius);
  box-shadow: 1px 1px 3px 4px #bbbbbb46;
}

.accordion {
  --bs-accordion-color: #212529;
  --bs-accordion-bg: #fff;
  --bs-accordion-transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,border-radius 0.15s ease;
  --bs-accordion-border-color: var(--bs-border-color);
  --bs-accordion-border-width: 0px;
  --bs-accordion-border-radius: var(--fq-accordion-item-border-radius);
  --bs-accordion-inner-border-radius: var(--fq-accordion-item-border-radius);
  --bs-accordion-btn-padding-x: 1.25rem;
  --bs-accordion-btn-padding-y: 1rem;
  --bs-accordion-btn-color: #212529;
  --bs-accordion-btn-bg: var(--bs-accordion-bg);
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-icon-width: 1.25rem;
  --bs-accordion-btn-icon-transform: rotate(-180deg);
  --bs-accordion-btn-icon-transition: transform 0.2s ease-in-out;
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-focus-border-color: #33cb25;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0rem rgba(255, 255, 255, 0.25);
  --bs-accordion-body-padding-x: 1.25rem;
  --bs-accordion-body-padding-y: 1rem;
  --bs-accordion-active-color: #000000;
  --bs-accordion-active-bg: #e7f1ff;
}

.accordion-item {
  margin-bottom: 2.5rem;
  color: var(--bs-accordion-color);
  background-color: var(--bs-accordion-bg);
}

.accordion-item i {
  color: #1e6f6f;
  margin-right: 1rem;
  font-size: 1.8rem;
}

.accordion-header {
  height: 5rem;
  display: flex;
  align-items: center;
  padding-right: 1rem;
  padding-left: 0.5rem;

}

.accordion-button:not(.collapsed) {
  color: var(--bs-accordion-active-color);
  background-color: #ffffff;
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

.accordion-button:not(.collapsed)::after {
  background-image: var(--bs-accordion-btn-icon);
  transform: var(--bs-accordion-btn-icon-transform);
}

#accordion1 {
  margin-right: 0.7rem;
}

#accordion2 {
  margin-left: 0.7rem;
}

@media screen and (max-width: 991px) and (min-width: 576px) {

  #accordion1 {
    margin-left: 0.7rem; 
  }

  #accordion2 {
    margin-right: 0.7rem;
    margin-top: -1rem;
  }
}

@media screen and (max-width: 575px)  {

  #accordion1 {
    margin-left: 1.2rem;
    margin-right: 1rem; 
  }

  #accordion2 {
    margin-left: 1.2rem;
    margin-right: 1rem; 
    margin-top: -2rem;
  }
}
*/




/* Custom Accordion Styles */
.accordion-button {
  background-color: white; /* Set the background color */
  border-top: 0; /* Add top border */
  border-bottom: 0; /* Add bottom border */
  border-left: 0; /* Remove left border */
  border-right: 0; /* Remove right border */
  border-radius: 0; /* Ensure no rounded corners */
  text-align: left; /* Align text to the left */
  padding-left: 2em; /* Adjust padding as needed */
  position: relative; /* Needed for absolute positioning of the icon */
}

/* Remove the default arrow icon from Bootstrap */
.accordion-button::after {
  display: none;
}

/* Custom arrow icon style */
.arrow-icon {
  font-size: 2em; /* Make the arrow bigger */
  transition: transform 0.3s ease;
  position: absolute; /* Absolute position the icon */
  left: 0.5em; /* Position from the left side of the button */
  top: 50%; /* Center vertically */
  transform: translate(0, -50%); /* Center align the arrow */
}

/* Rotate the custom arrow icon when the accordion is opened */
.accordion-button:not(.collapsed) .arrow-icon {
  transform: translate(0, -50%) rotate(180deg); /* Arrow points upwards */
}

/* Remove blue outline on focus and active state */
.accordion-button:focus, .accordion-button:not(.collapsed), .accordion-button:active {
  box-shadow: none; /* Remove box-shadow */
  outline: none; /* Remove outline */
  background-color: white; /* Keep background color white */
  border-color: #e7e7e7; /* Maintain the same border color */
}

/* Accordion item style */
.accordion-item {
  border-top: 1px solid #e7e7e7; /* Add top border */
  border-bottom: 1px solid #e7e7e7; /* Add top border */
  border-left: 0;
  border-right: 0;
}

/* Accordion content with no padding */
.accordion-collapse .accordion-body {
  padding: 0; /* No padding for accordion content */
  border-radius: 0; /* Ensure no rounded corners */
}

/* Correcting the overlap of borders between accordion items */
.accordion-button.collapsed {
  border-bottom: 0; /* Remove bottom border when collapsed to prevent double border */
}

/* Correcting the border for the last accordion item */
.accordion-item:last-of-type .accordion-button {
  border-radius: 0; /* Ensure no rounded corners */
}

.accordion-header {
  border: 0 !important;
}


/* ===== Leistungsübersicht – Bereichs-Sektionen (Intro-Schiene + Accordion) ===== */

.service-section {
  width: 100%;
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
}

/* Bereichs-Sektionen an ihren Inhalt anpassen statt volle Viewport-Höhe zu
   erzwingen – verhindert die großen Leerräume bei kürzeren Sektionen
   (Existenzgründung, Vereine) und sorgt für einheitliche Abstände. */
.service-body .background1,
.service-body .background2 {
  min-height: auto;
  display: block;
}

/* ---- Intro-Schiene (links/rechts) ---- */
.service-rail {
  text-align: left;
}

.rail-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #165353;
  margin-bottom: 0.85rem;
}

.rail-title {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 2.35rem;
  line-height: 1.18;
  letter-spacing: -0.6px;
  color: #1c1c1c;
  margin-bottom: 1.1rem;
}

.rail-title strong {
  font-weight: 500;
  color: #165353;
}

.rail-intro {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.7rem;
  color: #4a4a4a;
  margin-bottom: 1.8rem;
  max-width: 30rem;
}

.rail-icon {
  margin-bottom: 1.8rem;
}

.rail-icon img {
  width: 4.5rem;
  height: 4.5rem;
}

.btn-rail {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.85rem;
  background-color: #165353;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: large;
  letter-spacing: 0.3px;
  border-radius: 25px;
  text-decoration: none;
  transition: background-color 0.4s ease;
}

.btn-rail:hover,
.btn-rail:focus-visible {
  background-color: #0f3d3d;
  color: #ffffff;
}

.btn-rail .bi-arrow-right-circle {
  opacity: 0.8;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.btn-rail:hover .bi-arrow-right-circle {
  opacity: 1;
  transform: translateX(3px);
}

/* ---- Accordion innerhalb der Bereichs-Sektionen ---- */
.service-accordion {
  text-align: left;
}

.service-accordion .accordion-item {
  background-color: transparent;
  border-top: 1px solid #e2e2da;
  border-bottom: 1px solid #e2e2da;
}

.service-accordion .accordion-item + .accordion-item {
  border-top: 0;
}

.service-accordion .accordion-button {
  background-color: transparent;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.5rem;
  color: #1c1c1c;
  letter-spacing: -0.2px;
  padding: 1.1rem 2.5rem 1.1rem 0;
}

.service-accordion .accordion-button:not(.collapsed) {
  background-color: transparent;
  color: #165353;
  font-weight: 500;
}

.service-accordion .accordion-button:focus,
.service-accordion .accordion-button:active {
  box-shadow: none;
  background-color: transparent;
}

/* Chevron wieder einblenden – auf das Bereichs-Accordion beschränkt, teal eingefärbt */
.service-accordion .accordion-button::after {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  background-size: 1.05rem;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23165353'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.service-accordion .accordion-button:not(.collapsed)::after {
  transform: translateY(-50%) rotate(-180deg);
}

.acc-icon {
  width: 1.55rem;
  height: 1.55rem;
  margin-right: 0.85rem;
  flex-shrink: 0;
  vertical-align: middle;
}

.service-accordion .accordion-collapse .accordion-body {
  padding: 0 0.25rem 1.15rem 2.4rem;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.65rem;
  color: #4a4a4a;
  text-align: left;
}

.service-accordion .accordion-body p {
  margin-bottom: 0.55rem;
}

.service-accordion .accordion-body p:last-child {
  margin-bottom: 0;
}

.service-accordion .accordion-body ul {
  margin: 0;
  padding-left: 1.2rem;
}

.service-accordion .accordion-body li {
  margin-bottom: 0.35rem;
}

/* ---- Abschluss-Sektion "So erreichen Sie uns" ---- */
.contact-cta {
  text-align: left;
}

.contact-cta .rail-title {
  margin-bottom: 1.5rem;
}

.contact-cta p {
  margin-bottom: 0.4rem;
  line-height: 1.65rem;
}

.contact-address {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.contact-address:hover {
  color: #165353;
}

.contact-note {
  margin-top: 1.25rem;
  font-style: italic;
  color: #6b6b6b;
}

.contact-map {
  border: 0;
  border-radius: 8px;
  min-height: 360px;
  display: block;
}

/* ---- Accordion-Spalten ab lg etwas schmaler, Lücke zur Schiene leicht größer ---- */
@media (min-width: 992px) {
  /* Privatpersonen: Schiene links, Accordion rechts -> Lücke nach links */
  .service-section .acc-col--right {
    width: 54%;
    margin-left: 4.333%;
  }

  /* Unternehmen & Freiberufler: Accordion links, Schiene rechts -> Lücke nach rechts */
  .service-section .acc-col--left {
    width: 54%;
    margin-right: 4.333%;
  }
}

/* ---- Responsiv: Schiene zentrieren, sobald sie über dem Accordion stapelt ---- */
@media (max-width: 991px) {
  .service-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .service-rail {
    text-align: center;
    margin-bottom: 1rem;
  }

  .rail-intro {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 575px) {
  .rail-title {
    font-size: 1.95rem;
  }

  .rail-intro {
    font-size: 1.02rem;
    line-height: 1.6rem;
  }

  .service-accordion .accordion-button {
    font-size: 1.02rem;
    padding-right: 2rem;
  }

  .acc-icon {
    width: 1.4rem;
    height: 1.4rem;
    margin-right: 0.7rem;
  }

  .service-accordion .accordion-collapse .accordion-body {
    padding-left: 2.1rem;
    font-size: 0.98rem;
  }
}



.service-text {
    display: flex;
    justify-content: center;  
    text-align: center;
    margin-top: 3vh;
    margin-bottom: 0vh;
}

.service-button {
  display: flex;
  justify-content: center;  
  align-items: center;
  text-align: center;
  margin-top: 0.5vh;
  margin-bottom: 7vh;
}

.service-button a{
  width: 250px;
}

.service-clubs h1 {
  line-height: 4.5rem;
  padding-top: 1rem;
}

.service-clubs h1 strong:last-of-type {
  font-weight: 300;
  font-size: 4rem;
}

.service-img {
  height: 22rem;
  display: flex;
  align-items: center;
  justify-content: left;
}

.service-img img {
    width: 15rem;
    height: 15rem; 
}

@media screen and (min-width: 992px) {
  .service-clubs h1 {
    padding-left: 3rem;
  }

  .service-img img {
    margin-left: 5rem;
  }
}

/* Styling of Services for Start-ups */

.service-start-ups img {
  margin-top: 1rem;
  display: block;
  margin-left: -2rem;
  margin-right: 2rem;
  width: 50%;  
  width: 6.75rem;
  height: 6.75rem;  
  transform: rotate(15deg);
}
@media screen and (max-width: 991px) {

  .service-start-ups img {
    width: 0rem;
    height: 0rem;
  }
}

.service-start-ups .row:nth-of-type(1) p {
  margin-left: 6rem;
  margin-right: 6rem;
  font-size: 1.1rem;
  letter-spacing: -0.2px;
}

.service-start-ups .row:nth-of-type(2) {
  margin-top: 3.5rem !important;
  margin-bottom: 5rem !important;
}

.service-start-ups .card {
  border: none;
  background: none;
  display: block; 
  margin-left: auto; 
  margin-right: auto;
}


.service-start-ups .card img {
  margin-top: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;  
  width: 3.5rem;
  height: 3.5rem; 
  transform: none; 
}

.service-start-ups .card h4{
  font-weight: 300; 
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
}

.service-start-ups .card h4 strong{
  font-weight: 500; 
}


/* Styling for Services for Companies */

.service-companies .row:nth-of-type(1) {
  margin-bottom: 8rem;
}

.service-companies .row:nth-of-type(1) p {
  margin-left: 7rem;
  margin-right: 7rem;
  font-size: 1.1rem;
  letter-spacing: -0.2px;
}

.service-companies h3 {
  letter-spacing: 0px;
  margin-left: 4rem;
  text-align: left;
  font-weight: 400;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.service-companies h4 {
  margin-left: 4rem;
  text-align: left;
  font-weight: 300;
  font-size: 1.2rem;
}

.service-companies .row:not(:nth-of-type(1)) p {
  text-align: left;
  margin-left: 0rem;
  margin-right: 2rem;
  font-size: 1.1rem;
  letter-spacing: -0.2px;
}

.service-companies hr {
  margin-left: 4rem;
  margin-right: 15%;
}




/* Styling for Services for Clubs */

.service-clubs p strong {
  font-weight: 500;
}

.services-clubs img {
  margin-top: 0.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;  
  width: 3.5rem;
  height: 3.5rem;
}

.services-clubs-big img{
  margin-top: 0.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;  
  width: 4.2rem;
  height: 4.2rem;
}

@media screen and (max-width: 768px) {
  .services-clubs img {
    margin-bottom: 0.8rem;
  }

  .services-clubs img:first-of-type {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
  }
}



/* ------------------------------- */



/*********************
    TEAM
*********************/


.blog-post {
  margin-left: 1.5rem;
  margin-right: 0.5rem;
  display: flex;
  align-items: center;
  max-width: 90rem;
  background-color: #ffffff;
  padding: 3rem;
  border-radius: 0.8rem;
}

.blog-post_img {
  position: relative;
  /* exact width and height is important for image clarity*/
  min-width: 32rem;
  max-width: 32rem;
  height: 21.332rem;
  transform: translateX(-8rem);
}

.blog-post_img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.8rem;
}

.blog-post_img::before {
  content: "";
  position:absolute;
  box-shadow: 0.5rem 0.5rem 3rem 1px rgba(0, 0, 0, 0.05);
  border-radius: 0.8rem;
}

.blog-post_date span {
  display: block;
  color: #8e8c8c;
  font-weight: 600;
  margin: 0.5rem 0;
}

.blog-post_title {
  font-size: 2.5rem !important;
  margin: 1.5rem 0 2rem;
  text-transform: uppercase;
  color: #4facfe;
}

.blog-post_info {
  margin-left: -4rem;
  margin-top: -1rem;
}

.blog-post_info {
  border-color: #000000;
  border-width: 5px;
  border-style: solid;
}

.blog-post_info h3 {
  color: #a5a5a5;
  font-weight: 300;
  font-size: 1.6rem;

}

.blog-post_info p {
  margin-bottom: 3rem;
  color: rgba(0, 0, 0, 0.7);
}

.blog-post_content {
  display: inline-block;
  background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
  padding: 1.5rem 3rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  border-radius: 0.8rem;
}

.blog-post_content:hover {
  background-image: linear-gradient(to right, #00f2fe 0%, #4facfe 100%);
}

@media (max-width: 1068px) {
  .blog-post {
    max-width: 60rem;
  }
  .blog-post_img {
    min-width: 30rem;
    max-width: 30rem;
  }
}

@media (max-width: 868px) {
  .blog-post {
    max-width: 70rem;
  }
}

@media (max-width: 768px) {
  .blog-post {
    padding: 2.5rem;
    flex-direction: column;
  }
  .blog-post_img {
    min-width: 100%;
    transform: translate(0, -8rem);
  }
}


.boss-card-spacing {
  margin-top: 7rem;
  margin-bottom: 7rem;
}

/* Marlies Quernheim – Werdegang / timeline list */
.boss-cv-title {
  margin-top: 1.25rem;
  margin-bottom: 0.6rem;
}

.boss-cv {
  list-style: none;
  /* match the 1rem side padding that .card-body p gets, so the year
     column lines up with the "Werdegang" heading and intro text */
  padding-left: 1rem;
  padding-right: 1rem;
  margin-bottom: 0;
}

.boss-cv li {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 0.7rem;
  line-height: 1.5rem;
}

.boss-cv .cv-year {
  flex: 0 0 7rem;
  color: #165353;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .boss-card-spacing {
    margin-top: 4rem;
    margin-bottom: 0rem;
  }
}


@media (max-width: 768px) {
  .boss-card .card-title {
    text-align: center;
  }

  /* Center the tag row as a group */
  .boss-card .card-subtitle {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;   /* allows wrapping nicely on narrow screens */
    gap: 0.5rem;       /* spacing between tags */
    text-align: center;
  }
}

@media (min-width: 769px) {
  .boss-card .card-title {
    margin-left: 13px;
  }

  /* Center the tag row as a group */
  .boss-card .card-subtitle {
    margin-left: 13px;
  }
}



.layer-team {
  position: relative; /* add position relative */
  margin-top: -95px;
  min-height: 80vh;
  background-image: url('../images/group_02.jpg');
  background-size: cover; /* change to cover */
  background-repeat: no-repeat;
  background-position: center 22%;
}

.crossfade-team {
  position: absolute; /* add position absolute */
  top: 0; /* full cover */
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7); /* change to rgba */
}

/****
* OLD
*****
.team-banner {
  margin-right: 58%;
  margin-left:2%;
}
*/

.team-banner {
  font-weight: 200;
  margin-top: 42vh;
  padding-left: 2rem;
  padding-right: 2rem;
  font-size: 3.5rem;
  color: #ffffff;
  background-color: #909997b6;
  border-radius: 1.5rem;
}

@media (max-width: 768px) {
  .team-banner{
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 2rem;
  }
}

.team-banner h3 {
  text-align: center;
  font-weight: 100;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.team-banner strong{
  font-weight: 300;
}

.team-banner h5 {
  font-weight: 200;
  font-size: 1.4rem;
}

.team-banner2 {
    min-height: 22vh;
    background-color: #e6efee;/*#e8f4f4;*/
    padding-top: 3.5rem;
    padding-bottom: 2rem;
    letter-spacing: -0.5px;
    line-height: 3rem;
    font-weight: 200;
    font-size: 2.5rem;
    font-family: 'Inter', sans-serif;
    text-align: center;
}


.team-teaser {
  max-width: 48rem;
  margin: 0 auto;
}

/* small teal accent above the statement */
.team-teaser-mark {
  display: block;
  width: 48px;
  height: 3px;
  background-color: #165353;
  border-radius: 2px;
  margin: 0 auto 1.75rem;
}

.team-teaser h3 {
  margin: 0;
  padding: 0;
  font-weight: 200;
  font-size: 1.6rem;
  line-height: 1.55;
  color: #2b2b2b;
  text-wrap: balance;
}

.team-teaser h3 strong {
  font-weight: 500;
  color: #165353;
}

@media (max-width: 575px) {
  .team-teaser h3 {
    font-size: 1.3rem;
  }
}




.job-tag {
  display: inline-block;
  background-color: #e7e7e7;
  border-radius: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 0.55rem;
  padding-right: 0.55rem;
  font-size: 0.85rem;
}

.card-body {
  border: none;
  font-family: 'Inter', sans-serif;
  min-height: 4rem;
  }

.card-bio{
  color: #0000008d;
  font-size: 0.95rem;
  margin-top: -0.5rem;
  margin-bottom: 2.8rem;
  margin-left: -15px !important;
  margin-right: -15px !important;
}  

  .card-body p {
    text-align: justify;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .card-body p:last-child {
    margin-bottom: 1rem;
  }

  .card h6 {
    margin-bottom: 2.2rem;
  }

  .card h5 {
    font-size: x-large;
    margin-bottom: 1.2rem;
  }

  .employee .row {
    display: flex;
    justify-content: center;
  }
  
  .employee .col-lg-4 {
    display: flex;
    justify-content: center;
  }
  
  .card.h-100 {
    display: flex;
    flex-direction: column;
  }
  
  .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  

  .employee .card {
    max-width: 320px;
    border: none;
  }


/* --------------------------- */

/***********************
    FOOTER and COPYRIGHT
***********************/

.footer {
  background: #689b8e;/*rgba(135, 187, 190) !important;*/
  color: #bf28ba;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  text-align: center;
}

.footer h5 {
  font-weight: 400;
  text-align: left;  /* this property has somehow no effect -> CHECK! */
  text-transform: uppercase;
}

.footer:last-child tbody tr td:first-child{
  text-align: center;
}

.footer .container {  
  margin-bottom: 5vh;
}


@media (min-width: 576px) and (max-width: 991px) {

  .footer .container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem !important;
  }

  .footer h5 {
    margin-bottom: -0.2rem !important;
  }

  .footer .container div div:nth-of-type(3){
    margin-top: 3rem !important;
  }

  .footer .container div div:nth-of-type(4){
    margin-top: 3rem !important;
  }
}


@media (max-width: 575px) {
  .footer h5{
    margin-top: 2rem;
    margin-bottom: -0.1rem;
  }

  .footer .container {
    margin-top: 0;
    margin-left: -1rem !important;
    padding-left: 0 !important;
    margin-bottom: 0rem;
  }

  .footer .container div div:first-of-type {
    margin-top: -1rem;
  }

  .footer .logo-container {
    margin-top: 1rem !important;
  }

  .copyright {
    margin: 0;
  }
}

.footer-element {
  min-width: 75%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: fit-content;
  margin: auto;
}

.logo-container {
  margin-left: 2vh;
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: flex-start;
}

@media (max-width: 991px) {
.logo-container {
    margin-top: 5%;
    margin-left: 13.3%;
    flex-direction: column;
    align-items: flex-start;
}
}

.logoA {
  max-height: 60px;
}

.logoB {
  margin-top: 1rem;
  max-height: 55px;
}

.logoC {
  margin-top: 1rem;
  max-height: 75px;
}


.copyright{
line-height: 1em;
background-color: #32534b;/*rgba(0, 0, 0, 0.3);*/
}

.copyright li {
  display: inline-block;
  margin-left: 1em;
  padding-left: 1em;
  border-left: solid 1px;
}

.copyright li:first-child{
  border: 0;
  margin: 0;
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 0;
}

.copyright a {
  color: inherit;
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
}

.footer .t-spc{
text-align: left;
margin-left: 0em;
margin-top: 1rem;
}

.footer .container .row .col-xl-3:first-child tr{
line-height: 1.5rem;
}

.t-spc tr {
  line-height: 2rem;
}

.t-spc a {
  color:#ffffff;
  text-decoration: none;
}

.t-spc a:hover{
  text-decoration: underline;
}

.t-spc-openhours {
margin-left: 0em;
margin-top: 10px;
}

.t-spc-openhours tr{
  border-bottom: 1px solid;
  line-height: 3rem;
}

.t-spc-openhours tr:last-child {
  border: none;
}

.openhours {
color: #ffffff;
}

.openhours tr td:first-child {
  padding-left: 0.2em;
  text-align: left;
  width: 6em;
}

.openhours tr td:last-child {
  text-align: center;
  width: 10em;
}

.socialbutton {
font-size: 2.2rem;
align-items: start;
margin-top: 1.5rem;
text-align: left;
margin-bottom: 1rem;
}

.socialbutton a {
  text-decoration: none;
  color: #ffffffc2;
  margin-right: 1em;
}

.socialbutton a:first-child {
  margin-left: 0rem;
}

.socialbutton a:hover {
  color:#ffffff;
}

.iconup tr td:first-child {
font-size: 1.3rem;
}



/*************** 
  IMPRESSUM 
***************/

.impressum-outer {
display: flex;
align-items: center;
justify-content: center;
}

.impressum {
width: 92%;
line-height: 2rem;
font-weight: 400;
font-size: large;
display: inline;
font-family: 'Inter', sans-serif;  
color: #000000;  
margin-top: 10dvh;
margin-bottom: 5rem;
padding-left: 5dvh;
padding-right: 5dvh;
border-radius: 10px;
background-color: #ffffff;
}


.impressum h1 {
  text-align: left;
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  padding-top: 3dvh;
  margin-bottom: 8dvh;
}

.impressum h2 {
  text-decoration: underline;
  font-weight: 500;
  font-size: large;
  letter-spacing: -0.25px;
  margin-top: 4dvh;
  margin-bottom: 2dvh;
}

@media screen and (max-width: 991px) {
  .impressum {
    font-size: medium;
    margin-top: 3dvh;
    margin-bottom: 2.5dvh;
    padding-left: 3dvh;
    padding-right: 3dvh;
  }
  .impressum h1 {
    font-size: 3.5dvh;
  }

  .impressum h2 {
    font-size: large;
  }
}

.impressum p {
  text-align: start;
  margin-bottom: 3rem;
}

.impressum p:last-of-type {
  margin-top: 5rem;
  margin-bottom: 2rem;
}

.impressum a {
  color: #000000;
  text-decoration: none;
}

.impressum a:hover {
  text-decoration: underline;
}




/************************* 
  DATENSCHUTZRICHTLINIE 
**************************/

.datenschutzrichtlinie-outer{
display: flex;
align-items: center;
justify-content: center;
}

.datenschutzrichtlinie {
width: 92%;
line-height: 2rem;
font-weight: 400;
font-size: large;
display: inline;
font-family: 'Inter', sans-serif;  
color: #000000;  
margin-top: 10dvh;
margin-bottom: 5rem;
padding-left: 5dvh;
padding-right: 5dvh;
border-radius: 10px;
background-color: #ffffff;
}

.datenschutzrichtlinie h1 {
  text-align: left;
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  padding-top: 3dvh;
  margin-bottom: 8dvh;
}

.datenschutzrichtlinie h2 {
  text-decoration: underline;
  font-weight: 500;
  font-size: large;
  letter-spacing: -0.25px;
  margin-top: 4dvh;
  margin-bottom: 2dvh;
}

@media screen and (max-width: 991px) {
  .datenschutzrichtlinie {
    font-size: medium;
    margin-top: 3dvh;
    margin-bottom: 2.5dvh;
    padding-left: 3dvh;
    padding-right: 3dvh;
  }
  .datenschutzrichtlinie h1 {
    font-size: 3.5dvh;
  }

  .datenschutzrichtlinie h2 {
    font-size: large;
  }
}

.datenschutzrichtlinie p {
  text-align: justify;
  margin-bottom: 3rem;
}

.datenschutzrichtlinie a {
  color: #000000;
  text-decoration: none;
}

.datenschutzrichtlinie a:hover {
  text-decoration: underline;
}

/* ---------------------------------- */



/************************* 
  Anfahrt
**************************/

/* Only Standort page: keep navbar solid on desktop (>= 992px), even at scroll top */
@media (min-width: 992px) {
  .static-navbar-colour #navbar,
  .static-navbar-colour #navbar.scrolled {
    background-color: #689b8af4 !important;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2) !important;
  }
}

/* ---------------------------------- */


/************************* 
  Kontakt
**************************/

.contact-text {
  text-align: left;
}

.contact-text p {
  padding-right: 5  rem;
  line-height: 1.65rem;
  letter-spacing: -0.2px;
  margin-bottom: 0rem;
}

.contact-text p:first-of-type {
  margin-top: -0.5rem;
}

.contact-text p strong {
  font-weight: 500;
}

.contact-text a:first-of-type {
  color: black;
  text-decoration: none;
}
/* ---------------------------------- */