/* TankerApp – Custom Styles */

/* ══════════════════════════════════════════════════
   RECENT SEARCH CHIPS
══════════════════════════════════════════════════ */
.recent-search-chip {
    display: inline-flex;
    align-items: center;
    padding: .35rem .85rem;
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.18);
    border: 1px solid rgba(255, 193, 7, 0.55);
    color: #ffd54f;
    font-size: .8rem;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
    white-space: nowrap;
}
.recent-search-chip:hover {
    background: #ffc107;
    border-color: #ffc107;
    color: #212529;
}
/* Heller Hintergrund (cities-Seite) */
.cities-page .recent-search-chip {
    background: #fff3cd;
    border-color: #ffc107;
    color: #664d03;
}
.cities-page .recent-search-chip:hover {
    background: #ffc107;
    border-color: #e6a800;
    color: #212529;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.footer-main hr,
.footer-divider {
    border-color: rgba(255,255,255,.1);
}

/* Navbar active link */
.navbar-nav .nav-link.active {
    font-weight: 600;
    color: #ffc107 !important;
}

/* ── Preis-Marker auf der Karte ── */
.price-marker {
    position: relative;
    background: var(--mc, #198754);
    color: #fff;
    border-radius: 8px;
    width: 64px;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    box-shadow: 0 2px 6px rgba(0,0,0,.35);
    border: 2px solid rgba(255,255,255,.7);
}

.price-marker__label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    opacity: .85;
    letter-spacing: .5px;
}

.price-marker__price {
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

/* Pfeil nach unten */
.price-marker__tip {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 8px solid var(--mc, #198754);
}

/* Veralteter Marker – ausgegraut */
.price-marker--stale {
    --mc: #adb5bd !important;
    opacity: .65;
    filter: grayscale(60%);
}

.price-marker--stale .price-marker__tip {
    border-top-color: #adb5bd !important;
}

/* Popup – Zeitstempel-Zeile */
.popup-meta {
    font-size: 0.78rem;
    color: #6c757d;
    margin-top: 4px;
}

.popup-stale {
    font-size: 0.78rem;
    color: #dc3545;
    font-weight: 600;
    margin-top: 4px;
}

/* Leaflet popup */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
}

.popup-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.popup-address {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.popup-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.popup-prices .badge {
    font-size: 0.78rem;
}

/* Karte – Umkreis-Kreis */
.leaflet-interactive.radius-circle {
    stroke-dasharray: 6 4;
}

/* ── Städte-Seite (alt, Kompatibilität) ── */
.city-card {
    transition: box-shadow .15s;
}

.city-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.12) !important;
}

.city-btn {
    white-space: nowrap;
}

/* ══════════════════════════════════════════════════
   STÄDTE-SEITE v2 – modernes Layout
══════════════════════════════════════════════════ */

/* Hero-Streifen oben */
.cities-hero {
    background: linear-gradient(135deg, #1b2a4a 0%, #0d1b2a 100%);
    border-bottom: 3px solid #ffc107;
}

.cities-hero__title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: .25rem;
}

.cities-hero__sub {
    color: rgba(255,255,255,.6);
    font-size: .95rem;
    margin-bottom: 0;
}

/* Bundesland-Schnellnavigation – Badges */
.cities-state-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .75rem;
    border-radius: 50px;
    background: #e8f0fe;
    color: #1a56db;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #c3d4f8;
    transition: background .15s, transform .1s;
    white-space: nowrap;
}

.cities-state-badge:hover {
    background: #1a56db;
    color: #fff;
    transform: translateY(-1px);
}

.cities-state-badge__count {
    background: rgba(0,0,0,.12);
    border-radius: 50px;
    padding: .1rem .45rem;
    font-size: .72rem;
}

.cities-state-badge:hover .cities-state-badge__count {
    background: rgba(255,255,255,.25);
}

/* Bundesland-Überschrift */
.cities-state-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1b2a4a;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: .5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: .5rem;
}

.cities-state-heading__count {
    font-size: .8rem;
    font-weight: 400;
    color: #6c757d;
}

/* City-Card v2 */
.city-card-v2 {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    transition: box-shadow .15s, transform .15s;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.city-card-v2:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
    transform: translateY(-2px);
}

.city-card-v2__name {
    font-size: .95rem;
    font-weight: 700;
    color: #1b2a4a;
    margin: 0;
    padding: .85rem 1rem .5rem;
    line-height: 1.3;
}

.city-card-v2__links {
    display: flex;
    flex-direction: column;
    padding: 0 .75rem .75rem;
    gap: .35rem;
    margin-top: auto;
}

.city-card-v2__link {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .65rem;
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .12s, color .12s;
    line-height: 1.2;
}

.city-card-v2__link i {
    flex-shrink: 0;
    font-size: .85rem;
}

/* Diesel – dunkles Grün */
.city-card-v2__link--diesel {
    background: #e8f5e9;
    color: #2e7d32;
}

.city-card-v2__link--diesel:hover {
    background: #2e7d32;
    color: #fff;
}

/* E10 – Blau */
.city-card-v2__link--e10 {
    background: #e3f2fd;
    color: #1565c0;
}

.city-card-v2__link--e10:hover {
    background: #1565c0;
    color: #fff;
}

/* Super E5 – Lila/Violett */
.city-card-v2__link--super {
    background: #f3e5f5;
    color: #6a1b9a;
}

.city-card-v2__link--super:hover {
    background: #6a1b9a;
    color: #fff;
}

/* Karte – Akzentfarbe Gelb/Dunkel */
.city-card-v2__link--map {
    background: #fff8e1;
    color: #b45309;
}

.city-card-v2__link--map:hover {
    background: #f59e0b;
    color: #000;
}

/* Stadtname als Link in der Übersicht */
.city-card-v2__name--link {
    display: block;
    padding: .85rem 1rem .5rem;
    font-size: .95rem;
    font-weight: 700;
    color: #1b2a4a;
    text-decoration: none;
    line-height: 1.3;
    transition: color .15s;
}

.city-card-v2__name--link:hover {
    color: #1a56db;
}

.city-card-v2__state {
    display: block;
    font-size: .72rem;
    font-weight: 400;
    color: #6c757d;
    margin-top: .1rem;
}

/* Meta-Zeile: Radius + Tankstellenanzahl */
.city-card-v2__meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    padding: .3rem .75rem .1rem;
    font-size: .72rem;
    color: #6c757d;
}

.city-card-v2__radius {
    display: inline-flex;
    align-items: center;
    background: #f0f4ff;
    color: #3b5bdb;
    border-radius: 20px;
    padding: .1rem .55rem;
    font-weight: 500;
}

.city-card-v2__count {
    display: inline-flex;
    align-items: center;
    background: #f0fdf4;
    color: #2d6a4f;
    border-radius: 20px;
    padding: .1rem .55rem;
    font-weight: 500;
}

.city-card-v2__count--zero {
    background: #f8f9fa;
    color: #adb5bd;
}

/* ══════════════════════════════════════════════════
   STADTSEITE – city_detail.html
══════════════════════════════════════════════════ */
.city-detail-hero {
    background: linear-gradient(135deg, #1b2a4a 0%, #0d1b2a 100%);
    border-bottom: 3px solid #ffc107;
}

.city-detail-hero__title {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: .25rem;
}

.city-detail-hero__sub {
    color: rgba(255,255,255,.6);
    font-size: .95rem;
    margin-bottom: 0;
}

.breadcrumb-dark .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,.3);
}

.city-detail-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1b2a4a;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: .5rem;
    margin-bottom: .25rem;
}

/* Kraftstoff-Kachel auf der Stadtseite */
.city-detail-fuel-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-radius: 14px;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 2px 6px rgba(0,0,0,.07);
    height: 100%;
}

.city-detail-fuel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.14);
}

.city-detail-fuel-card__icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    line-height: 1;
}

.city-detail-fuel-card__title {
    font-weight: 700;
    font-size: .9rem;
    line-height: 1.3;
}

.city-detail-fuel-card__sub {
    font-size: .75rem;
    opacity: .7;
    margin-top: .15rem;
}

.city-detail-fuel-card__arrow {
    margin-left: auto;
    font-size: 1.3rem;
    flex-shrink: 0;
    opacity: .5;
}

.city-detail-fuel-card--diesel {
    background: #e8f5e9;
    color: #1b5e20;
}
.city-detail-fuel-card--diesel:hover { background: #c8e6c9; color: #1b5e20; }

.city-detail-fuel-card--e10 {
    background: #e3f2fd;
    color: #0d47a1;
}
.city-detail-fuel-card--e10:hover { background: #bbdefb; color: #0d47a1; }

.city-detail-fuel-card--super {
    background: #f3e5f5;
    color: #4a148c;
}
.city-detail-fuel-card--super:hover { background: #e1bee7; color: #4a148c; }

.city-detail-fuel-card--map {
    background: #fff8e1;
    color: #7c3c00;
}
.city-detail-fuel-card--map:hover { background: #ffecb3; color: #7c3c00; }

/* SEO-Infobox */
.city-detail-infobox {
    background: #f4f6f9;
    border-left: 4px solid #ffc107;
    border-radius: 0 12px 12px 0;
    padding: 1.5rem 1.75rem;
}

.city-detail-infobox__title {
    font-size: 1rem;
    font-weight: 700;
    color: #1b2a4a;
    margin-bottom: .75rem;
}

/* Hilfreich für home.html Stadtname-Link */
.text-inherit {
    color: inherit !important;
}
.fuel-btn {
    min-width: 110px;
    font-weight: 600;
    font-size: 1rem;
    padding: .6rem 1.2rem;
    border-radius: 10px;
    transition: transform .1s, box-shadow .1s;
}

.fuel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

/* ══════════════════════════════════════════════════
   STARTSEITE – BLOCK 1: Hero
══════════════════════════════════════════════════ */
.hero-section {
    background: linear-gradient(135deg, #0d1b2a 0%, #1b2a4a 50%, #1a3a5c 100%);
    color: #fff;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(255,193,7,.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

.hero-icon-wrapper {
    font-size: clamp(7rem, 15vw, 11rem);
    color: #ffc107;
    filter: drop-shadow(0 8px 32px rgba(255,193,7,.35));
    line-height: 1;
    display: inline-block;
    transition: transform .3s ease;
}

.hero-icon-wrapper:hover {
    transform: scale(1.06) rotate(-3deg);
}

.hero-btn-primary {
    background: #ffc107;
    border-color: #ffc107;
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    transition: transform .15s, box-shadow .15s;
}

.hero-btn-primary:hover,
.hero-btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,193,7,.45);
    background: #ffca2c;
    border-color: #ffca2c;
    color: #000;
}

.hero-btn-primary:disabled {
    opacity: .8;
    transform: none;
}

.hero-btn-secondary {
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    border-color: rgba(255,255,255,.45);
    color: #fff;
    transition: transform .15s, background-color .15s, border-color .15s;
}

.hero-btn-secondary:hover,
.hero-btn-secondary:focus {
    transform: translateY(-2px);
    background-color: rgba(255,255,255,.12);
    border-color: #fff;
    color: #fff;
}

/* ══════════════════════════════════════════════════
   STARTSEITE – BLOCK 2: Städte-Vorschau
══════════════════════════════════════════════════ */
.cities-preview-section {
    background: #f4f6f9;
}

.city-preview-card {
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
    transition: box-shadow .15s;
    padding: .9rem 1rem;
}

.city-preview-card:hover {
    box-shadow: 0 5px 16px rgba(0,0,0,.11);
}

.cities-preview-group-label {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #6c757d;
    margin-bottom: .6rem;
    padding-bottom: .3rem;
    border-bottom: 1px solid #e9ecef;
}

/* Stadt-Bild auf der Startseite */
.city-preview-card__img-link {
    display: block;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    margin: -.9rem -1rem .75rem;
    width: calc(100% + 2rem);
    flex-shrink: 0;
}

.city-preview-card__img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.city-preview-card:hover .city-preview-card__img {
    transform: scale(1.04);
}

/* Bundesland-Sub-Heading (Mittelgroße + Kleinstädte) */
.cities-state-subsection {
    margin-bottom: 1.5rem;
}

.cities-state-sub-heading {
    font-size: .9rem;
    font-weight: 700;
    color: #37474f;
    background: #f4f6f9;
    border-radius: 8px;
    padding: .4rem .85rem;
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.city-preview-card__name {
    font-size: .9rem;
    font-weight: 700;
    color: #1b2a4a;
    margin-bottom: .6rem;
    display: flex;
    align-items: baseline;
    gap: .4rem;
}

.city-preview-card__fuels {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
}

.city-preview-fuel {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .25rem .6rem;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .12s, color .12s;
    white-space: nowrap;
}

.city-preview-fuel--diesel  { background: #e8f5e9; color: #2e7d32; }
.city-preview-fuel--diesel:hover  { background: #2e7d32; color: #fff; }

.city-preview-fuel--e10     { background: #e3f2fd; color: #1565c0; }
.city-preview-fuel--e10:hover     { background: #1565c0; color: #fff; }

.city-preview-fuel--super   { background: #f3e5f5; color: #6a1b9a; }
.city-preview-fuel--super:hover   { background: #6a1b9a; color: #fff; }

.city-preview-fuel--map     { background: #fff8e1; color: #b45309; }
.city-preview-fuel--map:hover     { background: #f59e0b; color: #000; }

/* ══════════════════════════════════════════════════
   BILD-TRENNER zwischen Block 2 und Block 3
══════════════════════════════════════════════════ */
.img-divider {
    position: relative;
    min-height: 320px;
    background-attachment: fixed;       /* Parallax */
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-divider__overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* dunkles Overlay über dem Bild */
.img-divider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 35, .62);
    z-index: 0;
}

.img-divider__quote {
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
    font-style: italic;
}

/* ══════════════════════════════════════════════════
   STARTSEITE – BLOCK 3: Spartipps
══════════════════════════════════════════════════ */
.spartipps-section {
    background: #fff;
}

.spartipp-card {
    border: none;
    border-radius: 14px;
    background: linear-gradient(145deg, #e8f5e9, #f1f8e9);
    padding: 2rem 1.5rem;
    height: 100%;
    box-shadow: 0 2px 8px rgba(46,125,50,.08);
    transition: transform .15s, box-shadow .15s;
    display: flex;
    flex-direction: column;
}

.spartipp-card--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.spartipp-card--link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(46,125,50,.18);
    color: inherit;
}

.spartipp-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: #1b2a4a;
}

.spartipp-card__short {
    font-size: .85rem;
    color: #6c757d;
    flex: 1;
    margin-bottom: .75rem;
}

.spartipp-card__more {
    font-size: .8rem;
    font-weight: 600;
    color: #2e7d32;
}

.spartipp-card--link:hover .spartipp-card__more {
    text-decoration: underline;
}

.spartipp-icon {
    font-size: 2.4rem;
    color: #2e7d32;
    margin-bottom: 0.75rem;
    line-height: 1;
}

/* ══════════════════════════════════════════════════
   SPARTIPPS-ÜBERSICHT & DETAILSEITE
══════════════════════════════════════════════════ */
.tips-hero {
    background: linear-gradient(135deg, #1b3a1b 0%, #0d2a0d 100%);
    border-bottom: 3px solid #ffc107;
}

.tips-hero__title {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: .25rem;
}

.tips-hero__sub {
    color: rgba(255,255,255,.6);
    font-size: .95rem;
    margin-bottom: 0;
}

/* Tipp-Kachel auf der Übersichtsseite */
.tip-card {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
    transition: transform .15s, box-shadow .15s;
    height: 100%;
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0,0,0,.14);
    color: inherit;
}

.tip-card__icon {
    font-size: 2.2rem;
    margin-bottom: .75rem;
    line-height: 1;
}

.tip-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: #1b2a4a;
}

.tip-card__short {
    font-size: .84rem;
    color: #6c757d;
    flex: 1;
    margin-bottom: .75rem;
}

.tip-card__more {
    font-size: .8rem;
    font-weight: 600;
    margin-top: auto;
}

/* Farbvarianten */
.tip-card--success { background: linear-gradient(145deg, #e8f5e9, #f1f8e9); }
.tip-card--success .tip-card__icon { color: #2e7d32; }
.tip-card--success .tip-card__more { color: #2e7d32; }

.tip-card--primary { background: linear-gradient(145deg, #e3f0ff, #eef5ff); }
.tip-card--primary .tip-card__icon { color: #1565c0; }
.tip-card--primary .tip-card__more { color: #1565c0; }

.tip-card--info { background: linear-gradient(145deg, #e0f7fa, #e8fffe); }
.tip-card--info .tip-card__icon { color: #00838f; }
.tip-card--info .tip-card__more { color: #00838f; }

.tip-card--warning { background: linear-gradient(145deg, #fff8e1, #fffde7); }
.tip-card--warning .tip-card__icon { color: #b45309; }
.tip-card--warning .tip-card__more { color: #b45309; }

.tip-card--danger { background: linear-gradient(145deg, #fce4e4, #fff0f0); }
.tip-card--danger .tip-card__icon { color: #c62828; }
.tip-card--danger .tip-card__more { color: #c62828; }

.tip-card--secondary { background: linear-gradient(145deg, #f0f0f5, #f8f8fc); }
.tip-card--secondary .tip-card__icon { color: #37474f; }
.tip-card--secondary .tip-card__more { color: #37474f; }

.tip-card--dark { background: linear-gradient(145deg, #e8eaf0, #eeeff5); }
.tip-card--dark .tip-card__icon { color: #1b2a4a; }
.tip-card--dark .tip-card__more { color: #1b2a4a; }

/* Detailseite */
.tip-detail-hero-icon {
    font-size: 3rem;
    line-height: 1;
    flex-shrink: 0;
}

.tip-detail-body {
    font-size: 1rem;
    line-height: 1.75;
    color: #212529;
}

.tip-detail-body p { margin-bottom: 1rem; }
.tip-detail-body ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.tip-detail-body li { margin-bottom: .4rem; }
.tip-detail-body strong { color: #1b2a4a; }

.tip-detail-cta {
    background: #f4f6f9;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #ffc107;
}

/* Vor / Zurück Navigation */
.tip-detail-nav { border-top: 1px solid #e9ecef; padding-top: 1.5rem; }

.tip-nav-btn {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    text-decoration: none;
    color: #1b2a4a;
    font-size: .875rem;
    font-weight: 600;
    transition: background .15s, border-color .15s;
    max-width: 48%;
}

.tip-nav-btn:hover {
    background: #f4f6f9;
    border-color: #ced4da;
    color: #1b2a4a;
}

/* ══════════════════════════════════════════════════
   FOOTER – Erweiterter Seitenfuß
══════════════════════════════════════════════════ */
.footer-main {
    font-size: 0.875rem;
    background: #0d1b2a !important;
}

.footer-main a {
    transition: color .15s;
}

.footer-main a:hover {
    color: #ffc107 !important;
    text-decoration: underline !important;
}

.footer-main hr {
    border-color: rgba(255,255,255,.1);
}

/* ══════════════════════════════════════════════════
   DEBUG-LEISTE (nur sichtbar wenn DEBUG=True)
══════════════════════════════════════════════════ */
.debug-bar {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: #ff0000;
    color: #fff;
    font-size: .78rem;
    font-family: monospace;
    padding: .35rem 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .4rem;
    letter-spacing: .02em;
    box-shadow: 0 2px 8px rgba(255,0,0,.4);
}

.debug-bar__sep {
    opacity: .5;
    margin: 0 .2rem;
}

.debug-bar__info {
    opacity: .9;
}

.debug-bar__badge {
    background: #fff;
    color: #c00;
    font-weight: 900;
    font-size: .7rem;
    padding: .1rem .4rem;
    border-radius: 4px;
    letter-spacing: .08em;
}

/* ══════════════════════════════════════════════════
   PWA INSTALL-BANNER
══════════════════════════════════════════════════ */
.pwa-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: rgba(15, 25, 40, 0.97);
    border-bottom: 2px solid #ffc107;
    padding: .75rem 1.25rem;
    box-shadow: 0 4px 20px rgba(0,0,0,.35);
    animation: pwa-slide-in .3s ease;
}

@keyframes pwa-slide-in {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

.pwa-banner__inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pwa-banner__icon {
    flex-shrink: 0;
}

.pwa-banner__text {
    flex: 1;
    color: #e0e0e0;
    font-size: .875rem;
    line-height: 1.5;
    min-width: 180px;
}

.pwa-banner__actions {
    display: flex;
    gap: .5rem;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 576px) {
    .pwa-banner__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .pwa-banner__actions {
        width: 100%;
    }
    .pwa-banner__actions .btn {
        flex: 1;
        text-align: center;
    }
}

/* ══════════════════════════════════════════════════
   COOKIE-CONSENT-BANNER
══════════════════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(15, 25, 40, 0.97);
    border-top: 2px solid #ffc107;
    padding: 1rem 1.25rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,.35);
}

.cookie-banner__inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.cookie-banner__text {
    flex: 1;
    color: #e0e0e0;
    font-size: .875rem;
    line-height: 1.5;
    min-width: 200px;
}

.cookie-banner__actions {
    display: flex;
    gap: .5rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-banner__actions {
        width: 100%;
    }
    .cookie-banner__actions .btn {
        flex: 1;
        text-align: center;
    }
}

/* ══════════════════════════════════════════════════
   COOKIE-EINSTELLUNGS-MODAL
══════════════════════════════════════════════════ */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,.6);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-modal__box {
    background: #fff;
    border-radius: 12px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 8px 40px rgba(0,0,0,.3);
    overflow: hidden;
}

.cookie-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0f1928;
    color: #fff;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid #ffc107;
}

.cookie-modal__close {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 .25rem;
    transition: color .15s;
}
.cookie-modal__close:hover { color: #fff; }

.cookie-modal__body {
    padding: 1.25rem;
}

.cookie-modal__category {
    padding: .25rem 0;
}

.cookie-modal__footer {
    display: flex;
    gap: .5rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    justify-content: flex-end;
}

