/*
 * VON RUEDEN Arbeitsrecht Designsystem 1.2.4 — Components
 * All selectors require both the v1.2 body class and the runtime content wrapper.
 * The stylesheet only presents existing content; it does not add, reorder or persist it.
 */

/*
 * The three Elementor landing pages ship separate desktop/mobile hero copies.
 * STYLE keeps the primary hero visible at every breakpoint and suppresses only
 * the duplicate H2 container. PHP maps the primary heading to the sole DOM H1.
 */
body.vrh-ar-style-v120.vrh-ar-style--hub .elementor-element.elementor-element-6757f7f6,
body.vrh-ar-style-v120.vrh-ar-style--arbeitnehmer .elementor-element.elementor-element-67d79da5,
body.vrh-ar-style-v120.vrh-ar-style--arbeitgeber .elementor-element.elementor-element-a34f991 {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

body.vrh-ar-style-v120.vrh-ar-style--hub .elementor-element.elementor-element-464604f7,
body.vrh-ar-style-v120.vrh-ar-style--arbeitnehmer .elementor-element.elementor-element-b14546d,
body.vrh-ar-style-v120.vrh-ar-style--arbeitnehmer .elementor-element.elementor-element-2b31142,
body.vrh-ar-style-v120.vrh-ar-style--arbeitgeber .elementor-element.elementor-element-e20361a {
  display: none !important;
}

body.vrh-ar-style-v120.vrh-ar-style--arbeitnehmer .elementor-element.elementor-element-30ba856 {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* Keep the public hub hero on the reference display scale even when Elementor's
   per-widget rules have greater selector specificity. */
body.vrh-ar-style-v120.vrh-ar-style--hub .vrh-ar-design-surface
  .elementor-element.elementor-element-6757f7f6 h1.elementor-heading-title {
  color: var(--vrh-ar-light) !important;
  font-family: var(--vrh-ar-font-display) !important;
  font-size: clamp(2.55rem, 7vw, 5.25rem) !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  letter-spacing: -0.025em !important;
}

/* The hub expert card is a translucent light surface inside the otherwise dark
   hero. Keep its two editorial text widgets dark without changing CTA colors. */
body.vrh-ar-style-v120.vrh-ar-style--hub .vrh-ar-design-surface
  .elementor-element.elementor-element-4aaec2
  :is(
    .elementor-element.elementor-element-764c25cb,
    .elementor-element.elementor-element-2c054b5
  ) .elementor-heading-title {
  color: var(--vrh-ar-night) !important;
}

/* Existing calls to action. */
body.vrh-ar-style-v120 .vrh-ar-design-surface :where(
  .elementor-button,
  .wp-block-button__link,
  a.btn,
  a.button,
  button[type="submit"],
  input[type="submit"]
) {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--vrh-ar-night) !important;
  border-radius: 0;
  background: var(--vrh-ar-lime) !important;
  box-shadow: none !important;
  color: var(--vrh-ar-night) !important;
  font-family: var(--vrh-ar-font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.075em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface :where(
  .elementor-button,
  .wp-block-button__link,
  a.btn,
  a.button,
  button[type="submit"],
  input[type="submit"]
):is(:hover, :focus, :focus-visible) {
  border: 1px solid var(--vrh-ar-night) !important;
  background: var(--vrh-ar-lime-hover) !important;
  box-shadow: none !important;
  color: var(--vrh-ar-night) !important;
  transform: translateY(-1px);
}

body.vrh-ar-style-v120 .vrh-ar-design-surface :where(
  .elementor-button,
  .wp-block-button__link,
  a.btn,
  a.button,
  button[type="submit"],
  input[type="submit"]
):focus-visible {
  box-shadow: 0 0 0 5px var(--vrh-ar-navy) !important;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface :where(
  .elementor-button,
  .wp-block-button__link,
  a.btn,
  a.button,
  button[type="submit"],
  input[type="submit"]
):disabled {
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: 0.58;
  transform: none;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface :where(
  .elementor-button.elementor-size-sm,
  .elementor-button.elementor-size-xs
) {
  min-height: 2.75rem;
  padding: 0.7rem 1.05rem;
}

/* Existing cards, editorial callouts and plugin-generated relationship blocks. */
body.vrh-ar-style-v120 .vrh-ar-design-surface :where(
  .info-box,
  .wp-block-group.has-background,
  .wp-block-column.has-background,
  .elementor-widget-call-to-action .elementor-cta,
  .elementor-widget-icon-box .elementor-icon-box-wrapper,
  .elementor-widget-image-box .elementor-image-box-wrapper,
  .vrh-related-links,
  .vrh-freshness-note,
  .vrh-ratgeber-group
) {
  border: 1px solid var(--vrh-ar-line);
  border-radius: 0;
  background: var(--vrh-ar-paper);
  box-shadow: var(--vrh-ar-shadow-sm);
}

body.vrh-ar-style-v120 .vrh-ar-design-surface :where(
  .info-box,
  .unterbrecher-shadow,
  .vrh-related-links,
  .vrh-freshness-note,
  .vrh-ratgeber-group
) {
  padding: clamp(1.35rem, 3vw, 2.25rem);
}

body.vrh-ar-style-v120 .vrh-ar-design-surface .vrh-freshness-note {
  border-left: 0.35rem solid var(--vrh-ar-olive);
  background: var(--vrh-ar-olive-soft);
  color: var(--vrh-ar-ink);
}

body.vrh-ar-style-v120 .vrh-ar-design-surface .unterbrecher-shadow {
  border: 1px solid rgba(250, 248, 243, 0.28);
  border-radius: 0;
  background-color: var(--vrh-ar-night) !important;
  background-image: linear-gradient(135deg, var(--vrh-ar-night), var(--vrh-ar-night-soft)) !important;
  box-shadow: var(--vrh-ar-shadow-md);
  color: var(--vrh-ar-light) !important;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface .unterbrecher-shadow :where(
  h2,
  h3,
  h4,
  p,
  li,
  strong,
  a:not(.btn):not(.button):not(.elementor-button):not(.wp-block-button__link)
) {
  color: inherit !important;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface .unterbrecher-shadow :where(
  .elementor-button,
  .wp-block-button__link,
  a.btn,
  a.button
) {
  color: var(--vrh-ar-night) !important;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface .unterbrecher-shadow a:not(.btn):not(.button):not(.elementor-button):not(.wp-block-button__link):hover {
  color: var(--vrh-ar-lime) !important;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface .unterbrecher-shadow :where(
  .elementor-button,
  .wp-block-button__link,
  a.btn,
  a.button
):is(:hover, :focus-visible) {
  color: var(--vrh-ar-night) !important;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface .vrh-related-links {
  border-left: 0.35rem solid var(--vrh-ar-lime);
  background: var(--vrh-ar-night);
  color: var(--vrh-ar-light);
}

body.vrh-ar-style-v120 .vrh-ar-design-surface .vrh-related-links :where(h2, h3, a) {
  color: inherit;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface .vrh-related-links a:hover {
  color: var(--vrh-ar-lime);
}

body.vrh-ar-style-v120 .vrh-ar-design-surface .vrh-related-links :where(h2, h3),
body.vrh-ar-style-v120 .vrh-ar-design-surface .vrh-ratgeber-group h3 {
  margin-top: 0;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface .vrh-cluster-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface .vrh-cluster-list {
  padding: 1.25rem;
  border: 1px solid var(--vrh-ar-line);
  background: var(--vrh-ar-paper);
}

body.vrh-ar-style-v120 .vrh-ar-design-surface blockquote,
body.vrh-ar-style-v120 .vrh-ar-design-surface .wp-block-quote {
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border: 0;
  border-left: 0.45rem solid var(--vrh-ar-olive);
  background: var(--vrh-ar-light);
  color: var(--vrh-ar-ink);
  font-family: var(--vrh-ar-font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  line-height: 1.45;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface blockquote cite,
body.vrh-ar-style-v120 .vrh-ar-design-surface .wp-block-quote cite {
  display: block;
  margin-top: 1rem;
  color: var(--vrh-ar-muted);
  font-family: var(--vrh-ar-font-sans);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Long legal tables remain usable without changing their markup. */
body.vrh-ar-style-v120 .vrh-ar-design-surface :where(.wp-block-table, .elementor-widget-table, .table-responsive) {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface table {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--vrh-ar-line);
  border-collapse: collapse;
  background: var(--vrh-ar-paper);
  color: var(--vrh-ar-body);
  font-size: 0.9rem;
  line-height: 1.5;
  table-layout: fixed;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface :where(.wp-block-table, .elementor-widget-table, .table-responsive) table {
  min-width: 38rem;
  table-layout: auto;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface table :where(th, td) {
  hyphens: auto;
  overflow-wrap: anywhere;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface :where(th, td) {
  padding: 0.85rem 1rem;
  border: 1px solid var(--vrh-ar-line);
  text-align: left;
  vertical-align: top;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface th {
  background: var(--vrh-ar-night);
  color: var(--vrh-ar-light);
  font-weight: 700;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface tbody tr:nth-child(even) {
  background: var(--vrh-ar-light);
}

/* Existing single-step contact forms. The multi-step check is outside the scope. */
body.vrh-ar-style-v120 .vrh-ar-design-surface :where(
  form.elementor-form,
  .elementor-widget-form form,
  form[id^="form_arbeitsrecht"],
  form[id="form_arbeitnehmer"],
  form[id="form_arbeitgeber"]
) {
  padding: clamp(1.25rem, 4vw, 2.75rem);
  border: 1px solid var(--vrh-ar-line);
  border-radius: 0;
  background: var(--vrh-ar-paper);
  box-shadow: var(--vrh-ar-shadow-md);
}

body.vrh-ar-style-v120 .vrh-ar-design-surface :where(label, .elementor-field-label) {
  color: var(--vrh-ar-ink);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.025em;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface :where(
  input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
  textarea,
  select
) {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--vrh-ar-line-strong);
  border-radius: 0;
  background: var(--vrh-ar-cream);
  box-shadow: none;
  color: var(--vrh-ar-ink);
  font: inherit;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface textarea {
  min-height: 8rem;
  resize: vertical;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface :where(input, textarea, select)::placeholder {
  color: var(--vrh-ar-muted);
  opacity: 1;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface :where(input[type="checkbox"], input[type="radio"]) {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--vrh-ar-olive-text);
}

body.vrh-ar-style-v120 .vrh-ar-design-surface :where(.elementor-message, .elementor-field-type-html) {
  color: var(--vrh-ar-body);
  font-size: 0.86rem;
}

/* Existing FAQ and disclosure components. */
body.vrh-ar-style-v120 .vrh-ar-design-surface :where(details, .elementor-accordion-item, .elementor-toggle-item) {
  border: 1px solid var(--vrh-ar-line);
  border-radius: 0;
  background: var(--vrh-ar-paper);
}

body.vrh-ar-style-v120 .vrh-ar-design-surface details + details,
body.vrh-ar-style-v120 .vrh-ar-design-surface .elementor-accordion-item + .elementor-accordion-item,
body.vrh-ar-style-v120 .vrh-ar-design-surface .elementor-toggle-item + .elementor-toggle-item {
  margin-top: 0.75rem;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface :where(
  summary,
  .elementor-tab-title,
  .elementor-accordion-title,
  .elementor-toggle-title
) {
  color: var(--vrh-ar-ink);
  font-family: var(--vrh-ar-font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  line-height: 1.3;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface details > summary {
  min-height: 3.25rem;
  padding: 1rem 3rem 1rem 1.15rem;
  cursor: pointer;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface details > :not(summary) {
  margin-inline: 1.15rem;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface details > :last-child {
  margin-bottom: 1.15rem;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface :where(
  .elementor-tab-title,
  .elementor-tab-content,
  .elementor-toggle-title,
  .elementor-accordion-title
) {
  padding: 1rem 1.15rem;
}

/* Existing download links and media callouts. */
body.vrh-ar-style-v120 .vrh-ar-design-surface :where(.wp-block-file, .elementor-widget-icon-list) {
  padding: 1rem 1.2rem;
  border: 1px solid var(--vrh-ar-line);
  background: var(--vrh-ar-paper);
}

body.vrh-ar-style-v120 .vrh-ar-design-surface .wp-block-file__button {
  margin-left: 0.75rem;
}

body.vrh-ar-style-v120 .vrh-ar-design-surface .elementor-icon-list-icon {
  color: var(--vrh-ar-olive-text);
}

@media (max-width: 47.99rem) {
  body.vrh-ar-style-v120.vrh-ar-style--hub .elementor-element.elementor-element-5aac7dd > .e-con-inner,
  body.vrh-ar-style-v120.vrh-ar-style--arbeitgeber .elementor-element.elementor-element-663889c > .e-con-inner,
  /* Put the sole H1 before the retained mobile portrait/name/CTA composition. */
  body.vrh-ar-style-v120.vrh-ar-style--arbeitnehmer .elementor-element.elementor-element-65e65bb9 > .e-con-inner {
    display: flex !important;
    width: 100% !important;
    flex-direction: column !important;
  }

  /* Elementor leaves this flex container wrapped and gives the restored H1 a
     100% main-axis basis. On mobile that creates a second horizontal flex
     column. Keep the hub narrative in one vertical column instead. */
  body.vrh-ar-style-v120.vrh-ar-style--hub .elementor-element.elementor-element-5aac7dd > .e-con-inner {
    flex-wrap: nowrap !important;
  }

  body.vrh-ar-style-v120.vrh-ar-style--hub .elementor-element.elementor-element-27b323d7,
  body.vrh-ar-style-v120.vrh-ar-style--hub .elementor-element.elementor-element-27c5cc09,
  body.vrh-ar-style-v120.vrh-ar-style--arbeitgeber .elementor-element.elementor-element-eedd3cd,
  body.vrh-ar-style-v120.vrh-ar-style--arbeitgeber .elementor-element.elementor-element-ffd6a00,

  /* Flatten only the two presentation columns so their existing children can
     follow the intended mobile narrative: H1, portrait/name/CTA, then intro. */
  body.vrh-ar-style-v120.vrh-ar-style--arbeitnehmer .elementor-element.elementor-element-74c9dee2,
  body.vrh-ar-style-v120.vrh-ar-style--arbeitnehmer .elementor-element.elementor-element-5a0d70f9 {
    display: contents !important;
  }

  body.vrh-ar-style-v120.vrh-ar-style--hub .elementor-element.elementor-element-6757f7f6,
  body.vrh-ar-style-v120.vrh-ar-style--arbeitgeber .elementor-element.elementor-element-a34f991,

  body.vrh-ar-style-v120.vrh-ar-style--arbeitnehmer .elementor-element.elementor-element-67d79da5 {
    order: 1 !important;
  }

  body.vrh-ar-style-v120.vrh-ar-style--hub .elementor-element.elementor-element-4aaec2,
  body.vrh-ar-style-v120.vrh-ar-style--arbeitgeber .elementor-element.elementor-element-1ce8695,
  body.vrh-ar-style-v120.vrh-ar-style--arbeitgeber .elementor-element.elementor-element-ae7f335,

  body.vrh-ar-style-v120.vrh-ar-style--arbeitnehmer .elementor-element.elementor-element-30ba856,
  body.vrh-ar-style-v120.vrh-ar-style--arbeitnehmer .elementor-element.elementor-element-6bb0a04 {
    order: 2 !important;
  }

  body.vrh-ar-style-v120.vrh-ar-style--hub .elementor-element.elementor-element-36aa032c,
  body.vrh-ar-style-v120.vrh-ar-style--arbeitgeber .elementor-element.elementor-element-0738959,

  body.vrh-ar-style-v120.vrh-ar-style--arbeitnehmer .elementor-element.elementor-element-605b6a37 {
    order: 3 !important;
  }

  body.vrh-ar-style-v120.vrh-ar-style--hub .elementor-element.elementor-element-5ec1802b,
  body.vrh-ar-style-v120.vrh-ar-style--arbeitgeber .elementor-element.elementor-element-69e527f,

  body.vrh-ar-style-v120.vrh-ar-style--arbeitnehmer .elementor-element.elementor-element-2a3176ab {
    order: 4 !important;
  }

  body.vrh-ar-style-v120.vrh-ar-style--hub .elementor-element.elementor-element-6757f7f6,
  body.vrh-ar-style-v120.vrh-ar-style--arbeitnehmer .elementor-element.elementor-element-67d79da5,
  body.vrh-ar-style-v120.vrh-ar-style--arbeitgeber .elementor-element.elementor-element-a34f991 {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    flex-basis: 100% !important;
    padding-inline: clamp(1rem, 5vw, 1.5rem) !important;
  }

  body.vrh-ar-style-v120.vrh-ar-style--hub .elementor-element.elementor-element-6757f7f6,
  body.vrh-ar-style-v120.vrh-ar-style--hub .elementor-element.elementor-element-4aaec2,
  body.vrh-ar-style-v120.vrh-ar-style--hub .elementor-element.elementor-element-36aa032c {
    flex: 0 0 auto !important;
    flex-basis: auto !important;
  }

  body.vrh-ar-style-v120.vrh-ar-style--hub .elementor-element.elementor-element-4aaec2,
  body.vrh-ar-style-v120.vrh-ar-style--hub .elementor-element.elementor-element-36aa032c,
  body.vrh-ar-style-v120.vrh-ar-style--hub .elementor-element.elementor-element-15053a03 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.vrh-ar-style-v120.vrh-ar-style--hub .elementor-element.elementor-element-5ec1802b {
    display: none !important;
  }

  body.vrh-ar-style-v120.vrh-ar-style--hub .elementor-element.elementor-element-15053a03 {
    display: flex !important;
  }

  body.vrh-ar-style-v120.vrh-ar-style--arbeitnehmer .elementor-element.elementor-element-30ba856 {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    flex-direction: column !important;
  }

  body.vrh-ar-style-v120.vrh-ar-style--arbeitnehmer .elementor-element.elementor-element-37f4e443,
  body.vrh-ar-style-v120.vrh-ar-style--arbeitnehmer .elementor-element.elementor-element-70d7903e,
  body.vrh-ar-style-v120.vrh-ar-style--arbeitnehmer .elementor-element.elementor-element-7916f40b {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.vrh-ar-style-v120 .vrh-ar-design-surface :where(
    .elementor-button,
    .wp-block-button__link,
    a.btn,
    a.button,
    button[type="submit"],
    input[type="submit"]
  ) {
    width: 100%;
  }

  body.vrh-ar-style-v120 .vrh-ar-design-surface :where(.wp-block-table, .elementor-widget-table, .table-responsive) table {
    min-width: 32rem;
    font-size: 0.82rem;
  }

  body.vrh-ar-style-v120 .vrh-ar-design-surface :where(th, td) {
    padding: 0.7rem 0.75rem;
  }

  body.vrh-ar-style-v120 .vrh-ar-design-surface .wp-block-file__button {
    display: flex;
    width: 100%;
    margin: 0.75rem 0 0;
  }
}
