/* CSS für Themenauswahl - Einspaltiges Layout ohne Karten */

/* NeoTech Schriftart einbinden */
@font-face {
    font-family: 'NeoTech';
    src: url('../fonts/NeoTech.woff2') format('woff2'),
         url('../fonts/NeoTech.woff') format('woff'),
         url('../fonts/NeoTech.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NeoTech';
    src: url('../fonts/NeoTech-Bold.woff2') format('woff2'),
         url('../fonts/NeoTech-Bold.woff') format('woff'),
         url('../fonts/NeoTech-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Reset und Basis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'NeoTech', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.main-title {
    color: #007AB4;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #495057;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Schritt-Container */
.step-container {
    width: 100%;
}

/* Hauptinhalt */
.main-content {
    background-color: white;
    border-radius: 10px;
    box-shadow: 5px 5px 10px lightgray;
    border-color: #007AB4;
    border-style: solid;
    border-width: 3px;
    overflow: hidden;
}

/* Themenauswahl */
.topics-panel {
    background-color: #f8f9fa;
    padding: 2rem;
}

.topics-title {
    color: #007AB4;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.topics-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.topics-selection {
    margin-bottom: 2rem;
}

/* Zweispaltige Anordnung für Angebotsfelder */
.topics-selection.two-columns {
    display: flex;
    gap: 1rem;
}

.topics-selection.two-columns .topics-column {
    flex: 1;
}

.topics-selection.two-columns .topics-column .topic-category {
    margin-bottom: 1rem;
}

/* Responsive Design für kleinere Bildschirme */
@media (max-width: 768px) {
    .topics-selection.two-columns {
        flex-direction: column;
    }
}

.topic-category {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.topic-category h4 {
    color: #007AB4;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.topic-options {
    display: flex;
    flex-direction: column;
}

.topic-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.3rem 0;
}

.topic-checkbox input[type="checkbox"] {
    margin-right: 0.8rem;
    width: 18px;
    height: 18px;
    accent-color: #007AB4;
}

.topic-checkbox span {
    font-size: 0.95rem;
    color: #495057;
    font-weight: 400;
}

/* Persönliche Daten */
.personal-data-panel {
    background-color: #f8f9fa;
    padding: 2rem;
}

.personal-data-title {
    color: #007AB4;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: unset;
}

.personal-data-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.personal-data-form {
    margin-bottom: 2rem;
}

.form-group {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    color: #007AB4;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.form-hint {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-style: italic;
}

/* Radio-Buttons für Geschlecht */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    margin-right: 0.8rem;
    width: 18px;
    height: 18px;
    accent-color: #007AB4;
}

.radio-option span {
    font-size: 0.95rem;
    color: #495057;
    font-weight: 400;
}

/* Dropdown für Alter */
.form-select {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.95rem;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: #007AB4;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.1);
}

/* Checkboxen für Sprachkenntnisse */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Zweispaltige Anordnung für Checkbox-Gruppen */
.checkbox-group.two-columns {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem !important;
    flex-wrap: nowrap !important;
}

.checkbox-group.two-columns .checkbox-column {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

/* Responsive Design für Checkbox-Gruppen */
@media (max-width: 768px) {
    .checkbox-group.two-columns {
        flex-direction: column !important;
    }
}

.checkbox-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.3rem 0;
}

.checkbox-option input[type="checkbox"] {
    margin-right: 0.8rem;
    width: 18px;
    height: 18px;
    accent-color: #007AB4;
}

.checkbox-option span {
    font-size: 0.95rem;
    color: #495057;
    font-weight: 400;
}

/* Textarea für Kommentar */
.form-textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.95rem;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    background-color: white;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: #007AB4;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.1);
}

.form-textarea::placeholder {
    color: #adb5bd;
    font-style: italic;
}

/* Passende Angebote */
.offers-panel {
    background-color: #f8f9fa;
    padding: 2rem;
}

/* Sortierungsoptionen */
.sorting-options {
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sorting-label {
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 15px;
    font-size: 16px;
}

.sorting-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.sort-btn {
    padding: 12px 20px;
    border: 2px solid #007AB4;
    background: white;
    color: #007AB4;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 14px;
}

.sort-btn:hover {
    background: #e3f2fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.sort-btn.active {
    background: #007AB4;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.sort-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.offers-title {
    color: #007AB4;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.offers-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.offers-container {
    margin-bottom: 2rem;
}

.offers-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Lade-Animation */
.loading-offer {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: #6c757d;
    position: relative;
    overflow: hidden;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007AB4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem auto;
    will-change: transform;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Live-Matching-Animation */
.live-matching-container {
    position: relative;
    min-height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 2rem;
    margin: 1rem 0;
    overflow: hidden;
}

.matching-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.matching-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: searchPulse 2s ease-in-out infinite;
    color: #007AB4;
}

.matching-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #007AB4;
    margin-bottom: 0.5rem;
    animation: textGlow 2s ease-in-out infinite alternate;
}

.matching-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
}

/* Floating Particles Animation */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #007AB4;
    border-radius: 50%;
    opacity: 0.7;
    animation: floatUp 4s linear infinite;
}

.particle:nth-child(odd) {
    background-color: #28a745;
    animation-duration: 3s;
}

.particle:nth-child(3n) {
    background-color: #ffc107;
    animation-duration: 5s;
}

.particle:nth-child(4n) {
    background-color: #dc3545;
    animation-duration: 4.5s;
}

/* Search Progress Bar */
.search-progress {
    width: 100%;
    max-width: 300px;
    height: 6px;
    background-color: #e9ecef;
    border-radius: 3px;
    margin: 1rem 0;
    overflow: hidden;
    position: relative;
}

.search-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #007AB4, #28a745, #ffc107);
    border-radius: 3px;
    animation: progressFill 3s ease-in-out infinite;
    position: relative;
}

.search-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s linear infinite;
}

/* Keyframe Animations */
@keyframes searchPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.1); 
        opacity: 0.8; 
    }
}

@keyframes textGlow {
    0% { 
        text-shadow: 0 0 5px rgba(0, 122, 180, 0.3);
        color: #007AB4;
    }
    100% { 
        text-shadow: 0 0 15px rgba(0, 122, 180, 0.6);
        color: #0056b3;
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes progressFill {
    0% { 
        width: 0%; 
        transform: translateX(-100%);
    }
    50% { 
        width: 100%; 
        transform: translateX(0%);
    }
    100% { 
        width: 100%; 
        transform: translateX(100%);
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Matching Success Animation */
.matching-success {
    animation: successBounce 0.6s ease-out;
}

@keyframes successBounce {
    0% { 
        transform: scale(0.8); 
        opacity: 0;
    }
    50% { 
        transform: scale(1.1); 
        opacity: 1;
    }
    100% { 
        transform: scale(1); 
        opacity: 1;
    }
}

/* Enhanced Loading States */
.loading-enhanced {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #007AB4;
    box-shadow: 0 4px 20px rgba(0, 122, 180, 0.1);
}

/* Angebot-Karten */
.offer-card {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #007AB4;
}

.offer-header {
    align-items: center;
    margin-bottom: 0.8rem;
    cursor: pointer;
}

.offer-title {
    color: #007AB4;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    margin-right: 0.8rem;
}

.offer-category {
    background-color: #e7f3ff;
    color: #007AB4;
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    font-weight: 500;
}

.offer-languages {
    font-size: 0.8rem;
}

/* Neue Info-Box für Angebotsdetails */
.offer-info-box {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.offer-description {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.offer-details {
    display: none;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.offer-tag {
    background-color: #f8f9fa;
    color: #6c757d;
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.offer-contact-info {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.offer-contact-info:last-child {
    margin-bottom: 0;
}

.offer-contact-info strong {
    color: #495057;
}

/* Hervorgehobene Angebote */
.offer-card.highlighted-offer {
    border: 3px solid #007AB4;
    box-shadow: 0 0 20px rgba(0, 122, 180, 0.3);
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* Map Popup Button */
.map-popup-scroll-btn {
    background-color: #007AB4;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s ease;
}

.map-popup-scroll-btn:hover {
    background-color: #005a8b;
}

/* Map Marker Styles */
.highlighted-marker {
    color: #007AB4 !important;
    font-size: 30px !important;
    filter: drop-shadow(0 0 10px rgba(0, 122, 180, 0.8));
    animation: pulse-marker 1s infinite;
}

.default-marker {
    color: #6c757d;
    font-size: 25px;
}

@keyframes pulse-marker {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Schritt-Navigation */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

.nav-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn {
    font-family: inherit;
    background-color: #6c757d;
    color: white;
}

.prev-btn:hover {
    background-color: #5a6268;
    transform: translateY(-1px);
}

.next-btn {
    font-family: inherit;
    background-color: #007AB4;
    color: white;
}

.next-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.finish-btn {
    font-family: inherit;
    background-color: #198754;
    color: white;
}

.finish-btn:hover {
    background-color: #157347;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

.new-search-btn {
    font-family: inherit;
    background-color: #fd7e14;
    color: white;
}

.new-search-btn:hover {
    background-color: #e8690b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(253, 126, 20, 0.3);
}

/* Standort-Button und Container */
.postal-code-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.location-btn {
    color: white;
    border: none;
    background-color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.location-btn:hover {
    transform: translateY(-1px);
}

.location-btn:active {
    transform: translateY(0);
}

/* Animation für Nachrichten */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.6rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 10px;
    }
    
    .topics-panel,
    .personal-data-panel,
    .offers-panel {
        padding: 1rem;
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.4rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .topic-category {
        padding: 0.8rem;
    }
    
    .form-group {
        padding: 0.8rem;
    }
}

/* Animationen */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Erfolgsmeldung */
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px 16px;
    border-radius: 6px;
    border: 1px solid #c3e6cb;
    margin: 1rem 0;
    font-weight: 600;
    animation: fadeIn 0.4s ease-out;
}

/* Custom Checkbox Styles - Rahmen statt Checkboxen */
.custom-checkbox {
    position: relative;
    cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.checkbox-frame {
    display: inline-block;
    padding: 10px 16px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background-color: white;
    color: #495057;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.custom-checkbox:hover .checkbox-frame {
    border-color: #007AB4;
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-frame {
    background-color: #007AB4;
    color: white;
    border-color: #007AB4;
    box-shadow: 0 3px 12px rgba(0, 122, 180, 0.4);
    transform: translateY(-1px);
}

.custom-checkbox input[type="checkbox"]:focus + .checkbox-frame {
    outline: 2px solid #007AB4;
    outline-offset: 2px;
}

/* Spezielle Behandlung für das Textfeld bei Sprachen */
.custom-checkbox input[type="text"] {
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 400;
    border: none;
    outline: none;
    width: 100%;
    line-height: 32px;
}

.custom-checkbox input[type="text"]:hover {
    background-color: #f8f9fa;
}

.custom-checkbox input[type="text"]:focus {
    outline: none;
}

/* Responsive Anpassungen für die Rahmen-Checkboxen */
@media (max-width: 768px) {
    .checkbox-frame {
        min-width: 150px;
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .checkbox-frame {
        min-width: 120px;
        padding: 6px 10px;
        font-size: 0.85rem;
    }
}

/* Custom Radio Button Styles - Rahmen statt Radio-Buttons */
.custom-radio {
    position: relative;
    cursor: pointer;
}

.custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.radio-frame {
    display: inline-block;
    padding: 10px 16px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background-color: white;
    color: #495057;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.custom-radio:hover .radio-frame {
    border-color: #007AB4;
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.custom-radio input[type="radio"]:checked + .radio-frame {
    background-color: #007AB4;
    color: white;
    border-color: #007AB4;
    box-shadow: 0 3px 12px rgba(0, 122, 180, 0.4);
    transform: translateY(-1px);
}

.custom-radio input[type="radio"]:focus + .radio-frame {
    outline: 2px solid #007AB4;
    outline-offset: 2px;
}

/* Responsive Anpassungen für die Radio-Buttons */
@media (max-width: 768px) {
    .radio-frame {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

/* Zweispaltiges Layout für Schritt 3 */
.offers-map-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.offers-column {
    flex: 1;
    min-width: 0; /* Verhindert Überlauf */
}

.map-column {
    flex: 1;
    min-width: 0; /* Verhindert Überlauf */
}

.map-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 5px 5px 10px lightgray;
    padding: 1.5rem;
    border: 2px solid #ffd840;
}

.map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    margin-bottom: 1rem;
}

/* Karten-Popup Styles */
.map-popup {
    font-family: 'NeoTech', Arial, sans-serif;
    min-width: 200px;
}

.map-popup h5 {
    color: #007AB4;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.map-popup p {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.map-popup strong {
    color: #495057;
    font-weight: 600;
}

/* Responsive Anpassungen für das zweispaltige Layout */
@media (max-width: 1024px) {
    .offers-map-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .map {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .offers-map-container {
        gap: 1rem;
    }
    
    .map {
        height: 300px;
    }
    
    .map-container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .map {
        height: 250px;
    }
    
    .map-container {
        padding: 0.75rem;
    }
    
    /* Mobile Anpassungen für Standort-Button */
    .postal-code-container {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .location-btn {
        width: 100%;
        justify-content: center;
        min-height: 44px; /* Mindesthöhe für Touch-Geräte */
        touch-action: manipulation; /* Bessere Touch-Unterstützung */
    }
    
    /* Verbesserte Touch-Unterstützung für mobile Geräte */
    .location-btn:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    /* iOS-spezifische Touch-Optimierungen */
    @supports (-webkit-touch-callout: none) {
        .location-btn {
            -webkit-tap-highlight-color: transparent;
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            user-select: none;
        }
        
        .location-btn:active {
            -webkit-transform: scale(0.95);
            transform: scale(0.95);
        }
    }
}

/* Entfernungsanzeige */
.offer-distance {
    font-size: 0.9em;
    font-weight: 600;
    display: inline-block;
}

#loadMoreBtn {
    cursor: pointer;
    color: #007AB4;
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
}
