/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.nav-logo i {
    font-size: 1.8rem;
}

.nav-logo img {
    height: 200px !important;
    width: auto !important;
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #64748b;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(102,126,234,0.5) 0%, rgba(52, 58, 177, 0.5) 100%), url('photos/Dog Pic Water.jpg') center center/cover no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 80px 20px 60px;
}

.hero-container {
    max-width: 800px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Search Section */
.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 2;
}

#searchInput {
    flex: 1;
    padding: 20px 20px 20px 60px;
    border: none;
    outline: none;
    font-size: 1.1rem;
    background: transparent;
}

.search-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 20px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-btn:hover {
    background: #1d4ed8;
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    margin-top: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    border: 2px solid #2563eb;
}

.autocomplete-item {
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.3s ease;
    color: #1e293b;
    font-weight: 500;
}

.autocomplete-item:hover {
    background: #f8fafc;
}

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

/* Bundesländer Section */
.bundeslaender {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #1e293b;
}

.bundeslaender-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.bundesland-btn {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: block;
}

.bundesland-btn:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

/* Results Section */
.results-section {
    padding: 80px 0;
    background: #f8fafc;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.results-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
}

.results-count {
    background: white;
    padding: 10px 20px;
    border-radius: 25px;
    color: #64748b;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.result-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 25px 25px 15px;
    border-bottom: 1px solid #f1f5f9;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.card-distance {
    color: #64748b;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-body {
    padding: 20px 25px 25px;
}

.card-description {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.card-features .feature-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #f1f5f9;
    border-radius: 15px;
    font-size: 0.75rem;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.card-features .feature-item i {
    color: #2563eb;
    font-size: 0.8rem;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #fbbf24;
    font-size: 1.1rem;
}

.star.empty {
    color: #e2e8f0;
}

.rating-text {
    color: #64748b;
    font-weight: 500;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: #64748b;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.close:hover {
    background: #ef4444;
    color: white;
}

.modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(135deg, #667eea 0%, #2929bf 100%);
    border-radius: 20px 20px 0 0;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.modal-distance {
    color: #64748b;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-body {
    padding: 30px;
}

.modal-description {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.modal-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.modal-stars {
    display: flex;
    gap: 3px;
}

.modal-star {
    color: #fbbf24;
    font-size: 1.3rem;
}

.modal-star.empty {
    color: #e2e8f0;
}

.modal-rating-text {
    color: #64748b;
    font-weight: 600;
    font-size: 1.1rem;
}

.modal-map {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #f8fafc;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #2563eb;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .search-box {
        flex-direction: column;
        border-radius: 20px;
    }

    #searchInput {
        padding: 15px 20px;
        text-align: center;
    }

    .search-btn {
        border-radius: 0 0 20px 20px;
        justify-content: center;
    }

    .bundeslaender-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-header,
    .modal-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .bundeslaender-grid {
        grid-template-columns: 1fr;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* No results message */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #475569;
}

.no-results p {
    font-size: 1.1rem;
}

/* Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 30px;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

/* Places Section */
.places-section {
    padding: 80px 0;
    background: white;
}

.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.place-btn {
    background: linear-gradient(135deg, #667eea 0%, #2929bf 100%);
    color: white;
    border: none;
    padding: 20px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.place-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Badestelle Details Section */
.badestelle-details {
    padding: 60px 0;
    background: #f8fafc;
}

.badestelle-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.badestelle-header {
    background: linear-gradient(135deg, #667eea 0%, #2929bf 100%);
    color: white;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badestelle-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.badestelle-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badestelle-rating .stars {
    color: #fbbf24;
    font-size: 1.2rem;
}

.badestelle-rating .rating-number {
    font-size: 1.1rem;
    font-weight: 600;
}

.badestelle-content {
    padding: 30px;
}

.badestelle-description {
    margin-bottom: 30px;
}

.badestelle-description h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.badestelle-description p {
    font-size: 1rem;
    line-height: 1.7;
    color: #64748b;
}

.badestelle-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #475569;
}

.info-item i {
    color: #2563eb;
    font-size: 1.1rem;
    width: 20px;
}

.badestelle-features {
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
}

.badestelle-features h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.badestelle-features ul {
    list-style: none;
    padding: 0;
}

.badestelle-features li {
    padding: 8px 0;
    color: #64748b;
    position: relative;
    padding-left: 25px;
}

.badestelle-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Rating styles for hero section */
.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.rating .stars {
    color: #fbbf24;
    font-size: 1.3rem;
}

.rating .rating-text {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #667eea 0%, #2929bf 100%);
    border-radius: 20px 20px 0 0;
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.modal-body {
    padding: 20px 30px 30px;
}

.badestelle-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.badestelle-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.badestelle-card:last-child {
    margin-bottom: 0;
}

.badestelle-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.badestelle-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin: 0;
    flex: 1;
    margin-right: 15px;
}

.badestelle-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.badestelle-rating .stars {
    color: #fbbf24;
    font-size: 1rem;
}

.badestelle-rating .rating-number {
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
}

.badestelle-content {
    color: #475569;
    line-height: 1.6;
}

.badestelle-description {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.badestelle-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f1f5f9;
    border-radius: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: white;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.feature-item i {
    color: #2563eb;
    font-size: 0.9rem;
}

.badestelle-map {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.badestelle-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #64748b;
}

.info-item i {
    color: #2563eb;
    width: 16px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.map-link:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* Mobile responsive for modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 20px 20px 15px;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
        color: white;
    }
    
    .modal-body {
        padding: 15px 20px 20px;
    }
    
    .badestelle-card {
        padding: 20px;
    }
    
    .badestelle-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .badestelle-header h3 {
        margin-right: 0;
    }
} 

/* Card image preview for artikel.html overview */
.card-image-preview {
    width: 100%;
    height: 140px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0.5em;
    background: #f3f4f6;
}
.card-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.result-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    border-radius: 12px;
    background: #fff;
    transition: box-shadow 0.2s;
    cursor: pointer;
    overflow: hidden;
    margin-bottom: 24px;
}
.result-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
} 

/* Impressum card styles */
.impressum-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1.5px 6px rgba(0,0,0,0.04);
  max-width: 700px;
  margin: 40px auto 60px auto;
  padding: 2.5rem 2rem 2rem 2rem;
  font-family: 'Inter', sans-serif;
}
.impressum-card h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: #2a2a2a;
}
.impressum-info p {
  margin-bottom: 1.2em;
  font-size: 1.05rem;
  color: #333;
  line-height: 1.7;
}
.impressum-info a {
  color: #2a7ae2;
  text-decoration: underline;
  word-break: break-all;
}
@media (max-width: 600px) {
  .impressum-card {
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    max-width: 98vw;
  }
} 

/* Force logo size override */
.nav-logo img[src*="logo2.png"] {
    height: 200px !important;
    width: auto !important;
    vertical-align: middle !important;
    max-height: none !important;
} 

/* Ultra aggressive logo size override */
img[src*="logo2.png"] {
    height: 200px !important;
    width: auto !important;
    vertical-align: middle !important;
    max-height: none !important;
    transform: scale(1) !important;
} 