/* ============================ */
/* ALLGEMEIN / GRUNDLEGENDES */
/* ============================ */

body {
    margin: 0;
    font-family: 'Titillium Web';
    background-color: #fff;
    color: #2D3C4B;
    font-size: 16px;
}

button {
  font-family: 'Titillium Web';
}

p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.o-andere {
  color: #ff7300;
}
/* Container für den Hauptbereich*/
.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 10%;
    gap: 20px;
    margin-top: 75px;
    margin-bottom: 100px;

    max-width: 1500px;
    /*background-color: #dedede;*/
    margin-right: auto;
    margin-left: auto;
}

h2 {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    color: #ff7300;
    margin-bottom: 10px;
}

/* Dropdown-Stile */
.dropdown {
    position: relative;
    width: 100%;
}

select {
    width: 94%;
    padding: 10px;
    font-size: 14px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #2D3C4B;
    cursor: pointer;
}

select:focus {
    border-color: #ff7300;
    outline: none;
}

.page-3 form label input[type="radio"]:checked,
.page-4 form input[type="radio"]:checked,
.page-4 form input[type="checkbox"]:checked {
    border-color: #ff7300;
    background-color: #ff7300;
}

.page-3 .option input[type="radio"]:checked {
    border-color: #ff7300;
    background-color: #ff7300;
}


.page-2 form input[type="radio"]:checked {
    background-color: #fff;
}

.page-2 form input[type="radio"],
.page-3 .option input[type="radio"],
.page-3 form label input[type="radio"],
.page-4 form label input[type="radio"],
.radio-container form label input[type="radio"],
.page-zytostatika form input[type="radio"]{
    appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    background-color: #D9D9D9;
}

.page-2 form label input,
.page-3 form label input,
.page-4 form label input,
.radio-container form label input,
.page-zytostatika form label input{
    margin-right: 50px;
}

.option-container form label input{
    margin-right: 0px;
}

form{
    padding-left: 30px;
}

/* Buttons */
.back-button, .next-button, .page-5 .result-button {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    /*border-radius: 4px;*/
}

.page-5 .back-button {
    margin-bottom: 10px;
}


.back-button {
    background-color: #fff;
    color: #2D3C4B;
    border: 1px #2D3C4B solid;
}

.back-button:hover {
    background-color: #aaa;
}

.next-button, .page-5 .result-button {
    background-color: #ff7300;
    border: 1px #ff7300 solid;
    color: #fff;
}

.next-button:hover, .page-5 .result-button:hover {
    background-color: #cc5c00;
}



/* ============================ */
/* HEADER */
/* ============================ */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;

    max-width: 1500px;
    /*background-color: #dedede;*/
    margin-right: auto;
    margin-left: auto;
}

.header .title-container{
    margin-top: 50px;
}

.header .title-container h1 {
    font-size: 44px;
    font-weight: 300;
    margin: 0;
    font-family: 'Kyrial Sans Pro Cond W05 SemiB';
}

.header .progress-container {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px;
    border-radius: 4px;
    margin-right: 50px;
    margin-top: 50px;
}

.header .progress-bar {
    display: flex;
    align-items: center;
    gap: 10px;

}

.header .progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #ffffff;
    font-weight: bold;
}

.header .progress-step.active {
    background-color: #ff7300;
}

.header .progress-line {
    height: 4px;
    width: 40px;
    background-color: #e0e0e0;
    flex-shrink: 0;
}

.header .logo-container {
    position: relative;
    right: 0%;
    top: 75px;
    transform: translateY(-50%);
    text-align: center;
}

.header .logo {
    height: auto;
}



/* ============================ */
/* FOOTER */
/* ============================ */

.footer {
    background-color: #004c4c;
    color: #ffffff;
    width: 100%;
    position: fixed;
    bottom: 0px;
}

/* Oberer Teil des Footers */
.footer .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer .company-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    padding-left: 10%;
}

.footer .logo-img {
    height: auto;
}

.footer .company-details p {
    margin: 0;
}

.footer .contact-info {
    display: flex;
    gap: 30px;
    margin-top: -25px;
    padding-right: 10%;
}

.footer .contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.footer .contact-item a{
    color: #fff;
    text-decoration: none;
    top: -5px;
    position: relative;
}

.footer .phone-icon::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url('../images/icon-phon.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.footer .email-icon::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url('../images/icon-mail.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.footer .footer-bottom {
    background-color: #ff7300;
    text-align: center;
    padding: 10px;
    display: inline-block;
    position: relative;
    margin-top: -30px;
    right: 0px;
    float: right;
    position: relative;
    padding-right: 10%;
}

.footer .footer-bottom a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
}

.footer .footer-bottom a:hover {
    text-decoration: underline;
}

.footer .footer-links {
    display: inline-flex;
    gap: 20px; /* Abstand zwischen den Links */
}


p,
.dropdown{
    padding-left: 23px;
}

/* ============================ */
/* MAIN / SEITEN */
/* ============================ */


/* -------------------------------------- */
/* SEITE 1 */
/* -------------------------------------- */

.page-1 .column h2{
    margin-bottom: 0px;
}

.page-1 .column {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 440px;
}

.page-1 .image-column {
    /*align-items: center;
    text-align: center;*/
    align-items: flex-end;
    text-align: left;
    gap: 15px;
}

/* Bild */
.page-1 .content-image {
    width: 100%;
    max-width: 325px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-1 .dropdown{
    max-width: 400px;
}



/* -------------------------------------- */
/* SEITE 2 */
/* -------------------------------------- */

.page-2 .wrapper,
.page-zytostatika .wrapper {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-right: 10%;
}

.page-2 .frage-wrapper{
    margin-bottom:50px;
}

.page-2 form label,
.page-zytostatika form label {
    display: flex;
    align-items: center;
    margin: 5px 0;
    cursor: pointer;
    margin-bottom: 10px;
}

.page-2 form input[type="radio"]:hover,
.radio-container form input[type="radio"]:hover {
    border-color: #ff7300;
}

.page-2 form input[type="radio"]:checked::before,
.radio-container form input[type="radio"]:checked::before {
    content: "";
    width: 12px;
    height: 12px;
    background-color: #ff7300;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.page-2 .images {
    /*flex: 1.5;*/
    display: flex;
    gap: 25px;
    text-align: right;
}

.page-2 .image {
    border-radius: 4px;
}

.page-2 .image.image-mann{
    margin-bottom: 25px;
}

.page-2 .navigation {
    display: block;
    gap: 20px;
}


/* -------------------------------------- */
/* SEITE 3 */
/* -------------------------------------- */

/*
.page-3.container{
    margin-top: 55px;;
}
*/

.page-3 .spalte-links, .spalte-rechts {
    flex: 1;
}

.page-3 .spalte-links{
    padding-top: 20px;
}

.page-3 .frage {
    margin-bottom: 30px;
    width: 70%;
}

.page-3 .frage.frage-abstand-oben {
    margin-top: 100px;
}

.page-3 form label,
.radio-container form label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    cursor: pointer;
}

.page-3 .formauswahl label input{
    margin-right: 0px;
}

.page-3 .formauswahl .option input[type="radio"]{
    margin-bottom: 0px;
    margin-left: 0px;
}

.page-3 form label input[type="radio"]:checked::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.page-3 .icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.page-3 .circle-icon,
.page-3 .oval-icon {
    width: 50px;
    height: 50px;
    border: 2px solid #ff7300;
    border-radius: 50%;
    position: relative;
}

.page-3 .oval-icon {
    width: 70px;
    height: 40px;
    border-radius: 50px / 25px;
}

.page-3 .dimensions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.page-3 .dimension-input input {
    padding: 10px;
    font-size: 14px;
    border: 2px solid #ccc;
    border-radius: 4px;
    width: 120px;
}

.page-3 .multiply {
    font-size: 18px;
    font-weight: bold;
}

.page-3 .image-container {
    margin-top: 20px;
    margin-left: -20%;
}

.page-3 .image {
    border-radius: 4px;
}

.page-3 .navigation {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 50px;
}

.page-3 .formauswahl {
    margin: 20px 0;
}

.page-3 .options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.page-3 .option input[type="radio"] {
    appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    margin-bottom: 10px;
}

.page-3 form .option input[type="radio"]:checked + .icon-container {
    border-radius: 8px;
}

.page-3 .option input[type="radio"]:checked::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.page-3 form .option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    flex: 1;
    border: 2px solid transparent;
    border-radius: 8px;
    /*padding: 15px;*/
    padding-bottom: 50px;;
    transition: all 0.3s ease;
}

.page-3 .icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.page-3 form .icon-container img {
    width: 50px;
    height: 50px;
}

/* Dimensionseingaben */
.page-3 form .dimensions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.page-3 form .dimension-input {
    width: 100px;
    padding: 8px;
    font-size: 0.9rem;
    border: 2px solid #ccc;
    border-radius: 4px;
    text-align: center;
}

.page-3 form .dimension-input:focus {
    outline: none;
}

.page-3 .multiply {
    font-size: 1.2rem;
    font-weight: bold;
}



/* -------------------------------------- */
/* SEITE 4 */
/* -------------------------------------- */

.page-4 .spalte-links,
.page-4 .spalte-rechts {
    flex: 1;
}

.page-4 form label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.page-4 form input[type="checkbox"] {
    appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
}

.page-4 form input[type="radio"]:checked::before,
.page-4 form input[type="checkbox"]:checked::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Checkbox-Stile */
.page-4 .checkbox-option input[type="checkbox"] {
    border-radius: 4px;
}

.page-4 .checkbox-option span {
    margin-left: 10px;
}

/* Bildbereich */
.page-4.image-container {
    padding: 20px 10%;
    padding: 20px 10% !important;
    float: left;
}

.page-4 .image-container img {
    max-width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Navigationsbereich */
.page-4.navigation {
    display: block !important;
    /*justify-content: flex-end;
    align-items: center;*/
    gap: 10px;
    padding: 20px 10%;
}



/* -------------------------------------- */
/* ERGEBNIS SEITE */
/* -------------------------------------- */

/* Ergebnisse Container */
.results-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 10%;
}

.results-left {
    flex: 1;
}

.results-left h2 {
    font-size: 24px;
    color: #FF7300;
    margin-bottom: 10px;
}

.results-left p {
    margin-bottom: 10px;
}

.link-list a {
    color: #FF7300;
    /*text-decoration: none;*/
}

.link-list a:hover {
    text-decoration: underline;
}

.results-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.result-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Kontaktformular */
.form-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 10%;
}

.contact-form {
    flex: 1;
}

.contact-form h3 {
    font-size: 1.25rem;
    color: #FF7300;
    margin-bottom: 20px;
    margin-top: -43px;
}

.contact-form .form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #000;
    /*border-radius: 4px;*/
    font-size: 1rem;
    box-sizing: border-box;
    font-family: 'Titillium Web';
}

.contact-form textarea {
    height: 100px;
    resize: none;
    height: 300px;
}

.privacy-notice {
    font-size: 0.64rem;
    color: #666;
    margin: 10px 0;
    float: left;
    position: relative;
    width: 100%;
}

.submit-button {
    font-size: 1rem;
    padding: 10px 20px;
    color: #fff;
    background-color: #004754;
    border: none;
    cursor: pointer;
    float: right;
    margin-top: 5px;
    font-family: 'Titillium Web';
}

.submit-button:hover {
    background-color: #cc5c00;
}

/* Auswahl Übersicht */
.selection-summary {
    /*border-radius: 4px;*/
    padding: 20px;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
    line-height: 1.1;
}

.selection-summary h3 {
    font-size: 20px;
    margin: 0px;
    margin-bottom: 30px;
}

.selection-summary p {
    font-size: 1rem;
    /*margin-bottom: 10px;*/
    padding: 0px;
    line-height: 1.1;
}

.selection-summary p strong {
    font-weight: bold;
}

.seite-5-hintergrund {
    width: 100%;
    height: 400px;
    background-image: url('../images/pages/seite-5.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.page-5 #ergebnis-container{
    //border-left: 10px #ff7300 solid;
    //padding-left: 15px;
}

.page-5 #ergebnis-container p{
    font-size: 1rem;
}

.page-5.feedback-container {
  padding: 20px 10%;
    //text-align: center;
    //margin: 50px auto;
    //font-family: Arial, sans-serif;
}

.page-5.feedback-container p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1;
}

.page-5 .feedback-button {
    background-color: #ff7300; /* Orange */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.page-5 .feedback-button:hover {
    background-color: #cc5c00; /* Dunkleres Orange */
}


/* ======================================================= */


/* Für Responsivität */
@media screen and (max-width: 968px) {

    /* Ergebnisse Container und Kontaktformular: vertikal ausrichten */
    .results-container,
    .form-container {
        flex-direction: column;
        gap: 20px;
    }

    /* Entferne fixe Höhen oder zusätzliche Padding */
    .results-right,
    .selection-summary {
        flex: none;
        width: 95%;
    }

    .container{
        flex-direction: column;
        gap: 30px;
        padding: 20px 5%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 50px;
        margin-top: 25px;
        width: 100%;
    }

    .page-3.container{
        margin-top: 25px;
    }

    .header{
        display: block;
        width: 80%;
    }

    .footer{
        position: relative;
    }

    .footer .footer-top,
    .footer .company-info,
    .footer .contact-info{
        display: block;
    }

    .footer .footer-links{
        display: block;
    }

    .footer .company-info .logo{
        display: block;
        margin-top: 25px;
    }

    .footer .company-info .company-details, .footer .contact-info{
        display: block;
        margin-top: 25px;
    }

    .footer .contact-info{
        padding-left: 10%;
        padding-bottom: 75px;
    }

    .footer .contact-item{
        display: block;
    }

    .footer .company-details p{
        padding-left: 0%
    }

    .page-4.container{
        margin-bottom: 50px;
    }

    .content-image {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;;
    }

    .page-1 .column{
        display: block;
        max-width: none;
    }

    .page-1 .dropdown{
        max-width: none;
    }

    .page-2 .image {
        width: 40%;
    }

    .page-3 .options{
        display: block;
    }

    .page-3 .frage{
        width:100%;
    }

    .selection-summary{
        width: 100%;
    }

    .seite-5-hintergrund{
        background-image: none;
        height: 10px;
    }

    .result-visual{
        display: none;
        height: 10px;
    }

    .page-5 .form-container{
        padding: 10px;
    }

    form.formelement{
        padding-left: 0px !important;
    }

    .header .title-container{
        margin-top: 100px;
    }

    .header .title-container h1{
        font-size: 1.5rem;
    }

    .header .progress-container{
        display: block;
        width: 100%;
    }

    .header .progress-bar{
        margin-left: 0px;
        gap: 0px;
    }

    .page-2 .next-button{
        margin-top: 15px;
    }

    .Xpage-3 form .option{
        width: 80%;
    }

    .page-3 .spalte-rechts{
        width: 90%;
    }

    .page-3 .navigation{
        display: inline-block;
        /*margin-left: 100px;*/
    }

    /*
    .page-3 .image-container{
        margin-left: -10%;
    }
    */
    .page-3 form.formelement{
        padding-left: 10px !important;
    }

    .page-4.image-container{
        padding: 0px !important;
        padding-right: 0px !important;
        padding-bottom: 60px !important;
        text-align: center;
        float: none;
    }

    .page-4.image-container .bild-seite-4{
        width: 80%;
    }

    .page-4.navigation{
        padding-bottom: 50px;
        text-align: center;
    }

    .privacy-notice{
        width: 90%;
    }

    .submit-button{
        margin-left:auto;
        margin-right: auto;
        float: none;
        display: block;
    }

    .footer .footer-bottom{
        float: none;
        display: block;
    }

    .header .logo-container {
        position: absolute;
    }

    .header .progress-line{
        width: 32px;
    }

    .header .progress-step{
        width: 30px;
        height: 30px;
    }

    .page-2 form label input, .page-3 form label input, .page-4 form label input {
        margin-right: 25px;
    }

    .page-3 .image {
        max-width: 100%;
    }

    .page-3 .image-container {
        margin-left: 0%;
    }

}
