/* ============================================================
   Eltz Websites — Komponenten (Präfix ez-)
   Design: helle klinische Welt, Grün als Markenstimme,
   Rot ausschließlich für den Conversion-CTA, Pill-Buttons,
   weiche Radien, sanfte Motion.
   ============================================================ */

/* ------------------------------------------------------------
   Buttons — vollrunde Pills
   ------------------------------------------------------------ */
.ez-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  line-height: 1;
  padding: 0 26px;
  height: 48px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard),
              background-color var(--dur-fast) var(--ease-standard);
}
.ez-btn:hover { transform: translateY(-2px); }
.ez-btn:active { transform: translateY(0) scale(0.98); }
.ez-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.ez-btn--action {
  background: var(--color-action);
  color: var(--color-on-action);
  box-shadow: var(--shadow-action);
}
.ez-btn--action:hover { background: var(--color-action-hover); }

.ez-btn--primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: var(--shadow-green);
}
.ez-btn--primary:hover { background: var(--color-primary-hover); }

.ez-btn--secondary {
  background: var(--color-surface);
  color: var(--text-strong);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.ez-btn--secondary:hover { border-color: var(--eltz-grey-400); box-shadow: var(--shadow-md); }

.ez-btn--ghost { background: transparent; color: var(--color-primary-active); }
.ez-btn--ghost:hover { background: var(--color-primary-soft); }

.ez-btn--sm { height: 42px; padding: 0 20px; font-size: var(--fs-xs); }
.ez-btn--lg { height: 56px; padding: 0 32px; font-size: 1.0625rem; }
.ez-btn--block { width: 100%; }

/* ------------------------------------------------------------
   Badges / Pills
   ------------------------------------------------------------ */
.ez-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--eltz-green-100);
  color: var(--eltz-green-900);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  line-height: 1.35;
}
.ez-pill--action { background: var(--color-action); color: #fff; }
.ez-pill--outline { background: var(--color-surface); border: 1px solid var(--color-border); color: var(--text-muted); }
.ez-pill svg { width: 14px; height: 14px; }

/* Eyebrow-Kicker */
.ez-eyebrow {
  display: block;
  font-weight: var(--fw-bold);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-primary-active);
  margin-bottom: var(--space-4);
}

/* Icon-Kachel */
.ez-icontile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  color: var(--color-primary-active);
  flex: 0 0 auto;
}
.ez-icontile svg { width: 26px; height: 26px; }
.ez-icontile--action { background: var(--color-action-soft); color: var(--color-action); }
.ez-icontile--round { border-radius: 50%; }
.ez-icontile--sm { width: 44px; height: 44px; border-radius: var(--radius-sm); }
.ez-icontile--sm svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------
   Medien + Seitenverhältnisse
   ------------------------------------------------------------ */
.ez-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-surface-muted);
}
.ez-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}
.ez-media--hover:hover img { transform: scale(1.04); }
.ez-media--xl { border-radius: var(--radius-xl); }
.ez-media--shadow { box-shadow: var(--shadow-lg); }

.ez-ratio-1x1  { aspect-ratio: 1 / 1; }
.ez-ratio-3x2  { aspect-ratio: 3 / 2; }
.ez-ratio-2x3  { aspect-ratio: 2 / 3; }
.ez-ratio-4x3  { aspect-ratio: 4 / 3; }
.ez-ratio-3x4  { aspect-ratio: 3 / 4; }
.ez-ratio-16x9 { aspect-ratio: 16 / 9; }
.ez-ratio-9x16 { aspect-ratio: 9 / 16; }
.ez-ratio-4x5  { aspect-ratio: 4 / 5; }
.ez-ratio-5x4  { aspect-ratio: 5 / 4; }
.ez-ratio-16x11{ aspect-ratio: 16 / 11; }
.ez-ratio-free { aspect-ratio: auto; }
.ez-ratio-free img { height: auto; object-fit: unset; }

/* ------------------------------------------------------------
   Header — sticky, frosted
   ------------------------------------------------------------ */
.ez-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 249, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard);
}
.ez-header.is-scrolled { border-bottom-color: var(--color-border); box-shadow: var(--shadow-sm); }

.ez-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.ez-header__logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.ez-header__logo img { height: 36px; width: auto; display: block; }

.ez-nav { display: flex; gap: 1px; margin-left: var(--space-2); white-space: nowrap; }
.ez-nav a {
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
  color: var(--text-body);
  padding: 8px 11px;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  transition: background-color var(--dur-fast) var(--ease-standard),
              color var(--dur-fast) var(--ease-standard);
}
.ez-nav a:hover { background: var(--color-surface-muted); color: var(--text-strong); }
.ez-nav a.is-active { background: var(--color-primary-soft); color: var(--eltz-green-900); }

/* Desktop-Dropdown */
.ez-nav__item { position: relative; display: inline-flex; }
.ez-nav__item > a { display: inline-flex; align-items: center; gap: 5px; }
.ez-nav__chevron { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease-standard); }
.ez-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 250px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-standard),
              transform var(--dur-base) var(--ease-standard),
              visibility 0s linear var(--dur-base);
  z-index: 60;
}
.ez-dropdown a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  white-space: normal;
}
.ez-nav__item:hover .ez-dropdown,
.ez-nav__item:focus-within .ez-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.ez-nav__item:hover .ez-nav__chevron,
.ez-nav__item:focus-within .ez-nav__chevron { transform: rotate(180deg); }

.ez-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex: 0 0 auto;
}
.ez-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  color: var(--text-strong) !important;
  text-decoration: none !important;
}
.ez-header__phone .ez-icontile { width: 34px; height: 34px; border-radius: 50%; }
.ez-header__phone .ez-icontile svg { width: 15px; height: 15px; }

.ez-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--text-strong);
  padding: 0;
}
.ez-burger svg { width: 22px; height: 22px; }
.ez-burger .icon-close { display: none; }
.ez-burger[aria-expanded="true"] .icon-open { display: none; }
.ez-burger[aria-expanded="true"] .icon-close { display: block; }

/* Mobile-Panel */
.ez-mobilenav {
  display: none;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
  padding: var(--space-4) var(--gutter) var(--space-6);
  max-height: calc(100dvh - 70px);
  overflow-y: auto;
}
.ez-mobilenav.is-open { display: block; }
.ez-mobilenav a:not(.ez-btn) {
  display: block;
  padding: 13px var(--space-2);
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 1.1rem;
  color: var(--text-strong);
  text-decoration: none !important;
  border-bottom: 1px solid var(--color-border);
}
.ez-mobilenav a:not(.ez-btn).is-active { color: var(--color-primary-active); }
.ez-mobilenav .ez-mobilenav__group {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-subtle);
  padding: var(--space-5) var(--space-2) var(--space-1);
}
.ez-mobilenav .ez-btn { margin-top: var(--space-5); }

/* Mobile-Akkordeon für Unterpunkte */
.ez-mobilenav__section { border-bottom: 1px solid var(--color-border); }
.ez-mobilenav__row { display: flex; align-items: center; }
.ez-mobilenav__row a:not(.ez-btn) { flex: 1; border-bottom: none !important; }
.ez-mobilenav__toggle {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--color-primary-active);
  padding: 0;
}
.ez-mobilenav__toggle svg { width: 20px; height: 20px; transition: transform var(--dur-base) var(--ease-standard); }
.ez-mobilenav__section.is-open .ez-mobilenav__toggle svg { transform: rotate(180deg); }
.ez-mobilenav__sub { display: none; }
.ez-mobilenav__section.is-open .ez-mobilenav__sub { display: block; }
.ez-mobilenav__sub a:not(.ez-btn) {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  padding: 11px var(--space-2) 11px var(--space-6);
  border-bottom: none !important;
}
.ez-mobilenav__sub a:not(.ez-btn):first-child { padding-top: 0; }
.ez-mobilenav__sub a:not(.ez-btn):last-child { padding-bottom: var(--space-4); }

@media (max-width: 1279px) {
  .ez-nav { display: none; }
  .ez-burger { display: inline-flex; }
}
@media (max-width: 700px) {
  .ez-header__phone span.ez-header__phone-number { display: none; }
}

/* ------------------------------------------------------------
   Sections — Grund-Rhythmus
   ------------------------------------------------------------ */
.ez-section { padding-block: var(--section-y); }
.ez-section--surface { background: var(--color-surface); }
.ez-section--muted { background: var(--color-surface-muted); }
.ez-section--green { background: var(--color-primary); }
.ez-section--tight { padding-block: calc(var(--section-y) * 0.55); }

.ez-section__head { max-width: 680px; margin-bottom: var(--space-12); }
.ez-section__head--center { margin-inline: auto; text-align: center; }
.ez-section__head .ez-lead { margin-top: var(--space-4); }

.ez-lead {
  font-size: var(--fs-lead);
  color: var(--text-muted);
  line-height: 1.55;
}

/* ------------------------------------------------------------
   Hero (Startseite)
   ------------------------------------------------------------ */
.ez-hero {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(32px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.ez-hero__pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: var(--space-5); }
.ez-hero h1 { font-size: var(--fs-display); line-height: 1.05; letter-spacing: -0.025em; margin: 0; }
.ez-hero h1 em { font-style: normal; color: var(--color-primary); }
.ez-hero .ez-lead { max-width: 48ch; margin: var(--space-5) 0 var(--space-8); }
.ez-hero__ctas { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.ez-btnrow--center { justify-content: center; }

.ez-hero__stats { display: flex; gap: clamp(24px, 3vw, 40px); margin-top: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.ez-stat__value {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--text-strong);
}
.ez-stat__value small { font-size: 0.5em; margin-left: 4px; }
.ez-stat--green .ez-stat__value { color: var(--color-primary); }
.ez-stat__label { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text-muted); margin-top: var(--space-2); }

.ez-hero__visual { position: relative; }
.ez-hero__card {
  position: absolute;
  left: -18px;
  bottom: 28px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  max-width: 270px;
}
.ez-hero__card-title { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 1rem; color: var(--text-strong); }
.ez-hero__card-sub { font-size: var(--fs-xs); color: var(--text-subtle); }

/* gestaffelte Entrance (nur beim Laden) */
@keyframes ezFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ez-hero > * { animation: ezFadeUp var(--dur-slow) var(--ease-out) backwards; }
.ez-hero > *:nth-child(2) { animation-delay: 90ms; }

@media (max-width: 900px) {
  .ez-hero { grid-template-columns: 1fr; }
  .ez-hero__visual { order: -1; }
  .ez-hero__card { left: var(--space-4); bottom: var(--space-4); }
  .ez-stat__value { font-size: 2.1rem; }
}

/* ------------------------------------------------------------
   Subseiten-Cover — Vollbreiten-Variante mit Bild
   ------------------------------------------------------------ */
.ez-cover {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  margin-bottom: clamp(24px, 3vw, 40px);
  background: var(--color-surface-muted);
}
.ez-cover__bg {
  position: absolute;
  inset: 0;
}
.ez-cover__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ez-cover__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 21, 15, 0.52) 0%, rgba(20, 21, 15, 0.28) 48%, rgba(20, 21, 15, 0.06) 100%);
}
.ez-cover--scrim-light .ez-cover__scrim {
  background: linear-gradient(90deg, rgba(251, 251, 249, 0.82) 0%, rgba(251, 251, 249, 0.55) 48%, rgba(251, 251, 249, 0.08) 100%);
}
.ez-cover__inner {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 96px) var(--gutter);
}
.ez-cover__text { max-width: 620px; animation: ezFadeUp var(--dur-slow) var(--ease-out) backwards; }
.ez-cover__text h1 { margin-bottom: var(--space-4); }
.ez-cover__text .ez-lead { max-width: 54ch; }
.ez-cover__ctas { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-8); }
/* helle Schrift auf dunklem Bildmaterial */
.ez-cover--light { color: #fff; }
.ez-cover--light h1, .ez-cover--light .ez-cover__text { color: #fff; }
.ez-cover--light .ez-lead { color: rgba(255, 255, 255, 0.9); }
.ez-cover--light .ez-eyebrow { color: var(--eltz-green-300); }
@media (max-width: 900px) {
  .ez-cover { min-height: 48vh; }
  .ez-cover__scrim { background: linear-gradient(180deg, rgba(20, 21, 15, 0.55) 0%, rgba(20, 21, 15, 0.25) 100%); }
  .ez-cover--scrim-light .ez-cover__scrim { background: rgba(251, 251, 249, 0.72); }
}

/* ------------------------------------------------------------
   Subseiten-Cover (einfach, ohne Bild)
   ------------------------------------------------------------ */
.ez-subhero { padding: clamp(44px, 6vw, 76px) 0 0; }
.ez-subhero--center .ez-subhero__text { text-align: center; margin-inline: auto; }
.ez-subhero__text { max-width: 820px; }
.ez-subhero h1 { margin-bottom: var(--space-4); }
.ez-subhero .ez-lead { max-width: 62ch; }
.ez-subhero--center .ez-lead { margin-inline: auto; }
.ez-subhero__media { margin-top: clamp(28px, 4vw, 48px); }
.ez-subhero__ctas { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-8); }
.ez-subhero--center .ez-subhero__ctas { justify-content: center; }

/* ------------------------------------------------------------
   Text-Element (Prosa)
   ------------------------------------------------------------ */
.ez-prose { max-width: 72ch; }
.ez-prose--center { margin-inline: auto; }
.ez-prose h2 { margin-top: 1.6em; }
.ez-prose h3 { margin-top: 1.4em; }
.ez-prose h2:first-child, .ez-prose h3:first-child { margin-top: 0; }
.ez-prose ul li::marker { color: var(--color-primary); }
.ez-prose img { border-radius: var(--radius-lg); }

/* ------------------------------------------------------------
   Zweispalter
   ------------------------------------------------------------ */
.ez-twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.ez-twocol--wide-text { grid-template-columns: 1.15fr 0.85fr; }
.ez-twocol__media { min-width: 0; }
.ez-twocol__body h2 { margin-bottom: var(--space-4); }
.ez-twocol__body .ez-lead { margin-bottom: var(--space-5); }
.ez-twocol__ctas { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-6); }

@media (max-width: 900px) {
  .ez-twocol, .ez-twocol--wide-text { grid-template-columns: 1fr; }
  .ez-twocol__media { order: -1; }
}

/* Checkliste */
.ez-checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.ez-checklist li { display: flex; gap: var(--space-3); margin: 0; }
.ez-checklist .ez-check {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.ez-checklist .ez-check svg { width: 14px; height: 14px; stroke-width: 3.5; }

/* ------------------------------------------------------------
   Feature-Grid (Icon-Karten)
   ------------------------------------------------------------ */
.ez-grid { display: grid; gap: var(--space-5); }
.ez-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ez-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ez-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .ez-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .ez-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ez-grid--2, .ez-grid--3, .ez-grid--4 { grid-template-columns: 1fr; }
}

.ez-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard);
}
.ez-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ez-card .ez-icontile { margin-bottom: var(--space-4); }
.ez-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.ez-card p { color: var(--text-muted); margin: 0; }
.ez-card__kicker {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 2rem;
  color: var(--eltz-green-300);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-3);
}

/* ------------------------------------------------------------
   Themen-Karten (verlinkt, mit Bild)
   ------------------------------------------------------------ */
.ez-topiccard {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none !important;
  color: inherit;
  transition: transform var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard);
}
.ez-topiccard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ez-topiccard--highlight { border: 1.5px solid var(--color-primary); }
.ez-topiccard .ez-media { border-radius: 0; }
.ez-topiccard__body { padding: var(--space-6); display: flex; flex-direction: column; flex: 1; }
.ez-topiccard__body h3 { margin: var(--space-3) 0 var(--space-2); font-size: 1.4rem; }
.ez-topiccard__body p { color: var(--text-muted); margin: 0; flex: 1; }
.ez-topiccard__more {
  margin-top: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary-active);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
}
.ez-topiccard__more svg { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-standard); }
.ez-topiccard:hover .ez-topiccard__more svg { transform: translateX(3px); }

/* Link-Liste (Karten ohne Bild) */
.ez-linklist { display: grid; gap: var(--space-3); }
.ez-linklist a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-weight: var(--fw-bold);
  color: var(--text-strong);
  text-decoration: none !important;
  transition: border-color var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-base);
}
.ez-linklist a:hover { border-color: var(--color-primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.ez-linklist svg { width: 18px; height: 18px; color: var(--color-primary-active); flex: 0 0 auto; margin-left: auto; }

/* ------------------------------------------------------------
   Prozess-Schritte
   ------------------------------------------------------------ */
.ez-steps { display: flex; flex-direction: column; }
.ez-step { display: flex; gap: var(--space-5); }
.ez-step__rail { display: flex; flex-direction: column; align-items: center; }
.ez-step__num {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 1.4rem;
  box-shadow: var(--shadow-green);
}
.ez-step__line { flex: 1; width: 2px; margin-top: var(--space-2); background: var(--color-border-strong); }
.ez-step__body { padding-bottom: var(--space-8); }
.ez-step:last-child .ez-step__body { padding-bottom: 0; }
.ez-step__body h3 { font-size: 1.25rem; margin: 12px 0 6px; }
.ez-step__body p { color: var(--text-muted); margin: 0; }
.ez-step__body .ez-btn { margin-top: var(--space-4); }

/* ------------------------------------------------------------
   FAQ Accordion
   ------------------------------------------------------------ */
.ez-faq { display: flex; flex-direction: column; gap: var(--space-3); }
.ez-faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--dur-base) var(--ease-standard);
}
.ez-faq__item.is-open { box-shadow: var(--shadow-sm); }
.ez-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  background: none;
  border: none;
  text-align: left;
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 1.0625rem;
  color: var(--text-strong);
}
.ez-faq__q svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--color-primary-active);
  transition: transform var(--dur-base) var(--ease-standard);
}
.ez-faq__item.is-open .ez-faq__q svg { transform: rotate(180deg); }
.ez-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-slow) var(--ease-out);
}
.ez-faq__item.is-open .ez-faq__a { grid-template-rows: 1fr; }
.ez-faq__a-inner { overflow: hidden; }
.ez-faq__a-inner > div { padding: 0 var(--space-6) var(--space-5); color: var(--text-muted); }

/* Zweispaltiges FAQ-Layout mit Sticky-Kopf */
.ez-faq-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.ez-faq-split__head { position: sticky; top: 100px; }
@media (max-width: 900px) {
  .ez-faq-split { grid-template-columns: 1fr; }
  .ez-faq-split__head { position: static; }
}

/* ------------------------------------------------------------
   Testimonials
   ------------------------------------------------------------ */
.ez-stars { display: flex; gap: 3px; color: var(--color-primary); font-size: 20px; letter-spacing: 2px; }
.ez-stars--action { color: var(--color-action); }

.ez-quotecard {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.ez-quotecard--plain { grid-template-columns: 1fr; }
.ez-quotecard .ez-stars { margin-bottom: var(--space-4); }
.ez-quotecard blockquote { font-size: 1.375rem; }
.ez-quotecard__name { margin-top: var(--space-5); font-weight: var(--fw-bold); color: var(--text-strong); }
.ez-quotecard__meta { font-size: var(--fs-xs); color: var(--text-subtle); }
@media (max-width: 900px) {
  .ez-quotecard { grid-template-columns: 1fr; }
}

.ez-quote-sm {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.ez-quote-sm blockquote { font-size: 1.05rem; flex: 1; }
.ez-quote-sm .ez-stars { font-size: 15px; margin-bottom: var(--space-3); }
.ez-quote-sm footer { margin-top: var(--space-4); font-size: var(--fs-sm); color: var(--text-subtle); }

/* ------------------------------------------------------------
   Stats- & Badge-Bänder
   ------------------------------------------------------------ */
.ez-statsband {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-8);
  text-align: center;
}

.ez-badgeband {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4) var(--space-6);
  padding-block: var(--space-6);
}
.ez-badgeband__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  min-width: 0;
}
.ez-badgeband__item svg { width: 22px; height: 22px; color: var(--color-primary); flex: 0 0 auto; }
.ez-badgeband__item img { height: 40px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 900px) {
  .ez-badgeband { flex-wrap: wrap; justify-content: center; }
  .ez-badgeband__item img { height: 36px; }
}

/* ------------------------------------------------------------
   Preis-Pakete
   ------------------------------------------------------------ */
.ez-pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  align-items: stretch;
}
@media (max-width: 1150px) { .ez-pricing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .ez-pricing { grid-template-columns: 1fr; } }

.ez-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6) var(--space-6);
  box-shadow: var(--shadow-sm);
}
.ez-price-card--featured { border: 2px solid var(--color-primary); box-shadow: var(--shadow-md); }
.ez-price-card__flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.ez-price-card__name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 1.5rem; color: var(--text-strong); }
.ez-price-card__name em { font-style: normal; color: var(--color-primary); }
.ez-price-card__duration { font-size: var(--fs-xs); color: var(--text-subtle); font-weight: var(--fw-semibold); margin-top: 2px; }
.ez-price-card__price { margin: var(--space-5) 0 2px; color: var(--text-strong); }
.ez-price-card__price .amount { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 2.7rem; line-height: 1; }
.ez-price-card__price .prefix, .ez-price-card__price .suffix { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text-muted); }
.ez-price-card__note { font-size: var(--fs-xs); color: var(--text-subtle); }
.ez-price-card__total {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-muted);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ez-price-card__total strong { font-size: 1.05rem; }
.ez-rate-label { display: flex; flex-direction: column; gap: 4px; margin-top: var(--space-4); }
.ez-rate-select {
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
  padding: 0 var(--space-3);
}
.ez-price-card ul { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.ez-price-card ul li { display: flex; gap: 10px; margin: 0; font-size: var(--fs-sm); color: var(--text-body); }
.ez-price-card ul li svg { width: 17px; height: 17px; margin-top: 3px; color: var(--color-primary); flex: 0 0 auto; stroke-width: 3; }
.ez-price-card .ez-btn { margin-top: var(--space-6); }

/* ------------------------------------------------------------
   Vergleich (z. B. Aligner vs. Brackets)
   ------------------------------------------------------------ */
.ez-compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 800px) { .ez-compare { grid-template-columns: 1fr; } }
.ez-compare .ez-card--highlight { border: 1.5px solid var(--color-primary); }
.ez-compare ul { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: flex; flex-direction: column; gap: var(--space-3); }
.ez-compare li { display: flex; gap: 10px; margin: 0; }
.ez-compare li svg { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; color: var(--color-primary); stroke-width: 3; }
.ez-compare li.is-neutral { color: var(--text-muted); }
.ez-compare li.is-neutral svg { color: var(--text-subtle); }

/* ------------------------------------------------------------
   Galerie
   ------------------------------------------------------------ */
.ez-gallery { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ez-gallery--large { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.ez-gallery figure { margin: 0; }
.ez-gallery figcaption { font-size: var(--fs-xs); color: var(--text-subtle); padding-top: var(--space-2); text-align: center; }

/* Vorher/Nachher-Paar */
.ez-beforeafter {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.ez-beforeafter__pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); align-items: start; }
.ez-beforeafter figure { margin: 0; position: relative; }
.ez-beforeafter figcaption {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  background: rgba(20, 21, 15, 0.66);
  color: #fff;
}
.ez-beforeafter figure.is-after figcaption { background: var(--color-primary); }
.ez-beforeafter__label { padding: var(--space-3) var(--space-2) var(--space-1); font-size: var(--fs-sm); color: var(--text-muted); }
/* Einzelner Fall: mittig im Fenster statt linksbündig */
.ez-grid--1 > .ez-beforeafter { max-width: 620px; margin-inline: auto; width: 100%; }

/* ------------------------------------------------------------
   Happy Moments — Fotogrid
   ------------------------------------------------------------ */
.ez-happygrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.ez-happygrid__item:nth-child(8n+2) .ez-media,
.ez-happygrid__item:nth-child(8n+7) .ez-media { border-radius: var(--radius-xl); }
@media (max-width: 900px) { .ez-happygrid { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); } }
@media (max-width: 600px) { .ez-happygrid { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------
   Video — direkt eingebetteter Player (zeigt eigenes Vorschaubild)
   ------------------------------------------------------------ */
.ez-video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--eltz-black);
  display: block;
  width: 100%;
}
.ez-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ------------------------------------------------------------
   Ärzt:innen-Karten
   ------------------------------------------------------------ */
.ez-doctor { text-align: center; }
.ez-doctor .ez-media { margin-bottom: var(--space-4); }
.ez-doctor h3 { margin-bottom: 2px; }
.ez-doctor__role { color: var(--text-muted); font-size: var(--fs-sm); }
.ez-doctor__note { color: var(--color-primary-active); font-size: var(--fs-xs); font-weight: var(--fw-bold); margin-top: var(--space-1); }
/* verlinkte Karte (führt auf /team/<slug>) */
a.ez-doctor { display: block; color: inherit; text-decoration: none; }
a.ez-doctor:hover h3 { color: var(--color-primary-active); }
a.ez-doctor:hover .ez-media img { transform: scale(1.04); }

/* ------------------------------------------------------------
   CTA-Band (grün)
   ------------------------------------------------------------ */
.ez-ctaband { background: var(--color-primary); }
.ez-ctaband__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 72px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-10);
  align-items: center;
}
.ez-ctaband h2 {
  color: #fff;
  font-size: min(max(1.8rem, 1.4rem + 1.6vw), 2.6rem);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  margin: 0;
}
.ez-ctaband p { font-size: var(--fs-lead); color: rgba(255, 255, 255, 0.92); margin: var(--space-4) 0 0; max-width: 52ch; }
.ez-ctaband .ez-btn--secondary { border: none; }
@media (max-width: 800px) {
  .ez-ctaband__inner { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* ------------------------------------------------------------
   Kontakt-Karten
   ------------------------------------------------------------ */
.ez-contactcards { display: flex; flex-direction: column; gap: var(--space-4); }
.ez-contactcard {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.ez-contactcard h3 { font-size: 1.05rem; margin-bottom: 2px; }
.ez-contactcard p { color: var(--text-muted); margin: 0; line-height: 1.55; }
.ez-contactcard a { font-weight: var(--fw-bold); }

/* ------------------------------------------------------------
   eTermin-Sektion
   ------------------------------------------------------------ */
.ez-etermin { background: #f1f5ef; border-top: 1px solid var(--color-border); }
.ez-etermin__inner { max-width: var(--container); margin-inline: auto; padding: var(--section-y) var(--gutter); }
.ez-etermin__head { text-align: center; max-width: 640px; margin: 0 auto var(--space-10); }
.ez-etermin iframe { border: 0; width: 100%; outline: none; }
.ez-etermin iframe:focus, .ez-etermin iframe:focus-visible { outline: none; border: 0; box-shadow: none; }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.ez-footer { background: var(--eltz-black); color: rgba(255, 255, 255, 0.72); }
.ez-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(44px, 5vw, 64px) var(--gutter) var(--space-8);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--space-10);
}
@media (max-width: 800px) { .ez-footer__inner { grid-template-columns: 1fr; gap: var(--space-8); } }
.ez-footer__logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.ez-footer__about { font-size: var(--fs-sm); line-height: 1.6; margin-top: var(--space-4); max-width: 46ch; }
.ez-footer h4 { color: #fff; font-size: 1rem; margin-bottom: var(--space-4); }
.ez-footer__links { display: flex; flex-direction: column; gap: 10px; }
.ez-footer__links a { color: rgba(255, 255, 255, 0.72); font-size: var(--fs-sm); text-decoration: none; }
.ez-footer__links a:hover { color: #fff; text-decoration: underline; }
.ez-footer__links a.is-strong { color: #fff; font-weight: var(--fw-bold); }
.ez-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.ez-footer__bottom-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--space-5) var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}
.ez-footer__bottom a { color: inherit; }
.ez-footer__bottom nav { display: flex; gap: var(--space-4); }

/* ------------------------------------------------------------
   Blog
   ------------------------------------------------------------ */
.ez-postgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 1024px) { .ez-postgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ez-postgrid { grid-template-columns: 1fr; } }

.ez-article { max-width: 72ch; margin-inline: auto; }
.ez-article__meta { color: var(--text-subtle); font-size: var(--fs-sm); margin-bottom: var(--space-6); }
.ez-article img { border-radius: var(--radius-lg); }
.ez-article h2 { margin-top: 1.6em; }
.ez-article h3 { margin-top: 1.4em; }
.ez-article ul li::marker { color: var(--color-primary); }
.ez-article__back { margin-top: var(--space-10); }

/* Breadcrumb */
.ez-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: var(--fs-xs); color: var(--text-subtle); padding-top: var(--space-6); }
.ez-breadcrumb a { color: var(--text-muted); }
.ez-breadcrumb svg { width: 13px; height: 13px; }

/* ------------------------------------------------------------
   Scroll-Reveal (sanft)
   ------------------------------------------------------------ */
.ez-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out); }
.ez-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ez-reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------
   Utilities
   ------------------------------------------------------------ */
.ez-mt-0 { margin-top: 0 !important; }
.ez-mt-4 { margin-top: var(--space-4); }
.ez-mt-6 { margin-top: var(--space-6); }
.ez-mt-8 { margin-top: var(--space-8); }
.ez-mt-12 { margin-top: var(--space-12); }
.ez-center { text-align: center; }
.ez-muted { color: var(--text-muted); }
.ez-small { font-size: var(--fs-sm); }

/* ------------------------------------------------------------
   DocFinder-Bewertungen
   ------------------------------------------------------------ */
.ez-review {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.ez-review .ez-stars { font-size: 15px; margin-bottom: var(--space-3); }
.ez-review__title {
  font-size: 1.02rem;
  margin: 0 0 var(--space-3);
  color: var(--text-strong);
}
.ez-review blockquote {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  line-height: 1.62;
  color: var(--text-body);
  flex: 1;
  margin: 0;
}
.ez-review figcaption {
  margin-top: var(--space-4);
  font-size: var(--fs-xs);
  color: var(--text-subtle);
  font-variant-numeric: tabular-nums;
}
.ez-review.is-hidden[hidden] { display: none; }

/* Zitat-Breaker über die volle Breite */
.ez-quotebreaker {
  position: relative;
  overflow: hidden;
  background: var(--color-primary-soft);
  padding-block: clamp(48px, 6vw, 88px);
}
.ez-quotebreaker__inner { max-width: 860px; text-align: center; }
.ez-quotebreaker .ez-stars { justify-content: center; margin-bottom: var(--space-5); }
.ez-quotebreaker blockquote {
  font-family: var(--font-serif);
  font-size: min(max(1.25rem, 1rem + 1vw), 1.9rem);
  line-height: 1.45;
  color: var(--text-strong);
  margin: 0;
}
.ez-quotebreaker__meta {
  margin-top: var(--space-5);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
}
/* Variante mit Hintergrundbild */
.ez-quotebreaker--image { background: var(--eltz-black); }
.ez-quotebreaker__bg { position: absolute; inset: 0; }
.ez-quotebreaker__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ez-quotebreaker__scrim { position: absolute; inset: 0; background: rgba(20, 21, 15, 0.62); }
.ez-quotebreaker--image .ez-quotebreaker__inner { position: relative; }
.ez-quotebreaker--image blockquote { color: #fff; }
.ez-quotebreaker--image .ez-quotebreaker__meta { color: rgba(255, 255, 255, 0.82); }
.ez-quotebreaker--image .ez-stars { color: var(--eltz-green-300); }
@media (min-width: 900px) {
  .ez-quotebreaker--image .ez-quotebreaker__bg img { background-attachment: fixed; }
}

/* ------------------------------------------------------------
   Floating CTA (.cta2024) — dauerhaft sichtbarer Buchen-Button
   Blendet sich aus, sobald der Termin-Bereich im Blick ist.
   ------------------------------------------------------------ */
.cta2024 {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  white-space: nowrap;
  text-align: center;
  transition: opacity var(--dur-base) var(--ease-standard),
              transform var(--dur-base) var(--ease-standard),
              visibility 0s linear 0s;
}
.cta2024.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(14px);
  transition: opacity var(--dur-base) var(--ease-standard),
              transform var(--dur-base) var(--ease-standard),
              visibility 0s linear var(--dur-base);
}
.cta2024 a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: var(--color-action);
  color: var(--color-on-action);
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: 1.0625rem;
  line-height: 1.2;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  box-shadow: 0 12px 32px rgba(228, 0, 44, 0.32), 0 2px 8px rgba(35, 38, 31, 0.12);
  transition: background-color var(--dur-fast) var(--ease-standard),
              transform var(--dur-fast) var(--ease-standard);
}
.cta2024 a:hover { background: var(--color-action-hover); transform: translateY(-2px); }
.cta2024 a:active { transform: translateY(0) scale(0.98); }
.cta2024 a svg { width: 20px; height: 20px; flex: 0 0 auto; }

@media (max-width: 640px) {
  .cta2024 { bottom: 14px; width: calc(100% - 28px); }
  .cta2024 a { width: 100%; justify-content: center; font-size: 1rem; padding: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .cta2024, .cta2024 a { transition: opacity var(--dur-base) linear; }
}

/* ------------------------------------------------------------
   Aktions-Popup (Sommer-Aktion) — Vorlage: eltz.info Sommer-Popup
   ------------------------------------------------------------ */
.ez-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(20, 21, 15, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-standard);
}
.ez-popup[hidden] { display: none; }
.ez-popup.is-open { opacity: 1; }
body.ez-popup-open { overflow: hidden; }

.ez-popup__holder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 20px;
}
.ez-popup__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 880px;
  max-width: 100%;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(14px) scale(0.97);
  opacity: 0;
  transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur-slow) var(--ease-out);
}
.ez-popup.is-open .ez-popup__inner { transform: none; opacity: 1; }

.ez-popup__pic {
  position: relative;
  min-height: 420px;
  background: var(--eltz-green-200);
  background-size: cover;
  background-position: center;
}
.ez-popup__pic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 21, 15, 0) 55%, rgba(20, 21, 15, 0.35) 100%);
}
.ez-popup__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--color-action);
  color: var(--color-on-action);
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: var(--fs-xs);
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.ez-popup__badge svg { width: 15px; height: 15px; flex: 0 0 auto; }

.ez-popup__content {
  position: relative;
  padding: 40px 40px 34px;
  display: flex;
  flex-direction: column;
}
.ez-popup__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  padding: 0;
  background: var(--color-surface-muted);
  border-radius: 50%;
  color: var(--text-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--dur-fast) var(--ease-standard);
}
.ez-popup__close:hover { background: var(--color-border); }
.ez-popup__close svg { width: 19px; height: 19px; }

.ez-popup__logo { height: 26px; width: auto; align-self: flex-start; margin: 0 0 22px; }
.ez-popup__content h2 { font-size: 1.75rem; line-height: 1.15; margin: 0 0 14px; }
.ez-popup__content p { font-size: var(--fs-body); line-height: 1.6; color: var(--text-muted); margin: 0 0 22px; }
.ez-popup__content p strong { color: var(--text-strong); font-weight: var(--fw-bold); }

.ez-popup__list { list-style: none; margin: 0 0 30px; padding: 0; }
.ez-popup__list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: var(--fs-sm);
  line-height: 1.4;
  color: var(--text-body);
  margin: 0 0 11px;
}
.ez-popup__list li:last-child { margin-bottom: 0; }
.ez-popup__list li svg { width: 18px; height: 18px; color: var(--color-primary); flex: 0 0 auto; stroke-width: 3; }

.ez-popup__buttons { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.ez-popup__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 30px;
  background: var(--color-action);
  color: var(--color-on-action);
  font-weight: var(--fw-bold);
  font-size: 1rem;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  box-shadow: var(--shadow-action);
  transition: background-color var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}
.ez-popup__action:hover { background: var(--color-action-hover); transform: translateY(-2px); }
.ez-popup__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);
  color: var(--color-primary-active);
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  transition: background-color var(--dur-fast) var(--ease-standard);
}
.ez-popup__ghost:hover { background: var(--eltz-green-50); }

@media (max-width: 800px) {
  .ez-popup__holder { padding: 12px; }
  .ez-popup__inner { display: block; border-radius: var(--radius-lg); }
  .ez-popup__pic { min-height: 200px; }
  .ez-popup__content { padding: 26px 22px; }
  .ez-popup__close { box-shadow: var(--shadow-sm); }
  .ez-popup__content h2 { font-size: 1.4rem; }
  .ez-popup__action, .ez-popup__ghost { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ez-popup, .ez-popup__inner { transition: opacity var(--dur-base) linear; }
  .ez-popup__inner { transform: none; }
}
