/* Preis-Cards – 1:1 aus dem Customizer-CSS der Live-Seite (Abschnitt „EZZE Pricing Cards“, Oktober 2026).
   Die Elementor-Globals werden in site.css auf die Plugin-Tokens gesetzt. */

.ezze-plans-section,
.ezze-compare-section {
  position: relative;
  z-index: auto !important;
  isolation: auto !important;
}

/* --- Pricing Cards --- */

.ezze-plans-section {
  --ezze-compare-primary: #0062D2FF;
  --ezze-compare-primary-soft: #edf6ff;

  width: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
  color: var(--e-global-color-text);
  font-family: inherit;
  overflow: visible;
}

.ezze-plans-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.ezze-plans-header {
  max-width: 860px;
  margin: 0 auto 44px;
  text-align: center;
}

.ezze-plans-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #0062D2FF;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ezze-plans-header h2 {
  margin: 0;
  color: var(--e-global-color-text);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.ezze-plans-header p {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--color-text);
  font-size: 18px;
  line-height: 1.65;
}

.ezze-plans-trust-line {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
}

.ezze-plans-free-hint {
  width: var(--ezze-carousel-width);
  max-width: 680px;
  margin: 20px auto 0;
  padding: 0 20px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
  opacity: 0.88;
}

.ezze-plans-free-hint strong {
  font-weight: 700;
}

/* Homepage teaser (compact cards, no features / checkout buttons) */

.ezze-plans-section--teaser {
  --ezze-card-min-width: 260px;
}

/* Früher nur im Customizer-CSS: Karussell darf im Teaser nicht über die Spalte hinauswachsen. */
.ezze-plans-section--teaser .ezze-plans-carousel {
  width: 100%;
  min-width: 0;
}

.ezze-plans-section--teaser .ezze-plan-description {
  min-height: 44px;
  margin-bottom: 18px;
}

.ezze-plans-section--teaser .ezze-plan-price-block {
  min-height: 108px;
  margin-bottom: 0;
}

/* Billing + Currency Toggles */

.ezze-plans-toggles {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 860px;
  margin: 24px auto 0;
}

.ezze-billing-switch,
.ezze-currency-switch {
  --ezze-switch-padding: 6px;
  --ezze-switch-item-width: calc((var(--ezze-switch-width) - (var(--ezze-switch-padding) * 2)) / 2);

  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: var(--ezze-switch-width);
  padding: var(--ezze-switch-padding);
  background: #ffffff;
  border: 1px solid #dce8f5;
  border-radius: 999px;
}

.ezze-billing-switch {
  --ezze-switch-width: 320px;
}

.ezze-currency-switch {
  --ezze-switch-width: 168px;
}

.ezze-billing-pill {
  position: absolute;
  top: var(--ezze-switch-padding);
  left: var(--ezze-switch-padding);
  width: var(--ezze-switch-item-width);
  height: calc(100% - (var(--ezze-switch-padding) * 2));
  background: #0062D2FF;
  border-radius: 999px;
  transition: transform 0.22s ease;
  z-index: 1;
}

.ezze-currency-pill {
  position: absolute;
  top: var(--ezze-switch-padding);
  left: var(--ezze-switch-padding);
  width: var(--ezze-switch-item-width);
  height: calc(100% - (var(--ezze-switch-padding) * 2));
  background: #ffffff;
  border: 2px solid #0062D2FF;
  border-radius: 999px;
  box-sizing: border-box;
  transition: transform 0.22s ease;
  z-index: 1;
}

.ezze-billing-switch.is-annual .ezze-billing-pill,
.ezze-currency-switch.is-eur .ezze-currency-pill {
  transform: translateX(100%);
}

.ezze-billing-switch button,
.ezze-currency-switch button {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  padding: 9px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #151044;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: color 0.18s ease;
}

.ezze-billing-switch button {
  font-size: 13px;
}

.ezze-billing-switch button.is-active {
  color: #ffffff;
}

.ezze-currency-switch button.is-active {
  color: #0062D2FF;
}

.ezze-billing-switch button:focus-visible,
.ezze-currency-switch button:focus-visible {
  outline: 2px solid #0062D2FF;
  outline-offset: 3px;
}

/* Das Elementor-Kit setzt `.elementor-kit-<id> button { padding: 17px 20px }` und lädt nach dieser
   Datei. Bis 0.11.51 hat eine Kopie der Preis-CSS im Customizer das überdeckt; ohne sie halten diese
   Regeln (eine Klasse mehr) die Innenabstände der Schalter, Pfeile und Infosymbole. */
.ezze-site .ezze-billing-switch button,
.ezze-site .ezze-currency-switch button {
  padding: 9px 10px;
}

.ezze-site .ezze-carousel-arrow,
.ezze-site .ezze-plan-details-toggle {
  padding: 0;
}

/* FX info tooltip (gleiche Optik wie Planvergleich) */

.ezze-plans-section .ezze-compare-info {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--ezze-compare-primary-soft);
  color: var(--ezze-compare-primary) !important;
  cursor: help;
  vertical-align: middle;
  overflow: visible !important;
  z-index: 2;
}

.ezze-site .ezze-plans-section button.ezze-compare-info {
  width: 34px;
  height: 34px;
  padding: 0;
  aspect-ratio: 1;
}

.ezze-plans-section .ezze-compare-info:focus-visible {
  outline: 2px solid var(--ezze-compare-primary);
  outline-offset: 2px;
}

.ezze-plans-section .ezze-compare-info svg {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  color: var(--ezze-compare-primary) !important;
  stroke: var(--ezze-compare-primary) !important;
  fill: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
}

.ezze-plans-section .ezze-compare-info svg path {
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 1.8 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.ezze-plans-section .ezze-compare-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  width: min(280px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  padding: 10px 12px;
  border-radius: 12px;
  background: #151044;
  color: #ffffff !important;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
  text-align: left;
  box-shadow: 0 12px 28px rgba(21, 16, 68, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  z-index: 999999;
}

.ezze-plans-section .ezze-compare-info .ezze-compare-tooltip {
  position: absolute;
  left: auto;
  top: auto;
  box-shadow: none;
}

.ezze-plans-section .ezze-compare-tooltip.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
}

.ezze-plans-section .ezze-compare-tooltip-arrow {
  position: fixed;
  left: 0;
  top: 0;
  display: none;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: 6px solid transparent;
  pointer-events: none;
  z-index: 1000000;
}

.ezze-plans-section .ezze-compare-tooltip-arrow.is-visible {
  display: block;
}

/* Carousel */

.ezze-plans-carousel {
  --ezze-card-width: 300px;
  --ezze-card-min-width: 300px;
  --ezze-card-gap: 22px;
  --ezze-card-peek: 60px;
  --ezze-side-peek: 0px;
  --ezze-edge-gutter: 20px;
  --ezze-carousel-width: 100%;
  --ezze-feature-max-height: 1400px;

  position: relative;
  width: 100%;
  overflow: visible;
}

.ezze-carousel-frame {
  position: relative;
  width: var(--ezze-carousel-width);
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;
}

.ezze-carousel-frame::before,
.ezze-carousel-frame::after {
  display: none !important;
  content: none !important;
}

/* Hide carousel until JS has positioned the initial card (prevents visible scroll on load).
   Only with JavaScript: without it the cards stay visible with the server-rendered USD prices. */
.ezze-js .ezze-plans-carousel:not(.is-layout-ready) .ezze-carousel-viewport {
  visibility: hidden;
}

/* Without JavaScript the billing/currency switches, the rate tooltip and the carousel arrows
   cannot work, so they are hidden; the annual USD prices remain as the fallback. */
html:not(.ezze-js) [data-ezze-billing-switch],
html:not(.ezze-js) [data-ezze-currency-switch],
html:not(.ezze-js) .ezze-plans-fx-info,
html:not(.ezze-js) .ezze-plan-currency .ezze-info-tooltip,
html:not(.ezze-js) .ezze-carousel-controls,
html:not(.ezze-js) [data-ezze-tax-controls] {
  display: none;
}

.ezze-plans-carousel:not(.is-layout-ready) .ezze-carousel-viewport {
  scroll-behavior: auto;
}

.ezze-plans-carousel.is-layout-ready .ezze-carousel-viewport {
  visibility: visible;
}

/* Slider Controls */

.ezze-carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: var(--ezze-carousel-width);
  max-width: 100%;
  margin: 0 auto 14px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.ezze-carousel-currency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.ezze-carousel-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  margin: 0;
  width: auto;
  max-width: none;
}

.ezze-plans-carousel:not(.is-scrollable) .ezze-carousel-controls {
  display: none;
}

.ezze-carousel-arrow {
  position: relative;
  --ezze-arrow-pulse-size: 48px;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid #dce8f5;
  border-radius: 999px;
  background: #ffffff;
  color: #0062D2FF !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  line-height: 1;
  overflow: visible;
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    opacity 0.18s ease,
    transform 0.18s ease;
}

.ezze-carousel-arrow:hover,
.ezze-carousel-arrow:focus-visible {
  color: #0056ba !important;
  border-color: #0062D2FF;
  background: #edf6ff;
}

.ezze-carousel-arrow:active {
  transform: scale(0.94);
}

.ezze-carousel-arrow[disabled] {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}

@keyframes ezze-carousel-next-pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.55;
  }

  70%,
  100% {
    transform: translate(-50%, -50%) scale(1.55);
    opacity: 0;
  }
}

.ezze-carousel-arrow-next:not(.is-hint-dismissed):not([disabled])::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--ezze-arrow-pulse-size);
  height: var(--ezze-arrow-pulse-size);
  border: 2px solid #0062D2FF;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  animation: ezze-carousel-next-pulse-ring 2s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .ezze-carousel-arrow-next:not(.is-hint-dismissed):not([disabled])::after {
    animation: none;
    opacity: 0.35;
    transform: translate(-50%, -50%);
  }
}

.ezze-carousel-arrow svg,
.ezze-carousel-arrow .size-6,
.ezze-carousel-arrow .ezze-arrow-svg {
  position: relative;
  z-index: 1;
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  color: #0062D2FF !important;
  stroke: #0062D2FF !important;
  fill: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none;
  overflow: visible !important;
}

.ezze-carousel-arrow:hover svg,
.ezze-carousel-arrow:hover .ezze-arrow-svg,
.ezze-carousel-arrow:focus-visible svg,
.ezze-carousel-arrow:focus-visible .ezze-arrow-svg {
  color: #0056ba !important;
  stroke: #0056ba !important;
}

.ezze-carousel-arrow svg path,
.ezze-carousel-arrow .ezze-arrow-svg path {
  stroke: currentColor !important;
  fill: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  stroke-width: 1.8 !important;
}

/* Viewport + Track */

.ezze-carousel-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-left: 0;
  scroll-padding-right: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  outline: none;
}

.ezze-carousel-viewport:focus-visible {
  border-radius: 28px;
  outline: 2px solid rgba(0, 98, 210, 0.35);
  outline-offset: 4px;
}

.ezze-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.ezze-plans-track {
  display: flex;
  align-items: stretch;
  gap: var(--ezze-card-gap);
  width: max-content;
  padding: 20px 0 0;
  overflow: visible;
}

/* Edge gutter: fixed track padding scrolls away in the middle; visible only at start/end */
.ezze-plans-carousel:not(.is-one-visible) .ezze-plans-track {
  padding-left: var(--ezze-edge-gutter);
  padding-right: var(--ezze-edge-gutter);
}

.ezze-plans-carousel.is-one-visible .ezze-plans-track {
  padding-left: var(--ezze-edge-gutter);
  padding-right: var(--ezze-edge-gutter);
}

.ezze-plans-carousel.is-one-visible .ezze-plan-card:not(:first-child):not(:last-child) {
  scroll-snap-align: center;
}

.ezze-plans-carousel.is-one-visible .ezze-plan-card:first-child:not(:only-child) {
  scroll-snap-align: start;
  scroll-margin-left: var(--ezze-edge-gutter);
}

.ezze-plans-carousel.is-one-visible .ezze-plan-card:last-child:not(:only-child) {
  scroll-snap-align: end;
  scroll-margin-right: var(--ezze-edge-gutter);
}

.ezze-plans-carousel.is-one-visible .ezze-plan-card:only-child {
  scroll-snap-align: center;
}

.ezze-plans-carousel:not(.is-one-visible) .ezze-plan-card:first-child {
  scroll-snap-align: start;
  scroll-margin-left: var(--ezze-edge-gutter);
}

.ezze-plans-carousel:not(.is-one-visible) .ezze-plan-card:last-child {
  scroll-snap-align: end;
  scroll-margin-right: var(--ezze-edge-gutter);
}

.ezze-plans-carousel:not(.is-one-visible) .ezze-plan-card:not(:first-child):not(:last-child) {
  scroll-snap-align: start;
  scroll-margin-left: var(--ezze-side-peek);
}

/* Pricing Cards */

.ezze-plan-card {
  position: relative;
  flex: 0 0 var(--ezze-card-width);
  width: var(--ezze-card-width);
  padding: 24px;
  background: #ffffff;
  border: 1px solid #dce8f5;
  border-radius: 24px;
  box-shadow: none;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.ezze-plan-card-featured {
  border-color: #0062D2FF;
  box-shadow: none;
}

.ezze-plan-card-free {
  border-color: #b8d4f0;
  background: #fafeff;
}

.ezze-plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 7px 18px;
  background: #0062D2FF;
  color: #ffffff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
  z-index: 2;
}

.ezze-plan-kicker {
  display: inline-flex;
  align-self: flex-start;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 7px 12px;
  color: #0062D2FF;
  background: #edf6ff;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}

.ezze-plan-main {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.ezze-plan-name {
  margin: 0 0 8px;
  color: var(--e-global-color-text);
  font-size: 30px;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.ezze-plan-description {
  min-height: 48px;
  margin: 0 0 22px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.5;
}

.ezze-plan-price-block {
  min-height: 132px;
  margin-bottom: 20px;
}

.ezze-plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
  color: var(--e-global-color-text);
}

.ezze-plan-price-highlight {
  color: #0062D2FF;
}

.ezze-plan-price-value {
  font-size: 40px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.05em;
}

.ezze-plan-price-period {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 700;
}

.ezze-plan-price-highlight .ezze-plan-price-period {
  color: #0062D2FF;
}

.ezze-plan-price-note {
  min-height: 20px;
  margin: 0;
  color: #6b6788; /* mind. 4,5:1 auch auf den hellen Kartenflächen */
  font-size: 13px;
  line-height: 1.45;
}

.ezze-plan-saving-note {
  margin: 6px 0 0;
  color: #0062D2FF;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
}

.ezze-plan-saving-note[hidden] {
  display: none;
}

.ezze-plans-section.is-billing-monthly [data-ezze-saving-note]:not([hidden]) {
  cursor: pointer;
}

.ezze-plans-section.is-billing-monthly [data-ezze-saving-note]:not([hidden]):hover,
.ezze-plans-section.is-billing-monthly [data-ezze-saving-note]:not([hidden]):focus-visible {
  color: #0056ba;
  text-decoration: underline;
  outline: none;
}

/* ElementsKit Button */

/* Button in allen Karten auf gleicher Höhe. Ohne JS schiebt margin-top:auto ihn nach unten;
   plans.js (alignPlanButtons) setzt einen festen Abstand, damit er beim Ein-/Ausklappen der
   Plandetails nicht springt. Die Funktionsliste nimmt bei offenen Details den freien Platz. */
.elementskit-pricing-btn-wraper {
  margin: auto 0 22px;
}

.ezze-plans-carousel.is-details-expanded .ezze-plan-feature-area {
  flex-grow: 1;
}

.elementskit-pricing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 14px 18px;
  background: #0062D2FF;
  color: #ffffff;
  border: 1px solid #0062D2FF;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  box-shadow: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.elementskit-pricing-btn:hover,
.elementskit-pricing-btn:focus-visible {
  background: #0056ba;
  border-color: #0056ba;
  color: #ffffff;
  transform: translateY(-1px);
}

.ezze-plan-card[data-plan="free"] .elementskit-pricing-btn {
  background: #ffffff;
  color: #0062D2FF;
}

.ezze-plan-card[data-plan="free"] .elementskit-pricing-btn:hover,
.ezze-plan-card[data-plan="free"] .elementskit-pricing-btn:focus-visible {
  background: #edf6ff;
  color: #0062D2FF;
}

.button-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Features mit Slide-Down-Effekt */

.ezze-plan-feature-area {
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid transparent;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.48s ease,
    opacity 0.28s ease,
    padding-top 0.38s ease,
    border-color 0.38s ease;
}

.ezze-feature-intro {
  margin: 0 0 12px;
  color: var(--e-global-color-text);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 800;
}

.ezze-plan-features {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ezze-plan-features li {
  display: grid;
  grid-template-columns: 19px 1fr;
  gap: 9px;
  align-items: flex-start;
  color: #252052;
  font-size: 14px;
  line-height: 1.42;
}

.ezze-feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ezze-feature-title {
  color: #252052;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}

.ezze-feature-desc {
  color: #6b6788; /* mind. 4,5:1 auch auf den hellen Kartenflächen */
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
}

.ezze-feature-check {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin-top: 1px;
  color: #0062D2FF !important;
  stroke: #0062D2FF !important;
  fill: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Globale Plandetails-Steuerung — Standard: ausgeblendet */

.ezze-plans-carousel.is-details-expanded .ezze-plan-feature-area {
  max-height: var(--ezze-feature-max-height);
  opacity: 1;
  padding-top: 20px;
  border-top-color: #e6eef8;
}

.ezze-plan-details-actions {
  width: var(--ezze-carousel-width);
  max-width: 100%;
  margin: 18px auto 0;
  display: flex;
  justify-content: center;
}

.ezze-plan-details-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  cursor: pointer;
}

.ezze-plan-details-toggle:hover,
.ezze-plan-details-toggle:focus-visible {
  color: #0056ba;
}

.ezze-plan-details-chevron {
  width: 20px;
  height: 20px;
  min-width: 20px;
  fill: none;
  stroke: currentColor;
  transition: transform 0.28s ease;
}

.ezze-plans-carousel.is-details-expanded .ezze-plan-details-chevron {
  transform: rotate(180deg);
}

/* Responsive */

@media (max-width: 1024px) {
  .ezze-carousel-toolbar {
    width: 100%;
    max-width: 100%;
  }

  .ezze-plans-track {
    padding-bottom: 16px;
  }
}

@media (max-width: 680px) {
  .ezze-plans-header {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 30px;
    text-align: center;
  }

  .ezze-plans-header p {
    font-size: 16px;
    line-height: 1.6;
  }

  .ezze-plans-trust-line {
    font-size: 16px;
    line-height: 1.55;
  }

  .ezze-plans-free-hint {
    font-size: 14px;
    line-height: 1.55;
  }

  .ezze-plans-toggles {
    justify-content: center;
    max-width: none;
    margin-top: 20px;
    gap: 12px;
  }

  .ezze-plans-toggles .ezze-billing-switch {
    --ezze-switch-width: min(100%, 320px);
  }

  .ezze-billing-switch button {
    font-size: 12px;
    padding: 9px 10px;
  }

  .ezze-plans-carousel {
    --ezze-card-gap: 18px;
    --ezze-card-peek: 42px;
    --ezze-card-min-width: 300px;
    --ezze-feature-max-height: 1600px;
  }

  .ezze-carousel-toolbar {
    margin: 0 auto 10px;
  }

  .ezze-carousel-controls {
    gap: 18px;
  }

  .ezze-carousel-arrow {
    --ezze-arrow-pulse-size: 40px;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    flex-shrink: 0;
    aspect-ratio: 1;
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #0062D2FF !important;
    box-shadow: none !important;
  }

  .ezze-carousel-arrow:hover,
  .ezze-carousel-arrow:focus-visible {
    background: transparent !important;
    color: #0056ba !important;
  }

  .ezze-carousel-arrow-prev:hover,
  .ezze-carousel-arrow-prev:focus-visible {
    transform: translateX(-2px);
  }

  .ezze-carousel-arrow-next:hover,
  .ezze-carousel-arrow-next:focus-visible {
    transform: translateX(2px);
  }

  .ezze-carousel-arrow:active {
    transform: scale(0.9);
  }

  .ezze-carousel-arrow[disabled] {
    opacity: 0.24;
  }

  .ezze-carousel-arrow svg,
  .ezze-carousel-arrow .size-6,
  .ezze-carousel-arrow .ezze-arrow-svg {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    color: #0062D2FF !important;
    stroke: #0062D2FF !important;
  }

  .ezze-carousel-arrow svg path,
  .ezze-carousel-arrow .ezze-arrow-svg path {
    stroke: currentColor !important;
    stroke-width: 2 !important;
  }

  .ezze-carousel-arrow:hover svg,
  .ezze-carousel-arrow:hover .ezze-arrow-svg,
  .ezze-carousel-arrow:focus-visible svg,
  .ezze-carousel-arrow:focus-visible .ezze-arrow-svg {
    color: #0056ba !important;
    stroke: #0056ba !important;
  }

  .ezze-plan-card {
    padding: 22px;
    border-radius: 22px;
  }

  .ezze-plan-name {
    font-size: 28px;
  }

  .ezze-plan-price-value {
    font-size: 38px;
  }

  .ezze-plan-details-actions {
    margin-top: 14px;
  }
}


/* Tooltip-Grundregeln (aus dem Abschnitt „Plan Comparison Table“ des Customizer-CSS): das Skript hängt

   geöffnete Tooltips an <body>, dort greifen die .ezze-plans-section-Regeln nicht mehr. */


.ezze-compare-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  width: min(280px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  padding: 10px 12px;
  border-radius: 12px;
  background: #151044;
  color: #ffffff !important;
  font-size: 0.75em;
  line-height: 1.45;
  font-weight: 500;
  text-align: left;
  box-shadow: 0 12px 28px rgba(21, 16, 68, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  z-index: 999999;
}

/* Tooltips liegen absichtlich über dem Site-Header – nur wenn sichtbar aktiv */

.ezze-compare-info .ezze-compare-tooltip {
  position: absolute;
  left: auto;
  top: auto;
  box-shadow: none;
}

.ezze-compare-tooltip.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
}

/* Sehr schmale Smartphones (bis 400px): Karte und Werkzeugleiste passen in die Breite. */
@media (max-width: 400px) {
  .ezze-plans-carousel {
    --ezze-card-min-width: 240px;
  }

  .ezze-carousel-toolbar {
    gap: 8px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .ezze-carousel-controls {
    gap: 8px;
  }

  .ezze-currency-switch {
    --ezze-switch-width: 136px;
  }
}

/* Angesprungene Plankarte (#plan-<key> von den Funktionsseiten): kurz anheben, blauer Rand,
   hellblau aufleuchtender Hintergrund. */
@keyframes ezze-plan-jump-lift {
  25%, 65% { transform: translateY(-8px); border-color: #0062d2; background-color: #e3f1fc; }
}

.ezze-plan-card.is-jump-highlight {
  animation: ezze-plan-jump-lift 1.8s ease-in-out 1;
}

@media (prefers-reduced-motion: reduce) {
  .ezze-plan-card.is-jump-highlight {
    animation: none;
    background-color: #e3f1fc;
    outline: 3px solid #0062d2;
    outline-offset: 4px;
  }
}

html.wcag-reduce-motion .ezze-plan-card.is-jump-highlight {
  animation: none;
  background-color: #e3f1fc;
  outline: 3px solid #0062d2;
  outline-offset: 4px;
}

/* Land und Brutto/Netto (partials/tax-controls.php, Logik: plans.js). Eine Zeile unter der
   Abrechnung bzw. im Umschalterbereich der Planvergleiche; bricht bei wenig Platz um. */
.ezze-tax-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  margin: 14px auto 0;
}

.ezze-plan-switches .ezze-tax-controls {
  margin: 0;
}

.ezze-tax-country {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #151044;
  font-size: 14px;
  font-weight: 600;
}

.ezze-site .ezze-tax-country__select {
  min-width: 0;
  max-width: 100%;
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 9px 40px 9px 14px;
  border: 1px solid #dce8f5;
  border-radius: 999px;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%230062D2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  color: #151044;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.ezze-site .ezze-tax-country__select:hover {
  border-color: #0062d2;
}

.ezze-site .ezze-tax-country__select:focus-visible {
  outline: 2px solid #0062d2;
  outline-offset: 3px;
}

/* Erzwungene Farben: das Pfeil-Hintergrundbild fällt weg, der native Pfeil kommt zurück. */
@media (forced-colors: active) {
  .ezze-site .ezze-tax-country__select {
    appearance: auto;
    -webkit-appearance: menulist;
    background-image: none;
    padding-right: 14px;
  }
}

/* Privat/Unternehmen: Breite aus dem längsten Begriff (je Sprache verschieden), beide Spalten
   gleich breit, damit die Pille exakt eine Spalte abdeckt. Doppelte Klasse, weil eine ältere
   Kopie der Preis-CSS im Customizer („Zusätzliches CSS“) nach plans.css lädt und sonst die festen
   168px und das schmale Button-Padding des Währungsschalters zurücksetzt. */
.ezze-currency-switch.ezze-tax-switch {
  width: auto;
}

.ezze-currency-switch.ezze-tax-switch button {
  padding: 9px 18px;
  white-space: nowrap;
}

.ezze-currency-switch.ezze-tax-switch .ezze-currency-pill {
  width: calc(50% - var(--ezze-switch-padding));
}

.ezze-currency-switch.ezze-tax-switch.is-net .ezze-currency-pill {
  transform: translateX(100%);
}

/* Netto + Steuer: sichtbar abgesetzt, aber kleiner als der Bruttopreis (PAngV: Gesamtpreis
   bleibt für Privatkunden die hervorgehobene Angabe). */
.ezze-plan-tax-note {
  display: inline-block;
  margin: 8px 0 0;
  padding: 5px 10px;
  border-radius: 8px;
  background: #eef5fd;
  color: #151044;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.ezze-site .ezze-plan-section .ezze-plan-head-tax {
  display: block;
  margin-top: 4px;
  color: #151044;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

/* Länderauswahl mit Flagge und Suche (plans.js, createCountryPicker). Das native <select> bleibt
   ohne JavaScript sichtbar und wird mit JavaScript durch diese Auswahl ersetzt. Flaggen sind
   Länderzeichen aus assets/flags/ (flag-icons, MIT), keine Interface-Symbole. */
.ezze-site .ezze-tax-country__select.is-enhanced {
  display: none;
}

.ezze-country-picker {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.ezze-site .ezze-country-picker__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid #dce8f5;
  border-radius: 999px;
  background: #ffffff;
  color: #151044;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.ezze-site .ezze-country-picker__button:hover,
.ezze-country-picker.is-open .ezze-country-picker__button {
  border-color: #0062d2;
}

.ezze-site .ezze-country-picker__button:focus-visible {
  outline: 2px solid #0062d2;
  outline-offset: 3px;
}

.ezze-country-picker__value {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ezze-country-flag {
  flex: 0 0 auto;
  display: block;
  width: 20px;
  height: 15px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(21, 16, 68, 0.12);
  object-fit: cover;
}

.ezze-country-picker__chevron {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-left: 2px;
  color: #0062d2;
  transition: transform 0.18s ease;
}

.ezze-country-picker.is-open .ezze-country-picker__chevron {
  transform: rotate(180deg);
}

.ezze-country-picker__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  width: 300px;
  max-width: calc(100vw - 32px);
  padding: 8px;
  border: 1px solid #dce8f5;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 40px -18px rgba(21, 16, 68, 0.35);
  text-align: left;
}

.ezze-country-picker__panel[hidden] {
  display: none;
}

.ezze-country-picker__search {
  position: relative;
  margin-bottom: 6px;
}

.ezze-country-picker__search-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 16px;
  height: 16px;
  color: #6b6789;
  transform: translateY(-50%);
  pointer-events: none;
}

.ezze-site .ezze-country-picker__input {
  display: block;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 8px 12px 8px 36px;
  border: 1px solid #dce8f5;
  border-radius: 10px;
  background: #f7fbff;
  box-shadow: none;
  color: #151044;
  font: inherit;
  font-size: 15px;
  line-height: 1.3;
}

.ezze-site .ezze-country-picker__input::placeholder {
  color: #6b6789;
  opacity: 1;
}

.ezze-site .ezze-country-picker__input:focus {
  border-color: #0062d2;
  outline: 2px solid #0062d2;
  outline-offset: 0;
  background: #ffffff;
}

.ezze-site .ezze-country-picker__list {
  max-height: min(300px, 50vh);
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
}

.ezze-site .ezze-country-picker__option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 9px 10px;
  border-radius: 8px;
  color: #151044;
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
}

.ezze-site .ezze-country-picker__option::before,
.ezze-site .ezze-country-picker__option::marker {
  content: none;
}

.ezze-site .ezze-country-picker__option[hidden] {
  display: none;
}

.ezze-site .ezze-country-picker__option:hover {
  background: #f0f6fd;
}

/* Aktive Option (Pfeiltasten) mit Rand statt nur Farbe; die gewählte zusätzlich fett und blau. */
.ezze-site .ezze-country-picker__option.is-active {
  background: #e3f1fc;
  box-shadow: inset 0 0 0 2px #0062d2;
}

.ezze-site .ezze-country-picker__option[aria-selected="true"] {
  color: #0062d2;
  font-weight: 700;
}

.ezze-site .ezze-country-picker__empty {
  margin: 0;
  padding: 12px 10px;
  color: #6b6789;
  font-size: 14px;
}

.ezze-country-picker__empty[hidden] {
  display: none;
}

/* Kopf des Bottom Sheets (nur mobil, plans.js setzt .is-sheet bis 640px). */
.ezze-site.ezze-country-sheet-host {
  height: 0;
  overflow: visible;
  background: none;
}

.ezze-country-picker__sheet-head {
  display: none;
}

.ezze-country-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(21, 16, 68, 0.45);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.ezze-country-sheet-backdrop.is-visible {
  opacity: 1;
}

.ezze-country-picker__panel.is-sheet {
  position: fixed;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: min(78vh, 640px);
  height: min(78dvh, 640px);
  padding: 6px 16px calc(12px + env(safe-area-inset-bottom));
  border: 0;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 40px -16px rgba(21, 16, 68, 0.35);
  font-family: inherit;
  transform: translateY(100%);
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ezze-country-picker__panel.is-sheet.is-visible {
  transform: translateY(0);
}

.ezze-country-picker__panel.is-sheet.is-dragging {
  transition: none;
}

.ezze-country-picker__panel.is-sheet .ezze-country-picker__sheet-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 10px;
  touch-action: none;
  cursor: grab;
}

.ezze-country-picker__handle {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: #c9d6e6;
  transform: translateX(-50%);
}

.ezze-site .ezze-country-picker__sheet-title {
  margin: 0;
  font-family: var(--ezze-font);
  color: #151044;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

/* Fokusziel beim Öffnen des Sheets (tabindex=-1), keine eigene Bedienfunktion. */
.ezze-site .ezze-country-picker__sheet-title:focus {
  outline: none;
}

.ezze-site .ezze-country-picker__close,
.ezze-country-picker__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 -8px 0 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #151044;
  cursor: pointer;
}

.ezze-country-picker__close:hover {
  background: #f0f6fd;
}

.ezze-country-picker__close:focus-visible {
  outline: 2px solid #0062d2;
  outline-offset: 0;
}

.ezze-country-picker__close svg {
  width: 22px;
  height: 22px;
}

.ezze-country-picker__panel.is-sheet .ezze-country-picker__list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
}

.ezze-country-picker__panel.is-sheet .ezze-country-picker__option {
  min-height: 48px;
  font-size: 16px;
}

/* Im Sheet 16px Schrift im Suchfeld, damit iOS beim Fokus nicht hineinzoomt. */
.ezze-country-picker__panel.is-sheet .ezze-country-picker__input {
  min-height: 48px;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .ezze-country-sheet-backdrop,
  .ezze-country-picker__panel.is-sheet {
    transition: none;
  }
}

@media (forced-colors: active) {
  .ezze-site .ezze-country-picker__option.is-active {
    outline: 2px solid Highlight;
    outline-offset: -2px;
  }

  .ezze-site .ezze-country-picker__option[aria-selected="true"] {
    text-decoration: underline;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ezze-country-picker__chevron {
    transition: none;
  }
}

@media (max-width: 400px) {
  .ezze-tax-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .ezze-tax-country,
  .ezze-country-picker,
  .ezze-site .ezze-country-picker__button {
    width: 100%;
  }

  .ezze-country-picker__panel {
    width: 100%;
    max-width: none;
  }

  .ezze-currency-switch.ezze-tax-switch {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ezze-tax-switch .ezze-currency-pill {
    transition: none;
  }
}

/* Preisseite: Abrechnung, Preisanzeige und Slider-Pfeile kompakt (partials/plans-full.php, Logik:
   plans.js createPriceSettings). Desktop: eine Zeile, Pfeile rechts daneben. Mobil: Abrechnung und
   Zusammenfassung untereinander, Pfeile mit Punkten unter den Karten. Land, Privat/Unternehmen und
   Währung öffnen sich als Popover bzw. Bottom Sheet (bis 640px). */
html:not(.ezze-js) .ezze-price-settings {
  display: none;
}

.ezze-plans-section--settings .ezze-carousel-frame {
  position: relative;
}

.ezze-plans-section--settings .ezze-carousel-toolbar {
  justify-content: flex-start;
  min-height: 44px;
  margin-bottom: 14px;
  padding-right: 128px;
}

.ezze-plans-section--settings .ezze-plans-carousel:not(.is-scrollable) .ezze-carousel-toolbar {
  justify-content: center;
  padding-right: 20px;
}

.ezze-plans-section--settings .ezze-plans-toggles,
.ezze-plan-section--settings .ezze-plans-toggles {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  width: auto;
  max-width: none;
  margin: 0;
}

.ezze-plans-section--settings .ezze-billing-switch,
.ezze-plan-section--settings .ezze-billing-switch {
  --ezze-switch-padding: 4px;
  --ezze-switch-width: 280px;
}

.ezze-site .ezze-plans-section--settings .ezze-billing-switch button,
.ezze-site .ezze-plan-section--settings .ezze-billing-switch button {
  min-height: 34px;
  padding: 7px 12px;
}

.ezze-plans-section--settings .ezze-carousel-controls {
  position: absolute;
  top: 0;
  right: 20px;
  height: 44px;
  gap: 10px;
}

.ezze-carousel-dots {
  display: none;
}

/* Zusammenfassung „Land · Privat · Währung“ */
.ezze-price-settings {
  position: relative;
  max-width: 100%;
}

.ezze-site .ezze-price-settings__summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 4px 4px 4px 14px;
  border: 1px solid #dce8f5;
  border-radius: 999px;
  background: #ffffff;
  color: #151044;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.ezze-site .ezze-price-settings__summary:hover,
.ezze-price-settings.is-open .ezze-price-settings__summary {
  border-color: #0062d2;
  background: #ffffff;
  color: #151044;
}

.ezze-site .ezze-price-settings__summary:focus-visible {
  outline: 2px solid #0062d2;
  outline-offset: 3px;
}

.ezze-price-settings__summary .ezze-country-flag[hidden] {
  display: none;
}

.ezze-price-settings__values {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ezze-price-settings__sep {
  margin: 0 5px;
  color: #6b7390;
}

.ezze-price-settings__action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #edf6ff;
  color: #0056ba;
}

.ezze-price-settings__summary:hover .ezze-price-settings__action {
  background: #dcecfd;
}

.ezze-price-settings__action svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

/* Popover (Desktop) */
.ezze-price-settings__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  width: 360px;
  max-width: calc(100vw - 32px);
  padding: 16px 18px 18px;
  border: 1px solid #dce8f5;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 40px -18px rgba(21, 16, 68, 0.35);
  box-sizing: border-box;
  text-align: left;
}

.ezze-price-settings__panel[hidden] {
  display: none;
}

.ezze-price-settings__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ezze-price-settings__handle {
  display: none;
}

.ezze-site .ezze-price-settings__title {
  margin: 0;
  font-family: var(--ezze-font);
  color: #151044;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

/* Fokusziel beim Öffnen (tabindex=-1) für Screenreader, keine Bedienfunktion: kein sichtbarer Rahmen.
   Die Fokusrahmen von EZZE WCAG Pro (Focus Outlines) kommen als !important mit vielen :not(#id) und sind
   per Spezifität nicht zu schlagen; !important in einer Cascade Layer hat aber Vorrang vor ungelayertem
   !important. Gilt nur für diese beiden Sheet-Titel, alle Bedienelemente behalten ihren Fokusrahmen. */
@layer ezze-sheet-title-focus {
  .ezze-price-settings__title:focus,
  .ezze-price-settings__title:focus-visible,
  .ezze-country-picker__sheet-title:focus,
  .ezze-country-picker__sheet-title:focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }

  /* Fokus nach Schließen per Tippen/Klick: kein Rahmen, bis die Tastatur benutzt wird. */
  .ezze-focus-quiet:focus,
  .ezze-focus-quiet:focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }
}

.ezze-site .ezze-price-settings__close {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: -6px -8px -6px 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #151044;
  cursor: pointer;
}

.ezze-site .ezze-price-settings__close:hover {
  background: #edf6ff;
  color: #0062d2;
}

.ezze-site .ezze-price-settings__close:focus-visible {
  outline: 2px solid #0062d2;
  outline-offset: 2px;
}

.ezze-price-settings__close svg {
  width: 20px;
  height: 20px;
}

.ezze-price-settings__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ezze-price-settings .ezze-tax-controls,
.ezze-price-sheet-host .ezze-tax-controls {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 14px;
  margin: 0;
}

.ezze-price-settings__panel .ezze-tax-country {
  display: block;
}

.ezze-price-settings__panel .ezze-country-picker,
.ezze-site .ezze-price-settings__panel .ezze-country-picker__button,
.ezze-site .ezze-price-settings__panel .ezze-tax-country__select {
  width: 100%;
}

.ezze-price-settings__panel .ezze-country-picker__chevron {
  margin-left: auto;
}

.ezze-price-settings__panel .ezze-currency-switch.ezze-tax-switch,
.ezze-price-settings__panel .ezze-currency-switch {
  --ezze-switch-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.ezze-site .ezze-tax-label {
  display: block;
  font-family: var(--ezze-font);
  margin: 0 0 6px;
  color: #151044;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.ezze-site .ezze-price-settings__note {
  margin: 8px 0 0;
  font-family: var(--ezze-font);
  color: #5b6480;
  font-size: 12px;
  line-height: 1.5;
}

.ezze-price-settings__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

/* Reiner Schließen-Knopf: weiß mit Akzentrand (kein gefüllter Primärknopf). */
.ezze-site .ezze-price-settings__done {
  min-height: 44px;
  margin: 0;
  padding: 8px 22px;
  border: 2px solid #0062d2;
  border-radius: 999px;
  background: #ffffff;
  color: #0062d2;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.ezze-site .ezze-price-settings__done:hover {
  background: #edf6ff;
  color: #0056ba;
}

.ezze-site .ezze-price-settings__done:focus-visible {
  outline: 2px solid #0062d2;
  outline-offset: 3px;
}

/* Das Theme setzt `p { font-family: var(--e-global-typography-text-font-family) }`; Titel, Beschriftungen
   und Hinweis tragen deshalb die Plugin-Schrift selbst (sonst Serifenschrift im Sheet unter <body>). */

/* Bottom Sheet (bis 640px); das Länder-Sheet liegt darüber (z-index 99998/99999). */
.ezze-site.ezze-price-sheet-host {
  height: 0;
  overflow: visible;
  background: none;
}

.ezze-price-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: rgba(21, 16, 68, 0.45);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.ezze-price-sheet-backdrop.is-visible {
  opacity: 1;
}

.ezze-price-settings__panel.is-sheet {
  position: fixed;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99991;
  width: 100%;
  max-width: none;
  max-height: 88vh;
  max-height: 88dvh;
  overflow-y: auto;
  padding: 6px 20px calc(16px + env(safe-area-inset-bottom));
  border: 0;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 40px -16px rgba(21, 16, 68, 0.35);
  font-family: inherit;
  transform: translateY(100%);
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ezze-price-settings__panel.is-sheet.is-visible {
  transform: translateY(0);
}

.ezze-price-settings__panel.is-sheet.is-dragging {
  transition: none;
}

.ezze-price-settings__panel.is-sheet .ezze-price-settings__head {
  padding: 18px 0 4px;
  touch-action: none;
  cursor: grab;
}

.ezze-price-settings__panel.is-sheet .ezze-price-settings__handle {
  position: absolute;
  top: 4px;
  left: 50%;
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: #c9d6e6;
  transform: translateX(-50%);
}

@media (max-width: 1024px) {
  .ezze-plans-section--settings .ezze-carousel-toolbar {
    padding-right: 128px;
  }
}

@media (max-width: 680px) {
  .ezze-plans-section--settings .ezze-carousel-toolbar,
  .ezze-plans-section--settings .ezze-plans-carousel:not(.is-scrollable) .ezze-carousel-toolbar {
    justify-content: center;
    margin-bottom: 16px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .ezze-plans-section--settings .ezze-plans-toggles,
  .ezze-plan-section--settings .ezze-plans-toggles {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .ezze-plans-section--settings .ezze-billing-switch,
  .ezze-plan-section--settings .ezze-billing-switch {
    --ezze-switch-width: min(100%, 320px);
  }

  .ezze-plans-section--settings .ezze-price-settings__action-label,
  .ezze-plan-section--settings .ezze-price-settings__action-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .ezze-plans-section--settings .ezze-price-settings__action,
  .ezze-plan-section--settings .ezze-price-settings__action {
    width: 34px;
    padding: 0;
    justify-content: center;
  }

  .ezze-plans-section--settings .ezze-carousel-controls {
    position: static;
    justify-content: center;
    gap: 14px;
    height: auto;
    margin: 4px 0 6px;
  }

  .ezze-plans-section--settings .ezze-carousel-arrow {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border: 1px solid #dce8f5 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
  }

  .ezze-plans-section--settings .ezze-carousel-arrow:hover,
  .ezze-plans-section--settings .ezze-carousel-arrow:focus-visible {
    border-color: #0062d2 !important;
    background: #edf6ff !important;
  }

  .ezze-plans-section--settings .ezze-carousel-arrow svg,
  .ezze-plans-section--settings .ezze-carousel-arrow .ezze-arrow-svg {
    width: 20px;
    height: 20px;
  }

  .ezze-plans-section--settings .ezze-carousel-dots {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .ezze-carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #b7c6da;
    transition: width 0.2s ease, background-color 0.2s ease;
  }

  .ezze-carousel-dot.is-active {
    width: 20px;
    background: #0062d2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ezze-price-sheet-backdrop,
  .ezze-price-settings__panel.is-sheet,
  .ezze-carousel-dot {
    transition: none;
  }
}

@media (forced-colors: active) {
  .ezze-price-settings__action,
  .ezze-carousel-dot {
    forced-color-adjust: none;
  }

  .ezze-carousel-dot {
    background: CanvasText;
  }

  .ezze-carousel-dot.is-active {
    background: Highlight;
  }

  .ezze-price-settings__action {
    background: ButtonFace;
    color: ButtonText;
  }
}
