* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f8f8f8;
}

.frame {
    width: 90%;
    max-width: 1200px;
    min-height: 80vh;
    border: 2px solid #ddd;
    border-radius: 10px;
    background-color: white;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.header, .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.header h1 {
    font-size: 20px;
    font-weight: 600;
    margin-left: 10px;
    display: flex;
    align-items: center;
    color: #072C4D;
}

.header img {
    height: 30px;
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.separator {
    width: 100%;
    height: 1px;
    background-color: #ddd;
    margin: 10px 0;
}

.content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.intro-text {
    font-size: 16px;
    margin-bottom: 30px;
}

.intro-text .desktop-text {
    display: block;
}

.intro-text .mobile-text {
    display: none;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.form-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    max-width: 500px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 16px;
    font-weight: 600;
    margin-right: 10px;
    width: 40%;
    text-align: right;
    color: #072C4D;
}

.input-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 350px;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background-color: white;
}

.input-field {
    border: none;
    outline: none;
    width: calc(100% - 40px);
    font-size: 16px;
    text-align: center;
}

select.dropdown {
    width: 100%;
    max-width: 350px;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background-color: white;
    font-size: 16px;
    outline: none;
    text-align: center;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    display: block;
}

select.dropdown:focus {
    border-color: #0096D7;
}

select.dropdown optgroup {
    font-weight: bold;
    font-style: normal;
    background-color: #f1f1f1;
    padding: 5px;
}

select.dropdown option {
    padding: 10px;
    background-color: white;
}

.unit {
    font-size: 16px;
    font-weight: 400;
    color: #bbb;
    margin-left: 10px;
    white-space: nowrap;
}

.submit-button {
    background-color: #0096D7;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 30px;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
    max-width: 350px;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 12px;
    color: gray;
    margin: 5px 0;
}

.footer-links a {
    text-decoration: none;
    color: gray;
}

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

.footer {
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    font-weight: 300;
    text-align: center;
    margin-top: 10px;
}

.pin-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 350px;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background-color: white;
    font-size: 16px;
    outline: none;
    text-align: center;
}

.pin-field {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    text-align: center;
}

.accordion {
    width: 100%;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

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

.accordion-header {
    background-color: white;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #072C4D;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-header span {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header span {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 15px;
    font-size: 14px;
    text-align: left;
    background-color: transparent;
}

.accordion-item.active .accordion-content {
    display: block;
}

.small-price {
    font-size: 0.85em;
    font-weight: normal;
    margin-left: 6px;
}

.error-title {
    font-size: 24px;
    font-weight: 600;
    color: #072C4D;
    margin: 30px 0 10px 0;
    text-align: center;
}

.tooltip-icon {
    position: relative;
    display: inline-block;
    cursor: help;
    margin-left: 4px;
    color: #666;
}

.tooltip-icon .tooltip-text {
    visibility: hidden;
    background-color: #072C4D;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 5px 8px;
    position: absolute;
    z-index: 1000;
    bottom: 125%; /* oberhalb des Icons */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.tooltip-icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 768px) {
    .frame {
        width: 95%;
        min-height: auto;
    }

    .header img {
        display: none;
    }

    .intro-text .desktop-text {
        display: none;
    }

    .intro-text .mobile-text {
        display: block;
    }

    .form-group {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .form-group label {
        width: 100%;
        text-align: left;
        margin-bottom: 5px;
    }

    .input-group,
    select.dropdown,
    .submit-button {
        width: 100%;
        max-width: none;
    }
}
