.hero {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
}
.content {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: 400;
}
img {
    max-width: 100%;
    height: auto;
}
.navbar {
    padding: 0.2rem 1rem;
}
.navbar-nav {
    flex-direction: row;
    justify-content: center;
    width: 100%;
}
.navbar .container-fluid {
    max-width: 1100px;
    margin: 0 auto;
}
.navbar-brand {
    height: 80px;
    width: auto;
    margin-left: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-shrink: 0;
}
.navbar-brand img {
    width: auto;
    height: 100%;
    object-fit: contain;
}
.navbar-nav .nav-item {
    margin-right: 15px;
    font-weight: bold;
}
.navbar-nav .nav-link {
    color: #000000; 
    font-weight:bold;
    padding: 10px 15px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.navbar-nav .nav-link.active {
    background-color: #5f5685;
    color: white !important;
    font-weight: bolder;
    border-radius: 5px;
}
.navbar-nav .nav-link:hover {
    background-color: #655b8e;
    color: white !important;
    font-weight: bold;
    border-radius: 5px;
}
a {
    color: #1f6f9f;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease-in-out;
    font-weight: bold;
}
a:hover {
    color: #0f766e;
    border-bottom: 2px solid #0f766e;
    text-decoration: none;
}
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}
body {
    padding-top: 0;
    color: #222;
}
.content p,
.content li {
    line-height: 1.6;
}
.content h2,
.content h3,
.content h4 {
    margin-bottom: 1rem;
}
.home-page .home-image {
    display: block;
    margin: 0 auto;
     max-width: 40%;
}
.btn-custom {
    background-color: #39407e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.btn-custom:hover {
    background-color: #0f766e;
    color: #fff;
}
h1, h2, h3, h4, h5, h6 {
    color: #4b32b0;
    font-weight: bold;
}
.science-page .content {
    max-width: 880px;
}
.science-page .content img {
    display: block;
    margin: 1.5rem auto 0.5rem;
}
.caption {
    margin-top: 0.5rem;
    color: #667085;
    font-size: 0.9rem;
    font-weight: 400;
    text-align: center;
}
.toc a {
    color: #2b2b2b;
    border-bottom: 0;
}
.toc a:hover {
    color: #4b32b0;
    border-bottom: 0;
}
h2[id] {
    scroll-margin-top: 110px;
}
.prototype-page .row.reverse {
    align-items: center;
}
.prototype-page .row.reverse img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.prototype-image-goal {
       max-width: 75%;
       height: auto;
}
.prototype-image-foot {
       max-width: 50%;
       height: auto;
}
.prototype-image-legUnit {
       max-width:60%;
       height: auto;
}
.prototype-image-clamping {
       max-width: 60%;
       height: auto;
}
.prototype-image-weight {
       max-width: 60%;
       height: auto;
}
.prototype-image-stabilization {
       max-width: 50%;
       height: auto;
}
.prototype-image-rotunit{
       max-width: 50%;
       height: auto;
}
.meme-image {
    display: block;
    width: auto;
    max-width: min(320px, 80vw);
    height: auto;
    margin: 40px auto;
}
.contact-page .content {
    max-width: 700px;
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 0.35rem 1rem;
    }
    .navbar-brand {
        height: 60px;
        margin-left: 0;
    }
    .navbar-nav {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 0;
    }
    .navbar-nav .nav-item {
        margin-right: 0;
    }
    .navbar-nav .nav-link {
        padding: 0.65rem 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding: 32px 20px;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .prototype-page .row.reverse {
        flex-direction: column;
        gap: 1.25rem;
        margin-left: 0;
        margin-right: 0;
    }
    .prototype-page .row.reverse > .col {
        width: 100%;
        flex: 0 0 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .prototype-page .row.reverse img {
        max-width: min(100%, 420px);
    }
}


.science-image-herniateddisc{
       max-width: 60%;
       height: auto;
}
.science-image-fackmuscles{
       max-width: 90%;
       height: auto;
}
.science-image-multifidi{
       max-width: 30%;
       height: auto;
}
.science-image-formula{
       max-width: 80%;
       height: auto;
}
.science-image-formulabook{
       max-width: 70%;
       height: auto;
}
.science-image-leverlaw{
       max-width: 60%;
       height: auto;
}
.science-image-equipment{
       max-width: 50%;
       height: auto;
}

.science-image-messung1{
       max-width: 50%;
       height: auto;
}
.science-image-messung2{
       max-width: 50%;
       height: auto;
}


