
/* VARIABLES */
:root {
    --c-dark: #538dac;
    --c-darker: #073953;
    --c-brand: #4e57d4;
    --c-brand-light: #5d9bbd;
    --c-brand-rgb: 78, 87, 212;
    --c-body: #727272;
    --font-base: "Verdana", sans-serif;
    --box-shadow: 0px 15px 25px rgba(0,0,0,0.08);
    --transition: all 0.5s ease;
}

/* RESET & HELPERS */
body {
    font-family: var(--font-base);
    line-height: 1.7;
    color: var(--c-body);
}

p {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.6;
    text-align: justify;
}

.sprechzeiten p {
    margin: 0px;
}

li {
    font-size: 1.3rem;
}

.text-logo {
    color: #073953;
}


.leistungen {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: flex-start;
}

.leistungen .leistung {
    width: calc(50% - 1rem);
    margin: .4rem;
    background-color: #fff;
    box-shadow: 0 0 .5rem rgba(28, 49, 68, .4);
    padding: 1rem;
}

h1, h2, h3,h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 600;
    color: var(--c-darker);
}

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

a:hover {
    color: var(--c-brand-light);
}

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

span.anchor {
    margin-top: -54px; /* height of nav, in this case 54px */
    display: block;
    height: 54px; /* height of nav, in this case 54px */
    visibility: hidden;
    position: relative;
}

.custom-font {
    font-family: 'Georgia', 'Times New Roman', serif; 
    font-style: italic;   
}

.section-padding {
    padding-top: 70px;
    padding-bottom: 0px;
}

.theme-shadow {
    box-shadow: var(--box-shadow);
}

/* IMAGE ZOOM */
.image-zoom {
    position: relative;
    /* overflow: hidden; */
}
.small-image {
    max-width: 400px;
    flex: 0 0 200px;
    margin-bottom: 10px; 
   /* border-radius: 50%; */
  }

.big-img {
    width: 100%;
    max-height: 850px;
    margin-bottom: 0;
}

.image-zoom-wrapper {
    overflow: hidden;
    position: relative;
}

.image-zoom-wrapper img{
     transition: var(--transition);
}

.image-zoom:hover .image-zoom-wrapper img {
    transform: scale(1.1);
}

.card {
    margin: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .card-img-top {
    max-width: 400px;
    width: 100%;
    height: auto;
  }

  .card-body {
    display: flex;
    flex-direction: column;
    
    padding: 1rem; 
  }
  
 


/* NAVBAR */
.navbar {
    
    background-color: rgba(255, 255, 255, 0.151);
    box-shadow: var(--box-shadow);
}

.navbar-nav .nav-link {
    display: inline-block;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 18px;
    margin: 0 5px;
    position: relative; 
    overflow: hidden;
    color: #1c3144;
}

.navbar-nav .nav-link::before,
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #1c3144; 
    transition: width 0.3s ease;
}

.navbar-nav .nav-link::before {
    top: 0;
    left: 0;
}

.navbar-nav .nav-link::after {
    bottom: 0;
    right: 0;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link:hover::after {
    width: 100%; 
}

.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    background-color: var(--c-dark); 
    color: white; 
    border-radius: 4px; 
    transition: background-color 0.3s, color 0.4s;
}

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

@media (max-width: 768px) { 
    .navbar-brand {
        text-align: left; 
    }
    .navbar-brand .fw-bold {
        display: block; 
    }
}


/* BTN */
.btn {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 20px;
    padding: 10px 24px;
}

.btn-brand {
    background-color: var(--c-dark);
    border-color: var(--c-darker);
    color: white;
}

.btn-brand:hover {
    background-color: var(--c-brand-light);
    border-color: var(--c-brand-light);
    color: white;
}

.customcard {
    background-color: var(--c-dark);
    padding: 20px;
    width: 80%; 
    max-width: 80%;
    border-radius: 10px;
    margin: 0 auto; 
    margin-top: 40px;
    margin-left: 10%;
}

/* HERO */
#hero {
    background: /*HIER DAS BILD FÜR START ÄNDERN NACH ../images/ den Namen des Bildes eingeben mit korrekter Endung zB. .jpg oder .png */ url(../images/prax6.jpg);
    background-position: center;
    background-size: cover;
}
.hero-container {
    background-color: var(--c-dark);
    padding: 20px;
    width: 60%; 
    max-width: 1024px;
    border-radius: 10px;
    margin: 0 auto; 
    margin-left: 60px;
    position: absolute; 
    top: 110%; 
    transform: translateY(-50%);
  }
  .hero-container h2 {
    font-size: calc(0.9vw + 1.325rem); 
  } 
  .hero-container h3 {
    font-size: calc(0.6vw + 1.3rem); 
  } 
  .hero-container h4 {
    font-size: calc(0.3vw + 1.275rem); 
  }

  .hero-container2 {
    background-color: var(--c-dark);
    padding: 20px;
    width: 60%; 
    max-width: 1024px;
    font-size: 15px;
    border-radius: 10px;
    margin: 0 auto; 
    margin-left: 60px;
    position: absolute; 
    margin-top: 130px;
    transform: translateY(-50%);
  }



.section-title {
    margin-bottom: 60px;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background-color: var(--c-brand);
    margin: 16px auto 24px auto;
}

.section-title p {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.kontakt {
    background-color: var(--c-dark);
    padding: 20px;
    text-align: center; 
    color: white;
    border-radius: 0px;
    margin-bottom: 0px;
    
}

.kontakt p {
    margin: 0; 
    font-size: 1rem; 
}

.card {
    display: flex;
    flex-direction: row; 
    align-items: center; 
    height: 150px;
    width: 100%;
    margin-bottom: 20px;
}

.card-img-top {
    flex-shrink: 0;
    width: 150px; 
    height: 100%;
    object-fit: cover;
    margin-right: 15px; 
}

.card-body {
    flex: 1; 
    padding: 0; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-img {
    border-radius: 50%;
    height: 60px;
    width: 60px;
    background-color: white;
    display: block; 
    margin: 0 auto 10px auto; 
    }

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

.row {
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    margin-right: 0px;
}

.map-container {
    margin-top: 20px; 
    width: 100%; 
    height: 450px; 
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0; 
}

/* ICONBOX */
.iconbox {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--c-brand-rgb), 0.1);
    color: var(--c-brand);
    font-size: 34px;
    flex: none;
}


/* COUNTER */
#counter {
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.8), rgba(var(--c-brand-rgb), 0.8)), url(../images/counter.jpg);
    background-position: center;
    background-size: cover;
}

/* PORTFOLIO */
.portfolio-item .iconbox {
    background-color: var(--c-brand);
    color: white;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.portfolio-item:hover .iconbox {
    opacity: 1;
    top: 50%;
}

/* REVIEW */
.review small {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--c-brand);
}

.review-head {
    position: relative;
}

.review-head::after {
    content: "";
    width: 28px;
    height: 28px;
    position: absolute;
    bottom: -14px;
    background-color: white;
    transform: rotate(45deg);
}

/* TEAM */
.team-member-content {
    background-color: var(--c-brand);
    position: absolute;
    bottom: -24px;
    left: 50%;
    width: calc(100% - 50px);
    transform: translateX(-50%);
    padding: 24px;
    transition: var(--transition);
    opacity: 0;
}

.team-member:hover .team-member-content {
    opacity: 1;
    bottom: 24px;
}



/* FOOTER */
footer {
    padding-top: 20px;
    background-color: #1c3144;
}

.footer-top {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #152432;
}


footer li,
footer p,
footer a {
    color: rgba(255,255,255,0.7);
    
}

footer ul {
    list-style: none;
    padding: 0;
}

footer .line {
    width: 40px;
    height: 4px;
    background-color: var(--c-brand);
    margin-top: 12px;
    margin-bottom: 24px;
}

.footer-nav {
    display: flex; 
    margin-bottom: 10px;
}

.footer-nav i {
    font-size: 36px; 
    margin-right: 15px; 
}

.footer-nav span {
    margin-top: 10px;
    font-size: 28px; 
    font-weight: bold;
    
}

.footer-links li span {
    margin-left: 10px; 
}

.footer-nav p {
    margin-top: 2px;   
    margin-bottom: 2px; 
}

.footer-nav p span {
    
    text-align: right;
}

dl {
    display: flex;
    justify-content: space-between; 
    font-size: 16px;
    margin: 0;
    color: lightgray;
}

dt {
    font-weight: bold;
}

dd {
    margin-right: 20px; 
}

.dashed-line {
    border: none;
    border-top: 2px dashed #ccc; 
    margin: 0;
    
}