/* **********************        Variables        ***************** */
:root {
    --team-image-size: 200px;
    --dark-emphasis-color: #1b1f22;
    --light-emphasis-color: #fdfafa;
    /* --light-emphasis-color: #fefdfe; */

    /* checkbox sizing */
    --checkbox-size: 1.5em;
    --label-start-offset: calc((var(--checkbox-size) - 1em)*0.5);

    /* color */
    --input-border: #303030;
    --main-text-color: #303030;
    --main-red: #94121d;

    --white-bg: rgba(255, 255, 255, 0.2);
    --blue-bg: rgba(192, 212, 234, 0.2);
    --transparency-base: 0.2;
    --transparency-white-bg: var(--transparency-base);
    --transparency-blue-bg: var(--transparency-base);

    --blur-value: 3px;
}
/* ! Base Fontsize nur mit Sass anpassen! */

/* **********************        General           ***************** */
*{
    margin: 0;
    padding: 0;
    color: var(--main-text-color) 
}
.text-main-color{
    color: var(--main-red) !important;
}
form .card{
    border-color: var(--main-red) !important;
}

.card-blur{
    background: var(--white-bg) !important;
    backdrop-filter: blur(var(--blur-value));
    -webkit-backdrop-filter: blur(var(--blur-value));
}

.card-blur-blue{
    background: var(--blue-bg) !important;
    backdrop-filter: blur(var(--blur-value));
    -webkit-backdrop-filter: blur(var(--blur-value));
}

html {
    scroll-padding-top: 115px; /* Offset for navbar when scrolling to anchors */
    background-color: #FFFFFF;
}
html, body{
    scroll-behavior: smooth;
}

body{
    background-color: #FFFFFF00;
}

[data-bs-theme="dark"] .card{
    background-color: var(--dark-emphasis-color);
    border-color: #495057;
}
/* [data-bs-theme="light"] .card{
    background-color: var(--light-emphasis-color);
} */

.border-secondary {
    border: 3px solid #C0D4EA !important;
}

/* custom svg */
.bi-smartspeaker::before {
    content: "";
    display: inline-block;
    width: 2em;
    height: 1em;
    vertical-align: -0.125em;
    background-image: url('/assets/icons/smartspeaker-fill.svg');
    background-repeat: no-repeat;
    background-size: 2em 1em;
    /* Optional: Use mask to allow coloring with text-color (like real icons) */
    background-color: currentColor;
    -webkit-mask-image: url('/assets/icons/smartspeaker-fill.svg');
    mask-image: url('/assets/icons/smartspeaker-fill.svg');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 2em 1em;
    mask-size: 2em 1em;
}

input{
    border-color: var(--input-border) !important;
}
textarea{
    border-color: var(--input-border) !important;
}

input::placeholder,
textarea::placeholder {
    font-style: italic;
}


footer{
    background-color: #FFFFFF;
}

/* **********************        Layout           ***************** */

input[type="checkbox"] {
    width: var(--checkbox-size);
    height: var(--checkbox-size);
}


.form-check {
    display: flex !important;
    gap: 8px;
}
.form-check > *{
    cursor: pointer;
}

.text-bold{
    font-weight: bold;
}

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

a{
    text-decoration: none;
}

/* ********************** Socials   ***************** */
.team-image img{
    max-width: var(--team-image-size);
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.team-image .link-cover{
    position: absolute;
    width: var(--team-image-size);
    height: var(--team-image-size);
    border-radius: 50%;
    background-color: rgba(0,0,0);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}
.team-image .link-cover:hover{
    opacity: .7;
}
.team-image .link-cover:hover i{
    transform: translate(0%, 0%);
}

.team-image .link-cover i{
    color: white;
    font-size: 48px;
    transform: translate(0%, 50%);
    transition: transform 0.3s ease;
}

#socials .logo {
    background-color: var(--bs-primary);
    width: fit-content;
    width: var(--team-image-size);
    height: var(--team-image-size);
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
#socials .logo img {
    width: var(--team-image-size);
    zoom: 0.5;
}

/* **********************  Navbar  ***************** */

.navbar .dropdown-menu .active .bi {
    display: block !important;
}

.navbar .dropdown-menu{
    padding: .25rem;
}

/* alternative highlight method 
.nav-link.active { 
  text-shadow: 0.5px 0 0 currentColor, -0.5px 0 0 currentColor;
} */

.nav-link {
  position: relative;
  padding-left: 15px;
}

@media (min-width: 992px) {
    .nav-link.active::before {
      content: "";
      position: absolute;
      left: 10%;
      bottom: 10%;
      width: 80%;
      height: 4px;
      background-color: var(--main-red); /* Your active color */
      border-radius: 2px;
    }
}

/* [data-bs-theme="light"] .logo-light {
    display: block !important;
} */
[data-bs-theme="light"] .navbar {
    background-color: #FFFFFF;
}
[data-bs-theme="dark"] .navbar {
    background-color: var(--dark-emphasis-color);
}
/* 
[data-bs-theme="dark"] .logo-dark {
    display: block !important;
} */

/* 
[data-bs-theme="light"] .navbar .navbar-brand,
[data-bs-theme="light"] .navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
}
*/

/* [data-bs-theme="light"] .navbar .nav-link:hover {
    color: #fff !important;
}  */


/* **********************  footer  ***************** */

footer{
    font-size: 0.7em;
}

/* **********************  cooporations  ***************** */

#cooporations{
    
}

/* **********************  Main Page Text  ***************** */

#main-content{
    font-family: calibri;
}

#rotating-word{
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.5s ease;
}
#rotating-word::after{
    display: block;
    content: "dokumentieren.";
    display: inline-block;
    overflow: hidden;
    visibility: hidden;
}

@media (min-width: 576px) {
    #rotating-word{
        align-items: start;
    }
    
}




/* ********************     contact form      ******************************** */
#contactForm label {
    margin-top: var(--label-start-offset);
    cursor: pointer;
}
.notice-label {
    font-size: 0.9rem;
}

/* ********************     Cooporations      ******************************** */

#cooperations img{
    max-width: 80%;
}

/* ********************     about us      ******************************** */

@media (min-width: 768px) {
    #teamPhoto{
        float: right;
        max-width: 45%;
    }
}

/* ********************     wave hero      ******************************** */

#waveCanvas {
    position: fixed;
    top: 50%;
    translate: 0% -50%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

}

#hero-text{
    z-index: 1;
    position: relative;
}

@media (min-width: 768px) {
    #hero-text .fs-6{
        font-size: 2rem !important;
    }
}

