* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

p {
    text-align: left;
    hyphens: auto;
    overflow-wrap: break-word;
}

.page-wrapper {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;

}


.halo-image {
    background-image: url("../image/toranaga_top_image.png");
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 370px;
    width: 100%;
    position: relative;
}

.halo-image-low {
    background-image: url("../image/toranaga_top_image.png");
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 150px;
}

.halo-text-group {
    display: flex;
    flex-direction: column;
    padding: 80px 30px 0;

    max-width: 700px;
    gap: 30px;
    justify-content: space-between;
}

.halo-subtext-group {
    text-shadow: 1px 1px #000;
    position: relative;
}

.halo-text {
    color: #fff;
    font-weight: 700;
    font-size: 2rem;
    text-shadow: 1px 1px #000;
}

.halo-text-impressum,
.halo-text-widerrufsrecht,
.halo-text-kurs {
    color: #fff;
    font-weight: 700;
    font-size: 2.2rem;
    text-shadow: 1px 1px #000;
    position: absolute;
    top: 80px;
    left: 20px;
}

.halo-text-datenschutz {
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 1px 1px #000;
    position: absolute;
    top: 55px;
    left: 20px;
}

.halo-text-agb {
    color: #fff;
    font-weight: 700;
    font-size: 3rem;
    text-shadow: 1px 1px #000;
    position: absolute;
    top: 40px;
    left: 20px;
}

.halo-subtext-title-agb {
    color: #fff;
    font-weight: 400;
    font-size: 1.5rem;
    text-shadow: 1px 1px #000;
    position: absolute;
    top: 100px;
    left: 20px;
}

.halo-subtext-group-agb {
    color: #fff;
    font-weight: 400;
    font-size: 1.2rem;
    position: absolute;
    top: 180px;
    left: 10px;
    padding: 10px;
}

.halo-text-kurs {
    color: #fff;
    position: absolute;
    top: 35px;
    left: 20px;
    font-size: 1.8rem;
    text-shadow: 1px 1px #000;
}

.halo-subtext-title-kurs {
    color: #fff;
    font-weight: 400;
    font-size: 1.2rem;
    text-shadow: 1px 1px #000;
    position: absolute;
    top: 110px;
    left: 20px;
    padding-right: 15px;
}

.halo-subtext-group-kurs {
    color: #fff;
    padding-right: 15px;
    margin-bottom: 10px;
    font-weight: 200;
    font-size: 1rem;
    position: absolute;
    top: 165px;
    left: 10px;
}

.kurs-list {
    list-style: none;

}



.halo-text-n5 {
    position: absolute;
    color: #fff;
    font-weight: 700;
    font-size: 2rem;
    top: 45px;
}

.halo-subtext {

    color: #fff;
    font-weight: 100;
    font-size: 1.5rem;
    position: absolute;
    top: 160px;
    left: 20px;
    text-shadow: 1px 1px #000;
}

.halo-subtext-n5 {
    position: absolute;
    color: #fff;
    top: 90px;
    padding-right: 15px;
}


main {
    padding: 20px;
}

.pic-container {
    display: flex;
    justify-content: center;
    margin: 15px;
}

.profile-pic,
.bookandcherry {
    max-width: 320px;
    border-radius: 10px;
}

button {
    background-color: rgb(230, 118, 137);
    padding: 10px;
    border-radius: 10px;
    color: #fff;
    border: none;
    width: 100%;
    cursor: pointer;

}

.kurs-price {
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.datenschutz-container,
.impressum-container,
.agb-container,
.widerrufsrecht-container {
    padding: 0 10px;
}

.datenschutz-text {
    font-size: 2rem;
}

.dsgvo-list {
    padding-left: 2rem;
}

.impressum-text,
.datenschutz-text,
.agb-text,
.widerrufsrecht-text {
    font-size: 1.2rem;
}

.anfrage-wrapper {
    display: flex;
    justify-content: center;
}

.anfrage-form {
    border-radius: 20px;
    box-shadow: 0 2px 4px gray;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: auto;
    width: 350px;
}

.anfrage-form input,
.anfrage-form select,
.anfrage-form textarea {
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.anfrage.form label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.anfrage-form input[type="submit"] {
    background-color: #4a6cf7;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
}

.anfrage-form input[type="submit"]:hover {
    background-color: #3b5be0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.n5-kurs-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.n5-text-wrapper {
    width: 300px;
}

.n5-text {
    font-size: clamp(1rem, 2vw, 1.5rem);
    padding: 10px;
}

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

/* FAQ */

.faq__boxes {
    display: grid;
    gap: 12px;
}

.faq-box[open] .faq-box__head::after {
    rotate: 90deg;
}

.faq-box__head {
    display: block;
    background-color: rgb(230, 118, 137);
    color: #fff;
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 5px;

}

.faq-box__head::before,
.faq-box__head::after {
    content: "";
    position: absolute;
    top: 50%;
    translate: 0 -50%;
    background-color: #fff;
}

.faq-box__head::before {
    width: 16px;
    height: 2px;
    right: 16px;
}

.faq-box__head::after {
    width: 2px;
    height: 16px;
    right: 23px;
    transition: rotate 0.3s;
}


.faq-box__head::-webkit-details-maker {
    display: none;
}

.faq-box__body {
    overflow: hidden;
}

.faq-box__content {
    padding: 20px;
    font-size: 1.2rem;
}

/* END FAQ */

.halo-text-anfrage {
    position: absolute;
    color: #fff;
    top: 35px;

}

.halo-subtext-anfrage {
    position: absolute;
    color: #fff;
    top: 90px;
    font-size: 1.2rem;
    padding-right: 15px;
}




.send-bestaetigung-wrapper {
    background-image: url("../image/toranaga_top_image.png");
    background-repeat: repeat;
    display: flex;
    justify-content: center;
    position: relative;
    top: 100px;

}

.send-bestaetigung {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;

}


nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 15px;
    border-radius: 10px;
    list-style: none;
    gap: 10px;
    z-index: 1000;
}

nav ul.active {
    display: flex;
}

nav ul a {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
}

nav ul li {
    padding: 5px;
}

nav ul a {
    color: #fff;
    font-size: 1.5rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-decoration: none;
    cursor: pointer;
}

nav ul a:hover {
    text-decoration: underline;
}



.main-text-container {
    display: flex;
    flex-direction: column;
}

.main-text,
.jlpt-text,
.schulleiter-text {
    margin-top: 5px;
    font-size: clamp(0.1rem, 1.2rem, 1.5rem);
}

.sub.title.wrapper {
    margin-top: 10px;
}

.schulleiter-container {
    display: flex;
    flex-direction: column;
}

.kurs-link-button,
.browser-back-button {
    color: #fff;
    background-color: rgb(230, 118, 137);
    font-size: 15px;
    margin: 20px 0;
    cursor: pointer;
}

.kurs-link-button a {
    color: #fff;
    cursor: pointer;
}


.footer {
    margin-top: auto;
    display: flex;
    background-color: #000;
    align-items: center;
    gap: 10px;
    min-height: 90px;
    color: #fff;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0;
    font-size: 0.9rem;

}

.footer-text {
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.footer-link {
    display: flex;
    gap: 10px;
    list-style-type: none;
}

.footer-link a {
    text-decoration: none;
    color: #fff;
    cursor: pointer;
}

.halo-subtext {
    padding: 0 15px;
}



.halo-subtext-group {
    color: #fff;
    position: absolute;
    top: 200px;
    left: 25px;

}

.halo-subtext-title {
    color: #fff;
    font-size: clamp(1.2rem, 1.5vw, 3rem);
    position: absolute;
    top: 150px;
    left: 18px;
    text-shadow: 1px 1px #000;



}

.hallo-sub-text {
    font-size: clamp(1rem, 2vw, 3rem);

}

.sub-title-wrapper {
    margin-top: 10px;
}

h1 .halo-text {
    color: #fff;
    position: absolute;
    top: 35px;
    left: 20px;
    font-size: 1.8rem;
    text-shadow: 1px 1px #000;
}

.kurs-card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;


}

.kurs-sub-text {
    font-size: clamp(1rem, 1.5rem, 2rem);
    margin-bottom: 10px;
    text-align: center;
}

.kurs-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid black;
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
    width: 320px;
    height: auto;
    box-shadow: 1px 2px 4px #000;
}

.send-bestaetigung {
    position: relative;
    display: flex;
    border-radius: 10px;
    box-shadow: 0 2px 4px #000;
    flex-direction: column;
    padding: 40px;
    top: 60px;
    margin: 0 40px;
    height: auto;
}

.send-bestaetigung p {
    font-size: 1.5rem;
}


.send-bestaetigung button a {
    color: #fff;
    font-size: 1.5rem;
}

.hamburger {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 4px;
    background: white;
    border-radius: 2px;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 10px;
}

.hamburger span:nth-child(3) {
    top: 20px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

.to-top {
    position: fixed;
    bottom: 200px;
    right: 10px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #000;
    color: white;
    font-size: 22px;
    border: none;
    cursor: pointer;
    display: none;
    z-index: 1000;
}

.to-top:hover {
    background-color: #000;
}

.dsgvo-consent {
    margin-top: 5px;
    padding: 5px 10px;
    border: 1px solid lightgray;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 5px;

}

.dsgvo-consent input[type="checkbox"] {
    position: relative;
    width: auto;
    top: 2px;
}

.dsgvo-consent label {
    display: block;
    white-space: normal;
}

.input-consent {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.live__image-wrapper{
    display: flex;
    justify-content: center;
}

.live__image {
    border: 1px solid #000;
    width: 350px;
}

/* ===============================
   Cookie Policy button position fix (mobile)
================================ */

.cc-revoke {
    bottom: 100px !important;
    /* move above footer */
    left: 10px !important;
    z-index: 2000;
    /* keep it above content */
}

.cc-bottom {
    border-radius: .5rem;
}

.cc-color-override-688238583.cc-revoke {
    color: #fff;
    background-color: #000;
}






/* For PC */
@media screen and (min-width: 768px) {

    .halo-text {
        font-size: 3rem;
    }

    .halo-subtext {

        color: #fff;
        font-weight: 100;
        font-size: 2rem;
        position: absolute;
        top: 160px;
        left: 20px;
        text-shadow: 1px 1px #000;
    }

    .halo-text-agb {
        color: #fff;
        font-weight: 700;
        font-size: 3rem;
        text-shadow: 1px 1px #000;
        position: absolute;
        top: 20px;
    }

    .halo-subtext-title-agb {
        color: #fff;
        font-weight: 500;
        font-size: 2rem;
        text-shadow: 1px 1px #000;
        position: absolute;
        top: 90px;
    }

    .halo-subtext-group-agb {
        color: #fff;
        font-weight: 400;
        font-size: 1.5rem;
        position: absolute;
        top: 140px;
    }

    .halo-text-n5 {
        font-size: 2.5rem;
        top: 50px;
    }

    .halo-subtext-n5 {
        font-size: 1.5rem;
        top: 100px;
    }

    .halo-subtext-title {
        position: absolute;
        top: 120px;
    }

    .halo-subtext-group {
        position: absolute;
        top: 160px;
        left: 50px;
    }

    .halo-subtext-group p {
        font-size: 1.5rem;
    }

    .halo-subtext-group ul {
        font-size: 1.5rem;
    }

    .sub-title-wrapper {
        margin-top: 20px;
    }

    .main-text-container {
        margin-top: 10px;
        flex-direction: row;
    }

    .main-text,
    .schulleiter-text {
        margin-top: 15px;
    }

    .kurs-card-container {
        display: flex;
        justify-content: flex-start;
    }

    .kurs-card {
        min-height: 450px;
    }

    .schulleiter-container {

        flex-direction: row;
        align-items: flex-start;

    }

    .anfrage-form {
        width: 80%;
        height: auto;
    }

    .hamburger {
        display: none;
    }

    nav ul {
        display: flex;
        flex-direction: row;
        position: absolute;
        top: 10px;
        right: 10px;
        background: none;
        padding: 0;
        gap: 10px;
    }

    nav ul a {
        font-size: 1.5rem;
    }

    .to-top {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    /* FAQ */

    .faq__boxes {
        display: grid;
        gap: 12px;
    }

    .faq-box__head {
        font-size: 1.5rem;

    }

    .faq-box__content {
        font-size: 1.5rem;
    }

    .faq__box-head::-webkit-details-maker {
        display: none;
    }

    .faq__box-content {}

    /* END FAQ */

    .halo-text-anfrage {
        position: absolute;
        color: #fff;
        top: 30px;
        font-size: 3rem;

    }

    .halo-subtext-anfrage {
        position: absolute;
        color: #fff;
        top: 100px;
        font-size: 1.5rem;
    }

    .halo-text-impressum,
    .halo-text-datenschutz,
    .halo-text-widerrufsrecht,
     .halo-text-kurs {
        color: #fff;
        font-weight: 700;
        font-size: 2.5rem;
        text-shadow: 1px 1px #000;
        position: absolute;
        top: 50px;
    }


    .dsgvo-consent {
        margin-top: 5px;
        border: 1px solid lightgray;
        align-items: flex-start;
        gap: 2px;
    }


    input[type="checkbox"] {
        margin-top: 0;

    }

    .input-consent {
        display: flex;
        align-items: baseline;
        gap: 5px;
    }

    .impressum-text,
    .datenschutz-text,
    .agb-text,
    .widerrufsrecht-text {
        font-size: 1.5rem;
    }

    .live__image-wrapper{
        display: flex;
        justify-content: flex-start;
    }
    
    .live__image {
        border: 1px solid #000;
        width: 600px;
    }


    /* ===============================
   Cookie Policy button position fix (mobile)
================================ */

    .cc-revoke {
        bottom: 50px !important;
        /* move above footer */
        left: 10px !important;
        z-index: 2000;
        /* keep it above content */
    }

    .cc-bottom {
        border-radius: .5rem;
    }

    .cc-color-override-688238583.cc-revoke {
        color: #fff;
        background-color: #000;
    }
}

/* For Tablet */
@media screen and (max-width:768px) {}