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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    color: #1A1A1A;
    line-height: 1.6;
    background: #ffffff;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-image: url('background.jpeg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.55), rgba(26, 26, 26, 0.75));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    padding-bottom: 4rem;
    max-width: 900px;
}

.logos-section {
    background: #ffffff;
    padding: 2rem 2rem 0;
    text-align: center;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.logos img {
    height: 100px;
    width: auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #FFE600;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.cta-btn {
    display: inline-block;
    background: #FFE600;
    color: #1A1A1A;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.cta-btn:hover {
    background: #ffd000;
    transform: translateY(-2px);
}

/* Tippgeber Section */
.tippgeber-section {
    background: #ffffff;
    padding: 3rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.tippgeber-wrapper {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.tippgeber-image {
    flex-shrink: 0;
}

.tippgeber-image img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    border: 4px solid #FFE600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tippgeber-text h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1A1A1A;
}

.tippgeber-text p {
    margin-bottom: 0.6rem;
    color: #444;
    line-height: 1.7;
}

.tippgeber-signature {
    margin-top: 1rem;
    color: #1A1A1A !important;
    font-size: 1.05rem;
}

@media (max-width: 700px) {
    .tippgeber-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .tippgeber-image img {
        width: 160px;
        height: 160px;
    }
}

/* Contact Section */
.contact-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #1A1A1A;
}

.section-desc {
    text-align: center;
    color: #555;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* Form */
.contact-form {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFE600;
    box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.2);
}

.form-group input[readonly] {
    background: #eee;
    color: #666;
}

.address-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.street-input { flex: 3; }
.plz-input { flex: 1; max-width: 80px; }
.ort-input { flex: 1.5; max-width: 130px; }

.coords-row {
    display: flex;
    gap: 0.5rem;
}

.coords-row input {
    flex: 1;
}

/* Checkbox */
.checkbox-group {
    margin-bottom: 1.25rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #FFE600;
    cursor: pointer;
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 0.9rem;
    background: #FFE600;
    color: #1A1A1A;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #ffd000;
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-secondary {
    background: none;
    border: 2px solid #1A1A1A;
    padding: 0.45rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
    background: #1A1A1A;
    color: #FFE600;
}

/* File Upload */
.file-upload-area {
    position: relative;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.file-upload-area:hover,
.file-upload-area.drag-over {
    border-color: #FFE600;
    background: rgba(255, 230, 0, 0.05);
}

.file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.upload-placeholder p {
    color: #666;
    margin: 0.25rem 0;
}

.upload-hint {
    font-size: 0.85rem;
    color: #999 !important;
}

.photo-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.preview-item {
    width: 100px;
    text-align: center;
}

.preview-item img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid #e0e0e0;
}

.preview-item span {
    display: block;
    font-size: 0.7rem;
    color: #888;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Form Status */
.form-status {
    margin-top: 1rem;
    padding: 0;
    text-align: center;
    font-weight: 600;
    border-radius: 4px;
}

.form-status.success {
    background: #d4edda;
    color: #155724;
    padding: 0.75rem;
}

.form-status.error {
    background: #f8d7da;
    color: #721c24;
    padding: 0.75rem;
}

/* Map */
.map-title {
    font-size: 1.3rem;
    color: #1A1A1A;
    margin-bottom: 0.75rem;
}

.map-subtitle {
    font-weight: 400;
    font-size: 1rem;
    color: #555;
}

.map-reset-btn {
    position: absolute;
    bottom: 30px;
    left: 10px;
    z-index: 1000;
    background: #FFE600;
    color: #1A1A1A;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    letter-spacing: 1px;
    transition: background 0.2s;
}

.map-reset-btn:hover {
    background: #ffd000;
}

.map-logo {
    position: absolute;
    top: 10px;
    right: 10px;
    height: 50px;
    width: auto;
    z-index: 1000;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
    pointer-events: none;
}

.map-container {
    position: sticky;
    top: 1rem;
}

#map {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    z-index: 0;
}

.map-hint {
    text-align: center;
    color: #888;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Footer Logos Above */
.footer-logos-above {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: #ffffff;
    flex-wrap: wrap;
}

.footer-logos-above img {
    height: 60px;
    width: auto;
}

/* Footer */
.footer {
    background: #1A1A1A;
    color: #ccc;
    padding: 1rem 2rem;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 0.75rem;
}

.footer-social a {
    color: #ccc;
    transition: color 0.2s, transform 0.2s;
}

.footer-social a:hover {
    color: #FFE600;
    transform: scale(1.15);
}

.footer p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
}

.footer-contact a {
    color: #FFE600;
    text-decoration: none;
}

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

.footer-impressum-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: #888;
    font-size: 0.8rem;
    text-decoration: none;
}

.footer-impressum-link:hover {
    color: #FFE600;
}

/* Impressum */
.impressum {
    background: #222;
    color: #ccc;
    padding: 2rem;
    text-align: center;
}

.impressum-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.impressum h3 {
    color: #FFE600;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.impressum p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.impressum a {
    color: #FFE600;
    text-decoration: none;
}

.impressum a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .map-container {
        position: static;
    }

    #map {
        height: 350px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .logos img {
        height: 70px;
    }
}

@media (max-width: 500px) {
    .address-row {
        flex-direction: column;
    }

    .plz-input, .ort-input {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .contact-section {
        padding: 2rem 1rem;
    }
}
