body, html {
    margin: 0;
    padding: 0;
    font-family: "Inter", Arial, sans-serif;
    height: 100%;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    max-width: 600px;
    margin: 0 auto;
}

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

.back-link, .chevron {
    display: flex;
    align-items: center;
}

main {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

footer {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

footer a:not(:last-child) {
    margin-right: 20px;
}

h1 {
    color: #333;
    line-height: 150%;
}

p {
    color: #828282;
    line-height: 150%;
}

.back-link, .chevron {
    color: #333;
    text-decoration: none;
}

a {
    color: #333;
}

/* COMPANY DETAILS */
.company-details {
    border: 1px solid #e5e5e5;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    position: relative;
}

.company-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.company-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 10px;
    border-radius: 50%;
}

.company-name {
    flex-grow: 2;
    font-weight: bold;
    margin-right: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.edit-button {
    background-color: #f5f5f5;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.edit-button:hover {
    background-color: #e5e5e5;
}

.company-full-details {
    margin-top: 10px;
    line-height: 1.6;
}

.hidden {
    display: none !important;
}

/* DISTRICT DETAILS */
.city-sections {
    margin-top: 20px;
}

.city-section-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #e5e5e5;
}

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

.section-name {
    color: #333;
}

.unavailable .section-name {
    color: #a1a1a1;
    text-decoration: line-through;
}

/* Checkbox Stilisierung */
input[type="checkbox"] {
    display: none;
}

.checkbox-label {
    width: 24px;
    height: 24px;
    border: 2px solid #333;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

input[type="checkbox"]:checked + .checkbox-label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: #333;
    border-radius: 2px;
}

/* ZUSAMMENFASSUNG */
.summary-section {
    margin-top: 20px;
}

.payment-option {
    margin-bottom: 15px;
}

.payment-option label {
    margin-left: 10px;
}

.selected-sections {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.selected-sections div {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid #e5e5e5;
    background-color: #f5f5f5;
}

.selected-sections div:last-child {
    border-bottom: none;
}

.total-price {
    font-weight: bold;
    margin-bottom: 15px;
}

.notes {
    margin-bottom: 20px;
    font-style: italic;
    color: #828282;
}

.cta-button {
    width: 100%;
    padding: 10px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #555;
}

.cta-button:focus {
    outline: none;
}

/* CONTACT INFO */
.founder-info {
    display: flex;
    align-items: center;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 10px 20px;
    margin-bottom: 20px;
}

.founder-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
}

.founder-details h3 {
    margin: 0;
    color: #333;
}

.founder-details p {
    margin: 5px 0;
}

.contact-info span {
    display: block;
}

.contact-info .whatsapp-hint {
    font-size: 0.8em;
    color: #828282;
}

.input-field {
    width: 70%;
    border-radius: 4px;
    border: 2px solid #333;
    padding: 8px 12px;
    display: block;
}