.dk-segmentNav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.dk-segmentNav__item {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border: 2px solid #339900;
    border-radius: 999px;
    background: #fff;
    color: #339900;
    font-weight: 700;
    text-decoration: none;
}

.dk-segmentNav__item:hover {
    text-decoration: underline;
    background: #f3faed;
}

.dk-compare__grid {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 24px;
    align-items: start;
}

.dk-compare__sidebar,
.dk-compare__resultsCol {
    min-width: 0;
}

.dk-compare__sidebarCard,
.dk-compare__resultsCard,
.dk-compare__intro {
    padding: 24px;
}

.dk-resultsHeader {
    margin-bottom: 18px;
}

/* Zeile 1: Titel + Datum */
.dk-resultsHeader__top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.dk-resultsHeader__title {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.dk-resultsHeader__meta {
    flex: 0 0 auto;
    text-align: right;
    white-space: nowrap;
}

/* Unter 700px: Datum in eigene Zeile, rechtsbündig */
@media (max-width: 700px) {
    .dk-resultsHeader__meta {
        flex: 0 0 100%;
        text-align: right;
    }
}

/* Zeile 2: alle 3 Buttons rechtsbündig, immer eine Zeile */
.dk-resultsHeader__actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.dk-resultsHeader__actions .dk-mobileFilterToggle__button {
    display: none;
}

@media (max-width: 960px) {
    .dk-resultsHeader__actions .dk-mobileFilterToggle__button {
        display: inline-flex;
    }
}

.dk-resultsHeader__note {
    margin-top: 8px;
}

.dk-resultsHeader__checkbox .ui-chkbox .ui-chkbox-label {
    font-size: 14px;
}

@media (max-width: 1024px) {
    .dk-compare__grid {
        grid-template-columns: 1fr;
    }
}

/* Cards: nur Button-Optik */
.dk-results-cards .dk-abo__actions .ui-button.dk-offerBtn--mini {
    min-width: 135px;
    height: 42px;
    padding: 0 18px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
}

.dk-results-cards .dk-abo__actions .ui-button.dk-offerBtn--mini .ui-button-text {
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
}

.dk-results-cards .dk-abo__actions .dk-detailsBtn {
    min-width: 135px;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
}

/* Table: nur Button-Optik, KEIN Layout/Breakpoint */
.dk-results-tableView .dk-abo__tabebuttons .ui-button.dk-offerBtn--mini {
    height: 42px;
    padding: 0 18px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
}

.dk-results-tableView .dk-abo__tabebuttons .ui-button.dk-offerBtn--mini .ui-button-text {
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
}

.dk-results-tableView .dk-abo__tabebuttons .dk-detailsBtn {
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
}

.dk-results-tableView .dk-abo__tabebuttons .dk-detailsBtn__text {
    line-height: 1;
}

.dk-results-tableView .dk-abo__tabebuttons .dk-detailsBtn__icon {
    font-size: 14px;
    line-height: 1;
}

/* Detail-Aktionsblock unten */
.dk-cardDetails .dk-abo__actions {
    margin-top: 14px !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dk-cardDetails .dk-abo__actions .ui-button.dk-offerBtn,
.dk-cardDetails .dk-abo__actions .dk-detailsBtn.dk-detailsBtn--full {
    width: 100%;
    min-height: 56px;
    height: 56px;
    border-radius: 999px;
    box-sizing: border-box;
}

.dk-cardDetails .dk-abo__actions .ui-button.dk-offerBtn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 18px !important;
    box-shadow: none !important;
}

.dk-cardDetails .dk-abo__actions .ui-button.dk-offerBtn .ui-button-text {
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
}

.dk-cardDetails .dk-abo__actions .ui-button.dk-offerBtn .ui-icon-right,
.dk-cardDetails .dk-abo__actions .ui-button.dk-offerBtn .ui-icon-left {
    margin-top: 0 !important;
    line-height: 1 !important;
}

.dk-cardDetails .dk-abo__actions .dk-detailsBtn.dk-detailsBtn--full {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 18px;
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
}

.dk-cardDetails .dk-abo__actions .dk-detailsBtn.dk-detailsBtn--full .dk-detailsBtn__text {
    line-height: 1;
}

.dk-cardDetails .dk-abo__actions .dk-detailsBtn.dk-detailsBtn--full .dk-detailsBtn__icon {
    font-size: 14px;
    line-height: 1;
    margin-top: 0;
}

/* Detail-Inhalte */
.dk-cardDetails__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dk-cardDetails__row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
}

.dk-cardDetails__label {
    color: #4b4b4b;
}

.dk-cardDetails__value {
    color: #339900;
    font-weight: 700;
}

.dk-cardDetails__meta {
    color: #4b4b4b;
    font-size: .95em;
}

.dk-cardDetails__row--strong .dk-cardDetails__label,
.dk-cardDetails__row--strong .dk-cardDetails__value {
    font-weight: 700;
}

.dk-cardDetails__spacer {
    height: 8px;
}

.dk-cardDetails__hint {
    color: #339900;
    margin-top: 4px;
}

/* Compare-Layout */
.dk-compareLayout {
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    grid-template-areas:
        "filters header"
        "filters results";
    gap: 24px;
    align-items: start;
    margin-top: 20px;
}

.dk-compareLayout__filters {
    grid-area: filters;
}

.dk-compareLayout__header {
    grid-area: header;
}

.dk-compareLayout__results {
    grid-area: results;
}

.dk-compareLayout__filtersCard {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .04);
}

.dk-resultsHeaderCard {
    background: #fff;
    border-radius: 24px;
    padding: 22px 24px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .04);
}

.dk-resultsShell__seoText {
    margin-top: 14px;
}

.dk-compare__resultsCard {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.dk-results-cards,
.dk-results-tableView {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.dk-mobileFilterToggle__button.ui-button {
    border-radius: 999px !important;
}

@media (max-width: 960px) {
    .dk-compareLayout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "filters"
            "results";
    }

    .dk-compareLayout.is-mobileFiltersClosed .dk-compareLayout__filters {
        display: none;
    }

    .dk-compareLayout.is-mobileFiltersOpen .dk-compareLayout__filters {
        display: block;
    }
}

/* =========================================================
   INTERNET TABLE FIX
   4 Elemente in .dk-abo__top => 4 Spalten nötig
   ========================================================= */

@media (min-width: 701px){
    .dk-results-tableView .dk-abo__top{
        display:grid !important;
        grid-template-columns:70px minmax(0, 1fr) auto 125px !important;
        gap:12px !important;
        align-items:start !important;
    }

    .dk-results-tableView .dk-abo__logo{
        grid-column:1 !important;
    }

    .dk-results-tableView .dk-abo__provider{
        grid-column:2 !important;
        min-width:0 !important;
    }

    .dk-results-tableView .dk-abo__price{
        grid-column:3 !important;
        justify-self:end !important;
        text-align:right !important;
        white-space:nowrap !important;
        margin-left:0 !important;
    }

    .dk-results-tableView .dk-abo__tabebuttons{
        grid-column:4 !important;
        width:125px !important;
        min-width:125px !important;
        justify-self:end !important;

        display:flex !important;
        flex-direction:column !important;
        gap:10px !important;
        align-items:stretch !important;
    }

    .dk-results-tableView .dk-abo__tabebuttons .ui-button,
    .dk-results-tableView .dk-abo__tabebuttons .dk-detailsBtn{
        width:125px !important;
        min-width:125px !important;
        max-width:125px !important;
        box-sizing:border-box !important;
    }
}



/* =============================================================
   PROVIDER-GRID (anbieter/providerliste.xhtml)
   In dk-internet.css oder dk-common.bundle.css einfügen
   ============================================================= */
.dk-providerGrid {
  display:               grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap:                   24px;
  margin-top:            16px;
}

.dk-providerCard {
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  gap:             20px;
  padding:         32px 24px;
  background:      #fff;
  border-radius:   18px;
  border:          1px solid #e7efe7;
  box-shadow:      0 2px 10px rgba(0,0,0,.04);
  text-decoration: none;
  color:           var(--dk-text, #1d1d1d);
  transition:      box-shadow .25s ease, border-color .25s ease;
}

.dk-providerCard:hover {
  box-shadow:   0 4px 18px rgba(51,153,0,.12);
  border-color: var(--dk-green, #339900);
}

.dk-providerCard__logo {
  height:          130px;
  display:         flex;
  align-items:     center;
  justify-content: center;
}

.dk-providerCard__logo img {
  max-height: 120px;
  max-width:  180px;
  width:      auto;
  object-fit: contain;
}

.dk-providerCard__label {
  font-size:   18px;
  font-weight: 600;
  text-align:  center;
  color:       var(--dk-green, #339900);
  line-height: 1.35;
}

@media (max-width: 700px) {
  .dk-providerGrid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
  }
  .dk-providerCard {
    padding: 24px 16px;
    gap: 14px;
  }
  .dk-providerCard__logo {
    height: 90px;
  }
  .dk-providerCard__logo img {
    max-height: 80px;
    max-width:  140px;
  }
  .dk-providerCard__label {
    font-size: 16px;
  }
}
