/* color var */

:root {
    --red: #d62217;
    --dark-gray: #bfc2c0;
    --light-gray: #ecefed;
    --black: #3a3b3b;
    --white: #ffffff;
    --bs-dropdown-link-hover-bg: #f0f0f000; /* Replace with your desired color */
    --bs-dropdown-link-active-color: #c42020;

}

.accordion {
    --bs-accordion-btn-icon-width: 1.5rem;
    --bs-accordion-btn-icon-transform: rotate(180deg);
    --bs-accordion-btn-icon-transition: transform 0.2s;
    --bs-accordion-btn-focus-box-shadow: 0;
    --bs-accordion-active-color:var(--black);
    --bs-accordion-active-bg: var(--light-gray);
}

html {
    scroll-behavior: smooth;
}
@font-face {
    font-family: 'Glacial Indifference';
    src: url('../fonts/WEB/GlacialIndifference-Regular.woff2') format('woff2'),
        url('../fonts/WEB/GlacialIndifference-Regular.woff') format('woff');
    font-weight: 400; /* Regular */
    font-style: normal;
}
@font-face {
    font-family: 'Glacial Indifference';
    src: url('../fonts/WEB/GlacialIndifference-Bold.woff2') format('woff2'),
        url('../fonts/WEB/GlacialIndifference-Bold.woff2') format('woff');
    font-weight: 700; /* Bold */
    font-style: bold;
}
body{
    font-family: 'Glacial Indifference', sans-serif;
    font-size: 1.4rem;
    color: var(--black);
}
.nav-item.dropdown .dropdown-item:active {
   color: var(--red);
}
.custom-links{
    color: var(--red);
    text-decoration: none;}
.red-point{
color: var(--red);
}

/* header */
.fixed-header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1002;
    background: rgb(255,255,255);
    background: linear-gradient(to bottom, rgba(255,255,255,1) 80%, rgba(255, 255, 255, 0.85) 100%);
    padding-bottom: 25px;
}
.accordion .header-teaser-l span {
    margin-top: 23px;
}
.accordion .header-teaser-l {
    font-size: 3rem;
}
.nav-style, .nav-style:link, .nav-style:visited {
    position: relative;
}
.nav-style{
    padding: 0;
}
.nav-style::before {
    content: "";
    position: absolute;
    width: 90%;
    top: 0;
    bottom: 0;
    background-image: linear-gradient(90deg, #d6201734, #d6201729);
    background-size: 0 0.8px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size .3s ease-in;
}
.nav-style:hover::before {
    background-size: 100% 0.5px;
}
/* Ensure the dropdown menu shows on hover */


.dropdown-menu {
    --bs-dropdown-link-active-bg: none;}

.nav-style-dropdown{
    display: flex;
    align-items: center;
    justify-content: flex-end;}

.dropdown-style{
    padding-top: 20px;
    padding-bottom: 30px;
    padding-right: 30px;
    border: 0;
    --bs-dropdown-link-hover-bg: #70262600;}

.nav-style-dropdown::after{
    color: var(--red);
}
.dropdown-item-style-li{margin-top: 10px;}
.dropdown-item-style{padding-left: 8px; cursor: pointer;}
.dropdown-item-style::before{width: 100%;}
.nav-item.dropdown:hover .nav-style-dropdown::after {transform: rotate(180deg);}

.header-nav {
    display: flex;
    justify-content: flex-end;}
.header-nav-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-end;}
.header-nav-list div{padding-left: 20px;}


/* Custom burger icon */
.burger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;}

.burger-icon .line {
    width: 100%;
    height: 2px;
    background-color: #000; /* Change color as needed */
    transition: all 0.3s ease;
}
/* Animation when the menu is open */
.navbar-toggler[aria-expanded="true"] .line1 {transform: rotate(45deg) translate(5px, 5px);}
.navbar-toggler[aria-expanded="true"] .line2 {opacity: 0;}
.navbar-toggler[aria-expanded="true"] .line3 {transform: rotate(-45deg) translate(5px, -5px);}
.header-burger-menu{border: none;    color: #3a3b3b00;}
.navbar-collapse {transition: all 0.3s ease;}
.navbar-collapse.collapsing {transition: height 0.3s ease;}
/* Custom burger icon  End*/

/* header End*/

/* Teaser 1*/
.header-teaser{
    background-color: var(--light-gray)
}
.teaser-offer{
    background-color: #ecefed;
    padding-bottom: 30px;
}
.teaser-text {
    text-align: center; /* Centers the text horizontally */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the text vertically within its container */
    justify-content: center;
}

.teaser-text .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 3.2rem;
    font-weight: 400;
}

.teaser-text .text .text-red {
    display: block; /* Ensures each span is on a new line */
    text-align: center;
    width: 100%; /* Full width to ensure center alignment */
    color: var(--red);
    font-size: 2.4rem;
    margin-top: 15px;
}
/* Teaser 1 end*/

/* teaser-divider*/
.teaser-divider{
    height: 80px;
}

/* teaser-header*/
.header-teaser-l{
    font-size: 4rem;
    color: var(--dark-gray);
    font-family: 'Glacial Indifference', sans-serif;
}
.header-teaser-l span {
    color: var(--red);
    display: inline-block; /* Needed to apply width and height */
    width: 0.7rem;          /* Set a fixed width */
    height: 0.7rem;         /* Set a fixed height */
    text-align: center;   /* Align the text inside */
    border-radius: 50%;   /* Makes it circular */
    background-color: var(--red); /* Optional: Background color for the circle */
    margin-left: 8px;
}


.offer-text-header{
    font-family: 'Glacial Indifference', sans-serif;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.offer-text{
    font-family: 'Glacial Indifference', sans-serif;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
}
.offer-text .red-w{
color: var(--red);
}

.wiedle{
    font-size: 2.5rem;
    color: var(--black);
}

.teaser-correction-header{
    display: flex;
    justify-content: center;
    align-items: center;
}
.teaser-correction-header h3{
    color:var(--red);
    font-weight:300;
    padding-right: 80px;
}
.teaser-correction-header ul:before{
    content:attr(aria-label);
    margin-left:-25px;
}
.teaser-correction-header ul{font-size:80%;}
.read-more-button {
    display: flex;
    justify-content: center; /* Horizontally center the + symbol */
    background-color: var(--black);
    color: var(--white);
    padding: 5px;
    min-width: 45px;
    height: 45px; /* Ensure the box is square */
    text-decoration: none;
    cursor: pointer;
    font-size: 30px; /* Increase font size for the + symbol */
    line-height: 1; /* Ensure the + symbol is properly centered */
    box-sizing: border-box; /* Ensure padding is included in the width/height */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

.read-more-button:hover {
    color: var(--red); /* Change the + symbol to red */
    background-color: #3a3b3be2;
}
.bg-teaser-edditing {    background-color: var(--light-gray);}
.bg-teaser-correction{    background-color: var(--light-gray);}
.teaser-correction-text{    font-size: 1rem;}

/* teaser-about*/
.teaser-about{
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: var(--light-gray);
}
.teaser-about-text{    font-size: 1rem;}

/* teaser-Kontakt*/
.contact-teaser-text{
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    background-color: var(--light-gray);
}

.contact-teaser-text .text{
    display: flex;
    flex-direction: column;
    padding-left: 100px;
}

.contact-teaser-text .text .mail{
    font-size: 110%;
    font-weight: 600;
    color: var(--black);
}
.contact-teaser-text .text a{
    text-decoration: none;
    color: var(--black);
}
.contact-teaser-text .text a:hover{
    color: #000000;
}
.contact-teaser-text .text a:hover .email-hover {
    color: var(--red);
}
/* timeline for price */

.price-procedure {
    font-size: 1rem;
    line-height: 1.6;
}
.price-procedure-grid {
    font-size: 1rem;
    line-height: 1.6;
    background-color: var(--light-gray);
    padding-top: 40px;
    padding-bottom: 40px;
}
.timeline {
    position: relative;
    padding-left: 40px;
    margin-bottom: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    width: 2px;
    height: 100%;
    background-color: var(--light-gray);
}
.timeline-item {
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    top: 5px;
    left: -6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-gray);
}
.timeline-item .content {
    background-color: var(--light-gray);
    padding: 10px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
}


.table-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Adjusted for two columns */
    gap: 15px;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.table-header {
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
    border-bottom: 2px solid var(--light-gray);
}

.table-item {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.table-item:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .table-container {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 10px;
    }

    .table-item {
        background-color: #fff;
        padding: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        margin-bottom: 10px;
    }

    .table-header {
        display: none; /* Hide table headers on mobile */
    }

    .table-item[data-label]::before {
        content: attr(data-label) ": ";
        font-weight: bold;
        color: #555;
        display: block;
        margin-bottom: 5px;
    }
}
.sensitive-language {
    font-size: 1rem;
    line-height: 1.6;
}

.sensitive-language-grid {
    font-size: 0.9rem;
    line-height: 1.5;
    background-color: var(--light-gray);
    padding-top: 40px;
    padding-bottom: 40px;
}

.table-container-gender {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.table-header-gender {
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
    border-bottom: 2px solid var(--light-gray);
}

.table-item-gender {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.table-item-gender:last-child {border-bottom: none;}

.duden-konform {
    text-align: center;
    font-weight: bold;
    color: #d9534f;
}

.duden-konform.yes {color: #5cb85c;}


.uniformity{
    font-size: 1rem;
    line-height: 1.6;
}



.styled-list {
    list-style: none;
    padding: 0;
}

.styled-list li {
    margin-bottom: 20px;
    position: relative;
}

.styled-list .number {
    font-weight: bold;
    font-size: 1em;
    margin-right: 5px;
}


.styled-list p {
    margin: 5px 0 0 25px;
    font-size: 1em;
    line-height: 1.5;
    color: #444;
}

.page-ai{
    font-size: 1rem;
    line-height: 1.6;
    padding-bottom: 200px;
}
.page-ai-gif{
    display: flex;
    align-items: flex-end;
    margin-bottom: 30px;
}

/* footer */
.footer{
    margin-top: 70px;
    margin-bottom: 20px;
}
.footer a{
    padding-left: 10px;
    text-decoration: none;
    color: var(--black);
    font-size: 0.8rem;
    cursor: pointer;
}

.footer-icon{
    max-width: 30px;
    cursor: pointer;
}

/* Popup Styles */
.popup-privacy,
.popup-impressum,
.popup-price,
.popup-gender,
.popup-ai,
.popup-uniformity{
    display: none;
    position: fixed;
    top: 0; /* Adjust this value to match the menu's height */
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    font-size: 0.8rem;
    line-height: 1.4;
}
.edditing, .text-writting{cursor: pointer;}
.popup-privacy,
.popup-impressum,
.popup-edditing,
.popup-correction {
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    position: fixed;
    top: 100px; /* Adjust this value to match the menu's height */
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    font-size: 0.8rem;
    line-height: 1.4;
}
.popup-content-w{
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 70%;
    height: 80%;
    overflow-y: auto;
}

.popup-ai-gif{
    max-width: 500px;
}

.popup-content{
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    height: 80%;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.09);
}
.popup-contents {
    position: relative;
    background-color: #fff;
    margin: 8% auto;
    height: 100%;
    overflow-y: auto;
    padding-bottom: 200px;
}
.close-btn {
    position: fixed;
    top: 150px;
    right: 55px;
    font-size: 3rem;
    cursor: pointer;
    color: var(--black);
    z-index: 1002;
}
.close-btn:hover {color: var(--dark-gray);}

.no-scroll {
    overflow: hidden; /* Disable scrolling */
    width: 100%; /* Ensure the body doesn't scroll */
}


.card-correction {
    position: relative;
    width: 100%; /* Adjust as needed */
    height: 400px; /* Adjust as needed */
    perspective: 1000px; /* Adds 3D perspective */
    border: 0;
}

.front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hide the back face when flipped */
    transition: transform 0.7s ease; /* Smooth transition */
}

.front {    transform: rotateY(0deg); /* Front face is visible by default */}
.back {    transform: rotateY(180deg); /* Back face is hidden by default */}
.card-correction.flipped .front {    transform: rotateY(-180deg); /* Flip front face */}
.card-correction.flipped .back {transform: rotateY(0deg); /* Show back face */}

@media (min-width: 991px) { /* Adjust breakpoint if needed */
        /* Ensure the dropdown menu shows on hover */
        .nav-item.dropdown:hover .dropdown-menu {
            display: block; /* Show dropdown */
            margin-top: 0;  /* Optional: Prevent jump effect */
        }

        /* Optional: To ensure smooth hover behavior */
        .dropdown-menu {
            transition: opacity 0.3s ease, visibility 0.3s ease;
            opacity: 0;             /* Initially hidden */
            visibility: hidden;     /* Initially hidden */
        }

        .nav-item.dropdown:hover .dropdown-menu {
            opacity: 1;             /* Fully visible */
            visibility: visible;    /* Fully visible */
        }
}

/* media max-width 768px */
@media (max-width: 768px) {
    .accordion .header-teaser-l span {
        margin-top: 15px;
        width: 0.5rem;
        height: 0.5rem;
    }
    .accordion .header-teaser-l {        font-size: 2rem;    }
    .header-teaser-l{
        font-size: 2.5rem;
        color: var(--dark-gray);
        font-family: 'Glacial Indifference', sans-serif;
    }

    .close-btn {
        position: fixed;
        top: 66px;
        right: 37px;
        font-size: 3rem;
        cursor: pointer;
        color: var(--black);
    }

    .page-ai {        padding-bottom: 100px;    }
    .header-icon{        min-width: 150px;    }
    .dropdown-style{padding-top: 10px; padding-right: 10px;}
    .dropdown-item-style{ display: flex; justify-content: flex-end; padding-right: 10px;}


    .card-correction {max-height: 250px;    }

    .popup-contents {margin: 5% auto;    }
    .teaser-text{
        margin-top: 50px;
        margin-bottom: 50px;
    }
    /* teaser-Kontakt*/
    .contact-teaser-text{
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .contact-teaser-text .text{padding: 0  ;}
    .contact-teaser-text{justify-content: center;}
    .contact-teaser-text .text{
        align-items: center;
        padding-left: 0;}

    .popup-privacy,
    .popup-impressum,
    .popup-edditing,
    .popup-correction {top: 60px;}
    .popup-content-w, .popup-content{
        position: relative;
        background-color: #fff;
        margin: 5% auto;
        padding: 20px;
        width: auto;
        height: 90%;
    }
    .popup-ai-gif{
        max-width: 300px;
    }
    .table-container-gender {grid-template-columns: 1fr;}
    .table-header-gender {display: none; /* Hide headers on mobile */}
    .table-item-gender {
        display: flex;
        flex-direction: column;
        border-bottom: none;
        padding: 10px 0;}

    .table-item-gender::before {
        content: attr(data-label); /* Display the data-label as a pseudo-element */
        font-weight: bold;
        margin-bottom: 5px;
        color: #333;    }

    .table-item-gender.duden-konform::before {content: attr(data-label); /* Ensure Duden-konform label is displayed */}
}


@media (min-width: 1568px) {
    .popup-contents{
        margin: 5% auto;
    }
}
