* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #2d3436;
    background: #f8f9fa;
    line-height: 1.6;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 36px;
}

.btn-navigate {
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-navigate:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.02);
}

/* Breadcrumb */
.breadcrumb {
    background: #f1f5f9;
    padding: 12px 20px;
    font-size: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb-content {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #64748b;
    margin: 0 8px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding: 50px 20px;
    color: white;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.8em;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.2em;
    opacity: 0.95;
    margin-bottom: 30px;
    max-width: 700px;
}

/* Stats Grid */
.stats-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.stat-badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.stat-badge i {
    font-size: 1.2em;
}

/* Search Box */
.search-container {
    max-width: 600px;
}

.search-box {
    background: white;
    padding: 6px;
    border-radius: 50px;
    display: flex;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-input-wrapper input {
    width: 100%;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    border-radius: 50px;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.search-box button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s;
}

.search-box button:hover {
    transform: scale(1.05);
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-top: 5px;
    display: none;
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
}

.autocomplete-dropdown.active {
    display: block;
}

.autocomplete-item {
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f0f0f0;
    color: #2d3436;
}

.autocomplete-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Map Section */
.map-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header h2 {
    font-size: 1.8em;
    color: #2d3436;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.filter-btn:hover, .filter-btn.active {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

.filter-btn i {
    font-size: 14px;
}

#map {
    height: 500px;
    border-radius: 15px;
    z-index: 1;
}

.map-legend {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #64748b;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

.legend-toilet { background: #667eea; color: white; }
.legend-cafe { background: #f59e0b; color: white; }
.legend-fastfood { background: #ef4444; color: white; }
.legend-free { background: #22c55e; color: white; }
.legend-accessible { background: #3b82f6; color: white; }
.legend-baby { background: #ec4899; color: white; }

/* Toiletten Liste */
.toilets-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.toilets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.toilet-card {
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s;
    position: relative;
}

.toilet-card:hover {
    border-color: #667eea;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
    transform: translateY(-3px);
}

.toilet-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.toilet-type {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toilet-type-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}

.toilet-type-icon.public { background: linear-gradient(135deg, #667eea, #764ba2); }
.toilet-type-icon.cafe { background: linear-gradient(135deg, #f59e0b, #d97706); }
.toilet-type-icon.fastfood { background: linear-gradient(135deg, #ef4444, #dc2626); }
.toilet-type-icon.accessible { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.toilet-type-icon.baby { background: linear-gradient(135deg, #ec4899, #db2777); }
.toilet-type-icon.free { background: linear-gradient(135deg, #22c55e, #16a34a); }

.toilet-name {
    font-weight: 600;
    font-size: 1.1em;
    color: #2d3436;
}

.toilet-distance {
    font-size: 13px;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 20px;
}

.toilet-address {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.toilet-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.feature-tag {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.feature-tag.free { background: #dcfce7; color: #166534; }
.feature-tag.accessible { background: #dbeafe; color: #1e40af; }
.feature-tag.baby { background: #fce7f3; color: #be185d; }
.feature-tag.eurokey { background: #f3e8ff; color: #7c3aed; }
.feature-tag.open { background: #ecfdf5; color: #047857; }

.toilet-actions {
    display: flex;
    gap: 10px;
}

.btn-navigate-toilet {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform 0.3s;
    font-family: 'Poppins', sans-serif;
}

.btn-navigate-toilet:hover {
    transform: scale(1.02);
}

.btn-details {
    background: #f1f5f9;
    color: #64748b;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-details:hover {
    background: #e2e8f0;
    color: #2d3436;
}

.load-more-container {
    text-align: center;
    margin-top: 30px;
}

.btn-load-more {
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.btn-load-more:hover {
    background: #667eea;
    color: white;
}

/* Info Section - SEO Content */
.info-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.info-section h2 {
    font-size: 1.8em;
    color: #2d3436;
    margin-bottom: 20px;
}

.info-section h3 {
    font-size: 1.3em;
    color: #2d3436;
    margin: 25px 0 12px;
}

.info-section p {
    color: #4a5568;
    margin-bottom: 15px;
    line-height: 1.8;
}

.info-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.info-section li {
    color: #4a5568;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Stadtteile Section */
.districts-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.districts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.district-link {
    display: block;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #2d3436;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
}

.district-link:hover {
    border-color: #667eea;
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.district-link span {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

/* Categories Section */
.categories-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.category-card {
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.category-card i {
    font-size: 2em;
    margin-bottom: 12px;
    display: block;
}

.category-card h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.category-card p {
    opacity: 0.9;
    font-size: 14px;
}

/* Nearby Cities */
.nearby-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.nearby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.nearby-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #2d3436;
    transition: all 0.3s;
}

.nearby-link:hover {
    background: #667eea;
    color: white;
}

.nearby-link i {
    color: #667eea;
}

.nearby-link:hover i {
    color: white;
}

/* Bundesländer Section */
.bundeslaender-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
}

.bundeslaender-section h2 {
    color: white;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.bundeslaender-section > p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

.bundeslaender-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.bundesland-link {
    display: block;
    padding: 12px 16px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
}

.bundesland-link:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    background: #f1f5f9;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
}

.faq-section h2 {
    font-size: 1.8em;
    color: #2d3436;
    margin-bottom: 25px;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: 15px;
    padding: 25px;
}

.faq-item h3 {
    font-size: 1.1em;
    color: #2d3436;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.faq-item h3 i {
    color: #667eea;
    margin-top: 3px;
}

.faq-item p {
    color: #4a5568;
    line-height: 1.7;
    padding-left: 28px;
}

/* Footer */
footer {
    background: #1a1a2e;
    color: white;
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-about h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.footer-about p {
    color: #a0aec0;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid #2d3748;
    text-align: center;
    color: #a0aec0;
}

/* AdSense Containers */
.ad-container {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin: 30px 0;
    text-align: center;
    min-height: 100px;
}

.ad-container-horizontal {
    margin: 30px 0;
}

/* Responsive */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 2em;
    }

    .stats-row {
        gap: 10px;
    }

    .stat-badge {
        padding: 10px 15px;
        font-size: 14px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .toilets-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box button {
        width: 100%;
        justify-content: center;
    }

    #map {
        height: 350px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-buttons {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .districts-grid, .nearby-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Marker Cluster Styles */
/* Einheitliche lila eckige Cluster mit Logo */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background-color: #6d69cc !important;
    border-radius: 8px !important;
    border: 2px solid #5854a8 !important;
    width: 44px !important;
    height: 44px !important;
    margin-left: -22px !important;
    margin-top: -22px !important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background-color: #6d69cc !important;
    border-radius: 6px !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    padding-top: 20px !important;
    box-sizing: border-box !important;
    background-image: url('/images/toilettenherologo.png') !important;
    background-size: 24px 24px !important;
    background-position: center 2px !important;
    background-repeat: no-repeat !important;
}
.marker-cluster {
    color: white !important;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Custom Map Markers */
.custom-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.marker-toilet { background: #667eea; }
.marker-cafe { background: #f59e0b; }
.marker-fastfood { background: #ef4444; }
.marker-accessible { background: #3b82f6; }
.marker-baby { background: #ec4899; }
.marker-free { background: #22c55e; }
