/* contact.css */
.contact {
    max-width: 90%;
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact h1 {
    text-align: left;
    margin-bottom: 20px;
}

.contact p {
    text-align: left;
    margin-bottom: 20px;
    font-size: 16px;
    color: #666;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.btn-primary {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.messages {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: center;
}

.messages li {
    padding: 10px;
    border: 1px solid;
    border-radius: 4px;
    margin-bottom: 10px;
}

.messages .success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.messages .error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.location {
    max-width: 90%;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.location h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.location p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.map-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #f9f9f9;
    margin-bottom: 20px;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.produkt-check.de/media/seitenbilder/kontakt.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}
.map-overlay p {
    font-size: 14px;
    color: #fbf9f9;
    text-align: center;
    margin-bottom: 20px;
}

.map-overlay button {
    padding: 10px 20px;
    background-color: #141516;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.map-overlay button:hover {
    background-color: #0056b3;
}

.address p {
    text-align: left;
    margin-left: 10%;
    font-size: 16px;
    color: #666;
}
.form-checkbox {
    width: 20px;
    height: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;   
    appearance: none;        
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 4px;
    position: relative;
}

.form-checkbox:checked {
    background-color: #007bff;
}

.form-checkbox:checked::before {
    content: "\2713";
    color: white;
    position: absolute;
    top: 2px;
    left: 5px;
    font-size: 16px;
}

.address {
    text-align: left;
    margin: 0 auto;
    max-width: 300px; 
    padding: 10px;
    font-size: 16px;
    line-height: 1.5;
}
.form-group {
    white-space: nowrap;
}
#privacy {
    max-width: 25px;
}
.form-group input[type="checkbox"] + label {
    display: inline;
    margin: 0;
    font-weight: normal; 
}
.form-group a {
    display: inline !important;
}
.form-group input[type="checkbox"] {
    margin-bottom: -5px;
}
