/* tanken.css – Tankpreis-Seiten report.hamburg  v3 */

/* ── Breadcrumb ─────────────────────────────────────────────── */
.tanken-breadcrumb {
    font-size: .88rem;
    margin-bottom: 16px;
    color: #666;
}
.tanken-breadcrumb a { color: #E31052; text-decoration: none; }
.tanken-breadcrumb a:hover { text-decoration: underline; }

/* ── Hero ────────────────────────────────────────────────────── */
.tanken-hero {
    background: linear-gradient(135deg, #b9004d 0%, #E31052 100%);
    color: #fff;
    padding: 36px 24px 28px;
    border-radius: 15px;
    margin-bottom: 28px;
    text-align: center;
}
.tanken-hero-bg {
    background-image: linear-gradient(135deg, rgba(185,0,77,.85) 0%, rgba(227,16,82,.80) 100%),
                      url('/tankpreise/tanken2.jpg');
    background-size: cover;
    background-position: center;
}
.tanken-hero h1 { font-size: 1.9rem; font-weight: 800; margin-bottom: 8px; }
.tanken-hero p  { font-size: 1rem; opacity: .9; margin-bottom: 20px; }

/* Suchzeile */
.tanken-search-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.tanken-search-row input {
    border: none;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: .95rem;
    width: 280px;
    max-width: 100%;
}
.tanken-search-row button {
    background: #fff;
    color: #E31052;
    border: none;
    border-radius: 8px;
    padding: 9px 20px;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
}
.tanken-search-row button:hover { background: #f0f0f0; }

/* Filter-Zeile im Hero */
.tanken-filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.tanken-cb-label {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,.15);
    border: 1.5px solid rgba(255,255,255,.45);
    border-radius: 7px;
    padding: 5px 11px;
    color: #fff;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
}
.tanken-cb-label input { accent-color: #fff; cursor: pointer; }
.tanken-radius-label {
    color: #fff;
    font-size: .88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.tanken-radius-select {
    border: none;
    border-radius: 7px;
    padding: 4px 8px;
    font-size: .88rem;
    font-weight: 600;
    background: #fff;
    color: #E31052;
    cursor: pointer;
}
/* Verstecktes SEO-Bild */
.tanken-hero-img-seo {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

/* ── Abschnittstitel ─────────────────────────────────────────── */
.tanken-section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #E31052;
    margin: 26px 0 12px;
    border-left: 4px solid #E31052;
    padding-left: 10px;
}

/* ── Toolbar (Sortierung + Filter auf Unterseiten) ───────────── */
.tanken-toolbar {
    background: #eae8e6;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tanken-toolbar-label {
    font-size: .78rem;
    color: #888;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}
.tanken-sort-row {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    align-items: center;
}
.tanken-sort-btn {
    background: #d4d4d4;
    border: none;
    border-radius: 7px;
    padding: 5px 12px;
    font-size: .84rem;
    font-weight: 600;
    cursor: pointer;
}
.tanken-sort-btn.active,
.tanken-sort-btn:hover { background: #E31052; color: #fff; }

.tanken-toolbar .tanken-filter-row { justify-content: flex-start; }
.tanken-toolbar .tanken-cb-label {
    background: #fff;
    border-color: #ccc;
    color: #333;
}
.tanken-toolbar .tanken-cb-label input { accent-color: #E31052; }
.tanken-toolbar .tanken-radius-label { color: #333; }
.tanken-toolbar .tanken-radius-select { border: 1px solid #ccc; }

/* ── Stationskarten ──────────────────────────────────────────── */
.station-link {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 14px;
}
.station-card {
    background: #eae8e6;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}
.station-link:hover .station-card {
    background: #e0dedd;
}
.station-info { flex: 1 1 200px; }
.station-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 3px; color: #111; }
.station-address { font-size: .86rem; color: #555; margin-bottom: 5px; }
.station-meta    { font-size: .84rem; color: #777; }
.station-open    { color: #28a745; font-weight: 600; }
.station-closed  { color: #dc3545; font-weight: 600; }

.station-prices {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.price-box {
    background: #fff;
    border-radius: 9px;
    padding: 9px 13px;
    text-align: center;
    min-width: 68px;
}
.price-box--best { border: 2px solid #28a745; }
.fuel-label  { font-size: .72rem; color: #888; text-transform: uppercase; letter-spacing: .03em; }
.fuel-price  { font-size: 1.15rem; font-weight: 800; color: #222; margin-top: 2px; }
.price-low   { color: #28a745; }
.price-high  { color: #dc3545; }

/* Ladeanzeige */
#station-list.tanken-loading {
    min-height: 60px;
    position: relative;
}
#station-list.tanken-loading::after {
    content: 'Lade Tankstellen ...';
    display: block;
    text-align: center;
    color: #888;
    padding: 20px 0;
    font-size: .95rem;
}

/* ── Diagramm ────────────────────────────────────────────────── */
.tanken-chart-wrap {
    background: #eae8e6;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 22px;
}
.tanken-chart-tabs {
    display: flex;
    gap: 7px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.tanken-chart-tabs button {
    background: #d4d4d4;
    border: none;
    border-radius: 7px;
    padding: 5px 14px;
    font-size: .84rem;
    font-weight: 600;
    cursor: pointer;
}
.tanken-chart-tabs button.active,
.tanken-chart-tabs button:hover { background: #E31052; color: #fff; }

/* ── KI-Box ──────────────────────────────────────────────────── */
.tanken-ki-box {
    background: #fff8f9;
    border-left: 4px solid #E31052;
    border-radius: 0 12px 12px 0;
    padding: 16px 18px;
    margin-bottom: 22px;
}
.tanken-ki-box h3 { font-size: .95rem; font-weight: 800; color: #E31052; margin-bottom: 7px; }
.tanken-ki-row    { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.tanken-ki-item   { flex: 1 1 160px; background: #fff; border-radius: 9px; padding: 10px 13px; }
.ki-label  { font-size: .73rem; color: #888; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 3px; }
.ki-value  { font-size: .92rem; font-weight: 700; color: #111; }

/* ── Statistik-Boxen ─────────────────────────────────────────── */
.tanken-stats-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.tanken-stats-row .price-box {
    background: #eae8e6;
    min-width: 100px;
}

/* ── Stadtteile-Raster ───────────────────────────────────────── */
.tanken-orte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 9px;
    margin-bottom: 26px;
}
.tanken-orte-grid a {
    background: #eae8e6;
    border-radius: 9px;
    padding: 9px 12px;
    text-align: center;
    font-weight: 600;
    font-size: .88rem;
    color: #111;
    text-decoration: none;
}
.tanken-orte-grid a:hover { background: #E31052; color: #fff; }

/* ── SEO-Textblock ───────────────────────────────────────────── */
.tanken-seo-text {
    background: #eae8e6;
    border-radius: 12px;
    padding: 18px 20px;
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 22px;
    color: #333;
}
.tanken-seo-text h2 { font-size: 1.1rem; font-weight: 800; color: #E31052; margin-bottom: 10px; }
.tanken-seo-img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 9px;
    margin-bottom: 14px;
    display: block;
}

/* ── Hinweistext ─────────────────────────────────────────────── */
.tanken-hinweis { color: #777; padding: 16px 0; font-size: .95rem; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 580px) {
    .tanken-hero h1  { font-size: 1.4rem; }
    .station-prices  { justify-content: flex-start; }
    .price-box       { min-width: 60px; padding: 7px 9px; }
    .fuel-price      { font-size: .98rem; }
}
