/* stellplaetze-calais.css – Styles for wohnmobil/stellplaetze-calais.html */

:root {
    --primary-color: #0056b3;
    --secondary-color: #17a2b8;
    --accent-color: #ffc107;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

/* Hero Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem 0;
}

.page-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .page-header h1 { font-size: 2.5rem; }
}

/* TOC */
.toc {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

.toc h2 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.toc ol {
    padding-left: 1.25rem;
    margin: 0;
}

.toc li {
    margin-bottom: 0.35rem;
}

.toc a {
    color: var(--primary-color);
    text-decoration: none;
}

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

/* Stellplatz Cards */
.stellplatz-card {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.stellplatz-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.stellplatz-card.featured {
    border: 2px solid var(--success-color);
}

.stellplatz-card.featured::before {
    content: "EMPFEHLUNG";
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--success-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Price Badge */
.price-badge {
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.25rem;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--light-bg);
    border-radius: 5px;
}

.amenity-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Info Boxes */
.security-box {
    background: #e8f5e9;
    border-left: 4px solid var(--success-color);
    padding: 1.5rem;
    border-radius: 5px;
    margin: 1.5rem 0;
}

.security-box h3 {
    color: var(--success-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.warning-box {
    background: #fff3cd;
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 5px;
    margin: 1.5rem 0;
}

/* Distance Badge */
.distance-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Service Station Info */
.service-info {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.service-info h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* GPS Coordinates */
.gps-box {
    background: #e3f2fd;
    border: 1px solid #1976d2;
    border-radius: 5px;
    padding: 0.75rem;
    font-family: monospace;
    font-size: 0.9rem;
    text-align: center;
    margin: 0.5rem 0;
}

/* Quick Links */
.quick-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.quick-link:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
}

.quick-link i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--primary-color);
}

/* Image credits */
.img-credit {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* Leaflet Map */
#stellplaetze-map {
    height: 400px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    margin: 1rem 0;
    z-index: 1;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .amenities-grid { grid-template-columns: 1fr; }
    .stellplatz-card { padding: 1rem; }
    .price-badge { font-size: 1rem; }
    #stellplaetze-map { height: 300px; }
}

/* Print Styles */
@media print {
    .navbar, footer, #stellplaetze-map, #cdfe-sticky-cta { display: none; }
    .stellplatz-card { break-inside: avoid; }
}
