html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.logo{
    width: 250px;
}

.search-container {
    margin-bottom: 20px; /* Abstand zwischen Text und Suchfeld */
}

.promo-text {
    font-size: 1.975rem; /* Textgröße */
    font-weight: bold; /* Fettschrift */
    margin-bottom: 10px; /* Abstand unter dem Text */
    text-align: center; /* Zentrierte Ausrichtung */
}

/* Zentrierung */
.search-wrapper {
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center; /* vertikal */
    min-height: 10vh; /* gesamte Höhe des Bildschirms */
}

/* Suchfeld-Design */
.searchbar {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 620px;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
    transition: box-shadow .15s ease, border-color .15s ease;
}

    .searchbar:focus-within {
        border-color: #d1d5db;
        box-shadow: 0 0 0 3px rgba(59,130,246,.12);
    }

.searchbar__icon {
    display: inline-flex;
    color: #6b7280;
}

.searchbar input {
    border: 0;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 16px;
    line-height: 1.4;
    color: #111827;
}

    .searchbar input::placeholder {
        color: #9ca3af;
    }

.country-title {
    text-align: center;
    font-weight: 700;
    font-size: 28px;
    margin: 28px 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
    gap: 20px;
    margin-top: 10px;
}

.card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #2a7b8c 0%, #1e5f6a 100%);
    color: #fff;
    padding: 22px 18px 18px;
    box-shadow: 0 12px 24px rgba(0,0,0,.18);
}

    .card::after { /* subtiler Haloschatten wie rechts im Bild */
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 16px;
        box-shadow: 14px 10px 0 rgba(0,0,0,.12);
        pointer-events: none;
        opacity: .35;
    }

    .card:hover {
        transform: translateY(-2px);
        transition: transform .15s ease;
    }

.card-badge {
    position: absolute;
    top: -18px;
    right: 22px;
    width: 120px;
    height: 76px;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 12px 16px rgba(0,0,0,.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .card-badge img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
}

.card-section {
    background: rgba(255,255,255,.08);
    border-top: 1px solid rgba(255,255,255,.15);
    border-bottom: 1px solid rgba(0,0,0,.1);
    border-radius: 10px;
    padding: 14px;
}

.row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

    .row:last-child {
        border-bottom: 0;
    }

    .row .label {
        letter-spacing: .08em;
        text-transform: uppercase;
        font-size: 12px;
        opacity: .9;
    }

    .row .value {
        font-weight: 600;
    }

    .row svg {
        width: 18px;
        height: 18px;
        opacity: .95;
    }

.card-price {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 22px;
    font-weight: 800;
    margin: 18px 0 10px;
}

.card-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 14px;
    border: 2px solid rgba(255,255,255,.75);
    color: #fff;
    background: transparent;
    border-radius: 10px;
    letter-spacing: .12em;
    font-weight: 700;
    text-transform: uppercase;
    transition: background .15s ease, opacity .15s ease;
}

    .card-cta:hover {
        background: rgba(255,255,255,.12);
    }

@media (prefers-color-scheme: dark) {
    .card {
        box-shadow: 0 12px 28px rgba(0,0,0,.35);
    }
}

/* Wrapper zentriert (falls noch nicht vorhanden) */
.search-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 280px;
}

/* Liste im selben Look wie das Suchfeld */
.country-list {
    position: absolute;
    top: calc(100% + 8px);
    width: 100%;
    max-width: 620px; /* passend zum Suchfeld */
    max-height: 320px;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
    z-index: 50;
    display: none; /* per JS ein-/ausblenden */
}

    /* Items */
    .country-list li {
        padding: 10px 12px;
        border-radius: 8px;
        cursor: pointer;
        color: #111827;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        /* kleines Kreis-Icon links (optional) */
        .country-list li::before {
            content: "";
            width: 6px;
            height: 6px;
            border-radius: 9999px;
            background: #e5e7eb;
        }

        /* Hover/Focus-Zustände */
        .country-list li:hover,
        .country-list li[aria-selected="true"],
        .country-list li.is-active {
            background: #f3f4f6;
        }

    /* Leere/Info-Zeile */
    .country-list .empty {
        color: #6b7280;
        cursor: default;
    }

/* Dark Mode (optional) */
@media (prefers-color-scheme: dark) {
    .country-list {
        background: #111827;
        border-color: #374151;
    }

        .country-list li {
            color: #e5e7eb;
        }

            .country-list li:hover,
            .country-list li.is-active {
                background: #1f2937;
            }
}
