/**
 * @package     UckerNet.Module
 * @subpackage  mod_uckernet_offers
 *
 * @copyright   (C) 2026 UckerNet
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

:root {
  --uckernet-navy-dark: #031742;
  --uckernet-navy-card: #041b4e;
  --uckernet-blue-bright: #00a2f4;
  --uckernet-cyan: #00d2ff;
  --uckernet-btn-gradient: linear-gradient(180deg, #00b4ff 0%, #0094f0 100%);
  --uckernet-btn-hover: linear-gradient(180deg, #1ec4ff 0%, #0aa6ff 100%);
  --uckernet-text-dark: #081d45;
  --uckernet-text-muted: #64748b;
  --uckernet-gray-light: #f8fafc;
  --uckernet-border-light: #e2e8f0;
  --uckernet-shadow: 0 16px 36px -6px rgba(3, 23, 66, 0.16), 0 4px 12px -2px rgba(3, 23, 66, 0.08);
  --uckernet-card-radius: 18px;
}

.mod-uckernet-offers {
  width: 100%;
  box-sizing: border-box;
  margin: 1.5rem 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--uckernet-text-dark);
}

.mod-uckernet-offers *,
.mod-uckernet-offers *::before,
.mod-uckernet-offers *::after {
  box-sizing: border-box;
}

/* Container & Grid System */
.uckernet-offers-wrap {
  width: 100%;
  margin: 0 auto;
}

.uckernet-offers-grid {
  display: grid;
  gap: 24px;
  width: 100%;
  margin: 0 auto;
  align-items: start; /* Cards align at the top; only the opened card expands downwards */
  padding-top: 24px; /* Room for elevated cards & floating highlight badges */
}

/* Alignments */
.uckernet-offers-grid.align-center {
  justify-content: center;
}

.uckernet-offers-grid.align-flex-start {
  justify-content: start;
}

.uckernet-offers-grid.align-space-around {
  justify-content: space-around;
}

/* 1 Column */
.uckernet-offers-grid.cols-1 {
  grid-template-columns: minmax(0, 360px);
  justify-content: center;
}

/* 2 Columns */
.uckernet-offers-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

/* 3 Columns */
.uckernet-offers-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1140px;
}

/* 4 Columns (Full width 4-column layout) */
.uckernet-offers-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 100%;
}

/* 5 Columns (Full width 5-column layout for subpages) */
.uckernet-offers-grid.cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 100%;
}

/* Auto-Responsive (Default) */
.uckernet-offers-grid.cols-auto {
  grid-template-columns: repeat(auto-fit, minmax(250px, 320px));
  justify-content: center;
}

/* Card */
.uckernet-card {
  width: 100%;
  max-width: 100%;
  background: #ffffff;
  border-radius: var(--uckernet-card-radius);
  box-shadow: var(--uckernet-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible; /* Allows floating top highlight badge without clipping */
  align-self: start; /* Each card sizes independently so opening accordion only expands this box downwards */
  border: 1px solid rgba(226, 232, 240, 0.85);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
}

.uckernet-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px -6px rgba(3, 23, 66, 0.22), 0 8px 16px -3px rgba(3, 23, 66, 0.12);
}

/* ========================================================
   HIGHLIGHT FUNCTION (FEATURED OFFER)
   ======================================================== */
.uckernet-card.is-featured {
  position: relative;
  z-index: 5;
  border: 2px solid #C2E30C;
  box-shadow: 0 20px 48px -6px rgba(194, 227, 12, 0.4), 0 8px 20px -2px rgba(3, 23, 66, 0.18);
}

/* Header Wrapper */
.uckernet-header-wrap {
  position: relative;
  width: 100%;
  border-top-left-radius: max(0px, calc(var(--uckernet-card-radius) - 1px));
  border-top-right-radius: max(0px, calc(var(--uckernet-card-radius) - 1px));
  overflow: hidden;
}

/* Highlight Ribbon Badge (Crowning the top of the card) */
.uckernet-highlight-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #a4cc05 0%, #C2E30C 55%, #d8f72a 100%);
  color: #031742;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(194, 227, 12, 0.65), 0 2px 6px rgba(3, 23, 66, 0.2);
  border: 2px solid #ffffff;
  pointer-events: none;
}

.uckernet-star-icon {
  width: 12px;
  height: 12px;
  display: block;
  fill: currentColor;
  flex-shrink: 0;
}

/* Desktop Elevation for Highlight Card */
@media (min-width: 900px) {
  .uckernet-card.is-featured {
    transform: translateY(-10px) scale(1.025);
  }

  .uckernet-card.is-featured:hover {
    transform: translateY(-14px) scale(1.035);
    box-shadow: 0 28px 56px -6px rgba(194, 227, 12, 0.5), 0 12px 24px -2px rgba(3, 23, 66, 0.22);
  }
}

/* Highlight Color Schemes */
/* 1. Neon-Lime / Chartreuse (#C2E30C) - DEFAULT */
.uckernet-card.highlight-lime {
  border-color: #C2E30C;
  box-shadow: 0 20px 48px -6px rgba(194, 227, 12, 0.4), 0 8px 20px -2px rgba(3, 23, 66, 0.18);
}
.uckernet-card.highlight-lime .uckernet-highlight-ribbon {
  background: linear-gradient(135deg, #a4cc05 0%, #C2E30C 55%, #d8f72a 100%);
  color: #031742;
  box-shadow: 0 4px 16px rgba(194, 227, 12, 0.65), 0 2px 6px rgba(3, 23, 66, 0.2);
}
.uckernet-card.highlight-lime .uckernet-btn-action,
.uckernet-card.is-featured:not(.highlight-gold):not(.highlight-green):not(.highlight-coral):not(.highlight-cyan) .uckernet-btn-action {
  background: linear-gradient(180deg, #d8f72a 0%, #C2E30C 50%, #9ec604 100%);
  color: #031742;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(194, 227, 12, 0.55);
}
.uckernet-card.highlight-lime .uckernet-btn-action:hover,
.uckernet-card.is-featured:not(.highlight-gold):not(.highlight-green):not(.highlight-coral):not(.highlight-cyan) .uckernet-btn-action:hover {
  background: linear-gradient(180deg, #e3fa49 0%, #d0f01a 50%, #abc406 100%);
  color: #031742;
  box-shadow: 0 6px 22px rgba(194, 227, 12, 0.75);
}

/* 2. Cyan / Blau */
.uckernet-card.highlight-cyan {
  border-color: var(--uckernet-blue-bright);
  box-shadow: 0 20px 48px -6px rgba(0, 162, 244, 0.35), 0 8px 20px -2px rgba(3, 23, 66, 0.18);
}
.uckernet-card.highlight-cyan .uckernet-highlight-ribbon {
  background: linear-gradient(135deg, #0077ff 0%, #00d2ff 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 162, 244, 0.55);
}
.uckernet-card.highlight-cyan .uckernet-btn-action {
  background: linear-gradient(180deg, #00c6ff 0%, #008be8 100%);
  color: #ffffff;
  box-shadow: 0 5px 18px rgba(0, 162, 244, 0.55);
}
.uckernet-card.highlight-cyan .uckernet-btn-action:hover {
  background: linear-gradient(180deg, #2dd4ff 0%, #009bf5 100%);
  box-shadow: 0 7px 24px rgba(0, 162, 244, 0.7);
}

/* 3. Gold / Sunshine */
.uckernet-card.highlight-gold {
  border-color: #f59e0b;
  box-shadow: 0 20px 48px -6px rgba(245, 158, 11, 0.35), 0 8px 20px -2px rgba(3, 23, 66, 0.18);
}
.uckernet-card.highlight-gold .uckernet-highlight-ribbon {
  background: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.55);
}
.uckernet-card.highlight-gold .uckernet-btn-action {
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.5);
}
.uckernet-card.highlight-gold .uckernet-btn-action:hover {
  background: linear-gradient(180deg, #fcd34d 0%, #b45309 100%);
}

/* 4. Green / Emerald */
.uckernet-card.highlight-green {
  border-color: #10b981;
  box-shadow: 0 20px 48px -6px rgba(16, 185, 129, 0.35), 0 8px 20px -2px rgba(3, 23, 66, 0.18);
}
.uckernet-card.highlight-green .uckernet-highlight-ribbon {
  background: linear-gradient(135deg, #059669 0%, #34d399 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.55);
}
.uckernet-card.highlight-green .uckernet-btn-action {
  background: linear-gradient(180deg, #34d399 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.5);
}

/* 5. Coral / Warm Red */
.uckernet-card.highlight-coral {
  border-color: #f43f5e;
  box-shadow: 0 20px 48px -6px rgba(244, 63, 94, 0.35), 0 8px 20px -2px rgba(3, 23, 66, 0.18);
}
.uckernet-card.highlight-coral .uckernet-highlight-ribbon {
  background: linear-gradient(135deg, #e11d48 0%, #fb7185 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.55);
}
.uckernet-card.highlight-coral .uckernet-btn-action {
  background: linear-gradient(180deg, #fb7185 0%, #e11d48 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(244, 63, 94, 0.5);
}

/* Standard Top-Right Badge (for non-featured cards) */
.uckernet-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--uckernet-blue-bright);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 162, 244, 0.4);
}

/* Header */
.uckernet-header {
  position: relative;
  background-color: var(--uckernet-navy-dark);
  background-image: url('../images/fiber-bg.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 28px 16px 34px;
  text-align: center;
  color: #ffffff;
  /* Downward chevron peak in center pointing into card body */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), 50% 100%, 0 calc(100% - 16px));
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), 50% 100%, 0 calc(100% - 16px));
  margin-bottom: -1px;
  transition: padding 0.2s ease;
}

.uckernet-brand-title {
  font-size: 20px;
  line-height: 1.2;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.uckernet-brand-title .uckernet-brand-light {
  font-weight: 300;
  opacity: 0.95;
  letter-spacing: 0.4px;
}

.uckernet-brand-title .uckernet-brand-bold {
  font-weight: 600;
  opacity: 1;
  letter-spacing: 0.4px;
}

.uckernet-plan-speed {
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
  margin: 2px 0 0;
  color: #ffffff;
  letter-spacing: -1.5px;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.45);
}

/* Body */
.uckernet-body {
  background: #ffffff;
  padding: 22px 16px 14px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* Features List */
.uckernet-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.uckernet-feature-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.uckernet-feature-icon {
  min-width: 32px;
  width: auto;
  min-height: 32px;
  color: var(--uckernet-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.uckernet-feature-icon svg,
.uckernet-feature-icon img {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  object-fit: contain;
  display: block;
}

.uckernet-feature-icon svg.uckernet-icon-router {
  width: 22px;
  height: 32px;
  max-width: none;
  max-height: none;
}

.uckernet-feature-icon svg.uckernet-icon-fritzbox {
  width: 76px;
  height: 48px;
  max-width: none;
  max-height: none;
}

.uckernet-feature-icon svg image {
  width: 100%;
  height: 100%;
}

.uckernet-feature-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.3;
}

.uckernet-feature-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--uckernet-text-dark);
  letter-spacing: -0.2px;
}

.uckernet-feature-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: var(--uckernet-text-dark);
  letter-spacing: -0.2px;
}

.uckernet-feature-item-router .uckernet-feature-title,
.uckernet-feature-item-fritzbox .uckernet-feature-title,
.uckernet-feature-item-fritz .uckernet-feature-title,
.uckernet-feature-item-wlan .uckernet-feature-title,
.uckernet-feature-item-wifi .uckernet-feature-title,
.uckernet-feature-item:has(.uckernet-icon-router) .uckernet-feature-title,
.uckernet-feature-item:has(.uckernet-icon-fritzbox) .uckernet-feature-title,
.uckernet-feature-item:has(.uckernet-icon-fritz) .uckernet-feature-title,
.uckernet-feature-item:has(.uckernet-icon-wlan) .uckernet-feature-title,
.uckernet-feature-item:has(.uckernet-icon-wifi) .uckernet-feature-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.uckernet-feature-item-router .uckernet-feature-subtitle,
.uckernet-feature-item-fritzbox .uckernet-feature-subtitle,
.uckernet-feature-item-fritz .uckernet-feature-subtitle,
.uckernet-feature-item-wlan .uckernet-feature-subtitle,
.uckernet-feature-item-wifi .uckernet-feature-subtitle,
.uckernet-feature-item:has(.uckernet-icon-router) .uckernet-feature-subtitle,
.uckernet-feature-item:has(.uckernet-icon-fritzbox) .uckernet-feature-subtitle,
.uckernet-feature-item:has(.uckernet-icon-fritz) .uckernet-feature-subtitle,
.uckernet-feature-item:has(.uckernet-icon-wlan) .uckernet-feature-subtitle,
.uckernet-feature-item:has(.uckernet-icon-wifi) .uckernet-feature-subtitle {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.uckernet-feature-item-router .uckernet-feature-link-icon,
.uckernet-feature-item-fritzbox .uckernet-feature-link-icon,
.uckernet-feature-item-fritz .uckernet-feature-link-icon,
.uckernet-feature-item-wlan .uckernet-feature-link-icon,
.uckernet-feature-item-wifi .uckernet-feature-link-icon,
.uckernet-feature-item:has(.uckernet-icon-router) .uckernet-feature-link-icon,
.uckernet-feature-item:has(.uckernet-icon-fritzbox) .uckernet-feature-link-icon,
.uckernet-feature-item:has(.uckernet-icon-fritz) .uckernet-feature-link-icon,
.uckernet-feature-item:has(.uckernet-icon-wlan) .uckernet-feature-link-icon,
.uckernet-feature-item:has(.uckernet-icon-wifi) .uckernet-feature-link-icon {
  width: 14px;
  height: 14px;
}


/* Clickable Feature Link */
a.uckernet-feature-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  min-width: 0;
  transition: opacity 0.15s ease;
}

a.uckernet-feature-link:hover .uckernet-feature-title {
  color: var(--uckernet-blue-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.uckernet-feature-link-icon {
  display: inline-block;
  vertical-align: middle;
  width: 11px;
  height: 11px;
  fill: currentColor;
  margin-left: 4px;
  opacity: 0.55;
  transition: opacity 0.15s ease, transform 0.15s ease, fill 0.15s ease;
}

a.uckernet-feature-link:hover .uckernet-feature-link-icon {
  opacity: 1;
  transform: translate(1px, -1px);
  fill: var(--uckernet-blue-bright);
}

/* Info Icon Button (Cyan Circle with "i") */
.uckernet-info-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.uckernet-info-btn {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: var(--uckernet-blue-bright);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  font-style: italic;
  cursor: pointer;
  border: none;
  outline: none;
  padding: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.uckernet-info-btn:hover,
.uckernet-info-btn:focus-visible {
  transform: scale(1.18);
  background: #00baff;
  box-shadow: 0 0 10px rgba(0, 162, 244, 0.7);
}

/* Divider Line */
.uckernet-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 16px 0 4px;
  width: 100%;
}

/* Optional Addons Section */
.uckernet-optional-section {
  width: 100%;
}

.uckernet-optional-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 8px;
  background: transparent;
  border: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--uckernet-text-dark);
  cursor: pointer;
  text-transform: uppercase;
  transition: color 0.15s ease, background 0.15s ease;
  border-radius: 6px;
  outline: none;
}

.uckernet-optional-toggle:hover {
  color: var(--uckernet-blue-bright);
  background: rgba(0, 162, 244, 0.05);
}

.uckernet-toggle-arrow {
  display: inline-block;
  width: 9px;
  height: 9px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.uckernet-toggle-arrow svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  display: block;
}

.uckernet-card.is-open .uckernet-toggle-arrow {
  transform: rotate(90deg);
}

/* Drawer / Accordion */
.uckernet-optional-drawer {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
  width: 100%;
}

.uckernet-card.is-open .uckernet-optional-drawer {
  grid-template-rows: 1fr;
  visibility: visible;
}

.uckernet-drawer-content {
  overflow: hidden;
}

.uckernet-addons-list {
  list-style: none;
  padding: 10px 10px;
  margin: 4px 0 10px;
  background: var(--uckernet-gray-light);
  border-radius: 8px;
  border: 1px solid var(--uckernet-border-light);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.uckernet-addon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  line-height: 1.3;
  padding-bottom: 6px;
  border-bottom: 1px dashed #e2e8f0;
}

.uckernet-addon-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.uckernet-addon-name {
  font-weight: 600;
  color: #334155;
  flex: 1;
}

a.uckernet-addon-name,
a.uckernet-addon-link {
  color: #1e293b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
  cursor: pointer;
}

a.uckernet-addon-name:hover,
a.uckernet-addon-link:hover {
  color: var(--uckernet-blue-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.uckernet-addon-link-icon {
  width: 10px;
  height: 10px;
  fill: currentColor;
  opacity: 0.6;
  flex-shrink: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

a.uckernet-addon-link:hover .uckernet-addon-link-icon {
  opacity: 1;
  transform: translate(1px, -1px);
}

.uckernet-addon-price {
  font-weight: 700;
  color: #0284c7;
  white-space: nowrap;
  font-size: 11.5px;
  margin-left: auto;
}

/* Footer / Price & Button */
.uckernet-footer {
  background: var(--uckernet-navy-dark);
  padding: 18px 16px 22px;
  text-align: center;
  color: #ffffff;
  margin-top: auto;
  border-bottom-left-radius: max(0px, calc(var(--uckernet-card-radius) - 1px));
  border-bottom-right-radius: max(0px, calc(var(--uckernet-card-radius) - 1px));
}

.uckernet-price-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 4px;
}

.uckernet-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
  margin-bottom: 16px;
}

.uckernet-price-val {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.uckernet-price-unit {
  font-size: 15px;
  font-weight: 400;
  color: #e2e8f0;
  margin-left: 2px;
}

.uckernet-price-footnote {
  font-size: 11px;
  color: #94a3b8;
  margin-top: -10px;
  margin-bottom: 12px;
}

.uckernet-btn-action {
  display: block;
  width: 100%;
  background: var(--uckernet-btn-gradient);
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 14px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 160, 245, 0.4);
  transition: all 0.2s ease;
  outline: none;
}

.uckernet-btn-action:hover {
  background: var(--uckernet-btn-hover);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 160, 245, 0.6);
  transform: translateY(-1px);
}

.uckernet-btn-action:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(0, 160, 245, 0.4);
}

/* ========================================================
   ACCESSIBLE INFO MODAL DIALOG (SCREENSHOT MATCH)
   ======================================================== */
body.uckernet-modal-open {
  overflow: hidden !important;
  touch-action: none;
}

.uckernet-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 23, 66, 0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.uckernet-modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.uckernet-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 470px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 25px 60px -10px rgba(3, 23, 66, 0.5), 0 0 0 1px rgba(0, 162, 244, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.93) translateY(10px);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #081d45;
}

.uckernet-modal-backdrop.is-active .uckernet-modal-dialog {
  transform: scale(1) translateY(0);
}

/* Modal Header - Dark Navy */
.uckernet-modal-header {
  background: #041c50;
  background: linear-gradient(135deg, #031846 0%, #052059 100%);
  color: #ffffff;
  padding: 22px 24px 18px;
  display: flex;
  flex-direction: column;
}

.uckernet-modal-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 12px;
}

.uckernet-modal-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 9999px;
  background: rgba(0, 162, 244, 0.15);
  border: 1px solid rgba(0, 210, 255, 0.4);
  color: #00d2ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.uckernet-modal-close {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  transition: background-color 0.18s ease, transform 0.18s ease;
  outline: none;
}

.uckernet-modal-close:hover,
.uckernet-modal-close:focus-visible {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.uckernet-modal-close svg {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
  display: block;
}

.uckernet-modal-title {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

/* Modal Body - White Background */
.uckernet-modal-body {
  padding: 22px 24px 20px;
  background: #ffffff;
}

.uckernet-modal-submeta {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 13px;
  border-radius: 7px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
}

.uckernet-modal-text {
  font-size: 14px;
  line-height: 1.55;
  color: #334155;
  word-break: break-word;
  margin: 0;
}

/* Modal Footer - White with subtle top border & Right-aligned button */
.uckernet-modal-footer {
  padding: 16px 24px 22px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: flex-end;
}

.uckernet-modal-btn-confirm {
  background: var(--uckernet-btn-gradient);
  color: #ffffff;
  border: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 10px 28px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 4px 14px rgba(0, 160, 245, 0.4);
  outline: none;
}

.uckernet-modal-btn-confirm:hover {
  background: var(--uckernet-btn-hover);
  box-shadow: 0 6px 18px rgba(0, 160, 245, 0.6);
  transform: translateY(-1px);
}

@media (max-width: 520px) {
  .uckernet-modal-dialog {
    max-width: 100%;
    margin: 0 8px;
    border-radius: 14px;
  }
  .uckernet-modal-header {
    padding: 18px 20px 14px;
  }
  .uckernet-modal-title {
    font-size: 18px;
  }
  .uckernet-modal-body {
    padding: 18px 20px 16px;
    font-size: 13.5px;
  }
  .uckernet-modal-footer {
    padding: 12px 20px 16px;
  }
}

/* Floating Tooltip Bubble (Viewport Body Attached) */
.uckernet-tooltip-bubble {
  position: fixed;
  z-index: 999999;
  max-width: 250px;
  padding: 10px 14px;
  background: rgba(3, 23, 66, 0.96);
  color: #ffffff;
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 400;
  border-radius: 8px;
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 162, 244, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.uckernet-tooltip-bubble.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.uckernet-tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border: 6px solid transparent;
}

.uckernet-tooltip-bubble[data-placement="top"] .uckernet-tooltip-arrow {
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-top-color: rgba(3, 23, 66, 0.96);
}

.uckernet-tooltip-bubble[data-placement="bottom"] .uckernet-tooltip-arrow {
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-color: rgba(3, 23, 66, 0.96);
}

.uckernet-tooltip-bubble[data-placement="left"] .uckernet-tooltip-arrow {
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  border-left-color: rgba(3, 23, 66, 0.96);
}

.uckernet-tooltip-bubble[data-placement="right"] .uckernet-tooltip-arrow {
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  border-right-color: rgba(3, 23, 66, 0.96);
}

/* Responsive Grid Breakpoints */
@media (max-width: 1250px) {
  .uckernet-offers-grid.cols-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1140px;
  }
}

@media (max-width: 1080px) {
  .uckernet-offers-grid.cols-4,
  .uckernet-offers-grid.cols-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
  }
}

@media (max-width: 860px) {
  .uckernet-offers-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  .uckernet-offers-grid.cols-5,
  .uckernet-offers-grid.cols-4,
  .uckernet-offers-grid.cols-3,
  .uckernet-offers-grid.cols-2,
  .uckernet-offers-grid.cols-auto {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   Category Filter Bar (Startseite: Kombiniert / All-In / Surf)
   ========================================================================== */
.uckernet-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 30px auto;
  padding: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  max-width: fit-content;
}

.uckernet-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: transparent;
  border: none;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  outline: none;
}

.uckernet-filter-btn:hover {
  color: var(--uckernet-text-dark);
  background: rgba(255, 255, 255, 0.7);
}

.uckernet-filter-btn:focus-visible {
  outline: 2px solid var(--uckernet-blue-bright);
  outline-offset: 2px;
}

.uckernet-filter-btn.is-active {
  background: #ffffff;
  color: var(--uckernet-navy-dark);
  box-shadow: 0 4px 12px rgba(3, 23, 66, 0.1), 0 1px 3px rgba(3, 23, 66, 0.06);
}

.uckernet-filter-icon {
  font-size: 15px;
  line-height: 1;
}

.uckernet-card {
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.uckernet-card.is-hidden {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
}
